diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2019-11-15 10:36:15 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2019-11-15 10:36:15 +0000 |
| commit | 7f14a81296d7db1f6d3ca2a4e09e22e663cd893f (patch) | |
| tree | dfc8ac1fe882a12abfef93b6d1b226cd5e86bf4d /docutils/test/functional/expected/standalone_rst_html4css1.html | |
| parent | eaa3c9e0fc2d2122a617b57bb52f56de97a54179 (diff) | |
| download | docutils-7f14a81296d7db1f6d3ca2a4e09e22e663cd893f.tar.gz | |
tests/functional: Set "auto_id_prefix" to "%" (expands to tag-names).
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8414 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/functional/expected/standalone_rst_html4css1.html')
| -rw-r--r-- | docutils/test/functional/expected/standalone_rst_html4css1.html | 276 |
1 files changed, 138 insertions, 138 deletions
diff --git a/docutils/test/functional/expected/standalone_rst_html4css1.html b/docutils/test/functional/expected/standalone_rst_html4css1.html index 36861cd0f..5a2ed3a4e 100644 --- a/docutils/test/functional/expected/standalone_rst_html4css1.html +++ b/docutils/test/functional/expected/standalone_rst_html4css1.html @@ -86,75 +86,75 @@ They are transformed from section titles after parsing. --> <div class="contents topic" id="table-of-contents"> <p class="topic-title">Table of Contents</p> <ul class="auto-toc simple"> -<li><a class="reference internal" href="#structural-elements" id="id34">1 Structural Elements</a><ul class="auto-toc"> -<li><a class="reference internal" href="#section-title" id="id35">1.1 Section Title</a></li> -<li><a class="reference internal" href="#empty-section" id="id36">1.2 Empty Section</a></li> -<li><a class="reference internal" href="#transitions" id="id37">1.3 Transitions</a></li> +<li><a class="reference internal" href="#structural-elements" id="toc-entry-1">1 Structural Elements</a><ul class="auto-toc"> +<li><a class="reference internal" href="#section-title" id="toc-entry-2">1.1 Section Title</a></li> +<li><a class="reference internal" href="#empty-section" id="toc-entry-3">1.2 Empty Section</a></li> +<li><a class="reference internal" href="#transitions" id="toc-entry-4">1.3 Transitions</a></li> </ul> </li> -<li><a class="reference internal" href="#body-elements" id="id38">2 Body Elements</a><ul class="auto-toc"> -<li><a class="reference internal" href="#paragraphs" id="id39">2.1 Paragraphs</a><ul class="auto-toc"> -<li><a class="reference internal" href="#inline-markup" id="id40">2.1.1 Inline Markup</a></li> +<li><a class="reference internal" href="#body-elements" id="toc-entry-5">2 Body Elements</a><ul class="auto-toc"> +<li><a class="reference internal" href="#paragraphs" id="toc-entry-6">2.1 Paragraphs</a><ul class="auto-toc"> +<li><a class="reference internal" href="#inline-markup" id="toc-entry-7">2.1.1 Inline Markup</a></li> </ul> </li> -<li><a class="reference internal" href="#bullet-lists" id="id41">2.2 Bullet Lists</a></li> -<li><a class="reference internal" href="#enumerated-lists" id="id42">2.3 Enumerated Lists</a></li> -<li><a class="reference internal" href="#definition-lists" id="id43">2.4 Definition Lists</a></li> -<li><a class="reference internal" href="#field-lists" id="id44">2.5 Field Lists</a></li> -<li><a class="reference internal" href="#option-lists" id="id45">2.6 Option Lists</a></li> -<li><a class="reference internal" href="#literal-blocks" id="id46">2.7 Literal Blocks</a></li> -<li><a class="reference internal" href="#line-blocks" id="id47">2.8 Line Blocks</a></li> -<li><a class="reference internal" href="#block-quotes" id="id48">2.9 Block Quotes</a></li> -<li><a class="reference internal" href="#doctest-blocks" id="id49">2.10 Doctest Blocks</a></li> -<li><a class="reference internal" href="#footnotes" id="id50">2.11 Footnotes</a></li> -<li><a class="reference internal" href="#citations" id="id51">2.12 Citations</a></li> -<li><a class="reference internal" href="#targets" id="id52">2.13 Targets</a><ul class="auto-toc"> -<li><a class="reference internal" href="#duplicate-target-names" id="id53">2.13.1 Duplicate Target Names</a></li> -<li><a class="reference internal" href="#id21" id="id54">2.13.2 Duplicate Target Names</a></li> +<li><a class="reference internal" href="#bullet-lists" id="toc-entry-8">2.2 Bullet Lists</a></li> +<li><a class="reference internal" href="#enumerated-lists" id="toc-entry-9">2.3 Enumerated Lists</a></li> +<li><a class="reference internal" href="#definition-lists" id="toc-entry-10">2.4 Definition Lists</a></li> +<li><a class="reference internal" href="#field-lists" id="toc-entry-11">2.5 Field Lists</a></li> +<li><a class="reference internal" href="#option-lists" id="toc-entry-12">2.6 Option Lists</a></li> +<li><a class="reference internal" href="#literal-blocks" id="toc-entry-13">2.7 Literal Blocks</a></li> +<li><a class="reference internal" href="#line-blocks" id="toc-entry-14">2.8 Line Blocks</a></li> +<li><a class="reference internal" href="#block-quotes" id="toc-entry-15">2.9 Block Quotes</a></li> +<li><a class="reference internal" href="#doctest-blocks" id="toc-entry-16">2.10 Doctest Blocks</a></li> +<li><a class="reference internal" href="#footnotes" id="toc-entry-17">2.11 Footnotes</a></li> +<li><a class="reference internal" href="#citations" id="toc-entry-18">2.12 Citations</a></li> +<li><a class="reference internal" href="#targets" id="toc-entry-19">2.13 Targets</a><ul class="auto-toc"> +<li><a class="reference internal" href="#duplicate-target-names" id="toc-entry-20">2.13.1 Duplicate Target Names</a></li> +<li><a class="reference internal" href="#duplicate-target-names-1" id="toc-entry-21">2.13.2 Duplicate Target Names</a></li> </ul> </li> -<li><a class="reference internal" href="#directives" id="id55">2.14 Directives</a><ul class="auto-toc"> -<li><a class="reference internal" href="#document-parts" id="id56">2.14.1 Document Parts</a></li> -<li><a class="reference internal" href="#images-and-figures" id="id57">2.14.2 Images and Figures</a></li> -<li><a class="reference internal" href="#admonitions" id="id58">2.14.3 Admonitions</a></li> -<li><a class="reference internal" href="#topics-sidebars-and-rubrics" id="id59">2.14.4 Topics, Sidebars, and Rubrics</a></li> -<li><a class="reference internal" href="#target-footnotes" id="id60">2.14.5 Target Footnotes</a></li> -<li><a class="reference internal" href="#replacement-text" id="id61">2.14.6 Replacement Text</a></li> -<li><a class="reference internal" href="#compound-paragraph" id="id62">2.14.7 Compound Paragraph</a></li> -<li><a class="reference internal" href="#parsed-literal-blocks" id="id63">2.14.8 Parsed Literal Blocks</a></li> -<li><a class="reference internal" href="#code" id="id64">2.14.9 Code</a></li> +<li><a class="reference internal" href="#directives" id="toc-entry-22">2.14 Directives</a><ul class="auto-toc"> +<li><a class="reference internal" href="#document-parts" id="toc-entry-23">2.14.1 Document Parts</a></li> +<li><a class="reference internal" href="#images-and-figures" id="toc-entry-24">2.14.2 Images and Figures</a></li> +<li><a class="reference internal" href="#admonitions" id="toc-entry-25">2.14.3 Admonitions</a></li> +<li><a class="reference internal" href="#topics-sidebars-and-rubrics" id="toc-entry-26">2.14.4 Topics, Sidebars, and Rubrics</a></li> +<li><a class="reference internal" href="#target-footnotes" id="toc-entry-27">2.14.5 Target Footnotes</a></li> +<li><a class="reference internal" href="#replacement-text" id="toc-entry-28">2.14.6 Replacement Text</a></li> +<li><a class="reference internal" href="#compound-paragraph" id="toc-entry-29">2.14.7 Compound Paragraph</a></li> +<li><a class="reference internal" href="#parsed-literal-blocks" id="toc-entry-30">2.14.8 Parsed Literal Blocks</a></li> +<li><a class="reference internal" href="#code" id="toc-entry-31">2.14.9 Code</a></li> </ul> </li> -<li><a class="reference internal" href="#substitution-definitions" id="id65">2.15 Substitution Definitions</a></li> -<li><a class="reference internal" href="#comments" id="id66">2.16 Comments</a></li> -<li><a class="reference internal" href="#raw-text" id="id67">2.17 Raw text</a></li> -<li><a class="reference internal" href="#container" id="id68">2.18 Container</a></li> -<li><a class="reference internal" href="#colspanning-tables" id="id69">2.19 Colspanning tables</a></li> -<li><a class="reference internal" href="#rowspanning-tables" id="id70">2.20 Rowspanning tables</a></li> -<li><a class="reference internal" href="#complex-tables" id="id71">2.21 Complex tables</a></li> -<li><a class="reference internal" href="#list-tables" id="id72">2.22 List Tables</a></li> -<li><a class="reference internal" href="#custom-roles" id="id73">2.23 Custom Roles</a></li> -<li><a class="reference internal" href="#svg-images" id="id74">2.24 SVG Images</a></li> -<li><a class="reference internal" href="#swf-images" id="id75">2.25 SWF Images</a></li> +<li><a class="reference internal" href="#substitution-definitions" id="toc-entry-32">2.15 Substitution Definitions</a></li> +<li><a class="reference internal" href="#comments" id="toc-entry-33">2.16 Comments</a></li> +<li><a class="reference internal" href="#raw-text" id="toc-entry-34">2.17 Raw text</a></li> +<li><a class="reference internal" href="#container" id="toc-entry-35">2.18 Container</a></li> +<li><a class="reference internal" href="#colspanning-tables" id="toc-entry-36">2.19 Colspanning tables</a></li> +<li><a class="reference internal" href="#rowspanning-tables" id="toc-entry-37">2.20 Rowspanning tables</a></li> +<li><a class="reference internal" href="#complex-tables" id="toc-entry-38">2.21 Complex tables</a></li> +<li><a class="reference internal" href="#list-tables" id="toc-entry-39">2.22 List Tables</a></li> +<li><a class="reference internal" href="#custom-roles" id="toc-entry-40">2.23 Custom Roles</a></li> +<li><a class="reference internal" href="#svg-images" id="toc-entry-41">2.24 SVG Images</a></li> +<li><a class="reference internal" href="#swf-images" id="toc-entry-42">2.25 SWF Images</a></li> </ul> </li> -<li><a class="reference internal" href="#error-handling" id="id76">3 Error Handling</a></li> +<li><a class="reference internal" href="#error-handling" id="toc-entry-43">3 Error Handling</a></li> </ul> </div> <div class="section" id="structural-elements"> -<h1><a class="toc-backref" href="#id34">1 Structural Elements</a></h1> +<h1><a class="toc-backref" href="#toc-entry-1">1 Structural Elements</a></h1> <div class="section" id="section-title"> -<h2 class="with-subtitle"><a class="toc-backref" href="#id35">1.1 Section Title</a></h2> +<h2 class="with-subtitle"><a class="toc-backref" href="#toc-entry-2">1.1 Section Title</a></h2> <h2 class="section-subtitle" id="section-subtitle"><span class="section-subtitle">Section Subtitle</span></h2> <p>Lone subsections are converted to a section subtitle by a transform activated with the <tt class="docutils literal"><span class="pre">--section-subtitles</span></tt> command line option or the <tt class="docutils literal"><span class="pre">sectsubtitle-xform</span></tt> configuration value.</p> </div> <div class="section" id="empty-section"> -<h2><a class="toc-backref" href="#id36">1.2 Empty Section</a></h2> +<h2><a class="toc-backref" href="#toc-entry-3">1.2 Empty Section</a></h2> </div> <div class="section" id="transitions"> -<h2><a class="toc-backref" href="#id37">1.3 Transitions</a></h2> +<h2><a class="toc-backref" href="#toc-entry-4">1.3 Transitions</a></h2> <p>Here's a transition:</p> <hr class="docutils" /> <p>It divides the section. Transitions may also occur between sections:</p> @@ -162,24 +162,24 @@ activated with the <tt class="docutils literal"><span class="pre">--section-subt </div> <hr class="docutils" /> <div class="section" id="body-elements"> -<h1><a class="toc-backref" href="#id38">2 Body Elements</a></h1> +<h1><a class="toc-backref" href="#toc-entry-5">2 Body Elements</a></h1> <div class="section" id="paragraphs"> -<h2><a class="toc-backref" href="#id39">2.1 Paragraphs</a></h2> +<h2><a class="toc-backref" href="#toc-entry-6">2.1 Paragraphs</a></h2> <p>A paragraph.</p> <div class="section" id="inline-markup"> -<h3><a class="toc-backref" href="#id40">2.1.1 Inline Markup</a></h3> +<h3><a class="toc-backref" href="#toc-entry-7">2.1.1 Inline Markup</a></h3> <p>Paragraphs contain text and may contain inline markup: <em>emphasis</em>, <strong>strong emphasis</strong>, <tt class="docutils literal">inline literals</tt>, standalone hyperlinks -(<a class="reference external" href="http://www.python.org">http://www.python.org</a>), external hyperlinks (<a class="reference external" href="http://www.python.org/">Python</a> <a class="footnote-reference" href="#id25" id="id26">[5]</a>), internal +(<a class="reference external" href="http://www.python.org">http://www.python.org</a>), external hyperlinks (<a class="reference external" href="http://www.python.org/">Python</a> <a class="footnote-reference" href="#footnote-6" id="footnote-reference-10">[5]</a>), internal cross-references (<a class="reference internal" href="#example">example</a>), external hyperlinks with embedded URIs (<a class="reference external" href="http://www.python.org">Python web site</a>), <a class="reference external" href="http://www.python.org/">anonymous hyperlink -references</a> <a class="footnote-reference" href="#id25" id="id31">[5]</a> (<a class="reference external" href="http://docutils.sourceforge.net/">a second reference</a> <a class="footnote-reference" href="#id32" id="id33">[7]</a>), footnote references (manually -numbered <a class="footnote-reference" href="#id8" id="id1">[1]</a>, anonymous auto-numbered <a class="footnote-reference" href="#id12" id="id2">[3]</a>, labeled auto-numbered -<a class="footnote-reference" href="#label" id="id3">[2]</a>, or symbolic <a class="footnote-reference" href="#id13" id="id4">[*]</a>), citation references (<a class="citation-reference" href="#cit2002" id="id5">[CIT2002]</a>), +references</a> <a class="footnote-reference" href="#footnote-6" id="footnote-reference-14">[5]</a> (<a class="reference external" href="http://docutils.sourceforge.net/">a second reference</a> <a class="footnote-reference" href="#footnote-8" id="footnote-reference-15">[7]</a>), footnote references (manually +numbered <a class="footnote-reference" href="#footnote-1" id="footnote-reference-1">[1]</a>, anonymous auto-numbered <a class="footnote-reference" href="#footnote-2" id="footnote-reference-2">[3]</a>, labeled auto-numbered +<a class="footnote-reference" href="#label" id="footnote-reference-3">[2]</a>, or symbolic <a class="footnote-reference" href="#footnote-3" id="footnote-reference-4">[*]</a>), citation references (<a class="citation-reference" href="#cit2002" id="citation-reference-1">[CIT2002]</a>), substitution references (<img alt="EXAMPLE" src="../../../docs/user/rst/images/biohazard.png" /> & a <em>trimmed heart</em> <tt class="docutils literal">(U+2665):</tt>♥), and <span class="target" id="inline-hyperlink-targets">inline hyperlink targets</span> (see <a class="reference internal" href="#targets">Targets</a> below for a reference back to here). Character-level -inline markup is also possible (although exceedingly ugly!) in <em>re</em><tt class="docutils literal">Structured</tt><em>Text</em>. Problems are indicated by <a href="#id23"><span class="problematic" id="id24">|problematic|</span></a> text +inline markup is also possible (although exceedingly ugly!) in <em>re</em><tt class="docutils literal">Structured</tt><em>Text</em>. Problems are indicated by <a href="#system-message-1"><span class="problematic" id="problematic-1">|problematic|</span></a> text (generated by processing errors; this one is intentional). Here is a reference to the <a class="reference internal" href="#doctitle">doctitle</a> and the <a class="reference internal" href="#subtitle">subtitle</a>.</p> <p>The default role for interpreted text is <cite>Title Reference</cite>. Here are @@ -200,7 +200,7 @@ live link to PEP 258 here.</p> </div> </div> <div class="section" id="bullet-lists"> -<h2><a class="toc-backref" href="#id41">2.2 Bullet Lists</a></h2> +<h2><a class="toc-backref" href="#toc-entry-8">2.2 Bullet Lists</a></h2> <ul> <li><p class="first">A bullet list</p> <ul class="simple"> @@ -225,7 +225,7 @@ live link to PEP 258 here.</p> </ul> </div> <div class="section" id="enumerated-lists"> -<h2><a class="toc-backref" href="#id42">2.3 Enumerated Lists</a></h2> +<h2><a class="toc-backref" href="#toc-entry-9">2.3 Enumerated Lists</a></h2> <ol class="arabic"> <li><p class="first">Arabic numerals.</p> <ol class="loweralpha simple"> @@ -258,7 +258,7 @@ live link to PEP 258 here.</p> </ol> </div> <div class="section" id="definition-lists"> -<h2><a class="toc-backref" href="#id43">2.4 Definition Lists</a></h2> +<h2><a class="toc-backref" href="#toc-entry-10">2.4 Definition Lists</a></h2> <dl class="docutils"> <dt>Term</dt> <dd>Definition</dd> @@ -273,7 +273,7 @@ live link to PEP 258 here.</p> </dl> </div> <div class="section" id="field-lists"> -<h2><a class="toc-backref" href="#id44">2.5 Field Lists</a></h2> +<h2><a class="toc-backref" href="#toc-entry-11">2.5 Field Lists</a></h2> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> @@ -297,7 +297,7 @@ doesn't get stripped away.)</p> </table> </div> <div class="section" id="option-lists"> -<h2><a class="toc-backref" href="#id45">2.6 Option Lists</a></h2> +<h2><a class="toc-backref" href="#toc-entry-12">2.6 Option Lists</a></h2> <p>For listing command-line options:</p> <table class="docutils option-list" frame="void" rules="none"> <col class="option" /> @@ -343,7 +343,7 @@ regardless of where it starts.</p> description.</p> </div> <div class="section" id="literal-blocks"> -<h2><a class="toc-backref" href="#id46">2.7 Literal Blocks</a></h2> +<h2><a class="toc-backref" href="#toc-entry-13">2.7 Literal Blocks</a></h2> <p>Literal blocks are indicated with a double-colon ("::") at the end of the preceding paragraph (over there <tt class="docutils literal"><span class="pre">--></span></tt>). They can be indented:</p> <pre class="literal-block"> @@ -360,7 +360,7 @@ if literal_block: </pre> </div> <div class="section" id="line-blocks"> -<h2><a class="toc-backref" href="#id47">2.8 Line Blocks</a></h2> +<h2><a class="toc-backref" href="#toc-entry-14">2.8 Line Blocks</a></h2> <p>This section tests line blocks. Line blocks are body elements which consist of lines and other line blocks. Nested line blocks cause indentation.</p> @@ -434,7 +434,7 @@ also be centre-aligned:</p> </div> </div> <div class="section" id="block-quotes"> -<h2><a class="toc-backref" href="#id48">2.9 Block Quotes</a></h2> +<h2><a class="toc-backref" href="#toc-entry-15">2.9 Block Quotes</a></h2> <p>Block quotes consist of indented body elements:</p> <blockquote> <p>My theory by A. Elk. Brackets Miss, brackets. This theory goes @@ -452,7 +452,7 @@ ReStructuredText est un langage de balisage léger utilisé notamment dans la documentation du langage Python.</blockquote> </div> <div class="section" id="doctest-blocks"> -<h2><a class="toc-backref" href="#id49">2.10 Doctest Blocks</a></h2> +<h2><a class="toc-backref" href="#toc-entry-16">2.10 Doctest Blocks</a></h2> <pre class="doctest-block"> >>> print 'Python-specific usage examples; begun with ">>>"' Python-specific usage examples; begun with ">>>" @@ -461,11 +461,11 @@ Python-specific usage examples; begun with ">>>" </pre> </div> <div class="section" id="footnotes"> -<h2><a class="toc-backref" href="#id50">2.11 Footnotes</a></h2> -<table class="docutils footnote" frame="void" id="id8" rules="none"> +<h2><a class="toc-backref" href="#toc-entry-17">2.11 Footnotes</a></h2> +<table class="docutils footnote" frame="void" id="footnote-1" rules="none"> <colgroup><col class="label" /><col /></colgroup> <tbody valign="top"> -<tr><td class="label">[1]</td><td><em>(<a class="fn-backref" href="#id1">1</a>, <a class="fn-backref" href="#id9">2</a>, <a class="fn-backref" href="#id22">3</a>)</em> <p>A footnote contains body elements, consistently indented by at +<tr><td class="label">[1]</td><td><em>(<a class="fn-backref" href="#footnote-reference-1">1</a>, <a class="fn-backref" href="#footnote-reference-5">2</a>, <a class="fn-backref" href="#footnote-reference-9">3</a>)</em> <p>A footnote contains body elements, consistently indented by at least 3 spaces.</p> <p class="last">This is the footnote's second paragraph.</p> </td></tr> @@ -474,107 +474,107 @@ least 3 spaces.</p> <table class="docutils footnote" frame="void" id="label" rules="none"> <colgroup><col class="label" /><col /></colgroup> <tbody valign="top"> -<tr><td class="label">[2]</td><td><em>(<a class="fn-backref" href="#id3">1</a>, <a class="fn-backref" href="#id10">2</a>)</em> Footnotes may be numbered, either manually (as in <a class="footnote-reference" href="#id8" id="id9">[1]</a>) or +<tr><td class="label">[2]</td><td><em>(<a class="fn-backref" href="#footnote-reference-3">1</a>, <a class="fn-backref" href="#footnote-reference-6">2</a>)</em> Footnotes may be numbered, either manually (as in <a class="footnote-reference" href="#footnote-1" id="footnote-reference-5">[1]</a>) or automatically using a "#"-prefixed label. This footnote has a label so it can be referred to from multiple places, both as a -footnote reference (<a class="footnote-reference" href="#label" id="id10">[2]</a>) and as a <a class="reference internal" href="#label">hyperlink reference</a>.</td></tr> +footnote reference (<a class="footnote-reference" href="#label" id="footnote-reference-6">[2]</a>) and as a <a class="reference internal" href="#label">hyperlink reference</a>.</td></tr> </tbody> </table> -<table class="docutils footnote" frame="void" id="id12" rules="none"> +<table class="docutils footnote" frame="void" id="footnote-2" rules="none"> <colgroup><col class="label" /><col /></colgroup> <tbody valign="top"> -<tr><td class="label"><a class="fn-backref" href="#id2">[3]</a></td><td><p class="first">This footnote is numbered automatically and anonymously using a +<tr><td class="label"><a class="fn-backref" href="#footnote-reference-2">[3]</a></td><td><p class="first">This footnote is numbered automatically and anonymously using a label of "#" only.</p> <p>This is the second paragraph.</p> <p class="last">And this is the third paragraph.</p> </td></tr> </tbody> </table> -<table class="docutils footnote" frame="void" id="id13" rules="none"> +<table class="docutils footnote" frame="void" id="footnote-3" rules="none"> <colgroup><col class="label" /><col /></colgroup> <tbody valign="top"> -<tr><td class="label"><a class="fn-backref" href="#id4">[*]</a></td><td>Footnotes may also use symbols, specified with a "*" label. -Here's a reference to the next footnote: <a class="footnote-reference" href="#id15" id="id14">[†]</a>.</td></tr> +<tr><td class="label"><a class="fn-backref" href="#footnote-reference-4">[*]</a></td><td>Footnotes may also use symbols, specified with a "*" label. +Here's a reference to the next footnote: <a class="footnote-reference" href="#footnote-4" id="footnote-reference-7">[†]</a>.</td></tr> </tbody> </table> -<table class="docutils footnote" frame="void" id="id15" rules="none"> +<table class="docutils footnote" frame="void" id="footnote-4" rules="none"> <colgroup><col class="label" /><col /></colgroup> <tbody valign="top"> -<tr><td class="label"><a class="fn-backref" href="#id14">[†]</a></td><td>This footnote shows the next symbol in the sequence.</td></tr> +<tr><td class="label"><a class="fn-backref" href="#footnote-reference-7">[†]</a></td><td>This footnote shows the next symbol in the sequence.</td></tr> </tbody> </table> -<table class="docutils footnote" frame="void" id="id16" rules="none"> +<table class="docutils footnote" frame="void" id="footnote-5" rules="none"> <colgroup><col class="label" /><col /></colgroup> <tbody valign="top"> <tr><td class="label">[4]</td><td>Here's an unreferenced footnote, with a reference to a -nonexistent footnote: <a href="#id86"><span class="problematic" id="id17">[5]_</span></a>.</td></tr> +nonexistent footnote: <a href="#system-message-2"><span class="problematic" id="footnote-reference-8">[5]_</span></a>.</td></tr> </tbody> </table> </div> <div class="section" id="citations"> -<h2><a class="toc-backref" href="#id51">2.12 Citations</a></h2> +<h2><a class="toc-backref" href="#toc-entry-18">2.12 Citations</a></h2> <table class="docutils citation" frame="void" id="cit2002" rules="none"> <colgroup><col class="label" /><col /></colgroup> <tbody valign="top"> -<tr><td class="label">[CIT2002]</td><td><em>(<a class="fn-backref" href="#id5">1</a>, <a class="fn-backref" href="#id18">2</a>)</em> Citations are text-labeled footnotes. They may be +<tr><td class="label">[CIT2002]</td><td><em>(<a class="fn-backref" href="#citation-reference-1">1</a>, <a class="fn-backref" href="#citation-reference-2">2</a>)</em> Citations are text-labeled footnotes. They may be rendered separately and differently from footnotes.</td></tr> </tbody> </table> -<p>Here's a reference to the above, <a class="citation-reference" href="#cit2002" id="id18">[CIT2002]</a>, and a <a href="#id87"><span class="problematic" id="id19">[nonexistent]_</span></a> +<p>Here's a reference to the above, <a class="citation-reference" href="#cit2002" id="citation-reference-2">[CIT2002]</a>, and a <a href="#system-message-3"><span class="problematic" id="citation-reference-3">[nonexistent]_</span></a> citation.</p> </div> <div class="section" id="targets"> -<span id="another-target"></span><h2><a class="toc-backref" href="#id52">2.13 Targets</a></h2> +<span id="another-target"></span><h2><a class="toc-backref" href="#toc-entry-19">2.13 Targets</a></h2> <p id="example">This paragraph is pointed to by the explicit "example" target. A reference can be found under <a class="reference internal" href="#inline-markup">Inline Markup</a>, above. <a class="reference internal" href="#inline-hyperlink-targets">Inline hyperlink targets</a> are also possible.</p> <p>Section headers are implicit targets, referred to by name. See <a class="reference internal" href="#targets">Targets</a>, which is a subsection of <a class="reference internal" href="#body-elements">Body Elements</a>.</p> <p>Explicit external targets are interpolated into references such as -"<a class="reference external" href="http://www.python.org/">Python</a> <a class="footnote-reference" href="#id25" id="id27">[5]</a>".</p> +"<a class="reference external" href="http://www.python.org/">Python</a> <a class="footnote-reference" href="#footnote-6" id="footnote-reference-11">[5]</a>".</p> <p>Targets may be indirect and anonymous. Thus <a class="reference internal" href="#targets">this phrase</a> may also refer to the <a class="reference internal" href="#targets">Targets</a> section.</p> -<p>Here's a <a href="#id88"><span class="problematic" id="id89">`hyperlink reference without a target`_</span></a>, which generates an +<p>Here's a <a href="#system-message-4"><span class="problematic" id="problematic-2">`hyperlink reference without a target`_</span></a>, which generates an error.</p> <div class="section" id="duplicate-target-names"> -<h3><a class="toc-backref" href="#id53">2.13.1 Duplicate Target Names</a></h3> +<h3><a class="toc-backref" href="#toc-entry-20">2.13.1 Duplicate Target Names</a></h3> <p>Duplicate names in section headers or other implicit targets will generate "info" (level-1) system messages. Duplicate names in explicit targets will generate "warning" (level-2) system messages.</p> </div> -<div class="section" id="id21"> -<h3><a class="toc-backref" href="#id54">2.13.2 Duplicate Target Names</a></h3> +<div class="section" id="duplicate-target-names-1"> +<h3><a class="toc-backref" href="#toc-entry-21">2.13.2 Duplicate Target Names</a></h3> <p>Since there are two "Duplicate Target Names" section headers, we cannot uniquely refer to either of them by name. If we try to (like -this: <a href="#id90"><span class="problematic" id="id91">`Duplicate Target Names`_</span></a>), an error is generated.</p> +this: <a href="#system-message-5"><span class="problematic" id="problematic-3">`Duplicate Target Names`_</span></a>), an error is generated.</p> </div> </div> <div class="section" id="directives"> -<h2><a class="toc-backref" href="#id55">2.14 Directives</a></h2> +<h2><a class="toc-backref" href="#toc-entry-22">2.14 Directives</a></h2> <div class="contents local topic" id="contents"> <ul class="auto-toc simple"> -<li><a class="reference internal" href="#document-parts" id="id77">2.14.1 Document Parts</a></li> -<li><a class="reference internal" href="#images-and-figures" id="id78">2.14.2 Images and Figures</a></li> -<li><a class="reference internal" href="#admonitions" id="id79">2.14.3 Admonitions</a></li> -<li><a class="reference internal" href="#topics-sidebars-and-rubrics" id="id80">2.14.4 Topics, Sidebars, and Rubrics</a></li> -<li><a class="reference internal" href="#target-footnotes" id="id81">2.14.5 Target Footnotes</a></li> -<li><a class="reference internal" href="#replacement-text" id="id82">2.14.6 Replacement Text</a></li> -<li><a class="reference internal" href="#compound-paragraph" id="id83">2.14.7 Compound Paragraph</a></li> -<li><a class="reference internal" href="#parsed-literal-blocks" id="id84">2.14.8 Parsed Literal Blocks</a></li> -<li><a class="reference internal" href="#code" id="id85">2.14.9 Code</a></li> +<li><a class="reference internal" href="#document-parts" id="toc-entry-44">2.14.1 Document Parts</a></li> +<li><a class="reference internal" href="#images-and-figures" id="toc-entry-45">2.14.2 Images and Figures</a></li> +<li><a class="reference internal" href="#admonitions" id="toc-entry-46">2.14.3 Admonitions</a></li> +<li><a class="reference internal" href="#topics-sidebars-and-rubrics" id="toc-entry-47">2.14.4 Topics, Sidebars, and Rubrics</a></li> +<li><a class="reference internal" href="#target-footnotes" id="toc-entry-48">2.14.5 Target Footnotes</a></li> +<li><a class="reference internal" href="#replacement-text" id="toc-entry-49">2.14.6 Replacement Text</a></li> +<li><a class="reference internal" href="#compound-paragraph" id="toc-entry-50">2.14.7 Compound Paragraph</a></li> +<li><a class="reference internal" href="#parsed-literal-blocks" id="toc-entry-51">2.14.8 Parsed Literal Blocks</a></li> +<li><a class="reference internal" href="#code" id="toc-entry-52">2.14.9 Code</a></li> </ul> </div> <p>These are just a sample of the many reStructuredText Directives. For others, please see <a class="reference external" href="http://docutils.sourceforge.net/docs/ref/rst/directives.html">http://docutils.sourceforge.net/docs/ref/rst/directives.html</a>.</p> <div class="section" id="document-parts"> -<h3><a class="toc-backref" href="#id77">2.14.1 Document Parts</a></h3> +<h3><a class="toc-backref" href="#toc-entry-44">2.14.1 Document Parts</a></h3> <p>An example of the "contents" directive can be seen above this section (a local, untitled table of <a class="reference internal" href="#contents">contents</a>) and at the beginning of the document (a document-wide <a class="reference internal" href="#table-of-contents">table of contents</a>).</p> </div> <div class="section" id="images-and-figures"> -<h3><a class="toc-backref" href="#id78">2.14.2 Images and Figures</a></h3> +<h3><a class="toc-backref" href="#toc-entry-45">2.14.2 Images and Figures</a></h3> <p>An image directive (also clickable -- a hyperlink reference):</p> <a class="reference internal image-reference" href="#directives"><img alt="../../../docs/user/rst/images/title.png" class="class1 class2" src="../../../docs/user/rst/images/title.png" /></a> <p>Image with multiple IDs:</p> @@ -756,7 +756,7 @@ writer/backend).</p> </table> </div> <div class="section" id="admonitions"> -<h3><a class="toc-backref" href="#id79">2.14.3 Admonitions</a></h3> +<h3><a class="toc-backref" href="#toc-entry-46">2.14.3 Admonitions</a></h3> <div class="admonition attention"> <p class="first admonition-title">Attention!</p> <p class="last">Directives at large.</p> @@ -805,7 +805,7 @@ Reader discretion is strongly advised.</p> </div> </div> <div class="section" id="topics-sidebars-and-rubrics"> -<h3><a class="toc-backref" href="#id80">2.14.4 Topics, Sidebars, and Rubrics</a></h3> +<h3><a class="toc-backref" href="#toc-entry-47">2.14.4 Topics, Sidebars, and Rubrics</a></h3> <p><em>Sidebars</em> are like miniature, parallel documents.</p> <div class="sidebar"> <p class="first sidebar-title">Sidebar Title</p> @@ -829,32 +829,32 @@ document's structure. It is typically highlighted in red (hence the name).</p> allowed (e.g. inside a directive).</p> </div> <div class="section" id="target-footnotes"> -<h3><a class="toc-backref" href="#id81">2.14.5 Target Footnotes</a></h3> -<table class="docutils footnote" frame="void" id="id25" rules="none"> +<h3><a class="toc-backref" href="#toc-entry-48">2.14.5 Target Footnotes</a></h3> +<table class="docutils footnote" frame="void" id="footnote-6" rules="none"> <colgroup><col class="label" /><col /></colgroup> <tbody valign="top"> -<tr><td class="label">[5]</td><td><em>(<a class="fn-backref" href="#id26">1</a>, <a class="fn-backref" href="#id27">2</a>, <a class="fn-backref" href="#id28">3</a>, <a class="fn-backref" href="#id31">4</a>)</em> <a class="reference external" href="http://www.python.org/">http://www.python.org/</a></td></tr> +<tr><td class="label">[5]</td><td><em>(<a class="fn-backref" href="#footnote-reference-10">1</a>, <a class="fn-backref" href="#footnote-reference-11">2</a>, <a class="fn-backref" href="#footnote-reference-12">3</a>, <a class="fn-backref" href="#footnote-reference-14">4</a>)</em> <a class="reference external" href="http://www.python.org/">http://www.python.org/</a></td></tr> </tbody> </table> -<table class="docutils footnote" frame="void" id="id29" rules="none"> +<table class="docutils footnote" frame="void" id="footnote-7" rules="none"> <colgroup><col class="label" /><col /></colgroup> <tbody valign="top"> -<tr><td class="label"><a class="fn-backref" href="#id30">[6]</a></td><td><a class="reference external" href="http://pygments.org/">http://pygments.org/</a></td></tr> +<tr><td class="label"><a class="fn-backref" href="#footnote-reference-13">[6]</a></td><td><a class="reference external" href="http://pygments.org/">http://pygments.org/</a></td></tr> </tbody> </table> -<table class="docutils footnote" frame="void" id="id32" rules="none"> +<table class="docutils footnote" frame="void" id="footnote-8" rules="none"> <colgroup><col class="label" /><col /></colgroup> <tbody valign="top"> -<tr><td class="label"><a class="fn-backref" href="#id33">[7]</a></td><td><a class="reference external" href="http://docutils.sourceforge.net/">http://docutils.sourceforge.net/</a></td></tr> +<tr><td class="label"><a class="fn-backref" href="#footnote-reference-15">[7]</a></td><td><a class="reference external" href="http://docutils.sourceforge.net/">http://docutils.sourceforge.net/</a></td></tr> </tbody> </table> </div> <div class="section" id="replacement-text"> -<h3><a class="toc-backref" href="#id82">2.14.6 Replacement Text</a></h3> -<p>I recommend you try <a class="reference external" href="http://www.python.org/">Python, <em>the</em> best language around</a> <a class="footnote-reference" href="#id25" id="id28">[5]</a>.</p> +<h3><a class="toc-backref" href="#toc-entry-49">2.14.6 Replacement Text</a></h3> +<p>I recommend you try <a class="reference external" href="http://www.python.org/">Python, <em>the</em> best language around</a> <a class="footnote-reference" href="#footnote-6" id="footnote-reference-12">[5]</a>.</p> </div> <div class="section" id="compound-paragraph"> -<h3><a class="toc-backref" href="#id83">2.14.7 Compound Paragraph</a></h3> +<h3><a class="toc-backref" href="#toc-entry-50">2.14.7 Compound Paragraph</a></h3> <p>The <em>compound</em> directive is used to create a "compound paragraph", which is a single logical paragraph containing multiple physical body elements. For example:</p> @@ -974,7 +974,7 @@ a quote and</blockquote> </div> </div> <div class="section" id="parsed-literal-blocks"> -<h3><a class="toc-backref" href="#id84">2.14.8 Parsed Literal Blocks</a></h3> +<h3><a class="toc-backref" href="#toc-entry-51">2.14.8 Parsed Literal Blocks</a></h3> <pre class="literal-block"> This is a parsed literal block. This line is indented. The next line is blank. @@ -982,13 +982,13 @@ This is a parsed literal block. Inline markup is supported, e.g. <em>emphasis</em>, <strong>strong</strong>, <tt class="docutils literal">literal text</tt>, <span class="subscript">sub-</span> and <span class="superscript">super</span>scripts, inline formulas: <span class="formula"><i>A</i> = 2<i>π</i><i>r</i><sup>2</sup></span>, -footnotes <a class="footnote-reference" href="#id8" id="id22">[1]</a>, <span class="target" id="hyperlink-targets">hyperlink targets</span>, and <a class="reference external" href="http://www.python.org/">references</a>. +footnotes <a class="footnote-reference" href="#footnote-1" id="footnote-reference-9">[1]</a>, <span class="target" id="hyperlink-targets">hyperlink targets</span>, and <a class="reference external" href="http://www.python.org/">references</a>. </pre> </div> <div class="section" id="code"> -<h3><a class="toc-backref" href="#id85">2.14.9 Code</a></h3> +<h3><a class="toc-backref" href="#toc-entry-52">2.14.9 Code</a></h3> <p>Blocks of source code can be set with the <cite>code</cite> directive. If the code -language is specified, the content is parsed and tagged by the <a class="reference external" href="http://pygments.org/">Pygments</a> <a class="footnote-reference" href="#id29" id="id30">[6]</a> +language is specified, the content is parsed and tagged by the <a class="reference external" href="http://pygments.org/">Pygments</a> <a class="footnote-reference" href="#footnote-7" id="footnote-reference-13">[6]</a> syntax highlighter and can be formatted with a style sheet. (Code parsing is turned off using the <tt class="docutils literal"><span class="pre">syntax-highlight</span></tt> config setting in the test conversions in order to get identical results with/without installed @@ -1018,13 +1018,13 @@ as a code block, here the rst file <tt class="docutils literal">header_footer.tx </div> </div> <div class="section" id="substitution-definitions"> -<h2><a class="toc-backref" href="#id65">2.15 Substitution Definitions</a></h2> +<h2><a class="toc-backref" href="#toc-entry-32">2.15 Substitution Definitions</a></h2> <p>An inline image (<img alt="EXAMPLE" src="../../../docs/user/rst/images/biohazard.png" />) example:</p> <p>A Unicode example:</p> <p>(Substitution definitions are not visible in the HTML source.)</p> </div> <div class="section" id="comments"> -<h2><a class="toc-backref" href="#id66">2.16 Comments</a></h2> +<h2><a class="toc-backref" href="#toc-entry-33">2.16 Comments</a></h2> <p>Here's one:</p> <!-- Comments begin with two dots and a space. Anything may follow, except for the syntax of footnotes, hyperlink @@ -1036,20 +1036,20 @@ Comments may contain non-ASCII characters: ä ö ü æ ø å --> <p>(View the HTML source to see the comment.)</p> </div> <div class="section" id="raw-text"> -<h2><a class="toc-backref" href="#id67">2.17 Raw text</a></h2> +<h2><a class="toc-backref" href="#toc-entry-34">2.17 Raw text</a></h2> <p>This does not necessarily look nice, because there may be missing white space.</p> <p>It's just there to freeze the behavior.</p> A test.Second test.<div class="myclass">Another test with myclass set.</div><p>This is the <span class="myrawroleclass">fourth test</span> with myrawroleclass set.</p> Fifth test in HTML.<br />Line two.</div> <div class="section" id="container"> -<h2><a class="toc-backref" href="#id68">2.18 Container</a></h2> +<h2><a class="toc-backref" href="#toc-entry-35">2.18 Container</a></h2> <div class="custom docutils container"> <p>paragraph 1</p> <p>paragraph 2</p> </div> </div> <div class="section" id="colspanning-tables"> -<h2><a class="toc-backref" href="#id69">2.19 Colspanning tables</a></h2> +<h2><a class="toc-backref" href="#toc-entry-36">2.19 Colspanning tables</a></h2> <p>This table has a cell spanning two columns:</p> <table border="1" class="docutils"> <colgroup> @@ -1087,7 +1087,7 @@ Fifth test in HTML.<br />Line two.</div> </table> </div> <div class="section" id="rowspanning-tables"> -<h2><a class="toc-backref" href="#id70">2.20 Rowspanning tables</a></h2> +<h2><a class="toc-backref" href="#toc-entry-37">2.20 Rowspanning tables</a></h2> <p>Here's a table with cells spanning several rows:</p> <table border="1" class="docutils"> <colgroup> @@ -1120,7 +1120,7 @@ cell.</td> </table> </div> <div class="section" id="complex-tables"> -<h2><a class="toc-backref" href="#id71">2.21 Complex tables</a></h2> +<h2><a class="toc-backref" href="#toc-entry-38">2.21 Complex tables</a></h2> <p>Here's a complex table, which should test all features.</p> <table border="1" class="docutils"> <colgroup> @@ -1169,7 +1169,7 @@ empty: <tt class="docutils literal"><span class="pre">--></span></tt></td> </table> </div> <div class="section" id="list-tables"> -<h2><a class="toc-backref" href="#id72">2.22 List Tables</a></h2> +<h2><a class="toc-backref" href="#toc-entry-39">2.22 List Tables</a></h2> <p>Here's a list table exercising all features:</p> <table border="1" class="colwidths-given test docutils" style="width: 40em"> <caption>list table with integral header</caption> @@ -1216,7 +1216,7 @@ crunchy, now would it?</td> </table> </div> <div class="section" id="custom-roles"> -<h2><a class="toc-backref" href="#id73">2.23 Custom Roles</a></h2> +<h2><a class="toc-backref" href="#toc-entry-40">2.23 Custom Roles</a></h2> <ul> <li><p class="first">A role based on an existing role.</p> <p><tt class="custom docutils literal">one</tt> <tt class="custom docutils literal">two</tt> <tt class="custom docutils literal">three</tt></p> @@ -1246,7 +1246,7 @@ crunchy, now would it?</td> </ul> </div> <div class="section" id="svg-images"> -<h2><a class="toc-backref" href="#id74">2.24 SVG Images</a></h2> +<h2><a class="toc-backref" href="#toc-entry-41">2.24 SVG Images</a></h2> <object class="align-left" data="../../../docs/user/rst/images/biohazard.svg" style="width: 48px; height: 48px;" type="image/svg+xml"> ../../../docs/user/rst/images/biohazard.svg</object> <p>Scalable vector graphics (SVG) images are the only standards-compliable way @@ -1342,7 +1342,7 @@ reStructuredText, the markup syntax</object> </blockquote> </div> <div class="section" id="swf-images"> -<h2><a class="toc-backref" href="#id75">2.25 SWF Images</a></h2> +<h2><a class="toc-backref" href="#toc-entry-42">2.25 SWF Images</a></h2> <p>Shockwave Flash is an image/movie format that most modern web browsers support via a plugin. It is sometimes blocked due to privacy/security concerns.</p> @@ -1355,7 +1355,7 @@ For complete control over display options use raw HTML.</p> </div> </div> <div class="section" id="error-handling"> -<h1><a class="toc-backref" href="#id76">3 Error Handling</a></h1> +<h1><a class="toc-backref" href="#toc-entry-43">3 Error Handling</a></h1> <p>Any errors caught during processing will generate system messages.</p> <p>There should be five messages in the following, auto-generated section, "Docutils System Messages":</p> @@ -1363,20 +1363,20 @@ section, "Docutils System Messages":</p> </div> <div class="system-messages section"> <h1>Docutils System Messages</h1> -<div class="system-message" id="id23"> -<p class="system-message-title">System Message: ERROR/3 (<tt class="docutils">functional/input/data/standard.txt</tt>, line 104); <em><a href="#id24">backlink</a></em></p> +<div class="system-message" id="system-message-1"> +<p class="system-message-title">System Message: ERROR/3 (<tt class="docutils">functional/input/data/standard.txt</tt>, line 104); <em><a href="#problematic-1">backlink</a></em></p> Undefined substitution referenced: "problematic".</div> -<div class="system-message" id="id86"> -<p class="system-message-title">System Message: ERROR/3 (<tt class="docutils">functional/input/data/standard.txt</tt>, line 392); <em><a href="#id17">backlink</a></em></p> +<div class="system-message" id="system-message-2"> +<p class="system-message-title">System Message: ERROR/3 (<tt class="docutils">functional/input/data/standard.txt</tt>, line 392); <em><a href="#footnote-reference-8">backlink</a></em></p> Unknown target name: "5".</div> -<div class="system-message" id="id87"> -<p class="system-message-title">System Message: ERROR/3 (<tt class="docutils">functional/input/data/standard.txt</tt>, line 401); <em><a href="#id19">backlink</a></em></p> +<div class="system-message" id="system-message-3"> +<p class="system-message-title">System Message: ERROR/3 (<tt class="docutils">functional/input/data/standard.txt</tt>, line 401); <em><a href="#citation-reference-3">backlink</a></em></p> Unknown target name: "nonexistent".</div> -<div class="system-message" id="id88"> -<p class="system-message-title">System Message: ERROR/3 (<tt class="docutils">functional/input/data/standard.txt</tt>, line 428); <em><a href="#id89">backlink</a></em></p> +<div class="system-message" id="system-message-4"> +<p class="system-message-title">System Message: ERROR/3 (<tt class="docutils">functional/input/data/standard.txt</tt>, line 428); <em><a href="#problematic-2">backlink</a></em></p> Unknown target name: "hyperlink reference without a target".</div> -<div class="system-message" id="id90"> -<p class="system-message-title">System Message: ERROR/3 (<tt class="docutils">functional/input/data/standard.txt</tt>, line 441); <em><a href="#id91">backlink</a></em></p> +<div class="system-message" id="system-message-5"> +<p class="system-message-title">System Message: ERROR/3 (<tt class="docutils">functional/input/data/standard.txt</tt>, line 441); <em><a href="#problematic-3">backlink</a></em></p> Duplicate target name, cannot be used as a unique reference: "duplicate target names".</div> </div> </div> |
