@@ -19,16 +19,16 @@
1919 This is a set of tests for pandoc. Most of them are adapted from John
2020 Gruber’s markdown test suite.
2121</para>
22−<section id="headers">
22+<section xml:id="headers">
2323 <title>Headers</title>
24− <section id="level-2-with-an-embedded-link">
24+ <section xml:id="level-2-with-an-embedded-link">
2525 <title>Level 2 with an <link xlink:href="/url">embedded
2626 link</link></title>
27− <section id="level-3-with-emphasis">
27+ <section xml:id="level-3-with-emphasis">
2828 <title>Level 3 with <emphasis>emphasis</emphasis></title>
29− <section id="level-4">
29+ <section xml:id="level-4">
3030 <title>Level 4</title>
31− <section id="level-5">
31+ <section xml:id="level-5">
3232 <title>Level 5</title>
3333 <para>
3434 </para>
@@ -37,25 +37,25 @@
3737 </section>
3838 </section>
3939</section>
40−<section id="level-1">
40+<section xml:id="level-1">
4141 <title>Level 1</title>
42− <section id="level-2-with-emphasis">
42+ <section xml:id="level-2-with-emphasis">
4343 <title>Level 2 with <emphasis>emphasis</emphasis></title>
44− <section id="level-3">
44+ <section xml:id="level-3">
4545 <title>Level 3</title>
4646 <para>
4747 with no blank line
4848 </para>
4949 </section>
5050 </section>
51− <section id="level-2">
51+ <section xml:id="level-2">
5252 <title>Level 2</title>
5353 <para>
5454 with no blank line
5555 </para>
5656 </section>
5757</section>
58−<section id="paragraphs">
58+<section xml:id="paragraphs">
5959 <title>Paragraphs</title>
6060 <para>
6161 Here’s a regular paragraph.
@@ -71,7 +71,7 @@
7171<literallayout>There should be a hard line break
7272here.</literallayout>
7373</section>
74−<section id="block-quotes">
74+<section xml:id="block-quotes">
7575 <title>Block Quotes</title>
7676 <para>
7777 E-mail style:
@@ -126,7 +126,7 @@ sub status {
126126 And a following paragraph.
127127 </para>
128128</section>
129−<section id="code-blocks">
129+<section xml:id="code-blocks">
130130 <title>Code Blocks</title>
131131 <para>
132132 Code:
@@ -149,9 +149,9 @@ this code block is indented by one tab
149149These should not be escaped: \$ \\ \> \[ \{
150150</programlisting>
151151</section>
152−<section id="lists">
152+<section xml:id="lists">
153153 <title>Lists</title>
154− <section id="unordered">
154+ <section xml:id="unordered">
155155 <title>Unordered</title>
156156 <para>
157157 Asterisks tight:
@@ -274,7 +274,7 @@ These should not be escaped: \$ \\ \> \[ \{
274274 </listitem>
275275 </itemizedlist>
276276 </section>
277− <section id="ordered">
277+ <section xml:id="ordered">
278278 <title>Ordered</title>
279279 <para>
280280 Tight:
@@ -381,7 +381,7 @@ These should not be escaped: \$ \\ \> \[ \{
381381 </listitem>
382382 </orderedlist>
383383 </section>
384− <section id="nested">
384+ <section xml:id="nested">
385385 <title>Nested</title>
386386 <itemizedlist spacing="compact">
387387 <listitem>
@@ -479,7 +479,7 @@ These should not be escaped: \$ \\ \> \[ \{
479479 </listitem>
480480 </orderedlist>
481481 </section>
482− <section id="tabs-and-spaces">
482+ <section xml:id="tabs-and-spaces">
483483 <title>Tabs and spaces</title>
484484 <itemizedlist>
485485 <listitem>
@@ -506,7 +506,7 @@ These should not be escaped: \$ \\ \> \[ \{
506506 </listitem>
507507 </itemizedlist>
508508 </section>
509− <section id="fancy-list-markers">
509+ <section xml:id="fancy-list-markers">
510510 <title>Fancy list markers</title>
511511 <orderedlist numeration="arabic">
512512 <listitem override="2">
@@ -611,7 +611,7 @@ These should not be escaped: \$ \\ \> \[ \{
611611 </para>
612612 </section>
613613</section>
614−<section id="definition-lists">
614+<section xml:id="definition-lists">
615615 <title>Definition Lists</title>
616616 <para>
617617 Tight using spaces:
@@ -857,7 +857,7 @@ These should not be escaped: \$ \\ \> \[ \{
857857 </varlistentry>
858858 </variablelist>
859859</section>
860−<section id="html-blocks">
860+<section xml:id="html-blocks">
861861 <title>HTML Blocks</title>
862862 <para>
863863 Simple block on one line:
@@ -930,7 +930,7 @@ These should not be escaped: \$ \\ \> \[ \{
930930 Hr’s:
931931 </para>
932932</section>
933−<section id="inline-markup">
933+<section xml:id="inline-markup">
934934 <title>Inline Markup</title>
935935 <para>
936936 This is <emphasis>emphasized</emphasis>, and so <emphasis>is
@@ -980,7 +980,7 @@ These should not be escaped: \$ \\ \> \[ \{
980980 spaces: a^b c^d, a~b c~d.
981981 </para>
982982</section>
983−<section id="smart-quotes-ellipses-dashes">
983+<section xml:id="smart-quotes-ellipses-dashes">
984984 <title>Smart quotes, ellipses, dashes</title>
985985 <para>
986986 <quote>Hello,</quote> said the spider. <quote><quote>Shelob</quote> is my
@@ -1012,7 +1012,7 @@ These should not be escaped: \$ \\ \> \[ \{
10121012 Ellipses…and…and….
10131013 </para>
10141014</section>
1015−<section id="latex">
1015+<section xml:id="latex">
10161016 <title>LaTeX</title>
10171017 <itemizedlist spacing="compact">
10181018 <listitem>
@@ -1088,7 +1088,7 @@ These should not be escaped: \$ \\ \> \[ \{
10881088 Here’s a LaTeX table:
10891089 </para>
10901090</section>
1091−<section id="special-characters">
1091+<section xml:id="special-characters">
10921092 <title>Special Characters</title>
10931093 <para>
10941094 Here is some unicode:
@@ -1184,9 +1184,9 @@ These should not be escaped: \$ \\ \> \[ \{
11841184 Minus: -
11851185 </para>
11861186</section>
1187−<section id="links">
1187+<section xml:id="links">
11881188 <title>Links</title>
1189− <section id="explicit">
1189+ <section xml:id="explicit">
11901190 <title>Explicit</title>
11911191 <para>
11921192 Just a <link xlink:href="/url/">URL</link>.
@@ -1216,7 +1216,7 @@ These should not be escaped: \$ \\ \> \[ \{
12161216 <link xlink:href="">Empty</link>.
12171217 </para>
12181218 </section>
1219− <section id="reference">
1219+ <section xml:id="reference">
12201220 <title>Reference</title>
12211221 <para>
12221222 Foo <link xlink:href="/url/">bar</link>.
@@ -1255,7 +1255,7 @@ These should not be escaped: \$ \\ \> \[ \{
12551255 Foo <link xlink:href="/url/">biz</link>.
12561256 </para>
12571257 </section>
1258− <section id="with-ampersands">
1258+ <section xml:id="with-ampersands">
12591259 <title>With ampersands</title>
12601260 <para>
12611261 Here’s a <link xlink:href="http://example.com/?foo=1&bar=2">link
@@ -1273,7 +1273,7 @@ These should not be escaped: \$ \\ \> \[ \{
12731273 pointy braces</link>.
12741274 </para>
12751275 </section>
1276− <section id="autolinks">
1276+ <section xml:id="autolinks">
12771277 <title>Autolinks</title>
12781278 <para>
12791279 With an ampersand:
@@ -1314,7 +1314,7 @@ or here: <http://example.com/>
13141314</programlisting>
13151315 </section>
13161316</section>
1317−<section id="images">
1317+<section xml:id="images">
13181318 <title>Images</title>
13191319 <para>
13201320 From <quote>Voyage dans la Lune</quote> by Georges Melies (1902):
@@ -1336,7 +1336,7 @@ or here: <http://example.com/>
13361336 </inlinemediaobject> icon.
13371337 </para>
13381338</section>
1339−<section id="footnotes">
1339+<section xml:id="footnotes">
13401340 <title>Footnotes</title>
13411341 <para>
13421342 Here is a footnote reference,<footnote>