diff options
Diffstat (limited to 'docutils')
9 files changed, 28 insertions, 20 deletions
diff --git a/docutils/test/functional/expected/latex_memoir.tex b/docutils/test/functional/expected/latex_memoir.tex index a8da5e0d6..3cad8b6f0 100644 --- a/docutils/test/functional/expected/latex_memoir.tex +++ b/docutils/test/functional/expected/latex_memoir.tex @@ -915,7 +915,7 @@ This paragraph is also part of the legend. \end{DUclass} \end{DUclass} -A left-aligned figure: +A left-aligned figure, 70\% wide: \begin{DUclass}{figclass1} \begin{DUclass}{figclass2} diff --git a/docutils/test/functional/expected/standalone_rst_docutils_xml.xml b/docutils/test/functional/expected/standalone_rst_docutils_xml.xml index 3dc6b611f..1fc213462 100644 --- a/docutils/test/functional/expected/standalone_rst_docutils_xml.xml +++ b/docutils/test/functional/expected/standalone_rst_docutils_xml.xml @@ -868,7 +868,7 @@ Python-specific usage examples; begun with ">>>" <paragraph>This paragraph is also part of the legend.</paragraph> </legend> </figure> - <paragraph>A left-aligned figure:</paragraph> + <paragraph>A left-aligned figure, 70% wide:</paragraph> <figure align="left" classes="figclass1 figclass2" width="70%"> <image alt="reStructuredText, the markup syntax" classes="class1 class2" uri="../../../docs/user/rst/images/biohazard.png" width="40px"></image> <caption>This is the caption.</caption> diff --git a/docutils/test/functional/expected/standalone_rst_html4css1.html b/docutils/test/functional/expected/standalone_rst_html4css1.html index 18272024e..d1443ae23 100644 --- a/docutils/test/functional/expected/standalone_rst_html4css1.html +++ b/docutils/test/functional/expected/standalone_rst_html4css1.html @@ -630,7 +630,7 @@ layout.</p> <p>This paragraph is also part of the legend.</p> </div> </div> -<p>A left-aligned figure:</p> +<p>A left-aligned figure, 70% wide:</p> <div class="figclass1 figclass2 figure align-left" style="width: 70%"> <img alt="reStructuredText, the markup syntax" class="class1 class2" src="../../../docs/user/rst/images/biohazard.png" style="width: 40px;" /> <p class="caption">This is the caption.</p> diff --git a/docutils/test/functional/expected/standalone_rst_html5.html b/docutils/test/functional/expected/standalone_rst_html5.html index 4459a0f78..b9473f117 100644 --- a/docutils/test/functional/expected/standalone_rst_html5.html +++ b/docutils/test/functional/expected/standalone_rst_html5.html @@ -624,7 +624,7 @@ layout.</p> </div> </figcaption> </figure> -<p>A left-aligned figure:</p> +<p>A left-aligned figure, 70% wide:</p> <figure class="figclass1 figclass2 align-left" style="width: 70%"> <img alt="reStructuredText, the markup syntax" class="class1 class2" src="../../../docs/user/rst/images/biohazard.png" style="width: 40px;" /> <figcaption> @@ -1544,6 +1544,16 @@ a substitution.</p> </blockquote> </dd> </dl> +<dl class="footnote brackets"> +<dt class="label" id="attribute-optional"><span class="brackets">5</span><span class="fn-backref">(<a href="#footnote-reference-10">1</a>,<a href="#footnote-reference-14">2</a>,<a href="#footnote-reference-16">3</a>,<a href="#footnote-reference-17">4</a>)</span></dt> +<dd><p>Would gain from support for attributes/arguments +to inline roles. See <a class="reference external" href="http://docutils.sourceforge.net/docs/dev/todo.html#interpreted-text">TODO</a> <a class="footnote-reference brackets" href="#footnote-9" id="footnote-reference-22">9</a></p> +</dd> +<dt class="label" id="attribute-required"><span class="brackets">6</span><span class="fn-backref">(<a href="#footnote-reference-12">1</a>,<a href="#footnote-reference-13">2</a>,<a href="#footnote-reference-15">3</a>)</span></dt> +<dd><p>Requires support for attributes to inline +roles to make sense.</p> +</dd> +</dl> </section> <section id="indicating-edits"> <h3><a class="toc-backref" href="#toc-entry-46"><span class="sectnum">3.4</span> Indicating Edits</a></h3> diff --git a/docutils/test/functional/expected/standalone_rst_latex.tex b/docutils/test/functional/expected/standalone_rst_latex.tex index bc0098e28..95a45b359 100644 --- a/docutils/test/functional/expected/standalone_rst_latex.tex +++ b/docutils/test/functional/expected/standalone_rst_latex.tex @@ -919,7 +919,7 @@ This paragraph is also part of the legend. \end{DUclass} \end{DUclass} -A left-aligned figure: +A left-aligned figure, 70\% wide: \begin{DUclass}{figclass1} \begin{DUclass}{figclass2} diff --git a/docutils/test/functional/expected/standalone_rst_pseudoxml.txt b/docutils/test/functional/expected/standalone_rst_pseudoxml.txt index 1d1fc0d91..70eaf6dbf 100644 --- a/docutils/test/functional/expected/standalone_rst_pseudoxml.txt +++ b/docutils/test/functional/expected/standalone_rst_pseudoxml.txt @@ -1336,7 +1336,7 @@ <paragraph> This paragraph is also part of the legend. <paragraph> - A left-aligned figure: + A left-aligned figure, 70% wide: <figure align="left" classes="figclass1 figclass2" width="70%"> <image alt="reStructuredText, the markup syntax" classes="class1 class2" uri="../../../docs/user/rst/images/biohazard.png" width="40px"> <caption> diff --git a/docutils/test/functional/expected/standalone_rst_xetex.tex b/docutils/test/functional/expected/standalone_rst_xetex.tex index 8150e4469..4bbb8b940 100644 --- a/docutils/test/functional/expected/standalone_rst_xetex.tex +++ b/docutils/test/functional/expected/standalone_rst_xetex.tex @@ -778,7 +778,7 @@ This paragraph is also part of the legend. \end{DUclass} \end{DUclass} -A left-aligned figure: +A left-aligned figure, 70\% wide: \begin{DUclass}{figclass1} \begin{DUclass}{figclass2} diff --git a/docutils/test/functional/input/data/standard.txt b/docutils/test/functional/input/data/standard.txt index 3b232a67f..12e2fd1bf 100644 --- a/docutils/test/functional/input/data/standard.txt +++ b/docutils/test/functional/input/data/standard.txt @@ -544,7 +544,7 @@ layout. This paragraph is also part of the legend. -A left-aligned figure: +A left-aligned figure, 70% wide: .. figure:: ../../../docs/user/rst/images/biohazard.png :figclass: figclass1 figclass2 diff --git a/docutils/test/functional/input/html5-text-level-tags.txt b/docutils/test/functional/input/html5-text-level-tags.txt index 3196ecb39..685412cbd 100644 --- a/docutils/test/functional/input/html5-text-level-tags.txt +++ b/docutils/test/functional/input/html5-text-level-tags.txt @@ -216,6 +216,13 @@ __ https://html.spec.whatwg.org/#text-level-semantics www.simply\ |wbr|\orange\ |wbr|\juice.com +.. [#attribute-optional] Would gain from support for attributes/arguments + to inline roles. See TODO_ + +.. [#attribute-required] Requires support for attributes to inline + roles to make sense. + + Indicating Edits ---------------- @@ -230,11 +237,10 @@ __ https://html.spec.whatwg.org/multipage/edits.html .. role:: ins This text has "always" been here. :ins:`This text has been inserted.` - + .. container:: ins - + This paragraph has been inserted. - :del: Removed content [#attribute-optional]_ @@ -244,15 +250,7 @@ __ https://html.spec.whatwg.org/multipage/edits.html :del:`This text has been deleted`, here is the rest of the paragraph. .. container:: del - - This paragraph has been deleted. - - -.. [#attribute-optional] Would gain from support for attributes/arguments - to inline roles. See TODO_ - -.. [#attribute-required] Requires support for attributes to inline - roles to make sense. + This paragraph has been deleted. .. _TODO: http://docutils.sourceforge.net/docs/dev/todo.html#interpreted-text |
