]> granicus.if.org Git - docbook-dsssl/commitdiff
Screenshot test
authorNorman Walsh <ndw@nwalsh.com>
Wed, 22 Jan 2003 17:43:04 +0000 (17:43 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Wed, 22 Jan 2003 17:43:04 +0000 (17:43 +0000)
testdocs/tests/figure.004.xml [new file with mode: 0644]

diff --git a/testdocs/tests/figure.004.xml b/testdocs/tests/figure.004.xml
new file mode 100644 (file)
index 0000000..c4ea540
--- /dev/null
@@ -0,0 +1,47 @@
+<?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: figure.004</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>A centered figure.</para>
+
+<figure id="figduck">
+  <title>The Duck</title>
+  <mediaobject>
+    <imageobject>
+      <imagedata
+        align="center"
+        fileref="graphics/duck-small.png"
+        format="PNG"
+        srccredit="O'Reilly &amp; Associates/Dover Archives"/>
+    </imageobject>
+    <textobject><phrase>The DocBook: TDG Duck</phrase></textobject>
+  </mediaobject>
+</figure>
+
+<para>A centered screenshot.</para>
+
+<figure id="figduckscreen">
+  <title>The Duck Screenshot (looks the same)</title>
+  <screenshot>
+    <mediaobject>
+      <imageobject>
+        <imagedata
+          align="center"
+          fileref="graphics/duck-small.png"
+          format="PNG"
+          srccredit="O'Reilly &amp; Associates/Dover Archives"/>
+      </imageobject>
+      <textobject><phrase>The DocBook: TDG Duck</phrase></textobject>
+    </mediaobject>
+  </screenshot>
+</figure>
+
+</article>