diff options
| author | goodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2004-10-05 01:22:55 +0000 |
|---|---|---|
| committer | goodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2004-10-05 01:22:55 +0000 |
| commit | 7be725b700f49bb5028afac1ea191f7ae7a96551 (patch) | |
| tree | ac4482a562f56767348bc1b57aae8466fd3a7fbd /docutils/test/functional | |
| parent | 80aec1f596ad544e13d8164b3dc2fbef839ac664 (diff) | |
| download | docutils-7be725b700f49bb5028afac1ea191f7ae7a96551.tar.gz | |
updated for line block syntax
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@2697 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/functional')
4 files changed, 222 insertions, 216 deletions
diff --git a/docutils/test/functional/expected/standalone_rst_html4css1.html b/docutils/test/functional/expected/standalone_rst_html4css1.html index 15763e916..2b94afa22 100644 --- a/docutils/test/functional/expected/standalone_rst_html4css1.html +++ b/docutils/test/functional/expected/standalone_rst_html4css1.html @@ -84,74 +84,75 @@ They are transformed from section titles after parsing. --> <div class="contents topic" id="table-of-contents"> <p class="topic-title first"><a name="table-of-contents">Table of Contents</a></p> <ul class="auto-toc simple"> -<li><a class="reference" href="#structural-elements" id="id25" name="id25">1 Structural Elements</a><ul class="auto-toc"> -<li><a class="reference" href="#section-title" id="id26" name="id26">1.1 Section Title</a></li> -<li><a class="reference" href="#transitions" id="id27" name="id27">1.2 Transitions</a></li> +<li><a class="reference" href="#structural-elements" id="id26" name="id26">1 Structural Elements</a><ul class="auto-toc"> +<li><a class="reference" href="#section-title" id="id27" name="id27">1.1 Section Title</a></li> +<li><a class="reference" href="#transitions" id="id28" name="id28">1.2 Transitions</a></li> </ul> </li> -<li><a class="reference" href="#body-elements" id="id28" name="id28">2 Body Elements</a><ul class="auto-toc"> -<li><a class="reference" href="#paragraphs" id="id29" name="id29">2.1 Paragraphs</a><ul class="auto-toc"> -<li><a class="reference" href="#inline-markup" id="id30" name="id30">2.1.1 Inline Markup</a></li> +<li><a class="reference" href="#body-elements" id="id29" name="id29">2 Body Elements</a><ul class="auto-toc"> +<li><a class="reference" href="#paragraphs" id="id30" name="id30">2.1 Paragraphs</a><ul class="auto-toc"> +<li><a class="reference" href="#inline-markup" id="id31" name="id31">2.1.1 Inline Markup</a></li> </ul> </li> -<li><a class="reference" href="#bullet-lists" id="id31" name="id31">2.2 Bullet Lists</a></li> -<li><a class="reference" href="#enumerated-lists" id="id32" name="id32">2.3 Enumerated Lists</a></li> -<li><a class="reference" href="#definition-lists" id="id33" name="id33">2.4 Definition Lists</a></li> -<li><a class="reference" href="#field-lists" id="id34" name="id34">2.5 Field Lists</a></li> -<li><a class="reference" href="#option-lists" id="id35" name="id35">2.6 Option Lists</a></li> -<li><a class="reference" href="#literal-blocks" id="id36" name="id36">2.7 Literal Blocks</a></li> -<li><a class="reference" href="#block-quotes" id="id37" name="id37">2.8 Block Quotes</a></li> -<li><a class="reference" href="#doctest-blocks" id="id38" name="id38">2.9 Doctest Blocks</a></li> -<li><a class="reference" href="#footnotes" id="id39" name="id39">2.10 Footnotes</a></li> -<li><a class="reference" href="#citations" id="id40" name="id40">2.11 Citations</a></li> -<li><a class="reference" href="#targets" id="id41" name="id41">2.12 Targets</a><ul class="auto-toc"> -<li><a class="reference" href="#duplicate-target-names" id="id42" name="id42">2.12.1 Duplicate Target Names</a></li> -<li><a class="reference" href="#id18" id="id43" name="id43">2.12.2 Duplicate Target Names</a></li> +<li><a class="reference" href="#bullet-lists" id="id32" name="id32">2.2 Bullet Lists</a></li> +<li><a class="reference" href="#enumerated-lists" id="id33" name="id33">2.3 Enumerated Lists</a></li> +<li><a class="reference" href="#definition-lists" id="id34" name="id34">2.4 Definition Lists</a></li> +<li><a class="reference" href="#field-lists" id="id35" name="id35">2.5 Field Lists</a></li> +<li><a class="reference" href="#option-lists" id="id36" name="id36">2.6 Option Lists</a></li> +<li><a class="reference" href="#literal-blocks" id="id37" name="id37">2.7 Literal Blocks</a></li> +<li><a class="reference" href="#line-blocks" id="id38" name="id38">2.8 Line Blocks</a></li> +<li><a class="reference" href="#block-quotes" id="id39" name="id39">2.9 Block Quotes</a></li> +<li><a class="reference" href="#doctest-blocks" id="id40" name="id40">2.10 Doctest Blocks</a></li> +<li><a class="reference" href="#footnotes" id="id41" name="id41">2.11 Footnotes</a></li> +<li><a class="reference" href="#citations" id="id42" name="id42">2.12 Citations</a></li> +<li><a class="reference" href="#targets" id="id43" name="id43">2.13 Targets</a><ul class="auto-toc"> +<li><a class="reference" href="#duplicate-target-names" id="id44" name="id44">2.13.1 Duplicate Target Names</a></li> +<li><a class="reference" href="#id18" id="id45" name="id45">2.13.2 Duplicate Target Names</a></li> </ul> </li> -<li><a class="reference" href="#directives" id="id44" name="id44">2.13 Directives</a><ul class="auto-toc"> -<li><a class="reference" href="#document-parts" id="id45" name="id45">2.13.1 Document Parts</a></li> -<li><a class="reference" href="#images" id="id46" name="id46">2.13.2 Images</a></li> -<li><a class="reference" href="#admonitions" id="id47" name="id47">2.13.3 Admonitions</a></li> -<li><a class="reference" href="#topics-sidebars-and-rubrics" id="id48" name="id48">2.13.4 Topics, Sidebars, and Rubrics</a></li> -<li><a class="reference" href="#target-footnotes" id="id49" name="id49">2.13.5 Target Footnotes</a></li> -<li><a class="reference" href="#line-blocks" id="id50" name="id50">2.13.6 Line Blocks</a></li> -<li><a class="reference" href="#replacement-text" id="id51" name="id51">2.13.7 Replacement Text</a></li> +<li><a class="reference" href="#directives" id="id46" name="id46">2.14 Directives</a><ul class="auto-toc"> +<li><a class="reference" href="#document-parts" id="id47" name="id47">2.14.1 Document Parts</a></li> +<li><a class="reference" href="#images" id="id48" name="id48">2.14.2 Images</a></li> +<li><a class="reference" href="#admonitions" id="id49" name="id49">2.14.3 Admonitions</a></li> +<li><a class="reference" href="#topics-sidebars-and-rubrics" id="id50" name="id50">2.14.4 Topics, Sidebars, and Rubrics</a></li> +<li><a class="reference" href="#target-footnotes" id="id51" name="id51">2.14.5 Target Footnotes</a></li> +<li><a class="reference" href="#replacement-text" id="id52" name="id52">2.14.6 Replacement Text</a></li> </ul> </li> -<li><a class="reference" href="#substitution-definitions" id="id52" name="id52">2.14 Substitution Definitions</a></li> -<li><a class="reference" href="#comments" id="id53" name="id53">2.15 Comments</a></li> -<li><a class="reference" href="#colspanning-tables" id="id54" name="id54">2.16 Colspanning tables</a></li> -<li><a class="reference" href="#rowspanning-tables" id="id55" name="id55">2.17 Rowspanning tables</a></li> -<li><a class="reference" href="#complex-tables" id="id56" name="id56">2.18 Complex tables</a></li> +<li><a class="reference" href="#substitution-definitions" id="id53" name="id53">2.15 Substitution Definitions</a></li> +<li><a class="reference" href="#comments" id="id54" name="id54">2.16 Comments</a></li> +<li><a class="reference" href="#id19" id="id55" name="id55">2.17 Line Blocks</a></li> +<li><a class="reference" href="#colspanning-tables" id="id56" name="id56">2.18 Colspanning tables</a></li> +<li><a class="reference" href="#rowspanning-tables" id="id57" name="id57">2.19 Rowspanning tables</a></li> +<li><a class="reference" href="#complex-tables" id="id58" name="id58">2.20 Complex tables</a></li> </ul> </li> -<li><a class="reference" href="#error-handling" id="id57" name="id57">3 Error Handling</a></li> +<li><a class="reference" href="#error-handling" id="id59" name="id59">3 Error Handling</a></li> </ul> </div> <div class="section" id="structural-elements"> -<h1><a class="toc-backref" href="#id25" name="structural-elements">1 Structural Elements</a></h1> +<h1><a class="toc-backref" href="#id26" name="structural-elements">1 Structural Elements</a></h1> <div class="section" id="section-title"> -<h2><a class="toc-backref" href="#id26" name="section-title">1.1 Section Title</a></h2> +<h2><a class="toc-backref" href="#id27" name="section-title">1.1 Section Title</a></h2> <p>That's it, the text just above this line.</p> </div> <div class="section" id="transitions"> -<h2><a class="toc-backref" href="#id27" name="transitions">1.2 Transitions</a></h2> +<h2><a class="toc-backref" href="#id28" name="transitions">1.2 Transitions</a></h2> <p>Here's a transition:</p> <hr /> <p>It divides the section.</p> </div> </div> <div class="section" id="body-elements"> -<h1><a class="toc-backref" href="#id28" name="body-elements">2 Body Elements</a></h1> +<h1><a class="toc-backref" href="#id29" name="body-elements">2 Body Elements</a></h1> <div class="section" id="paragraphs"> -<h2><a class="toc-backref" href="#id29" name="paragraphs">2.1 Paragraphs</a></h2> +<h2><a class="toc-backref" href="#id30" name="paragraphs">2.1 Paragraphs</a></h2> <p>A paragraph.</p> <div class="section" id="inline-markup"> -<h3><a class="toc-backref" href="#id30" name="inline-markup">2.1.1 Inline Markup</a></h3> +<h3><a class="toc-backref" href="#id31" name="inline-markup">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="literal"><span class="pre">inline</span> <span class="pre">literals</span></tt>, standalone hyperlinks -(<a class="reference" href="http://www.python.org">http://www.python.org</a>), external hyperlinks (<a class="reference" href="http://www.python.org/">Python</a> <a class="footnote-reference" href="#id21" id="id22" name="id22">[5]</a>), internal +(<a class="reference" href="http://www.python.org">http://www.python.org</a>), external hyperlinks (<a class="reference" href="http://www.python.org/">Python</a> <a class="footnote-reference" href="#id22" id="id23" name="id23">[5]</a>), internal cross-references (<a class="reference" href="#example">example</a>), external hyperlinks with embedded URIs (<a class="reference" href="http://www.python.org">Python web site</a>), footnote references (manually numbered <a class="footnote-reference" href="#id6" id="id1" name="id1">[1]</a>, anonymous auto-numbered <a class="footnote-reference" href="#id9" id="id2" name="id2">[3]</a>, labeled @@ -160,7 +161,7 @@ auto-numbered <a class="footnote-reference" href="#label" id="id3" name="id3">[2 hyperlink targets</a> (see <a class="reference" 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="literal"><span class="pre">Structured</span></tt><em>Text</em>. Problems are indicated by -<a href="#id19" name="id20"><span class="problematic" id="id20">|problematic|</span></a> text (generated by processing errors; this one is +<a href="#id20" name="id21"><span class="problematic" id="id21">|problematic|</span></a> text (generated by processing errors; this one is intentional).</p> <p>The default role for interpreted text is <cite>Title Reference</cite>. Here are some explicit interpreted text roles: a PEP reference (<a class="reference" href="http://www.python.org/peps/pep-0287.html">PEP 287</a>); an @@ -179,7 +180,7 @@ live link to PEP 258 here.</p> </div> </div> <div class="section" id="bullet-lists"> -<h2><a class="toc-backref" href="#id31" name="bullet-lists">2.2 Bullet Lists</a></h2> +<h2><a class="toc-backref" href="#id32" name="bullet-lists">2.2 Bullet Lists</a></h2> <ul> <li><p class="first">A bullet list</p> <ul class="simple"> @@ -202,7 +203,7 @@ live link to PEP 258 here.</p> </ul> </div> <div class="section" id="enumerated-lists"> -<h2><a class="toc-backref" href="#id32" name="enumerated-lists">2.3 Enumerated Lists</a></h2> +<h2><a class="toc-backref" href="#id33" name="enumerated-lists">2.3 Enumerated Lists</a></h2> <ol class="arabic"> <li><p class="first">Arabic numerals.</p> <ol class="loweralpha simple"> @@ -235,7 +236,7 @@ live link to PEP 258 here.</p> </ol> </div> <div class="section" id="definition-lists"> -<h2><a class="toc-backref" href="#id33" name="definition-lists">2.4 Definition Lists</a></h2> +<h2><a class="toc-backref" href="#id34" name="definition-lists">2.4 Definition Lists</a></h2> <dl> <dt>Term</dt> <dd>Definition</dd> @@ -248,7 +249,7 @@ live link to PEP 258 here.</p> </dl> </div> <div class="section" id="field-lists"> -<h2><a class="toc-backref" href="#id34" name="field-lists">2.5 Field Lists</a></h2> +<h2><a class="toc-backref" href="#id35" name="field-lists">2.5 Field Lists</a></h2> <table class="field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> @@ -266,7 +267,7 @@ relative to the field marker.</p> </table> </div> <div class="section" id="option-lists"> -<h2><a class="toc-backref" href="#id35" name="option-lists">2.6 Option Lists</a></h2> +<h2><a class="toc-backref" href="#id36" name="option-lists">2.6 Option Lists</a></h2> <p>For listing command-line options:</p> <table class="option-list" frame="void" rules="none"> <col class="option" /> @@ -312,7 +313,7 @@ regardless of where it starts.</p> description.</p> </div> <div class="section" id="literal-blocks"> -<h2><a class="toc-backref" href="#id36" name="literal-blocks">2.7 Literal Blocks</a></h2> +<h2><a class="toc-backref" href="#id37" name="literal-blocks">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="literal"><span class="pre">--></span></tt>). They can be indented:</p> <pre class="literal-block"> @@ -328,8 +329,13 @@ if literal_block: > Why didn't I think of that? </pre> </div> +<div class="section" id="line-blocks"> +<h2><a class="toc-backref" href="#id38" name="line-blocks">2.8 Line Blocks</a></h2> +<p>(To be inserted from line_blocks.txt once the LaTeX writer has +implemented it.)</p> +</div> <div class="section" id="block-quotes"> -<h2><a class="toc-backref" href="#id37" name="block-quotes">2.8 Block Quotes</a></h2> +<h2><a class="toc-backref" href="#id39" name="block-quotes">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 @@ -341,7 +347,7 @@ own it, and what it is too.</p> </blockquote> </div> <div class="section" id="doctest-blocks"> -<h2><a class="toc-backref" href="#id38" name="doctest-blocks">2.9 Doctest Blocks</a></h2> +<h2><a class="toc-backref" href="#id40" name="doctest-blocks">2.10 Doctest Blocks</a></h2> <pre class="doctest-block"> >>> print 'Python-specific usage examples; begun with ">>>"' Python-specific usage examples; begun with ">>>" @@ -350,7 +356,7 @@ Python-specific usage examples; begun with ">>>" </pre> </div> <div class="section" id="footnotes"> -<h2><a class="toc-backref" href="#id39" name="footnotes">2.10 Footnotes</a></h2> +<h2><a class="toc-backref" href="#id41" name="footnotes">2.11 Footnotes</a></h2> <table class="footnote" frame="void" id="id6" rules="none"> <colgroup><col class="label" /><col /></colgroup> <tbody valign="top"> @@ -394,12 +400,12 @@ Here's a reference to the next footnote: <a class="footnote-reference" href="#id <colgroup><col class="label" /><col /></colgroup> <tbody valign="top"> <tr><td class="label"><a name="id13">[4]</a></td><td>Here's an unreferenced footnote, with a reference to a -nonexistent footnote: <a href="#id65" name="id66"><span class="problematic" id="id66">[5]_</span></a>.</td></tr> +nonexistent footnote: <a href="#id66" name="id67"><span class="problematic" id="id67">[5]_</span></a>.</td></tr> </tbody> </table> </div> <div class="section" id="citations"> -<h2><a class="toc-backref" href="#id40" name="citations">2.11 Citations</a></h2> +<h2><a class="toc-backref" href="#id42" name="citations">2.12 Citations</a></h2> <table class="citation" frame="void" id="cit2002" rules="none"> <colgroup><col class="label" /><col /></colgroup> <tbody valign="top"> @@ -407,59 +413,58 @@ nonexistent footnote: <a href="#id65" name="id66"><span class="problematic" id=" 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="id15" name="id15">[CIT2002]</a>, and a <a href="#id67" name="id68"><span class="problematic" id="id68">[nonexistent]_</span></a> +<p>Here's a reference to the above, <a class="citation-reference" href="#cit2002" id="id15" name="id15">[CIT2002]</a>, and a <a href="#id68" name="id69"><span class="problematic" id="id69">[nonexistent]_</span></a> citation.</p> </div> <div class="section" id="targets"> -<h2><a class="toc-backref" href="#id41" name="targets">2.12 Targets</a></h2> +<h2><a class="toc-backref" href="#id43" name="targets">2.13 Targets</a></h2> <a class="target" id="example" name="example"></a><p>This paragraph is pointed to by the explicit "example" target. A reference can be found under <a class="reference" href="#inline-markup">Inline Markup</a>, above. <a class="reference" 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" href="#targets">Targets</a>, which is a subsection of <a class="reference" href="#body-elements">Body Elements</a>.</p> <p>Explicit external targets are interpolated into references such as -"<a class="reference" href="http://www.python.org/">Python</a> <a class="footnote-reference" href="#id21" id="id23" name="id23">[5]</a>".</p> +"<a class="reference" href="http://www.python.org/">Python</a> <a class="footnote-reference" href="#id22" id="id24" name="id24">[5]</a>".</p> <p>Targets may be indirect and anonymous. Thus <a class="reference" href="#targets">this phrase</a> may also refer to the <a class="reference" href="#targets">Targets</a> section.</p> -<p>Here's a <a href="#id69" name="id70"><span class="problematic" id="id70">`hyperlink reference without a target`_</span></a>, which generates an +<p>Here's a <a href="#id70" name="id71"><span class="problematic" id="id71">`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="#id42" name="duplicate-target-names">2.12.1 Duplicate Target Names</a></h3> +<h3><a class="toc-backref" href="#id44" name="duplicate-target-names">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="id18"> -<h3><a class="toc-backref" href="#id43" name="id18">2.12.2 Duplicate Target Names</a></h3> +<h3><a class="toc-backref" href="#id45" name="id18">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="#id71" name="id72"><span class="problematic" id="id72">`Duplicate Target Names`_</span></a>), an error is generated.</p> +this: <a href="#id72" name="id73"><span class="problematic" id="id73">`Duplicate Target Names`_</span></a>), an error is generated.</p> </div> </div> <div class="section" id="directives"> -<h2><a class="toc-backref" href="#id44" name="directives">2.13 Directives</a></h2> +<h2><a class="toc-backref" href="#id46" name="directives">2.14 Directives</a></h2> <div class="contents topic" id="contents"> <ul class="auto-toc simple"> -<li><a class="reference" href="#document-parts" id="id58" name="id58">2.13.1 Document Parts</a></li> -<li><a class="reference" href="#images" id="id59" name="id59">2.13.2 Images</a></li> -<li><a class="reference" href="#admonitions" id="id60" name="id60">2.13.3 Admonitions</a></li> -<li><a class="reference" href="#topics-sidebars-and-rubrics" id="id61" name="id61">2.13.4 Topics, Sidebars, and Rubrics</a></li> -<li><a class="reference" href="#target-footnotes" id="id62" name="id62">2.13.5 Target Footnotes</a></li> -<li><a class="reference" href="#line-blocks" id="id63" name="id63">2.13.6 Line Blocks</a></li> -<li><a class="reference" href="#replacement-text" id="id64" name="id64">2.13.7 Replacement Text</a></li> +<li><a class="reference" href="#document-parts" id="id60" name="id60">2.14.1 Document Parts</a></li> +<li><a class="reference" href="#images" id="id61" name="id61">2.14.2 Images</a></li> +<li><a class="reference" href="#admonitions" id="id62" name="id62">2.14.3 Admonitions</a></li> +<li><a class="reference" href="#topics-sidebars-and-rubrics" id="id63" name="id63">2.14.4 Topics, Sidebars, and Rubrics</a></li> +<li><a class="reference" href="#target-footnotes" id="id64" name="id64">2.14.5 Target Footnotes</a></li> +<li><a class="reference" href="#replacement-text" id="id65" name="id65">2.14.6 Replacement Text</a></li> </ul> </div> <p>These are just a sample of the many reStructuredText Directives. For others, please see <a class="reference" 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="#id58" name="document-parts">2.13.1 Document Parts</a></h3> +<h3><a class="toc-backref" href="#id60" name="document-parts">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" href="#contents">contents</a>) and at the beginning of the document (a document-wide <a class="reference" href="#table-of-contents">table of contents</a>).</p> </div> <div class="section" id="images"> -<h3><a class="toc-backref" href="#id59" name="images">2.13.2 Images</a></h3> +<h3><a class="toc-backref" href="#id61" name="images">2.14.2 Images</a></h3> <p>An image directive (also clickable -- a hyperlink reference):</p> <p><a class="reference" href="#directives"><img alt="../../../docs/user/rst/images/title.png" src="../../../docs/user/rst/images/title.png" /></a></p> <p>A figure directive:</p> @@ -489,7 +494,7 @@ document (a document-wide <a class="reference" href="#table-of-contents">table o </div> </div> <div class="section" id="admonitions"> -<h3><a class="toc-backref" href="#id60" name="admonitions">2.13.3 Admonitions</a></h3> +<h3><a class="toc-backref" href="#id62" name="admonitions">2.14.3 Admonitions</a></h3> <div class="attention"> <p class="admonition-title first">Attention!</p> Directives at large.</div> @@ -530,7 +535,7 @@ Reader discretion is strongly advised.</div> </div> </div> <div class="section" id="topics-sidebars-and-rubrics"> -<h3><a class="toc-backref" href="#id61" name="topics-sidebars-and-rubrics">2.13.4 Topics, Sidebars, and Rubrics</a></h3> +<h3><a class="toc-backref" href="#id63" name="topics-sidebars-and-rubrics">2.14.4 Topics, Sidebars, and Rubrics</a></h3> <div class="sidebar"> <p class="sidebar-title first">Sidebar Title</p> <p class="sidebar-subtitle">Optional Subtitle</p> @@ -547,45 +552,26 @@ background color.</p> <p class="rubric">This is a rubric</p> </div> <div class="section" id="target-footnotes"> -<h3><a class="toc-backref" href="#id62" name="target-footnotes">2.13.5 Target Footnotes</a></h3> -<table class="footnote" frame="void" id="id21" rules="none"> +<h3><a class="toc-backref" href="#id64" name="target-footnotes">2.14.5 Target Footnotes</a></h3> +<table class="footnote" frame="void" id="id22" rules="none"> <colgroup><col class="label" /><col /></colgroup> <tbody valign="top"> -<tr><td class="label"><a name="id21">[5]</a></td><td><em>(<a class="fn-backref" href="#id22">1</a>, <a class="fn-backref" href="#id23">2</a>, <a class="fn-backref" href="#id24">3</a>)</em> <a class="reference" href="http://www.python.org/">http://www.python.org/</a></td></tr> +<tr><td class="label"><a name="id22">[5]</a></td><td><em>(<a class="fn-backref" href="#id23">1</a>, <a class="fn-backref" href="#id24">2</a>, <a class="fn-backref" href="#id25">3</a>)</em> <a class="reference" href="http://www.python.org/">http://www.python.org/</a></td></tr> </tbody> </table> </div> -<div class="section" id="line-blocks"> -<h3><a class="toc-backref" href="#id63" name="line-blocks">2.13.6 Line Blocks</a></h3> -<p>Take it away, Eric the Orchestra Leader!</p> -<pre class="line-block"> -A one, two, a one two three four - -Half a bee, philosophically, - must, <em>ipso facto</em>, half not be. -But half the bee has got to be, - <em>vis a vis</em> its entity. D'you see? - -But can a bee be said to be - or not to be an entire bee, - when half the bee is not a bee, - due to some ancient injury? - -Singing... -</pre> -</div> <div class="section" id="replacement-text"> -<h3><a class="toc-backref" href="#id64" name="replacement-text">2.13.7 Replacement Text</a></h3> -<p>I recommend you try <a class="reference" href="http://www.python.org/">Python, <em>the</em> best language around</a> <a class="footnote-reference" href="#id21" id="id24" name="id24">[5]</a>.</p> +<h3><a class="toc-backref" href="#id65" name="replacement-text">2.14.6 Replacement Text</a></h3> +<p>I recommend you try <a class="reference" href="http://www.python.org/">Python, <em>the</em> best language around</a> <a class="footnote-reference" href="#id22" id="id25" name="id25">[5]</a>.</p> </div> </div> <div class="section" id="substitution-definitions"> -<h2><a class="toc-backref" href="#id52" name="substitution-definitions">2.14 Substitution Definitions</a></h2> +<h2><a class="toc-backref" href="#id53" name="substitution-definitions">2.15 Substitution Definitions</a></h2> <p>An inline image (<img alt="EXAMPLE" src="../../../docs/user/rst/images/biohazard.png" />) 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="#id53" name="comments">2.15 Comments</a></h2> +<h2><a class="toc-backref" href="#id54" name="comments">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 @@ -594,8 +580,57 @@ targets, directives, or substitution definitions. Double-dashes - - "- -" - - must be escaped somehow in HTML output. --> <p>(View the HTML source to see the comment.)</p> </div> +<div class="section" id="id19"> +<h2><a class="toc-backref" href="#id55" name="id19">2.17 Line Blocks</a></h2> +<div class="line-block"> +<div class="line">This is a line block. It ends with a blank line.</div> +<div class="line-block"> +<div class="line">New lines begin with a vertical bar ("|").</div> +<div class="line">Line breaks and initial indent are significant, and preserved.</div> +</div> +<div class="line">Continuation lines are also possible. A long line that is intended +to wrap should begin with a space in place of the vertical bar.</div> +<div class="line-block"> +<div class="line">The left edge of a continuation line need not be aligned with +the left edge of the text above it.</div> +</div> +</div> +<div class="line-block"> +<div class="line">This is a second line block.</div> +<div class="line"><br /></div> +<div class="line">Blank lines are permitted internally, but they must begin with a "|".</div> +</div> +<p>Take it away, Eric the Orchestra Leader!</p> +<blockquote> +<div class="line-block"> +<div class="line">A one, two, a one two three four</div> +<div class="line"><br /></div> +<div class="line">Half a bee, philosophically,</div> +<div class="line-block"> +<div class="line">must, <em>ipso facto</em>, half not be.</div> +</div> +<div class="line">But half the bee has got to be,</div> +<div class="line-block"> +<div class="line"><em>vis a vis</em> its entity. D'you see?</div> +<div class="line"><br /></div> +</div> +<div class="line">But can a bee be said to be</div> +<div class="line-block"> +<div class="line">or not to be an entire bee,</div> +<div class="line-block"> +<div class="line">when half the bee is not a bee,</div> +<div class="line-block"> +<div class="line">due to some ancient injury?</div> +<div class="line"><br /></div> +</div> +</div> +</div> +<div class="line">Singing...</div> +</div> +</blockquote> +</div> <div class="section" id="colspanning-tables"> -<h2><a class="toc-backref" href="#id54" name="colspanning-tables">2.16 Colspanning tables</a></h2> +<h2><a class="toc-backref" href="#id56" name="colspanning-tables">2.18 Colspanning tables</a></h2> <p>This table has a cell spanning two columns:</p> <table border="1" class="table"> <colgroup> @@ -633,7 +668,7 @@ Double-dashes - - "- -" - - must be escaped somehow in HTML output. --> </table> </div> <div class="section" id="rowspanning-tables"> -<h2><a class="toc-backref" href="#id55" name="rowspanning-tables">2.17 Rowspanning tables</a></h2> +<h2><a class="toc-backref" href="#id57" name="rowspanning-tables">2.19 Rowspanning tables</a></h2> <p>Here's a table with cells spanning several rows:</p> <table border="1" class="table"> <colgroup> @@ -669,7 +704,7 @@ span rows.</td> </table> </div> <div class="section" id="complex-tables"> -<h2><a class="toc-backref" href="#id56" name="complex-tables">2.18 Complex tables</a></h2> +<h2><a class="toc-backref" href="#id58" name="complex-tables">2.20 Complex tables</a></h2> <p>Here's a complex table, which should test all features.</p> <table border="1" class="table"> <colgroup> @@ -719,7 +754,7 @@ empty: <tt class="literal"><span class="pre">--></span></tt></td> </div> </div> <div class="section" id="error-handling"> -<h1><a class="toc-backref" href="#id57" name="error-handling">3 Error Handling</a></h1> +<h1><a class="toc-backref" href="#id59" name="error-handling">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> @@ -727,20 +762,20 @@ section, "Docutils System Messages":</p> </div> <div class="system-messages section"> <h1><a>Docutils System Messages</a></h1> -<div class="system-message" id="id19"> -<p class="system-message-title">System Message: <a name="id19">ERROR/3</a> (<tt>functional/input/data/standard.txt</tt>, line 89); <em><a href="#id20">backlink</a></em></p> +<div class="system-message" id="id20"> +<p class="system-message-title">System Message: <a name="id20">ERROR/3</a> (<tt>functional/input/data/standard.txt</tt>, line 89); <em><a href="#id21">backlink</a></em></p> Undefined substitution referenced: "problematic".</div> -<div class="system-message" id="id65"> -<p class="system-message-title">System Message: <a name="id65">ERROR/3</a> (<tt>functional/input/standalone_rst_html4css1.txt</tt>, line 281); <em><a href="#id66">backlink</a></em></p> +<div class="system-message" id="id66"> +<p class="system-message-title">System Message: <a name="id66">ERROR/3</a> (<tt>functional/input/standalone_rst_html4css1.txt</tt>, line 287); <em><a href="#id67">backlink</a></em></p> Unknown target name: "5".</div> -<div class="system-message" id="id67"> -<p class="system-message-title">System Message: <a name="id67">ERROR/3</a> (<tt>functional/input/data/standard.txt</tt>, line 290); <em><a href="#id68">backlink</a></em></p> +<div class="system-message" id="id68"> +<p class="system-message-title">System Message: <a name="id68">ERROR/3</a> (<tt>functional/input/data/standard.txt</tt>, line 296); <em><a href="#id69">backlink</a></em></p> Unknown target name: "nonexistent".</div> -<div class="system-message" id="id69"> -<p class="system-message-title">System Message: <a name="id69">ERROR/3</a> (<tt>functional/input/data/standard.txt</tt>, line 315); <em><a href="#id70">backlink</a></em></p> +<div class="system-message" id="id70"> +<p class="system-message-title">System Message: <a name="id70">ERROR/3</a> (<tt>functional/input/data/standard.txt</tt>, line 321); <em><a href="#id71">backlink</a></em></p> Unknown target name: "hyperlink reference without a target".</div> -<div class="system-message" id="id71"> -<p class="system-message-title">System Message: <a name="id71">ERROR/3</a> (<tt>functional/input/data/standard.txt</tt>, line 328); <em><a href="#id72">backlink</a></em></p> +<div class="system-message" id="id72"> +<p class="system-message-title">System Message: <a name="id72">ERROR/3</a> (<tt>functional/input/data/standard.txt</tt>, line 334); <em><a href="#id73">backlink</a></em></p> Duplicate target name, cannot be used as a unique reference: "duplicate target names".</div> </div> </div> diff --git a/docutils/test/functional/expected/standalone_rst_latex.tex b/docutils/test/functional/expected/standalone_rst_latex.tex index e8b7a8bc9..6defb4518 100644 --- a/docutils/test/functional/expected/standalone_rst_latex.tex +++ b/docutils/test/functional/expected/standalone_rst_latex.tex @@ -152,45 +152,45 @@ reStructuredText construct. \item {} \href{\#literal-blocks}{2.7~~~Literal Blocks} -\item {} \href{\#block-quotes}{2.8~~~Block Quotes} +\item {} \href{\#line-blocks}{2.8~~~Line Blocks} -\item {} \href{\#doctest-blocks}{2.9~~~Doctest Blocks} +\item {} \href{\#block-quotes}{2.9~~~Block Quotes} -\item {} \href{\#footnotes}{2.10~~~Footnotes} +\item {} \href{\#doctest-blocks}{2.10~~~Doctest Blocks} -\item {} \href{\#citations}{2.11~~~Citations} +\item {} \href{\#footnotes}{2.11~~~Footnotes} -\item {} \href{\#targets}{2.12~~~Targets} +\item {} \href{\#citations}{2.12~~~Citations} + +\item {} \href{\#targets}{2.13~~~Targets} \begin{list}{}{} -\item {} \href{\#duplicate-target-names}{2.12.1~~~Duplicate Target Names} +\item {} \href{\#duplicate-target-names}{2.13.1~~~Duplicate Target Names} -\item {} \href{\#id18}{2.12.2~~~Duplicate Target Names} +\item {} \href{\#id18}{2.13.2~~~Duplicate Target Names} \end{list} -\item {} \href{\#directives}{2.13~~~Directives} +\item {} \href{\#directives}{2.14~~~Directives} \begin{list}{}{} -\item {} \href{\#document-parts}{2.13.1~~~Document Parts} - -\item {} \href{\#images}{2.13.2~~~Images} +\item {} \href{\#document-parts}{2.14.1~~~Document Parts} -\item {} \href{\#admonitions}{2.13.3~~~Admonitions} +\item {} \href{\#images}{2.14.2~~~Images} -\item {} \href{\#topics-sidebars-and-rubrics}{2.13.4~~~Topics, Sidebars, and Rubrics} +\item {} \href{\#admonitions}{2.14.3~~~Admonitions} -\item {} \href{\#target-footnotes}{2.13.5~~~Target Footnotes} +\item {} \href{\#topics-sidebars-and-rubrics}{2.14.4~~~Topics, Sidebars, and Rubrics} -\item {} \href{\#line-blocks}{2.13.6~~~Line Blocks} +\item {} \href{\#target-footnotes}{2.14.5~~~Target Footnotes} -\item {} \href{\#replacement-text}{2.13.7~~~Replacement Text} +\item {} \href{\#replacement-text}{2.14.6~~~Replacement Text} \end{list} -\item {} \href{\#substitution-definitions}{2.14~~~Substitution Definitions} +\item {} \href{\#substitution-definitions}{2.15~~~Substitution Definitions} -\item {} \href{\#comments}{2.15~~~Comments} +\item {} \href{\#comments}{2.16~~~Comments} -\item {} \href{\#colspanning-tables}{2.16~~~Colspanning tables} +\item {} \href{\#colspanning-tables}{2.17~~~Colspanning tables} \end{list} @@ -560,9 +560,19 @@ Or they can be quoted without indentation: %___________________________________________________________________________ +\hypertarget{line-blocks}{} +\pdfbookmark[1]{2.8~~~Line Blocks}{line-blocks} +\subsection*{2.8~~~Line Blocks} + +(To be inserted from line{\_}blocks.txt once the LaTeX writer has +implemented it.) + + +%___________________________________________________________________________ + \hypertarget{block-quotes}{} -\pdfbookmark[1]{2.8~~~Block Quotes}{block-quotes} -\subsection*{2.8~~~Block Quotes} +\pdfbookmark[1]{2.9~~~Block Quotes}{block-quotes} +\subsection*{2.9~~~Block Quotes} Block quotes consist of indented body elements: \begin{quote} @@ -582,8 +592,8 @@ own it, and what it is too. %___________________________________________________________________________ \hypertarget{doctest-blocks}{} -\pdfbookmark[1]{2.9~~~Doctest Blocks}{doctest-blocks} -\subsection*{2.9~~~Doctest Blocks} +\pdfbookmark[1]{2.10~~~Doctest Blocks}{doctest-blocks} +\subsection*{2.10~~~Doctest Blocks} \begin{verbatim}>>> print 'Python-specific usage examples; begun with ">>>"' Python-specific usage examples; begun with ">>>" >>> print '(cut and pasted from interactive Python sessions)' @@ -593,8 +603,8 @@ Python-specific usage examples; begun with ">>>" %___________________________________________________________________________ \hypertarget{footnotes}{} -\pdfbookmark[1]{2.10~~~Footnotes}{footnotes} -\subsection*{2.10~~~Footnotes} +\pdfbookmark[1]{2.11~~~Footnotes}{footnotes} +\subsection*{2.11~~~Footnotes} \begin{figure}[b]\hypertarget{id6}[1] A footnote contains body elements, consistently indented by at least 3 spaces. @@ -628,8 +638,8 @@ nonexistent footnote:{\color{red}\bfseries{}{[}5]{\_}}. %___________________________________________________________________________ \hypertarget{citations}{} -\pdfbookmark[1]{2.11~~~Citations}{citations} -\subsection*{2.11~~~Citations} +\pdfbookmark[1]{2.12~~~Citations}{citations} +\subsection*{2.12~~~Citations} \begin{figure}[b]\hypertarget{cit2002}[CIT2002] Citations are text-labeled footnotes. They may be rendered separately and differently from footnotes. @@ -642,8 +652,8 @@ citation. %___________________________________________________________________________ \hypertarget{targets}{} -\pdfbookmark[1]{2.12~~~Targets}{targets} -\subsection*{2.12~~~Targets} +\pdfbookmark[1]{2.13~~~Targets}{targets} +\subsection*{2.13~~~Targets} \hypertarget{example}{} This paragraph is pointed to by the explicit ``example'' target. A reference can be found under \href{\#inline-markup}{Inline Markup}, above. \href{\#inline-hyperlink-targets}{Inline @@ -665,8 +675,8 @@ error. %___________________________________________________________________________ \hypertarget{duplicate-target-names}{} -\pdfbookmark[2]{2.12.1~~~Duplicate Target Names}{duplicate-target-names} -\subsubsection*{2.12.1~~~Duplicate Target Names} +\pdfbookmark[2]{2.13.1~~~Duplicate Target Names}{duplicate-target-names} +\subsubsection*{2.13.1~~~Duplicate Target Names} Duplicate names in section headers or other implicit targets will generate ``info'' (level-1) system messages. Duplicate names in @@ -676,8 +686,8 @@ explicit targets will generate ``warning'' (level-2) system messages. %___________________________________________________________________________ \hypertarget{id18}{} -\pdfbookmark[2]{2.12.2~~~Duplicate Target Names}{id18} -\subsubsection*{2.12.2~~~Duplicate Target Names} +\pdfbookmark[2]{2.13.2~~~Duplicate Target Names}{id18} +\subsubsection*{2.13.2~~~Duplicate Target Names} Since there are two ``Duplicate Target Names'' section headers, we cannot uniquely refer to either of them by name. If we try to (like @@ -687,22 +697,20 @@ this: {\color{red}\bfseries{}`Duplicate Target Names`{\_}}), an error is generat %___________________________________________________________________________ \hypertarget{directives}{} -\pdfbookmark[1]{2.13~~~Directives}{directives} -\subsection*{2.13~~~Directives} +\pdfbookmark[1]{2.14~~~Directives}{directives} +\subsection*{2.14~~~Directives} \begin{list}{}{} -\item {} \href{\#document-parts}{2.13.1~~~Document Parts} - -\item {} \href{\#images}{2.13.2~~~Images} +\item {} \href{\#document-parts}{2.14.1~~~Document Parts} -\item {} \href{\#admonitions}{2.13.3~~~Admonitions} +\item {} \href{\#images}{2.14.2~~~Images} -\item {} \href{\#topics-sidebars-and-rubrics}{2.13.4~~~Topics, Sidebars, and Rubrics} +\item {} \href{\#admonitions}{2.14.3~~~Admonitions} -\item {} \href{\#target-footnotes}{2.13.5~~~Target Footnotes} +\item {} \href{\#topics-sidebars-and-rubrics}{2.14.4~~~Topics, Sidebars, and Rubrics} -\item {} \href{\#line-blocks}{2.13.6~~~Line Blocks} +\item {} \href{\#target-footnotes}{2.14.5~~~Target Footnotes} -\item {} \href{\#replacement-text}{2.13.7~~~Replacement Text} +\item {} \href{\#replacement-text}{2.14.6~~~Replacement Text} \end{list} @@ -715,8 +723,8 @@ others, please see %___________________________________________________________________________ \hypertarget{document-parts}{} -\pdfbookmark[2]{2.13.1~~~Document Parts}{document-parts} -\subsubsection*{2.13.1~~~Document Parts} +\pdfbookmark[2]{2.14.1~~~Document Parts}{document-parts} +\subsubsection*{2.14.1~~~Document Parts} An example of the ``contents'' directive can be seen above this section (a local, untitled table of \href{\#contents}{contents}) and at the beginning of the @@ -726,8 +734,8 @@ document (a document-wide \href{\#table-of-contents}{table of contents}). %___________________________________________________________________________ \hypertarget{images}{} -\pdfbookmark[2]{2.13.2~~~Images}{images} -\subsubsection*{2.13.2~~~Images} +\pdfbookmark[2]{2.14.2~~~Images}{images} +\subsubsection*{2.14.2~~~Images} An image directive (also clickable -- a hyperlink reference): \href{\#directives}{\includegraphics{../../../docs/user/rst/images/title.png}} @@ -765,8 +773,8 @@ This paragraph is also part of the legend. %___________________________________________________________________________ \hypertarget{admonitions}{} -\pdfbookmark[2]{2.13.3~~~Admonitions}{admonitions} -\subsubsection*{2.13.3~~~Admonitions} +\pdfbookmark[2]{2.14.3~~~Admonitions}{admonitions} +\subsubsection*{2.14.3~~~Admonitions} \begin{center}\begin{sffamily} \fbox{\parbox{\admonitionwidth}{ \textbf{\large Attention!} @@ -876,8 +884,8 @@ You can make up your own admonition too. %___________________________________________________________________________ \hypertarget{topics-sidebars-and-rubrics}{} -\pdfbookmark[2]{2.13.4~~~Topics, Sidebars, and Rubrics}{topics-sidebars-and-rubrics} -\subsubsection*{2.13.4~~~Topics, Sidebars, and Rubrics} +\pdfbookmark[2]{2.14.4~~~Topics, Sidebars, and Rubrics}{topics-sidebars-and-rubrics} +\subsubsection*{2.14.4~~~Topics, Sidebars, and Rubrics} \setlength{\locallinewidth}{0.9\admonitionwidth} \begin{center}\begin{sffamily} @@ -909,8 +917,8 @@ This is a topic. %___________________________________________________________________________ \hypertarget{target-footnotes}{} -\pdfbookmark[2]{2.13.5~~~Target Footnotes}{target-footnotes} -\subsubsection*{2.13.5~~~Target Footnotes} +\pdfbookmark[2]{2.14.5~~~Target Footnotes}{target-footnotes} +\subsubsection*{2.14.5~~~Target Footnotes} \begin{figure}[b]\hypertarget{id21}[5] \href{http://www.python.org/}{http://www.python.org/} \end{figure} @@ -918,33 +926,9 @@ This is a topic. %___________________________________________________________________________ -\hypertarget{line-blocks}{} -\pdfbookmark[2]{2.13.6~~~Line Blocks}{line-blocks} -\subsubsection*{2.13.6~~~Line Blocks} - -Take it away, Eric the Orchestra Leader! -\begin{flushleft} -A~one,~two,~a~one~two~three~four~\\ -~\\ -Half~a~bee,~philosophically,~\\ -~~~~must,~\emph{ipso~facto},~half~not~be.~\\ -But~half~the~bee~has~got~to~be,~\\ -~~~~\emph{vis~a~vis}~its~entity.~~D'you~see?~\\ -~\\ -But~can~a~bee~be~said~to~be~\\ -~~~~or~not~to~be~an~entire~bee,~\\ -~~~~~~~~when~half~the~bee~is~not~a~bee,~\\ -~~~~~~~~~~~~due~to~some~ancient~injury?~\\ -~\\ -Singing... -\end{flushleft} - - -%___________________________________________________________________________ - \hypertarget{replacement-text}{} -\pdfbookmark[2]{2.13.7~~~Replacement Text}{replacement-text} -\subsubsection*{2.13.7~~~Replacement Text} +\pdfbookmark[2]{2.14.6~~~Replacement Text}{replacement-text} +\subsubsection*{2.14.6~~~Replacement Text} I recommend you try \href{http://www.python.org/}{Python, \emph{the} best language around}\raisebox{.5em}[0em]{\scriptsize\hyperlink{id21}{5}}. @@ -952,8 +936,8 @@ I recommend you try \href{http://www.python.org/}{Python, \emph{the} best langua %___________________________________________________________________________ \hypertarget{substitution-definitions}{} -\pdfbookmark[1]{2.14~~~Substitution Definitions}{substitution-definitions} -\subsection*{2.14~~~Substitution Definitions} +\pdfbookmark[1]{2.15~~~Substitution Definitions}{substitution-definitions} +\subsection*{2.15~~~Substitution Definitions} An inline image (\includegraphics{../../../docs/user/rst/images/biohazard.png}) example: @@ -963,8 +947,8 @@ An inline image (\includegraphics{../../../docs/user/rst/images/biohazard.png}) %___________________________________________________________________________ \hypertarget{comments}{} -\pdfbookmark[1]{2.15~~~Comments}{comments} -\subsection*{2.15~~~Comments} +\pdfbookmark[1]{2.16~~~Comments}{comments} +\subsection*{2.16~~~Comments} Here's one: % Comments begin with two dots and a space. Anything may @@ -979,8 +963,8 @@ Here's one: %___________________________________________________________________________ \hypertarget{colspanning-tables}{} -\pdfbookmark[1]{2.16~~~Colspanning tables}{colspanning-tables} -\subsection*{2.16~~~Colspanning tables} +\pdfbookmark[1]{2.17~~~Colspanning tables}{colspanning-tables} +\subsection*{2.17~~~Colspanning tables} This table has a cell spanning two columns: diff --git a/docutils/test/functional/input/data/standard.txt b/docutils/test/functional/input/data/standard.txt index 770efe072..730c68cfb 100644 --- a/docutils/test/functional/input/data/standard.txt +++ b/docutils/test/functional/input/data/standard.txt @@ -233,6 +233,12 @@ Or they can be quoted without indentation:: > > Why didn't I think of that? +Line Blocks +----------- + +(To be inserted from line_blocks.txt once the LaTeX writer has +implemented it.) + Block Quotes ------------ @@ -425,26 +431,6 @@ Target Footnotes .. target-notes:: -Line Blocks -``````````` - -Take it away, Eric the Orchestra Leader! - -.. line-block:: - - A one, two, a one two three four - - Half a bee, philosophically, - must, *ipso facto*, half not be. - But half the bee has got to be, - *vis a vis* its entity. D'you see? - - But can a bee be said to be - or not to be an entire bee, - when half the bee is not a bee, - due to some ancient injury? - - Singing... Replacement Text ```````````````` diff --git a/docutils/test/functional/input/standalone_rst_html4css1.txt b/docutils/test/functional/input/standalone_rst_html4css1.txt index 68f9de864..b0a5eec04 100644 --- a/docutils/test/functional/input/standalone_rst_html4css1.txt +++ b/docutils/test/functional/input/standalone_rst_html4css1.txt @@ -1,4 +1,5 @@ .. include:: data/standard.txt +.. include:: data/line_blocks.txt .. include:: data/table_colspan.txt .. include:: data/table_rowspan.txt .. include:: data/table_complex.txt |
