@@ -1,7 +1,6 @@
1<?xml version="1.0" encoding="utf-8" ?>
1<?xml version="1.0" encoding="utf-8" ?>
2<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
2<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
6 <articleinfo>
5 <articleinfo>
7 <title>Pandoc Test Suite</title>
6 <title>Pandoc Test Suite</title>
@@ -15,932 +14,932 @@
16 <date>July 17, 2006</date>
15 <date>July 17, 2006</date>
17 </articleinfo>
16 </articleinfo>
19− This is a set of tests for pandoc. Most of them are adapted from
18+ This is a set of tests for pandoc. Most of them are adapted from
20− John Gruber's markdown test suite.
19+ John Gruber's markdown test suite.
22− <section id="headers">
21+<section id="headers">
23− <title>Headers</title>
22+ <title>Headers</title>
24− <section id="level-2-with-an-embedded-link">
23+ <section id="level-2-with-an-embedded-link">
25− <title>Level 2 with an
24+ <title>Level 2 with an
26− <ulink url="/url">embedded link</ulink></title>
25+ <ulink url="/url">embedded link</ulink></title>
27− <section id="level-3-with-emphasis">
26+ <section id="level-3-with-emphasis">
28− <title>Level 3 with <emphasis>emphasis</emphasis></title>
27+ <title>Level 3 with <emphasis>emphasis</emphasis></title>
29− <section id="level-4">
28+ <section id="level-4">
30− <title>Level 4</title>
29+ <title>Level 4</title>
31− <section id="level-5">
30+ <section id="level-5">
32− <title>Level 5</title>
31+ <title>Level 5</title>
36 </section>
34 </section>
37 </section>
35 </section>
38 </section>
36 </section>
39 </section>
37 </section>
40− <section id="level-1">
39+<section id="level-1">
41− <title>Level 1</title>
40+ <title>Level 1</title>
42− <section id="level-2-with-emphasis">
41+ <section id="level-2-with-emphasis">
43− <title>Level 2 with <emphasis>emphasis</emphasis></title>
42+ <title>Level 2 with <emphasis>emphasis</emphasis></title>
44− <section id="level-3">
45− <title>Level 3</title>
51− <section id="level-2">
43+ <section id="level-3">
52− <title>Level 2</title>
44+ <title>Level 3</title>
54 with no blank line
46 with no blank line
56 </section>
48 </section>
57 </section>
49 </section>
58− <section id="paragraphs">
50+ <section id="level-2">
59− <title>Paragraphs</title>
51+ <title>Level 2</title>
61− Here's a regular paragraph.
53+ with no blank line
57+<section id="paragraphs">
58+ <title>Paragraphs</title>
60+ Here's a regular paragraph.
63+ In Markdown 1.0.0 and earlier. Version 8. This line turns into a
64+ list item. Because a hard-wrapped line in the middle of a paragraph
65+ looked like a list item.
68+ Here's one with a bullet. * criminey.
71+ There should be a hard line
72+ break<literallayout></literallayout>here.
75+<section id="block-quotes">
76+ <title>Block Quotes</title>
64− In Markdown 1.0.0 and earlier. Version 8. This line turns into a
82+ This is a block quote. It is pretty short.
65− list item. Because a hard-wrapped line in the middle of a paragraph
66− looked like a list item.
69− Here's one with a bullet. * criminey.
87+ Code in a block quote:
91+ print "working";
72− There should be a hard line
95+ A list:
73− break<literallayout></literallayout>here.
75− </section>
97+ <orderedlist numeration="arabic">
76− <section id="block-quotes">
98+ <listitem>
77− <title>Block Quotes</title>
99+ <para>
79− E-mail style:
110+ Nested block quotes:
81 <blockquote>
112 <blockquote>
83− This is a block quote. It is pretty short.
114+ nested
85 </blockquote>
116 </blockquote>
86 <blockquote>
117 <blockquote>
88− Code in a block quote:
119+ nested
124+ This should not be a block quote: 2 > 1.
127+ And a following paragraph.
130+<section id="code-blocks">
131+ <title>Code Blocks</title>
90− <screen>
135+ <screen>
136+---- (should be four hyphens)
91sub status {
138sub status {
92 print "working";
139 print "working";
142+this code block is indented by one tab
98− <orderedlist numeration="arabic">
147+ <screen>
99− <listitem>
148+ this code block is indented by two tabs
101− item one
150+These should not be escaped: \$ \\ \> \[ \{
102− </para>
151+</screen>
103− </listitem>
152+</section>
104− <listitem>
153+<section id="lists">
105− <para>
154+ <title>Lists</title>
106− item two
155+ <section id="unordered">
107− </para>
156+ <title>Unordered</title>
108− </listitem>
157+ <para>
109− </orderedlist>
158+ Asterisks tight:
111− Nested block quotes:
113− <blockquote>
160+ <itemizedlist>
115− nested
163+ asterisk 1
117− </blockquote>
165+ </listitem>
118− <blockquote>
166+ <listitem>
120− nested
168+ asterisk 2
122− </blockquote>
170+ </listitem>
123− </blockquote>
171+ <listitem>
125− This should not be a block quote: 2 > 1.
238+ Minuses tight:
128− And a following paragraph.
258+ Minuses loose:
130 </section>
277 </section>
131− <section id="code-blocks">
278+ <section id="ordered">
132− <title>Code Blocks</title>
279+ <title>Ordered</title>
136− <screen>
283+ <orderedlist numeration="arabic">
137−---- (should be four hyphens)
284+ <listitem>
139−sub status {
286+ First
140− print "working";
287+ </para>
143−this code block is indented by one tab
290+ <para>
148− <screen>
303+ <orderedlist numeration="arabic">
149− this code block is indented by two tabs
304+ <listitem>
151−These should not be escaped: \$ \\ \> \[ \{
306+ One
152−</screen>
307+ </para>
323+ <orderedlist numeration="arabic">
343+ <orderedlist numeration="arabic">
361+ Multiple paragraphs:
363+ <orderedlist numeration="arabic">
369+ Item 1. graf two. The quick brown fox jumped over the lazy dog's
153 </section>
384 </section>
154− <section id="lists">
385+ <section id="nested">
155− <title>Lists</title>
156− <section id="unordered">
157− <title>Unordered</title>
279− <section id="ordered">
280− <title>Ordered</title>
284− <orderedlist numeration="arabic">
304− <orderedlist numeration="arabic">
324− <orderedlist numeration="arabic">
344− <orderedlist numeration="arabic">
362− Multiple paragraphs:
364− <orderedlist numeration="arabic">
370− Item 1. graf two. The quick brown fox jumped over the lazy dog's
386− <section id="nested">
387− <title>Nested</title>
386+ <title>Nested</title>
388− <itemizedlist>
387+ <itemizedlist>
389− <listitem>
388+ <listitem>
393− <itemizedlist>
392+ <itemizedlist>
394− <listitem>
393+ <listitem>
412− <orderedlist numeration="arabic">
422− <itemizedlist>
397+ <itemizedlist>
423− <listitem>
398+ <listitem>
432− </listitem>
402+ </listitem>
433− <listitem>
403+ </itemizedlist>
439− </listitem>
404+ </listitem>
440− <listitem>
405+ </itemizedlist>
441− <para>
406+ </listitem>
447− Same thing but with paragraphs:
449− <orderedlist numeration="arabic">
459− <itemizedlist>
407+ </itemizedlist>
484− <section id="tabs-and-spaces">
485− <title>Tabs and spaces</title>
489− this is a list item indented with tabs
494− this is a list item indented with spaces
499− this is an example list item indented with tabs
504− this is an example list item indented with spaces
511− <section id="fancy-list-markers">
512− <title>Fancy list markers</title>
513− <orderedlist numeration="arabic">
514− <listitem override="2">
526− <orderedlist numeration="lowerroman">
527− <listitem override="4">
529− sublist with roman numerals, starting with 4
536− <orderedlist numeration="upperalpha">
555− <orderedlist numeration="upperalpha">
560− <orderedlist numeration="upperroman">
565− <orderedlist numeration="arabic">
566− <listitem override="6">
568− Decimal start with 6
570− <orderedlist numeration="loweralpha">
571− <listitem override="3">
573− Lower alpha with paren
606− Should not be a list item:
616− <section id="definition-lists">
617− <title>Definition Lists</title>
619− Tight using spaces:
409+ Here's another:
621− <variablelist>
411+ <orderedlist numeration="arabic">
622− <varlistentry>
412+ <listitem>
626− <listitem>
417+ <listitem>
628− red fruit
419+ Second:
630− </listitem>
421+ <itemizedlist>
631− </varlistentry>
422+ <listitem>
632− <varlistentry>
423+ <para>
635− </term>
426+ </listitem>
636− <listitem>
427+ <listitem>
638− orange fruit
429+ Fie
640− </listitem>
431+ </listitem>
641− </varlistentry>
432+ <listitem>
642− <varlistentry>
433+ <para>
645− </term>
436+ </listitem>
646− <listitem>
439+ <listitem>
648− yellow fruit
441+ Third
650− </listitem>
443+ </listitem>
651− </varlistentry>
444+ </orderedlist>
654− Tight using tabs:
446+ Same thing but with paragraphs:
656− <variablelist>
448+ <orderedlist numeration="arabic">
657− <varlistentry>
449+ <listitem>
661− <listitem>
463+ </listitem>
665− </listitem>
473+ </listitem>
666− </varlistentry>
474+ </itemizedlist>
667− <varlistentry>
475+ </listitem>
668− <term>
476+ <listitem>
671− <listitem>
480+ </listitem>
672− <para>
481+ </orderedlist>
673− orange fruit
482+ </section>
483+ <section id="tabs-and-spaces">
484+ <title>Tabs and spaces</title>
675− </listitem>
488+ this is a list item indented with tabs
676− </varlistentry>
489+ </para>
677− <varlistentry>
490+ </listitem>
678− <term>
491+ <listitem>
680− </term>
493+ this is a list item indented with spaces
681− <listitem>
496+ <listitem>
683− yellow fruit
498+ this is an example list item indented with tabs
685− </listitem>
500+ </listitem>
686− </varlistentry>
501+ <listitem>
687− </variablelist>
502+ <para>
503+ this is an example list item indented with spaces
510+ <section id="fancy-list-markers">
511+ <title>Fancy list markers</title>
512+ <orderedlist numeration="arabic">
513+ <listitem override="2">
525+ <orderedlist numeration="lowerroman">
526+ <listitem override="4">
528+ sublist with roman numerals, starting with 4
535+ <orderedlist numeration="upperalpha">
691− <variablelist>
554+ <orderedlist numeration="upperalpha">
692− <varlistentry>
555+ <listitem>
694− apple
557+ Upper Alpha
696− <listitem>
559+ <orderedlist numeration="upperroman">
698− red fruit
562+ Upper Roman.
700− </listitem>
564+ <orderedlist numeration="arabic">
701− </varlistentry>
565+ <listitem override="6">
702− <varlistentry>
566+ <para>
703− <term>
567+ Decimal start with 6
705− </term>
569+ <orderedlist numeration="loweralpha">
706− <listitem>
570+ <listitem override="3">
708− orange fruit
572+ Lower alpha with paren
710− </listitem>
574+ </listitem>
711− </varlistentry>
575+ </orderedlist>
716− <listitem>
576+ </listitem>
717− <para>
577+ </orderedlist>
718− yellow fruit
578+ </listitem>
719− </para>
579+ </orderedlist>
720− </listitem>
580+ </listitem>
721− </varlistentry>
581+ </orderedlist>
724− Multiple blocks with italics:
583+ Autonumbering:
726− <variablelist>
585+ <orderedlist>
727− <varlistentry>
586+ <listitem>
729− <emphasis>apple</emphasis>
588+ Autonumber.
736− contains seeds, crisp, pleasant to taste
738− </listitem>
590+ </listitem>
739− </varlistentry>
591+ <listitem>
740− <varlistentry>
592+ <para>
742− <emphasis>orange</emphasis>
594+ </para>
743− </term>
595+ <orderedlist>
744− <listitem>
596+ <listitem>
749−{ orange code block }
753− orange block quote
598+ Nested.
755− </blockquote>
600+ </listitem>
756− </listitem>
601+ </orderedlist>
757− </varlistentry>
602+ </listitem>
758− </variablelist>
603+ </orderedlist>
760− Multiple definitions, tight:
605+ Should not be a list item:
791− Multiple definitions, loose:
608+ M.A. 2007
822− Blank line after term, indented marker, alternate markers:
611+ B. Williams
824− <variablelist>
613+ </section>
615+<section id="definition-lists">
616+ <title>Definition Lists</title>
825− <varlistentry>
711+ <varlistentry>
723+ Multiple blocks with italics:
728+ <emphasis>apple</emphasis>
829− <listitem>
730+ <listitem>
831− red fruit
732+ red fruit
834− computer
735+ contains seeds, crisp, pleasant to taste
836− </listitem>
737+ </listitem>
837− </varlistentry>
738+ </varlistentry>
838− <varlistentry>
739+ <varlistentry>
741+ <emphasis>orange</emphasis>
840− orange
745+ orange fruit
842− <listitem>
747+ <screen>
748+{ orange code block }
844− orange fruit
752+ orange block quote
759+ Multiple definitions, tight:
790+ Multiple definitions, loose:
821+ Blank line after term, indented marker, alternate markers:
846− <orderedlist numeration="arabic">
845+ <orderedlist numeration="arabic">
847− <listitem>
846+ <listitem>
851− </listitem>
850+ </listitem>
852− <listitem>
851+ <listitem>
856− </listitem>
855+ </listitem>
857− </orderedlist>
856+ </orderedlist>
858− </listitem>
857+ </listitem>
859− </varlistentry>
858+ </varlistentry>
860− </variablelist>
859+ </variablelist>
861− </section>
860+</section>
862− <section id="html-blocks">
861+<section id="html-blocks">
863− <title>HTML Blocks</title>
862+ <title>HTML Blocks</title>
865− Simple block on one line:
864+ Simple block on one line:
872− And nested without indentation:
871+ And nested without indentation:
886− Interpreted markdown in a table:
885+ Interpreted markdown in a table:
891− This is <emphasis>emphasized</emphasis>
890+ This is <emphasis>emphasized</emphasis>
894− And this is <emphasis role="strong">strong</emphasis>
893+ And this is <emphasis role="strong">strong</emphasis>
899<script type="text/javascript">document.write('This *should not* be interpreted as markdown');</script>
898<script type="text/javascript">document.write('This *should not* be interpreted as markdown');</script>
902− Here's a simple block:
901+ Here's a simple block:
910− This should be a code block, though:
909+ This should be a code block, though:
912− <screen>
911+ <screen>
913<div>
912<div>
915</div>
914</div>
918− As should this:
917+ As should this:
920− <screen>
919+ <screen>
921<div>foo</div>
920<div>foo</div>
924− Now, nested:
923+ Now, nested:
936− This should just be an HTML comment:
935+ This should just be an HTML comment:
938− <!-- Comment -->
937+ <!-- Comment -->
941− Multiline:
940+ Multiline:
@@ -949,522 +948,523 @@ Blah
949 This is another comment.
948 This is another comment.
953− Code block:
952+ Code block:
955− <screen>
954+ <screen>
956<!-- Comment -->
955<!-- Comment -->
959− Just plain comment, with trailing spaces on the line:
958+ Just plain comment, with trailing spaces on the line:
961− <!-- foo -->
960+ <!-- foo -->
966− <screen>
965+ <screen>
967<hr />
966<hr />
983+<hr class="foo" id="bar" />
985+<hr class="foo" id="bar" />
987+<hr class="foo" id="bar">
990+<section id="inline-markup">
991+ <title>Inline Markup</title>
993+ This is <emphasis>emphasized</emphasis>, and so
994+ <emphasis>is this</emphasis>.
997+ This is <emphasis role="strong">strong</emphasis>, and so
998+ <emphasis role="strong">is this</emphasis>.
1001+ An <emphasis><ulink url="/url">emphasized link</ulink></emphasis>.
1004+ <emphasis role="strong"><emphasis>This is strong and em.</emphasis></emphasis>
1007+ So is <emphasis role="strong"><emphasis>this</emphasis></emphasis>
1011+ <emphasis role="strong"><emphasis>This is strong and em.</emphasis></emphasis>
1014+ So is <emphasis role="strong"><emphasis>this</emphasis></emphasis>
1018+ This is code: <literal>></literal>, <literal>$</literal>,
1019+ <literal>\</literal>, <literal>\$</literal>,
1020+ <literal><html></literal>.
1023+ <emphasis role="strikethrough">This is <emphasis>strikeout</emphasis>.</emphasis>
1026+ Superscripts: a<superscript>bc</superscript>d
1027+ a<superscript><emphasis>hello</emphasis></superscript>
1028+ a<superscript>hello there</superscript>.
1031+ Subscripts: H<subscript>2</subscript>O,
1032+ H<subscript>23</subscript>O,
1033+ H<subscript>many of them</subscript>O.
1036+ These should not be superscripts or subscripts, because of the
1037+ unescaped spaces: a^b c^d, a~b c~d.
1040+<section id="smart-quotes-ellipses-dashes">
1041+ <title>Smart quotes, ellipses, dashes</title>
1043+ <quote>Hello,</quote> said the spider.
1044+ <quote><quote>Shelob</quote> is my name.</quote>
1047+ <quote>A</quote>, <quote>B</quote>, and <quote>C</quote> are
1051+ <quote>Oak,</quote> <quote>elm,</quote> and <quote>beech</quote>
1052+ are names of trees. So is <quote>pine.</quote>
1055+ <quote>He said, <quote>I want to go.</quote></quote> Were you alive
1059+ Here is some quoted <quote><literal>code</literal></quote> and a
1060+ <quote><ulink url="http://example.com/?foo=1&bar=2">quoted link</ulink></quote>.
1063+ Some dashes: one—two — three—four — five.
1066+ Dashes between numbers: 5–7, 255–66, 1987–1999.
1069+ Ellipses…and…and….
1072+<section id="latex">
1073+ <title>LaTeX</title>
1086+ <emphasis>x</emphasis> ∈ <emphasis>y</emphasis>
1101+ <emphasis>p</emphasis>-Tree
1106+ Here's some display math:
1107+ \frac{<emphasis>d</emphasis>}{<emphasis>dx</emphasis>}<emphasis>f</emphasis>(<emphasis>x</emphasis>)=\lim<subscript><emphasis>h</emphasis> → 0</subscript>\frac{<emphasis>f</emphasis>(<emphasis>x</emphasis>+<emphasis>h</emphasis>)-<emphasis>f</emphasis>(<emphasis>x</emphasis>)}{<emphasis>h</emphasis>}
1112+ Here's one that has a line break in it:
1113+ α+ω × <emphasis>x</emphasis><superscript>2</superscript>.
1118+ These shouldn't be math:
1123+ To get the famous equation, write <literal>$e = mc^2$</literal>.
1128+ $22,000 is a <emphasis>lot</emphasis> of money. So is $34,000. (It
1129+ worked if <quote>lot</quote> is emphasized.)
1134+ Shoes ($20) and socks ($5).
1139+ Escaped <literal>$</literal>: $73
1140+ <emphasis>this should be emphasized</emphasis> 23$.
1145+ Here's a LaTeX table:
1150+<section id="special-characters">
1151+ <title>Special Characters</title>
1153+ Here is some unicode:
1183+ AT&T has an ampersand in their name.
1186+ AT&T is another way to write it.
1246+<section id="links">
1247+ <title>Links</title>
1248+ <section id="explicit">
1249+ <title>Explicit</title>
970− Hr's:
1251+ Just a <ulink url="/url/">URL</ulink>.
984−<hr class="foo" id="bar" />
986−<hr class="foo" id="bar" />
988−<hr class="foo" id="bar">
991− <section id="inline-markup">
992− <title>Inline Markup</title>
994− This is <emphasis>emphasized</emphasis>, and so
1254+ <ulink url="/url/">URL and title</ulink>.
995− <emphasis>is this</emphasis>.
998− This is <emphasis role="strong">strong</emphasis>, and so
1257+ <ulink url="/url/">URL and title</ulink>.
999− <emphasis role="strong">is this</emphasis>.
1002− An <emphasis><ulink url="/url">emphasized link</ulink></emphasis>.
1260+ <ulink url="/url/">URL and title</ulink>.
1005− <emphasis role="strong"><emphasis>This is strong and em.</emphasis></emphasis>
1263+ <ulink url="/url/">URL and title</ulink>
1008− So is <emphasis role="strong"><emphasis>this</emphasis></emphasis>
1266+ <ulink url="/url/">URL and title</ulink>
1012− <emphasis role="strong"><emphasis>This is strong and em.</emphasis></emphasis>
1269+ <ulink url="/url/with_underscore">with_underscore</ulink>
1015− So is <emphasis role="strong"><emphasis>this</emphasis></emphasis>
1272+ Email link (<email>nobody@nowhere.net</email>)
1019− This is code: <literal>></literal>, <literal>$</literal>,
1275+ <ulink url="">Empty</ulink>.
1020− <literal>\</literal>, <literal>\$</literal>,
1021− <literal><html></literal>.
1278+ <section id="reference">
1279+ <title>Reference</title>
1024− <emphasis role="strikethrough">This is <emphasis>strikeout</emphasis>.</emphasis>
1281+ Foo <ulink url="/url/">bar</ulink>.
1027− Superscripts: a<superscript>bc</superscript>d
1284+ Foo <ulink url="/url/">bar</ulink>.
1028− a<superscript><emphasis>hello</emphasis></superscript>
1029− a<superscript>hello there</superscript>.
1032− Subscripts: H<subscript>2</subscript>O,
1287+ Foo <ulink url="/url/">bar</ulink>.
1033− H<subscript>23</subscript>O,
1034− H<subscript>many of them</subscript>O.
1037− These should not be superscripts or subscripts, because of the
1290+ With <ulink url="/url/">embedded [brackets]</ulink>.
1038− unescaped spaces: a^b c^d, a~b c~d.
1041− <section id="smart-quotes-ellipses-dashes">
1042− <title>Smart quotes, ellipses, dashes</title>
1044− <quote>Hello,</quote> said the spider.
1293+ <ulink url="/url/">b</ulink> by itself should be a link.
1045− <quote><quote>Shelob</quote> is my name.</quote>
1048− <quote>A</quote>, <quote>B</quote>, and <quote>C</quote> are
1296+ Indented <ulink url="/url">once</ulink>.
1052− <quote>Oak,</quote> <quote>elm,</quote> and <quote>beech</quote>
1299+ Indented <ulink url="/url">twice</ulink>.
1053− are names of trees. So is <quote>pine.</quote>
1056− <quote>He said, <quote>I want to go.</quote></quote> Were you alive
1302+ Indented <ulink url="/url">thrice</ulink>.
1060− Here is some quoted <quote><literal>code</literal></quote> and a
1305+ This should [not][] be a link.
1061− <quote><ulink url="http://example.com/?foo=1&bar=2">quoted link</ulink></quote>.
1064− Some dashes: one—two — three—four — five.
1311+ Foo <ulink url="/url/">bar</ulink>.
1067− Dashes between numbers: 5–7, 255–66, 1987–1999.
1314+ Foo <ulink url="/url/">biz</ulink>.
1317+ <section id="with-ampersands">
1318+ <title>With ampersands</title>
1070− Ellipses…and…and….
1320+ Here's a
1321+ <ulink url="http://example.com/?foo=1&bar=2">link with an ampersand in the URL</ulink>.
1073− <section id="latex">
1074− <title>LaTeX</title>
1087− <emphasis>x</emphasis> ∈ <emphasis>y</emphasis>
1102− <emphasis>p</emphasis>-Tree
1107− Here's some display math:
1108− \frac{<emphasis>d</emphasis>}{<emphasis>dx</emphasis>}<emphasis>f</emphasis>(<emphasis>x</emphasis>)=\lim<subscript><emphasis>h</emphasis> → 0</subscript>\frac{<emphasis>f</emphasis>(<emphasis>x</emphasis>+<emphasis>h</emphasis>)-<emphasis>f</emphasis>(<emphasis>x</emphasis>)}{<emphasis>h</emphasis>}
1113− Here's one that has a line break in it:
1114− α+ω × <emphasis>x</emphasis><superscript>2</superscript>.
1119− These shouldn't be math:
1324+ Here's a link with an amersand in the link text:
1325+ <ulink url="http://att.com/">AT&T</ulink>.
1124− To get the famous equation, write <literal>$e = mc^2$</literal>.
1129− $22,000 is a <emphasis>lot</emphasis> of money. So is $34,000. (It
1130− worked if <quote>lot</quote> is emphasized.)
1135− Shoes ($20) and socks ($5).
1140− Escaped <literal>$</literal>: $73
1141− <emphasis>this should be emphasized</emphasis> 23$.
1146− Here's a LaTeX table:
1328+ Here's an <ulink url="/script?foo=1&bar=2">inline link</ulink>.
1332+ <ulink url="/script?foo=1&bar=2">inline link in pointy braces</ulink>.
1150 </section>
1334 </section>
1151− <section id="special-characters">
1335+ <section id="autolinks">
1152− <title>Special Characters</title>
1336+ <title>Autolinks</title>
1154− Here is some unicode:
1338+ With an ampersand:
1339+ <ulink url="http://example.com/?foo=1&bar=2"><literal>http://example.com/?foo=1&bar=2</literal></ulink>
1156 <itemizedlist>
1341 <itemizedlist>
1157 <listitem>
1342 <listitem>
1159− I hat: Î
1344+ In a list?
1166 </listitem>
1346 </listitem>
1167 <listitem>
1347 <listitem>
1169− section: §
1349+ <ulink url="http://example.com/"><literal>http://example.com/</literal></ulink>
1176 </listitem>
1351 </listitem>
1177 <listitem>
1352 <listitem>
1179− copyright: ©
1354+ It should.
1181 </listitem>
1356 </listitem>
1182 </itemizedlist>
1357 </itemizedlist>
1184− AT&T has an ampersand in their name.
1359+ An e-mail address: <email>nobody@nowhere.net</email>
1187− AT&T is another way to write it.
1247− <section id="links">
1248− <title>Links</title>
1249− <section id="explicit">
1250− <title>Explicit</title>
1252− Just a <ulink url="/url/">URL</ulink>.
1255− <ulink url="/url/">URL and title</ulink>.
1258− <ulink url="/url/">URL and title</ulink>.
1261− <ulink url="/url/">URL and title</ulink>.
1264− <ulink url="/url/">URL and title</ulink>
1267− <ulink url="/url/">URL and title</ulink>
1270− <ulink url="/url/with_underscore">with_underscore</ulink>
1273− Email link (<email>nobody@nowhere.net</email>)
1276− <ulink url="">Empty</ulink>.
1279− <section id="reference">
1280− <title>Reference</title>
1282− Foo <ulink url="/url/">bar</ulink>.
1285− Foo <ulink url="/url/">bar</ulink>.
1288− Foo <ulink url="/url/">bar</ulink>.
1291− With <ulink url="/url/">embedded [brackets]</ulink>.
1294− <ulink url="/url/">b</ulink> by itself should be a link.
1297− Indented <ulink url="/url">once</ulink>.
1300− Indented <ulink url="/url">twice</ulink>.
1303− Indented <ulink url="/url">thrice</ulink>.
1306− This should [not][] be a link.
1312− Foo <ulink url="/url/">bar</ulink>.
1315− Foo <ulink url="/url/">biz</ulink>.
1318− <section id="with-ampersands">
1319− <title>With ampersands</title>
1322− <ulink url="http://example.com/?foo=1&bar=2">link with an ampersand in the URL</ulink>.
1325− Here's a link with an amersand in the link text:
1326− <ulink url="http://att.com/">AT&T</ulink>.
1329− Here's an <ulink url="/script?foo=1&bar=2">inline link</ulink>.
1333− <ulink url="/script?foo=1&bar=2">inline link in pointy braces</ulink>.
1336− <section id="autolinks">
1337− <title>Autolinks</title>
1340− <ulink url="http://example.com/?foo=1&bar=2"><literal>http://example.com/?foo=1&bar=2</literal></ulink>
1350− <ulink url="http://example.com/"><literal>http://example.com/</literal></ulink>
1360− An e-mail address: <email>nobody@nowhere.net</email>
1365− <ulink url="http://example.com/"><literal>http://example.com/</literal></ulink>
1367− </blockquote>
1361+ <blockquote>
1369− Auto-links should not occur here:
1363+ Blockquoted:
1370− <literal><http://example.com/></literal>
1364+ <ulink url="http://example.com/"><literal>http://example.com/</literal></ulink>
1372− <screen>
1366+ </blockquote>
1373−or here: <http://example.com/>
1377− <section id="images">
1378− <title>Images</title>
1380− From <quote>Voyage dans la Lune</quote> by Georges Melies (1902):
1383− <inlinemediaobject>
1387− Voyage dans la Lune
1390− <imagedata fileref="lalune.jpg" />
1392− </inlinemediaobject>
1395− Here is a movie
1368+ Auto-links should not occur here:
1396− <inlinemediaobject>
1369+ <literal><http://example.com/></literal>
1398− <imagedata fileref="movie.jpg" />
1400− </inlinemediaobject>
1372+or here: <http://example.com/>
1403 </section>
1374 </section>
1376+<section id="images">
1377+ <title>Images</title>
1379+ From <quote>Voyage dans la Lune</quote> by Georges Melies (1902):
1382+ <inlinemediaobject>
1386+ Voyage dans la Lune
1389+ <imagedata fileref="lalune.jpg" />
1391+ </inlinemediaobject>
1395+ <inlinemediaobject>
1397+ <imagedata fileref="movie.jpg" />
1399+ </inlinemediaobject>
1404− <section id="footnotes">
1403+<section id="footnotes">
1405− <title>Footnotes</title>
1404+ <title>Footnotes</title>
1407− Here is a footnote
1406+ Here is a footnote
1408− reference,<footnote>
1407+ reference,<footnote>
1410− Here is the footnote. It can go anywhere after the footnote
1411− reference. It need not be placed at the end of the document.
1417− Here's the long note. This one contains multiple blocks.
1420− Subsequent blocks are indented to show that they belong to the
1409+ Here is the footnote. It can go anywhere after the footnote
1421− footnote (as with list items).
1410+ reference. It need not be placed at the end of the document.
1416+ Here's the long note. This one contains multiple blocks.
1419+ Subsequent blocks are indented to show that they belong to the
1420+ footnote (as with list items).
1423− <screen>
1422+ <screen>
1424 { <code> }
1423 { <code> }
1425</screen>
1424</screen>
1426+ If you want, you can indent every line, but you can also be lazy
1427+ and just indent the first line of each block.
1430+ This should <emphasis>not</emphasis> be a footnote reference,
1431+ because it contains a space.[^my note] Here is an inline
1434+ This is <emphasis>easier</emphasis> to type. Inline notes may
1435+ contain <ulink url="http://google.com">links</ulink> and
1436+ <literal>]</literal> verbatim characters, as well as [bracketed
1451+ <orderedlist numeration="arabic">
1427− If you want, you can indent every line, but you can also be lazy
1457+ In list.
1428− and just indent the first line of each block.
1430 </footnote>
1459 </footnote>
1431− This should <emphasis>not</emphasis> be a footnote reference,
1432− because it contains a space.[^my note] Here is an inline
1435− This is <emphasis>easier</emphasis> to type. Inline notes may
1436− contain <ulink url="http://google.com">links</ulink> and
1437− <literal>]</literal> verbatim characters, as well as [bracketed
1452− <orderedlist numeration="arabic">
1453− <listitem>
1461+ </listitem>
1463− </orderedlist>
1462+ </orderedlist>
1465− This paragraph should not be part of the note, as it is not
1464+ This paragraph should not be part of the note, as it is not
1466− indented.
1465+ indented.
1467− </para>
1466+ </para>
1468− </section>
1467+</section>
1469</article>
1468</article>