]> granicus.if.org Git - docbook-dsssl/commitdiff
Testing updates
authorNorman Walsh <ndw@nwalsh.com>
Thu, 16 May 2002 16:52:45 +0000 (16:52 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Thu, 16 May 2002 16:52:45 +0000 (16:52 +0000)
testdocs/.cvsignore
testdocs/graphics/stamp.png [new file with mode: 0644]
testdocs/graphics/stamp200x128.png [new file with mode: 0644]
testdocs/graphics/stamp200x256.png [new file with mode: 0644]
testdocs/graphics/stamp400x256.png [new file with mode: 0644]
testdocs/imagelib/imagelib.xml [new file with mode: 0644]
testdocs/tests/book.001.xml
testdocs/tests/imagelib.001.xml [new file with mode: 0644]
testdocs/tests/itemizedlist.003.xml [new file with mode: 0644]
testdocs/tests/mediaobject.001.xml

index 8d3e4ffaa43cd3d19a0cce28648c349b444a0374..99ff2777ec7ec42bbbe382094881498e8abedbab 100644 (file)
@@ -3,3 +3,4 @@ mlang.sgm
 mlang.xml
 mlang.fo
 WhatsNew
+mtest
diff --git a/testdocs/graphics/stamp.png b/testdocs/graphics/stamp.png
new file mode 100644 (file)
index 0000000..b111258
Binary files /dev/null and b/testdocs/graphics/stamp.png differ
diff --git a/testdocs/graphics/stamp200x128.png b/testdocs/graphics/stamp200x128.png
new file mode 100644 (file)
index 0000000..b111258
Binary files /dev/null and b/testdocs/graphics/stamp200x128.png differ
diff --git a/testdocs/graphics/stamp200x256.png b/testdocs/graphics/stamp200x256.png
new file mode 100644 (file)
index 0000000..8902d63
Binary files /dev/null and b/testdocs/graphics/stamp200x256.png differ
diff --git a/testdocs/graphics/stamp400x256.png b/testdocs/graphics/stamp400x256.png
new file mode 100644 (file)
index 0000000..821af50
Binary files /dev/null and b/testdocs/graphics/stamp400x256.png differ
diff --git a/testdocs/imagelib/imagelib.xml b/testdocs/imagelib/imagelib.xml
new file mode 100644 (file)
index 0000000..4f36e52
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<image-library>
+<image filename="graphics/duck-small.gif">
+  <properties width="10" height="10"></properties>
+</image>
+<image filename="graphics/duck-small.png">
+  <properties width="20" height="20"></properties>
+</image>
+</image-library>
index 7ecac3384178f9d78fe16791cd131899ddd9d261..c0994ccfa53ac3b620150333ebc09d5156ad2ffb 100644 (file)
@@ -5,6 +5,7 @@
 </para>">
 ]>
 <book id="book">
+<?dbhtml filename="book.html" dir="html"?>
 <bookinfo>
 <title>Unit Test: book.001</title>
 <releaseinfo role="CVS">$Id$</releaseinfo>
@@ -186,6 +187,7 @@ Some abstract. Some abstract. Some abstract. Some abstract.
 
 </part>
 <part id="partII"><title>Appendixes</title>
+<?dbhtml dir="x"?>
 
 <appendix id="app1"><title>First Appendix</title>
 
@@ -217,6 +219,7 @@ Some abstract. Some abstract. Some abstract. Some abstract.
 </appendix>
 
 <appendix id="app2"><title>Second Appendix</title>
+<?dbhtml filename="app2.html"?>
 
 &blah; &blah; &blah; &blah; &blah; &blah; &blah; &blah; &blah; &blah;
 &blah; &blah; &blah; &blah; &blah; &blah; &blah; &blah; &blah; &blah;
diff --git a/testdocs/tests/imagelib.001.xml b/testdocs/tests/imagelib.001.xml
new file mode 100644 (file)
index 0000000..4ecca7e
--- /dev/null
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+                  "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article id="article">
+<articleinfo>
+<title>Unit Test: imagelib.001.xml</title>
+<releaseinfo role="CVS">$Id$</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+        <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>This is an image library test.</para>
+
+<!--
+<graphic fileref="graphics/duck-small.gif"/>
+-->
+
+  <mediaobject>
+    <imageobject>
+      <imagedata
+        align="right"
+        width="50%"
+        fileref="graphics/duck-small.gif"
+        srccredit="O'Reilly &amp; Associates/Dover Archives"/>
+    </imageobject>
+    <imageobject>
+      <imagedata
+        align="right"
+        width="50%"
+        fileref="graphics/duck-small.png"
+        format="PNG"
+        srccredit="O'Reilly &amp; Associates/Dover Archives"/>
+    </imageobject>
+    <textobject><phrase>The DocBook: TDG Duck</phrase></textobject>
+    <textobject>
+<para>The bird on the cover of <citetitle>DocBook: The Definitive
+Guide</citetitle> is a wood duck.  Often considered one of the most
+beautiful ducks in North America, the mail wood duck has a metallic
+purple and green head with white streaks extending from its bill
+around the eyes and down to its blue and green, gold-flecked
+wings. It has a white neck, chestnut-colored chest, a white or red
+bill, and yellow-orange legs and feet. Females have more brown, gray,
+and subdueed hues.
+</para>
+
+<para>Edie Freedman designed the cover of this book, using a
+19th-century engraving from the Dover Pictorial Archive. The
+cover layout was produced by Kathleen Wilson using QuarkXPress
+3.32 and Adobe's ITC Garamond font. The inside layout was
+designed by Alicia Cech, based on a series design by Nancy
+Priest. The text was formatted from SGML into FrameMaker 5.5
+with Jade, using a DSSSL conversion stylesheet written by
+Chris Maden. The interior fonts are ITC Garamond Light,
+Garamond Book, and ConstantWillison.
+</para>
+    </textobject>
+    <caption><para>The Duck</para></caption>
+  </mediaobject>
+
+</article>
diff --git a/testdocs/tests/itemizedlist.003.xml b/testdocs/tests/itemizedlist.003.xml
new file mode 100644 (file)
index 0000000..2d3781b
--- /dev/null
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+                  "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: itemizedlist.003</title>
+<releaseinfo role="CVS">$Id$</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+        <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<itemizedlist>
+  <listitem><para>some text (not compact)</para></listitem>
+  <listitem><para>some text (not compact)</para></listitem>
+  <listitem><para>some text (not compact)</para></listitem>
+  <listitem><para>some text (not compact)</para></listitem>
+  <listitem><para>some text (not compact)</para></listitem>
+  <listitem><para>some text (not compact)</para></listitem>
+  <listitem><para>some text (not compact)</para></listitem>
+</itemizedlist>
+
+<orderedlist>
+  <listitem><para>some text (not compact)</para></listitem>
+  <listitem><para>some text (not compact)</para></listitem>
+  <listitem><para>some text (not compact)</para></listitem>
+  <listitem><para>some text (not compact)</para></listitem>
+  <listitem><para>some text (not compact)</para></listitem>
+  <listitem><para>some text (not compact)</para></listitem>
+  <listitem><para>some text (not compact)</para></listitem>
+</orderedlist>
+
+<itemizedlist spacing="compact">
+  <listitem><para>some text (compact)</para></listitem>
+  <listitem><para>some text (compact)</para></listitem>
+  <listitem><para>some text (compact)</para></listitem>
+  <listitem><para>some text (compact)</para></listitem>
+  <listitem><para>some text (compact)</para></listitem>
+  <listitem><para>some text (compact)</para></listitem>
+  <listitem><para>some text (compact)</para></listitem>
+</itemizedlist>
+
+<orderedlist spacing="compact">
+  <listitem><para>some text (compact)</para></listitem>
+  <listitem><para>some text (compact)</para></listitem>
+  <listitem><para>some text (compact)</para></listitem>
+  <listitem><para>some text (compact)</para></listitem>
+  <listitem><para>some text (compact)</para></listitem>
+  <listitem><para>some text (compact)</para></listitem>
+  <listitem><para>some text (compact)</para></listitem>
+</orderedlist>
+
+</article>
index de6bbc31eeb0699de68e70dea3abf580f139a060..6ea3e76d501cc4a61f471047e756afb4119bf1fd 100644 (file)
@@ -2,6 +2,7 @@
 <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
                   "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
 <article>
+<?dbhtml dir="html"?>
 <articleinfo>
 <title>Unit Test: mediaobject.001</title>
 <releaseinfo role="CVS">$Id$</releaseinfo>