]> granicus.if.org Git - docbook-dsssl/commitdiff
test from St��phane Bortzmeyer for footnotes within programlistings
authorAdam Di Carlo <adicarlo@users.sourceforge.net>
Fri, 14 Feb 2003 16:21:27 +0000 (16:21 +0000)
committerAdam Di Carlo <adicarlo@users.sourceforge.net>
Fri, 14 Feb 2003 16:21:27 +0000 (16:21 +0000)
testdocs/tests/programlisting.004.xml [new file with mode: 0644]

diff --git a/testdocs/tests/programlisting.004.xml b/testdocs/tests/programlisting.004.xml
new file mode 100644 (file)
index 0000000..2f3deca
--- /dev/null
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+     "dtd/xml/4.1.2/docbookx.dtd">
+<article id="programlisting.004">
+  <articleinfo>
+    <title>Unit Test: programlisting.004</title>
+    <author>
+      <firstname>Stéphane</firstname><surname>Bortzmeyer</surname>
+    </author>
+  </articleinfo>
+
+  <section>
+    <title>The only one</title>
+
+    <para>Testing footnote within programlisting.
+      Please try with footnotes as end notes, and footnotes at bottom
+      of page (<parameter>bop-footnotes</parameter> in DSSSL).</para>
+
+    <programlisting>
+      hostname RTA
+      router ospf
+          ospf router-id 192.134.7.241 <footnote><para>It is not
+necessary to set the router ID.</para>
+       </footnote>
+          network 192.134.7.0/24 area 0
+</programlisting>
+  </section>
+</article>
+