From: Norman Walsh Date: Sat, 21 Apr 2001 20:29:54 +0000 (+0000) Subject: My initial set of test documents X-Git-Tag: release/1.79.1~6^2~6566 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=148dbe57a702dc54f68a5a34e16b580dd47a1ca1;p=docbook-dsssl My initial set of test documents --- diff --git a/testdocs/.cvsignore b/testdocs/.cvsignore new file mode 100644 index 000000000..eee82073f --- /dev/null +++ b/testdocs/.cvsignore @@ -0,0 +1,2 @@ +mlang.sgm +mlang.xml diff --git a/testdocs/Makefile b/testdocs/Makefile new file mode 100644 index 000000000..fca2507a0 --- /dev/null +++ b/testdocs/Makefile @@ -0,0 +1,112 @@ +include ../cvstools/Makefile.incl + +XSLHTML=../xsl/html/docbook.xsl +XSLFO=../xsl/fo/docbook.xsl +XSLCHUNK=../xsl/html/chunk.xsl + +CHUNK=0 +STYLEOPT= + + +FORMATTER=xep + +RESULT=html + +ifeq ($(RESULT),html) + STYLE=$(XSLHTML) + USETIDY=1 +else + STYLE=$(XSLFO) + USETIDY=0 +endif + +all: + @echo Select a target + +mlang.xml : mlang.pl + perl mlang.pl > $@ + +no-toc.$(RESULT): toc.xml + $(XSLT) $< $(STYLE) $@ generate.book.toc=0 process.source.toc=0 process.empty.source.toc=0 $(STYLEOPT) +ifeq ($(USETIDY),1) + $(TIDY) -iq -latin1 -mn $@ +endif + +auto-toc.$(RESULT): toc.xml + $(XSLT) $< $(STYLE) $@ generate.book.toc=1 process.source.toc=0 process.empty.source.toc=0 $(STYLEOPT) +ifeq ($(USETIDY),1) + $(TIDY) -iq -latin1 -mn $@ +endif + +source-toc.$(RESULT): toc.xml + $(XSLT) $< $(STYLE) $@ generate.book.toc=0 process.source.toc=1 process.empty.source.toc=1 $(STYLEOPT) +ifeq ($(USETIDY),1) + $(TIDY) -iq -latin1 -mn $@ +endif + +all-toc-dl.$(RESULT): toc.xml + $(XSLT) $< $(STYLE) $@ generate.book.toc=1 process.source.toc=1 process.empty.source.toc=1 toc.list.type=dl $(STYLEOPT) +ifeq ($(USETIDY),1) + $(TIDY) -iq -latin1 -mn $@ +endif + +all-toc-ul.$(RESULT): toc.xml + $(XSLT) $< $(STYLE) $@ generate.book.toc=1 process.source.toc=1 process.empty.source.toc=1 toc.list.type=ul $(STYLEOPT) +ifeq ($(USETIDY),1) + $(TIDY) -iq -latin1 -mn $@ +endif + +test-toc: all-toc-dl.$(RESULT) all-toc-ul.$(RESULT) auto-toc.$(RESULT) no-toc.$(RESULT) source-toc.$(RESULT) + +%.html : %.xml +ifeq ($(CHUNK),1) + $(XSLT) $< $(XSLCHUNK) $@ $(STYLEOPT) +ifeq ($(USETIDY),1) + $(TIDY) -iq -latin1 -mn *.html +endif +else + $(XSLT) $< $(XSLHTML) $@ $(STYLEOPT) +ifeq ($(USETIDY),1) + $(TIDY) -iq -latin1 -mn $@ +endif +endif + +%.fo : %.xml +ifeq ($(FORMATTER),tex) + $(XSLT) $< $(XSLFO) $@ passivetex.extensions=1 $(STYLEOPT) +else +ifeq ($(FORMATTER),fop) + $(XSLT) $< $(XSLFO) $@ fop.extensions=1 $(STYLEOPT) +else + $(XSLT) $< $(XSLFO) $@ $(STYLEOPT) +endif +endif + +%.pdf : %.fo +ifeq ($(FORMATTER),tex) + pdftex "&pdfxmltex" $< + @if [ `grep Rerun $(basename $@).log | wc -l` -gt 0 ]; then \ + pdftex "&pdfxmltex" $< ; \ + fi + @if [ `grep Rerun $(basename $@).log | wc -l` -gt 0 ]; then \ + pdftex "&pdfxmltex" $< ; \ + fi +else +ifeq ($(FORMATTER),fop) + fop $< $@ +else +ifeq ($(FORMATTER),xep) + xep $< +else + echo How would you like me to make the PDF file? +endif +endif +endif + +clean: + rm -f *.html *.htm *.fo *.pdf *.ps *.rtf + rm -f *.log *.aux *.out + rm -f mlang.xml mlang.sgm + rm -f toc.hhc htmlhelp.hhp htmlhelp.chm Index.hhk + rm -f HTML.index + rm -f jhelpidx.xml jhelpmap.jhm jhelpset.hs jhelptoc.xml diff --git a/testdocs/admon.xml b/testdocs/admon.xml new file mode 100644 index 000000000..64485efe3 --- /dev/null +++ b/testdocs/admon.xml @@ -0,0 +1,19 @@ + + + +
+ +Admonitions + + +This article tests admonitions. + + +Who can do this +All operators + + +
+ diff --git a/testdocs/bibliography.xml b/testdocs/bibliography.xml new file mode 100644 index 000000000..6511c0bd7 --- /dev/null +++ b/testdocs/bibliography.xml @@ -0,0 +1,189 @@ + + + +Bibliography Tests + + +A Test Bibliography + + +The stock stylesheet attempts to do a Bibliography. It probably needs +a lot of tweaking. It probably doesn't conform to any specific style. + + +Books + + + AhoSethiUllman96 + + Alfred V.Aho + RaviSethi + Jeffrey D.Ullman + + Compilers, Principles, Techniques, and Tools + + Addison-Wesley Publishing Company + + 1996 + Bell Telephone Laboratories, Inc. + 0-201-10088-6 + James T.DeWolf + + + +Periodicals + + + Walsh97 + + A Guide to XML + WalshNorman + 1997 + 1997ArborText, Inc. + 97-108 + + + XML: Principles, Tools, and Techniques + + O'Reilly & Associates, Inc. + + 1085-2301 + DanConnolly + + + + + + Walsh, Norman. + Introduction to Cascading Style Sheets. + + + The World Wide Web Journal. + 2(1). + O'Reilly & Associates, Inc. and + The World Wide Web Consortium. + Winter, 1996. + + + +Abbrev +A Really Full BiblioEntry +Subtitle + +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. + +
Any Street +Anywhere, XX 99999 +USA
+ +shortaffil +jobtitle +orgname +orgdiv +
Any Street +Anywhere, XX 99999 +USA
+
+ArtPageNums +AuthorFirstnameAuthorSurname + + +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. + + +AuthorInitials +The names of some collaborators + +shortaffil +jobtitle +orgname +orgdiv +
Any Street +Anywhere, XX 99999 +USA
+
+ +confdates +conftitle +confnum +
Any Street +Anywhere, XX 99999 +USA
+confsponsor +
+ContractNum +ContractSponsor +Contrib +1998Copyright holder + +CorpName +Date +Edition +EditorFirstNameEditorSurname +FirstName +Honorific +ISBN +ISSN +InvPartNumber +IssueNum +Lineage +OrgName +OCFirstNameOCSurname +OtherName +PageNums + + +PrintHistory, printhistory, printhistory. PrintHistory, printhistory. +PrintHistory, printhistory, printhistory. PrintHistory, printhistory. +PrintHistory, printhistory, printhistory. PrintHistory, printhistory. +PrintHistory, printhistory, printhistory. PrintHistory, printhistory. + +ProductName +ProductNumber +PubDate +PubPublisherName +
Any Street +Anywhere, XX 99999 +USA
+
+PublisherName +PubsNumber +ReleaseInfo + + +1.020 Nov 1998 + ndw + Some remark about the revision + +0.919 Nov 1998 + ndw + Some remark about the revision + +0.418 Nov 1998 + ndw + Some remark about the revision + +SeriesVolNums +Surname +TitleAbbrev +VolumeNum +
+ + +
+ +
+ +
+ diff --git a/testdocs/book.xml b/testdocs/book.xml index dd5aa99b0..6a2097460 100644 --- a/testdocs/book.xml +++ b/testdocs/book.xml @@ -3,20 +3,26 @@ PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> -Book Test Document Title + -Bookinfo Test Document Title -Book Subtitle +Book Title + +book keyword1 +book keyword2 + -NormanWalsh -JohnDoe + +John +Doe + + +Jane +Doe +Some contribution + -Some releaseinfo -2000Norman Walsh -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. @@ -93,6 +99,10 @@ Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. Part One Title + +part keyword1 +part keyword2 + Foo! A legal notice in a part! @@ -156,7 +166,15 @@ Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. -Second <emphasis>Chapter</emphasis> + + + +chapter keyword1 +chapter keyword2 + + +Second <emphasis>Chapter</emphasis> + This is a test paragraph. ap1 diff --git a/testdocs/callouts.xml b/testdocs/callouts.xml new file mode 100644 index 000000000..2222a2db5 --- /dev/null +++ b/testdocs/callouts.xml @@ -0,0 +1,111 @@ + + + +Callouts + +Callouts using co: + + +(let loopvar ((count 1)) + (if (> count 10) + #t + (loopvar (+ count 1)))) + + + +This variable controls the loop. It is declared without an +initial value, immediately after the let +operand. + + +Any number of additional local variables can be defined after +the loop variable, just as they can in any other +let expression. + + +If you ever want the loop to end, you have to put some sort of a +test in it. + + +This is the value that will be returned. + + +Note that you iterate the loop by using the loop variable as if +it was a function name. + + +The arguments to this function are the values that +you want the local variables declared in to have +in the next iteration. + + + +Callouts using programlistingco: + + + + + + + + + + + + +@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; + + +The prologue handles embedding a Perl script in a DOS batch file. + + +The goto statement, interpreted by the DOS batch +file interpreter, skips over the body of the Perl script. + + +The require statement sources in external program +fragments. + + +The use statement is similar, but has additional +utility. It is a Perl5 function. (Note that this callout area specifies +both a line and a column.) + + +This is a user subroutine call. + + + + + diff --git a/testdocs/faq.xml b/testdocs/faq.xml new file mode 100644 index 000000000..4987b63b2 --- /dev/null +++ b/testdocs/faq.xml @@ -0,0 +1,42 @@ + + +
+ + An xref to a Question + + Jon + Willeke + + + + + + Question one. + + Answer one. +See + + + + + Question two. + + Answer two. + + + + + Question two. + + + testing a list + testing a list + testing a list + + + + + +
diff --git a/testdocs/footnotes.xml b/testdocs/footnotes.xml new file mode 100644 index 000000000..d4554c362 --- /dev/null +++ b/testdocs/footnotes.xml @@ -0,0 +1,31 @@ + + + +foo + + Chapter Title + This paragraph contains a footnote +This is a footnote.. + + First Section + A paragraph. + This paragraph contains a footnote +This is another footnote.. + + + + Section Title<footnote> + <para>Boring, I know, but it just tests the fact that a footnote +can occur in a title.</para></footnote> + A paragraph. + + + Subsection Title + This paragraph contains a footnote +This is yet another footnote.. + + + + + diff --git a/testdocs/formal.xml b/testdocs/formal.xml new file mode 100644 index 000000000..d0c434e1e --- /dev/null +++ b/testdocs/formal.xml @@ -0,0 +1,26 @@ + + + +
+ +Formal Objects + + +This article tests formal objects. + +Formal Paragraph +This is a formalpara. + + +An Example + +This is a programlisting in an example. + + + + + +
+ diff --git a/testdocs/glossary.xml b/testdocs/glossary.xml new file mode 100644 index 000000000..8763cb641 --- /dev/null +++ b/testdocs/glossary.xml @@ -0,0 +1,89 @@ + + + +Glossary Tests + + + +foo + +1. interj. Term of disgust. 2. [very common] Used very generally +as a sample name for absolutely anything, esp. programs and files +(esp. scratch files). 3. First on the standard list of metasyntactic +variables used in syntax examples. +From the Jargon File +bar +baz +qux +quux +corge +grault +garply +waldo +fred +plugh +xyzzy +thud + + + + + + +Glossary Division + +foo + +1. interj. Term of disgust. 2. [very common] Used very generally +as a sample name for absolutely anything, esp. programs and files +(esp. scratch files). 3. First on the standard list of metasyntactic +variables used in syntax examples. +From the Jargon File +bar +baz +qux +quux +corge +grault +garply +waldo +fred +plugh +xyzzy +thud + + + + + +Glossary With This Title + +Glossary Division + +foo + +1. interj. Term of disgust. 2. [very common] Used very generally +as a sample name for absolutely anything, esp. programs and files +(esp. scratch files). 3. First on the standard list of metasyntactic +variables used in syntax examples. +From the Jargon File +bar +baz +qux +quux +corge +grault +garply +waldo +fred +plugh +xyzzy +thud + + + + + + diff --git a/testdocs/idx.xml b/testdocs/idx.xml new file mode 100644 index 000000000..67b02e129 --- /dev/null +++ b/testdocs/idx.xml @@ -0,0 +1,53 @@ + + +Book Test Index Document Title + + +Title <ulink url="http://www.example.com/">Link Test</ulink> + + + chapter + + + something + + +Paragraph +paragraph. + + +Setting Up IPX/<!-- unused marker -->SPX +<indexterm><primary>TCP/IP communication protocol</primary> +<secondary>using</secondary> +</indexterm><indexterm><primary>Connection</primary> +<secondary>TCP/IP</secondary> +</indexterm>Support Files + + +Q&A Div 1 + + + + QandADiv1 + + + Q1 entry + +Question para 1 +Question para 2 + + +Answer para 1 +Answer para 2 + + + + + + + + + + + diff --git a/testdocs/inline.xml b/testdocs/inline.xml new file mode 100644 index 000000000..495cecb0a --- /dev/null +++ b/testdocs/inline.xml @@ -0,0 +1,23 @@ + + + +
+ +Inline Objects + + +This article tests inline objects. + +
Trademark + +This is trademarked. +This is copyrighted. +This is a registered trademark. +This is is a service mark. + +
+ +
+ diff --git a/testdocs/links.xml b/testdocs/links.xml new file mode 100644 index 000000000..e1887e2ee --- /dev/null +++ b/testdocs/links.xml @@ -0,0 +1,19 @@ + + + +
+ +Lists + + +
Section Title + +Self-referencial xref: . +And a link, too. + +
+ +
+ diff --git a/testdocs/lists.xml b/testdocs/lists.xml new file mode 100644 index 000000000..5851a0535 --- /dev/null +++ b/testdocs/lists.xml @@ -0,0 +1,25 @@ + + + +
+ +Lists + + + +VariableList Title +Term1 +Definition of Term1 + +Term2 +Definition of Term2 + +Term3aTerm3bTerm3c +Definition of Term3a,b,c + + + +
+ diff --git a/testdocs/mathml.xml b/testdocs/mathml.xml new file mode 100644 index 000000000..0207776d2 --- /dev/null +++ b/testdocs/mathml.xml @@ -0,0 +1,11 @@ + +Chapter Title +Content. + + + + + + + diff --git a/testdocs/mlang.pl b/testdocs/mlang.pl new file mode 100644 index 000000000..7f4bc04ec --- /dev/null +++ b/testdocs/mlang.pl @@ -0,0 +1,154 @@ +#!/usr/bin/perl -- # -*- Perl -*- + +use strict; +use Getopt::Long; + +my $usage = "$0 [--xml | --sgml ] [ --language lang ... ] [ --notlanguage lang ... ]\n"; + +my %option = ('debug' => 0, + 'verbose' => 0, + 'xml' => 0, + 'sgml' => 0, + 'language' => undef, + 'notlanguage' => undef); + +my %opt = (); + +&GetOptions(\%opt, + 'debug+', + 'verbose+', + 'xml!', + 'sgml!', + 'language=s@', + 'notlanguage=s@'); + +foreach my $key (keys %option) { + $option{$key} = $opt{$key} if exists($opt{$key}); +} + +my %languages = ('ca' => 'Catalan', + 'cs' => 'Czech', + 'da' => 'Danish', + 'de' => 'German', + 'el' => 'Greek', + 'en' => 'English', + 'es' => 'Spanish', + 'et' => 'Estonian', + 'fi' => 'Finnish', + 'fr' => 'French', + 'hu' => 'Hungarian', + 'id' => 'Indonesian', + 'it' => 'Italian', + 'ja' => 'Japanese', + 'ko' => 'Korean', + 'nl' => 'Dutch', + 'no' => 'Norwegian', + 'pl' => 'Polish', + 'pt' => 'Portuguese', + 'pt_br' => 'Portuguese (Brazil)', + 'ro' => 'Romanian', + 'ru' => 'Russian', + 'sk' => 'Slovak', + 'sl' => 'Slovenian', + 'sv' => 'Swedish', + 'zh_cn' => 'Chinese (Continental)', + 'zh_tw' => 'Chinese (Traditional)'); + +my %uselanguages = (); + +if ($option{'language'}) { + my @langs = @{$option{'language'}}; + foreach my $lang (@langs) { + if ($languages{$lang}) { + print STDERR "Using ", $languages{$lang}, "\n" + if $option{'verbose'}; + $uselanguages{$lang} = 1; + } else { + warn "Unrecognized language: $lang\n"; + } + } +} else { + %uselanguages = %languages; +} + +if ($option{'notlanguage'}) { + my @langs = @{$option{'notlanguage'}}; + foreach my $lang (@langs) { + if ($uselanguages{$lang}) { + print STDERR "Suppressing ", $languages{$lang}, "\n" + if $option{'verbose'}; + delete($uselanguages{$lang}); + } else { + warn "Unused language: $lang\n"; + } + } +} + +my $public_id = "-//OASIS//DTD DocBook XML V4.1.2//EN"; +my $system_id = "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"; + +if ($option{'sgml'}) { + $public_id = "-//OASIS//DTD DocBook V4.1//EN"; + $system_id = "http://www.oasis-open.org/docbook/sgml/4.1/docbook.dtd"; +} + +print < + + +Book Title + + +To test multilingual capability, this book claims to be in German. +Of course, I don't know a word of German so it's really mostly +English. + + + +EOF3 + +foreach my $lang (sort keys %uselanguages) { + my $langid = $lang; + $langid =~ s/_//g; + + print < + + + Surname + Firstname + + +$languages{$lang} + + +This paragraph would be in $languages{$lang}, if I knew any. +Quote test. + + +Author formatting test: .\nCross reference tests:\n"; + } else { + print "/>.\nCross reference tests:\n"; + } + + foreach my $otherlang (sort keys %uselanguages) { + my $otherlangid = $otherlang; + $otherlangid =~ s/_//g; + if ($otherlang ne $lang) { + print "See .\n"; + } + } + + print < +
+ +EOF2 +} + +print "
\n"; diff --git a/testdocs/sections.xml b/testdocs/sections.xml new file mode 100644 index 000000000..edda8a736 --- /dev/null +++ b/testdocs/sections.xml @@ -0,0 +1,25 @@ + + + +
+ +Formal Objects + + +A test paragraph. + + + sect1 title + + + first sect2 title + Please read + + + + second sect2 title + + +
diff --git a/testdocs/set.xml b/testdocs/set.xml new file mode 100644 index 000000000..82b74ef83 --- /dev/null +++ b/testdocs/set.xml @@ -0,0 +1,293 @@ + + + + + +Book One Title + +First Chapter of First Book +... + +Second Chapter of First Book +... + +Third Chapter of First Book +... + +Fourth Chapter of First Book +... + + + + + +Book Two Title + +book keyword1 +book keyword2 + + + +John +Doe + + +Jane +Doe +Some contribution + + + + +Some legal notice. Some legal notice. Some legal notice. + + +16 December 2000 + +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. + +Some abstract. Some abstract. Some abstract. Some abstract. +Some abstract. Some abstract. Some abstract. Some abstract. + + + + +1.0 +20 Nov 1998 +ndw +Some remark about the revision + + +0.9 +19 Nov 1998 +ndw +Some remark about the revision + + +0.4 +18 Nov 1998 +ndw +Some remark about the revision + + + + +First Dedication +Just a test. “What about—this?” +Blah blah blah blah. Blah blah blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. +Blah blah blah blah blah blah blah blah. Blah blah blah blah. +Blah. Blah blah blah blah. Blah blah. Blah blah blah blah. + + + + +Just a test dedication. + + +Foreword + +This is a test paragraph. + + +Preface +This is a test preface. + + + + +Part One Title + +part keyword1 +part keyword2 + + +Foo! A legal notice in a part! + + +Part One Title + +PartIntro Title +Partintro content +This is a footnote in a partintro. +. + +PartIntro Section +PartIntros can actually have section content as well. + + + +Section <anchor id="stestfoo"/>Tests + +First Sect1 +Paragraph. +
Test Figure +This is a + ProgramListing + +
+
+Second Sect1 +Paragraph. +Sect2 +Paragraph. +Sect3 +Paragraph. +Sect4 +Paragraph. + + + + +Third Sect1 +Paragraph. +
Test Figure +This is a + ProgramListing + +
+
+ +
+
+ + + First Chapter + Chapter Subtitle + +First Chapter +This is a test paragraph. +
Test Figure +This is a + ProgramListing + +
+
+ + + + +chapter keyword1 +chapter keyword2 + + +Second <emphasis>Chapter</emphasis> + +This is a test paragraph. + +ap1 + + +ap2 + + + +bp1 +bp1bs1 + + +bp2 + + + +cp1 +cp1cs1 +cp1cs1ct1 + + + +cp2 + + +cp2seecp2 + + + +dp1 +dp1ds1 + + +dp1 +dp1ds2 + + +dp2 + + + +Third Chapter +This is a test paragraph. + + +First Appendix +This is just a test. +
Test Figure +This is a + ProgramListing + +
+
+ +Second Appendix +This is just a test. + +ap1 + + +ap2 + + + +bp1 +bp1bs1 + + +bp2 + + + +cp1 +cp1cs1 +cp1cs1ct1 + + +cp2 + + + +dp1 +dp1ds1 + + +dp1 +dp1ds2 + + +dp2 + + + + + +
+
diff --git a/testdocs/table.xml b/testdocs/table.xml new file mode 100644 index 000000000..09cd20b58 --- /dev/null +++ b/testdocs/table.xml @@ -0,0 +1,52 @@ + + + +Tables + +Slicing Options + + + + + + +Output +Input + + +Uniform +Perimeter +Curvilinear + + + + +Uniform +OrthoSlice, Slice +- +- + + + +Perimeter +- +OrthoSlice +- + + +Curvilinear +OrthoSlice +OrthoSlice +OrthoSlice + + +Pyramid +- +- +ProbeLat + + + +
+
diff --git a/testdocs/toc.xml b/testdocs/toc.xml new file mode 100644 index 000000000..8528e754e --- /dev/null +++ b/testdocs/toc.xml @@ -0,0 +1,70 @@ + + + + + +ToC Test + +Empty ToC +First, an empty toc: + + +Content-full ToC +Now, an abbreviated ToC from +DocBook: The Definitive Guide: + + + + +Preface + + Fake Entry + Why Read This Book? + This Book's Audience + Organization of This Book + Conventions Used in This Book + Getting This Book + Getting Examples from This Book + Getting DocBook + Request for Comments + Acknowledgements from Norm + Acknowledgements from Lenny + Acknowledgements from Norm and Lenny + + + +Introduction + +Getting Started with SGML/XML + + HTML and SGML vs. XML + Basic SGML/XML Concepts + Elements and Attributes + Entities + How Does DocBook Fit In? + + Testing a third level TOC + + + + +Creating DocBook Documents + + Making an SGML Document + Making an XML Document + + + + +First chapter +This chapter tests the empty toc. + +Second chapter +This chapter tests the empty toc. + +Third chapter +This chapter tests the empty toc. + +