diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2001-02-24 16:51:37 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2001-02-24 16:51:37 +0000 |
commit | 294ccb6850f153440bdfc5c8936d9871f6f0a123 (patch) | |
tree | 0af47719cfa61980bc895355e904c6231436aabd /tests/docbook/test | |
parent | 7bba163d4d9e3e9a54f2a7ff80a68acbba7c1ac4 (diff) | |
download | libxslt-294ccb6850f153440bdfc5c8936d9871f6f0a123.tar.gz libxslt-294ccb6850f153440bdfc5c8936d9871f6f0a123.tar.bz2 libxslt-294ccb6850f153440bdfc5c8936d9871f6f0a123.zip |
- configure.in tests/Makefile.am tests/docbook tree:
added docbook XSL based test suite
Daniel
Diffstat (limited to 'tests/docbook/test')
34 files changed, 10936 insertions, 0 deletions
diff --git a/tests/docbook/test/ChangeLog b/tests/docbook/test/ChangeLog new file mode 100644 index 00000000..344167f3 --- /dev/null +++ b/tests/docbook/test/ChangeLog @@ -0,0 +1,70 @@ +2001-01-30 Norman Walsh <ndw@nwalsh.com> + + * Makefile: Changes + +2001-01-28 Norman Walsh <ndw@nwalsh.com> + + * Makefile: Tweaks + + * book.xml, graphics.xml, idxbook.xml, test.xml: Hacking + +2001-01-12 Norman Walsh <ndw@nwalsh.com> + + * Makefile: Turn on PT extensions, cause that's what I'm using most + + * emc2.png: New file. + + * table.xml: Added frame attributes, needs more testing + + * test.xml: Hackery + +2001-01-07 Norman Walsh <ndw@nwalsh.com> + + * Makefile, book.xml, mlang.pl: Updated + +2000-12-14 Norman Walsh <ndw@nwalsh.com> + + * Makefile, foottest.xml, sectest.xml, table.xml, testmath.xml: + Updated tests + +2000-11-29 Norman Walsh <ndw@nwalsh.com> + + * Makefile: Support PassiveTeX or FOP + + * condition.xml: Fixed doctype and table + + * test.xml: Hacking + +2000-11-15 Norman Walsh <ndw@nwalsh.com> + + * Makefile: Updated + + * book3.xml: Fixes for 4.1.2 + + * callout.xml: New file. + +2000-11-09 Norman Walsh <ndw@nwalsh.com> + + * Makefile: Added call to 'tidy' + + * book3.xml: Fixed doctype + + * test.xml: Hacked + +2000-10-29 Norman Walsh <ndw@nwalsh.com> + + * table.xml: Added a few more tests + +2000-10-26 Norman Walsh <ndw@nwalsh.com> + + * Makefile, idxbook.xml, mlang.pl, test.xml: Added localization tests; indexing tests + +2000-10-14 Norman Walsh <ndw@nwalsh.com> + + * graphics.xml: New file. + +2000-10-09 Norman Walsh <ndw@nwalsh.com> + + * LostLog, article.xml, article2.xml, article3.xml, bib.xml, book.xml, book2.xml, book3.xml, chunk.xml, classsynop.xml, condition.xml, docbook.css, docbook40.xml, emc2.gif, figtest.xml, foottest.xml, fotest.xml, func.xml, gtest.xml, idxbook.xml, multilingual.xml, qa.xml, qa2.xml, set.xml, table.xml, test.xml, verbtest.xml: + New file. + diff --git a/tests/docbook/test/LostLog b/tests/docbook/test/LostLog new file mode 100644 index 00000000..ed707041 --- /dev/null +++ b/tests/docbook/test/LostLog @@ -0,0 +1,127 @@ +2000-08-08 Norman Walsh <ndw@nwalsh.com> + + * article.xml, test.xml: Test case hacking + + * idxbook.xml: New file. + +2000-06-29 Norman Walsh <ndw@nwalsh.com> + + * test.xml: Added another table test + +2000-06-26 Norman Walsh <ndw@nwalsh.com> + + * qa2.xml: New file. + +2000-04-19 Norman Walsh <ndw@nwalsh.com> + + * book2.xml: Remove broken tables; PassiveTeX can't handle them at all + + * test.xml: Hackery + +2000-04-06 Norman Walsh <ndw@nwalsh.com> + + * classsynop.xml, docbook40.xml: New file. + +2000-04-03 Norman Walsh <ndw@nwalsh.com> + + * book.xml: Added some indexterm tests + + * func.xml: Added an unadorned function + + * test.xml: Hacked + +2000-03-23 Norman Walsh <ndw@nwalsh.com> + + * article.xml, article2.xml, article3.xml, bib.xml, book.xml, book2.xml, book3.xml, chunk.xml, condition.xml, figtest.xml, foottest.xml, fotest.xml, func.xml, gtest.xml, multilingual.xml, qa.xml, set.xml, table.xml, test.xml, verbtest.xml: + Updated doctypes + +2000-02-16 Norman Walsh <ndw@nwalsh.com> + + * test.xml: Just tweaking + +2000-02-07 Norman Walsh <ndw@nwalsh.com> + + * test.xml: Misc. testcase hacking + +2000-01-27 Norman Walsh <ndw@nwalsh.com> + + * test.xml: Added char entity test + +2000-01-14 Norman Walsh <ndw@nwalsh.com> + + * multilingual.xml: Added ptbr + +2000-01-10 Norman Walsh <ndw@nwalsh.com> + + * multilingual.xml: New file. + + * qa.xml: New file. + +1999-12-28 Norman Walsh <ndw@nwalsh.com> + + * test.xml: Added glossary test case + +1999-12-24 Norman Walsh <ndw@nwalsh.com> + + * book.xml: Added dbhtml test + +1999-12-22 Norman Walsh <ndw@nwalsh.com> + + * book.xml: Fiddled with the content + + * set.xml: New file. + +1999-11-16 Norman Walsh <ndw@nwalsh.com> + + * emc2.gif, gtest.xml: New file. + +1999-11-10 Norman Walsh <ndw@nwalsh.com> + + * article.xml, article2.xml, article3.xml, bib.xml, book.xml, book2.xml, book3.xml, chunk.xml, foottest.xml, fotest.xml, test.xml: + Updated system identifiers to make them proper URIs + +1999-11-03 Norman Walsh <ndw@nwalsh.com> + + * book.xml: Test revhistory and character entities + +1999-07-16 Norman Walsh <ndw@nwalsh.com> + + * fixfo.pl: New file. + +1999-07-06 Norman Walsh <ndw@nwalsh.com> + + * article.xml: Added a literallayout + + * foottest.xml: New file. + +1999-07-02 Norman Walsh <ndw@nwalsh.com> + + * fotest.xml: New file. + +1999-06-14 Norman Walsh <ndw@nwalsh.com> + + * bib.xml: New file. + + * book2.xml: Added title to index + + * chunk.xml: New file. + + * docbook.css: Move abstracts in titlepages back to the left + + * test.xml: Removed a bunch of stuff + +1999-06-03 Norman Walsh <ndw@nwalsh.com> + + * book3.xml: New file. + +1999-05-20 Norman Walsh <ndw@nwalsh.com> + + * article.xml, book.xml, book2.xml, docbook.css, test.xml: + More test files + + * test.xml: Updates + +1999-05-19 Norman Walsh <ndw@nwalsh.com> + + * article.xml, article2.xml, article3.xml: New file. + diff --git a/tests/docbook/test/Makefile.am b/tests/docbook/test/Makefile.am new file mode 100644 index 00000000..cdcbde41 --- /dev/null +++ b/tests/docbook/test/Makefile.am @@ -0,0 +1,11 @@ +## Process this file with automake to produce Makefile.in + +all: + +EXTRA_DIST = \ + ChangeLog LostLog article.xml article2.xml article3.xml bib.xml \ + book.xml book2.xml book3.xml callout.xml chunk.xml classsynop.xml \ + condition.xml docbook.css docbook40.xml figtest.xml foottest.xml \ + fotest.xml func.xml graphics.xml gtest.xml idxbook.xml multilingual.xml \ + qa.xml qa2.xml sectest.xml set.xml table.xml test.xml test.xsl \ + testmath.xml verbtest.xml diff --git a/tests/docbook/test/article.xml b/tests/docbook/test/article.xml new file mode 100644 index 00000000..4a1e2796 --- /dev/null +++ b/tests/docbook/test/article.xml @@ -0,0 +1,120 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE article + PUBLIC "-//Norman Walsh//DTD Simplified DocBk XML V3.1.7.1//EN" + "../dtd/simple/3.1.7.1/sdocbook.dtd"> + +<!-- "../dtd/simple/3.1.7.1/sdocbook.dtd">--> + +<!-- test document --> + +<article><title>Article Test Document Title</title> +<artheader> +<title>Artheader Test Document Title</title> +<authorgroup> +<corpauthor>nwalsh</corpauthor> +<author><firstname>Norman</firstname><surname>Walsh</surname></author> +<othercredit><firstname>Other</firstname><surname>Credit</surname></othercredit> +<editor><firstname>Someother</firstname><surname>Editor</surname></editor> +<author><firstname>Someone</firstname><surname>Else</surname></author> +</authorgroup> +<pubdate>Apr. 26, 1999</pubdate> +<copyright><year>1999</year><holder>Norman Walsh</holder></copyright> + +<abstract> +<para>This article is just a test. This article is just a test. +This article is just a test. This article is just a test. +This article is just a test. This article is just a test. +This article is just a test. This article is just a test. +This article is just a test. This article is just a test. +</para> +</abstract> +</artheader> + +<para> +This is a <quote>short quote</quote>. +This is a <quote>Quotation with a <quote>nested quotation +containing a <quote>nested quotation and another <quote>nested +quotation</quote></quote></quote></quote>. +</para> + +<literallayout>This is a <emphasis>literal layout</emphasis> + It'll be a <pre> until the <filename>chunk.pl</filename> +script fixes things up.</literallayout> + +<para>This article is just a test. This article is just a test. +This article is just a test. This article is just a test. +This article is just a test. This article is just a test. +This article is just a test. This article is just a test. +This article is just a test. This article is just a test. +</para> + +<figure id="testfig"><title>Test Figure</title> +<programlisting>This is a + ProgramListing +</programlisting> +</figure> + +<para>This para contains an xref to a figure: <xref linkend="testfig"/>. +</para> + +<figure id="testfig2"><title>Test Figure2</title> +<programlisting>A Second + Test Figure +</programlisting> +</figure> + +<para>This para contains an <link linkend="testfig2">link</link> to a +figure. +</para> + +<itemizedlist> +<listitem><para>Test item.</para></listitem> +<listitem><para>Test item.</para></listitem> +<listitem><para>Test item.</para></listitem> +</itemizedlist> + +<orderedlist> +<listitem><para>Test item.</para></listitem> +<listitem><para>Test item.</para></listitem> +<listitem><para>Test item.</para></listitem> +</orderedlist> + +<para>This article is just a test. This article is just a test. +This article is just a test. This article is just a test. +This article is just a test. This article is just a test. +This article is just a test. This article is just a test. +This article is just a test. This article is just a test. +</para> + +<section><title>First level section</title> +<section><title>Second level section</title> +<section><title>Third level section</title> +<section><title>Fourth level section</title> +<section> +<sectioninfo> +<title>Fifth level section (SI)</title> +</sectioninfo> +<title>Fifth level section</title> +<section><title>Sixth level section</title> +<section><title>Seventh level section</title> +<para>This article is just a test. This article is just a test. +This article is just a test. This article is just a test. +This article is just a test. This article is just a test. +This article is just a test. This article is just a test. +This article is just a test. This article is just a test. +</para> +</section> +</section> +</section> +</section> +</section> +</section> +</section> + +<appendix><title>Appendix</title> + +<para>This is just a test.</para> + +</appendix> +</article> + diff --git a/tests/docbook/test/article2.xml b/tests/docbook/test/article2.xml new file mode 100644 index 00000000..36b65124 --- /dev/null +++ b/tests/docbook/test/article2.xml @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE article + PUBLIC "-//Norman Walsh//DTD Simplified DocBk XML V3.1.7.1//EN" + "../dtd/simple/3.1.7.1/sdocbook.dtd"> + +<!-- test document --> + +<article><title>Article Test Document Title</title> +<artheader> +<title>Artheader Test Document Title</title> +<author><firstname>Norman</firstname><surname>Walsh</surname></author> +<pubdate>Apr. 26, 1999</pubdate> +<copyright><year>1999</year><holder>Norman Walsh</holder></copyright> + +<abstract> +<para>This article is just a test. This <emphasis>article</emphasis> +is just a test. +This <userinput>article</userinput> is just a test. +This <email>ndw@nwalsh.com</email> is just a test. +This article is just a test. This article is just a test. +This article is just a test. This article is just a test. +This article is just a test. This article is just a test. +</para> +</abstract> +</artheader> + +<para>This article is just a test. This <emphasis>article</emphasis> +is just a test. +This <userinput>article</userinput> is just a test. +This <email>ndw@nwalsh.com</email> is just a test. +This article is just a test. This article is just a test. +This article is just a test. This article is just a test. +This article is just a test. This article is just a test. +</para> + +<table><title>This is a test table</title> +<tgroup cols="3"> +<colspec colname="c2" colnum="2" align="right" colwidth="2*"/> +<colspec colname="c3"/> +<thead> + <row><entry>Head1</entry><entry align="center">Head2</entry><entry>Head3</entry></row> +</thead> +<tbody> + <row><entry>Entry1</entry><entry>Entry2</entry><entry>Entry3</entry></row> + <row><entry>Entry1</entry><entry namest="c2" nameend="c3" align="center">span 2-3</entry></row> + <row><entry>Entry1</entry><entry morerows="2" valign="middle">morerows2</entry><entry>Entry3</entry></row> + <row><entry>Entry1</entry><entry>Entry3</entry></row> + <row><entry>Entry1</entry><entry>Entry3</entry></row> + <row><entry namest="c1" nameend="c3" align="center">fullspan</entry></row> + <row align="center"><entry>Entry1</entry><entry>Entry2</entry><entry align="left">Entry3</entry></row> + <row><entry>Entry1</entry><entry>Entry2</entry><entry>Entry3</entry></row> + <row><entry>Entry1</entry><entry>Entry2</entry><entry>Entry3</entry></row> +</tbody> +</tgroup> +</table> + +<variablelist> +<varlistentry><term>term</term> +<listitem> +<para>some text</para> +</listitem> +</varlistentry> + +<varlistentry><term>term2a</term><term>term2b</term> +<listitem> +<para>some text</para> +</listitem> +</varlistentry> + +<varlistentry><term>term3</term> +<listitem> +<para>some text</para> +<para>some text</para> +<para>some text</para> +</listitem> +</varlistentry> +</variablelist> + +</article> + diff --git a/tests/docbook/test/article3.xml b/tests/docbook/test/article3.xml new file mode 100644 index 00000000..2015b7ce --- /dev/null +++ b/tests/docbook/test/article3.xml @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE article + PUBLIC "-//Norman Walsh//DTD Simplified DocBk XML V3.1.7.1//EN" + "../dtd/simple/3.1.7.1/sdocbook.dtd"> + +<!-- test document --> + +<article><title>Article Test Document Title</title> + +<para>This article is just a test. This article is just a test. +This article is just a test. This article is just a test. +This article is just a test. This article is just a test. +This article is just a test. This article is just a test. +This article is just a test. This article is just a test. +</para> + +<section><title>First level section</title> +<section><title>Second level section</title> +<section> +<sectioninfo> +<title>Third level section</title> +</sectioninfo> +<section><title>Fourth level section</title> +<section><title>Fifth level section</title> +<sectioninfo> +<title>Fifth level section (SI)</title> +</sectioninfo> +<para>This is just a test.</para> +</section> +</section> +</section> +</section> +</section> + +<section><title>Another Section</title> +<simplesect><title>SimpleSect @ level 2</title> +<para>This is just a test.</para> +</simplesect> +</section> + +<section><title>Another Section</title> +<section><title>Another Section</title> +<simplesect><title>SimpleSect @ level 3</title> +<para>This is just a test.</para> +</simplesect> +</section> +</section> + +<section><title>Another Section</title> +<section><title>Another Section</title> +<section><title>Another Section</title> +<simplesect><title>SimpleSect @ level 4</title> +<para>This is just a test.</para> +</simplesect> +</section> +</section> +</section> + +</article> + diff --git a/tests/docbook/test/bib.xml b/tests/docbook/test/bib.xml new file mode 100644 index 00000000..83ac459b --- /dev/null +++ b/tests/docbook/test/bib.xml @@ -0,0 +1,229 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE book + PUBLIC "-//Norman Walsh//DTD DocBk XML V3.1.7//EN" + "../dtd/3.1.7/docbookx.dtd"> + +<book id="book"><title>Test Book</title> +<bibliography id="bib1"> +<title>A Test Bibliography</title> +<para>The stock stylesheet attempts to do a Bibliography. It probably needs +a lot of tweaking. It probably doesn't conform to any specific style.</para> +<bibliodiv> +<title>Books</title> +<biblioentry> +<abbrev>AhoSethiUllman96</abbrev> +<authorgroup> +<author> +<firstname>Alfred V.</firstname> +<surname>Aho</surname> +</author> +<author> +<firstname>Ravi</firstname> +<surname>Sethi</surname> +</author> +<author> +<firstname>Jeffrey D.</firstname> +<surname>Ullman</surname> +</author> +</authorgroup> +<title>Compilers, Principles, Techniques, and Tools</title> +<publisher> +<publishername>Addison-Wesley Publishing Company</publishername> +</publisher> +<copyright> +<year>1996</year> +<holder>Bell Telephone Laboratories, Inc.</holder> +</copyright> +<isbn>0-201-10088-6</isbn> +<editor> +<firstname>James T.</firstname> +<surname>DeWolf</surname> +</editor> +<seriesinfo> +<title>Computer Science</title> +<editor> +<firstname>Michael A.</firstname> +<surname>Harrison</surname> +</editor> +<publisher> +<publishername>Addison-Wesley Publishing Company</publishername> +</publisher> +</seriesinfo> +</biblioentry> +</bibliodiv> +<bibliodiv> +<title>Periodicals</title> +<biblioentry id="walsh97"> +<abbrev>Walsh97</abbrev> +<biblioset relation="article"> +<title>A Guide to XML</title> +<author> +<surname>Walsh</surname> +<firstname>Norman</firstname> +</author> +<pubdate>1997</pubdate> +<copyright> +<year>1997</year> +<holder>ArborText, Inc.</holder> +</copyright> +<pagenums>97-108</pagenums> +</biblioset> +<biblioset relation="journal"> +<title>XML: Principles, Tools, and Techniques</title> +<publisher> +<publishername>O'Reilly & Associates, Inc.</publishername> +</publisher> +<issn>1085-2301</issn> +<editor> +<firstname>Dan</firstname> +<surname>Connolly</surname> +</editor> +</biblioset> +</biblioentry> +<bibliomixed id="walsh96"> <bibliomset relation="article"> <surname>Walsh</surname>, <firstname>Norman</firstname>. + <title role="article">Introduction to Cascading Style Sheets</title>. + </bibliomset> + <bibliomset relation="journal"> <title>The World Wide Web Journal</title>. + <volumenum>2</volumenum>(<issuenum>1</issuenum>). + <publishername>O'Reilly & Associates, Inc.</publishername> and + <corpname>The World Wide Web Consortium</corpname>. + <pubdate>Winter, 1996</pubdate></bibliomset>.</bibliomixed> +<biblioentry> +<abbrev>Abbrev</abbrev> +<title>A Really Full BiblioEntry</title> +<subtitle>Subtitle</subtitle> +<abstract> +<para>Abstract, abstract, abstract. Abstract, abstract, abstract. +Abstract, abstract, abstract. Abstract, abstract, abstract. +Abstract, abstract, abstract. Abstract, abstract, abstract. +Abstract, abstract, abstract. Abstract, abstract, abstract. +Abstract, abstract, abstract. Abstract, abstract, abstract. +Abstract, abstract, abstract. Abstract, abstract, abstract. </para> +</abstract> +<address>Any Street +Anywhere, XX 99999 +USA</address> +<affiliation> +<shortaffil>shortaffil</shortaffil> +<jobtitle>jobtitle</jobtitle> +<orgname>orgname</orgname> +<orgdiv>orgdiv</orgdiv> +<address>Any Street +Anywhere, XX 99999 +USA</address> +</affiliation> +<artpagenums>ArtPageNums</artpagenums> +<author> +<firstname>AuthorFirstname</firstname> +<surname>AuthorSurname</surname> +</author> +<authorblurb> +<para>AuthorBlurb, authorblurb, authorblurb. AuthorBlurb, authorblurb, authorblurb. +AuthorBlurb, authorblurb, authorblurb. AuthorBlurb, authorblurb, authorblurb. +AuthorBlurb, authorblurb, authorblurb. AuthorBlurb, authorblurb, authorblurb. +AuthorBlurb, authorblurb, authorblurb. AuthorBlurb, authorblurb, authorblurb. +AuthorBlurb, authorblurb, authorblurb. AuthorBlurb, authorblurb, authorblurb. </para> +</authorblurb> +<authorinitials>AuthorInitials</authorinitials> +<collab> +<collabname>The names of some collaborators</collabname> +<affiliation> +<shortaffil>shortaffil</shortaffil> +<jobtitle>jobtitle</jobtitle> +<orgname>orgname</orgname> +<orgdiv>orgdiv</orgdiv> +<address>Any Street +Anywhere, XX 99999 +USA</address> +</affiliation> +</collab> +<confgroup> +<confdates>confdates</confdates> +<conftitle>conftitle</conftitle> +<confnum>confnum</confnum> +<address>Any Street +Anywhere, XX 99999 +USA</address> +<confsponsor>confsponsor</confsponsor> +</confgroup> +<contractnum>ContractNum</contractnum> +<contractsponsor>ContractSponsor</contractsponsor> +<contrib>Contrib</contrib> +<copyright> +<year>1998</year> +<holder>Copyright holder</holder> +</copyright> +<corpname>CorpName</corpname> +<date>Date</date> +<edition>Edition</edition> +<editor> +<firstname>EditorFirstName</firstname> +<surname>EditorSurname</surname> +</editor> +<firstname>FirstName</firstname> +<honorific>Honorific</honorific> +<isbn>ISBN</isbn> +<issn>ISSN</issn> +<invpartnumber>InvPartNumber</invpartnumber> +<issuenum>IssueNum</issuenum> +<lineage>Lineage</lineage> +<orgname>OrgName</orgname> +<othercredit> +<firstname>OCFirstName</firstname> +<surname>OCSurname</surname> +</othercredit> +<othername>OtherName</othername> +<pagenums>PageNums</pagenums> +<printhistory> +<para>PrintHistory, printhistory, printhistory. PrintHistory, printhistory. +PrintHistory, printhistory, printhistory. PrintHistory, printhistory. +PrintHistory, printhistory, printhistory. PrintHistory, printhistory. +PrintHistory, printhistory, printhistory. PrintHistory, printhistory.</para> +</printhistory> +<productname>ProductName</productname> +<productnumber>ProductNumber</productnumber> +<pubdate>PubDate</pubdate> +<publisher> +<publishername>PubPublisherName</publishername> +<address><street>Any Street</street> +<city>Anywhere</city>, <state>XX</state> <postcode>99999</postcode> +<country>USA</country></address> +</publisher> +<publishername>PublisherName</publishername> +<pubsnumber>PubsNumber</pubsnumber> +<releaseinfo>ReleaseInfo</releaseinfo> +<revhistory> +<revision> +<revnumber>1.0</revnumber> +<date>20 Nov 1998</date> +<authorinitials>ndw</authorinitials> +<revremark>Some remark about the revision</revremark> +</revision> +<revision> +<revnumber>0.9</revnumber> +<date>19 Nov 1998</date> +<authorinitials>ndw</authorinitials> +<revremark>Some remark about the revision</revremark> +</revision> +<revision> +<revnumber>0.4</revnumber> +<date>18 Nov 1998</date> +<authorinitials>ndw</authorinitials> +<revremark>Some remark about the revision</revremark> +</revision> +</revhistory> +<seriesinfo> +<title>SeriesInfo Title</title> +<editor> +<firstname>SeriesInfo Editor Firstname</firstname> +<surname>SeriesInfo Editor Surname</surname> +</editor> +</seriesinfo> +<seriesvolnums>SeriesVolNums</seriesvolnums> +<surname>Surname</surname> +<titleabbrev>TitleAbbrev</titleabbrev> +<volumenum>VolumeNum</volumenum> +</biblioentry> +</bibliodiv> +</bibliography> +</book> diff --git a/tests/docbook/test/book.xml b/tests/docbook/test/book.xml new file mode 100644 index 00000000..49c6a713 --- /dev/null +++ b/tests/docbook/test/book.xml @@ -0,0 +1,410 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE book + PUBLIC "-//Norman Walsh//DTD DocBk XML V3.1.7//EN" + "../dtd/3.1.7/docbookx.dtd"> + +<!-- test document --> +<book><title>Book Test Document Title</title> +<bookinfo> +<title>Bookinfo Test Document Title</title> +<subtitle>Book Subtitle</subtitle> +<authorgroup> +<author><firstname>Norman</firstname><surname>Walsh</surname></author> +<author><firstname>John</firstname><surname>Doe</surname></author> +</authorgroup> +<releaseinfo>Some releaseinfo</releaseinfo> +<copyright><year>2000</year><holder>Norman Walsh</holder></copyright> +<legalnotice> +<para>Some legal notice. Some legal notice. Some legal notice. +Some legal notice. Some legal notice. Some legal notice. +Some legal notice. Some legal notice. Some legal notice. +Some legal notice. Some legal notice. Some legal notice. +</para> +</legalnotice> +<pubdate>16 December 2000</pubdate> +<abstract> +<para>Some abstract. Some abstract. Some abstract. Some abstract. +Some abstract. Some abstract. Some abstract. Some abstract. +Some abstract. Some abstract. Some abstract. Some abstract. +Some abstract. Some abstract. Some abstract. Some abstract. +Some abstract. Some abstract. Some abstract. Some abstract. +Some abstract. Some abstract. Some abstract. Some abstract. +</para> +<para>Some abstract. Some abstract. Some abstract. Some abstract. +Some abstract. Some abstract. Some abstract. Some abstract. +</para> +</abstract> +<!-- +<revhistory> +<revision> +<revnumber>1.0</revnumber> +<date>20 Nov 1998</date> +<authorinitials>ndw</authorinitials> +<revremark>Some remark about the revision</revremark> +</revision> +<revision> +<revnumber>0.9</revnumber> +<date>19 Nov 1998</date> +<authorinitials>ndw</authorinitials> +<revremark>Some remark about the revision</revremark> +</revision> +<revision> +<revnumber>0.4</revnumber> +<date>18 Nov 1998</date> +<authorinitials>ndw</authorinitials> +<revremark>Some remark about the revision</revremark> +</revision> +</revhistory> +--> +</bookinfo> + +<dedication><title>First Dedication</title> +<para>Just a test. “What about—this?”</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +</para> +</dedication> + +<dedication> +<para>Just a test dedication.</para> +</dedication> + +<preface><title>Foreword</title> +<?dbhtml filename="forward.htm"?> +<para>This is a test paragraph.</para> +</preface> + +<preface> +<para>This is a test preface.</para> +</preface> + +<part> +<docinfo> +<title>Part One Title</title> +<legalnotice> +<para>Foo! A legal notice in a part!</para> +</legalnotice> +</docinfo> +<title>Part One Title</title> +<partintro> +<title>PartIntro Title</title> +<para>Partintro content<footnote> +<para>This is a footnote in a partintro.</para> +</footnote>.</para> +<sect1> +<title>PartIntro Section</title> +<para>PartIntros can actually have section content as well.</para> +</sect1> +</partintro> +<chapter id="chapter"> +<title id="chaptertitle">Section <anchor id="stestfoo"/>Tests</title> + +<sect1><title>First Sect1</title> +<para>Paragraph.</para> +<figure id="testfig1"><title>Test Figure</title> +<programlisting>This is a + ProgramListing +</programlisting> +</figure> +</sect1> +<sect1><title>Second Sect1</title> +<para>Paragraph.</para> +</sect1> +<sect1><title>Third Sect1</title> +<para>Paragraph.</para> +<figure id="testfig2"><title>Test Figure</title> +<programlisting>This is a + ProgramListing +</programlisting> +</figure> +</sect1> + +</chapter> +</part> + +<chapter> + <docinfo><title>First Chapter</title><subtitle>Chapter Subtitle</subtitle> + </docinfo><title>First Chapter</title> +<para>This is a test paragraph.</para> +<figure id="testfig3"><title>Test Figure</title> +<programlisting>This is a + ProgramListing +</programlisting> +</figure> +</chapter> + +<chapter><title>Second Chapter</title> +<para>This is a test paragraph. +<indexterm> +<primary>ap1</primary> +</indexterm> +<indexterm> +<primary>ap2</primary> +</indexterm> + +<indexterm> +<primary>bp1</primary> +<secondary>bp1bs1</secondary> +</indexterm> +<indexterm> +<primary>bp2</primary> +</indexterm> + +<indexterm> +<primary>cp1</primary> +<secondary>cp1cs1</secondary> +<tertiary>cp1cs1ct1</tertiary> +</indexterm> + +<indexterm> +<primary>cp2</primary> +</indexterm> +<indexterm> +<primary>cp2see</primary><see>cp2</see> +</indexterm> + +<indexterm> +<primary>dp1</primary> +<secondary>dp1ds1</secondary> +</indexterm> +<indexterm> +<primary>dp1</primary> +<secondary>dp1ds2</secondary> +</indexterm> +<indexterm> +<primary>dp2</primary> +</indexterm></para> +</chapter> + +<chapter><title>Third Chapter</title> +<para>This is a test paragraph.</para> +</chapter> + +<appendix><title>First Appendix</title> +<para>This is just a test.</para> +<figure id="testfig4"><title>Test Figure</title> +<programlisting>This is a + ProgramListing +</programlisting> +</figure> +</appendix> + +<appendix><title>Second Appendix</title> +<para>This is just a test. +<indexterm> +<primary>ap1</primary> +</indexterm> +<indexterm> +<primary>ap2</primary> +</indexterm> + +<indexterm> +<primary>bp1</primary> +<secondary>bp1bs1</secondary> +</indexterm> +<indexterm> +<primary>bp2</primary> +</indexterm> + +<indexterm> +<primary>cp1</primary> +<secondary>cp1cs1</secondary> +<tertiary>cp1cs1ct1</tertiary> +</indexterm> +<indexterm> +<primary>cp2</primary> +</indexterm> + +<indexterm> +<primary>dp1</primary> +<secondary>dp1ds1</secondary> +</indexterm> +<indexterm> +<primary>dp1</primary> +<secondary>dp1ds2</secondary> +</indexterm> +<indexterm> +<primary>dp2</primary> +</indexterm></para> +</appendix> + +</book> + + diff --git a/tests/docbook/test/book2.xml b/tests/docbook/test/book2.xml new file mode 100644 index 00000000..d9e79fff --- /dev/null +++ b/tests/docbook/test/book2.xml @@ -0,0 +1,3249 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE book + PUBLIC "-//Norman Walsh//DTD DocBk XML V3.1.7//EN" + "../dtd/3.1.7/docbookx.dtd"> +<book id="book"> +<bookinfo> +<title>Book Title</title> +<author> +<surname>Walsh</surname> +<firstname>Norman</firstname> +</author> +<corpauthor>Some Corporation</corpauthor> +<legalnotice> +<title>Legal Notice</title> +<para>This is a test document. You can do what you will with it.</para> +</legalnotice> +<legalnotice> +<para>This is a second legal notice. But it's not noteworthy. + Some more text. Some more text. Some more text. Some more text. + Some more text. Some more text. Some more text. Some more text. + Some more text. Some more text. Some more text. Some more text. + Some more text. Some more text. Some more text. Some more text. + Some more text. Some more text. Some more text. Some more text. + Some more text. Some more text. Some more text. Some more text. + Some more text. Some more text. Some more text. Some more text. + </para> +</legalnotice> +<copyright> +<year>1998</year> +<holder>Norman Walsh</holder> +</copyright> +</bookinfo> +<dedication> +<para>This test book is dedicated to all the testers. This is the first para +of the dedication.</para> +<para>This is the second para of the dedication.</para> +<para>This is the third para of the dedication.</para> +</dedication> +<preface> +<title>Preface Title</title> +<para>Preface content.</para> +<para>This is the second para of the preface.</para> +<para>This is the third para of the preface.</para> +</preface> +<part> +<docinfo> +<title>Part One Title</title> +<legalnotice> +<para>Foo! A legal notice in a part!</para> +</legalnotice> +</docinfo> +<title>Part One Title</title> +<partintro> +<title>PartIntro Title</title> +<para>Partintro content<footnote> +<para>This is a footnote in a partintro.</para> +</footnote>.</para> +<sect1> +<title>PartIntro Section</title> +<para>PartIntros can actually have section content as well.</para> +</sect1> +</partintro> +<chapter id="chapter"> +<title id="chaptertitle">XRef Tests</title> +<bridgehead renderas="sect3">Xrefs</bridgehead> +<simplelist> +<member><xref linkend="book"/></member> +<member><xref linkend="part"/></member> +<member><xref linkend="chapter"/></member> +<member><xref linkend="appendix"/></member> +<member><xref linkend="table"/></member> +<member><xref linkend="figure"/></member> +<member><xref linkend="example"/></member> +<member><xref linkend="equation"/></member> +<member><xref linkend="reference"/></member> +<member><xref linkend="bib1"/></member> +<member><xref linkend="gloss"/></member> +<member><xref linkend="index"/></member> +</simplelist> +<para>This is the first reference to <firstterm linkend="xml">XML</firstterm>. +This is the second reference to <glossterm linkend="xml">XML</glossterm>. +These are references without <sgmltag class="attribute">linkend</sgmltag> +attributes: <firstterm>XML</firstterm>, <glossterm>XML</glossterm>.</para> +<bridgehead renderas="sect3">Links</bridgehead> +<para>More <ulink url="http://www.jclark.com/dsssl/">DSSSL information</ulink> +is available.</para> +<para>There is <link linkend="part">a second part</link> in this book.</para> +<para>This is the <link endterm="chaptertitle" linkend="chapter"></link> +chapter.</para> +</chapter> +<chapter id="stchap"> +<docinfo> +<title>Section Tests</title> +<subtitle>Section Tests Subtitle</subtitle> +</docinfo> +<title>Section Tests</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +<indexterm> +<primary>ap1</primary> +</indexterm> +<indexterm> +<primary>ap2</primary> +</indexterm> + +<indexterm> +<primary>bp1</primary> +<secondary>bp1bs1</secondary> +</indexterm> +<indexterm> +<primary>bp2</primary> +</indexterm> + +<indexterm> +<primary>cp1</primary> +<secondary>cp1cs1</secondary> +<tertiary>cp1cs1ct1</tertiary> +</indexterm> +<indexterm> +<primary>cp2</primary> +</indexterm> + +<indexterm> +<primary>dp1</primary> +<secondary>dp1ds1</secondary> +</indexterm> +<indexterm> +<primary>dp1</primary> +<secondary>dp1ds2</secondary> +</indexterm> +<indexterm> +<primary>dp2</primary> +</indexterm></para> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<sect1 id="secttest1"> +<title>a sect1 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +<indexterm> +<primary>ep1</primary> +<secondary>ep1es1</secondary> +<tertiary>ep1es1et1</tertiary> +</indexterm> +<indexterm> +<primary>ep1</primary> +<secondary>ep1es2</secondary> +</indexterm> +<indexterm> +<primary>ep2</primary> +</indexterm> + +<indexterm> +<primary>fp1</primary> +<secondary>fp1fs1</secondary> +</indexterm> +<indexterm> +<primary>fp1</primary> +<secondary>fp1fs2</secondary> +<tertiary>fp1fs2ft1</tertiary> +</indexterm> +<indexterm> +<primary>fp2</primary> +</indexterm> + +<indexterm> +<primary>gp1</primary> +<secondary>gp1gs1</secondary> +</indexterm> +<indexterm> +<primary>gp1</primary> +<secondary>gp1gs2</secondary> +</indexterm> +<indexterm> +<primary>gp1</primary> +<secondary>gp1gs2</secondary> +<tertiary>gp1gs2gt1</tertiary> +</indexterm> +<indexterm> +<primary>gp1</primary> +<secondary>gp1gs2</secondary> +<tertiary>gp1gs2gt2</tertiary> +</indexterm> +<indexterm> +<primary>gp1</primary> +<secondary>gp1gs3</secondary> +</indexterm> +<indexterm> +<primary>gp2</primary> +</indexterm></para> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<sect2> +<title>a sect2 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<sect3> +<title>a sect3 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +<indexterm> +<primary>hp1</primary> +<secondary>hp1hs1</secondary> +<tertiary>hp1hs1ht1</tertiary> +</indexterm> +<indexterm> +<primary>hp1</primary> +<secondary>hp1hs1</secondary> +<tertiary>hp1hs1ht2</tertiary> +</indexterm> +<indexterm> +<primary>hp2</primary> +</indexterm> + +<indexterm> +<primary>ip1</primary> +</indexterm> +<indexterm> +<primary>ip1</primary> +<secondary>ip1is1</secondary> +</indexterm> +<indexterm> +<primary>ip1</primary> +<secondary>ip1is1</secondary> +<tertiary>ip1is1it1</tertiary> +</indexterm> +<indexterm> +<primary>ip1</primary> +<secondary>ip1is1</secondary> +<tertiary>ip1is1it2</tertiary> +</indexterm> +<indexterm> +<primary>ip1</primary> +<secondary>ip1is2</secondary> +<tertiary>ip1is2it1</tertiary> +</indexterm> +<indexterm> +<primary>ip2</primary> +</indexterm></para> +<sect4> +<title>a sect4 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<sect5> +<title>a sect5 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +</sect5> +</sect4> +</sect3> +</sect2> +</sect1> +<sect1 id="secttest2"> +<sect1info> +<title>another sect1 title</title> +<subtitle>a sect1 subtitle</subtitle> +</sect1info> +<title>another sect1 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +<indexterm> +<primary>jp1</primary> +</indexterm> +<indexterm> +<primary>jp1</primary> +<secondary>jp1js1</secondary> +<tertiary>jp1js1jt1</tertiary> +</indexterm> +<indexterm> +<primary>jp1</primary> +<secondary>jp1js1</secondary> +<tertiary>jp1js1jt2</tertiary> +</indexterm> +<indexterm> +<primary>jp2</primary> +</indexterm></para> +<sect2> +<sect2info> +<title>another sect2 title</title> +<subtitle>a sect2 subtitle</subtitle> +</sect2info> +<title>another sect2 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<sect3> +<sect3info> +<title>another sect3 title</title> +<subtitle>a sect3 subtitle</subtitle> +</sect3info> +<title>another sect3 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<sect4> +<sect4info> +<title>another sect4 title</title> +<subtitle>a sect4 subtitle</subtitle> +</sect4info> +<title>another sect4 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<sect5> +<sect5info> +<title>another sect5 title</title> +<subtitle>a sect5 subtitle</subtitle> +</sect5info> +<title>another sect5 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +</sect5> +</sect4> +</sect3> +</sect2> +</sect1> +<sect1 id="secttest3"> +<title>another sect1 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +</sect1> +<sect1 id="secttest4"> +<title>another sect1 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +</sect1> +</chapter> +<chapter> +<title>Inline Tests</title> +<simplesect> +<title>Testing <quote>Quotes</quote> in a title</title> +<para>Footnotes<footnote id="fn1"> +<para>Like this!</para> +</footnote> are inlines. +Sort of<footnote> +<para>Well, the marks are, anyway!</para> +</footnote>. +Another footnote<footnoteref linkend="fn1"/>.</para> +<simplelist columns="3" type="vert"> +<member><abbrev>Abbrev</abbrev></member> +<member><acronym>Acronym</acronym></member> +<member><action>Action</action></member> +<member><application>Application</application></member> +<member><citation>Citation</citation></member> +<member><citerefentry> +<refentrytitle>CiteRefEntry RefEntryTitle</refentrytitle> +<manvolnum>n</manvolnum> +</citerefentry></member> +<member><citetitle>Citetitle</citetitle></member> +<member><classname>ClassName</classname></member> +<member><command>Command</command></member> +<member><comment>Comment</comment> (Comment)</member> +<member><computeroutput>ComputerOutput</computeroutput></member> +<member><database>Database</database></member> +<member><errorname>ErrorName</errorname></member> +<member><errortype>ErrorType</errortype></member> +<member><email>Email</email></member> +<member><emphasis>Emphasis</emphasis></member> +<member><envar>EnVar</envar></member> +<member><errorcode>ErrorCode</errorcode></member> +<member><filename>Filename</filename></member> +<member><firstterm>Firstterm</firstterm></member> +<member><foreignphrase>ForeignPhrase</foreignphrase></member> +<member><function>Function</function></member> +<member><guimenuitem>GUIMenuItem</guimenuitem></member> +<member><guibutton>GUIButton</guibutton></member> +<member><guibutton>GUI<accel>B</accel>utton (with Accel)</guibutton></member> +<member><guiicon>GUIIcon</guiicon></member> +<member><guilabel>GUILabel</guilabel></member> +<member><guimenu>GUIMenu</guimenu></member> +<member><guisubmenu>GUISubMenu</guisubmenu></member> +<member><hardware>Hardware</hardware></member> +<member><inlineequation> +<alt>e=mc^2</alt> +<graphic fileref="emc2.gif"/> +</inlineequation></member> +<member><interface>Interface</interface></member> +<member><interfacedefinition>InterfaceDefinition</interfacedefinition></member> +<member><keycap>KeyCap</keycap></member> +<member><keycode>KeyCode</keycode></member> +<member><keycombo> +<keycap>Key</keycap> +<keycap>Combo</keycap> +</keycombo></member> +<member><keysym>KeySym</keysym></member> +<member><literal>Literal</literal></member> +<member><markup>Markup</markup></member> +<member><medialabel>MediaLabel</medialabel></member> +<member><mousebutton>MouseButton</mousebutton></member> +<member><option>Option</option></member> +<member><optional>Optional</optional></member> +<member><parameter>Parameter</parameter></member> +<member><phrase>Phrase</phrase></member> +<member><prompt>Prompt</prompt></member> +<member><property>Property</property></member> +<member><quote>Quote</quote></member> +<member><replaceable>Replaceable</replaceable></member> +<member><returnvalue>ReturnValue</returnvalue></member> +<member><sgmltag class="attribute">SGMLTag</sgmltag> (Attribute)</member> +<member><sgmltag class="attvalue">SGMLTag</sgmltag> (AttValue)</member> +<member><sgmltag class="element">SGMLTag</sgmltag> (Element)</member> +<member><sgmltag class="endtag">SGMLTag</sgmltag> (EndTag)</member> +<member><sgmltag class="genentity">SGMLTag</sgmltag> (GenEntity)</member> +<member><sgmltag class="numcharref">SGMLTag</sgmltag> (NumCharRef)</member> +<member><sgmltag class="paramentity">SGMLTag</sgmltag> (ParamEntity)</member> +<member><sgmltag class="pi">SGMLTag</sgmltag> (PI)</member> +<member><sgmltag class="sgmlcomment">SGMLTag</sgmltag> (SGMLComment)</member> +<member><sgmltag class="starttag">SGMLTag</sgmltag> (StartTag)</member> +<member><sgmltag>SGMLTag</sgmltag></member> +<member><structfield>StructField</structfield></member> +<member><structname>StructName</structname></member> +<member><subscript>Subscript</subscript></member> +<member><superscript>Superscript</superscript></member> +<member><symbol>Symbol</symbol></member> +<member><systemitem>SystemItem</systemitem></member> +<member><token>Token</token></member> +<member><trademark>Trademark</trademark></member> +<member><type>Type</type></member> +<member><userinput>UserInput</userinput></member> +<member><wordasword>WordAsWord</wordasword></member> +<member><productname>ProductName</productname></member> +</simplelist> +<para>And here are a couple of index terms, as another test (of +index terms, not inlines). +<indexterm> +<primary>aap1</primary> +<see>ap1</see> +</indexterm> +<indexterm> +<primary>bbp1</primary> +<seealso>bp1</seealso> +</indexterm></para> +</simplesect> +</chapter> +<chapter> +<title>Block Tests</title> +<simplesect> +<title>Formal Objects</title> +<bridgehead renderas="sect4">Example</bridgehead> +<example id="example"> +<title>An Example</title> +<para>This is an example of a trivial example.</para> +</example> +<bridgehead renderas="sect4">Figure</bridgehead> +<figure id="figure"> +<title>A Figure</title> +<screen>This is an example of a trivial figure.</screen> +</figure> +<bridgehead renderas="sect4">Equation</bridgehead> +<equation id="equation"> +<title>An Equation</title> +<alt>e=mc^2</alt> +<graphic fileref="emc2.gif"/> +</equation> +<bridgehead renderas="sect4">Table</bridgehead> +<table id="table"> +<title>A Table</title> +<tgroup cols="2"> +<colspec colwidth="0.5in"/> +<colspec colwidth="0.5in"/> +<tbody> +<row> +<entry>1</entry> +<entry>1</entry> +</row> +<row> +<entry>2</entry> +<entry>4</entry> +</row> +<row> +<entry>3</entry> +<entry>9</entry> +</row> +</tbody> +</tgroup> +</table> +</simplesect> +<simplesect> +<title>Informal Objects</title> +<bridgehead renderas="sect4">InformalExample</bridgehead> +<informalexample id="iexample"> +<para>This is an example of a trivial, informal example.</para> +</informalexample> +<bridgehead renderas="sect4">InformalEquation</bridgehead> +<informalequation id="iequation"> +<alt>e=mc^2</alt> +<graphic fileref="emc2.gif"/> +</informalequation> +<bridgehead renderas="sect4">InformalTable</bridgehead> +<informaltable id="itable"> +<tgroup cols="2"> +<tbody> +<row> +<entry>1</entry> +<entry>1</entry> +</row> +<row> +<entry>2</entry> +<entry>8</entry> +</row> +<row> +<entry>3</entry> +<entry>27</entry> +</row> +</tbody> +</tgroup> +</informaltable> +</simplesect> +<simplesect> +<title>Admonitions</title> +<bridgehead renderas="sect4">Note</bridgehead> +<note> +<para>Consider yourself noted.</para> +<para>Second para.</para> +</note> +<note> +<simpara>Consider yourself noted, simply.</simpara> +</note> +<note> +<title>NoteTitle</title> +<para>Consider yourself noted.</para> +<para>Second para, with a title.</para> +</note> +<note> +<title>Att</title> +<simpara>Consider yourself noted, simply.</simpara> +<simpara>With a title</simpara> +</note> +<bridgehead renderas="sect4">Important</bridgehead> +<important> +<para>Consider yourself important.</para> +</important> +<bridgehead renderas="sect4">Tip</bridgehead> +<tip> +<para>Consider yourself tipped.</para> +</tip> +<bridgehead renderas="sect4">Warning</bridgehead> +<warning> +<para>Consider yourself warned.</para> +</warning> +<bridgehead renderas="sect4">Caution</bridgehead> +<caution> +<para>Consider yourself cautioned.</para> +</caution> +<bridgehead renderas="sect4">SimPara in Caution</bridgehead> +<caution> +<title>Simple Caution</title> +<simpara>A simpler caution.</simpara> +</caution> +</simplesect> +<simplesect> +<title>Other Objects</title> +<bridgehead renderas="sect4">Screen</bridgehead> +<screen>This + is <lineannotation>With a line-annotation</lineannotation> + a + screen + This + is <lineannotation>With a line-annotation</lineannotation> + a +screen +This + is <lineannotation>With a line-annotation</lineannotation> + a + screen</screen> +<bridgehead renderas="sect4">ProgramListing</bridgehead> +<programlisting>This + is + a +programlisting</programlisting> +<bridgehead renderas="sect4">Address</bridgehead> +<address>Norman Walsh +ArborText, Inc. +<street>1000 Victors Way</street> +<city>Ann Arbor</city>, <state>MI</state> <postcode>48108</postcode> +<country>US</country> + +Voice: <phone>313.997.0200</phone> +Fax: <fax>313.997.0201</fax> + +Email: <email>nwalsh@arbortext.com</email> +WWW: <otheraddr role="homepage">http://www.arbortext.com/</otheraddr></address> +<bridgehead renderas="sect4">BlockQuote</bridgehead> +<blockquote> +<para>The universe that we observe has precisely the properties we should +expect if there is, at bottom, no design, no purpose, no evil and +no good, nothing but pitiless indifference.—Richard Dawkins</para> +</blockquote> +<bridgehead renderas="sect4">Procedure</bridgehead> +<procedure> +<step> +<para>This is the first step</para> +</step> +<step> +<para>This is the second step</para> +<substeps> +<step> +<para>This is the first substep</para> +</step> +<step> +<para>This is the second substep</para> +</step> +</substeps> +</step> +<step> +<para>This is the third step</para> +</step> +</procedure> +<bridgehead renderas="sect4">Procedure With Title</bridgehead> +<procedure> +<title>Same Procedure with a Title</title> +<step> +<para>This is the first step</para> +</step> +<step> +<para>This is the second step</para> +<substeps> +<step> +<para>This is the first substep</para> +</step> +<step> +<para>This is the second substep</para> +</step> +</substeps> +</step> +<step> +<para>This is the third step</para> +</step> +</procedure> +<bridgehead renderas="sect4">SideBar</bridgehead> +<sidebar> +<title>What About Bob?</title> +<para>This is a sidebar.</para> +</sidebar> +<bridgehead renderas="sect4">MsgSet</bridgehead> +<para>It's not really clear how <sgmltag>MsgSet</sgmltag> should be presented. +I expect that it's fairly application, if not document, specific.</para> +<msgset> +<msgentry> +<msg> +<msgmain> +<msgtext> +<para>Record failed CRC</para> +</msgtext> +</msgmain> +<msgsub> +<msgtext> +<para>Record <replaceable>n</replaceable> + in <replaceable>database</replaceable></para> +</msgtext> +</msgsub> +<msgrel> +<msgtext> +<para>File read error on + <replaceable>database</replaceable></para> +</msgtext> +</msgrel> +<msgrel> +<msgtext> +<para>Panic! Corrupt record!</para> +</msgtext> +</msgrel> +</msg> +<msginfo> +<msglevel>severe</msglevel> +<msgorig>server</msgorig> +<msgaud>all</msgaud> +</msginfo> +<msgexplan> +<para> Indicates that some sort of error occured attempting to load + a record from the database. Retry. If failure persists, + contact the database administrator. + </para> +</msgexplan> +</msgentry> +</msgset> +<bridgehead renderas="sect4">LiteralLayout</bridgehead> +<literallayout>This is a +literal + layout</literallayout> +<para><literallayout>This is a +literal + layout + in a para</literallayout></para> +</simplesect> +</chapter> +<chapter> +<title>List Tests</title> +<simplesect> +<title>OrderedLists</title> +<bridgehead renderas="sect4">Default Numeration</bridgehead> +<orderedlist> +<listitem> +<para>One</para> +</listitem> +<listitem> +<programlisting>this one starts with +a program listing +what happens?</programlisting> +</listitem> +<listitem> +<synopsis>this one starts with +a synopsis +what happens?</synopsis> +</listitem> +<listitem> +<para>para first</para> +<synopsis>this one has +a synopsis +what happens?</synopsis> +</listitem> +<listitem> +<para>Three</para> +<screen>A +Screen +Here</screen> +</listitem> +<listitem> +<para>Four</para> +</listitem> +</orderedlist> +<bridgehead renderas="sect4">Arabic Numeration</bridgehead> +<orderedlist numeration="arabic"> +<listitem> +<para>One</para> +</listitem> +<listitem> +<para>Two</para> +</listitem> +<listitem> +<para>Three</para> +</listitem> +<listitem> +<para>Four</para> +</listitem> +</orderedlist> +<bridgehead renderas="sect4">Arabic Numeration (Long)</bridgehead> +<orderedlist numeration="arabic"> +<listitem> +<para>One</para> +</listitem> +<listitem> +<para>Two</para> +</listitem> +<listitem> +<para>Three</para> +</listitem> +<listitem> +<para>Four</para> +</listitem> +<listitem> +<para>Five</para> +</listitem> +<listitem> +<para>Six</para> +</listitem> +<listitem> +<para>Seven</para> +</listitem> +<listitem> +<para>Eight</para> +</listitem> +<listitem> +<para>Nine</para> +</listitem> +<listitem> +<para>Ten</para> +</listitem> +<listitem> +<para>Eleven</para> +</listitem> +</orderedlist> +<bridgehead renderas="sect4">UpperAlpha Numeration</bridgehead> +<orderedlist numeration="upperalpha"> +<listitem> +<para>One</para> +</listitem> +<listitem> +<para>Two</para> +</listitem> +<listitem> +<para>Three</para> +</listitem> +<listitem> +<para>Four</para> +</listitem> +</orderedlist> +<bridgehead renderas="sect4">LowerAlpha Numeration</bridgehead> +<orderedlist numeration="loweralpha"> +<listitem> +<para>One</para> +</listitem> +<listitem> +<para>Two</para> +</listitem> +<listitem> +<para>Three</para> +</listitem> +<listitem> +<para>Four</para> +</listitem> +</orderedlist> +<bridgehead renderas="sect4">UpperRoman Numeration</bridgehead> +<orderedlist numeration="upperroman"> +<listitem> +<para>One</para> +</listitem> +<listitem> +<para>Two</para> +</listitem> +<listitem> +<para>Three</para> +</listitem> +<listitem> +<para>Four</para> +</listitem> +</orderedlist> +<bridgehead renderas="sect4">LowerRoman Numeration</bridgehead> +<orderedlist numeration="lowerroman"> +<listitem> +<para>One</para> +</listitem> +<listitem> +<para>Two</para> +</listitem> +<listitem> +<para>Three</para> +</listitem> +<listitem> +<para>Four</para> +</listitem> +</orderedlist> +<bridgehead renderas="sect4">Continued</bridgehead> +<para>First list: +<orderedlist> +<listitem> +<para>One</para> +</listitem> +<listitem> +<para>Two</para> +</listitem> +<listitem> +<para>Three</para> +</listitem> +<listitem> +<para>Four</para> +</listitem> +</orderedlist></para> +<para>Second list: +<orderedlist continuation="continues"> +<listitem> +<para>Five</para> +</listitem> +<listitem> +<para>Six</para> +</listitem> +<listitem> +<para>Seven</para> +</listitem> +<listitem> +<para>Eight</para> +</listitem> +<listitem> +<para>Nine</para> +</listitem> +<listitem> +<para>Ten</para> +</listitem> +</orderedlist></para> +</simplesect> +<simplesect> +<title>ItemizedLists</title> +<bridgehead renderas="sect4">Default Presentation</bridgehead> +<itemizedlist> +<listitem> +<para>One</para> +</listitem> +<listitem> +<programlisting>One-point-five. This one starts with +a program listing +what happens?</programlisting> +</listitem> +<listitem> +<para>Two</para> +</listitem> +<listitem> +<para>Three</para> +</listitem> +<listitem> +<para>Four</para> +</listitem> +</itemizedlist> +<bridgehead renderas="sect4">Block Elements in a List</bridgehead> +<itemizedlist> +<listitem> +<para>One</para> +<para>Another para.</para> +</listitem> +<listitem> +<para>Two</para> +</listitem> +<listitem> +<para>Three</para> +</listitem> +<listitem> +<para>Four</para> +</listitem> +</itemizedlist> +<bridgehead renderas="sect4">Alternate Mark and OverRide</bridgehead> +<itemizedlist mark="box"> +<listitem> +<para>TeX and LaTeX</para> +</listitem> +<listitem override="bullet"> +<para>Troff</para> +</listitem> +<listitem> +<para>Lout</para> +</listitem> +<listitem override="none"> +<para>Test</para> +</listitem> +</itemizedlist> +<bridgehead renderas="sect4">No mark Presentation</bridgehead> +<itemizedlist mark="none"> +<listitem override="none"> +<para>One</para> +</listitem> +<listitem override="bullet"> +<para>Two</para> +</listitem> +<listitem> +<para>Three</para> +</listitem> +<listitem> +<para>Four</para> +</listitem> +</itemizedlist> +</simplesect> +<simplesect> +<title>VariableLists</title> +<variablelist> +<varlistentry> +<term>Term1</term> +<listitem> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +</listitem> +</varlistentry> +<varlistentry> +<term>Term2</term> +<listitem> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +</listitem> +</varlistentry> +<varlistentry> +<term>Term3</term> +<listitem> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<itemizedlist> +<listitem> +<para>One</para> +</listitem> +<listitem> +<para>Two</para> +</listitem> +<listitem> +<para>Three</para> +</listitem> +<listitem> +<para>Four</para> +</listitem> +</itemizedlist> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +</listitem> +</varlistentry> +<varlistentry> +<term>Term4</term> +<listitem> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +</listitem> +</varlistentry> +</variablelist> +<variablelist> +<varlistentry> +<term>Another List</term> +<listitem> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +</listitem> +</varlistentry> +<varlistentry> +<term>ProgramListing</term> +<listitem> +<programlisting>A ProgramListing +Is the First Element +of this VarListEntry</programlisting> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +</listitem> +</varlistentry> +</variablelist> +</simplesect> +<simplesect> +<title>SimpleLists</title> +<bridgehead renderas="sect4">Inline</bridgehead> +<para>An inline simple list: +<simplelist type="inline"> +<member>One</member> +<member>Two</member> +<member>Three</member> +<member>Four</member> +<member>Five</member> +<member>Six</member> +<member>Seven</member> +</simplelist></para> +<bridgehead renderas="sect4">Horiz</bridgehead> +<simplelist columns="3" type="horiz"> +<member>One</member> +<member>Two</member> +<member>Three</member> +<member>Four</member> +<member>Five</member> +<member>Six</member> +<member>Seven</member> +</simplelist> +<bridgehead renderas="sect4">Vert</bridgehead> +<simplelist columns="3" type="vert"> +<member>One</member> +<member>Two</member> +<member>Three</member> +<member>Four</member> +<member>Five</member> +<member>Six</member> +<member>Seven</member> +</simplelist> +</simplesect> +<simplesect> +<title>More Complex List Item Content</title> +<itemizedlist> +<listitem> +<para>One</para> +<para>Second para</para> +</listitem> +<listitem> +<para>Two</para> +<para>Second para</para> +</listitem> +<listitem> +<simpara>Three</simpara> +<para>Second para</para> +</listitem> +<listitem> +<para>Four</para> +<para>Second para</para> +</listitem> +<listitem> +<formalpara> +<title>Formal Element</title> +<para>Five</para> +</formalpara> +<para>Second para</para> +</listitem> +<listitem> +<para>Six</para> +</listitem> +</itemizedlist> +<orderedlist> +<listitem> +<para>One</para> +<para>Second para</para> +</listitem> +<listitem> +<para>Two</para> +<para>Second para</para> +</listitem> +<listitem> +<simpara>Three</simpara> +<para>Second para</para> +</listitem> +<listitem> +<para>Four</para> +<para>Second para</para> +</listitem> +<listitem> +<formalpara> +<title>Formal Element</title> +<para>Five</para> +</formalpara> +<para>Second para</para> +</listitem> +<listitem> +<para>Six</para> +</listitem> +</orderedlist> +</simplesect> +<simplesect> +<title>Segmented List</title> +<segmentedlist> +<title>State Birds</title> +<segtitle>State</segtitle> +<segtitle>Bird</segtitle> +<seglistitem> +<seg>Alabama</seg> +<seg>Yellowhammer</seg> +</seglistitem> +<seglistitem> +<seg>Alaska</seg> +<seg>Willow Ptarmigan</seg> +</seglistitem> +<seglistitem> +<seg>Arizona</seg> +<seg>Cactus Wren</seg> +</seglistitem> +<seglistitem> +<seg>Arkansas</seg> +<seg>Mockingbird</seg> +</seglistitem> +<seglistitem> +<seg>California</seg> +<seg>California Valley Quail</seg> +</seglistitem> +<seglistitem> +<seg>Colorado</seg> +<seg>Lark Bunting</seg> +</seglistitem> +<seglistitem> +<seg>Connecticut</seg> +<seg>Robin</seg> +</seglistitem> +<seglistitem> +<seg>Delaware</seg> +<seg>Blue Hen Chicken</seg> +</seglistitem> +<seglistitem> +<seg>Florida</seg> +<seg>Mockingbird</seg> +</seglistitem> +<seglistitem> +<seg>Georgia</seg> +<seg>Brown Thrasher</seg> +</seglistitem> +<seglistitem> +<seg>Hawaii</seg> +<seg>Nene</seg> +</seglistitem> +<seglistitem> +<seg>Idaho</seg> +<seg>Mountain Bluebird</seg> +</seglistitem> +<seglistitem> +<seg>Illinois</seg> +<seg>Cardinal</seg> +</seglistitem> +<seglistitem> +<seg>Indiana</seg> +<seg>Cardinal</seg> +</seglistitem> +<seglistitem> +<seg>Iowa</seg> +<seg>Eastern Goldfinch</seg> +</seglistitem> +<seglistitem> +<seg>Kansas</seg> +<seg>Western Meadowlark</seg> +</seglistitem> +<seglistitem> +<seg>Kentucky</seg> +<seg>Cardinal</seg> +</seglistitem> +<seglistitem> +<seg>Louisiana</seg> +<seg>Eastern Brown Pelican</seg> +</seglistitem> +<seglistitem> +<seg>Maine</seg> +<seg>Chickadee</seg> +</seglistitem> +<seglistitem> +<seg>Maryland</seg> +<seg>Baltimore Oriole</seg> +</seglistitem> +<seglistitem> +<seg>Massachusetts</seg> +<seg>Chickadee</seg> +</seglistitem> +<seglistitem> +<seg>Michigan</seg> +<seg>Robin</seg> +</seglistitem> +<seglistitem> +<seg>Minnesota</seg> +<seg>Common Loon</seg> +</seglistitem> +<seglistitem> +<seg>Mississippi</seg> +<seg>Mockingbird</seg> +</seglistitem> +<seglistitem> +<seg>Missouri</seg> +<seg>Bluebird</seg> +</seglistitem> +<seglistitem> +<seg>Montana</seg> +<seg>Western Meadowlark</seg> +</seglistitem> +<seglistitem> +<seg>Nebraska</seg> +<seg>Western Meadowlark</seg> +</seglistitem> +<seglistitem> +<seg>Nevada</seg> +<seg>Mountain Bluebird</seg> +</seglistitem> +<seglistitem> +<seg>New Hampshire</seg> +<seg>Purple Finch</seg> +</seglistitem> +<seglistitem> +<seg>New Jersey</seg> +<seg>Eastern Goldfinch</seg> +</seglistitem> +<seglistitem> +<seg>New Mexico</seg> +<seg>Roadrunner</seg> +</seglistitem> +<seglistitem> +<seg>New York</seg> +<seg>Bluebird</seg> +</seglistitem> +<seglistitem> +<seg>North Carolina</seg> +<seg>Cardinal</seg> +</seglistitem> +<seglistitem> +<seg>North Dakota</seg> +<seg>Western Meadowlark</seg> +</seglistitem> +<seglistitem> +<seg>Ohio</seg> +<seg>Cardinal</seg> +</seglistitem> +<seglistitem> +<seg>Oklahoma</seg> +<seg>Scissor-tailed Flycatcher</seg> +</seglistitem> +<seglistitem> +<seg>Oregon</seg> +<seg>Western Meadowlark</seg> +</seglistitem> +<seglistitem> +<seg>Pennsylvania</seg> +<seg>Ruffed Grouse</seg> +</seglistitem> +<seglistitem> +<seg>Rhode Island</seg> +<seg>Rhode Island Red</seg> +</seglistitem> +<seglistitem> +<seg>South Carolina</seg> +<seg>Great Carolina Wren</seg> +</seglistitem> +<seglistitem> +<seg>South Dakota</seg> +<seg>Ring-necked Pheasant</seg> +</seglistitem> +<seglistitem> +<seg>Tennessee</seg> +<seg>Mockingbird</seg> +</seglistitem> +<seglistitem> +<seg>Texas</seg> +<seg>Mockingbird</seg> +</seglistitem> +<seglistitem> +<seg>Utah</seg> +<seg>American Seagull</seg> +</seglistitem> +<seglistitem> +<seg>Vermont</seg> +<seg>Hermit Thrush</seg> +</seglistitem> +<seglistitem> +<seg>Virginia</seg> +<seg>Cardinal </seg> +</seglistitem> +<seglistitem> +<seg>Washington</seg> +<seg>Willow Goldfinch</seg> +</seglistitem> +<seglistitem> +<seg>West Virginia</seg> +<seg>Cardinal</seg> +</seglistitem> +<seglistitem> +<seg>Wisconsin</seg> +<seg>Robin</seg> +</seglistitem> +<seglistitem> +<seg>Wyoming</seg> +<seg>Western Meadowlark</seg> +</seglistitem> +</segmentedlist> +</simplesect> +</chapter> +<chapter> +<title>Table Tests</title> +<bridgehead renderas="sect4">Alternate Alignment on Entry</bridgehead> +<informaltable frame="all"> +<tgroup cols="3"> +<colspec colnum="1" colname="c1" colwidth="2in"/> +<colspec colnum="2" colname="c2" colwidth="2in"/> +<colspec colnum="3" colname="c3" align="center"/> +<thead> +<row> +<entry>h1</entry> +<entry>h2</entry> +<entry>h3</entry> +</row> +</thead> +<tbody> +<row> +<entry align="left">left</entry> +<entry align="center">center</entry> +<entry>center</entry> +</row> +<row> +<entry align="center">center</entry> +<entry align="right">right</entry> +<entry align="right">right</entry> +</row> +</tbody> +</tgroup> +</informaltable> +<informaltable frame="topbot"> +<tgroup cols="3"> +<colspec colnum="1" colname="c1" colwidth="2in"/> +<colspec colnum="2" colname="c2" colwidth="2in"/> +<colspec colnum="3" colname="c3" align="center"/> +<thead> +<row> +<entry>h1</entry> +<entry>h2</entry> +<entry>h3</entry> +</row> +</thead> +<tbody> +<row> +<entry align="left">left</entry> +<entry align="center">center</entry> +<entry>center</entry> +</row> +<row> +<entry align="center">center</entry> +<entry align="right">right</entry> +<entry align="right">right</entry> +</row> +</tbody> +</tgroup> +</informaltable> +<informaltable> +<tgroup cols="3"> +<colspec colnum="1" colname="c1" colwidth="2in"/> +<colspec colnum="2" colname="c2" colwidth="2in"/> +<colspec colnum="3" colname="c3" align="center"/> +<thead> +<row> +<entry>h1</entry> +<entry>h2</entry> +<entry>h3</entry> +</row> +</thead> +<tbody> +<row> +<entry align="left"><emphasis>left emph</emphasis></entry> +<entry align="center"><emphasis role="bold">center emph/bold</emphasis></entry> +<entry><literal>center literal</literal></entry> +</row> +<row> +<entry align="center"><filename>center filename</filename></entry> +<entry align="right"><command>right command</command></entry> +<entry align="right">right</entry> +</row> +</tbody> +</tgroup> +</informaltable> +<bridgehead renderas="sect4">Absolute Widths</bridgehead> +<informaltable> +<tgroup cols="3"> +<colspec colnum="1" colname="c1" colwidth="1in"/> +<colspec colnum="2" colname="c2" colwidth="1in"/> +<colspec colnum="3" colname="c3" colwidth="1in" align="center"/> +<thead> +<row> +<entry>h1</entry> +<entry>h2</entry> +<entry>h3</entry> +</row> +</thead> +<tbody> +<row> +<entry>e1</entry> +<entry>e2</entry> +<entry>e3</entry> +</row> +<row> +<entry>e1</entry> +<entry>e2</entry> +<entry>e3</entry> +</row> +<row> +<entry>e1</entry> +<entry>e2</entry> +<entry>e3</entry> +</row> +</tbody> +</tgroup> +</informaltable> +<bridgehead renderas="sect4">Relative Widths</bridgehead> +<informaltable> +<tgroup cols="2"> +<colspec colnum="1" colname="c1" colwidth="3*"/> +<colspec colnum="2" colname="c2" colwidth="2*"/> +<tbody> +<row> +<entry align="left"><para>left</para></entry> +<entry align="center"><para>center</para></entry> +</row> +<row> +<entry align="center"><para>center</para></entry> +<entry align="right"><para>right</para></entry> +</row> +</tbody> +</tgroup> +</informaltable> +<bridgehead renderas="sect4">Complex</bridgehead> +<informaltable pgwide="1"> +<tgroup cols="6"> +<colspec colnum="2" colname="c2" align="right"/> +<colspec colnum="3" colname="c3" align="center"/> +<colspec colnum="5" colname="c5"/> +<colspec colname="c6" align="left"/> +<spanspec namest="c2" nameend="c3" spanname="span"/> +<tbody> +<row> +<entry>A1</entry> +<entry>A2</entry> +<entry>A3</entry> +<entry morerows="1">A4</entry> +<entry>A5</entry> +<entry>A6</entry> +</row> +<row> +<entry>B1</entry> +<entry colsep="1" rowsep="1">B2</entry> +<entry rowsep="1">B3</entry> +<entry>B5</entry> +<entry>B6</entry> +</row> +<row> +<entry>C1</entry> +<entry colsep="1">C2</entry> +<entry>C3</entry> +<entry>C4</entry> +<entry namest="c5" nameend="c6" morerows="2" valign="middle">C5</entry> +</row> +<row> +<entry namest="c2">D2</entry> +<entry>D3</entry> +<entry>D4</entry> +</row> +<row> +<entry>E1</entry> +<entry spanname="span" align="left">E2</entry> +<entry>E4</entry> +</row> +<row> +<entry>F1</entry> +<entry>F2</entry> +<entry>F3</entry> +<entry>F4</entry> +<entry>F5</entry> +<entry>F6</entry> +</row> +</tbody> +</tgroup> +</informaltable> +<bridgehead renderas="sect4">With Footnotes</bridgehead> +<informaltable> +<tgroup cols="2"> +<tbody> +<row> +<entry>foo<footnote id="fnrex1a"> +<para>A meaningless +word</para> +</footnote></entry> +<entry>3<footnote id="fnrex1b"> +<para>A meaningless +number</para> +</footnote></entry> +</row> +<row> +<entry>bar<footnoteref linkend="fnrex1a"/></entry> +<entry>5<footnoteref linkend="fnrex1b"/></entry> +</row> +</tbody> +</tgroup> +</informaltable> +<bridgehead renderas="sect4">A Big One</bridgehead> +<informaltable> +<tgroup cols="15"> +<thead> +<row> +<entry>H1</entry> +<entry>H2</entry> +<entry>H3</entry> +<entry>H4</entry> +<entry>H5</entry> +<entry>H6</entry> +<entry>H7</entry> +<entry>H8</entry> +<entry>H9</entry> +<entry>H10</entry> +<entry>H11</entry> +<entry>H12</entry> +<entry>H13</entry> +<entry>H14</entry> +<entry>H15</entry> +</row> +</thead> +<tbody> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +</tbody> +</tgroup> +</informaltable> +</chapter> +<chapter> +<title>Index Term Tests</title> +<para>Test data.</para> +<indexterm id="idx1"> +<primary>oft-repeated</primary> +</indexterm> +<indexterm id="idx2"> +<primary>chap-level</primary> +</indexterm> +<sect1> +<title>Index Term Sect 1</title> +<para>Test data.</para> +<indexterm id="idx3"> +<primary>!</primary> +</indexterm> +<indexterm id="fred"> +<primary>oft-repeated</primary> +<secondary>with id</secondary> +</indexterm> +<indexterm significance="preferred" id="idx5"> +<primary>sect1-level</primary> +</indexterm> +<indexterm id="idx6"> +<primary>sect1-level</primary> +</indexterm> +<indexterm id="idx7"> +<primary>sect1-level</primary> +<secondary>sec</secondary> +</indexterm> +<indexterm id="idx8"> +<primary>sect1-other</primary> +<secondary>sec</secondary> +</indexterm> +<indexterm id="idx9"> +<primary>chap-level</primary> +<secondary>sec</secondary> +<tertiary>tert</tertiary> +</indexterm> +<indexterm scope="local"> +<primary>chap-level</primary> +<secondary>sec</secondary> +<tertiary>tert</tertiary> +</indexterm> +<indexterm id="idx11"> +<primary>sect1-level</primary> +</indexterm> +<sect2> +<title>Index Term Sect 2</title> +<para>Test data.</para> +<indexterm id="idx12"> +<primary>[</primary> +</indexterm> +<indexterm id="idx13"> +<primary>oft-repeated</primary> +</indexterm> +<indexterm id="idx14"> +<primary sortas="abracadabra">sect2-level</primary> +</indexterm> +<indexterm id="idx15"> +<primary>chap-level</primary> +<secondary>sec</secondary> +<tertiary>tert</tertiary> +</indexterm> +</sect2> +<sect2> +<title>Index Term Sect 3</title> +<para>foo</para> +</sect2> +</sect1> +</chapter> +</part> +<part id="part"> +<title>Part Two Title</title> +<chapter> +<title>CmdSynopsis Tests</title> +<bridgehead renderas="sect4">Very Simple CmdSynopsis</bridgehead> +<cmdsynopsis> +<command>cd</command> +<arg choice="req"><replaceable>directory</replaceable></arg> +</cmdsynopsis> +<bridgehead renderas="sect4">Simple CmdSynopsis</bridgehead> +<cmdsynopsis> +<command>cal</command> +<arg>-j</arg> +<arg>-y</arg> +<arg>month <arg>year</arg></arg> +</cmdsynopsis> +<bridgehead renderas="sect4">Another Simple CmdSynopsis</bridgehead> +<cmdsynopsis> +<command>chgrp</command> +<arg>-R + <group> +<arg>-H</arg> +<arg>-L</arg> +<arg>-P</arg> +</group> + </arg> +<arg>-f</arg> +<arg choice="plain"><replaceable>group</replaceable></arg> +<arg choice="plain" rep="repeat"><replaceable>file</replaceable></arg> +</cmdsynopsis> +<bridgehead renderas="sect4">Slightly Complex CmdSynopsis</bridgehead> +<cmdsynopsis> +<command>emacs</command> +<arg>-t <replaceable>file</replaceable></arg> +<arg>-q</arg> +<arg>-u <replaceable>user</replaceable></arg> +<arg>+<replaceable>number</replaceable></arg> +<arg rep="repeat">-f <replaceable>function</replaceable></arg> +<arg rep="repeat">-l <replaceable>file</replaceable></arg> +<arg choice="plain" rep="repeat"><replaceable>file</replaceable></arg> +</cmdsynopsis> +<bridgehead renderas="sect4">Quite Complex CmdSynopsis</bridgehead> +<cmdsynopsis> +<command>cccp</command> +<arg>-$</arg> +<arg>-C</arg> +<arg rep="repeat">-D<replaceable>name</replaceable><arg>=<replaceable>definition</replaceable></arg></arg> +<arg>-dD</arg> +<arg>-dM</arg> +<arg rep="repeat">-I <replaceable>directory</replaceable></arg> +<arg>-H</arg> +<arg>-I-</arg> +<sbr/> +<arg rep="repeat">-imacros <replaceable>file</replaceable></arg> +<arg rep="repeat">-include <replaceable>file</replaceable></arg> +<group> +<arg>-lang-c</arg> +<arg>-lang-c++</arg> +<arg>-lang-objc</arg> +</group> +<arg>-lint</arg> +<sbr/> +<group> +<arg>-M</arg> +<arg>-MD</arg> +<arg>-MM</arg> +<arg>-MMD</arg> +</group> +<arg>-nostdinc</arg> +<arg>-P</arg> +<arg>-pedantic</arg> +<arg>-pedantic-errors</arg> +<arg>-trigraphs</arg> +<arg>-U<replaceable>name</replaceable></arg> +<sbr/> +<arg>-undef</arg> +<arg>-Wtrigraphs</arg> +<arg>-Wcomment</arg> +<arg>-Wall</arg> +<arg>-Wtraditional</arg> +<group choice="req"> +<arg><replaceable>infile</replaceable></arg> +<arg>-</arg> +</group> +<group choice="req"> +<arg><replaceable>outfile</replaceable></arg> +<arg>-</arg> +</group> +</cmdsynopsis> +</chapter> +<chapter> +<title>FuncSynopsis Tests</title> +<bridgehead renderas="sect4">Two Simple Parameters</bridgehead> +<funcsynopsis> +<funcprototype> +<funcdef>int <function>max</function></funcdef> +<paramdef>int <parameter>int1</parameter></paramdef> +<paramdef>int <parameter>int2</parameter></paramdef> +</funcprototype> +</funcsynopsis> +<bridgehead renderas="sect4">Variable Arguments</bridgehead> +<funcsynopsis> +<funcsynopsisinfo>#include <varargs.h></funcsynopsisinfo> +<funcprototype> +<funcdef>int <function>max</function></funcdef> +<varargs/> +</funcprototype> +</funcsynopsis> +<bridgehead renderas="sect4">Void</bridgehead> +<funcsynopsis> +<funcprototype> +<funcdef>int <function>rand</function></funcdef> +<void/> +</funcprototype> +</funcsynopsis> +<bridgehead renderas="sect4">Function Pointer Arguments</bridgehead> +<funcsynopsis> +<funcprototype> +<funcdef>void <function>qsort</function></funcdef> +<paramdef>void *<parameter>dataptr</parameter>[]</paramdef> +<paramdef>int <parameter>left</parameter></paramdef> +<paramdef>int <parameter>right</parameter></paramdef> +<paramdef>int <parameter>(* comp)</parameter> + <funcparams>void *, void *</funcparams></paramdef> +</funcprototype> +</funcsynopsis> +</chapter> +<chapter> +<title>Callout Tests</title> +<bridgehead renderas="sect4">CallOut (using AREASPEC)</bridgehead> +<programlistingco> +<areaspec> +<area coords="1" id="prologue"/> +<area coords="4" id="skipeof"/> +<areaset coords="" id="xreq"> +<area coords="9" id="require1"/> +<area coords="10" id="require2"/> +</areaset> +<area coords="11 12" id="use"/> +<area coords="27" id="funccall"/> +</areaspec> +<programlisting>@rem = '--*-Perl-*-- +@echo off +perl.exe %_batchname %$ +goto endofperl +@rem '; + +# Compress mail... + +require 'n:/home/nwalsh/lib/cygnus.pl'; +require 'timelocal.pl'; +use Cwd; + +select (STDERR); $| = 1; +select (STDOUT); $| = 1; + +@DIRS = ("/home/nwalsh/Mail"); +while (@DIRS) { + $dir = shift @DIRS; + opendir (DIR, $dir); + while ($fname = readdir(DIR)) { + $file = "$dir/$fname"; + next if ! -d $file; + next if $fname =~ /^\.\.?$/; + + print "$file\n"; + push (@DIRS, $file); + &compress ($file); + } +} + +exit;</programlisting> +<calloutlist> +<callout arearefs="prologue"> +<para>The prologue handles embedding a Perl script in a DOS batch file.</para> +</callout> +<callout arearefs="skipeof"> +<para>The <literal>goto</literal> statement, interpreted by the DOS batch +file interpreter, skips over the body of the Perl script.</para> +</callout> +<callout arearefs="require1"> +<para>The <literal>require</literal> statement sources in external program +fragments.</para> +</callout> +<callout arearefs="use"> +<para>The <literal>use</literal> statement is similar, but has additional +utility. It is a Perl5 function. (Note that this callout area specifies +both a line and a column.)</para> +</callout> +<callout arearefs="funccall"> +<para>This is a user subroutine call.</para> +</callout> +</calloutlist> +</programlistingco> +<bridgehead renderas="sect4">CallOut (using CO)</bridgehead> +<programlisting>this is a line +this is another line +there's a <co id="callout1"/>callout in here. +and there's another on the +next line +right here:<co id="callout2"/></programlisting> +<calloutlist> +<callout arearefs="callout1"> +<para>First callout.</para> +<para>Second para in first callout.</para> +</callout> +<callout arearefs="callout2"> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Second callout.</para> +<para>Third para in second callout.</para> +</callout> +<callout arearefs="callout1 callout2"> +<para>This paragraph describes <emphasis>both</emphasis> callouts.</para> +</callout> +</calloutlist> +</chapter> +</part> +<part> +<title>A Reference Part</title> +<reference id="reference"> +<title>Reference</title> +<refentry> +<refmeta> +<refentrytitle>RefEntryTitle</refentrytitle> +</refmeta> +<refnamediv> +<refdescriptor>RefDescriptor</refdescriptor> +<refname>RefName1</refname> +<refname>RefName2</refname> +<refpurpose>Yes, there must be a purpose!</refpurpose> +</refnamediv> +<refsynopsisdiv> +<synopsis> A + Synopsis + Goes + Here</synopsis> +</refsynopsisdiv> +<refsect1> +<title>A RefSect1</title> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<refsect2> +<title>A RefSect2</title> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<refsect3> +<title>A RefSect3</title> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah.<footnote> +<para>This is a footnote in a refentry.</para> +</footnote> +Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +</refsect3> +</refsect2> +</refsect1> +</refentry> +<refentry> +<refnamediv> +<refname><function>Chop</function></refname> +<refpurpose>strip trailing whitespace</refpurpose> +</refnamediv> +<refsect1> +<title>Description</title> +<para> Returns the argument string without trailing whitespace. + <example> +<title>chop() example</title> +<programlisting>$trimmed = Chop($line);</programlisting> +</example> + </para> +</refsect1> +</refentry> +</reference> +</part> +<appendix id="appendix"> +<title>A Very Short Appendix</title> +<para>Blah.</para> +</appendix> +<appendix> +<title>A Very Long Appendix</title> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<sect1> +<title>a sect1 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<sect2> +<title>a sect2 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<sect3> +<title>a sect3 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<sect4> +<title>a sect4 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<sect5> +<title>a sect5 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +</sect5> +</sect4> +</sect3> +</sect2> +</sect1> +<sect1> +<sect1info> +<title>another sect1 title</title> +<subtitle>a sect1 subtitle</subtitle> +</sect1info> +<title>another sect1 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<sect2> +<sect2info> +<title>another sect2 title</title> +<subtitle>a sect2 subtitle</subtitle> +</sect2info> +<title>another sect2 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<sect3> +<sect3info> +<title>another sect3 title</title> +<subtitle>a sect3 subtitle</subtitle> +</sect3info> +<title>another sect3 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<sect4> +<sect4info> +<title>another sect4 title</title> +<subtitle>a sect4 subtitle</subtitle> +</sect4info> +<title>another sect4 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<sect5> +<sect5info> +<title>another sect5 title</title> +<subtitle>a sect5 subtitle</subtitle> +</sect5info> +<title>another sect5 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +</sect5> +</sect4> +</sect3> +</sect2> +</sect1> +<sect1> +<title>another sect1 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +</sect1> +<sect1> +<title>another sect1 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +</sect1> +</appendix> +<bibliography id="bib1"> +<title>A Test Bibliography</title> +<para>The stock stylesheet attempts to do a Bibliography. It probably needs +a lot of tweaking. It probably doesn't conform to any specific style.</para> +<bibliodiv> +<title>Books</title> +<biblioentry> +<abbrev>AhoSethiUllman96</abbrev> +<authorgroup> +<author> +<firstname>Alfred V.</firstname> +<surname>Aho</surname> +</author> +<author> +<firstname>Ravi</firstname> +<surname>Sethi</surname> +</author> +<author> +<firstname>Jeffrey D.</firstname> +<surname>Ullman</surname> +</author> +</authorgroup> +<title>Compilers, Principles, Techniques, and Tools</title> +<publisher> +<publishername>Addison-Wesley Publishing Company</publishername> +</publisher> +<copyright> +<year>1996</year> +<holder>Bell Telephone Laboratories, Inc.</holder> +</copyright> +<isbn>0-201-10088-6</isbn> +<editor> +<firstname>James T.</firstname> +<surname>DeWolf</surname> +</editor> +<seriesinfo> +<title>Computer Science</title> +<editor> +<firstname>Michael A.</firstname> +<surname>Harrison</surname> +</editor> +<publisher> +<publishername>Addison-Wesley Publishing Company</publishername> +</publisher> +</seriesinfo> +</biblioentry> +</bibliodiv> +<bibliodiv> +<title>Periodicals</title> +<biblioentry id="walsh97"> +<abbrev>Walsh97</abbrev> +<biblioset relation="article"> +<title>A Guide to XML</title> +<author> +<surname>Walsh</surname> +<firstname>Norman</firstname> +</author> +<pubdate>1997</pubdate> +<copyright> +<year>1997</year> +<holder>ArborText, Inc.</holder> +</copyright> +<pagenums>97-108</pagenums> +</biblioset> +<biblioset relation="journal"> +<title>XML: Principles, Tools, and Techniques</title> +<publisher> +<publishername>O'Reilly & Associates, Inc.</publishername> +</publisher> +<issn>1085-2301</issn> +<editor> +<firstname>Dan</firstname> +<surname>Connolly</surname> +</editor> +</biblioset> +</biblioentry> +<bibliomixed id="walsh96"> <bibliomset relation="article"> <surname>Walsh</surname>, <firstname>Norman</firstname>. + <title role="article">Introduction to Cascading Style Sheets</title>. + </bibliomset> + <bibliomset relation="journal"> <title>The World Wide Web Journal</title>. + <volumenum>2</volumenum>(<issuenum>1</issuenum>). + <publishername>O'Reilly & Associates, Inc.</publishername> and + <corpname>The World Wide Web Consortium</corpname>. + <pubdate>Winter, 1996</pubdate></bibliomset>.</bibliomixed> +<biblioentry> +<abbrev>Abbrev</abbrev> +<title>A Really Full BiblioEntry</title> +<subtitle>Subtitle</subtitle> +<abstract> +<para>Abstract, abstract, abstract. Abstract, abstract, abstract. +Abstract, abstract, abstract. Abstract, abstract, abstract. +Abstract, abstract, abstract. Abstract, abstract, abstract. +Abstract, abstract, abstract. Abstract, abstract, abstract. +Abstract, abstract, abstract. Abstract, abstract, abstract. +Abstract, abstract, abstract. Abstract, abstract, abstract. </para> +</abstract> +<address>Any Street +Anywhere, XX 99999 +USA</address> +<affiliation> +<shortaffil>shortaffil</shortaffil> +<jobtitle>jobtitle</jobtitle> +<orgname>orgname</orgname> +<orgdiv>orgdiv</orgdiv> +<address>Any Street +Anywhere, XX 99999 +USA</address> +</affiliation> +<artpagenums>ArtPageNums</artpagenums> +<author> +<firstname>AuthorFirstname</firstname> +<surname>AuthorSurname</surname> +</author> +<authorblurb> +<para>AuthorBlurb, authorblurb, authorblurb. AuthorBlurb, authorblurb, authorblurb. +AuthorBlurb, authorblurb, authorblurb. AuthorBlurb, authorblurb, authorblurb. +AuthorBlurb, authorblurb, authorblurb. AuthorBlurb, authorblurb, authorblurb. +AuthorBlurb, authorblurb, authorblurb. AuthorBlurb, authorblurb, authorblurb. +AuthorBlurb, authorblurb, authorblurb. AuthorBlurb, authorblurb, authorblurb. </para> +</authorblurb> +<authorinitials>AuthorInitials</authorinitials> +<collab> +<collabname>The names of some collaborators</collabname> +<affiliation> +<shortaffil>shortaffil</shortaffil> +<jobtitle>jobtitle</jobtitle> +<orgname>orgname</orgname> +<orgdiv>orgdiv</orgdiv> +<address>Any Street +Anywhere, XX 99999 +USA</address> +</affiliation> +</collab> +<confgroup> +<confdates>confdates</confdates> +<conftitle>conftitle</conftitle> +<confnum>confnum</confnum> +<address>Any Street +Anywhere, XX 99999 +USA</address> +<confsponsor>confsponsor</confsponsor> +</confgroup> +<contractnum>ContractNum</contractnum> +<contractsponsor>ContractSponsor</contractsponsor> +<contrib>Contrib</contrib> +<copyright> +<year>1998</year> +<holder>Copyright holder</holder> +</copyright> +<corpname>CorpName</corpname> +<date>Date</date> +<edition>Edition</edition> +<editor> +<firstname>EditorFirstName</firstname> +<surname>EditorSurname</surname> +</editor> +<firstname>FirstName</firstname> +<honorific>Honorific</honorific> +<isbn>ISBN</isbn> +<issn>ISSN</issn> +<invpartnumber>InvPartNumber</invpartnumber> +<issuenum>IssueNum</issuenum> +<lineage>Lineage</lineage> +<orgname>OrgName</orgname> +<othercredit> +<firstname>OCFirstName</firstname> +<surname>OCSurname</surname> +</othercredit> +<othername>OtherName</othername> +<pagenums>PageNums</pagenums> +<printhistory> +<para>PrintHistory, printhistory, printhistory. PrintHistory, printhistory. +PrintHistory, printhistory, printhistory. PrintHistory, printhistory. +PrintHistory, printhistory, printhistory. PrintHistory, printhistory. +PrintHistory, printhistory, printhistory. PrintHistory, printhistory.</para> +</printhistory> +<productname>ProductName</productname> +<productnumber>ProductNumber</productnumber> +<pubdate>PubDate</pubdate> +<publisher> +<publishername>PubPublisherName</publishername> +<address><street>Any Street</street> +<city>Anywhere</city>, <state>XX</state> <postcode>99999</postcode> +<country>USA</country></address> +</publisher> +<publishername>PublisherName</publishername> +<pubsnumber>PubsNumber</pubsnumber> +<releaseinfo>ReleaseInfo</releaseinfo> +<revhistory> +<revision> +<revnumber>1.0</revnumber> +<date>20 Nov 1998</date> +<authorinitials>ndw</authorinitials> +<revremark>Some remark about the revision</revremark> +</revision> +<revision> +<revnumber>0.9</revnumber> +<date>19 Nov 1998</date> +<authorinitials>ndw</authorinitials> +<revremark>Some remark about the revision</revremark> +</revision> +<revision> +<revnumber>0.4</revnumber> +<date>18 Nov 1998</date> +<authorinitials>ndw</authorinitials> +<revremark>Some remark about the revision</revremark> +</revision> +</revhistory> +<seriesinfo> +<title>SeriesInfo Title</title> +<editor> +<firstname>SeriesInfo Editor Firstname</firstname> +<surname>SeriesInfo Editor Surname</surname> +</editor> +</seriesinfo> +<seriesvolnums>SeriesVolNums</seriesvolnums> +<surname>Surname</surname> +<titleabbrev>TitleAbbrev</titleabbrev> +<volumenum>VolumeNum</volumenum> +</biblioentry> +</bibliodiv> +</bibliography> +<glossary id="gloss"> +<title>Example Glossary</title> +<para>This is not a real glossary, it's just an example.</para> +<glossdiv> +<title>E</title> +<glossentry id="xml"> +<glossterm>Extensible Markup Language</glossterm> +<acronym>XML</acronym> +<glossdef> +<para>Some reasonable definition here.</para> +<glossseealso otherterm="sgml"/> +</glossdef> +</glossentry> +</glossdiv> +<glossdiv> +<title>S</title> +<glossentry> +<glossterm>SGML</glossterm> +<glosssee otherterm="sgml"/> +</glossentry> +<glossentry id="sgml"> +<glossterm>Standard Generalized + Markup Language</glossterm> +<acronym>SGML</acronym> +<abbrev>ISO 8879:1986</abbrev> +<glossdef> +<para>Some reasonable definition here.</para> +<glossseealso otherterm="xml"/> +</glossdef> +</glossentry> +</glossdiv> +</glossary> +<index id="index"> +<para>This is a test index.</para> +<formalpara> +<title>a formal para</title> +<para>this is a formal paragraph.</para> +</formalpara> +<indexentry> +<primaryie>Primary</primaryie> +<secondaryie>Secondary 1</secondaryie> +<tertiaryie>Tertiary 11</tertiaryie> +<tertiaryie>Tertiary 12</tertiaryie> +<secondaryie>Secondary 2</secondaryie> +<tertiaryie>Tertiary 21</tertiaryie> +</indexentry> +<indexentry id="prim1"> +<primaryie>primary</primaryie> +</indexentry> +<indexentry id="prim2"> +<primaryie>primary</primaryie> +</indexentry> +<indexentry> +<primaryie>primary</primaryie> +<secondaryie>secondary</secondaryie> +</indexentry> +<indexentry> +<primaryie>primary</primaryie> +<secondaryie>secondary</secondaryie> +</indexentry> +<indexentry> +<primaryie>primary</primaryie> +<secondaryie>secondary</secondaryie> +<tertiaryie>tertiary1</tertiaryie> +</indexentry> +<indexentry> +<primaryie>primary</primaryie> +<secondaryie>secondary</secondaryie> +<tertiaryie>tertiary2</tertiaryie> +</indexentry> +<indexentry> +<primaryie>primary</primaryie> +<secondaryie>secondary2</secondaryie> +<tertiaryie>tertiary3</tertiaryie> +</indexentry> +<indexentry> +<primaryie>primary</primaryie> +<seeie linkend="prim2">see ie</seeie> +</indexentry> +<indexentry> +<primaryie>primary</primaryie> +<secondaryie>secondary2</secondaryie> +<tertiaryie>tertiary3</tertiaryie> +<seealsoie linkends="prim2 prim1">seealso ie</seealsoie> +</indexentry> +</index> +<index><title>An Index with a Title</title> +<indexdiv> +<title>Symbols</title> +<indexentry> +<primaryie>!, + <ulink url="c3.htm#aen10" role="aen10">Index Term Sect 1</ulink> + </primaryie> +</indexentry> +<indexentry> +<primaryie>[, + <ulink url="c3.htm#aen38" role="aen38">Index Term Sect 2</ulink> + </primaryie> +</indexentry> +</indexdiv> +<indexdiv> +<title>A</title> +<indexentry> +<primaryie>sect2-level, + <ulink url="c3.htm#aen38" role="aen38">Index Term Sect 2</ulink> + </primaryie> +</indexentry> +</indexdiv> +<indexdiv> +<title>C</title> +<indexentry> +<primaryie>chap-level, + <ulink url="c3.htm" role="c3.htm">Index Term Tests</ulink> + </primaryie> +<secondaryie>sec + </secondaryie> +<tertiaryie>tert, + <ulink url="c3.htm#aen10" role="aen10">Index Term Sect 1</ulink>, + <ulink url="c3.htm#aen38" role="aen38">Index Term Sect 2</ulink> + </tertiaryie> +</indexentry> +</indexdiv> +<indexdiv> +<title>O</title> +<indexentry> +<primaryie>oft-repeated, + <ulink url="c3.htm" role="c3.htm">Index Term Tests</ulink>, + <ulink url="c3.htm#aen38" role="aen38">Index Term Sect 2</ulink> + </primaryie> +<secondaryie>with id, + <ulink url="c3.htm#aen10" role="aen10">Index Term Sect 1</ulink> + </secondaryie> +</indexentry> +</indexdiv> +<indexdiv> +<title>S</title> +<indexentry> +<primaryie>sect1-level, + <ulink url="c3.htm#aen10" role="aen10"><emphasis>Index Term Sect 1</emphasis></ulink> + </primaryie> +<secondaryie>sec, + <ulink url="c3.htm#aen10" role="aen10">Index Term Sect 1</ulink> + </secondaryie> +</indexentry> +<indexentry> +<primaryie>sect1-other + </primaryie> +<secondaryie>sec, + <ulink url="c3.htm#aen10" role="aen10">Index Term Sect 1</ulink> + </secondaryie> +</indexentry> +</indexdiv> +</index> +</book> diff --git a/tests/docbook/test/book3.xml b/tests/docbook/test/book3.xml new file mode 100644 index 00000000..11c3a825 --- /dev/null +++ b/tests/docbook/test/book3.xml @@ -0,0 +1,391 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE book + PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "../dtd/4.1.2/docbookx.dtd"> +<book id="book"> +<bookinfo> +<title>Book Title</title> +<author> +<surname>Walsh</surname> +<firstname>Norman</firstname> +</author> +<corpauthor>Some Corporation</corpauthor> +<legalnotice> +<title>Legal Notice</title> +<para>This is a test document. You can do what you will with it.</para> +</legalnotice> +<legalnotice> +<para>This is a second legal notice. But it's not noteworthy. + Some more text. Some more text. Some more text. Some more text. + Some more text. Some more text. Some more text. Some more text. + Some more text. Some more text. Some more text. Some more text. + Some more text. Some more text. Some more text. Some more text. + Some more text. Some more text. Some more text. Some more text. + Some more text. Some more text. Some more text. Some more text. + Some more text. Some more text. Some more text. Some more text. + </para> +</legalnotice> +<copyright> +<year>1998</year> +<holder>Norman Walsh</holder> +</copyright> +</bookinfo> +<bibliography id="bib1"> +<title>A Test Bibliography</title> +<para>The stock stylesheet attempts to do a Bibliography. It probably needs +a lot of tweaking. It probably doesn't conform to any specific style.</para> +<bibliodiv> +<title>Books</title> +<biblioentry> +<abbrev>AhoSethiUllman96</abbrev> +<authorgroup> +<author> +<firstname>Alfred V.</firstname> +<surname>Aho</surname> +</author> +<author> +<firstname>Ravi</firstname> +<surname>Sethi</surname> +</author> +<author> +<firstname>Jeffrey D.</firstname> +<surname>Ullman</surname> +</author> +</authorgroup> +<title>Compilers, Principles, Techniques, and Tools</title> +<publisher> +<publishername>Addison-Wesley Publishing Company</publishername> +</publisher> +<copyright> +<year>1996</year> +<holder>Bell Telephone Laboratories, Inc.</holder> +</copyright> +<isbn>0-201-10088-6</isbn> +<editor> +<firstname>James T.</firstname> +<surname>DeWolf</surname> +</editor> +</biblioentry> +</bibliodiv> +<bibliodiv> +<title>Periodicals</title> +<biblioentry id="walsh97"> +<abbrev>Walsh97</abbrev> +<biblioset relation="article"> +<title>A Guide to XML</title> +<author> +<surname>Walsh</surname> +<firstname>Norman</firstname> +</author> +<pubdate>1997</pubdate> +<copyright> +<year>1997</year> +<holder>ArborText, Inc.</holder> +</copyright> +<pagenums>97-108</pagenums> +</biblioset> +<biblioset relation="journal"> +<title>XML: Principles, Tools, and Techniques</title> +<publisher> +<publishername>O'Reilly & Associates, Inc.</publishername> +</publisher> +<issn>1085-2301</issn> +<editor> +<firstname>Dan</firstname> +<surname>Connolly</surname> +</editor> +</biblioset> +</biblioentry> +<bibliomixed id="walsh96"> <bibliomset relation="article"> <surname>Walsh</surname>, <firstname>Norman</firstname>. + <title role="article">Introduction to Cascading Style Sheets</title>. + </bibliomset> + <bibliomset relation="journal"> <title>The World Wide Web Journal</title>. + <volumenum>2</volumenum>(<issuenum>1</issuenum>). + <publishername>O'Reilly & Associates, Inc.</publishername> and + <corpname>The World Wide Web Consortium</corpname>. + <pubdate>Winter, 1996</pubdate></bibliomset>.</bibliomixed> +<biblioentry> +<abbrev>Abbrev</abbrev> +<title>A Really Full BiblioEntry</title> +<subtitle>Subtitle</subtitle> +<abstract> +<para>Abstract, abstract, abstract. Abstract, abstract, abstract. +Abstract, abstract, abstract. Abstract, abstract, abstract. +Abstract, abstract, abstract. Abstract, abstract, abstract. +Abstract, abstract, abstract. Abstract, abstract, abstract. +Abstract, abstract, abstract. Abstract, abstract, abstract. +Abstract, abstract, abstract. Abstract, abstract, abstract. </para> +</abstract> +<address>Any Street +Anywhere, XX 99999 +USA</address> +<affiliation> +<shortaffil>shortaffil</shortaffil> +<jobtitle>jobtitle</jobtitle> +<orgname>orgname</orgname> +<orgdiv>orgdiv</orgdiv> +<address>Any Street +Anywhere, XX 99999 +USA</address> +</affiliation> +<artpagenums>ArtPageNums</artpagenums> +<author> +<firstname>AuthorFirstname</firstname> +<surname>AuthorSurname</surname> +</author> +<authorblurb> +<para>AuthorBlurb, authorblurb, authorblurb. AuthorBlurb, authorblurb, authorblurb. +AuthorBlurb, authorblurb, authorblurb. AuthorBlurb, authorblurb, authorblurb. +AuthorBlurb, authorblurb, authorblurb. AuthorBlurb, authorblurb, authorblurb. +AuthorBlurb, authorblurb, authorblurb. AuthorBlurb, authorblurb, authorblurb. +AuthorBlurb, authorblurb, authorblurb. AuthorBlurb, authorblurb, authorblurb. </para> +</authorblurb> +<authorinitials>AuthorInitials</authorinitials> +<collab> +<collabname>The names of some collaborators</collabname> +<affiliation> +<shortaffil>shortaffil</shortaffil> +<jobtitle>jobtitle</jobtitle> +<orgname>orgname</orgname> +<orgdiv>orgdiv</orgdiv> +<address>Any Street +Anywhere, XX 99999 +USA</address> +</affiliation> +</collab> +<confgroup> +<confdates>confdates</confdates> +<conftitle>conftitle</conftitle> +<confnum>confnum</confnum> +<address>Any Street +Anywhere, XX 99999 +USA</address> +<confsponsor>confsponsor</confsponsor> +</confgroup> +<contractnum>ContractNum</contractnum> +<contractsponsor>ContractSponsor</contractsponsor> +<contrib>Contrib</contrib> +<copyright> +<year>1998</year> +<holder>Copyright holder</holder> +</copyright> +<corpname>CorpName</corpname> +<date>Date</date> +<edition>Edition</edition> +<editor> +<firstname>EditorFirstName</firstname> +<surname>EditorSurname</surname> +</editor> +<firstname>FirstName</firstname> +<honorific>Honorific</honorific> +<isbn>ISBN</isbn> +<issn>ISSN</issn> +<invpartnumber>InvPartNumber</invpartnumber> +<issuenum>IssueNum</issuenum> +<lineage>Lineage</lineage> +<orgname>OrgName</orgname> +<othercredit> +<firstname>OCFirstName</firstname> +<surname>OCSurname</surname> +</othercredit> +<othername>OtherName</othername> +<pagenums>PageNums</pagenums> +<printhistory> +<para>PrintHistory, printhistory, printhistory. PrintHistory, printhistory. +PrintHistory, printhistory, printhistory. PrintHistory, printhistory. +PrintHistory, printhistory, printhistory. PrintHistory, printhistory. +PrintHistory, printhistory, printhistory. PrintHistory, printhistory.</para> +</printhistory> +<productname>ProductName</productname> +<productnumber>ProductNumber</productnumber> +<pubdate>PubDate</pubdate> +<publisher> +<publishername>PubPublisherName</publishername> +<address><street>Any Street</street> +<city>Anywhere</city>, <state>XX</state> <postcode>99999</postcode> +<country>USA</country></address> +</publisher> +<publishername>PublisherName</publishername> +<pubsnumber>PubsNumber</pubsnumber> +<releaseinfo>ReleaseInfo</releaseinfo> +<revhistory> +<revision> +<revnumber>1.0</revnumber> +<date>20 Nov 1998</date> +<authorinitials>ndw</authorinitials> +<revremark>Some remark about the revision</revremark> +</revision> +<revision> +<revnumber>0.9</revnumber> +<date>19 Nov 1998</date> +<authorinitials>ndw</authorinitials> +<revremark>Some remark about the revision</revremark> +</revision> +<revision> +<revnumber>0.4</revnumber> +<date>18 Nov 1998</date> +<authorinitials>ndw</authorinitials> +<revremark>Some remark about the revision</revremark> +</revision> +</revhistory> +<seriesvolnums>SeriesVolNums</seriesvolnums> +<surname>Surname</surname> +<titleabbrev>TitleAbbrev</titleabbrev> +<volumenum>VolumeNum</volumenum> +</biblioentry> +</bibliodiv> +</bibliography> +<glossary id="gloss"> +<title>Example Glossary</title> +<para>This is not a real glossary, it's just an example.</para> +<glossdiv> +<title>E</title> +<glossentry id="xml"> +<glossterm>Extensible Markup Language</glossterm> +<acronym>XML</acronym> +<glossdef> +<para>Some reasonable definition here.</para> +<glossseealso otherterm="sgml"/> +</glossdef> +</glossentry> +</glossdiv> +<glossdiv> +<title>S</title> +<glossentry> +<glossterm>SGML</glossterm> +<glosssee otherterm="sgml"/> +</glossentry> +<glossentry id="sgml"> +<glossterm>Standard Generalized + Markup Language</glossterm> +<acronym>SGML</acronym> +<abbrev>ISO 8879:1986</abbrev> +<glossdef> +<para>Some reasonable definition here.</para> +<glossseealso otherterm="xml"/> +</glossdef> +</glossentry> +</glossdiv> +</glossary> +<index id="index"> +<para>This is a test index.</para> +<formalpara> +<title>a formal para</title> +<para>this is a formal paragraph.</para> +</formalpara> +<indexentry> +<primaryie>Primary</primaryie> +<secondaryie>Secondary 1</secondaryie> +<tertiaryie>Tertiary 11</tertiaryie> +<tertiaryie>Tertiary 12</tertiaryie> +<secondaryie>Secondary 2</secondaryie> +<tertiaryie>Tertiary 21</tertiaryie> +</indexentry> +<indexentry id="prim1"> +<primaryie>primary</primaryie> +</indexentry> +<indexentry id="prim2"> +<primaryie>primary</primaryie> +</indexentry> +<indexentry> +<primaryie>primary</primaryie> +<secondaryie>secondary</secondaryie> +</indexentry> +<indexentry> +<primaryie>primary</primaryie> +<secondaryie>secondary</secondaryie> +</indexentry> +<indexentry> +<primaryie>primary</primaryie> +<secondaryie>secondary</secondaryie> +<tertiaryie>tertiary1</tertiaryie> +</indexentry> +<indexentry> +<primaryie>primary</primaryie> +<secondaryie>secondary</secondaryie> +<tertiaryie>tertiary2</tertiaryie> +</indexentry> +<indexentry> +<primaryie>primary</primaryie> +<secondaryie>secondary2</secondaryie> +<tertiaryie>tertiary3</tertiaryie> +</indexentry> +<indexentry> +<primaryie>primary</primaryie> +<seeie linkend="prim2">see ie</seeie> +</indexentry> +<indexentry> +<primaryie>primary</primaryie> +<secondaryie>secondary2</secondaryie> +<tertiaryie>tertiary3</tertiaryie> +<seealsoie linkends="prim2 prim1">seealso ie</seealsoie> +</indexentry> +</index> +<index> +<indexdiv> +<title>Symbols</title> +<indexentry> +<primaryie>!, + <ulink url="c3.htm#aen10" role="aen10">Index Term Sect 1</ulink> + </primaryie> +</indexentry> +<indexentry> +<primaryie>[, + <ulink url="c3.htm#aen38" role="aen38">Index Term Sect 2</ulink> + </primaryie> +</indexentry> +</indexdiv> +<indexdiv> +<title>A</title> +<indexentry> +<primaryie>sect2-level, + <ulink url="c3.htm#aen38" role="aen38">Index Term Sect 2</ulink> + </primaryie> +</indexentry> +</indexdiv> +<indexdiv> +<title>C</title> +<indexentry> +<primaryie>chap-level, + <ulink url="c3.htm" role="c3.htm">Index Term Tests</ulink> + </primaryie> +<secondaryie>sec + </secondaryie> +<tertiaryie>tert, + <ulink url="c3.htm#aen10" role="aen10">Index Term Sect 1</ulink>, + <ulink url="c3.htm#aen38" role="aen38">Index Term Sect 2</ulink> + </tertiaryie> +</indexentry> +</indexdiv> +<indexdiv> +<title>O</title> +<indexentry> +<primaryie>oft-repeated, + <ulink url="c3.htm" role="c3.htm">Index Term Tests</ulink>, + <ulink url="c3.htm#aen38" role="aen38">Index Term Sect 2</ulink> + </primaryie> +<secondaryie>with id, + <ulink url="c3.htm#aen10" role="aen10">Index Term Sect 1</ulink> + </secondaryie> +</indexentry> +</indexdiv> +<indexdiv> +<title>S</title> +<indexentry> +<primaryie>sect1-level, + <ulink url="c3.htm#aen10" role="aen10"><emphasis>Index Term Sect 1</emphasis></ulink> + </primaryie> +<secondaryie>sec, + <ulink url="c3.htm#aen10" role="aen10">Index Term Sect 1</ulink> + </secondaryie> +</indexentry> +<indexentry> +<primaryie>sect1-other + </primaryie> +<secondaryie>sec, + <ulink url="c3.htm#aen10" role="aen10">Index Term Sect 1</ulink> + </secondaryie> +</indexentry> +</indexdiv> +</index> +</book> diff --git a/tests/docbook/test/callout.xml b/tests/docbook/test/callout.xml new file mode 100644 index 00000000..777c180b --- /dev/null +++ b/tests/docbook/test/callout.xml @@ -0,0 +1,55 @@ +<?xml version='1.0'?> +<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "../dtd/4.1.2/docbookx.dtd"> +<section id="dsssl.expr.loop"><title>Loops</title> +<para> +<indexterm><primary>for loop, DSSSL and</primary></indexterm> +<indexterm><primary>loops, implementing (DSSSL)</primary></indexterm> +<indexterm><primary>tail recursion (DSSSL)</primary></indexterm> + +<acronym>DSSSL</acronym> doesn't have any construct that resembles the +for loop that occurs in most imperative languages like C +and Java. Instead, <acronym>DSSSL</acronym> employs a common trick in +functional languages for implementing a loop: tail recursion. +</para> +<para> +Loops in <acronym>DSSSL</acronym> use a special form of +<literal>let</literal>. This loop counts from 1 to 10: +<screen> +(let <co id="dl1"/>loopvar <co id="dl2"/>((count 1)) + <co id="dl3"/>(if (> count 10) + <co id="dl4"/>#t + (<co id="dl5"/>loopvar <co id="dl6"/>(+ count 1))))</screen></para> +<calloutlist> +<callout arearefs="dl1"> +<para>This variable controls the loop. It is declared without an +initial value, immediately after the <literal>let</literal> +operand.</para> +</callout> +<callout arearefs="dl2"> +<para> +<indexterm><primary>variables (DSSSL)</primary> + <secondary>local, defining after loop variable</secondary></indexterm> + +Any number of additional local variables can be defined after +the loop variable, just as they can in any other +<literal>let</literal> expression.</para> +</callout> +<callout arearefs="dl3"> +<para>If you ever want the loop to end, you have to put some sort of a +test in it.</para> +</callout> +<callout arearefs="dl4"> +<para>This is the value that will be returned.</para> +</callout> +<callout arearefs="dl5"> +<para>Note that you iterate the loop by using the loop variable as if +it was a function name.</para> +</callout> +<callout arearefs="dl6"> +<para>The arguments to this function are the values that +you want the local variables declared in <xref linkend="dl2"/> to have +in the next iteration.</para> +</callout> +</calloutlist> +</section> diff --git a/tests/docbook/test/chunk.xml b/tests/docbook/test/chunk.xml new file mode 100644 index 00000000..a9f56463 --- /dev/null +++ b/tests/docbook/test/chunk.xml @@ -0,0 +1,127 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE book + PUBLIC "-//Norman Walsh//DTD DocBk XML V3.1.7//EN" + "../dtd/3.1.7/docbookx.dtd"> + +<!-- test document --> + +<book><title>Book Test Document Title</title> +<bookinfo> +<title>Bookinfo Test Document Title</title> +<subtitle>Book Subtitle</subtitle> +<authorgroup> +<author><firstname>Norman</firstname><surname>Walsh</surname></author> +</authorgroup> +</bookinfo> + +<dedication id="dedication"><title>First Dedication</title> +<para>Just a test.</para> +</dedication> + +<dedication> +<para>Just a test.</para> +</dedication> + +<preface id="preface"><title>Foreword</title> +<?dbhtml filename="preface.html" dir="x"?> +<para>This is a test paragraph. (<link linkend="chapter">chapter</link>)</para> +</preface> + +<chapter id="xreftest"> +<?dbhtml filename="xreftest.html"?> +<title id="chaptertitle">XRef Tests</title> + +<para><link linkend="dedication">Dedication</link></para> +<para><link linkend="preface">Preface</link></para> +<para><link linkend="chapter">Chapter</link></para> +<para><link linkend="appendix">Appendix</link></para> + +<sect1><title>First sect1</title> +<para>...</para> +</sect1> + +<sect1><title>Second sect1</title> +<para>...</para> +</sect1> + +</chapter> + +<chapter id="chapter"><title>Second Chapter</title> +<para>This is a test paragraph.</para> +</chapter> + +<chapter><title>Third Chapter</title> +<para>This is a test paragraph.</para> +</chapter> + +<appendix id="appendix"><title>First Appendix</title> +<para>This is just a test.</para> +<para>This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long.</para> + +<para>This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long.</para> + +<para>This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long.</para> + +<para>This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long.</para> + +<para>This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long.</para> + +<para>This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long.</para> + +<para>This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long.</para> + +<para>This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long.</para> + +<para>This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long.</para> + +<para>This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long. +This makes the appendix long. This makes the appendix long.</para> + +</appendix> + +<appendix><title>Second Appendix</title> +<para>This is just a test.</para> +</appendix> + +</book> + + diff --git a/tests/docbook/test/classsynop.xml b/tests/docbook/test/classsynop.xml new file mode 100644 index 00000000..9a9aa05b --- /dev/null +++ b/tests/docbook/test/classsynop.xml @@ -0,0 +1,160 @@ +<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.0//EN" + "http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd"> +<chapter><title>Class Synopses</title> + +<para>This example is Perl; it's the standard DirHandle module. I've +cut out the code, so you'll have to trust me on the parameters. +</para> + +<para>ProgramListing version:</para> + +<programlisting> +package DirHandle; + +require 5.000; +use Carp; +use Symbol; + +sub new { +} +</programlisting> + +<para>ClassSynopsis version:</para> + +<classsynopsis language="perl"> + <ooclass><classname>DirHandle</classname></ooclass> + <ooclass><classname>superclass1</classname></ooclass> + <ooclass><classname>superclass2</classname></ooclass> + + <classsynopsisinfo> +require 5.000; +use Carp; +use Symbol; + +</classsynopsisinfo> + + <constructorsynopsis> + <methodname>new</methodname> + <methodparam choice="opt"><parameter>$dirname</parameter></methodparam> + </constructorsynopsis> + <destructorsynopsis> + <methodname>DESTROY</methodname> + </destructorsynopsis> + +</classsynopsis> + +<para>This example is IDL from the DOM spec.</para> + +<para>ProgramListing version:</para> + +<programlisting> +interface Element : Node { + readonly attribute DOMString tagName; + DOMString getAttribute(in DOMString name); + void setAttribute(in DOMString name, + in DOMString value) + raises(DOMException); +}; +</programlisting> + +<para>ClassSynopsis version:</para> + +<classsynopsis class="interface" language="idl"> + <ooclass><classname>Element</classname></ooclass> + <ooclass><classname>Node</classname></ooclass> + + <fieldsynopsis> + <modifier>readonly</modifier> + <modifier>attribute</modifier> + <type>DOMString</type> + <varname>tagName</varname> + </fieldsynopsis> + + <methodsynopsis> + <type>DOMString</type> + <methodname>getAttribute</methodname> + <methodparam> + <modifier>in</modifier> + <type>DOMString</type> + <parameter>name</parameter> + </methodparam> + </methodsynopsis> + + <methodsynopsis> + <void/> + <methodname>setAttribute</methodname> + <methodparam> + <modifier>in</modifier> + <type>DOMString</type> + <parameter>name</parameter> + </methodparam> + <methodparam> + <modifier>in</modifier> + <type>DOMString</type> + <parameter>value</parameter> + </methodparam> + <exceptionname>DOMException</exceptionname> + </methodsynopsis> +</classsynopsis> + +<classsynopsis language="java"> + <ooclass><modifier>public</modifier> + <classname>TextFileWriter</classname> + </ooclass> + <ooclass><classname>Superclass1</classname></ooclass> + <ooclass><classname>Superclass2</classname></ooclass> + <oointerface><interfacename>Interface1</interfacename></oointerface> + <oointerface><interfacename>Interface2</interfacename></oointerface> + <ooexception><exceptionname>Exception1</exceptionname></ooexception> + <ooexception><exceptionname>Exception2</exceptionname></ooexception> + + <fieldsynopsis> + <modifier>private</modifier> + <type>Writer</type> + <varname>writer</varname> + </fieldsynopsis> + + <fieldsynopsis> + <modifier>public</modifier> + <type>String</type> + <varname>writerName</varname> + <initializer>"MyWriter"</initializer> + </fieldsynopsis> + + <methodsynopsis> + <modifier>static</modifier> + <modifier>public</modifier> + <void/> + <methodname>write</methodname> + <methodparam> + <type>ResultTreeFragment</type> + <parameter>frag</parameter> + </methodparam> + <methodparam> + <type>String</type> + <parameter>file</parameter> + </methodparam> + <exceptionname>Exception1</exceptionname> + <exceptionname>Exception2</exceptionname> + </methodsynopsis> +</classsynopsis> + +<programlisting> +class Rectangle_with_data: virtual Shape, virtual Data_container +{ +... +}; +</programlisting> + +<para>ClassSynopsis version:</para> + +<classsynopsis language="cpp"> + <ooclass><classname>Rectangle_with_data</classname></ooclass> + <ooclass><modifier>virtual</modifier><classname>Shape</classname> + </ooclass> + <ooclass><modifier>virtual</modifier><classname>Data_container</classname> + </ooclass> + <classsynopsisinfo>...</classsynopsisinfo> +</classsynopsis> + +</chapter> diff --git a/tests/docbook/test/condition.xml b/tests/docbook/test/condition.xml new file mode 100644 index 00000000..86daa7cd --- /dev/null +++ b/tests/docbook/test/condition.xml @@ -0,0 +1,3303 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE book + PUBLIC "-//OASIS//DTD XML DocBook V4.1.2//EN" + "../dtd/4.1.2/docbookx.dtd" [ +<!ENTITY use-chap-2 "ignore"> +]> +<book id="book"> +<bookinfo> +<title>Book Title</title> +<author> +<surname>Walsh</surname> +<firstname>Norman</firstname> +</author> +<corpauthor>Some Corporation</corpauthor> +<legalnotice> +<title>Legal Notice</title> +<para>This is a test document. You can do what you will with it.</para> +</legalnotice> +<legalnotice> +<para>This is a second legal notice. But it's not noteworthy. + Some more text. Some more text. Some more text. Some more text. + Some more text. Some more text. Some more text. Some more text. + Some more text. Some more text. Some more text. Some more text. + Some more text. Some more text. Some more text. Some more text. + Some more text. Some more text. Some more text. Some more text. + Some more text. Some more text. Some more text. Some more text. + Some more text. Some more text. Some more text. Some more text. + </para> +</legalnotice> +<copyright> +<year>1998</year> +<holder>Norman Walsh</holder> +</copyright> +</bookinfo> +<dedication> +<para>This test book is dedicated to all the testers. This is the first para +of the dedication.</para> +<para>This is the second para of the dedication.</para> +<para>This is the third para of the dedication.</para> +</dedication> +<preface> +<title>Preface Title</title> +<para>Preface content.</para> +<para>This is the second para of the preface.</para> +<para>This is the third para of the preface.</para> +</preface> +<part> +<docinfo> +<title>Part One Title</title> +<legalnotice> +<para>Foo! A legal notice in a part!</para> +</legalnotice> +</docinfo> +<title>Part One Title</title> +<partintro> +<title>PartIntro Title</title> +<para>Partintro content<footnote> +<para>This is a footnote in a partintro.</para> +</footnote>.</para> +<sect1> +<title>PartIntro Section</title> +<para>PartIntros can actually have section content as well.</para> +</sect1> +</partintro> +<chapter id="chapter"> +<title id="chaptertitle">XRef Tests</title> +<bridgehead renderas="sect3">Xrefs</bridgehead> +<simplelist> +<member><xref linkend="book"/></member> +<member><xref linkend="part"/></member> +<member><xref linkend="chapter"/></member> +<member><xref linkend="appendix"/></member> +<member><xref linkend="table"/></member> +<member><xref linkend="figure"/></member> +<member><xref linkend="example"/></member> +<member><xref linkend="equation"/></member> +<member><xref linkend="reference"/></member> +<member><xref linkend="bib1"/></member> +<member><xref linkend="gloss"/></member> +<member><xref linkend="index"/></member> +</simplelist> +<para>This is the first reference to <firstterm linkend="xml">XML</firstterm>. +This is the second reference to <glossterm linkend="xml">XML</glossterm>. +These are references without <sgmltag class="attribute">linkend</sgmltag> +attributes: <firstterm>XML</firstterm>, <glossterm>XML</glossterm>.</para> +<bridgehead renderas="sect3">Links</bridgehead> +<para>More <ulink url="http://www.jclark.com/dsssl/">DSSSL information</ulink> +is available.</para> +<para>There is <link linkend="part">a second part</link> in this book.</para> +<para>This is the <link endterm="chaptertitle" linkend="chapter"></link> +chapter.</para> +</chapter> +<chapter id="stchap" condition="&use-chap-2;"> +<docinfo> +<title>Section Tests</title> +<subtitle>Section Tests Subtitle</subtitle> +</docinfo> +<title>Section Tests</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +<indexterm> +<primary>ap1</primary> +</indexterm> +<indexterm> +<primary>ap2</primary> +</indexterm> + +<indexterm> +<primary>bp1</primary> +<secondary>bp1bs1</secondary> +</indexterm> +<indexterm> +<primary>bp2</primary> +</indexterm> + +<indexterm> +<primary>cp1</primary> +<secondary>cp1cs1</secondary> +<tertiary>cp1cs1ct1</tertiary> +</indexterm> +<indexterm> +<primary>cp2</primary> +</indexterm> + +<indexterm> +<primary>dp1</primary> +<secondary>dp1ds1</secondary> +</indexterm> +<indexterm> +<primary>dp1</primary> +<secondary>dp1ds2</secondary> +</indexterm> +<indexterm> +<primary>dp2</primary> +</indexterm></para> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<sect1 id="secttest1"> +<title>a sect1 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +<indexterm> +<primary>ep1</primary> +<secondary>ep1es1</secondary> +<tertiary>ep1es1et1</tertiary> +</indexterm> +<indexterm> +<primary>ep1</primary> +<secondary>ep1es2</secondary> +</indexterm> +<indexterm> +<primary>ep2</primary> +</indexterm> + +<indexterm> +<primary>fp1</primary> +<secondary>fp1fs1</secondary> +</indexterm> +<indexterm> +<primary>fp1</primary> +<secondary>fp1fs2</secondary> +<tertiary>fp1fs2ft1</tertiary> +</indexterm> +<indexterm> +<primary>fp2</primary> +</indexterm> + +<indexterm> +<primary>gp1</primary> +<secondary>gp1gs1</secondary> +</indexterm> +<indexterm> +<primary>gp1</primary> +<secondary>gp1gs2</secondary> +</indexterm> +<indexterm> +<primary>gp1</primary> +<secondary>gp1gs2</secondary> +<tertiary>gp1gs2gt1</tertiary> +</indexterm> +<indexterm> +<primary>gp1</primary> +<secondary>gp1gs2</secondary> +<tertiary>gp1gs2gt2</tertiary> +</indexterm> +<indexterm> +<primary>gp1</primary> +<secondary>gp1gs3</secondary> +</indexterm> +<indexterm> +<primary>gp2</primary> +</indexterm></para> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<sect2> +<title>a sect2 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<sect3> +<title>a sect3 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +<indexterm> +<primary>hp1</primary> +<secondary>hp1hs1</secondary> +<tertiary>hp1hs1ht1</tertiary> +</indexterm> +<indexterm> +<primary>hp1</primary> +<secondary>hp1hs1</secondary> +<tertiary>hp1hs1ht2</tertiary> +</indexterm> +<indexterm> +<primary>hp2</primary> +</indexterm> + +<indexterm> +<primary>ip1</primary> +</indexterm> +<indexterm> +<primary>ip1</primary> +<secondary>ip1is1</secondary> +</indexterm> +<indexterm> +<primary>ip1</primary> +<secondary>ip1is1</secondary> +<tertiary>ip1is1it1</tertiary> +</indexterm> +<indexterm> +<primary>ip1</primary> +<secondary>ip1is1</secondary> +<tertiary>ip1is1it2</tertiary> +</indexterm> +<indexterm> +<primary>ip1</primary> +<secondary>ip1is2</secondary> +<tertiary>ip1is2it1</tertiary> +</indexterm> +<indexterm> +<primary>ip2</primary> +</indexterm></para> +<sect4> +<title>a sect4 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<sect5> +<title>a sect5 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +</sect5> +</sect4> +</sect3> +</sect2> +</sect1> +<sect1 id="secttest2"> +<sect1info> +<title>another sect1 title</title> +<subtitle>a sect1 subtitle</subtitle> +</sect1info> +<title>another sect1 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +<indexterm> +<primary>jp1</primary> +</indexterm> +<indexterm> +<primary>jp1</primary> +<secondary>jp1js1</secondary> +<tertiary>jp1js1jt1</tertiary> +</indexterm> +<indexterm> +<primary>jp1</primary> +<secondary>jp1js1</secondary> +<tertiary>jp1js1jt2</tertiary> +</indexterm> +<indexterm> +<primary>jp2</primary> +</indexterm></para> +<sect2> +<sect2info> +<title>another sect2 title</title> +<subtitle>a sect2 subtitle</subtitle> +</sect2info> +<title>another sect2 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<sect3> +<sect3info> +<title>another sect3 title</title> +<subtitle>a sect3 subtitle</subtitle> +</sect3info> +<title>another sect3 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<sect4> +<sect4info> +<title>another sect4 title</title> +<subtitle>a sect4 subtitle</subtitle> +</sect4info> +<title>another sect4 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<sect5> +<sect5info> +<title>another sect5 title</title> +<subtitle>a sect5 subtitle</subtitle> +</sect5info> +<title>another sect5 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +</sect5> +</sect4> +</sect3> +</sect2> +</sect1> +<sect1 id="secttest3"> +<title>another sect1 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +</sect1> +<sect1 id="secttest4"> +<title>another sect1 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +</sect1> +</chapter> +<chapter> +<title>Inline Tests</title> +<simplesect> +<title>Testing <quote>Quotes</quote> in a title</title> +<para>Footnotes<footnote id="fn1"> +<para>Like this!</para> +</footnote> are inlines. +Sort of<footnote> +<para>Well, the marks are, anyway!</para> +</footnote>. +Another footnote<footnoteref linkend="fn1"/>.</para> +<simplelist columns="3" type="vert"> +<member><abbrev>Abbrev</abbrev></member> +<member><acronym>Acronym</acronym></member> +<member><action>Action</action></member> +<member><application>Application</application></member> +<member><citation>Citation</citation></member> +<member><citerefentry> +<refentrytitle>CiteRefEntry RefEntryTitle</refentrytitle> +<manvolnum>n</manvolnum> +</citerefentry></member> +<member><citetitle>Citetitle</citetitle></member> +<member><classname>ClassName</classname></member> +<member><command>Command</command></member> +<member><comment>Comment</comment> (Comment)</member> +<member><computeroutput>ComputerOutput</computeroutput></member> +<member><database>Database</database></member> +<member><errorname>ErrorName</errorname></member> +<member><errortype>ErrorType</errortype></member> +<member><email>Email</email></member> +<member><emphasis>Emphasis</emphasis></member> +<member><envar>EnVar</envar></member> +<member><errorcode>ErrorCode</errorcode></member> +<member><filename>Filename</filename></member> +<member><firstterm>Firstterm</firstterm></member> +<member><foreignphrase>ForeignPhrase</foreignphrase></member> +<member><function>Function</function></member> +<member><guimenuitem>GUIMenuItem</guimenuitem></member> +<member><guibutton>GUIButton</guibutton></member> +<member><guibutton>GUI<accel>B</accel>utton (with Accel)</guibutton></member> +<member><guiicon>GUIIcon</guiicon></member> +<member><guilabel>GUILabel</guilabel></member> +<member><guimenu>GUIMenu</guimenu></member> +<member><guisubmenu>GUISubMenu</guisubmenu></member> +<member><hardware>Hardware</hardware></member> +<member><inlineequation> +<alt>e=mc^2</alt> +<graphic fileref="emc2.gif"/> +</inlineequation></member> +<member><interface>Interface</interface></member> +<member><interfacedefinition>InterfaceDefinition</interfacedefinition></member> +<member><keycap>KeyCap</keycap></member> +<member><keycode>KeyCode</keycode></member> +<member><keycombo> +<keycap>Key</keycap> +<keycap>Combo</keycap> +</keycombo></member> +<member><keysym>KeySym</keysym></member> +<member><literal>Literal</literal></member> +<member><markup>Markup</markup></member> +<member><medialabel>MediaLabel</medialabel></member> +<member><mousebutton>MouseButton</mousebutton></member> +<member><option>Option</option></member> +<member><optional>Optional</optional></member> +<member><parameter>Parameter</parameter></member> +<member><phrase>Phrase</phrase></member> +<member><prompt>Prompt</prompt></member> +<member><property>Property</property></member> +<member><quote>Quote</quote></member> +<member><replaceable>Replaceable</replaceable></member> +<member><returnvalue>ReturnValue</returnvalue></member> +<member><sgmltag class="attribute">SGMLTag</sgmltag> (Attribute)</member> +<member><sgmltag class="attvalue">SGMLTag</sgmltag> (AttValue)</member> +<member><sgmltag class="element">SGMLTag</sgmltag> (Element)</member> +<member><sgmltag class="endtag">SGMLTag</sgmltag> (EndTag)</member> +<member><sgmltag class="genentity">SGMLTag</sgmltag> (GenEntity)</member> +<member><sgmltag class="numcharref">SGMLTag</sgmltag> (NumCharRef)</member> +<member><sgmltag class="paramentity">SGMLTag</sgmltag> (ParamEntity)</member> +<member><sgmltag class="pi">SGMLTag</sgmltag> (PI)</member> +<member><sgmltag class="sgmlcomment">SGMLTag</sgmltag> (SGMLComment)</member> +<member><sgmltag class="starttag">SGMLTag</sgmltag> (StartTag)</member> +<member><sgmltag>SGMLTag</sgmltag></member> +<member><structfield>StructField</structfield></member> +<member><structname>StructName</structname></member> +<member><subscript>Subscript</subscript></member> +<member><superscript>Superscript</superscript></member> +<member><symbol>Symbol</symbol></member> +<member><systemitem>SystemItem</systemitem></member> +<member><token>Token</token></member> +<member><trademark>Trademark</trademark></member> +<member><type>Type</type></member> +<member><userinput>UserInput</userinput></member> +<member><wordasword>WordAsWord</wordasword></member> +<member><productname>ProductName</productname></member> +</simplelist> +<para>And here are a couple of index terms, as another test (of +index terms, not inlines). +<indexterm> +<primary>aap1</primary> +<see>ap1</see> +</indexterm> +<indexterm> +<primary>bbp1</primary> +<seealso>bp1</seealso> +</indexterm></para> +</simplesect> +</chapter> +<chapter> +<title>Block Tests</title> +<simplesect> +<title>Formal Objects</title> +<bridgehead renderas="sect4">Example</bridgehead> +<example id="example"> +<title>An Example</title> +<para>This is an example of a trivial example.</para> +</example> +<bridgehead renderas="sect4">Figure</bridgehead> +<figure id="figure"> +<title>A Figure</title> +<screen>This is an example of a trivial figure.</screen> +</figure> +<bridgehead renderas="sect4">Equation</bridgehead> +<equation id="equation"> +<title>An Equation</title> +<alt>e=mc^2</alt> +<graphic fileref="emc2.gif"/> +</equation> +<bridgehead renderas="sect4">Table</bridgehead> +<table id="table"> +<title>A Table</title> +<tgroup cols="2"> +<colspec colwidth="0.5in"/> +<colspec colwidth="0.5in"/> +<tbody> +<row> +<entry>1</entry> +<entry>1</entry> +</row> +<row> +<entry>2</entry> +<entry>4</entry> +</row> +<row> +<entry>3</entry> +<entry>9</entry> +</row> +</tbody> +</tgroup> +</table> +</simplesect> +<simplesect> +<title>Informal Objects</title> +<bridgehead renderas="sect4">InformalExample</bridgehead> +<informalexample id="iexample"> +<para>This is an example of a trivial, informal example.</para> +</informalexample> +<bridgehead renderas="sect4">InformalEquation</bridgehead> +<informalequation id="iequation"> +<alt>e=mc^2</alt> +<graphic fileref="emc2.gif"/> +</informalequation> +<bridgehead renderas="sect4">InformalTable</bridgehead> +<informaltable id="itable"> +<tgroup cols="2"> +<tbody> +<row> +<entry>1</entry> +<entry>1</entry> +</row> +<row> +<entry>2</entry> +<entry>8</entry> +</row> +<row> +<entry>3</entry> +<entry>27</entry> +</row> +</tbody> +</tgroup> +</informaltable> +</simplesect> +<simplesect> +<title>Admonitions</title> +<bridgehead renderas="sect4">Note</bridgehead> +<note> +<para>Consider yourself noted.</para> +<para>Second para.</para> +</note> +<note> +<simpara>Consider yourself noted, simply.</simpara> +</note> +<note> +<title>NoteTitle</title> +<para>Consider yourself noted.</para> +<para>Second para, with a title.</para> +</note> +<note> +<title>Att</title> +<simpara>Consider yourself noted, simply.</simpara> +<simpara>With a title</simpara> +</note> +<bridgehead renderas="sect4">Important</bridgehead> +<important> +<para>Consider yourself important.</para> +</important> +<bridgehead renderas="sect4">Tip</bridgehead> +<tip> +<para>Consider yourself tipped.</para> +</tip> +<bridgehead renderas="sect4">Warning</bridgehead> +<warning> +<para>Consider yourself warned.</para> +</warning> +<bridgehead renderas="sect4">Caution</bridgehead> +<caution> +<para>Consider yourself cautioned.</para> +</caution> +<bridgehead renderas="sect4">SimPara in Caution</bridgehead> +<caution> +<title>Simple Caution</title> +<simpara>A simpler caution.</simpara> +</caution> +</simplesect> +<simplesect> +<title>Other Objects</title> +<bridgehead renderas="sect4">Screen</bridgehead> +<screen>This + is <lineannotation>With a line-annotation</lineannotation> + a + screen + This + is <lineannotation>With a line-annotation</lineannotation> + a +screen +This + is <lineannotation>With a line-annotation</lineannotation> + a + screen</screen> +<bridgehead renderas="sect4">ProgramListing</bridgehead> +<programlisting linenumbering="numbered">This + is + a +programlisting</programlisting> +<bridgehead renderas="sect4">Address</bridgehead> +<address>Norman Walsh +ArborText, Inc. +<street>1000 Victors Way</street> +<city>Ann Arbor</city>, <state>MI</state> <postcode>48108</postcode> +<country>US</country> + +Voice: <phone>313.997.0200</phone> +Fax: <fax>313.997.0201</fax> + +Email: <email>nwalsh@arbortext.com</email> +WWW: <otheraddr role="homepage">http://www.arbortext.com/</otheraddr></address> +<bridgehead renderas="sect4">BlockQuote</bridgehead> +<blockquote> +<para>The universe that we observe has precisely the properties we should +expect if there is, at bottom, no design, no purpose, no evil and +no good, nothing but pitiless indifference.—Richard Dawkins</para> +</blockquote> +<bridgehead renderas="sect4">Procedure</bridgehead> +<procedure> +<step> +<para>This is the first step</para> +</step> +<step> +<para>This is the second step</para> +<substeps> +<step> +<para>This is the first substep</para> +</step> +<step> +<para>This is the second substep</para> +</step> +</substeps> +</step> +<step> +<para>This is the third step</para> +</step> +</procedure> +<bridgehead renderas="sect4">Procedure With Title</bridgehead> +<procedure> +<title>Same Procedure with a Title</title> +<step> +<para>This is the first step</para> +</step> +<step> +<para>This is the second step</para> +<substeps> +<step> +<para>This is the first substep</para> +</step> +<step> +<para>This is the second substep</para> +</step> +</substeps> +</step> +<step> +<para>This is the third step</para> +</step> +</procedure> +<bridgehead renderas="sect4">SideBar</bridgehead> +<sidebar> +<title>What About Bob?</title> +<para>This is a sidebar.</para> +</sidebar> +<bridgehead renderas="sect4">MsgSet</bridgehead> +<para>It's not really clear how <sgmltag>MsgSet</sgmltag> should be presented. +I expect that it's fairly application, if not document, specific.</para> +<msgset> +<msgentry> +<msg> +<msgmain> +<msgtext> +<para>Record failed CRC</para> +</msgtext> +</msgmain> +<msgsub> +<msgtext> +<para>Record <replaceable>n</replaceable> + in <replaceable>database</replaceable></para> +</msgtext> +</msgsub> +<msgrel> +<msgtext> +<para>File read error on + <replaceable>database</replaceable></para> +</msgtext> +</msgrel> +<msgrel> +<msgtext> +<para>Panic! Corrupt record!</para> +</msgtext> +</msgrel> +</msg> +<msginfo> +<msglevel>severe</msglevel> +<msgorig>server</msgorig> +<msgaud>all</msgaud> +</msginfo> +<msgexplan> +<para> Indicates that some sort of error occured attempting to load + a record from the database. Retry. If failure persists, + contact the database administrator. + </para> +</msgexplan> +</msgentry> +</msgset> +<bridgehead renderas="sect4">LiteralLayout</bridgehead> +<literallayout>This is a +literal + layout</literallayout> +<para><literallayout>This is a +literal + layout + in a para</literallayout></para> +</simplesect> +</chapter> +<chapter> +<title>List Tests</title> +<simplesect> +<title>OrderedLists</title> +<bridgehead renderas="sect4">Default Numeration</bridgehead> +<orderedlist> +<listitem> +<para>One</para> +</listitem> +<listitem> +<programlisting>this one starts with +a program listing +what happens?</programlisting> +</listitem> +<listitem> +<synopsis>this one starts with +a synopsis +what happens?</synopsis> +</listitem> +<listitem> +<para>para first</para> +<synopsis>this one has +a synopsis +what happens?</synopsis> +</listitem> +<listitem> +<para>Three</para> +<screen>A +Screen +Here</screen> +</listitem> +<listitem> +<para>Four</para> +</listitem> +</orderedlist> +<bridgehead renderas="sect4">Arabic Numeration</bridgehead> +<orderedlist numeration="arabic"> +<listitem> +<para>One</para> +</listitem> +<listitem> +<para>Two</para> +</listitem> +<listitem> +<para>Three</para> +</listitem> +<listitem> +<para>Four</para> +</listitem> +</orderedlist> +<bridgehead renderas="sect4">Arabic Numeration (Long)</bridgehead> +<orderedlist numeration="arabic"> +<listitem> +<para>One</para> +</listitem> +<listitem> +<para>Two</para> +</listitem> +<listitem> +<para>Three</para> +</listitem> +<listitem> +<para>Four</para> +</listitem> +<listitem> +<para>Five</para> +</listitem> +<listitem> +<para>Six</para> +</listitem> +<listitem> +<para>Seven</para> +</listitem> +<listitem> +<para>Eight</para> +</listitem> +<listitem> +<para>Nine</para> +</listitem> +<listitem> +<para>Ten</para> +</listitem> +<listitem> +<para>Eleven</para> +</listitem> +</orderedlist> +<bridgehead renderas="sect4">UpperAlpha Numeration</bridgehead> +<orderedlist numeration="upperalpha"> +<listitem> +<para>One</para> +</listitem> +<listitem> +<para>Two</para> +</listitem> +<listitem> +<para>Three</para> +</listitem> +<listitem> +<para>Four</para> +</listitem> +</orderedlist> +<bridgehead renderas="sect4">LowerAlpha Numeration</bridgehead> +<orderedlist numeration="loweralpha"> +<listitem> +<para>One</para> +</listitem> +<listitem> +<para>Two</para> +</listitem> +<listitem> +<para>Three</para> +</listitem> +<listitem> +<para>Four</para> +</listitem> +</orderedlist> +<bridgehead renderas="sect4">UpperRoman Numeration</bridgehead> +<orderedlist numeration="upperroman"> +<listitem> +<para>One</para> +</listitem> +<listitem> +<para>Two</para> +</listitem> +<listitem> +<para>Three</para> +</listitem> +<listitem> +<para>Four</para> +</listitem> +</orderedlist> +<bridgehead renderas="sect4">LowerRoman Numeration</bridgehead> +<orderedlist numeration="lowerroman"> +<listitem> +<para>One</para> +</listitem> +<listitem> +<para>Two</para> +</listitem> +<listitem> +<para>Three</para> +</listitem> +<listitem> +<para>Four</para> +</listitem> +</orderedlist> +<bridgehead renderas="sect4">Continued</bridgehead> +<para>First list: +<orderedlist> +<listitem> +<para>One</para> +</listitem> +<listitem> +<para>Two</para> +</listitem> +<listitem> +<para>Three</para> +</listitem> +<listitem> +<para>Four</para> +</listitem> +</orderedlist></para> +<para>Second list: +<orderedlist continuation="continues"> +<listitem> +<para>Five</para> +</listitem> +<listitem> +<para>Six</para> +</listitem> +<listitem> +<para>Seven</para> +</listitem> +<listitem> +<para>Eight</para> +</listitem> +<listitem> +<para>Nine</para> +</listitem> +<listitem> +<para>Ten</para> +</listitem> +</orderedlist></para> +</simplesect> +<simplesect> +<title>ItemizedLists</title> +<bridgehead renderas="sect4">Default Presentation</bridgehead> +<itemizedlist> +<listitem> +<para>One</para> +</listitem> +<listitem> +<programlisting>One-point-five. This one starts with +a program listing +what happens?</programlisting> +</listitem> +<listitem> +<para>Two</para> +</listitem> +<listitem> +<para>Three</para> +</listitem> +<listitem> +<para>Four</para> +</listitem> +</itemizedlist> +<bridgehead renderas="sect4">Block Elements in a List</bridgehead> +<itemizedlist> +<listitem> +<para>One</para> +<para>Another para.</para> +</listitem> +<listitem> +<para>Two</para> +</listitem> +<listitem> +<para>Three</para> +</listitem> +<listitem> +<para>Four</para> +</listitem> +</itemizedlist> +<bridgehead renderas="sect4">Alternate Mark and OverRide</bridgehead> +<itemizedlist mark="box"> +<listitem> +<para>TeX and LaTeX</para> +</listitem> +<listitem override="bullet"> +<para>Troff</para> +</listitem> +<listitem> +<para>Lout</para> +</listitem> +<listitem override="none"> +<para>Test</para> +</listitem> +</itemizedlist> +<bridgehead renderas="sect4">No mark Presentation</bridgehead> +<itemizedlist mark="none"> +<listitem override="none"> +<para>One</para> +</listitem> +<listitem override="bullet"> +<para>Two</para> +</listitem> +<listitem> +<para>Three</para> +</listitem> +<listitem> +<para>Four</para> +</listitem> +</itemizedlist> +</simplesect> +<simplesect> +<title>VariableLists</title> +<variablelist> +<varlistentry> +<term>Term1</term> +<listitem> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +</listitem> +</varlistentry> +<varlistentry> +<term>Term2</term> +<listitem> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +</listitem> +</varlistentry> +<varlistentry> +<term>Term3</term> +<listitem> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<itemizedlist> +<listitem> +<para>One</para> +</listitem> +<listitem> +<para>Two</para> +</listitem> +<listitem> +<para>Three</para> +</listitem> +<listitem> +<para>Four</para> +</listitem> +</itemizedlist> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +</listitem> +</varlistentry> +<varlistentry> +<term>Term4</term> +<listitem> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +</listitem> +</varlistentry> +</variablelist> +<variablelist> +<varlistentry> +<term>Another List</term> +<listitem> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +</listitem> +</varlistentry> +<varlistentry> +<term>ProgramListing</term> +<listitem> +<programlisting>A ProgramListing +Is the First Element +of this VarListEntry</programlisting> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +</listitem> +</varlistentry> +</variablelist> +</simplesect> +<simplesect> +<title>SimpleLists</title> +<bridgehead renderas="sect4">Inline</bridgehead> +<para>An inline simple list: +<simplelist type="inline"> +<member>One</member> +<member>Two</member> +<member>Three</member> +<member>Four</member> +<member>Five</member> +<member>Six</member> +<member>Seven</member> +</simplelist></para> +<bridgehead renderas="sect4">Horiz</bridgehead> +<simplelist columns="3" type="horiz"> +<member>One</member> +<member>Two</member> +<member>Three</member> +<member>Four</member> +<member>Five</member> +<member>Six</member> +<member>Seven</member> +</simplelist> +<bridgehead renderas="sect4">Vert</bridgehead> +<simplelist columns="3" type="vert"> +<member>One</member> +<member>Two</member> +<member>Three</member> +<member>Four</member> +<member>Five</member> +<member>Six</member> +<member>Seven</member> +</simplelist> +</simplesect> +<simplesect> +<title>More Complex List Item Content</title> +<itemizedlist> +<listitem> +<para>One</para> +<para>Second para</para> +</listitem> +<listitem> +<para>Two</para> +<para>Second para</para> +</listitem> +<listitem> +<simpara>Three</simpara> +<para>Second para</para> +</listitem> +<listitem> +<para>Four</para> +<para>Second para</para> +</listitem> +<listitem> +<formalpara> +<title>Formal Element</title> +<para>Five</para> +</formalpara> +<para>Second para</para> +</listitem> +<listitem> +<para>Six</para> +</listitem> +</itemizedlist> +<orderedlist> +<listitem> +<para>One</para> +<para>Second para</para> +</listitem> +<listitem> +<para>Two</para> +<para>Second para</para> +</listitem> +<listitem> +<simpara>Three</simpara> +<para>Second para</para> +</listitem> +<listitem> +<para>Four</para> +<para>Second para</para> +</listitem> +<listitem> +<formalpara> +<title>Formal Element</title> +<para>Five</para> +</formalpara> +<para>Second para</para> +</listitem> +<listitem> +<para>Six</para> +</listitem> +</orderedlist> +</simplesect> +<simplesect> +<title>Segmented List</title> +<segmentedlist> +<title>State Birds</title> +<segtitle>State</segtitle> +<segtitle>Bird</segtitle> +<seglistitem> +<seg>Alabama</seg> +<seg>Yellowhammer</seg> +</seglistitem> +<seglistitem> +<seg>Alaska</seg> +<seg>Willow Ptarmigan</seg> +</seglistitem> +<seglistitem> +<seg>Arizona</seg> +<seg>Cactus Wren</seg> +</seglistitem> +<seglistitem> +<seg>Arkansas</seg> +<seg>Mockingbird</seg> +</seglistitem> +<seglistitem> +<seg>California</seg> +<seg>California Valley Quail</seg> +</seglistitem> +<seglistitem> +<seg>Colorado</seg> +<seg>Lark Bunting</seg> +</seglistitem> +<seglistitem> +<seg>Connecticut</seg> +<seg>Robin</seg> +</seglistitem> +<seglistitem> +<seg>Delaware</seg> +<seg>Blue Hen Chicken</seg> +</seglistitem> +<seglistitem> +<seg>Florida</seg> +<seg>Mockingbird</seg> +</seglistitem> +<seglistitem> +<seg>Georgia</seg> +<seg>Brown Thrasher</seg> +</seglistitem> +<seglistitem> +<seg>Hawaii</seg> +<seg>Nene</seg> +</seglistitem> +<seglistitem> +<seg>Idaho</seg> +<seg>Mountain Bluebird</seg> +</seglistitem> +<seglistitem> +<seg>Illinois</seg> +<seg>Cardinal</seg> +</seglistitem> +<seglistitem> +<seg>Indiana</seg> +<seg>Cardinal</seg> +</seglistitem> +<seglistitem> +<seg>Iowa</seg> +<seg>Eastern Goldfinch</seg> +</seglistitem> +<seglistitem> +<seg>Kansas</seg> +<seg>Western Meadowlark</seg> +</seglistitem> +<seglistitem> +<seg>Kentucky</seg> +<seg>Cardinal</seg> +</seglistitem> +<seglistitem> +<seg>Louisiana</seg> +<seg>Eastern Brown Pelican</seg> +</seglistitem> +<seglistitem> +<seg>Maine</seg> +<seg>Chickadee</seg> +</seglistitem> +<seglistitem> +<seg>Maryland</seg> +<seg>Baltimore Oriole</seg> +</seglistitem> +<seglistitem> +<seg>Massachusetts</seg> +<seg>Chickadee</seg> +</seglistitem> +<seglistitem> +<seg>Michigan</seg> +<seg>Robin</seg> +</seglistitem> +<seglistitem> +<seg>Minnesota</seg> +<seg>Common Loon</seg> +</seglistitem> +<seglistitem> +<seg>Mississippi</seg> +<seg>Mockingbird</seg> +</seglistitem> +<seglistitem> +<seg>Missouri</seg> +<seg>Bluebird</seg> +</seglistitem> +<seglistitem> +<seg>Montana</seg> +<seg>Western Meadowlark</seg> +</seglistitem> +<seglistitem> +<seg>Nebraska</seg> +<seg>Western Meadowlark</seg> +</seglistitem> +<seglistitem> +<seg>Nevada</seg> +<seg>Mountain Bluebird</seg> +</seglistitem> +<seglistitem> +<seg>New Hampshire</seg> +<seg>Purple Finch</seg> +</seglistitem> +<seglistitem> +<seg>New Jersey</seg> +<seg>Eastern Goldfinch</seg> +</seglistitem> +<seglistitem> +<seg>New Mexico</seg> +<seg>Roadrunner</seg> +</seglistitem> +<seglistitem> +<seg>New York</seg> +<seg>Bluebird</seg> +</seglistitem> +<seglistitem> +<seg>North Carolina</seg> +<seg>Cardinal</seg> +</seglistitem> +<seglistitem> +<seg>North Dakota</seg> +<seg>Western Meadowlark</seg> +</seglistitem> +<seglistitem> +<seg>Ohio</seg> +<seg>Cardinal</seg> +</seglistitem> +<seglistitem> +<seg>Oklahoma</seg> +<seg>Scissor-tailed Flycatcher</seg> +</seglistitem> +<seglistitem> +<seg>Oregon</seg> +<seg>Western Meadowlark</seg> +</seglistitem> +<seglistitem> +<seg>Pennsylvania</seg> +<seg>Ruffed Grouse</seg> +</seglistitem> +<seglistitem> +<seg>Rhode Island</seg> +<seg>Rhode Island Red</seg> +</seglistitem> +<seglistitem> +<seg>South Carolina</seg> +<seg>Great Carolina Wren</seg> +</seglistitem> +<seglistitem> +<seg>South Dakota</seg> +<seg>Ring-necked Pheasant</seg> +</seglistitem> +<seglistitem> +<seg>Tennessee</seg> +<seg>Mockingbird</seg> +</seglistitem> +<seglistitem> +<seg>Texas</seg> +<seg>Mockingbird</seg> +</seglistitem> +<seglistitem> +<seg>Utah</seg> +<seg>American Seagull</seg> +</seglistitem> +<seglistitem> +<seg>Vermont</seg> +<seg>Hermit Thrush</seg> +</seglistitem> +<seglistitem> +<seg>Virginia</seg> +<seg>Cardinal </seg> +</seglistitem> +<seglistitem> +<seg>Washington</seg> +<seg>Willow Goldfinch</seg> +</seglistitem> +<seglistitem> +<seg>West Virginia</seg> +<seg>Cardinal</seg> +</seglistitem> +<seglistitem> +<seg>Wisconsin</seg> +<seg>Robin</seg> +</seglistitem> +<seglistitem> +<seg>Wyoming</seg> +<seg>Western Meadowlark</seg> +</seglistitem> +</segmentedlist> +</simplesect> +</chapter> +<chapter> +<title>Table Tests</title> +<bridgehead renderas="sect4">Alternate Alignment on Entry</bridgehead> +<informaltable frame="all"> +<tgroup cols="3"> +<colspec colnum="1" colname="c1" colwidth="2in"/> +<colspec colnum="2" colname="c2" colwidth="2in"/> +<colspec colnum="3" colname="c3" align="center"/> +<thead> +<row> +<entry>h1</entry> +<entry>h2</entry> +<entry>h3</entry> +</row> +</thead> +<tbody> +<row> +<entry align="left">left</entry> +<entry align="center">center</entry> +<entry>center</entry> +</row> +<row> +<entry align="center">center</entry> +<entry align="right">right</entry> +<entry align="right">right</entry> +</row> +</tbody> +</tgroup> +</informaltable> +<informaltable frame="topbot"> +<tgroup cols="3"> +<colspec colnum="1" colname="c1" colwidth="2in"/> +<colspec colnum="2" colname="c2" colwidth="2in"/> +<colspec colnum="3" colname="c3" align="center"/> +<thead> +<row> +<entry>h1</entry> +<entry>h2</entry> +<entry>h3</entry> +</row> +</thead> +<tbody> +<row> +<entry align="left">left</entry> +<entry align="center">center</entry> +<entry>center</entry> +</row> +<row> +<entry align="center">center</entry> +<entry align="right">right</entry> +<entry align="right">right</entry> +</row> +</tbody> +</tgroup> +</informaltable> +<informaltable> +<tgroup cols="3"> +<colspec colnum="1" colname="c1" colwidth="2in"/> +<colspec colnum="2" colname="c2" colwidth="2in"/> +<colspec colnum="3" colname="c3" align="center"/> +<thead> +<row> +<entry>h1</entry> +<entry>h2</entry> +<entry>h3</entry> +</row> +</thead> +<tbody> +<row> +<entry align="left"><emphasis>left emph</emphasis></entry> +<entry align="center"><emphasis role="bold">center emph/bold</emphasis></entry> +<entry><literal>center literal</literal></entry> +</row> +<row> +<entry align="center"><filename>center filename</filename></entry> +<entry align="right"><command>right command</command></entry> +<entry align="right">right</entry> +</row> +</tbody> +</tgroup> +</informaltable> +<bridgehead renderas="sect4">Absolute Widths</bridgehead> +<informaltable> +<tgroup cols="3"> +<colspec colnum="1" colname="c1" colwidth="1in"/> +<colspec colnum="2" colname="c2" colwidth="1in"/> +<colspec colnum="3" colname="c3" colwidth="1in" align="center"/> +<thead> +<row> +<entry>h1</entry> +<entry>h2</entry> +<entry>h3</entry> +</row> +</thead> +<tbody> +<row> +<entry>e1</entry> +<entry>e2</entry> +<entry>e3</entry> +</row> +<row> +<entry>e1</entry> +<entry>e2</entry> +<entry>e3</entry> +</row> +<row> +<entry>e1</entry> +<entry>e2</entry> +<entry>e3</entry> +</row> +</tbody> +</tgroup> +</informaltable> +<bridgehead renderas="sect4">Relative Widths</bridgehead> +<informaltable> +<tgroup cols="2"> +<colspec colnum="1" colname="c1" colwidth="3*"/> +<colspec colnum="2" colname="c2" colwidth="2*"/> +<tbody> +<row> +<entry align="left"><para>left</para></entry> +<entry align="center"><para>center</para></entry> +</row> +<row> +<entry align="center"><para>center</para></entry> +<entry align="right"><para>right</para></entry> +</row> +</tbody> +</tgroup> +</informaltable> +<bridgehead renderas="sect4">Too many cells</bridgehead> +<para>This is a broken table. There are too many cells in the second row. +YMMV. Don't do this.</para> +<informaltable> +<tgroup cols="2"> +<tbody> +<row> +<entry>1</entry> +<entry>2</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +</row> +</tbody> +</tgroup> +</informaltable> +<bridgehead renderas="sect4">Missing Entrys</bridgehead> +<table pgwide="1" id="t1"> +<title>Table Title</title> +<tgroup cols="3"> +<colspec colnum="1" colname="c1"/> +<colspec colnum="2" colname="c2"/> +<colspec colnum="3" colname="c3"/> +<thead> +<row> +<entry><para>head1</para></entry> +<entry><para>head2</para></entry> +<entry><para>head3</para></entry> +</row> +</thead> +<tbody> +<row> +<entry><para>a1</para></entry> +<entry><para>a2</para></entry> +<entry><para>a3</para></entry> +</row> +<row> +<entry><para>b1</para></entry> +<entry colname="c3"><para>b3</para></entry> +</row> +<row> +<entry namest="c2"><para>c2</para></entry> +<entry><para>c3</para></entry> +</row> +</tbody> +</tgroup> +</table> +<bridgehead renderas="sect4">Complex</bridgehead> +<informaltable pgwide="1"> +<tgroup cols="6"> +<colspec colnum="2" colname="c2" align="right"/> +<colspec colnum="3" colname="c3" align="center"/> +<colspec colnum="5" colname="c5"/> +<colspec colname="c6" align="left"/> +<tbody> +<row> +<entry>A1</entry> +<entry>A2</entry> +<entry>A3</entry> +<entry morerows="1">A4</entry> +<entry>A5</entry> +<entry>A6</entry> +</row> +<row> +<entry>B1</entry> +<entry colsep="1" rowsep="1">B2</entry> +<entry rowsep="1">B3</entry> +<entry>B5</entry> +<entry>B6</entry> +</row> +<row> +<entry>C1</entry> +<entry colsep="1">C2</entry> +<entry>C3</entry> +<entry>C4</entry> +<entry namest="c5" nameend="c6" morerows="2" valign="middle">C5</entry> +</row> +<row> +<entry namest="c2">D2</entry> +<entry>D3</entry> +<entry>D4</entry> +</row> +<row> +<entry>E1</entry> +<entry namest="c2" nameend="c3" align="left">E2</entry> +<entry>E4</entry> +</row> +<row> +<entry>F1</entry> +<entry>F2</entry> +<entry>F3</entry> +<entry>F4</entry> +<entry>F5</entry> +<entry>F6</entry> +</row> +</tbody> +</tgroup> +</informaltable> +<bridgehead renderas="sect4">With Footnotes</bridgehead> +<informaltable> +<tgroup cols="2"> +<tbody> +<row> +<entry>foo<footnote id="fnrex1a"> +<para>A meaningless +word</para> +</footnote></entry> +<entry>3<footnote id="fnrex1b"> +<para>A meaningless +number</para> +</footnote></entry> +</row> +<row> +<entry>bar<footnoteref linkend="fnrex1a"/></entry> +<entry>5<footnoteref linkend="fnrex1b"/></entry> +</row> +</tbody> +</tgroup> +</informaltable> +<bridgehead renderas="sect4">A Big One</bridgehead> +<informaltable> +<tgroup cols="15"> +<thead> +<row> +<entry>H1</entry> +<entry>H2</entry> +<entry>H3</entry> +<entry>H4</entry> +<entry>H5</entry> +<entry>H6</entry> +<entry>H7</entry> +<entry>H8</entry> +<entry>H9</entry> +<entry>H10</entry> +<entry>H11</entry> +<entry>H12</entry> +<entry>H13</entry> +<entry>H14</entry> +<entry>H15</entry> +</row> +</thead> +<tbody> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +<row> +<entry>1</entry> +<entry>2</entry> +<entry>3</entry> +<entry>4</entry> +<entry>5</entry> +<entry>6</entry> +<entry>7</entry> +<entry>8</entry> +<entry>9</entry> +<entry>10</entry> +<entry>11</entry> +<entry>12</entry> +<entry>13</entry> +<entry>14</entry> +<entry>15</entry> +</row> +</tbody> +</tgroup> +</informaltable> +</chapter> +<chapter> +<title>Index Term Tests</title> +<para>Test data.</para> +<indexterm id="idx1"> +<primary>oft-repeated</primary> +</indexterm> +<indexterm id="idx2"> +<primary>chap-level</primary> +</indexterm> +<sect1> +<title>Index Term Sect 1</title> +<para>Test data.</para> +<indexterm id="idx3"> +<primary>!</primary> +</indexterm> +<indexterm id="fred"> +<primary>oft-repeated</primary> +<secondary>with id</secondary> +</indexterm> +<indexterm significance="preferred" id="idx5"> +<primary>sect1-level</primary> +</indexterm> +<indexterm id="idx6"> +<primary>sect1-level</primary> +</indexterm> +<indexterm id="idx7"> +<primary>sect1-level</primary> +<secondary>sec</secondary> +</indexterm> +<indexterm id="idx8"> +<primary>sect1-other</primary> +<secondary>sec</secondary> +</indexterm> +<indexterm id="idx9"> +<primary>chap-level</primary> +<secondary>sec</secondary> +<tertiary>tert</tertiary> +</indexterm> +<indexterm scope="local"> +<primary>chap-level</primary> +<secondary>sec</secondary> +<tertiary>tert</tertiary> +</indexterm> +<indexterm id="idx11"> +<primary>sect1-level</primary> +</indexterm> +<sect2> +<title>Index Term Sect 2</title> +<para>Test data.</para> +<indexterm id="idx12"> +<primary>[</primary> +</indexterm> +<indexterm id="idx13"> +<primary>oft-repeated</primary> +</indexterm> +<indexterm id="idx14"> +<primary sortas="abracadabra">sect2-level</primary> +</indexterm> +<indexterm id="idx15"> +<primary>chap-level</primary> +<secondary>sec</secondary> +<tertiary>tert</tertiary> +</indexterm> +</sect2> +<sect2> +<title>Index Term Sect 3</title> +<para>foo</para> +</sect2> +</sect1> +</chapter> +</part> +<part id="part"> +<title>Part Two Title</title> +<chapter> +<title>CmdSynopsis Tests</title> +<bridgehead renderas="sect4">Very Simple CmdSynopsis</bridgehead> +<cmdsynopsis> +<command>cd</command> +<arg choice="req"><replaceable>directory</replaceable></arg> +</cmdsynopsis> +<bridgehead renderas="sect4">Simple CmdSynopsis</bridgehead> +<cmdsynopsis> +<command>cal</command> +<arg>-j</arg> +<arg>-y</arg> +<arg>month <arg>year</arg></arg> +</cmdsynopsis> +<bridgehead renderas="sect4">Another Simple CmdSynopsis</bridgehead> +<cmdsynopsis> +<command>chgrp</command> +<arg>-R + <group> +<arg>-H</arg> +<arg>-L</arg> +<arg>-P</arg> +</group> + </arg> +<arg>-f</arg> +<arg choice="plain"><replaceable>group</replaceable></arg> +<arg choice="plain" rep="repeat"><replaceable>file</replaceable></arg> +</cmdsynopsis> +<bridgehead renderas="sect4">Slightly Complex CmdSynopsis</bridgehead> +<cmdsynopsis> +<command>emacs</command> +<arg>-t <replaceable>file</replaceable></arg> +<arg>-q</arg> +<arg>-u <replaceable>user</replaceable></arg> +<arg>+<replaceable>number</replaceable></arg> +<arg rep="repeat">-f <replaceable>function</replaceable></arg> +<arg rep="repeat">-l <replaceable>file</replaceable></arg> +<arg choice="plain" rep="repeat"><replaceable>file</replaceable></arg> +</cmdsynopsis> +<bridgehead renderas="sect4">Quite Complex CmdSynopsis</bridgehead> +<cmdsynopsis> +<command>cccp</command> +<arg>-$</arg> +<arg>-C</arg> +<arg rep="repeat">-D<replaceable>name</replaceable><arg>=<replaceable>definition</replaceable></arg></arg> +<arg>-dD</arg> +<arg>-dM</arg> +<arg rep="repeat">-I <replaceable>directory</replaceable></arg> +<arg>-H</arg> +<arg>-I-</arg> +<sbr/> +<arg rep="repeat">-imacros <replaceable>file</replaceable></arg> +<arg rep="repeat">-include <replaceable>file</replaceable></arg> +<group> +<arg>-lang-c</arg> +<arg>-lang-c++</arg> +<arg>-lang-objc</arg> +</group> +<arg>-lint</arg> +<sbr/> +<group> +<arg>-M</arg> +<arg>-MD</arg> +<arg>-MM</arg> +<arg>-MMD</arg> +</group> +<arg>-nostdinc</arg> +<arg>-P</arg> +<arg>-pedantic</arg> +<arg>-pedantic-errors</arg> +<arg>-trigraphs</arg> +<arg>-U<replaceable>name</replaceable></arg> +<sbr/> +<arg>-undef</arg> +<arg>-Wtrigraphs</arg> +<arg>-Wcomment</arg> +<arg>-Wall</arg> +<arg>-Wtraditional</arg> +<group choice="req"> +<arg><replaceable>infile</replaceable></arg> +<arg>-</arg> +</group> +<group choice="req"> +<arg><replaceable>outfile</replaceable></arg> +<arg>-</arg> +</group> +</cmdsynopsis> +</chapter> +<chapter> +<title>FuncSynopsis Tests</title> +<bridgehead renderas="sect4">Two Simple Parameters</bridgehead> +<funcsynopsis> +<funcprototype> +<funcdef>int <function>max</function></funcdef> +<paramdef>int <parameter>int1</parameter></paramdef> +<paramdef>int <parameter>int2</parameter></paramdef> +</funcprototype> +</funcsynopsis> +<bridgehead renderas="sect4">Variable Arguments</bridgehead> +<funcsynopsis> +<funcsynopsisinfo>#include <varargs.h></funcsynopsisinfo> +<funcprototype> +<funcdef>int <function>max</function></funcdef> +<varargs/> +</funcprototype> +</funcsynopsis> +<bridgehead renderas="sect4">Void</bridgehead> +<funcsynopsis> +<funcprototype> +<funcdef>int <function>rand</function></funcdef> +<void/> +</funcprototype> +</funcsynopsis> +<bridgehead renderas="sect4">Function Pointer Arguments</bridgehead> +<funcsynopsis> +<funcprototype> +<funcdef>void <function>qsort</function></funcdef> +<paramdef>void *<parameter>dataptr</parameter>[]</paramdef> +<paramdef>int <parameter>left</parameter></paramdef> +<paramdef>int <parameter>right</parameter></paramdef> +<paramdef>int <parameter>(* comp)</parameter> + <funcparams>void *, void *</funcparams></paramdef> +</funcprototype> +</funcsynopsis> +</chapter> +<chapter> +<title>Callout Tests</title> +<bridgehead renderas="sect4">CallOut (using AREASPEC)</bridgehead> +<programlistingco> +<areaspec> +<area coords="1" id="prologue"/> +<area coords="4" id="skipeof"/> +<areaset coords="" id="xreq"> +<area coords="9" id="require1"/> +<area coords="10" id="require2"/> +</areaset> +<area coords="11 12" id="use"/> +<area coords="27" id="funccall"/> +</areaspec> +<programlisting>@rem = '--*-Perl-*-- +@echo off +perl.exe %_batchname %$ +goto endofperl +@rem '; + +# Compress mail... + +require 'n:/home/nwalsh/lib/cygnus.pl'; +require 'timelocal.pl'; +use Cwd; + +select (STDERR); $| = 1; +select (STDOUT); $| = 1; + +@DIRS = ("/home/nwalsh/Mail"); +while (@DIRS) { + $dir = shift @DIRS; + opendir (DIR, $dir); + while ($fname = readdir(DIR)) { + $file = "$dir/$fname"; + next if ! -d $file; + next if $fname =~ /^\.\.?$/; + + print "$file\n"; + push (@DIRS, $file); + &compress ($file); + } +} + +exit;</programlisting> +<calloutlist> +<callout arearefs="prologue"> +<para>The prologue handles embedding a Perl script in a DOS batch file.</para> +</callout> +<callout arearefs="skipeof"> +<para>The <literal>goto</literal> statement, interpreted by the DOS batch +file interpreter, skips over the body of the Perl script.</para> +</callout> +<callout arearefs="require1"> +<para>The <literal>require</literal> statement sources in external program +fragments.</para> +</callout> +<callout arearefs="use"> +<para>The <literal>use</literal> statement is similar, but has additional +utility. It is a Perl5 function. (Note that this callout area specifies +both a line and a column.)</para> +</callout> +<callout arearefs="funccall"> +<para>This is a user subroutine call.</para> +</callout> +</calloutlist> +</programlistingco> +<bridgehead renderas="sect4">CallOut (using CO)</bridgehead> +<programlisting>this is a line +this is another line +there's a <co id="callout1"/>callout in here. +and there's another on the +next line +right here:<co id="callout2"/></programlisting> +<calloutlist> +<callout arearefs="callout1"> +<para>First callout.</para> +<para>Second para in first callout.</para> +</callout> +<callout arearefs="callout2"> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Second callout.</para> +<para>Third para in second callout.</para> +</callout> +<callout arearefs="callout1 callout2"> +<para>This paragraph describes <emphasis>both</emphasis> callouts.</para> +</callout> +</calloutlist> +</chapter> +</part> +<part> +<title>A Reference Part</title> +<reference id="reference"> +<title>Reference</title> +<refentry> +<refmeta> +<refentrytitle>RefEntryTitle</refentrytitle> +</refmeta> +<refnamediv> +<refdescriptor>RefDescriptor</refdescriptor> +<refname>RefName1</refname> +<refname>RefName2</refname> +<refpurpose>Yes, there must be a purpose!</refpurpose> +</refnamediv> +<refsynopsisdiv> +<synopsis> A + Synopsis + Goes + Here</synopsis> +</refsynopsisdiv> +<refsect1> +<title>A RefSect1</title> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<refsect2> +<title>A RefSect2</title> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<refsect3> +<title>A RefSect3</title> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah.<footnote> +<para>This is a footnote in a refentry.</para> +</footnote> +Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +</refsect3> +</refsect2> +</refsect1> +</refentry> +<refentry> +<refnamediv> +<refname><function>Chop</function></refname> +<refpurpose>strip trailing whitespace</refpurpose> +</refnamediv> +<refsect1> +<title>Description</title> +<para> Returns the argument string without trailing whitespace. + <example> +<title>chop() example</title> +<programlisting>$trimmed = Chop($line);</programlisting> +</example> + </para> +</refsect1> +</refentry> +</reference> +</part> +<appendix id="appendix"> +<title>A Very Short Appendix</title> +<para>Blah.</para> +</appendix> +<appendix> +<title>A Very Long Appendix</title> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.</para> +<sect1> +<title>a sect1 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<sect2> +<title>a sect2 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<sect3> +<title>a sect3 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<sect4> +<title>a sect4 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<sect5> +<title>a sect5 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +</sect5> +</sect4> +</sect3> +</sect2> +</sect1> +<sect1> +<sect1info> +<title>another sect1 title</title> +<subtitle>a sect1 subtitle</subtitle> +</sect1info> +<title>another sect1 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<sect2> +<sect2info> +<title>another sect2 title</title> +<subtitle>a sect2 subtitle</subtitle> +</sect2info> +<title>another sect2 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<sect3> +<sect3info> +<title>another sect3 title</title> +<subtitle>a sect3 subtitle</subtitle> +</sect3info> +<title>another sect3 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<sect4> +<sect4info> +<title>another sect4 title</title> +<subtitle>a sect4 subtitle</subtitle> +</sect4info> +<title>another sect4 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +<sect5> +<sect5info> +<title>another sect5 title</title> +<subtitle>a sect5 subtitle</subtitle> +</sect5info> +<title>another sect5 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +</sect5> +</sect4> +</sect3> +</sect2> +</sect1> +<sect1> +<title>another sect1 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +</sect1> +<sect1> +<title>another sect1 title</title> +<para>some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. +some text. some text. some text. some text. some text. some text. some text. </para> +</sect1> +</appendix> +<bibliography id="bib1"> +<title>A Test Bibliography</title> +<para>The stock stylesheet attempts to do a Bibliography. It probably needs +a lot of tweaking. It probably doesn't conform to any specific style.</para> +<bibliodiv> +<title>Books</title> +<biblioentry> +<abbrev>AhoSethiUllman96</abbrev> +<authorgroup> +<author> +<firstname>Alfred V.</firstname> +<surname>Aho</surname> +</author> +<author> +<firstname>Ravi</firstname> +<surname>Sethi</surname> +</author> +<author> +<firstname>Jeffrey D.</firstname> +<surname>Ullman</surname> +</author> +</authorgroup> +<title>Compilers, Principles, Techniques, and Tools</title> +<publisher> +<publishername>Addison-Wesley Publishing Company</publishername> +</publisher> +<copyright> +<year>1996</year> +<holder>Bell Telephone Laboratories, Inc.</holder> +</copyright> +<isbn>0-201-10088-6</isbn> +<editor> +<firstname>James T.</firstname> +<surname>DeWolf</surname> +</editor> +<seriesinfo> +<title>Computer Science</title> +<editor> +<firstname>Michael A.</firstname> +<surname>Harrison</surname> +</editor> +<publisher> +<publishername>Addison-Wesley Publishing Company</publishername> +</publisher> +</seriesinfo> +</biblioentry> +</bibliodiv> +<bibliodiv> +<title>Periodicals</title> +<biblioentry id="walsh97"> +<abbrev>Walsh97</abbrev> +<biblioset relation="article"> +<title>A Guide to XML</title> +<author> +<surname>Walsh</surname> +<firstname>Norman</firstname> +</author> +<pubdate>1997</pubdate> +<copyright> +<year>1997</year> +<holder>ArborText, Inc.</holder> +</copyright> +<pagenums>97-108</pagenums> +</biblioset> +<biblioset relation="journal"> +<title>XML: Principles, Tools, and Techniques</title> +<publisher> +<publishername>O'Reilly & Associates, Inc.</publishername> +</publisher> +<issn>1085-2301</issn> +<editor> +<firstname>Dan</firstname> +<surname>Connolly</surname> +</editor> +</biblioset> +</biblioentry> +<bibliomixed id="walsh96"> <bibliomset relation="article"> <surname>Walsh</surname>, <firstname>Norman</firstname>. + <title role="article">Introduction to Cascading Style Sheets</title>. + </bibliomset> + <bibliomset relation="journal"> <title>The World Wide Web Journal</title>. + <volumenum>2</volumenum>(<issuenum>1</issuenum>). + <publishername>O'Reilly & Associates, Inc.</publishername> and + <corpname>The World Wide Web Consortium</corpname>. + <pubdate>Winter, 1996</pubdate></bibliomset>.</bibliomixed> +<biblioentry> +<abbrev>Abbrev</abbrev> +<title>A Really Full BiblioEntry</title> +<subtitle>Subtitle</subtitle> +<abstract> +<para>Abstract, abstract, abstract. Abstract, abstract, abstract. +Abstract, abstract, abstract. Abstract, abstract, abstract. +Abstract, abstract, abstract. Abstract, abstract, abstract. +Abstract, abstract, abstract. Abstract, abstract, abstract. +Abstract, abstract, abstract. Abstract, abstract, abstract. +Abstract, abstract, abstract. Abstract, abstract, abstract. </para> +</abstract> +<address>Any Street +Anywhere, XX 99999 +USA</address> +<affiliation> +<shortaffil>shortaffil</shortaffil> +<jobtitle>jobtitle</jobtitle> +<orgname>orgname</orgname> +<orgdiv>orgdiv</orgdiv> +<address>Any Street +Anywhere, XX 99999 +USA</address> +</affiliation> +<artpagenums>ArtPageNums</artpagenums> +<author> +<firstname>AuthorFirstname</firstname> +<surname>AuthorSurname</surname> +</author> +<authorblurb> +<para>AuthorBlurb, authorblurb, authorblurb. AuthorBlurb, authorblurb, authorblurb. +AuthorBlurb, authorblurb, authorblurb. AuthorBlurb, authorblurb, authorblurb. +AuthorBlurb, authorblurb, authorblurb. AuthorBlurb, authorblurb, authorblurb. +AuthorBlurb, authorblurb, authorblurb. AuthorBlurb, authorblurb, authorblurb. +AuthorBlurb, authorblurb, authorblurb. AuthorBlurb, authorblurb, authorblurb. </para> +</authorblurb> +<authorinitials>AuthorInitials</authorinitials> +<collab> +<collabname>The names of some collaborators</collabname> +<affiliation> +<shortaffil>shortaffil</shortaffil> +<jobtitle>jobtitle</jobtitle> +<orgname>orgname</orgname> +<orgdiv>orgdiv</orgdiv> +<address>Any Street +Anywhere, XX 99999 +USA</address> +</affiliation> +</collab> +<confgroup> +<confdates>confdates</confdates> +<conftitle>conftitle</conftitle> +<confnum>confnum</confnum> +<address>Any Street +Anywhere, XX 99999 +USA</address> +<confsponsor>confsponsor</confsponsor> +</confgroup> +<contractnum>ContractNum</contractnum> +<contractsponsor>ContractSponsor</contractsponsor> +<contrib>Contrib</contrib> +<copyright> +<year>1998</year> +<holder>Copyright holder</holder> +</copyright> +<corpname>CorpName</corpname> +<date>Date</date> +<edition>Edition</edition> +<editor> +<firstname>EditorFirstName</firstname> +<surname>EditorSurname</surname> +</editor> +<firstname>FirstName</firstname> +<honorific>Honorific</honorific> +<isbn>ISBN</isbn> +<issn>ISSN</issn> +<invpartnumber>InvPartNumber</invpartnumber> +<issuenum>IssueNum</issuenum> +<lineage>Lineage</lineage> +<orgname>OrgName</orgname> +<othercredit> +<firstname>OCFirstName</firstname> +<surname>OCSurname</surname> +</othercredit> +<othername>OtherName</othername> +<pagenums>PageNums</pagenums> +<printhistory> +<para>PrintHistory, printhistory, printhistory. PrintHistory, printhistory. +PrintHistory, printhistory, printhistory. PrintHistory, printhistory. +PrintHistory, printhistory, printhistory. PrintHistory, printhistory. +PrintHistory, printhistory, printhistory. PrintHistory, printhistory.</para> +</printhistory> +<productname>ProductName</productname> +<productnumber>ProductNumber</productnumber> +<pubdate>PubDate</pubdate> +<publisher> +<publishername>PubPublisherName</publishername> +<address><street>Any Street</street> +<city>Anywhere</city>, <state>XX</state> <postcode>99999</postcode> +<country>USA</country></address> +</publisher> +<publishername>PublisherName</publishername> +<pubsnumber>PubsNumber</pubsnumber> +<releaseinfo>ReleaseInfo</releaseinfo> +<revhistory> +<revision> +<revnumber>1.0</revnumber> +<date>20 Nov 1998</date> +<authorinitials>ndw</authorinitials> +<revremark>Some remark about the revision</revremark> +</revision> +<revision> +<revnumber>0.9</revnumber> +<date>19 Nov 1998</date> +<authorinitials>ndw</authorinitials> +<revremark>Some remark about the revision</revremark> +</revision> +<revision> +<revnumber>0.4</revnumber> +<date>18 Nov 1998</date> +<authorinitials>ndw</authorinitials> +<revremark>Some remark about the revision</revremark> +</revision> +</revhistory> +<seriesinfo> +<title>SeriesInfo Title</title> +<editor> +<firstname>SeriesInfo Editor Firstname</firstname> +<surname>SeriesInfo Editor Surname</surname> +</editor> +</seriesinfo> +<seriesvolnums>SeriesVolNums</seriesvolnums> +<surname>Surname</surname> +<titleabbrev>TitleAbbrev</titleabbrev> +<volumenum>VolumeNum</volumenum> +</biblioentry> +</bibliodiv> +</bibliography> +<glossary id="gloss"> +<title>Example Glossary</title> +<para>This is not a real glossary, it's just an example.</para> +<glossdiv> +<title>E</title> +<glossentry id="xml"> +<glossterm>Extensible Markup Language</glossterm> +<acronym>XML</acronym> +<glossdef> +<para>Some reasonable definition here.</para> +<glossseealso otherterm="sgml"/> +</glossdef> +</glossentry> +</glossdiv> +<glossdiv> +<title>S</title> +<glossentry> +<glossterm>SGML</glossterm> +<glosssee otherterm="sgml"/> +</glossentry> +<glossentry id="sgml"> +<glossterm>Standard Generalized + Markup Language</glossterm> +<acronym>SGML</acronym> +<abbrev>ISO 8879:1986</abbrev> +<glossdef> +<para>Some reasonable definition here.</para> +<glossseealso otherterm="xml"/> +</glossdef> +</glossentry> +</glossdiv> +</glossary> +<index id="index"> +<para>This is a test index.</para> +<formalpara> +<title>a formal para</title> +<para>this is a formal paragraph.</para> +</formalpara> +<indexentry> +<primaryie>Primary</primaryie> +<secondaryie>Secondary 1</secondaryie> +<tertiaryie>Tertiary 11</tertiaryie> +<tertiaryie>Tertiary 12</tertiaryie> +<secondaryie>Secondary 2</secondaryie> +<tertiaryie>Tertiary 21</tertiaryie> +</indexentry> +<indexentry id="prim1"> +<primaryie>primary</primaryie> +</indexentry> +<indexentry id="prim2"> +<primaryie>primary</primaryie> +</indexentry> +<indexentry> +<primaryie>primary</primaryie> +<secondaryie>secondary</secondaryie> +</indexentry> +<indexentry> +<primaryie>primary</primaryie> +<secondaryie>secondary</secondaryie> +</indexentry> +<indexentry> +<primaryie>primary</primaryie> +<secondaryie>secondary</secondaryie> +<tertiaryie>tertiary1</tertiaryie> +</indexentry> +<indexentry> +<primaryie>primary</primaryie> +<secondaryie>secondary</secondaryie> +<tertiaryie>tertiary2</tertiaryie> +</indexentry> +<indexentry> +<primaryie>primary</primaryie> +<secondaryie>secondary2</secondaryie> +<tertiaryie>tertiary3</tertiaryie> +</indexentry> +<indexentry> +<primaryie>primary</primaryie> +<seeie linkend="prim2">see ie</seeie> +</indexentry> +<indexentry> +<primaryie>primary</primaryie> +<secondaryie>secondary2</secondaryie> +<tertiaryie>tertiary3</tertiaryie> +<seealsoie linkends="prim2 prim1">seealso ie</seealsoie> +</indexentry> +</index> +<index><title>An Index with a Title</title> +<indexdiv> +<title>Symbols</title> +<indexentry> +<primaryie>!, + <ulink url="c3.htm#aen10" role="aen10">Index Term Sect 1</ulink> + </primaryie> +</indexentry> +<indexentry> +<primaryie>[, + <ulink url="c3.htm#aen38" role="aen38">Index Term Sect 2</ulink> + </primaryie> +</indexentry> +</indexdiv> +<indexdiv> +<title>A</title> +<indexentry> +<primaryie>sect2-level, + <ulink url="c3.htm#aen38" role="aen38">Index Term Sect 2</ulink> + </primaryie> +</indexentry> +</indexdiv> +<indexdiv> +<title>C</title> +<indexentry> +<primaryie>chap-level, + <ulink url="c3.htm" role="c3.htm">Index Term Tests</ulink> + </primaryie> +<secondaryie>sec + </secondaryie> +<tertiaryie>tert, + <ulink url="c3.htm#aen10" role="aen10">Index Term Sect 1</ulink>, + <ulink url="c3.htm#aen38" role="aen38">Index Term Sect 2</ulink> + </tertiaryie> +</indexentry> +</indexdiv> +<indexdiv> +<title>O</title> +<indexentry> +<primaryie>oft-repeated, + <ulink url="c3.htm" role="c3.htm">Index Term Tests</ulink>, + <ulink url="c3.htm#aen38" role="aen38">Index Term Sect 2</ulink> + </primaryie> +<secondaryie>with id, + <ulink url="c3.htm#aen10" role="aen10">Index Term Sect 1</ulink> + </secondaryie> +</indexentry> +</indexdiv> +<indexdiv> +<title>S</title> +<indexentry> +<primaryie>sect1-level, + <ulink url="c3.htm#aen10" role="aen10"><emphasis>Index Term Sect 1</emphasis></ulink> + </primaryie> +<secondaryie>sec, + <ulink url="c3.htm#aen10" role="aen10">Index Term Sect 1</ulink> + </secondaryie> +</indexentry> +<indexentry> +<primaryie>sect1-other + </primaryie> +<secondaryie>sec, + <ulink url="c3.htm#aen10" role="aen10">Index Term Sect 1</ulink> + </secondaryie> +</indexentry> +</indexdiv> +</index> +</book> diff --git a/tests/docbook/test/docbook.css b/tests/docbook/test/docbook.css new file mode 100644 index 00000000..01339d43 --- /dev/null +++ b/tests/docbook/test/docbook.css @@ -0,0 +1,2 @@ +DIV.TITLEPAGE { text-align: center; } +DIV.TITLEPAGE DIV.ABSTRACT { text-align: left; } diff --git a/tests/docbook/test/docbook40.xml b/tests/docbook/test/docbook40.xml new file mode 100644 index 00000000..269f700b --- /dev/null +++ b/tests/docbook/test/docbook40.xml @@ -0,0 +1,128 @@ +<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.0//EN" + "http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd"> +<book> +<bookinfo> +<title>DocBook V4.0 Example Document</title> +<author><firstname>Norman</firstname><surname>Walsh</surname></author> +<abstract> +<para>This document demonstrates the new tags in DocBook V4.0.</para> +<para>The focus of this document is to present examples of new elements, +minor changes such as the addition of new attribute values are not +included.</para> +</abstract> +</bookinfo> +<chapter><title>Block-level Markup</title> +<para>There's a new simple-alternative for <sgmltag>msgentry</sgmltag>: +<sgmltag>simplemsgentry</sgmltag>.</para> +<msgset> +<simplemsgentry> +<msgtext><para>The text of a message</para></msgtext> +<msgexplan><para>An explanation of the message.</para></msgexplan> +</simplemsgentry> +<simplemsgentry> +<msgtext><para>The text of a message</para></msgtext> +<msgexplan><para>An explanation of the message.</para></msgexplan> +</simplemsgentry> +</msgset> + +<para>Longer descriptions are possible in a <sgmltag>revhistory</sgmltag>: +</para> + +<para> +<revhistory> +<revision> +<revnumber>2</revnumber> +<date>today</date> +<authorinitials>nwalsh</authorinitials> +<revdescription> +<para>Here are a few paragraphs of description:</para> +<para>Did some stuff.</para> +<para>Did some other stuff.</para> +</revdescription> +</revision> +<revision> +<revnumber>1</revnumber> +<date>yesterday</date> +<authorinitials>nwalsh</authorinitials> +<revdescription> +<para>Here are a few paragraphs of description:</para> +<para>Did some stuff.</para> +<para>Did some other stuff.</para> +</revdescription> +</revision> +</revhistory> +</para> + +<para>Ordered and itemized lists can have titles:</para> + +<itemizedlist><title>Itemized List</title> +<listitem><para>First thing</para></listitem> +<listitem><para>Second thing</para></listitem> +<listitem><para>Third thing</para></listitem> +</itemizedlist> + +<itemizedlist><title>Ordered List</title> +<listitem><para>First thing</para></listitem> +<listitem><para>Second thing</para></listitem> +<listitem><para>Third thing</para></listitem> +</itemizedlist> + +<para>Linespecific environments can indicate line numbering:</para> + +<programlisting linenumbering="numbered"> +<!ENTITY % linespecific.attrib + "format NOTATION + (linespecific) 'linespecific' + linenumbering (numbered|unnumbered) #IMPLIED"> +</programlisting> + +<para>Added <sgmltag>classsynopsis</sgmltag> for documenting +object-oriented programming language classes. Here's one example:</para> + +<classsynopsis language="java"> + <ooclass><modifier>public</modifier> + <classname>TextFileWriter</classname></ooclass> + <ooclass><classname>HandlerBase</classname></ooclass> + + <fieldsynopsis> + <modifier>private</modifier> + <type>Writer</type> + <varname>writer</varname> + </fieldsynopsis> + + <fieldsynopsis> + <modifier>public</modifier> + <type>String</type> + <varname>writerName</varname> + <initializer>"MyWriter"</initializer> + </fieldsynopsis> + + <methodsynopsis> + <modifier>static</modifier> + <modifier>public</modifier> + <void/> + <methodname>write</methodname> + <methodparam> + <type>ResultTreeFragment</type> + <parameter>frag</parameter> + </methodparam> + <methodparam> + <type>String</type> + <parameter>file</parameter> + </methodparam> + <exceptionname>SAXException</exceptionname> + </methodsynopsis> +</classsynopsis> +</chapter> + +<chapter><title>Inline markup</title> +<para>The <sgmltag>sgmltag</sgmltag> element has new +<sgmltag class="attribute">class</sgmltag> attribute values: +<literal>xmlpi</literal> and +<literal>emptytag</literal>. These produce +<sgmltag class="xmlpi">processing instructions</sgmltag> +and <sgmltag class="emptytag">empty-tag</sgmltag> markup +suitable for XML. +</para> +</chapter> +</book> diff --git a/tests/docbook/test/emc2.gif b/tests/docbook/test/emc2.gif Binary files differnew file mode 100644 index 00000000..830dc36a --- /dev/null +++ b/tests/docbook/test/emc2.gif diff --git a/tests/docbook/test/emc2.png b/tests/docbook/test/emc2.png Binary files differnew file mode 100644 index 00000000..d222f72f --- /dev/null +++ b/tests/docbook/test/emc2.png diff --git a/tests/docbook/test/figtest.xml b/tests/docbook/test/figtest.xml new file mode 100644 index 00000000..fae97b69 --- /dev/null +++ b/tests/docbook/test/figtest.xml @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE article + PUBLIC "-//Norman Walsh//DTD Simplified DocBk XML V3.1.7.1//EN" + "../dtd/simple/3.1.7.1/sdocbook.dtd"> + +<!-- test document --> + +<article><title>Article Test Document Title</title> + +<para> +This is a <quote>short quote</quote>. +This is a <quote>Quotation with a <quote>nested quotation +containing a <quote>nested quotation and another <quote>nested +quotation</quote></quote></quote></quote>. +</para> + +<figure id="testfig1"><title>Test Figure</title> +<programlisting>This is a + ProgramListing +</programlisting> +</figure> + +<para>This para contains an xref to a figure: <xref linkend="testfig1"/>. +</para> + +<figure id="testfig2"><title>Test Figure2</title> +<programlisting>A Second + Test Figure +</programlisting> +</figure> + +<para>This para contains an <link linkend="testfig2">link</link> to a +figure. And an xref: <xref linkend="testfig2"/>. +</para> + +<figure id="testfig3"><title>Test Figure</title> +<programlisting>This is a + ProgramListing +</programlisting> +</figure> + +<para>This para contains an xref to a figure: <xref linkend="testfig3"/>. +</para> + +</article> + diff --git a/tests/docbook/test/foottest.xml b/tests/docbook/test/foottest.xml new file mode 100644 index 00000000..50d2f16c --- /dev/null +++ b/tests/docbook/test/foottest.xml @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE article + PUBLIC "-//Norman Walsh//DTD Simplified DocBk XML V3.1.7.1//EN" + "../dtd/simple/3.1.7.1/sdocbook.dtd"> + +<!-- test document --> + +<article><title>Article Test Document Title</title> +<artheader> +<title>Artheader Test Document Title</title> +<authorgroup> +<corpauthor>nwalsh</corpauthor> +<author><firstname>Norman</firstname><surname>Walsh</surname></author> +<othercredit><firstname>Other</firstname><surname>Credit</surname></othercredit> +<editor><firstname>Someother</firstname><surname>Editor</surname></editor> +<author><firstname>Someone</firstname><surname>Else</surname></author> +</authorgroup> +<pubdate>Apr. 26, 1999</pubdate> +<copyright><year>1999</year><holder>Norman Walsh</holder></copyright> + +<abstract> +<para>This article is just a test. This article is just a test. +This article is just a test. This article is just a test. +This article is just a test. This article is just a test. +This article is just a test. This article is just a test. +This article is just a test. This article is just a test. +</para> +</abstract> +</artheader> + +<para>This is a footnote<footnote><para>See?</para></footnote>.</para> + +<informaltable> +<tgroup cols="3"> +<tbody> +<row><entry>entry</entry><entry>entry</entry><entry>entry</entry></row> +<row><entry>entry<footnote><para>table cell footnote</para></footnote></entry> +<entry>entry</entry><entry>entry</entry></row> +<row><entry>entry</entry><entry>entry</entry><entry>entry</entry></row> +<row> +<entry>Nebbiolo, Bonarda<footnote role="tablenote" label="1" id="ch15tb1"> +<para> +<emphasis>Blended wines, made from two or more grapes</emphasis> +</para> +</footnote> +</entry> +<entry/> +<entry/> +</row> +<row> +<entry>Sangiovese, Canaiolo, and others<footnoteref label="1" +linkend="ch15tb1"></footnoteref> +</entry> +<entry/> +<entry/> +</row> +</tbody> +</tgroup> +</informaltable> + +<appendix><title>Appendix</title> + +<para>This is just a test.</para> + +</appendix> +</article> + diff --git a/tests/docbook/test/fotest.xml b/tests/docbook/test/fotest.xml new file mode 100644 index 00000000..8a029890 --- /dev/null +++ b/tests/docbook/test/fotest.xml @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE book + PUBLIC "-//Norman Walsh//DTD DocBk XML V3.1.7//EN" + "../dtd/3.1.7/docbookx.dtd"> + +<!-- test document --> + +<book><title>Book Test Document Title</title> +<bookinfo> +<title>Bookinfo Test Document Title</title> +<subtitle>Book Subtitle</subtitle> +<authorgroup> +<author><firstname>Norman</firstname><surname>Walsh</surname></author> +</authorgroup> +</bookinfo> + +<preface><title>Foreword</title> +<para>This is a test paragraph.</para> + +<table id="table"> +<title>A Table</title> +<tgroup cols="2"> +<colspec colwidth="0.5in"/> +<colspec colwidth="0.5in"/> +<tbody> +<row> +<entry>1</entry> +<entry>1</entry> +</row> +<row> +<entry>2</entry> +<entry>4</entry> +</row> +<row> +<entry>3</entry> +<entry>9</entry> +</row> +</tbody> +</tgroup> +</table> + + +</preface> + +<chapter> + <docinfo><title>First Chapter</title><subtitle>Chapter Subtitle</subtitle> + </docinfo><title>First Chapter</title> +<para>This is a test paragraph.</para> +</chapter> + +<appendix><title>First Appendix</title> +<para>This is just a test.</para> +</appendix> + +</book> + + diff --git a/tests/docbook/test/func.xml b/tests/docbook/test/func.xml new file mode 100644 index 00000000..b596dcf4 --- /dev/null +++ b/tests/docbook/test/func.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE chapter + PUBLIC "-//Norman Walsh//DTD DocBk XML V3.1.7//EN" + "../dtd/3.1.7/docbookx.dtd"> +<chapter id="ch1"> +<title>test</title> + +<para> +This is a <function>foo<parameter>x</parameter><parameter>y</parameter></function>. This is just a <parameter>x</parameter>. +</para> + +<para> +This is a <function>bar<parameter>x</parameter><function>y<parameter>z</parameter></function></function>. This is just a <parameter>x</parameter>. +</para> + +<para> +This is a <function>bar<parameter>x</parameter><replaceable>z</replaceable></function>. This is just a <parameter>x</parameter>. +</para> + +<para> +This is a just a function <function>bar</function>. +</para> + +</chapter> diff --git a/tests/docbook/test/graphics.xml b/tests/docbook/test/graphics.xml new file mode 100644 index 00000000..6eaeff8e --- /dev/null +++ b/tests/docbook/test/graphics.xml @@ -0,0 +1,89 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE article + PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "../dtd/4.1.2/docbookx.dtd" [ +<!ENTITY emc2 SYSTEM "emc2.png" NDATA PNG> +]> + +<!-- test document --> + +<article><title>Graphics Test Document Title</title> + +<section><title>Graphic</title> + + <para>fileref:</para> + <graphic fileref="emc2.png"/> + + <para>entityref:</para> + <graphic entityref="emc2"/> + + <para>fileref, scale=200:</para> + <graphic fileref="emc2.png" scale="200"/> + + <para>fileref, width=20, depth=20</para> + <graphic fileref="emc2.png" width="20" depth="20"/> + +</section> + +<section><title>Inlinegraphic</title> + + <para>fileref: <inlinegraphic fileref="emc2.png"/></para> + + <para>entityref: <inlinegraphic entityref="emc2"/></para> + + <para>fileref, scale=200: <inlinegraphic fileref="emc2.png" scale="200"/></para> + +</section> + +<section><title>MediaObject</title> + <para>fileref:</para> + <mediaobject> + <imageobject> + <imagedata fileref="emc2.png"/> + </imageobject> + </mediaobject> + + <para>entityref:</para> + <mediaobject> + <imageobject> + <imagedata entityref="emc2"/> + </imageobject> + </mediaobject> + + <para>fileref, scale=20:</para> + <mediaobject> + <imageobject> + <imagedata fileref="emc2.png" scale="20"/> + </imageobject> + </mediaobject> + + <para>fileref, width=200, depth=400:</para> + <mediaobject> + <imageobject> + <imagedata fileref="xyzzy.foo"/> + </imageobject> + <imageobject> + <imagedata fileref="emc2.png" width="200" depth="400"/> + </imageobject> + <textobject> + <para>This is a text object</para> + </textobject> + </mediaobject> + + <para>fileref, width=20, depth=20, alt=Alt text:</para> + <mediaobject> + <imageobject> + <imagedata fileref="xyzzy.foo"/> + </imageobject> + <imageobject> + <imagedata fileref="emc2.png" width="20" depth="20"/> + </imageobject> + <textobject> + <phrase>Alt text</phrase> + </textobject> + </mediaobject> + +</section> + +</article> + diff --git a/tests/docbook/test/gtest.xml b/tests/docbook/test/gtest.xml new file mode 100644 index 00000000..69aadd7a --- /dev/null +++ b/tests/docbook/test/gtest.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE chapter + PUBLIC "-//Norman Walsh//DTD DocBk XML V3.1.7//EN" + "../dtd/3.1.7/docbookx.dtd" [ +<!ENTITY emc2.gif SYSTEM "emc2.gif" NDATA GIF> +]> +<chapter> +<title>Graphics Test</title> +<para>A graphic by fileref:</para> +<mediaobject> +<imageobject> +<imagedata fileref="emc2.gif"/> +</imageobject> +</mediaobject> + +<para>A graphic by entityref:</para> +<mediaobject> +<imageobject> +<imagedata entityref="emc2.gif"/> +</imageobject> +</mediaobject> +</chapter> + diff --git a/tests/docbook/test/idxbook.xml b/tests/docbook/test/idxbook.xml new file mode 100644 index 00000000..70776bc7 --- /dev/null +++ b/tests/docbook/test/idxbook.xml @@ -0,0 +1,142 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE book + PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "../dtd/4.1.2/docbookx.dtd" [ +<!ENTITY idxbook.idx SYSTEM "idxbook.idx"> +]> +<book><title>Book Test Index Document Title</title> +<bookinfo> +<indexterm zone="chapter ch2"> +<primary>chapter zone</primary></indexterm> +<title>Bookinfo Test Index Document Title</title> +<subtitle>Book Subtitle</subtitle> +<authorgroup> +<author><firstname>Norman</firstname><surname>Walsh</surname></author> +</authorgroup> +</bookinfo> + +<preface><title>Foreword</title> +<para>This is a test paragraph<indexterm> +<primary>paragraph</primary> +<secondary>test</secondary></indexterm>.</para> +</preface> + +<chapter id="chapter"> +<title>First Chapter</title> + +<para>Paragraph<indexterm> +<primary>paragraph</primary></indexterm>.</para> + +<sect1><title>First Sect1</title> +<para>Another paragraph<indexterm> +<primary>paragraph</primary> +<secondary>another</secondary> +</indexterm>.</para> +</sect1> +</chapter> + +<chapter id="ch2"><title>Second Chapter</title> +<para>This is a test paragraph. +<indexterm> +<primary sortas="ap1">the ap1</primary> +</indexterm> +<indexterm> +<primary sortas="ap1">the ap1</primary> +<seealso>see also ap2</seealso> +</indexterm> +<indexterm> +<primary>ap2</primary> +</indexterm> + +<indexterm> +<primary>bp1</primary> +<secondary>bp1bs1</secondary> +</indexterm> +<indexterm> +<primary>bp2</primary> +</indexterm> + +<indexterm> +<primary>cp1</primary> +<secondary>cp1cs1</secondary> +<tertiary>cp1cs1ct1</tertiary> +</indexterm> + +<indexterm> +<primary>cp2</primary> +</indexterm> +<indexterm> +<primary>cp2see</primary> +<secondary>cp2seesec</secondary> +<see>cp2</see> +</indexterm> + +<indexterm> +<primary>dp1</primary> +<secondary>dp1ds1</secondary> +</indexterm> +<indexterm> +<primary>dp1</primary> +<secondary>dp1ds2</secondary> +</indexterm> +<indexterm> +<primary>dp2</primary> +</indexterm></para> +</chapter> + +<appendix><title>First Appendix</title> +<para>This is just a test. +<indexterm> +<primary>ap1</primary> +</indexterm> +<indexterm> +<primary>ap2</primary> +</indexterm> + +<indexterm> +<primary>bp1</primary> +<secondary>bp1bs1</secondary> +</indexterm> +<indexterm> +<primary>bp2</primary> +</indexterm> + +<indexterm> +<primary>cp1</primary> +<secondary>cp1cs1</secondary> +<tertiary>cp1cs1ct1</tertiary> +</indexterm> +<indexterm> +<primary>cp2</primary> +</indexterm> + +<indexterm> +<primary>dp1</primary> +<secondary>dp1ds1</secondary> +</indexterm> +<indexterm> +<primary>dp1</primary> +<secondary>dp1ds2</secondary> +</indexterm> +<indexterm> +<primary>dp2</primary> +</indexterm> + +<indexterm> +<primary>1 digit test</primary> +</indexterm> +<indexterm> +<primary>[square bracket test]</primary> +</indexterm> +<indexterm> +<primary>2 digit test</primary> +</indexterm> +</para> +</appendix> + +<!--&idxbook.idx;--> +<index/> + +</book> + + diff --git a/tests/docbook/test/multilingual.xml b/tests/docbook/test/multilingual.xml new file mode 100644 index 00000000..7ea256ae --- /dev/null +++ b/tests/docbook/test/multilingual.xml @@ -0,0 +1,700 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE book + PUBLIC "-//Norman Walsh//DTD DocBk XML V3.1.7//EN" + "../dtd/3.1.7/docbookx.dtd"> + +<!-- test document --> + +<book><title>Multilingual Test Document</title> + +<chapter lang="ca" id="cachap"> +<title>Catalan</title> +<note> +<para> +This paragraph would be in Catalan, if I knew any. +<quote>Quote test.</quote> +</para> +</note> +<para> +See <xref linkend="cachap"/>. +See <xref linkend="cschap"/>. +See <xref linkend="dachap"/>. +See <xref linkend="dechap"/>. +See <xref linkend="elchap"/>. +See <xref linkend="enchap"/>. +See <xref linkend="eschap"/>. +See <xref linkend="fichap"/>. +See <xref linkend="frchap"/>. +See <xref linkend="itchap"/>. +See <xref linkend="jachap"/>. +See <xref linkend="nlchap"/>. +See <xref linkend="nochap"/>. +See <xref linkend="plchap"/>. +See <xref linkend="ptchap"/>. +See <xref linkend="ptbrchap"/>. +See <xref linkend="rochap"/>. +See <xref linkend="ruchap"/>. +See <xref linkend="skchap"/>. +See <xref linkend="svchap"/>. +See <xref linkend="bibl"/>. +</para> +</chapter> + +<chapter lang="cs" id="cschap"> +<title>Czech</title> +<note> +<para> +This paragraph would be in Czech, if I knew any. +<quote>Quote test.</quote> +</para> +</note> +<para> +See <xref linkend="cachap"/>. +See <xref linkend="cschap"/>. +See <xref linkend="dachap"/>. +See <xref linkend="dechap"/>. +See <xref linkend="elchap"/>. +See <xref linkend="enchap"/>. +See <xref linkend="eschap"/>. +See <xref linkend="fichap"/>. +See <xref linkend="frchap"/>. +See <xref linkend="itchap"/>. +See <xref linkend="jachap"/>. +See <xref linkend="nlchap"/>. +See <xref linkend="nochap"/>. +See <xref linkend="plchap"/>. +See <xref linkend="ptchap"/>. +See <xref linkend="ptbrchap"/>. +See <xref linkend="rochap"/>. +See <xref linkend="ruchap"/>. +See <xref linkend="skchap"/>. +See <xref linkend="svchap"/>. +See <xref linkend="bibl"/>. +</para> +</chapter> + +<chapter lang="da" id="dachap"> +<title>Danish</title> +<note> +<para> +This paragraph would be in Danish, if I knew any. +<quote>Quote test.</quote> +</para> +</note> +<para> +See <xref linkend="cachap"/>. +See <xref linkend="cschap"/>. +See <xref linkend="dachap"/>. +See <xref linkend="dechap"/>. +See <xref linkend="elchap"/>. +See <xref linkend="enchap"/>. +See <xref linkend="eschap"/>. +See <xref linkend="fichap"/>. +See <xref linkend="frchap"/>. +See <xref linkend="itchap"/>. +See <xref linkend="jachap"/>. +See <xref linkend="nlchap"/>. +See <xref linkend="nochap"/>. +See <xref linkend="plchap"/>. +See <xref linkend="ptchap"/>. +See <xref linkend="ptbrchap"/>. +See <xref linkend="rochap"/>. +See <xref linkend="ruchap"/>. +See <xref linkend="skchap"/>. +See <xref linkend="svchap"/>. +See <xref linkend="bibl"/>. +</para> +</chapter> + +<chapter lang="es" id="eschap"> +<title>Spanish</title> +<note> +<para> +This paragraph would be in Spanish, if I knew any. +<quote>Quote test.</quote> +</para> +</note> +<para> +See <xref linkend="fichap"/>. +See <xref linkend="frchap"/>. +See <xref linkend="cachap"/>. +See <xref linkend="cschap"/>. +See <xref linkend="dachap"/>. +See <xref linkend="eschap"/>. +See <xref linkend="itchap"/>. +See <xref linkend="jachap"/>. +See <xref linkend="dechap"/>. +See <xref linkend="elchap"/>. +See <xref linkend="enchap"/>. +See <xref linkend="ruchap"/>. +See <xref linkend="rochap"/>. +See <xref linkend="nochap"/>. +See <xref linkend="nlchap"/>. +See <xref linkend="plchap"/>. +See <xref linkend="ptchap"/>. +See <xref linkend="ptbrchap"/>. +See <xref linkend="skchap"/>. +See <xref linkend="svchap"/>. +See <xref linkend="bibl"/>. +</para> +</chapter> + +<chapter lang="fi" id="fichap"> +<title>Finnish</title> +<note> +<para> +This paragraph would be in Finnish, if I knew any. +<quote>Quote test.</quote> +</para> +</note> +<para> +See <xref linkend="fichap"/>. +See <xref linkend="frchap"/>. +See <xref linkend="cachap"/>. +See <xref linkend="cschap"/>. +See <xref linkend="dachap"/>. +See <xref linkend="eschap"/>. +See <xref linkend="itchap"/>. +See <xref linkend="jachap"/>. +See <xref linkend="dechap"/>. +See <xref linkend="elchap"/>. +See <xref linkend="enchap"/>. +See <xref linkend="ruchap"/>. +See <xref linkend="rochap"/>. +See <xref linkend="nochap"/>. +See <xref linkend="nlchap"/>. +See <xref linkend="plchap"/>. +See <xref linkend="ptchap"/>. +See <xref linkend="ptbrchap"/>. +See <xref linkend="skchap"/>. +See <xref linkend="svchap"/>. +See <xref linkend="bibl"/>. +</para> +</chapter> + +<chapter lang="fr" id="frchap"> +<title>French</title> +<note> +<para> +This paragraph would be in French, if I knew any. +<quote>Quote test.</quote> +</para> +</note> +<para> +See <xref linkend="fichap"/>. +See <xref linkend="frchap"/>. +See <xref linkend="cachap"/>. +See <xref linkend="cschap"/>. +See <xref linkend="dachap"/>. +See <xref linkend="eschap"/>. +See <xref linkend="itchap"/>. +See <xref linkend="jachap"/>. +See <xref linkend="dechap"/>. +See <xref linkend="elchap"/>. +See <xref linkend="enchap"/>. +See <xref linkend="ruchap"/>. +See <xref linkend="rochap"/>. +See <xref linkend="nochap"/>. +See <xref linkend="nlchap"/>. +See <xref linkend="plchap"/>. +See <xref linkend="ptchap"/>. +See <xref linkend="ptbrchap"/>. +See <xref linkend="skchap"/>. +See <xref linkend="svchap"/>. +See <xref linkend="bibl"/>. +</para> +</chapter> + +<chapter lang="it" id="itchap"> +<title>Italian</title> +<note> +<para> +This paragraph would be in Italian, if I knew any. +<quote>Quote test.</quote> +</para> +</note> +<para> +See <xref linkend="fichap"/>. +See <xref linkend="frchap"/>. +See <xref linkend="cachap"/>. +See <xref linkend="cschap"/>. +See <xref linkend="dachap"/>. +See <xref linkend="eschap"/>. +See <xref linkend="itchap"/>. +See <xref linkend="jachap"/>. +See <xref linkend="dechap"/>. +See <xref linkend="elchap"/>. +See <xref linkend="enchap"/>. +See <xref linkend="ruchap"/>. +See <xref linkend="rochap"/>. +See <xref linkend="nochap"/>. +See <xref linkend="nlchap"/>. +See <xref linkend="plchap"/>. +See <xref linkend="ptchap"/>. +See <xref linkend="ptbrchap"/>. +See <xref linkend="skchap"/>. +See <xref linkend="svchap"/>. +See <xref linkend="bibl"/>. +</para> +</chapter> + +<chapter lang="de" id="dechap"> +<title>German</title> +<note> +<para> +This paragraph would be in German, if I knew any. +<quote>Quote test.</quote> +</para> +</note> +<para> +See <xref linkend="fichap"/>. +See <xref linkend="frchap"/>. +See <xref linkend="cachap"/>. +See <xref linkend="cschap"/>. +See <xref linkend="dachap"/>. +See <xref linkend="eschap"/>. +See <xref linkend="itchap"/>. +See <xref linkend="jachap"/>. +See <xref linkend="dechap"/>. +See <xref linkend="elchap"/>. +See <xref linkend="enchap"/>. +See <xref linkend="ruchap"/>. +See <xref linkend="rochap"/>. +See <xref linkend="nochap"/>. +See <xref linkend="nlchap"/>. +See <xref linkend="plchap"/>. +See <xref linkend="ptchap"/>. +See <xref linkend="ptbrchap"/>. +See <xref linkend="skchap"/>. +See <xref linkend="svchap"/>. +See <xref linkend="bibl"/>. +</para> +</chapter> + +<chapter lang="el" id="elchap"> +<title>Greek</title> +<note> +<para> +This paragraph would be in Greek, if I knew any. +<quote>Quote test.</quote> +</para> +</note> +<para> +See <xref linkend="fichap"/>. +See <xref linkend="frchap"/>. +See <xref linkend="cachap"/>. +See <xref linkend="cschap"/>. +See <xref linkend="dachap"/>. +See <xref linkend="eschap"/>. +See <xref linkend="itchap"/>. +See <xref linkend="jachap"/>. +See <xref linkend="dechap"/>. +See <xref linkend="elchap"/>. +See <xref linkend="enchap"/>. +See <xref linkend="ruchap"/>. +See <xref linkend="rochap"/>. +See <xref linkend="nochap"/>. +See <xref linkend="nlchap"/>. +See <xref linkend="plchap"/>. +See <xref linkend="ptchap"/>. +See <xref linkend="ptbrchap"/>. +See <xref linkend="skchap"/>. +See <xref linkend="svchap"/>. +See <xref linkend="bibl"/>. +</para> +</chapter> + +<chapter lang="en" id="enchap"> +<title>English</title> +<note> +<para> +This paragraph is in English. +<quote>Quote test.</quote> +</para> +</note> +<para> +See <xref linkend="fichap"/>. +See <xref linkend="frchap"/>. +See <xref linkend="cachap"/>. +See <xref linkend="cschap"/>. +See <xref linkend="dachap"/>. +See <xref linkend="eschap"/>. +See <xref linkend="itchap"/>. +See <xref linkend="jachap"/>. +See <xref linkend="dechap"/>. +See <xref linkend="elchap"/>. +See <xref linkend="enchap"/>. +See <xref linkend="ruchap"/>. +See <xref linkend="rochap"/>. +See <xref linkend="nochap"/>. +See <xref linkend="nlchap"/>. +See <xref linkend="plchap"/>. +See <xref linkend="ptchap"/>. +See <xref linkend="ptbrchap"/>. +See <xref linkend="skchap"/>. +See <xref linkend="svchap"/>. +See <xref linkend="bibl"/>. +</para> +</chapter> + +<chapter lang="ja" id="jachap"> +<title>Japanese</title> +<note> +<para> +This paragraph would be in Japanese, if I knew any. +<quote>Quote test.</quote> +</para> +</note> +<para> +See <xref linkend="fichap"/>. +See <xref linkend="frchap"/>. +See <xref linkend="cachap"/>. +See <xref linkend="cschap"/>. +See <xref linkend="dachap"/>. +See <xref linkend="eschap"/>. +See <xref linkend="itchap"/>. +See <xref linkend="jachap"/>. +See <xref linkend="dechap"/>. +See <xref linkend="elchap"/>. +See <xref linkend="enchap"/>. +See <xref linkend="ruchap"/>. +See <xref linkend="rochap"/>. +See <xref linkend="nochap"/>. +See <xref linkend="nlchap"/>. +See <xref linkend="plchap"/>. +See <xref linkend="ptchap"/>. +See <xref linkend="ptbrchap"/>. +See <xref linkend="skchap"/>. +See <xref linkend="svchap"/>. +See <xref linkend="bibl"/>. +</para> +</chapter> + +<chapter lang="ro" id="rochap"> +<title>Romanian</title> +<note> +<para> +This paragraph would be in Romanian, if I knew any. +<quote>Quote test.</quote> +</para> +</note> +<para> +See <xref linkend="fichap"/>. +See <xref linkend="frchap"/>. +See <xref linkend="cachap"/>. +See <xref linkend="cschap"/>. +See <xref linkend="dachap"/>. +See <xref linkend="eschap"/>. +See <xref linkend="itchap"/>. +See <xref linkend="jachap"/>. +See <xref linkend="dechap"/>. +See <xref linkend="elchap"/>. +See <xref linkend="enchap"/>. +See <xref linkend="ruchap"/>. +See <xref linkend="rochap"/>. +See <xref linkend="nochap"/>. +See <xref linkend="nlchap"/>. +See <xref linkend="plchap"/>. +See <xref linkend="ptchap"/>. +See <xref linkend="ptbrchap"/>. +See <xref linkend="skchap"/>. +See <xref linkend="svchap"/>. +See <xref linkend="bibl"/>. +</para> +</chapter> + +<chapter lang="ru" id="ruchap"> +<title>Russian</title> +<note> +<para> +This paragraph would be in Russian, if I knew any. +<quote>Quote test.</quote> +</para> +</note> +<para> +See <xref linkend="fichap"/>. +See <xref linkend="frchap"/>. +See <xref linkend="cachap"/>. +See <xref linkend="cschap"/>. +See <xref linkend="dachap"/>. +See <xref linkend="eschap"/>. +See <xref linkend="itchap"/>. +See <xref linkend="jachap"/>. +See <xref linkend="dechap"/>. +See <xref linkend="elchap"/>. +See <xref linkend="enchap"/>. +See <xref linkend="ruchap"/>. +See <xref linkend="rochap"/>. +See <xref linkend="nochap"/>. +See <xref linkend="nlchap"/>. +See <xref linkend="plchap"/>. +See <xref linkend="ptchap"/>. +See <xref linkend="ptbrchap"/>. +See <xref linkend="skchap"/>. +See <xref linkend="svchap"/>. +See <xref linkend="bibl"/>. +</para> +</chapter> + +<chapter lang="no" id="nochap"> +<title>Norsk</title> +<note> +<para> +This paragraph would be in Norsk, if I knew any. +<quote>Quote test.</quote> +</para> +</note> +<para> +See <xref linkend="fichap"/>. +See <xref linkend="frchap"/>. +See <xref linkend="cachap"/>. +See <xref linkend="cschap"/>. +See <xref linkend="dachap"/>. +See <xref linkend="eschap"/>. +See <xref linkend="itchap"/>. +See <xref linkend="jachap"/>. +See <xref linkend="dechap"/>. +See <xref linkend="elchap"/>. +See <xref linkend="enchap"/>. +See <xref linkend="ruchap"/>. +See <xref linkend="rochap"/>. +See <xref linkend="nochap"/>. +See <xref linkend="nlchap"/>. +See <xref linkend="plchap"/>. +See <xref linkend="ptchap"/>. +See <xref linkend="ptbrchap"/>. +See <xref linkend="skchap"/>. +See <xref linkend="svchap"/>. +See <xref linkend="bibl"/>. +</para> +</chapter> + +<chapter lang="nl" id="nlchap"> +<title>Dutch</title> +<note> +<para> +This paragraph would be in Dutch, if I knew any. +<quote>Quote test.</quote> +</para> +</note> +<para> +See <xref linkend="fichap"/>. +See <xref linkend="frchap"/>. +See <xref linkend="cachap"/>. +See <xref linkend="cschap"/>. +See <xref linkend="dachap"/>. +See <xref linkend="eschap"/>. +See <xref linkend="itchap"/>. +See <xref linkend="jachap"/>. +See <xref linkend="dechap"/>. +See <xref linkend="elchap"/>. +See <xref linkend="enchap"/>. +See <xref linkend="ruchap"/>. +See <xref linkend="rochap"/>. +See <xref linkend="nochap"/>. +See <xref linkend="nlchap"/>. +See <xref linkend="plchap"/>. +See <xref linkend="ptchap"/>. +See <xref linkend="ptbrchap"/>. +See <xref linkend="skchap"/>. +See <xref linkend="svchap"/>. +See <xref linkend="bibl"/>. +</para> +</chapter> + +<chapter lang="pl" id="plchap"> +<title>Polish</title> +<note> +<para> +This paragraph would be in Polish, if I knew any. +<quote>Quote test.</quote> +</para> +</note> +<para> +See <xref linkend="fichap"/>. +See <xref linkend="frchap"/>. +See <xref linkend="cachap"/>. +See <xref linkend="cschap"/>. +See <xref linkend="dachap"/>. +See <xref linkend="eschap"/>. +See <xref linkend="itchap"/>. +See <xref linkend="jachap"/>. +See <xref linkend="dechap"/>. +See <xref linkend="elchap"/>. +See <xref linkend="enchap"/>. +See <xref linkend="ruchap"/>. +See <xref linkend="rochap"/>. +See <xref linkend="nochap"/>. +See <xref linkend="nlchap"/>. +See <xref linkend="plchap"/>. +See <xref linkend="ptchap"/>. +See <xref linkend="ptbrchap"/>. +See <xref linkend="skchap"/>. +See <xref linkend="svchap"/>. +See <xref linkend="bibl"/>. +</para> +</chapter> + +<chapter lang="pt" id="ptchap"> +<title>Portuguese</title> +<note> +<para> +This paragraph would be in Portugeuse, if I knew any. +<quote>Quote test.</quote> +</para> +</note> +<para> +See <xref linkend="fichap"/>. +See <xref linkend="frchap"/>. +See <xref linkend="cachap"/>. +See <xref linkend="cschap"/>. +See <xref linkend="dachap"/>. +See <xref linkend="eschap"/>. +See <xref linkend="itchap"/>. +See <xref linkend="jachap"/>. +See <xref linkend="dechap"/>. +See <xref linkend="elchap"/>. +See <xref linkend="enchap"/>. +See <xref linkend="ruchap"/>. +See <xref linkend="rochap"/>. +See <xref linkend="nochap"/>. +See <xref linkend="nlchap"/>. +See <xref linkend="plchap"/>. +See <xref linkend="ptchap"/>. +See <xref linkend="ptbrchap"/>. +See <xref linkend="skchap"/>. +See <xref linkend="svchap"/>. +See <xref linkend="bibl"/>. +</para> +</chapter> + +<chapter lang="pt-br" id="ptbrchap"> +<title>Portuguese (Brazilian)</title> +<note> +<para> +This paragraph would be in Brazilian Portugeuse, if I knew any. +<quote>Quote test.</quote> +</para> +</note> +<para> +See <xref linkend="fichap"/>. +See <xref linkend="frchap"/>. +See <xref linkend="cachap"/>. +See <xref linkend="cschap"/>. +See <xref linkend="dachap"/>. +See <xref linkend="eschap"/>. +See <xref linkend="itchap"/>. +See <xref linkend="jachap"/>. +See <xref linkend="dechap"/>. +See <xref linkend="elchap"/>. +See <xref linkend="enchap"/>. +See <xref linkend="ruchap"/>. +See <xref linkend="rochap"/>. +See <xref linkend="nochap"/>. +See <xref linkend="nlchap"/>. +See <xref linkend="plchap"/>. +See <xref linkend="ptchap"/>. +See <xref linkend="ptbrchap"/>. +See <xref linkend="skchap"/>. +See <xref linkend="svchap"/>. +See <xref linkend="bibl"/>. +</para> +</chapter> + +<chapter lang="sk" id="skchap"> +<title>Slovak</title> +<note> +<para> +This paragraph would be in Slovak, if I knew any. +<quote>Quote test.</quote> +</para> +</note> +<para> +See <xref linkend="cachap"/>. +See <xref linkend="cschap"/>. +See <xref linkend="dachap"/>. +See <xref linkend="dechap"/>. +See <xref linkend="elchap"/>. +See <xref linkend="enchap"/>. +See <xref linkend="eschap"/>. +See <xref linkend="fichap"/>. +See <xref linkend="frchap"/>. +See <xref linkend="itchap"/>. +See <xref linkend="jachap"/>. +See <xref linkend="nlchap"/>. +See <xref linkend="nochap"/>. +See <xref linkend="plchap"/>. +See <xref linkend="ptchap"/>. +See <xref linkend="ptbrchap"/>. +See <xref linkend="rochap"/>. +See <xref linkend="ruchap"/>. +See <xref linkend="skchap"/>. +See <xref linkend="svchap"/>. +See <xref linkend="bibl"/>. +</para> +</chapter> + +<chapter lang="sv" id="svchap"> +<title>Swedish</title> +<note> +<para> +This paragraph would be in Swedish, if I knew any. +<quote>Quote test.</quote> +</para> +</note> +<para> +See <xref linkend="cachap"/>. +See <xref linkend="cschap"/>. +See <xref linkend="dachap"/>. +See <xref linkend="dechap"/>. +See <xref linkend="elchap"/>. +See <xref linkend="enchap"/>. +See <xref linkend="eschap"/>. +See <xref linkend="fichap"/>. +See <xref linkend="frchap"/>. +See <xref linkend="itchap"/>. +See <xref linkend="jachap"/>. +See <xref linkend="nlchap"/>. +See <xref linkend="nochap"/>. +See <xref linkend="plchap"/>. +See <xref linkend="ptchap"/>. +See <xref linkend="ptbrchap"/>. +See <xref linkend="rochap"/>. +See <xref linkend="ruchap"/>. +See <xref linkend="skchap"/>. +See <xref linkend="svchap"/>. +See <xref linkend="bibl"/>. +</para> +</chapter> + +<bibliography id="bibl"> +<biblioentry> + <abbrev>AhoSethiUllman96</abbrev> + <authorgroup> + <author><firstname>Alfred V.</firstname><surname>Aho</surname></author> + <author><firstname>Ravi</firstname><surname>Sethi</surname></author> + <author><firstname>Jeffrey D.</firstname><surname>Ullman</surname></author> + </authorgroup> + <title>Compilers, Principles, Techniques, and Tools</title> + <publisher> + <publishername>Addison-Wesley Publishing Company</publishername> + </publisher> + <copyright><year>1996</year> + <holder>Bell Telephone Laboratories, Inc.</holder></copyright> + <isbn>0-201-10088-6</isbn> + <editor><firstname>James T.</firstname><surname>DeWolf</surname></editor> + <seriesinfo> + <title>Computer Science</title> + <editor> + <firstname>Michael A.</firstname> + <surname>Harrison</surname> + </editor> + <publisher> + <publishername>Addison-Wesley Publishing Company</publishername> + </publisher> + </seriesinfo> +</biblioentry> + +</bibliography> + +</book> diff --git a/tests/docbook/test/qa.xml b/tests/docbook/test/qa.xml new file mode 100644 index 00000000..282bb4fc --- /dev/null +++ b/tests/docbook/test/qa.xml @@ -0,0 +1,136 @@ +<!DOCTYPE book + PUBLIC "-//Norman Walsh//DTD DocBk XML V3.1.7//EN" + "../dtd/3.1.7/docbookx.dtd" [ +<!ENTITY qandasetbody "<qandadiv><title>Q&A Div 1</title> +<qandaentry> +<question><label>Q1</label> +<para>Question para 1</para> +<para>Question para 2</para> +</question> +<answer><label>A1</label> +<para>Answer para 1</para> +<para>Answer para 2</para> +</answer> +</qandaentry> +</qandadiv> +<qandadiv><title>Q&A Div 2</title> +<qandaentry> +<question> +<para>Question para 1</para> +<para>Question para 2</para> +</question> +<answer> +<para>Answer para 1</para> +<para>Answer para 2</para> +</answer> +</qandaentry> +<qandaentry> +<question> +<para>Question para 1</para> +<para>Question para 2</para> +</question> +<answer> +<para>Answer para 1</para> +<para>Answer para 2</para> +</answer> +</qandaentry> +</qandadiv>"> +]> +<book><title>book title</title> +<chapter><title>chapter test</title> + +<qandaset> +<title>Q&A Set (unspecified)</title> +&qandasetbody; +</qandaset> + +<qandaset defaultlabel="none"> +<title>Q&A Set (none)</title> +&qandasetbody; +</qandaset> + +<qandaset defaultlabel="number"> +<title>Q&A Set (number)</title> +&qandasetbody; +</qandaset> + +<qandaset defaultlabel="qanda"> +<title>Q&A Set (qanda)</title> +&qandasetbody; +</qandaset> + +<section><title>Section title</title> + +<qandaset> +<title>Q&A Set (unspecified)</title> +&qandasetbody; +</qandaset> + +<qandaset defaultlabel="none"> +<title>Q&A Set (none)</title> +&qandasetbody; +</qandaset> + +<qandaset defaultlabel="number"> +<title>Q&A Set (number)</title> +&qandasetbody; +</qandaset> + +<qandaset defaultlabel="qanda"> +<title>Q&A Set (qanda)</title> +&qandasetbody; +</qandaset> + +</section> + +</chapter> + +<appendix><title>appendix test</title> + +<qandaset> +<title>Q&A Set (unspecified)</title> +&qandasetbody; +</qandaset> + +<qandaset defaultlabel="none"> +<title>Q&A Set (none)</title> +&qandasetbody; +</qandaset> + +<qandaset defaultlabel="number"> +<title>Q&A Set (number)</title> +&qandasetbody; +</qandaset> + +<qandaset defaultlabel="qanda"> +<title>Q&A Set (qanda)</title> +&qandasetbody; +</qandaset> + +<section><title>Section title</title> + +<qandaset> +<title>Q&A Set (unspecified)</title> +&qandasetbody; +</qandaset> + +<qandaset defaultlabel="none"> +<title>Q&A Set (none)</title> +&qandasetbody; +</qandaset> + +<qandaset defaultlabel="number"> +<title>Q&A Set (number)</title> +&qandasetbody; +</qandaset> + +<qandaset defaultlabel="qanda"> +<title>Q&A Set (qanda)</title> +&qandasetbody; +</qandaset> + +</section> + +</appendix> +</book> + diff --git a/tests/docbook/test/qa2.xml b/tests/docbook/test/qa2.xml new file mode 100644 index 00000000..32505126 --- /dev/null +++ b/tests/docbook/test/qa2.xml @@ -0,0 +1,50 @@ +<!DOCTYPE book + PUBLIC "-//OASIS//DTD DocBook XML V4.0//EN" + "../dtd/4.1.2/docbookx.dtd" [ +]> +<book><title>book title</title> +<chapter><title>chapter test</title> + +<para>Test a cross reference to a question: <xref linkend="q1"/>. +</para> + +<qandaset> +<title>Q&A Set (unspecified)</title> +<qandadiv><title>Q&A Div 1</title> +<qandaentry> +<question id="q1"><label>Q1</label> +<para>Question para 1</para> +<para>Question para 2</para> +</question> +<answer id="a1"><label>A1</label> +<para>Answer para 1</para> +<para>Answer para 2</para> +</answer> +</qandaentry> +</qandadiv> +<qandadiv><title>Q&A Div 2</title> +<qandaentry> +<question> +<para>Question para 1</para> +<para>Question para 2</para> +</question> +<answer> +<para>Answer para 1</para> +<para>Answer para 2</para> +</answer> +</qandaentry> +<qandaentry> +<question> +<para>Question para 1</para> +<para>Question para 2</para> +</question> +<answer> +<para>Answer para 1</para> +<para>Answer para 2</para> +</answer> +</qandaentry> +</qandadiv> +</qandaset> +</chapter> +</book> + diff --git a/tests/docbook/test/sectest.xml b/tests/docbook/test/sectest.xml new file mode 100644 index 00000000..03b7202d --- /dev/null +++ b/tests/docbook/test/sectest.xml @@ -0,0 +1,832 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE book + PUBLIC "-//Norman Walsh//DTD DocBk XML V3.1.7//EN" + "../dtd/3.1.7/docbookx.dtd"> +<book id="book"> +<bookinfo> +<title>Book Title</title> +<author> +<surname>Walsh</surname> +<firstname>Norman</firstname> +</author> +<corpauthor>Some Corporation</corpauthor> +<legalnotice> +<title>Legal Notice</title> +<para>This is a test document. You can do what you will with it.</para> +</legalnotice> +<legalnotice> +<para>This is a second legal notice. But it's not noteworthy. + Some more text. Some more text. Some more text. Some more text. + Some more text. Some more text. Some more text. Some more text. + Some more text. Some more text. Some more text. Some more text. + Some more text. Some more text. Some more text. Some more text. + Some more text. Some more text. Some more text. Some more text. + Some more text. Some more text. Some more text. Some more text. + Some more text. Some more text. Some more text. Some more text. + </para> +</legalnotice> +<copyright> +<year>1998</year> +<holder>Norman Walsh</holder> +</copyright> +</bookinfo> +<dedication> +<para>This test book is dedicated to all the testers. This is the first para +of the dedication.</para> +<para>This is the second para of the dedication.</para> +<para>This is the third para of the dedication.</para> +</dedication> +<preface> +<title>Preface Title</title> +<para>Preface content.</para> +<para>This is the second para of the preface.</para> +<para>This is the third para of the preface.</para> +</preface> +<chapter id="chapter"> +<title id="chaptertitle">XRef Tests</title> +<bridgehead renderas="sect3">Xrefs</bridgehead> +<simplelist> +<member><xref linkend="book"/></member> +<member><xref linkend="part"/></member> +<member><xref linkend="chapter"/></member> +<member><xref linkend="appendix"/></member> +<member><xref linkend="table"/></member> +<member><xref linkend="figure"/></member> +<member><xref linkend="example"/></member> +<member><xref linkend="equation"/></member> +<member><xref linkend="reference"/></member> +<member><xref linkend="bib1"/></member> +<member><xref linkend="gloss"/></member> +<member><xref linkend="index"/></member> +</simplelist> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<section><title>Section 1 Title</title> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +</section> +<section><title>Section 1 Title</title> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> + +<para>blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +blah blah blah blah blah blah blah blah blah blah blah blah blah blah +</para> +</section> +</chapter> +</book> diff --git a/tests/docbook/test/set.xml b/tests/docbook/test/set.xml new file mode 100644 index 00000000..192e4dbf --- /dev/null +++ b/tests/docbook/test/set.xml @@ -0,0 +1,79 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE set + PUBLIC "-//Norman Walsh//DTD DocBk XML V3.1.7//EN" + "../dtd/3.1.7/docbookx.dtd"> +<!-- test document --> +<set><title>Set Title</title> +<book><title>Book Test Document Title</title> +<bookinfo> +<title>Bookinfo Test Document Title</title> +<subtitle>Book Subtitle</subtitle> +<authorgroup> +<author><firstname>Norman</firstname><surname>Walsh</surname></author> +</authorgroup> +</bookinfo> + +<preface><title>Foreword</title> +<para>This is a test paragraph.</para> +</preface> + +<chapter id="chapter"> +<title id="chaptertitle">Section Tests</title> + +<sect1><title>First Sect1</title> +<para>Paragraph.</para> +</sect1> +<sect1><title>Second Sect1</title> +<para>Paragraph.</para> +</sect1> +<sect1><title>Third Sect1</title> +<para>Paragraph.</para> +</sect1> + +</chapter> +<appendix><title>First Appendix</title> +<para>This is just a test.</para> +<sect1><title>First Sect1</title> +<para>Paragraph.</para> +</sect1> +<sect1><title>Second Sect1</title> +<para>Paragraph.</para> +</sect1> +<sect1><title>Third Sect1</title> +<para>Paragraph.</para> +</sect1> +</appendix> +</book> +<book><title>Book Test Document Title</title> +<bookinfo> +<title>Bookinfo Test Document Title</title> +<subtitle>Book Subtitle</subtitle> +<authorgroup> +<author><firstname>Norman</firstname><surname>Walsh</surname></author> +</authorgroup> +</bookinfo> + +<preface><title>Foreword</title> +<para>This is a test paragraph.</para> +</preface> + +<chapter> +<title>Section Tests</title> + +<sect1><title>First Sect1</title> +<para>Paragraph.</para> +</sect1> +<sect1><title>Second Sect1</title> +<para>Paragraph.</para> +</sect1> +<sect1><title>Third Sect1</title> +<para>Paragraph.</para> +</sect1> + +</chapter> +<appendix><title>First Appendix</title> +<para>This is just a test.</para> +</appendix> +</book> +</set> + diff --git a/tests/docbook/test/table.xml b/tests/docbook/test/table.xml new file mode 100644 index 00000000..d343efde --- /dev/null +++ b/tests/docbook/test/table.xml @@ -0,0 +1,94 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE chapter + PUBLIC "-//Norman Walsh//DTD DocBk XML V3.1.7//EN" + "../dtd/3.1.7/docbookx.dtd"> +<chapter id="ch1"> +<title>test</title> +<para>How many ° can you ©.</para> + +<table frame="topbot"><title>A Table</title> +<tgroup cols="3"> +<colspec align="right" colname="c2" colnum="2" colwidth="1.5*+2in"/> +<colspec colname="c3" colwidth="2*+4pt"/> +<tbody> +<row><entry>1</entry><entry>2</entry><entry>3</entry></row> +<row><entry>1</entry><entry morerows="1">2</entry><entry>3</entry></row> +<row><entry>1</entry><entry>3</entry></row> +<row><entry>1</entry><entry>2</entry><entry>3</entry></row> +<row><entry>1</entry><entry namest="c2" nameend="c3">2</entry></row> +<row><entry>1</entry><entry>2</entry><entry>3</entry></row> +<row><entry>1</entry><entry colname="c2">2</entry><entry>3</entry></row> +<row><entry colname="c2">2</entry><entry>3</entry></row> +<row><entry>1</entry><entry>2</entry><entry>3</entry></row> +<row><entry namest="c2" nameend="c3">2</entry></row> +<row><entry>1</entry><entry>2</entry><entry>3</entry></row> +</tbody> +</tgroup> +</table> + +<table frame="all"><title>A Table</title> +<?dbhtml table-width="4in"?> +<tgroup cols="3"> +<colspec align="right" colname="c2" colnum="2" colwidth="1.5*"/> +<colspec colname="c3" colwidth="2*"/> +<tbody> +<row><entry>1</entry><entry>2</entry><entry>3</entry></row> +<row><entry>1</entry><entry morerows="1">2</entry><entry>3</entry></row> +<row><entry>1</entry><entry>3</entry></row> +<row><entry>1</entry><entry>2</entry><entry>3</entry></row> +<row><entry>1</entry><entry namest="c2" nameend="c3">2</entry></row> +<row><entry>1</entry><entry>2</entry><entry>3</entry></row> +<row><entry>1</entry><entry colname="c2">2</entry><entry>3</entry></row> +<row><entry colname="c2">2</entry><entry>3</entry></row> +<row><entry>1</entry><entry>2</entry><entry>3</entry></row> +<row><entry namest="c2" nameend="c3">2</entry></row> +<row><entry>1</entry><entry>2</entry><entry>3</entry></row> +</tbody> +</tgroup> +</table> + +<table><title>A Table</title> +<?dbhtml table-width="7in"?> +<tgroup cols="3"> +<colspec colname="c1" colwidth="2in"/> +<colspec align="right" colname="c2" colnum="2" colwidth="2in"/> +<colspec colname="c3" colwidth="3in"/> +<tbody> +<row><entry>1</entry><entry>2</entry><entry>3</entry></row> +<row><entry>1</entry><entry morerows="1">2</entry><entry>3</entry></row> +<row><entry>1</entry><entry>3</entry></row> +<row><entry>1</entry><entry>2</entry><entry>3</entry></row> +<row><entry>1</entry><entry namest="c2" nameend="c3">2</entry></row> +<row><entry>1</entry><entry>2</entry><entry>3</entry></row> +<row><entry>1</entry><entry colname="c2">2</entry><entry>3</entry></row> +<row><entry colname="c2">2</entry><entry>3</entry></row> +<row><entry>1</entry><entry>2</entry><entry>3</entry></row> +<row><entry namest="c2" nameend="c3">2</entry></row> +<row><entry>1</entry><entry>2</entry><entry>3</entry></row> +</tbody> +</tgroup> +</table> + +<table><title>A Table</title> +<?dbhtml table-width="85%"?> +<tgroup cols="3"> +<colspec align="right" colname="c2" colnum="2" colwidth="2in"/> +<colspec colname="c3" colwidth="3in"/> +<tbody> +<row><entry>1</entry><entry>2</entry><entry>3</entry></row> +<row><entry>1</entry><entry morerows="1">2</entry><entry>3</entry></row> +<row><entry>1</entry><entry>3</entry></row> +<row><entry>1</entry><entry>2</entry><entry>3</entry></row> +<row><entry>1</entry><entry namest="c2" nameend="c3">2</entry></row> +<row><entry>1</entry><entry>2</entry><entry>3</entry></row> +<row><entry>1</entry><entry colname="c2">2</entry><entry>3</entry></row> +<row><entry colname="c2">2</entry><entry>3</entry></row> +<row><entry>1</entry><entry>2</entry><entry>3</entry></row> +<row><entry namest="c2" nameend="c3">2</entry></row> +<row><entry>1</entry><entry>2</entry><entry>3</entry></row> +</tbody> +</tgroup> +</table> + +</chapter> + diff --git a/tests/docbook/test/test.xml b/tests/docbook/test/test.xml new file mode 100644 index 00000000..007abbcc --- /dev/null +++ b/tests/docbook/test/test.xml @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE article + PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "../dtd/4.1.2/docbookx.dtd"> +<article> +<articleinfo> +<title>Article Title</title> +<keywordset> +<keyword>keyword1</keyword> +<keyword>keyword2</keyword> +<keyword>keyword3</keyword> +</keywordset> +</articleinfo> + +<screen linenumbering="numbered"><?dbhtml linenumbering.everyNth="3" linenumbering.separator=" XX"?>This + is <lineannotation>With a line-annotation</lineannotation> + a + screen<co id="foo"/> + This + is <lineannotation>With a line-annotation</lineannotation> + a +screen +This + is <lineannotation>With a line-annotation</lineannotation> + a + screen</screen> + +<para>What about <xref linkend="foo"/>?</para> + +<mediaobjectco> +<imageobjectco> +<areaspec units="calspair"> + <areaset id="oneway" coords=""> + <area id="oneway1" coords="300 400"/> + <area id="oneway2" coords="325 340"/> + </areaset> + <area id="myhouse" coords="425 590"/> +</areaspec> +<!-- This is not a real URL! --> +<imageobject> +<imagedata fileref="http://maps.example.com/EARTH?USA?MA?AMHERST"/> +</imageobject> +</imageobjectco> +</mediaobjectco> + +</article> diff --git a/tests/docbook/test/test.xsl b/tests/docbook/test/test.xsl new file mode 100644 index 00000000..5d5a7e80 --- /dev/null +++ b/tests/docbook/test/test.xsl @@ -0,0 +1,9 @@ +<?xml version="1.0"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> + +<xsl:import href="../html/docbook.xsl"/> + +<xsl:output doctype-public="..." doctype-system="..."/> + +</xsl:stylesheet> diff --git a/tests/docbook/test/verbtest.xml b/tests/docbook/test/verbtest.xml new file mode 100644 index 00000000..b1cd2ced --- /dev/null +++ b/tests/docbook/test/verbtest.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE book + PUBLIC "-//Norman Walsh//DTD DocBk XML V3.1.7//EN" + "../dtd/3.1.7/docbookx.dtd"> +<book id="book"> +<title>Book Title</title> + +<chapter id="ch1"> +<title>test</title> +<para>How many ° can you ©.</para> +<para>And what about <xref linkend="ch1"/>.</para> +<para>And what about <xref linkend="s1"/>.</para> + +<programlisting> +This is a program +listing. +</programlisting> + +</chapter> +</book> |