set version: repository 0.14rc2
[docutils.git] / test / functional / expected / standalone_rst_docutils_xml.xml
blobdcf6873cdf3b6ac9eed149f6f4f3bff7f40447f8
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE document PUBLIC "+//IDN docutils.sourceforge.net//DTD Docutils Generic//EN//XML" "http://docutils.sourceforge.net/docs/ref/docutils.dtd">
3 <!-- Generated by Docutils 0.14rc2 -->
4 <document ids="restructuredtext-test-document doctitle" names="restructuredtext\ test\ document doctitle" source="functional/input/standalone_rst_docutils_xml.txt" title="reStructuredText Test Document">
5     <title>reStructuredText Test Document</title>
6     <subtitle ids="examples-of-syntax-constructs subtitle" names="examples\ of\ syntax\ constructs subtitle">Examples of Syntax Constructs</subtitle>
7     <decoration>
8         <header>
9             <paragraph>Document header</paragraph>
10         </header>
11         <footer>
12             <paragraph>Document footer</paragraph>
13         </footer>
14     </decoration>
15     <docinfo>
16         <author>David Goodger</author>
17         <address xml:space="preserve">123 Example Street
18 Example, EX  Canada
19 A1B 2C3</address>
20         <contact><reference refuri="mailto:goodger@python.org">goodger@python.org</reference></contact>
21         <authors>
22             <author>Me</author>
23             <author>Myself</author>
24             <author>I</author>
25         </authors>
26         <organization>humankind</organization>
27         <date>Now, or yesterday.  Or maybe even <emphasis>before</emphasis> yesterday.</date>
28         <status>This is a "work in progress"</status>
29         <revision>is managed by a version control system.</revision>
30         <version>1</version>
31         <copyright>This document has been placed in the public domain. You
32             may do with it as you wish. You may copy, modify,
33             redistribute, reattribute, sell, buy, rent, lease,
34             destroy, or improve it, quote it at length, excerpt,
35             incorporate, collate, fold, staple, or mutilate it, or do
36             anything else to it that your or anyone else's heart
37             desires.</copyright>
38         <field classes="field-name">
39             <field_name>field name</field_name>
40             <field_body>
41                 <paragraph>This is a "generic bibliographic field".</paragraph>
42             </field_body>
43         </field>
44         <field classes="field-name-2">
45             <field_name>field name "2"</field_name>
46             <field_body>
47                 <paragraph>Generic bibliographic fields may contain multiple body elements.</paragraph>
48                 <paragraph>Like this.</paragraph>
49             </field_body>
50         </field>
51     </docinfo>
52     <topic classes="dedication">
53         <title>Dedication</title>
54         <paragraph>For Docutils users &amp; co-developers.</paragraph>
55     </topic>
56     <topic classes="abstract">
57         <title>Abstract</title>
58         <paragraph>This is a test document, containing at least one example of each
59             reStructuredText construct.</paragraph>
60     </topic>
61     <comment xml:space="preserve">This is a comment. Note how any initial comments are moved by
62 transforms to after the document title, subtitle, and docinfo.</comment>
63     <target refid="doctitle"></target>
64     <comment xml:space="preserve">Above is the document title, and below is the subtitle.
65 They are transformed from section titles after parsing.</comment>
66     <target refid="subtitle"></target>
67     <comment xml:space="preserve">bibliographic fields (which also require a transform):</comment>
68     <raw format="latex" xml:space="preserve">\pagebreak[4] % start ToC on new page</raw>
69     <topic classes="contents" ids="table-of-contents" names="table\ of\ contents">
70         <title>Table of Contents</title>
71         <bullet_list classes="auto-toc">
72             <list_item>
73                 <paragraph><reference ids="id34" refid="structural-elements"><generated classes="sectnum">1   </generated>Structural Elements</reference></paragraph>
74                 <bullet_list classes="auto-toc">
75                     <list_item>
76                         <paragraph><reference ids="id35" refid="section-title"><generated classes="sectnum">1.1   </generated>Section Title</reference></paragraph>
77                     </list_item>
78                     <list_item>
79                         <paragraph><reference ids="id36" refid="empty-section"><generated classes="sectnum">1.2   </generated>Empty Section</reference></paragraph>
80                     </list_item>
81                     <list_item>
82                         <paragraph><reference ids="id37" refid="transitions"><generated classes="sectnum">1.3   </generated>Transitions</reference></paragraph>
83                     </list_item>
84                 </bullet_list>
85             </list_item>
86             <list_item>
87                 <paragraph><reference ids="id38" refid="body-elements"><generated classes="sectnum">2   </generated>Body Elements</reference></paragraph>
88                 <bullet_list classes="auto-toc">
89                     <list_item>
90                         <paragraph><reference ids="id39" refid="paragraphs"><generated classes="sectnum">2.1   </generated>Paragraphs</reference></paragraph>
91                         <bullet_list classes="auto-toc">
92                             <list_item>
93                                 <paragraph><reference ids="id40" refid="inline-markup"><generated classes="sectnum">2.1.1   </generated>Inline Markup</reference></paragraph>
94                             </list_item>
95                         </bullet_list>
96                     </list_item>
97                     <list_item>
98                         <paragraph><reference ids="id41" refid="bullet-lists"><generated classes="sectnum">2.2   </generated>Bullet Lists</reference></paragraph>
99                     </list_item>
100                     <list_item>
101                         <paragraph><reference ids="id42" refid="enumerated-lists"><generated classes="sectnum">2.3   </generated>Enumerated Lists</reference></paragraph>
102                     </list_item>
103                     <list_item>
104                         <paragraph><reference ids="id43" refid="definition-lists"><generated classes="sectnum">2.4   </generated>Definition Lists</reference></paragraph>
105                     </list_item>
106                     <list_item>
107                         <paragraph><reference ids="id44" refid="field-lists"><generated classes="sectnum">2.5   </generated>Field Lists</reference></paragraph>
108                     </list_item>
109                     <list_item>
110                         <paragraph><reference ids="id45" refid="option-lists"><generated classes="sectnum">2.6   </generated>Option Lists</reference></paragraph>
111                     </list_item>
112                     <list_item>
113                         <paragraph><reference ids="id46" refid="literal-blocks"><generated classes="sectnum">2.7   </generated>Literal Blocks</reference></paragraph>
114                     </list_item>
115                     <list_item>
116                         <paragraph><reference ids="id47" refid="line-blocks"><generated classes="sectnum">2.8   </generated>Line Blocks</reference></paragraph>
117                     </list_item>
118                     <list_item>
119                         <paragraph><reference ids="id48" refid="block-quotes"><generated classes="sectnum">2.9   </generated>Block Quotes</reference></paragraph>
120                     </list_item>
121                     <list_item>
122                         <paragraph><reference ids="id49" refid="doctest-blocks"><generated classes="sectnum">2.10   </generated>Doctest Blocks</reference></paragraph>
123                     </list_item>
124                     <list_item>
125                         <paragraph><reference ids="id50" refid="footnotes"><generated classes="sectnum">2.11   </generated>Footnotes</reference></paragraph>
126                     </list_item>
127                     <list_item>
128                         <paragraph><reference ids="id51" refid="citations"><generated classes="sectnum">2.12   </generated>Citations</reference></paragraph>
129                     </list_item>
130                     <list_item>
131                         <paragraph><reference ids="id52" refid="targets"><generated classes="sectnum">2.13   </generated>Targets</reference></paragraph>
132                         <bullet_list classes="auto-toc">
133                             <list_item>
134                                 <paragraph><reference ids="id53" refid="duplicate-target-names"><generated classes="sectnum">2.13.1   </generated>Duplicate Target Names</reference></paragraph>
135                             </list_item>
136                             <list_item>
137                                 <paragraph><reference ids="id54" refid="id21"><generated classes="sectnum">2.13.2   </generated>Duplicate Target Names</reference></paragraph>
138                             </list_item>
139                         </bullet_list>
140                     </list_item>
141                     <list_item>
142                         <paragraph><reference ids="id55" refid="directives"><generated classes="sectnum">2.14   </generated>Directives</reference></paragraph>
143                         <bullet_list classes="auto-toc">
144                             <list_item>
145                                 <paragraph><reference ids="id56" refid="document-parts"><generated classes="sectnum">2.14.1   </generated>Document Parts</reference></paragraph>
146                             </list_item>
147                             <list_item>
148                                 <paragraph><reference ids="id57" refid="images-and-figures"><generated classes="sectnum">2.14.2   </generated>Images and Figures</reference></paragraph>
149                             </list_item>
150                             <list_item>
151                                 <paragraph><reference ids="id58" refid="admonitions"><generated classes="sectnum">2.14.3   </generated>Admonitions</reference></paragraph>
152                             </list_item>
153                             <list_item>
154                                 <paragraph><reference ids="id59" refid="topics-sidebars-and-rubrics"><generated classes="sectnum">2.14.4   </generated>Topics, Sidebars, and Rubrics</reference></paragraph>
155                             </list_item>
156                             <list_item>
157                                 <paragraph><reference ids="id60" refid="target-footnotes"><generated classes="sectnum">2.14.5   </generated>Target Footnotes</reference></paragraph>
158                             </list_item>
159                             <list_item>
160                                 <paragraph><reference ids="id61" refid="replacement-text"><generated classes="sectnum">2.14.6   </generated>Replacement Text</reference></paragraph>
161                             </list_item>
162                             <list_item>
163                                 <paragraph><reference ids="id62" refid="compound-paragraph"><generated classes="sectnum">2.14.7   </generated>Compound Paragraph</reference></paragraph>
164                             </list_item>
165                             <list_item>
166                                 <paragraph><reference ids="id63" refid="parsed-literal-blocks"><generated classes="sectnum">2.14.8   </generated>Parsed Literal Blocks</reference></paragraph>
167                             </list_item>
168                             <list_item>
169                                 <paragraph><reference ids="id64" refid="code"><generated classes="sectnum">2.14.9   </generated>Code</reference></paragraph>
170                             </list_item>
171                         </bullet_list>
172                     </list_item>
173                     <list_item>
174                         <paragraph><reference ids="id65" refid="substitution-definitions"><generated classes="sectnum">2.15   </generated>Substitution Definitions</reference></paragraph>
175                     </list_item>
176                     <list_item>
177                         <paragraph><reference ids="id66" refid="comments"><generated classes="sectnum">2.16   </generated>Comments</reference></paragraph>
178                     </list_item>
179                     <list_item>
180                         <paragraph><reference ids="id67" refid="raw-text"><generated classes="sectnum">2.17   </generated>Raw text</reference></paragraph>
181                     </list_item>
182                     <list_item>
183                         <paragraph><reference ids="id68" refid="container"><generated classes="sectnum">2.18   </generated>Container</reference></paragraph>
184                     </list_item>
185                     <list_item>
186                         <paragraph><reference ids="id69" refid="colspanning-tables"><generated classes="sectnum">2.19   </generated>Colspanning tables</reference></paragraph>
187                     </list_item>
188                     <list_item>
189                         <paragraph><reference ids="id70" refid="rowspanning-tables"><generated classes="sectnum">2.20   </generated>Rowspanning tables</reference></paragraph>
190                     </list_item>
191                     <list_item>
192                         <paragraph><reference ids="id71" refid="complex-tables"><generated classes="sectnum">2.21   </generated>Complex tables</reference></paragraph>
193                     </list_item>
194                     <list_item>
195                         <paragraph><reference ids="id72" refid="list-tables"><generated classes="sectnum">2.22   </generated>List Tables</reference></paragraph>
196                     </list_item>
197                 </bullet_list>
198             </list_item>
199             <list_item>
200                 <paragraph><reference ids="id73" refid="error-handling"><generated classes="sectnum">3   </generated>Error Handling</reference></paragraph>
201             </list_item>
202         </bullet_list>
203     </topic>
204     <section ids="structural-elements" names="structural\ elements">
205         <title auto="1" refid="id34"><generated classes="sectnum">1   </generated>Structural Elements</title>
206         <section ids="section-title" names="section\ title">
207             <title auto="1" refid="id35"><generated classes="sectnum">1.1   </generated>Section Title</title>
208             <subtitle ids="section-subtitle" names="section\ subtitle">Section Subtitle</subtitle>
209             <paragraph>Lone subsections are converted to a section subtitle by a transform
210                 activated with the <literal>--section-subtitles</literal> command line option or the
211                 <literal>sectsubtitle-xform</literal> configuration value.</paragraph>
212         </section>
213         <section ids="empty-section" names="empty\ section">
214             <title auto="1" refid="id36"><generated classes="sectnum">1.2   </generated>Empty Section</title>
215         </section>
216         <section ids="transitions" names="transitions">
217             <title auto="1" refid="id37"><generated classes="sectnum">1.3   </generated>Transitions</title>
218             <paragraph>Here's a transition:</paragraph>
219             <transition></transition>
220             <paragraph>It divides the section.  Transitions may also occur between sections:</paragraph>
221         </section>
222     </section>
223     <transition></transition>
224     <section ids="body-elements" names="body\ elements">
225         <title auto="1" refid="id38"><generated classes="sectnum">2   </generated>Body Elements</title>
226         <section ids="paragraphs" names="paragraphs">
227             <title auto="1" refid="id39"><generated classes="sectnum">2.1   </generated>Paragraphs</title>
228             <paragraph>A paragraph.</paragraph>
229             <section ids="inline-markup" names="inline\ markup">
230                 <title auto="1" refid="id40"><generated classes="sectnum">2.1.1   </generated>Inline Markup</title>
231                 <paragraph>Paragraphs contain text and may contain inline markup: <emphasis>emphasis</emphasis>,
232                     <strong>strong emphasis</strong>, <literal>inline literals</literal>, standalone hyperlinks
233                     (<reference refuri="http://www.python.org">http://www.python.org</reference>), external hyperlinks (<reference name="Python" refuri="http://www.python.org/">Python</reference> <footnote_reference auto="1" ids="id26" refid="id25">5</footnote_reference>), internal
234                     cross-references (<reference name="example" refid="example">example</reference>), external hyperlinks with embedded URIs
235                     (<reference name="Python web site" refuri="http://www.python.org">Python web site</reference>), <reference anonymous="1" name="anonymous hyperlink references" refuri="http://www.python.org/">anonymous hyperlink
236                         references</reference> <footnote_reference auto="1" ids="id31" refid="id25">5</footnote_reference> (<reference anonymous="1" name="a second reference" refuri="http://docutils.sourceforge.net/">a second reference</reference> <footnote_reference auto="1" ids="id33" refid="id32">7</footnote_reference>), footnote references (manually
237                     numbered <footnote_reference ids="id1" refid="id8">1</footnote_reference>, anonymous auto-numbered <footnote_reference auto="1" ids="id2" refid="id12">3</footnote_reference>, labeled auto-numbered
238                     <footnote_reference auto="1" ids="id3" refid="label">2</footnote_reference>, or symbolic <footnote_reference auto="*" ids="id4" refid="id13">*</footnote_reference>), citation references (<citation_reference ids="id5" refid="cit2002">CIT2002</citation_reference>),
239                     substitution references (<image alt="EXAMPLE" uri="../../../docs/user/rst/images/biohazard.png"></image>), and <target ids="inline-hyperlink-targets" names="inline\ hyperlink\ targets">inline hyperlink targets</target>
240                     (see <reference name="Targets" refid="targets">Targets</reference> below for a reference back to here).  Character-level
241                     inline markup is also possible (although exceedingly ugly!) in <emphasis>re</emphasis><literal>Structured</literal><emphasis>Text</emphasis>.  Problems are indicated by <problematic ids="id24" refid="id23">|problematic|</problematic> text
242                     (generated by processing errors; this one is intentional).  Here is a
243                     reference to the <reference name="doctitle" refid="doctitle">doctitle</reference> and the <reference name="subtitle" refid="subtitle">subtitle</reference>.</paragraph>
244                 <target anonymous="1" ids="id6" refuri="http://www.python.org/"></target>
245                 <target anonymous="1" ids="id7" refuri="http://docutils.sourceforge.net/"></target>
246                 <paragraph>The default role for interpreted text is <title_reference>Title Reference</title_reference>.  Here are
247                     some explicit interpreted text roles: a PEP reference (<reference refuri="http://www.python.org/dev/peps/pep-0287">PEP 287</reference>); an
248                     RFC reference (<reference refuri="http://tools.ietf.org/html/rfc2822.html">RFC 2822</reference>); an abbreviation (<abbreviation>abb.</abbreviation>), an acronym
249                     (<acronym>reST</acronym>), code (<literal classes="code">print "hello world"</literal>); a <subscript>subscript</subscript>;
250                     a <superscript>superscript</superscript> and explicit roles for <title_reference>Docutils</title_reference>'
251                     <emphasis>standard</emphasis> <strong>inline</strong> <literal>markup</literal>.</paragraph>
252                 <comment xml:space="preserve">DO NOT RE-WRAP THE FOLLOWING PARAGRAPH!</comment>
253                 <paragraph>Let's test wrapping and whitespace significance in inline literals:
254                     <literal>This is an example of --inline-literal --text, --including some--
255 strangely--hyphenated-words.  Adjust-the-width-of-your-browser-window
256 to see how the text is wrapped.  -- ---- --------  Now note    the
257 spacing    between the    words of    this sentence    (words
258 should    be grouped    in pairs).</literal></paragraph>
259                 <paragraph>If the <literal>--pep-references</literal> option was supplied, there should be a
260                     live link to PEP 258 here.</paragraph>
261             </section>
262         </section>
263         <section ids="bullet-lists" names="bullet\ lists">
264             <title auto="1" refid="id41"><generated classes="sectnum">2.2   </generated>Bullet Lists</title>
265             <bullet_list bullet="-">
266                 <list_item>
267                     <paragraph>A bullet list</paragraph>
268                     <bullet_list bullet="+">
269                         <list_item>
270                             <paragraph>Nested bullet list.</paragraph>
271                         </list_item>
272                         <list_item>
273                             <paragraph>Nested item 2.</paragraph>
274                         </list_item>
275                     </bullet_list>
276                 </list_item>
277                 <list_item>
278                     <paragraph>Item 2.</paragraph>
279                     <paragraph>Paragraph 2 of item 2.</paragraph>
280                     <bullet_list bullet="*">
281                         <list_item>
282                             <paragraph>Nested bullet list.</paragraph>
283                         </list_item>
284                         <list_item>
285                             <paragraph>Nested item 2.</paragraph>
286                             <bullet_list bullet="-">
287                                 <list_item>
288                                     <paragraph>Third level.</paragraph>
289                                 </list_item>
290                                 <list_item>
291                                     <paragraph>Item 2.</paragraph>
292                                 </list_item>
293                             </bullet_list>
294                         </list_item>
295                         <list_item>
296                             <paragraph>Nested item 3.</paragraph>
297                         </list_item>
298                         <list_item>
299                             <paragraph>This nested list should be compacted by the HTML writer.</paragraph>
300                             <target ids="target" names="target"></target>
301                             <comment xml:space="preserve">Even if this item contains a target and a comment.</comment>
302                         </list_item>
303                     </bullet_list>
304                 </list_item>
305             </bullet_list>
306         </section>
307         <section ids="enumerated-lists" names="enumerated\ lists">
308             <title auto="1" refid="id42"><generated classes="sectnum">2.3   </generated>Enumerated Lists</title>
309             <enumerated_list enumtype="arabic" prefix="" suffix=".">
310                 <list_item>
311                     <paragraph>Arabic numerals.</paragraph>
312                     <enumerated_list enumtype="loweralpha" prefix="" suffix=")">
313                         <list_item>
314                             <paragraph>lower alpha)</paragraph>
315                             <enumerated_list enumtype="lowerroman" prefix="(" suffix=")">
316                                 <list_item>
317                                     <paragraph>(lower roman)</paragraph>
318                                     <enumerated_list enumtype="upperalpha" prefix="" suffix=".">
319                                         <list_item>
320                                             <paragraph>upper alpha.</paragraph>
321                                             <enumerated_list enumtype="upperroman" prefix="" suffix=")">
322                                                 <list_item>
323                                                     <paragraph>upper roman)</paragraph>
324                                                 </list_item>
325                                             </enumerated_list>
326                                         </list_item>
327                                     </enumerated_list>
328                                 </list_item>
329                             </enumerated_list>
330                         </list_item>
331                     </enumerated_list>
332                 </list_item>
333                 <list_item>
334                     <paragraph>Lists that don't start at 1:</paragraph>
335                     <enumerated_list enumtype="arabic" prefix="" start="3" suffix=".">
336                         <list_item>
337                             <paragraph>Three</paragraph>
338                         </list_item>
339                         <list_item>
340                             <paragraph>Four</paragraph>
341                         </list_item>
342                     </enumerated_list>
343                     <system_message level="1" line="8" source="functional/input/data/standard.txt" type="INFO">
344                         <paragraph>Enumerated list start value not ordinal-1: "3" (ordinal 3)</paragraph>
345                     </system_message>
346                     <enumerated_list enumtype="upperalpha" prefix="" start="3" suffix=".">
347                         <list_item>
348                             <paragraph>C</paragraph>
349                         </list_item>
350                         <list_item>
351                             <paragraph>D</paragraph>
352                         </list_item>
353                     </enumerated_list>
354                     <system_message level="1" line="8" source="functional/input/data/standard.txt" type="INFO">
355                         <paragraph>Enumerated list start value not ordinal-1: "C" (ordinal 3)</paragraph>
356                     </system_message>
357                     <enumerated_list enumtype="lowerroman" prefix="" start="3" suffix=".">
358                         <list_item>
359                             <paragraph>iii</paragraph>
360                         </list_item>
361                         <list_item>
362                             <paragraph>iv</paragraph>
363                         </list_item>
364                     </enumerated_list>
365                     <system_message level="1" line="8" source="functional/input/data/standard.txt" type="INFO">
366                         <paragraph>Enumerated list start value not ordinal-1: "iii" (ordinal 3)</paragraph>
367                     </system_message>
368                 </list_item>
369             </enumerated_list>
370         </section>
371         <section ids="definition-lists" names="definition\ lists">
372             <title auto="1" refid="id43"><generated classes="sectnum">2.4   </generated>Definition Lists</title>
373             <definition_list>
374                 <definition_list_item>
375                     <term>Term</term>
376                     <definition>
377                         <paragraph>Definition</paragraph>
378                     </definition>
379                 </definition_list_item>
380                 <definition_list_item>
381                     <term>Term</term>
382                     <classifier>classifier</classifier>
383                     <definition>
384                         <paragraph>Definition paragraph 1.</paragraph>
385                         <paragraph>Definition paragraph 2.</paragraph>
386                     </definition>
387                 </definition_list_item>
388                 <definition_list_item>
389                     <term>Term</term>
390                     <definition>
391                         <paragraph>Definition</paragraph>
392                     </definition>
393                 </definition_list_item>
394                 <definition_list_item>
395                     <term>Term</term>
396                     <classifier>classifier one</classifier>
397                     <classifier>classifier two</classifier>
398                     <definition>
399                         <paragraph>Definition</paragraph>
400                     </definition>
401                 </definition_list_item>
402             </definition_list>
403         </section>
404         <section ids="field-lists" names="field\ lists">
405             <title auto="1" refid="id44"><generated classes="sectnum">2.5   </generated>Field Lists</title>
406             <field_list>
407                 <field>
408                     <field_name>what</field_name>
409                     <field_body>
410                         <paragraph>Field lists map field names to field bodies, like database
411                             records.  They are often part of an extension syntax.  They are
412                             an unambiguous variant of RFC 2822 fields.</paragraph>
413                     </field_body>
414                 </field>
415                 <field>
416                     <field_name>how arg1 arg2</field_name>
417                     <field_body>
418                         <paragraph>The field marker is a colon, the field name, and a colon.</paragraph>
419                         <paragraph>The field body may contain one or more body elements, indented
420                             relative to the field marker.</paragraph>
421                     </field_body>
422                 </field>
423                 <field>
424                     <field_name>credits</field_name>
425                     <field_body>
426                         <paragraph classes="credits">This paragraph has the <title_reference>credits</title_reference> class set.  (This is actually not
427                             about credits but just for ensuring that the class attribute
428                             doesn't get stripped away.)</paragraph>
429                     </field_body>
430                 </field>
431             </field_list>
432         </section>
433         <section ids="option-lists" names="option\ lists">
434             <title auto="1" refid="id45"><generated classes="sectnum">2.6   </generated>Option Lists</title>
435             <paragraph>For listing command-line options:</paragraph>
436             <option_list>
437                 <option_list_item>
438                     <option_group>
439                         <option>
440                             <option_string>-a</option_string>
441                         </option>
442                     </option_group>
443                     <description>
444                         <paragraph>command-line option "a"</paragraph>
445                     </description>
446                 </option_list_item>
447                 <option_list_item>
448                     <option_group>
449                         <option>
450                             <option_string>-b</option_string>
451                             <option_argument delimiter=" ">file</option_argument>
452                         </option>
453                     </option_group>
454                     <description>
455                         <paragraph>options can have arguments
456                             and long descriptions</paragraph>
457                     </description>
458                 </option_list_item>
459                 <option_list_item>
460                     <option_group>
461                         <option>
462                             <option_string>--long</option_string>
463                         </option>
464                     </option_group>
465                     <description>
466                         <paragraph>options can be long also</paragraph>
467                     </description>
468                 </option_list_item>
469                 <option_list_item>
470                     <option_group>
471                         <option>
472                             <option_string>--input</option_string>
473                             <option_argument delimiter="=">file</option_argument>
474                         </option>
475                     </option_group>
476                     <description>
477                         <paragraph>long options can also have
478                             arguments</paragraph>
479                     </description>
480                 </option_list_item>
481                 <option_list_item>
482                     <option_group>
483                         <option>
484                             <option_string>--very-long-option</option_string>
485                         </option>
486                     </option_group>
487                     <description>
488                         <paragraph>The description can also start on the next line.</paragraph>
489                         <paragraph>The description may contain multiple body elements,
490                             regardless of where it starts.</paragraph>
491                     </description>
492                 </option_list_item>
493                 <option_list_item>
494                     <option_group>
495                         <option>
496                             <option_string>-x</option_string>
497                         </option>
498                         <option>
499                             <option_string>-y</option_string>
500                         </option>
501                         <option>
502                             <option_string>-z</option_string>
503                         </option>
504                     </option_group>
505                     <description>
506                         <paragraph>Multiple options are an "option group".</paragraph>
507                     </description>
508                 </option_list_item>
509                 <option_list_item>
510                     <option_group>
511                         <option>
512                             <option_string>-v</option_string>
513                         </option>
514                         <option>
515                             <option_string>--verbose</option_string>
516                         </option>
517                     </option_group>
518                     <description>
519                         <paragraph>Commonly-seen: short &amp; long options.</paragraph>
520                     </description>
521                 </option_list_item>
522                 <option_list_item>
523                     <option_group>
524                         <option>
525                             <option_string>-1</option_string>
526                             <option_argument delimiter=" ">file</option_argument>
527                         </option>
528                         <option>
529                             <option_string>--one</option_string>
530                             <option_argument delimiter="=">file</option_argument>
531                         </option>
532                         <option>
533                             <option_string>--two</option_string>
534                             <option_argument delimiter=" ">file</option_argument>
535                         </option>
536                     </option_group>
537                     <description>
538                         <paragraph>Multiple options with arguments.</paragraph>
539                     </description>
540                 </option_list_item>
541                 <option_list_item>
542                     <option_group>
543                         <option>
544                             <option_string>/V</option_string>
545                         </option>
546                     </option_group>
547                     <description>
548                         <paragraph>DOS/VMS-style options too</paragraph>
549                     </description>
550                 </option_list_item>
551             </option_list>
552             <paragraph>There must be at least two spaces between the option and the
553                 description.</paragraph>
554         </section>
555         <section ids="literal-blocks" names="literal\ blocks">
556             <title auto="1" refid="id46"><generated classes="sectnum">2.7   </generated>Literal Blocks</title>
557             <paragraph>Literal blocks are indicated with a double-colon ("::") at the end of
558                 the preceding paragraph (over there <literal>--&gt;</literal>).  They can be indented:</paragraph>
559             <literal_block xml:space="preserve">if literal_block:
560     text = 'is left as-is'
561     spaces_and_linebreaks = 'are preserved'
562     markup_processing = None</literal_block>
563             <paragraph>Or they can be quoted without indentation:</paragraph>
564             <literal_block xml:space="preserve">&gt;&gt; Great idea!
565 &gt;
566 &gt; Why didn't I think of that?</literal_block>
567         </section>
568         <section ids="line-blocks" names="line\ blocks">
569             <title auto="1" refid="id47"><generated classes="sectnum">2.8   </generated>Line Blocks</title>
570             <paragraph>This section tests line blocks.  Line blocks are body elements which
571                 consist of lines and other line blocks.  Nested line blocks cause
572                 indentation.</paragraph>
573             <line_block>
574                 <line>This is a line block.  It ends with a blank line.</line>
575                 <line_block>
576                     <line>New lines begin with a vertical bar ("|").</line>
577                     <line>Line breaks and initial indent are significant, and preserved.</line>
578                     <line_block>
579                         <line>Continuation lines are also possible.  A long line that is intended
580                             to wrap should begin with a space in place of the vertical bar.</line>
581                     </line_block>
582                     <line>The left edge of a continuation line need not be aligned with
583                         the left edge of the text above it.</line>
584                 </line_block>
585             </line_block>
586             <line_block>
587                 <line>This is a second line block.</line>
588                 <line></line>
589                 <line>Blank lines are permitted internally, but they must begin with a "|".</line>
590             </line_block>
591             <paragraph>Another line block, surrounded by paragraphs:</paragraph>
592             <line_block>
593                 <line>And it's no good waiting by the window</line>
594                 <line>It's no good waiting for the sun</line>
595                 <line>Please believe me, the things you dream of</line>
596                 <line>They don't fall in the lap of no-one</line>
597             </line_block>
598             <paragraph>Take it away, Eric the Orchestra Leader!</paragraph>
599             <block_quote>
600                 <line_block>
601                     <line>A one, two, a one two three four</line>
602                     <line></line>
603                     <line>Half a bee, philosophically,</line>
604                     <line_block>
605                         <line>must, <emphasis>ipso facto</emphasis>, half not be.</line>
606                     </line_block>
607                     <line>But half the bee has got to be,</line>
608                     <line_block>
609                         <line><emphasis>vis a vis</emphasis> its entity.  D'you see?</line>
610                         <line></line>
611                     </line_block>
612                     <line>But can a bee be said to be</line>
613                     <line_block>
614                         <line>or not to be an entire bee,</line>
615                         <line_block>
616                             <line>when half the bee is not a bee,</line>
617                             <line_block>
618                                 <line>due to some ancient injury?</line>
619                                 <line></line>
620                             </line_block>
621                         </line_block>
622                     </line_block>
623                     <line>Singing...</line>
624                 </line_block>
625             </block_quote>
626             <paragraph>A line block, like the following poem by Christian Morgenstern, can
627                 also be centre-aligned:</paragraph>
628             <line_block classes="language-de align-center">
629                 <line><strong>Die Trichter</strong></line>
630                 <line></line>
631                 <line>Zwei Trichter wandeln durch die Nacht.</line>
632                 <line>Durch ihres Rumpfs verengten Schacht</line>
633                 <line>fließt weißes Mondlicht</line>
634                 <line>still und heiter</line>
635                 <line>auf   ihren</line>
636                 <line>Waldweg</line>
637                 <line>u. s.</line>
638                 <line>w.</line>
639                 <line></line>
640             </line_block>
641         </section>
642         <section ids="block-quotes" names="block\ quotes">
643             <title auto="1" refid="id48"><generated classes="sectnum">2.9   </generated>Block Quotes</title>
644             <paragraph>Block quotes consist of indented body elements:</paragraph>
645             <block_quote>
646                 <paragraph>My theory by A. Elk.  Brackets Miss, brackets.  This theory goes
647                     as follows and begins now.  All brontosauruses are thin at one
648                     end, much much thicker in the middle and then thin again at the
649                     far end.  That is my theory, it is mine, and belongs to me and I
650                     own it, and what it is too.</paragraph>
651                 <attribution>Anne Elk (Miss)</attribution>
652             </block_quote>
653             <paragraph>The language of a quote (like any other object) can be specified by
654                 a class attribute:</paragraph>
655             <comment xml:space="preserve"></comment>
656             <block_quote classes="language-fr">
657                 <paragraph>ReStructuredText est un langage de balisage léger utilisé
658                     notamment dans la documentation du langage Python.</paragraph>
659             </block_quote>
660         </section>
661         <section ids="doctest-blocks" names="doctest\ blocks">
662             <title auto="1" refid="id49"><generated classes="sectnum">2.10   </generated>Doctest Blocks</title>
663             <doctest_block xml:space="preserve">&gt;&gt;&gt; print 'Python-specific usage examples; begun with "&gt;&gt;&gt;"'
664 Python-specific usage examples; begun with "&gt;&gt;&gt;"
665 &gt;&gt;&gt; print '(cut and pasted from interactive Python sessions)'
666 (cut and pasted from interactive Python sessions)</doctest_block>
667         </section>
668         <section ids="footnotes" names="footnotes">
669             <title auto="1" refid="id50"><generated classes="sectnum">2.11   </generated>Footnotes</title>
670             <footnote backrefs="id1 id9 id22" ids="id8" names="1">
671                 <label>1</label>
672                 <paragraph>A footnote contains body elements, consistently indented by at
673                     least 3 spaces.</paragraph>
674                 <paragraph>This is the footnote's second paragraph.</paragraph>
675             </footnote>
676             <footnote auto="1" backrefs="id3 id10" ids="label" names="label">
677                 <label>2</label>
678                 <paragraph>Footnotes may be numbered, either manually (as in <footnote_reference ids="id9" refid="id8">1</footnote_reference>) or
679                     automatically using a "#"-prefixed label.  This footnote has a
680                     label so it can be referred to from multiple places, both as a
681                     footnote reference (<footnote_reference auto="1" ids="id10" refid="label">2</footnote_reference>) and as a <reference anonymous="1" name="hyperlink reference" refid="label">hyperlink reference</reference>.</paragraph>
682                 <target anonymous="1" ids="id11" refid="label"></target>
683             </footnote>
684             <footnote auto="1" backrefs="id2" ids="id12" names="3">
685                 <label>3</label>
686                 <paragraph>This footnote is numbered automatically and anonymously using a
687                     label of "#" only.</paragraph>
688                 <paragraph>This is the second paragraph.</paragraph>
689                 <paragraph>And this is the third paragraph.</paragraph>
690             </footnote>
691             <footnote auto="*" backrefs="id4" ids="id13">
692                 <label>*</label>
693                 <paragraph>Footnotes may also use symbols, specified with a "*" label.
694                     Here's a reference to the next footnote: <footnote_reference auto="*" ids="id14" refid="id15">†</footnote_reference>.</paragraph>
695             </footnote>
696             <footnote auto="*" backrefs="id14" ids="id15">
697                 <label>†</label>
698                 <paragraph>This footnote shows the next symbol in the sequence.</paragraph>
699             </footnote>
700             <footnote ids="id16" names="4">
701                 <label>4</label>
702                 <paragraph>Here's an unreferenced footnote, with a reference to a
703                     nonexistent footnote: <problematic ids="id17" refid="id83">[5]_</problematic>.</paragraph>
704             </footnote>
705         </section>
706         <section ids="citations" names="citations">
707             <title auto="1" refid="id51"><generated classes="sectnum">2.12   </generated>Citations</title>
708             <citation backrefs="id5 id18" ids="cit2002" names="cit2002">
709                 <label>CIT2002</label>
710                 <paragraph>Citations are text-labeled footnotes. They may be
711                     rendered separately and differently from footnotes.</paragraph>
712             </citation>
713             <paragraph>Here's a reference to the above, <citation_reference ids="id18" refid="cit2002">CIT2002</citation_reference>, and a <problematic ids="id19" refid="id84">[nonexistent]_</problematic>
714                 citation.</paragraph>
715             <target refid="another-target"></target>
716         </section>
717         <section ids="targets another-target" names="targets another\ target">
718             <title auto="1" refid="id52"><generated classes="sectnum">2.13   </generated>Targets</title>
719             <target refid="example"></target>
720             <paragraph ids="example" names="example">This paragraph is pointed to by the explicit "example" target. A
721                 reference can be found under <reference name="Inline Markup" refid="inline-markup">Inline Markup</reference>, above. <reference name="Inline hyperlink targets" refid="inline-hyperlink-targets">Inline
722                     hyperlink targets</reference> are also possible.</paragraph>
723             <paragraph>Section headers are implicit targets, referred to by name. See
724                 <reference name="Targets" refid="targets">Targets</reference>, which is a subsection of <reference name="Body Elements" refid="body-elements">Body Elements</reference>.</paragraph>
725             <paragraph>Explicit external targets are interpolated into references such as
726                 "<reference name="Python" refuri="http://www.python.org/">Python</reference> <footnote_reference auto="1" ids="id27" refid="id25">5</footnote_reference>".</paragraph>
727             <target ids="python" names="python" refuri="http://www.python.org/"></target>
728             <paragraph>Targets may be indirect and anonymous.  Thus <reference anonymous="1" name="this phrase" refid="targets">this phrase</reference> may also
729                 refer to the <reference name="Targets" refid="targets">Targets</reference> section.</paragraph>
730             <target anonymous="1" ids="id20" refid="targets"></target>
731             <paragraph>Here's a <problematic ids="id86" refid="id85">`hyperlink reference without a target`_</problematic>, which generates an
732                 error.</paragraph>
733             <section dupnames="duplicate\ target\ names" ids="duplicate-target-names">
734                 <title auto="1" refid="id53"><generated classes="sectnum">2.13.1   </generated>Duplicate Target Names</title>
735                 <paragraph>Duplicate names in section headers or other implicit targets will
736                     generate "info" (level-1) system messages.  Duplicate names in
737                     explicit targets will generate "warning" (level-2) system messages.</paragraph>
738             </section>
739             <section dupnames="duplicate\ target\ names" ids="id21">
740                 <title auto="1" refid="id54"><generated classes="sectnum">2.13.2   </generated>Duplicate Target Names</title>
741                 <system_message backrefs="id21" level="1" line="438" source="functional/input/data/standard.txt" type="INFO">
742                     <paragraph>Duplicate implicit target name: "duplicate target names".</paragraph>
743                 </system_message>
744                 <paragraph>Since there are two "Duplicate Target Names" section headers, we
745                     cannot uniquely refer to either of them by name.  If we try to (like
746                     this: <problematic ids="id88" refid="id87">`Duplicate Target Names`_</problematic>), an error is generated.</paragraph>
747             </section>
748         </section>
749         <section ids="directives" names="directives">
750             <title auto="1" refid="id55"><generated classes="sectnum">2.14   </generated>Directives</title>
751             <topic classes="contents local" ids="contents" names="contents">
752                 <bullet_list classes="auto-toc">
753                     <list_item>
754                         <paragraph><reference ids="id74" refid="document-parts"><generated classes="sectnum">2.14.1   </generated>Document Parts</reference></paragraph>
755                     </list_item>
756                     <list_item>
757                         <paragraph><reference ids="id75" refid="images-and-figures"><generated classes="sectnum">2.14.2   </generated>Images and Figures</reference></paragraph>
758                     </list_item>
759                     <list_item>
760                         <paragraph><reference ids="id76" refid="admonitions"><generated classes="sectnum">2.14.3   </generated>Admonitions</reference></paragraph>
761                     </list_item>
762                     <list_item>
763                         <paragraph><reference ids="id77" refid="topics-sidebars-and-rubrics"><generated classes="sectnum">2.14.4   </generated>Topics, Sidebars, and Rubrics</reference></paragraph>
764                     </list_item>
765                     <list_item>
766                         <paragraph><reference ids="id78" refid="target-footnotes"><generated classes="sectnum">2.14.5   </generated>Target Footnotes</reference></paragraph>
767                     </list_item>
768                     <list_item>
769                         <paragraph><reference ids="id79" refid="replacement-text"><generated classes="sectnum">2.14.6   </generated>Replacement Text</reference></paragraph>
770                     </list_item>
771                     <list_item>
772                         <paragraph><reference ids="id80" refid="compound-paragraph"><generated classes="sectnum">2.14.7   </generated>Compound Paragraph</reference></paragraph>
773                     </list_item>
774                     <list_item>
775                         <paragraph><reference ids="id81" refid="parsed-literal-blocks"><generated classes="sectnum">2.14.8   </generated>Parsed Literal Blocks</reference></paragraph>
776                     </list_item>
777                     <list_item>
778                         <paragraph><reference ids="id82" refid="code"><generated classes="sectnum">2.14.9   </generated>Code</reference></paragraph>
779                     </list_item>
780                 </bullet_list>
781             </topic>
782             <paragraph>These are just a sample of the many reStructuredText Directives.  For
783                 others, please see
784                 <reference refuri="http://docutils.sourceforge.net/docs/ref/rst/directives.html">http://docutils.sourceforge.net/docs/ref/rst/directives.html</reference>.</paragraph>
785             <section ids="document-parts" names="document\ parts">
786                 <title auto="1" refid="id74"><generated classes="sectnum">2.14.1   </generated>Document Parts</title>
787                 <paragraph>An example of the "contents" directive can be seen above this section
788                     (a local, untitled table of <reference name="contents" refid="contents">contents</reference>) and at the beginning of the
789                     document (a document-wide <reference name="table of contents" refid="table-of-contents">table of contents</reference>).</paragraph>
790             </section>
791             <section ids="images-and-figures" names="images\ and\ figures">
792                 <title auto="1" refid="id75"><generated classes="sectnum">2.14.2   </generated>Images and Figures</title>
793                 <paragraph>An image directive (also clickable -- a hyperlink reference):</paragraph>
794                 <reference name="directives" refid="directives"><image classes="class1 class2" uri="../../../docs/user/rst/images/title.png"></image></reference>
795                 <paragraph>Image with multiple IDs:</paragraph>
796                 <target refid="image-target-1"></target>
797                 <target refid="image-target-2"></target>
798                 <target refid="image-target-3"></target>
799                 <image ids="image-target-3 image-target-2 image-target-1" names="image\ target\ 3 image\ target\ 2 image\ target\ 1" uri="../../../docs/user/rst/images/title.png"></image>
800                 <paragraph>A centered image:</paragraph>
801                 <image align="center" uri="../../../docs/user/rst/images/biohazard.png"></image>
802                 <paragraph>A left-aligned image:</paragraph>
803                 <image align="left" uri="../../../docs/user/rst/images/biohazard.png"></image>
804                 <paragraph>This paragraph might flow around the image.
805                     The specific behavior depends upon the style sheet and
806                     the browser or rendering software used.</paragraph>
807                 <paragraph>A right-aligned image:</paragraph>
808                 <image align="right" uri="../../../docs/user/rst/images/biohazard.png"></image>
809                 <paragraph>This paragraph might flow around the image.
810                     The specific behavior depends upon the style sheet and
811                     the browser or rendering software used.</paragraph>
812                 <paragraph>For inline images see <reference name="Substitution Definitions" refid="substitution-definitions">Substitution Definitions</reference>.</paragraph>
813                 <paragraph>Image size:</paragraph>
814                 <paragraph>An image 2 em wide:</paragraph>
815                 <image uri="../../../docs/user/rst/images/biohazard.png" width="2em"></image>
816                 <paragraph>An image 2 em wide and 15 pixel high:</paragraph>
817                 <image height="15px" uri="../../../docs/user/rst/images/biohazard.png" width="2em"></image>
818                 <paragraph>An image occupying 50% of the line width:</paragraph>
819                 <image uri="../../../docs/user/rst/images/title.png" width="50%"></image>
820                 <paragraph>An image 2 cm high:</paragraph>
821                 <image height="2cm" uri="../../../docs/user/rst/images/biohazard.png"></image>
822                 <paragraph>A <emphasis>figure</emphasis> is an image with a caption and/or a legend.  With page-based output
823                     media, figures might float to a different position if this helps the page
824                     layout.</paragraph>
825                 <figure classes="figclass1 figclass2">
826                     <image alt="reStructuredText, the markup syntax" classes="class1 class2" uri="../../../docs/user/rst/images/title.png" width="258"></image>
827                     <caption>Plaintext markup syntax and parser system.</caption>
828                     <legend>
829                         <table>
830                             <tgroup cols="2">
831                                 <colspec colwidth="12"></colspec>
832                                 <colspec colwidth="47"></colspec>
833                                 <tbody>
834                                     <row>
835                                         <entry>
836                                             <paragraph>re</paragraph>
837                                         </entry>
838                                         <entry>
839                                             <paragraph>Revised, revisited, based on 're' module.</paragraph>
840                                         </entry>
841                                     </row>
842                                     <row>
843                                         <entry>
844                                             <paragraph>Structured</paragraph>
845                                         </entry>
846                                         <entry>
847                                             <paragraph>Structure-enhanced text, structuredtext.</paragraph>
848                                         </entry>
849                                     </row>
850                                     <row>
851                                         <entry>
852                                             <paragraph>Text</paragraph>
853                                         </entry>
854                                         <entry>
855                                             <paragraph>Well it is, isn't it?</paragraph>
856                                         </entry>
857                                     </row>
858                                 </tbody>
859                             </tgroup>
860                         </table>
861                         <paragraph>This paragraph is also part of the legend.</paragraph>
862                     </legend>
863                 </figure>
864                 <paragraph>A left-aligned figure:</paragraph>
865                 <figure align="left" classes="figclass1 figclass2" width="70%">
866                     <image alt="reStructuredText, the markup syntax" classes="class1 class2" uri="../../../docs/user/rst/images/biohazard.png" width="40px"></image>
867                     <caption>This is the caption.</caption>
868                     <legend>
869                         <paragraph>This is the legend.</paragraph>
870                         <paragraph>The legend may consist of several paragraphs.</paragraph>
871                     </legend>
872                 </figure>
873                 <paragraph>This paragraph might flow around the figure.</paragraph>
874                 <paragraph>The specific behavior depends upon the style sheet and the browser or
875                     rendering software used.</paragraph>
876                 <paragraph>A centered figure:</paragraph>
877                 <figure align="center">
878                     <image uri="../../../docs/user/rst/images/biohazard.png" width="40px"></image>
879                     <caption>This is the caption.</caption>
880                     <legend>
881                         <paragraph>This is the legend.</paragraph>
882                         <paragraph>The legend may consist of several paragraphs.</paragraph>
883                     </legend>
884                 </figure>
885                 <paragraph>This paragraph might flow around the figure.</paragraph>
886                 <paragraph>The specific behavior depends upon the style sheet and the browser or
887                     rendering software used.</paragraph>
888                 <paragraph>A right-aligned figure:</paragraph>
889                 <figure align="right">
890                     <image uri="../../../docs/user/rst/images/biohazard.png" width="40px"></image>
891                     <caption>This is the caption.</caption>
892                     <legend>
893                         <paragraph>This is the legend.</paragraph>
894                         <paragraph>The legend may consist of several paragraphs.</paragraph>
895                     </legend>
896                 </figure>
897                 <paragraph>This paragraph might flow around the figure. The specific behavior depends
898                     upon the style sheet and the browser or rendering software used.</paragraph>
899                 <paragraph>Tables may be given titles and additional arguments with the <emphasis>table</emphasis>
900                     directive:</paragraph>
901                 <table align="left">
902                     <title>left-aligned table</title>
903                     <tgroup cols="2">
904                         <colspec colwidth="5"></colspec>
905                         <colspec colwidth="5"></colspec>
906                         <thead>
907                             <row>
908                                 <entry>
909                                     <paragraph>A</paragraph>
910                                 </entry>
911                                 <entry>
912                                     <paragraph>not A</paragraph>
913                                 </entry>
914                             </row>
915                         </thead>
916                         <tbody>
917                             <row>
918                                 <entry>
919                                     <paragraph>False</paragraph>
920                                 </entry>
921                                 <entry>
922                                     <paragraph>True</paragraph>
923                                 </entry>
924                             </row>
925                             <row>
926                                 <entry>
927                                     <paragraph>True</paragraph>
928                                 </entry>
929                                 <entry>
930                                     <paragraph>False</paragraph>
931                                 </entry>
932                             </row>
933                         </tbody>
934                     </tgroup>
935                 </table>
936                 <table align="center">
937                     <title>center-aligned table</title>
938                     <tgroup cols="2">
939                         <colspec colwidth="5"></colspec>
940                         <colspec colwidth="5"></colspec>
941                         <thead>
942                             <row>
943                                 <entry>
944                                     <paragraph>A</paragraph>
945                                 </entry>
946                                 <entry>
947                                     <paragraph>not A</paragraph>
948                                 </entry>
949                             </row>
950                         </thead>
951                         <tbody>
952                             <row>
953                                 <entry>
954                                     <paragraph>False</paragraph>
955                                 </entry>
956                                 <entry>
957                                     <paragraph>True</paragraph>
958                                 </entry>
959                             </row>
960                             <row>
961                                 <entry>
962                                     <paragraph>True</paragraph>
963                                 </entry>
964                                 <entry>
965                                     <paragraph>False</paragraph>
966                                 </entry>
967                             </row>
968                         </tbody>
969                     </tgroup>
970                 </table>
971                 <table align="right">
972                     <title>right-aligned table</title>
973                     <tgroup cols="2">
974                         <colspec colwidth="5"></colspec>
975                         <colspec colwidth="5"></colspec>
976                         <thead>
977                             <row>
978                                 <entry>
979                                     <paragraph>A</paragraph>
980                                 </entry>
981                                 <entry>
982                                     <paragraph>not A</paragraph>
983                                 </entry>
984                             </row>
985                         </thead>
986                         <tbody>
987                             <row>
988                                 <entry>
989                                     <paragraph>False</paragraph>
990                                 </entry>
991                                 <entry>
992                                     <paragraph>True</paragraph>
993                                 </entry>
994                             </row>
995                             <row>
996                                 <entry>
997                                     <paragraph>True</paragraph>
998                                 </entry>
999                                 <entry>
1000                                     <paragraph>False</paragraph>
1001                                 </entry>
1002                             </row>
1003                         </tbody>
1004                     </tgroup>
1005                 </table>
1006                 <paragraph>With the "widths" argument "auto" (or "class" value "colwidths-auto"),
1007                     column widths are determined by the backend (if supported by the
1008                     writer/backend).</paragraph>
1009                 <target refid="target1"></target>
1010                 <target refid="target2"></target>
1011                 <table classes="colwidths-auto" ids="target2 target1" names="target2 target1">
1012                     <tgroup cols="3">
1013                         <colspec colwidth="7"></colspec>
1014                         <colspec colwidth="7"></colspec>
1015                         <colspec colwidth="10"></colspec>
1016                         <thead>
1017                             <row>
1018                                 <entry>
1019                                     <paragraph>A</paragraph>
1020                                 </entry>
1021                                 <entry>
1022                                     <paragraph>B</paragraph>
1023                                 </entry>
1024                                 <entry>
1025                                     <paragraph>A or B</paragraph>
1026                                 </entry>
1027                             </row>
1028                         </thead>
1029                         <tbody>
1030                             <row>
1031                                 <entry>
1032                                     <paragraph>False</paragraph>
1033                                 </entry>
1034                                 <entry>
1035                                     <paragraph>False</paragraph>
1036                                 </entry>
1037                                 <entry>
1038                                     <paragraph>False</paragraph>
1039                                 </entry>
1040                             </row>
1041                             <row>
1042                                 <entry>
1043                                     <paragraph>True</paragraph>
1044                                 </entry>
1045                                 <entry>
1046                                     <paragraph>False</paragraph>
1047                                 </entry>
1048                                 <entry>
1049                                     <paragraph>True</paragraph>
1050                                 </entry>
1051                             </row>
1052                             <row>
1053                                 <entry>
1054                                     <paragraph>False</paragraph>
1055                                 </entry>
1056                                 <entry>
1057                                     <paragraph>True</paragraph>
1058                                 </entry>
1059                                 <entry>
1060                                     <paragraph>True</paragraph>
1061                                 </entry>
1062                             </row>
1063                             <row>
1064                                 <entry>
1065                                     <paragraph>True</paragraph>
1066                                 </entry>
1067                                 <entry>
1068                                     <paragraph>True</paragraph>
1069                                 </entry>
1070                                 <entry>
1071                                     <paragraph>True</paragraph>
1072                                 </entry>
1073                             </row>
1074                         </tbody>
1075                     </tgroup>
1076                 </table>
1077             </section>
1078             <section ids="admonitions" names="admonitions">
1079                 <title auto="1" refid="id76"><generated classes="sectnum">2.14.3   </generated>Admonitions</title>
1080                 <attention>
1081                     <paragraph>Directives at large.</paragraph>
1082                 </attention>
1083                 <caution>
1084                     <paragraph>Don't take any wooden nickels.</paragraph>
1085                 </caution>
1086                 <danger>
1087                     <paragraph>Mad scientist at work!</paragraph>
1088                 </danger>
1089                 <error>
1090                     <paragraph>Does not compute.</paragraph>
1091                 </error>
1092                 <hint>
1093                     <paragraph>It's bigger than a bread box.</paragraph>
1094                 </hint>
1095                 <important>
1096                     <bullet_list bullet="-">
1097                         <list_item>
1098                             <paragraph>Wash behind your ears.</paragraph>
1099                         </list_item>
1100                         <list_item>
1101                             <paragraph>Clean up your room.</paragraph>
1102                         </list_item>
1103                         <list_item>
1104                             <paragraph>Call your mother.</paragraph>
1105                         </list_item>
1106                         <list_item>
1107                             <paragraph>Back up your data.</paragraph>
1108                         </list_item>
1109                     </bullet_list>
1110                 </important>
1111                 <note>
1112                     <paragraph>This is a note.</paragraph>
1113                 </note>
1114                 <tip>
1115                     <paragraph>15% if the service is good.</paragraph>
1116                 </tip>
1117                 <warning>
1118                     <paragraph>Strong prose may provoke extreme mental exertion.
1119                         Reader discretion is strongly advised.</paragraph>
1120                 </warning>
1121                 <admonition classes="admonition-and-by-the-way">
1122                     <title>And, by the way...</title>
1123                     <paragraph>You can make up your own admonition too.</paragraph>
1124                     <target ids="docutils" names="docutils" refuri="http://docutils.sourceforge.net/"></target>
1125                 </admonition>
1126             </section>
1127             <section ids="topics-sidebars-and-rubrics" names="topics,\ sidebars,\ and\ rubrics">
1128                 <title auto="1" refid="id77"><generated classes="sectnum">2.14.4   </generated>Topics, Sidebars, and Rubrics</title>
1129                 <paragraph><emphasis>Sidebars</emphasis> are like miniature, parallel documents.</paragraph>
1130                 <sidebar>
1131                     <title>Sidebar Title</title>
1132                     <subtitle>Optional Subtitle</subtitle>
1133                     <paragraph>This is a sidebar.  It is for text outside the flow of the main
1134                         text.</paragraph>
1135                     <rubric>This is a rubric inside a sidebar</rubric>
1136                     <paragraph>Sidebars often appear beside the main text with a border and a different
1137                         background or font color.</paragraph>
1138                 </sidebar>
1139                 <paragraph>A <emphasis>topic</emphasis> is like a block quote with a title, or a self-contained section
1140                     with no subsections.</paragraph>
1141                 <topic>
1142                     <title>Topic Title</title>
1143                     <paragraph>This is a topic.</paragraph>
1144                 </topic>
1145                 <paragraph>A <emphasis>rubric</emphasis> is like an informal heading that doesn't correspond to the
1146                     document's structure. It is typically highlighted in red (hence the name).</paragraph>
1147                 <rubric>This is a rubric</rubric>
1148                 <paragraph>Topics and rubrics can be used at places where a <reference name="section title" refid="section-title">section title</reference> is not
1149                     allowed (e.g. inside a directive).</paragraph>
1150             </section>
1151             <section ids="target-footnotes" names="target\ footnotes">
1152                 <title auto="1" refid="id78"><generated classes="sectnum">2.14.5   </generated>Target Footnotes</title>
1153                 <footnote auto="1" backrefs="id26 id27 id28 id31" ids="id25" names="TARGET_NOTE:\ id25">
1154                     <label>5</label>
1155                     <paragraph><reference refuri="http://www.python.org/">http://www.python.org/</reference></paragraph>
1156                 </footnote>
1157                 <footnote auto="1" backrefs="id30" ids="id29" names="TARGET_NOTE:\ id29">
1158                     <label>6</label>
1159                     <paragraph><reference refuri="http://pygments.org/">http://pygments.org/</reference></paragraph>
1160                 </footnote>
1161                 <footnote auto="1" backrefs="id33" ids="id32" names="TARGET_NOTE:\ id32">
1162                     <label>7</label>
1163                     <paragraph><reference refuri="http://docutils.sourceforge.net/">http://docutils.sourceforge.net/</reference></paragraph>
1164                 </footnote>
1165             </section>
1166             <section ids="replacement-text" names="replacement\ text">
1167                 <title auto="1" refid="id79"><generated classes="sectnum">2.14.6   </generated>Replacement Text</title>
1168                 <paragraph>I recommend you try <reference refuri="http://www.python.org/">Python, <emphasis>the</emphasis> best language around</reference> <footnote_reference auto="1" ids="id28" refid="id25">5</footnote_reference>.</paragraph>
1169                 <substitution_definition names="Python">Python, <emphasis>the</emphasis> best language around</substitution_definition>
1170             </section>
1171             <section ids="compound-paragraph" names="compound\ paragraph">
1172                 <title auto="1" refid="id80"><generated classes="sectnum">2.14.7   </generated>Compound Paragraph</title>
1173                 <paragraph>The <emphasis>compound</emphasis> directive is used to create a "compound paragraph", which
1174                     is a single logical paragraph containing multiple physical body
1175                     elements. For example:</paragraph>
1176                 <compound>
1177                     <paragraph>The 'rm' command is very dangerous.  If you are logged
1178                         in as root and enter</paragraph>
1179                     <literal_block xml:space="preserve">cd /
1180 rm -rf *</literal_block>
1181                     <paragraph>you will erase the entire contents of your file system.</paragraph>
1182                 </compound>
1183                 <paragraph>Test the handling and display of compound paragraphs:</paragraph>
1184                 <compound classes="some-class">
1185                     <paragraph>Compound 2, paragraph 1,</paragraph>
1186                     <paragraph>compound 2, paragraph 2,</paragraph>
1187                     <bullet_list bullet="*">
1188                         <list_item>
1189                             <paragraph>list item 1,</paragraph>
1190                         </list_item>
1191                         <list_item>
1192                             <paragraph>list item 2,</paragraph>
1193                         </list_item>
1194                     </bullet_list>
1195                     <paragraph>compound 2, paragraph 3.</paragraph>
1196                 </compound>
1197                 <compound>
1198                     <paragraph>Compound 3, only consisting of one paragraph.</paragraph>
1199                 </compound>
1200                 <compound>
1201                     <literal_block xml:space="preserve">Compound 4.
1202 This one starts with a literal block.</literal_block>
1203                     <paragraph>Compound 4, paragraph following the literal block.</paragraph>
1204                 </compound>
1205                 <paragraph>Now something <emphasis>really</emphasis> perverted -- a nested compound block.  This is
1206                     just to test that it works at all; the results don't have to be
1207                     meaningful.</paragraph>
1208                 <compound>
1209                     <paragraph>Compound 5, block 1 (a paragraph).</paragraph>
1210                     <compound>
1211                         <paragraph>Compound 6 is block 2 in compound 5.</paragraph>
1212                         <paragraph>Compound 6, another paragraph.</paragraph>
1213                     </compound>
1214                     <paragraph>Compound 5, block 3 (a paragraph).</paragraph>
1215                 </compound>
1216                 <compound>
1217                     <paragraph>Compound 7, tests the inclusion of various block-level
1218                         elements in one logical paragraph. First a table,</paragraph>
1219                     <table>
1220                         <tgroup cols="3">
1221                             <colspec colwidth="20"></colspec>
1222                             <colspec colwidth="20"></colspec>
1223                             <colspec colwidth="20"></colspec>
1224                             <tbody>
1225                                 <row>
1226                                     <entry>
1227                                         <paragraph>Left cell, first
1228                                             paragraph.</paragraph>
1229                                         <paragraph>Left cell, second
1230                                             paragraph.</paragraph>
1231                                     </entry>
1232                                     <entry>
1233                                         <paragraph>Middle cell,
1234                                             consisting of
1235                                             exactly one
1236                                             paragraph.</paragraph>
1237                                     </entry>
1238                                     <entry>
1239                                         <paragraph>Right cell.</paragraph>
1240                                         <paragraph>Paragraph 2.</paragraph>
1241                                         <paragraph>Paragraph 3.</paragraph>
1242                                     </entry>
1243                                 </row>
1244                             </tbody>
1245                         </tgroup>
1246                     </table>
1247                     <paragraph>followed by a paragraph. This physical paragraph is
1248                         actually a continuation of the paragraph before the table. It is followed
1249                         by</paragraph>
1250                     <block_quote>
1251                         <paragraph>a quote and</paragraph>
1252                     </block_quote>
1253                     <enumerated_list enumtype="arabic" prefix="" suffix=".">
1254                         <list_item>
1255                             <paragraph>an enumerated list,</paragraph>
1256                         </list_item>
1257                     </enumerated_list>
1258                     <paragraph>a paragraph,</paragraph>
1259                     <option_list>
1260                         <option_list_item>
1261                             <option_group>
1262                                 <option>
1263                                     <option_string>--an</option_string>
1264                                 </option>
1265                             </option_group>
1266                             <description>
1267                                 <paragraph>option list,</paragraph>
1268                             </description>
1269                         </option_list_item>
1270                     </option_list>
1271                     <paragraph>a paragraph,</paragraph>
1272                     <field_list>
1273                         <field>
1274                             <field_name>a field</field_name>
1275                             <field_body>
1276                                 <paragraph>list,</paragraph>
1277                             </field_body>
1278                         </field>
1279                     </field_list>
1280                     <paragraph>a paragraph,</paragraph>
1281                     <definition_list>
1282                         <definition_list_item>
1283                             <term>a definition</term>
1284                             <definition>
1285                                 <paragraph>list,</paragraph>
1286                             </definition>
1287                         </definition_list_item>
1288                     </definition_list>
1289                     <paragraph>a paragraph, an image:</paragraph>
1290                     <image uri="../../../docs/user/rst/images/biohazard.png"></image>
1291                     <paragraph>a paragraph,</paragraph>
1292                     <line_block>
1293                         <line>a line</line>
1294                         <line>block,</line>
1295                     </line_block>
1296                     <paragraph>a paragraph followed by a comment,</paragraph>
1297                     <comment xml:space="preserve">this is a comment</comment>
1298                     <paragraph>a paragraph, a</paragraph>
1299                     <note>
1300                         <paragraph>with content</paragraph>
1301                     </note>
1302                     <paragraph>and the final paragraph of the compound 7.</paragraph>
1303                 </compound>
1304             </section>
1305             <section ids="parsed-literal-blocks" names="parsed\ literal\ blocks">
1306                 <title auto="1" refid="id81"><generated classes="sectnum">2.14.8   </generated>Parsed Literal Blocks</title>
1307                 <literal_block xml:space="preserve">This is a parsed literal block.
1308     This line is indented.  The next line is blank.
1310 Inline markup is supported, e.g. <emphasis>emphasis</emphasis>, <strong>strong</strong>, <literal>literal
1311 text</literal>, <subscript>sub-</subscript> and <superscript>super</superscript>scripts,
1312 inline formulas: <math>A = 2 \pi r^2</math>,
1313 footnotes <footnote_reference ids="id22" refid="id8">1</footnote_reference>, <target ids="hyperlink-targets" names="hyperlink\ targets">hyperlink targets</target>, and <reference name="references" refuri="http://www.python.org/">references</reference><target ids="references" names="references" refuri="http://www.python.org/"></target>.</literal_block>
1314             </section>
1315             <section ids="code" names="code">
1316                 <title auto="1" refid="id82"><generated classes="sectnum">2.14.9   </generated>Code</title>
1317                 <paragraph>Blocks of source code can be set with the <title_reference>code</title_reference> directive. If the code
1318                     language is specified, the content is parsed and tagged by the <reference name="Pygments" refuri="http://pygments.org/">Pygments</reference> <footnote_reference auto="1" ids="id30" refid="id29">6</footnote_reference>
1319                     syntax highlighter and can be formatted with a style sheet. (Code parsing
1320                     is turned off using the <literal>syntax-highlight</literal> config setting in the test
1321                     conversions in order to get identical results with/without installed
1322                     Pygments highlighter.)</paragraph>
1323                 <literal_block classes="code python" xml:space="preserve">print 'This is Python code.'</literal_block>
1324                 <paragraph>The <literal>:number-lines:</literal> option (with optional start value) generates line
1325                     numbers:</paragraph>
1326                 <literal_block classes="code python" xml:space="preserve"><inline classes="ln"> 8 </inline># print integers from 0 to 9:
1327 <inline classes="ln"> 9 </inline>for i in range(10):
1328 <inline classes="ln">10 </inline>    print i</literal_block>
1329                 <paragraph>For inline code snippets, there is the <title_reference>code</title_reference> role, which can be used
1330                     directly (the code will not be parsed/tagged, as the language is not known)
1331                     or as base for special code roles, e.g. the LaTeX code in the next
1332                     paragraph.</paragraph>
1333                 <paragraph>Docutils uses LaTeX syntax for math directives and roles:
1334                     <literal classes="code tex">\alpha = f(x)</literal> prints <math>\alpha = f(x)</math>.</paragraph>
1335                 <paragraph>The <literal>:code:</literal> option of the <title_reference>include</title_reference> directive sets the included content
1336                     as a code block, here the rst file <literal>header_footer.txt</literal> with line numbers:</paragraph>
1337                 <literal_block classes="code rst" source="functional/input/data/header_footer.txt" xml:space="preserve"><inline classes="ln">1 </inline>.. header:: Document header
1338 <inline classes="ln">2 </inline>.. footer:: Document footer</literal_block>
1339                 <target ids="pygments" names="pygments" refuri="http://pygments.org/"></target>
1340             </section>
1341         </section>
1342         <section ids="substitution-definitions" names="substitution\ definitions">
1343             <title auto="1" refid="id65"><generated classes="sectnum">2.15   </generated>Substitution Definitions</title>
1344             <paragraph>An inline image (<image alt="EXAMPLE" uri="../../../docs/user/rst/images/biohazard.png"></image>) example:</paragraph>
1345             <substitution_definition names="EXAMPLE"><image alt="EXAMPLE" uri="../../../docs/user/rst/images/biohazard.png"></image></substitution_definition>
1346             <paragraph>(Substitution definitions are not visible in the HTML source.)</paragraph>
1347         </section>
1348         <section ids="comments" names="comments">
1349             <title auto="1" refid="id66"><generated classes="sectnum">2.16   </generated>Comments</title>
1350             <paragraph>Here's one:</paragraph>
1351             <comment xml:space="preserve">Comments begin with two dots and a space. Anything may
1352 follow, except for the syntax of footnotes, hyperlink
1353 targets, directives, or substitution definitions.
1355 Double-dashes -- "--" -- must be escaped somehow in HTML output.
1357 Comments may contain non-ASCII characters: ä ö ü æ ø å</comment>
1358             <paragraph>(View the HTML source to see the comment.)</paragraph>
1359         </section>
1360         <section ids="raw-text" names="raw\ text">
1361             <title auto="1" refid="id67"><generated classes="sectnum">2.17   </generated>Raw text</title>
1362             <paragraph>This does not necessarily look nice, because there may be missing white space.</paragraph>
1363             <paragraph>It's just there to freeze the behavior.</paragraph>
1364             <raw format="html latex" xml:space="preserve">A test.</raw>
1365             <raw format="html latex" xml:space="preserve">Second test.</raw>
1366             <raw classes="myclass" format="html latex" xml:space="preserve">Another test with myclass set.</raw>
1367             <paragraph>This is the <raw classes="myrawroleclass" format="html latex" xml:space="preserve">fourth test</raw> with myrawroleclass set.</paragraph>
1368             <raw format="html" xml:space="preserve">Fifth test in HTML.&lt;br /&gt;Line two.</raw>
1369             <raw format="latex" xml:space="preserve">Fifth test in LaTeX.\\Line two.</raw>
1370         </section>
1371         <section ids="container" names="container">
1372             <title auto="1" refid="id68"><generated classes="sectnum">2.18   </generated>Container</title>
1373             <container classes="custom">
1374                 <paragraph>paragraph 1</paragraph>
1375                 <paragraph>paragraph 2</paragraph>
1376             </container>
1377         </section>
1378         <section ids="colspanning-tables" names="colspanning\ tables">
1379             <title auto="1" refid="id69"><generated classes="sectnum">2.19   </generated>Colspanning tables</title>
1380             <paragraph>This table has a cell spanning two columns:</paragraph>
1381             <table>
1382                 <tgroup cols="3">
1383                     <colspec colwidth="5"></colspec>
1384                     <colspec colwidth="5"></colspec>
1385                     <colspec colwidth="6"></colspec>
1386                     <thead>
1387                         <row>
1388                             <entry morecols="1">
1389                                 <paragraph>Inputs</paragraph>
1390                             </entry>
1391                             <entry>
1392                                 <paragraph>Output</paragraph>
1393                             </entry>
1394                         </row>
1395                         <row>
1396                             <entry>
1397                                 <paragraph>A</paragraph>
1398                             </entry>
1399                             <entry>
1400                                 <paragraph>B</paragraph>
1401                             </entry>
1402                             <entry>
1403                                 <paragraph>A or B</paragraph>
1404                             </entry>
1405                         </row>
1406                     </thead>
1407                     <tbody>
1408                         <row>
1409                             <entry>
1410                                 <paragraph>False</paragraph>
1411                             </entry>
1412                             <entry>
1413                                 <paragraph>False</paragraph>
1414                             </entry>
1415                             <entry>
1416                                 <paragraph>False</paragraph>
1417                             </entry>
1418                         </row>
1419                         <row>
1420                             <entry>
1421                                 <paragraph>True</paragraph>
1422                             </entry>
1423                             <entry>
1424                                 <paragraph>False</paragraph>
1425                             </entry>
1426                             <entry>
1427                                 <paragraph>True</paragraph>
1428                             </entry>
1429                         </row>
1430                         <row>
1431                             <entry>
1432                                 <paragraph>False</paragraph>
1433                             </entry>
1434                             <entry>
1435                                 <paragraph>True</paragraph>
1436                             </entry>
1437                             <entry>
1438                                 <paragraph>True</paragraph>
1439                             </entry>
1440                         </row>
1441                         <row>
1442                             <entry>
1443                                 <paragraph>True</paragraph>
1444                             </entry>
1445                             <entry>
1446                                 <paragraph>True</paragraph>
1447                             </entry>
1448                             <entry>
1449                                 <paragraph>True</paragraph>
1450                             </entry>
1451                         </row>
1452                     </tbody>
1453                 </tgroup>
1454             </table>
1455         </section>
1456         <section ids="rowspanning-tables" names="rowspanning\ tables">
1457             <title auto="1" refid="id70"><generated classes="sectnum">2.20   </generated>Rowspanning tables</title>
1458             <paragraph>Here's a table with cells spanning several rows:</paragraph>
1459             <table>
1460                 <tgroup cols="3">
1461                     <colspec colwidth="24"></colspec>
1462                     <colspec colwidth="12"></colspec>
1463                     <colspec colwidth="18"></colspec>
1464                     <thead>
1465                         <row>
1466                             <entry>
1467                                 <paragraph>Header row, column 1
1468                                     (header rows optional)</paragraph>
1469                             </entry>
1470                             <entry>
1471                                 <paragraph>Header 2</paragraph>
1472                             </entry>
1473                             <entry>
1474                                 <paragraph>Header 3</paragraph>
1475                             </entry>
1476                         </row>
1477                     </thead>
1478                     <tbody>
1479                         <row>
1480                             <entry>
1481                                 <paragraph>body row 1, column 1</paragraph>
1482                             </entry>
1483                             <entry>
1484                                 <paragraph>column 2</paragraph>
1485                             </entry>
1486                             <entry>
1487                                 <paragraph>column 3</paragraph>
1488                             </entry>
1489                         </row>
1490                         <row>
1491                             <entry>
1492                                 <paragraph>body row 2</paragraph>
1493                             </entry>
1494                             <entry morerows="1">
1495                                 <paragraph>Cells may
1496                                     span rows.</paragraph>
1497                             </entry>
1498                             <entry morerows="1">
1499                                 <paragraph>Another
1500                                     rowspanning
1501                                     cell.</paragraph>
1502                             </entry>
1503                         </row>
1504                         <row>
1505                             <entry>
1506                                 <paragraph>body row 3</paragraph>
1507                             </entry>
1508                         </row>
1509                     </tbody>
1510                 </tgroup>
1511             </table>
1512         </section>
1513         <section ids="complex-tables" names="complex\ tables">
1514             <title auto="1" refid="id71"><generated classes="sectnum">2.21   </generated>Complex tables</title>
1515             <paragraph>Here's a complex table, which should test all features.</paragraph>
1516             <table>
1517                 <tgroup cols="4">
1518                     <colspec colwidth="24"></colspec>
1519                     <colspec colwidth="12"></colspec>
1520                     <colspec colwidth="10"></colspec>
1521                     <colspec colwidth="10"></colspec>
1522                     <thead>
1523                         <row>
1524                             <entry>
1525                                 <paragraph>Header row, column 1
1526                                     (header rows optional)</paragraph>
1527                             </entry>
1528                             <entry>
1529                                 <paragraph>Header 2</paragraph>
1530                             </entry>
1531                             <entry>
1532                                 <paragraph>Header 3</paragraph>
1533                             </entry>
1534                             <entry>
1535                                 <paragraph>Header 4</paragraph>
1536                             </entry>
1537                         </row>
1538                     </thead>
1539                     <tbody>
1540                         <row>
1541                             <entry>
1542                                 <paragraph>body row 1, column 1</paragraph>
1543                             </entry>
1544                             <entry>
1545                                 <paragraph>column 2</paragraph>
1546                             </entry>
1547                             <entry>
1548                                 <paragraph>column 3</paragraph>
1549                             </entry>
1550                             <entry>
1551                                 <paragraph>column 4</paragraph>
1552                             </entry>
1553                         </row>
1554                         <row>
1555                             <entry>
1556                                 <paragraph>body row 2</paragraph>
1557                             </entry>
1558                             <entry morecols="2">
1559                                 <paragraph>Cells may span columns.</paragraph>
1560                             </entry>
1561                         </row>
1562                         <row>
1563                             <entry>
1564                                 <paragraph>body row 3</paragraph>
1565                             </entry>
1566                             <entry morerows="1">
1567                                 <paragraph>Cells may
1568                                     span rows.</paragraph>
1569                                 <paragraph>Paragraph.</paragraph>
1570                             </entry>
1571                             <entry morecols="1" morerows="1">
1572                                 <bullet_list bullet="-">
1573                                     <list_item>
1574                                         <paragraph>Table cells</paragraph>
1575                                     </list_item>
1576                                     <list_item>
1577                                         <paragraph>contain</paragraph>
1578                                     </list_item>
1579                                     <list_item>
1580                                         <paragraph>body elements.</paragraph>
1581                                     </list_item>
1582                                 </bullet_list>
1583                             </entry>
1584                         </row>
1585                         <row>
1586                             <entry>
1587                                 <paragraph>body row 4</paragraph>
1588                             </entry>
1589                         </row>
1590                         <row>
1591                             <entry>
1592                                 <paragraph>body row 5</paragraph>
1593                             </entry>
1594                             <entry morecols="1">
1595                                 <paragraph>Cells may also be
1596                                     empty: <literal>--&gt;</literal></paragraph>
1597                             </entry>
1598                             <entry>
1599                             </entry>
1600                         </row>
1601                     </tbody>
1602                 </tgroup>
1603             </table>
1604         </section>
1605         <section ids="list-tables" names="list\ tables">
1606             <title auto="1" refid="id72"><generated classes="sectnum">2.22   </generated>List Tables</title>
1607             <paragraph>Here's a list table exercising all features:</paragraph>
1608             <table classes="colwidths-given test">
1609                 <title>list table with integral header</title>
1610                 <tgroup cols="3">
1611                     <colspec colwidth="10" stub="1"></colspec>
1612                     <colspec colwidth="20"></colspec>
1613                     <colspec colwidth="30"></colspec>
1614                     <thead>
1615                         <row>
1616                             <entry>
1617                                 <paragraph>Treat</paragraph>
1618                             </entry>
1619                             <entry>
1620                                 <paragraph>Quantity</paragraph>
1621                             </entry>
1622                             <entry>
1623                                 <paragraph>Description</paragraph>
1624                             </entry>
1625                         </row>
1626                     </thead>
1627                     <tbody>
1628                         <row>
1629                             <entry>
1630                                 <paragraph>Albatross</paragraph>
1631                             </entry>
1632                             <entry>
1633                                 <paragraph>2.99</paragraph>
1634                             </entry>
1635                             <entry>
1636                                 <paragraph>On a stick!</paragraph>
1637                             </entry>
1638                         </row>
1639                         <row>
1640                             <entry>
1641                                 <paragraph>Crunchy Frog</paragraph>
1642                             </entry>
1643                             <entry>
1644                                 <paragraph>1.49</paragraph>
1645                             </entry>
1646                             <entry>
1647                                 <paragraph>If we took the bones out, it wouldn't be
1648                                     crunchy, now would it?</paragraph>
1649                             </entry>
1650                         </row>
1651                         <row>
1652                             <entry>
1653                                 <paragraph>Gannet Ripple</paragraph>
1654                             </entry>
1655                             <entry>
1656                                 <paragraph>1.99</paragraph>
1657                             </entry>
1658                             <entry>
1659                                 <paragraph>On a stick!</paragraph>
1660                             </entry>
1661                         </row>
1662                     </tbody>
1663                 </tgroup>
1664             </table>
1665             <table align="center">
1666                 <title>center aligned list table</title>
1667                 <tgroup cols="2">
1668                     <colspec colwidth="50"></colspec>
1669                     <colspec colwidth="50"></colspec>
1670                     <tbody>
1671                         <row>
1672                             <entry>
1673                                 <paragraph>Albatross</paragraph>
1674                             </entry>
1675                             <entry>
1676                                 <paragraph>2.99</paragraph>
1677                             </entry>
1678                         </row>
1679                         <row>
1680                             <entry>
1681                                 <paragraph>Crunchy Frog</paragraph>
1682                             </entry>
1683                             <entry>
1684                                 <paragraph>1.49</paragraph>
1685                             </entry>
1686                         </row>
1687                         <row>
1688                             <entry>
1689                                 <paragraph>Gannet Ripple</paragraph>
1690                             </entry>
1691                             <entry>
1692                                 <paragraph>1.99</paragraph>
1693                             </entry>
1694                         </row>
1695                     </tbody>
1696                 </tgroup>
1697             </table>
1698         </section>
1699     </section>
1700     <section ids="error-handling" names="error\ handling">
1701         <title auto="1" refid="id73"><generated classes="sectnum">3   </generated>Error Handling</title>
1702         <paragraph>Any errors caught during processing will generate system messages.</paragraph>
1703         <paragraph>There should be five messages in the following, auto-generated
1704             section, "Docutils System Messages":</paragraph>
1705         <comment xml:space="preserve">section should be added by Docutils automatically</comment>
1706     </section>
1707     <section classes="system-messages">
1708         <title>Docutils System Messages</title>
1709         <system_message backrefs="id24" ids="id23" level="3" line="104" source="functional/input/data/standard.txt" type="ERROR">
1710             <paragraph>Undefined substitution referenced: "problematic".</paragraph>
1711         </system_message>
1712         <system_message backrefs="id17" ids="id83" level="3" line="391" source="functional/input/data/standard.txt" type="ERROR">
1713             <paragraph>Unknown target name: "5".</paragraph>
1714         </system_message>
1715         <system_message backrefs="id19" ids="id84" level="3" line="400" source="functional/input/data/standard.txt" type="ERROR">
1716             <paragraph>Unknown target name: "nonexistent".</paragraph>
1717         </system_message>
1718         <system_message backrefs="id86" ids="id85" level="3" line="427" source="functional/input/data/standard.txt" type="ERROR">
1719             <paragraph>Unknown target name: "hyperlink reference without a target".</paragraph>
1720         </system_message>
1721         <system_message backrefs="id88" ids="id87" level="3" line="440" source="functional/input/data/standard.txt" type="ERROR">
1722             <paragraph>Duplicate target name, cannot be used as a unique reference: "duplicate target names".</paragraph>
1723         </system_message>
1724         <system_message level="1" line="163" source="functional/input/data/standard.txt" type="INFO">
1725             <paragraph>Hyperlink target "target" is not referenced.</paragraph>
1726         </system_message>
1727         <system_message level="1" line="405" source="functional/input/data/standard.txt" type="INFO">
1728             <paragraph>Hyperlink target "another-target" is not referenced.</paragraph>
1729         </system_message>
1730         <system_message level="1" line="473" source="functional/input/data/standard.txt" type="INFO">
1731             <paragraph>Hyperlink target "image-target-1" is not referenced.</paragraph>
1732         </system_message>
1733         <system_message level="1" line="474" source="functional/input/data/standard.txt" type="INFO">
1734             <paragraph>Hyperlink target "image-target-2" is not referenced.</paragraph>
1735         </system_message>
1736         <system_message level="1" line="475" source="functional/input/data/standard.txt" type="INFO">
1737             <paragraph>Hyperlink target "image-target-3" is not referenced.</paragraph>
1738         </system_message>
1739         <system_message level="1" line="639" source="functional/input/data/standard.txt" type="INFO">
1740             <paragraph>Hyperlink target "target1" is not referenced.</paragraph>
1741         </system_message>
1742         <system_message level="1" line="640" source="functional/input/data/standard.txt" type="INFO">
1743             <paragraph>Hyperlink target "target2" is not referenced.</paragraph>
1744         </system_message>
1745         <system_message level="1" line="685" source="functional/input/data/standard.txt" type="INFO">
1746             <paragraph>Hyperlink target "docutils" is not referenced.</paragraph>
1747         </system_message>
1748         <system_message level="1" line="851" source="functional/input/data/standard.txt" type="INFO">
1749             <paragraph>Hyperlink target "hyperlink targets" is not referenced.</paragraph>
1750         </system_message>
1751     </section>
1752 </document>