diff options
Diffstat (limited to 'tests/docbook-reader.docbook')
-rw-r--r-- | tests/docbook-reader.docbook | 91 |
1 files changed, 83 insertions, 8 deletions
diff --git a/tests/docbook-reader.docbook b/tests/docbook-reader.docbook index 6173fa50e..cf5059646 100644 --- a/tests/docbook-reader.docbook +++ b/tests/docbook-reader.docbook @@ -4,14 +4,16 @@ <article> <articleinfo> <title>Pandoc Test Suite</title> - <author> - <firstname>John</firstname> - <surname>MacFarlane</surname> - </author> - <author> - <firstname></firstname> - <surname>Anonymous</surname> - </author> + <authorgroup> + <author> + <firstname>John</firstname> + <surname>MacFarlane</surname> + </author> + <author> + <firstname></firstname> + <surname>Anonymous</surname> + </author> + </authorgroup> <date>July 17, 2006</date> </articleinfo> <para> @@ -87,6 +89,9 @@ sub status { print "working"; } </programlisting> + <screen> +% <command>ls</command> +</screen> <para> A list: </para> @@ -504,6 +509,25 @@ These should not be escaped: \$ \\ \> \[ \{ B. Williams </para> </sect2> + <sect2 id="callout"> + <title>Callout</title> + <para>Simple.</para> + <calloutlist> + <callout arearefs="loop1-letrec-co" id="loop1-letrec"> + <para id="x_QA1">A <code>__letrec</code> is equivalent to a normal + Haskell &let;.</para> + </callout> + <callout arearefs="loop1-def-co" id="loop1-def"> + <para id="x_RA1">&GHC; compiled the body of our list comprehension into + a loop named <function>go_s1YC</function>.</para> + </callout> + <callout arearefs="loop1-pat-empty-co" id="loop1-pat-empty"> + <para id="x_SA1">If our &case; expression matches the empty list, we + return the empty list. This is reassuringly + familiar.</para> + </callout> + </calloutlist> + </sect2> </sect1> <sect1 id="definition-lists"> <title>Definition Lists</title> @@ -686,6 +710,9 @@ These should not be escaped: \$ \\ \> \[ \{ <literal><html></literal>. </para> <para> + More code: <classname>Class</classname> and <type>Type</type> + </para> + <para> <emphasis role="strikethrough">This is <emphasis>strikeout</emphasis>.</emphasis> </para> @@ -726,6 +753,54 @@ These should not be escaped: \$ \\ \> \[ \{ Ellipses…and…and…. </para> </sect1> +<sect1 id="math"> + <para> + <equation> + <mml:math> + <mml:mrow> + <mml:mi>e</mml:mi> + <mml:mo>=</mml:mo> + <mml:mi>m</mml:mi> + <mml:msup> + <mml:mi>c</mml:mi> + <mml:mn>2</mml:mn> + </mml:msup> + </mml:mrow> + </mml:math> + <mml:math> + <mrow> + <mn>1</mn> + </mrow> + </mml:math> + </equation> + <inlineequation> + <mml:math> + <mml:mrow> + <mml:mi>e</mml:mi> + <mml:mo>=</mml:mo> + <mml:mi>m</mml:mi> + <mml:msup> + <mml:mi>c</mml:mi> + <mml:mn>2</mml:mn> + </mml:msup> + </mml:mrow> + </mml:math> + </inlineequation> + <informalequation> + <mml:math> + <mml:mrow> + <mml:mi>e</mml:mi> + <mml:mo>=</mml:mo> + <mml:mi>m</mml:mi> + <mml:msup> + <mml:mi>c</mml:mi> + <mml:mn>2</mml:mn> + </mml:msup> + </mml:mrow> + </mml:math> + </informalequation> + </para> +</sect1> <sect1 id="special-characters"> <title>Special Characters</title> <para> |