From: Norman W. <nw...@us...> - 2005-04-19 16:58:11
|
Update of /cvsroot/docbook/defguide5/en/refpages/elements/table In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv773 Modified Files: db.cals.table.xml db.html.table.xml Added Files: example.1.xml example.2.xml Log Message: Tweaked examples --- NEW FILE --- <article xmlns='http://docbook.org/docbook-ng'> <title>Example table</title> <table frame='all'><title>Sample CALS Table</title> <tgroup cols='5' align='left' colsep='1' rowsep='1'> <colspec colname='c1'/> <colspec colname='c2'/> <colspec colname='c3'/> <colspec colnum='5' colname='c5'/> <thead> <row> <entry namest="c1" nameend="c2" align="center">Horizontal Span</entry> <entry>a3</entry> <entry>a4</entry> <entry>a5</entry> </row> </thead> <tfoot> <row> <entry>f1</entry> <entry>f2</entry> <entry>f3</entry> <entry>f4</entry> <entry>f5</entry> </row> </tfoot> <tbody> <row> <entry>b1</entry> <entry>b2</entry> <entry>b3</entry> <entry>b4</entry> <entry morerows='1' valign='middle'><para>Vertical Span</para></entry> </row> <row> <entry>c1</entry> <entry namest="c2" nameend="c3" align='center' morerows='1' valign='bottom'>Span Both</entry> <entry>c4</entry> </row> <row> <entry>d1</entry> <entry>d4</entry> <entry>d5</entry> </row> </tbody> </tgroup> </table> </article> --- NEW FILE --- <article xmlns='http://docbook.org/docbook-ng'> <title>Example table</title> <table><title>Sample HTML Table</title> <thead> <tr> <td>Head 1</td> <td>Head 2</td> </tr> </thead> <tbody> <tr> <td>Body 1</td> <td>Body 2</td> </tr> </tbody> </table> </article> Index: db.cals.table.xml =================================================================== RCS file: /cvsroot/docbook/defguide5/en/refpages/elements/table/db.cals.table.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -U2 -r1.3 -r1.4 --- db.cals.table.xml 19 Jan 2005 18:34:34 -0000 1.3 +++ db.cals.table.xml 19 Apr 2005 16:57:52 -0000 1.4 @@ -52,7 +52,7 @@ <programlisting><xi:include href="example.1.xml" parse="text"/></programlisting> -<anchor xml:id="ex.os.table.1" role="HACK-ex.out.start"/> +<anchor xml:id="ex.os.cals.table.1" role="HACK-ex.out.start"/> <xi:include href="example.1.xml" xpointer="/1/2"/> -<anchor xml:id="ex.oe.table.1" role="HACK-ex.out.end"/> +<anchor xml:id="ex.oe.cals.table.1" role="HACK-ex.out.end"/> </refsection> Index: db.html.table.xml =================================================================== RCS file: /cvsroot/docbook/defguide5/en/refpages/elements/table/db.html.table.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -U2 -r1.2 -r1.3 --- db.html.table.xml 19 Jan 2005 18:34:36 -0000 1.2 +++ db.html.table.xml 19 Apr 2005 16:57:52 -0000 1.3 @@ -47,5 +47,14 @@ <?tdg-seealso?> -<!-- FIXME: add examples --> +<refsection condition='ref.examples'> +<title>Examples</title> + +<programlisting><xi:include href="example.2.xml" parse="text"/></programlisting> + +<anchor xml:id="ex.os.html.table.1" role="HACK-ex.out.start"/> +<xi:include href="example.1.xml" xpointer="/1/2"/> +<anchor xml:id="ex.oe.html.table.1" role="HACK-ex.out.end"/> + +</refsection> </refentry> |