CINXE.COM

Docutils Release Notes

<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="utf-8" /> <meta name="generator" content="Docutils 0.22b.dev: https://docutils.sourceforge.io/" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="dcterms.date" content="2024-11-12" /> <meta name="dcterms.rights" content="This document has been placed in the public domain." /> <title>Docutils Release Notes</title> <link rel="schema.dcterms" href="http://purl.org/dc/terms/"/> <link rel="stylesheet" href="docutils/writers/html5_polyglot/minimal.css" type="text/css" /> <link rel="stylesheet" href="docutils/writers/html5_polyglot/responsive.css" type="text/css" /> <link rel="stylesheet" href="docutils/writers/html5_polyglot/italic-field-names.css" type="text/css" /> </head> <body class="with-toc"> <header> <p><a class="reference external" href="https://docutils.sourceforge.io">Docutils</a> | <a class="reference external" href="docs/index.html">Overview</a> | <a class="reference external" href="docs/index.html#project-fundamentals">About</a> | <a class="reference external" href="docs/index.html#user">Users</a> | <a class="reference external" href="docs/index.html#ref">Reference</a> | <a class="reference external" href="docs/index.html#howto">Developers</a></p> </header> <main id="docutils-release-notes"> <h1 class="title">Docutils Release Notes</h1> <dl class="docinfo"> <dt class="contact">Contact<span class="colon">:</span></dt> <dd class="contact"><a class="reference external" href="mailto:grubert&#64;users.sourceforge.net">grubert&#64;users.sourceforge.net</a></dd> <dt class="maintainer">Maintainer<span class="colon">:</span></dt> <dd class="maintainer"><p><a class="reference external" href="mailto:docutils-develop&#64;lists.sourceforge.net">docutils-develop&#64;lists.sourceforge.net</a></p> </dd> <dt class="date">Date<span class="colon">:</span></dt> <dd class="date">2024-11-12</dd> <dt class="revision">Revision<span class="colon">:</span></dt> <dd class="revision">9980</dd> <dt class="web-site">Web site<span class="colon">:</span></dt> <dd class="web-site"><p><a class="reference external" href="https://docutils.sourceforge.io/">https://docutils.sourceforge.io/</a></p> </dd> <dt class="copyright">Copyright<span class="colon">:</span></dt> <dd class="copyright">This document has been placed in the public domain.</dd> </dl> <!-- Minimal menu bar for inclusion in documentation sources in the ``docutils/`` parent diretory. Attention: this is not a standalone document. --> <p>This document summarizes the major changes in previous and upcoming releases. For a more detailed list of changes, please see the Docutils <a class="reference external" href="HISTORY.html">HISTORY</a>.</p> <nav class="contents" id="contents" role="doc-toc"> <p class="topic-title"><a class="reference internal" href="#top">Contents</a></p> <ul class="simple"> <li><p><a class="reference internal" href="#future-changes" id="toc-entry-1">Future changes</a></p> <ul> <li><p><a class="reference internal" href="#command-line-interface" id="toc-entry-2">Command line interface</a></p></li> <li><p><a class="reference internal" href="#document-tree-docutils-dtd" id="toc-entry-3">Document Tree / Docutils DTD</a></p></li> <li><p><a class="reference internal" href="#writers" id="toc-entry-4">Writers</a></p></li> <li><p><a class="reference internal" href="#removals" id="toc-entry-5">Removals</a></p></li> <li><p><a class="reference internal" href="#misc" id="toc-entry-6">Misc</a></p></li> </ul> </li> <li><p><a class="reference internal" href="#release-0-22b-dev-unpublished" id="toc-entry-7">Release 0.22b.dev (unpublished)</a></p></li> <li><p><a class="reference internal" href="#release-0-21-2-2024-04-23" id="toc-entry-8">Release 0.21.2 (2024-04-23)</a></p></li> <li><p><a class="reference internal" href="#release-0-21-1-2024-04-10" id="toc-entry-9">Release 0.21.1 (2024-04-10)</a></p></li> <li><p><a class="reference internal" href="#release-0-21-2024-04-09" id="toc-entry-10">Release 0.21 (2024-04-09)</a></p></li> <li><p><a class="reference internal" href="#release-0-20-1-2023-05-17" id="toc-entry-11">Release 0.20.1 (2023-05-17)</a></p></li> <li><p><a class="reference internal" href="#release-0-20-2023-05-04" id="toc-entry-12">Release 0.20 (2023-05-04)</a></p></li> <li><p><a class="reference internal" href="#release-0-19-2022-07-05" id="toc-entry-13">Release 0.19 (2022-07-05)</a></p></li> <li><p><a class="reference internal" href="#release-0-18-1-2021-12-23" id="toc-entry-14">Release 0.18.1 (2021-12-23)</a></p></li> <li><p><a class="reference internal" href="#release-0-18-2021-10-26" id="toc-entry-15">Release 0.18 (2021-10-26)</a></p></li> <li><p><a class="reference internal" href="#release-0-17-1-2021-04-16" id="toc-entry-16">Release 0.17.1 (2021-04-16)</a></p></li> <li><p><a class="reference internal" href="#release-0-17-2021-04-03" id="toc-entry-17">Release 0.17 (2021-04-03)</a></p></li> <li><p><a class="reference internal" href="#release-0-16-2020-01-12" id="toc-entry-18">Release 0.16 (2020-01-12)</a></p></li> <li><p><a class="reference internal" href="#release-0-15-2019-07-20" id="toc-entry-19">Release 0.15 (2019-07-20)</a></p></li> <li><p><a class="reference internal" href="#release-0-14-2017-08-03" id="toc-entry-20">Release 0.14 (2017-08-03)</a></p></li> <li><p><a class="reference internal" href="#release-0-13-1-2016-12-09" id="toc-entry-21">Release 0.13.1 (2016-12-09)</a></p></li> <li><p><a class="reference internal" href="#release-0-12-2014-07-06" id="toc-entry-22">Release 0.12 (2014-07-06)</a></p></li> <li><p><a class="reference internal" href="#release-0-11-2013-07-22" id="toc-entry-23">Release 0.11 (2013-07-22)</a></p></li> <li><p><a class="reference internal" href="#release-0-10-2012-12-16" id="toc-entry-24">Release 0.10 (2012-12-16)</a></p></li> <li><p><a class="reference internal" href="#release-0-9-1-2012-06-17" id="toc-entry-25">Release 0.9.1 (2012-06-17)</a></p></li> <li><p><a class="reference internal" href="#release-0-9-2012-05-02" id="toc-entry-26">Release 0.9 (2012-05-02)</a></p></li> <li><p><a class="reference internal" href="#release-0-8-1-2011-08-30" id="toc-entry-27">Release 0.8.1 (2011-08-30)</a></p></li> <li><p><a class="reference internal" href="#release-0-8-2011-07-07" id="toc-entry-28">Release 0.8 (2011-07-07)</a></p></li> <li><p><a class="reference internal" href="#release-0-7-2010-07-07" id="toc-entry-29">Release 0.7 (2010-07-07)</a></p></li> <li><p><a class="reference internal" href="#release-0-6-2009-10-11" id="toc-entry-30">Release 0.6 (2009-10-11)</a></p></li> <li><p><a class="reference internal" href="#release-0-5-2008-06-25" id="toc-entry-31">Release 0.5 (2008-06-25)</a></p></li> <li><p><a class="reference internal" href="#release-0-4-2006-01-09" id="toc-entry-32">Release 0.4 (2006-01-09)</a></p></li> <li><p><a class="reference internal" href="#release-0-3-9-2005-05-26" id="toc-entry-33">Release 0.3.9 (2005-05-26)</a></p></li> <li><p><a class="reference internal" href="#release-0-3-7-2004-12-24" id="toc-entry-34">Release 0.3.7 (2004-12-24)</a></p></li> <li><p><a class="reference internal" href="#release-0-3-5-2004-07-29" id="toc-entry-35">Release 0.3.5 (2004-07-29)</a></p></li> </ul> </nav> <section id="future-changes"> <h2><a class="toc-backref" href="#toc-entry-1" role="doc-backlink">Future changes</a><a class="self-link" title="link to this section" href="#future-changes"></a></h2> <section id="command-line-interface"> <h3><a class="toc-backref" href="#toc-entry-2" role="doc-backlink">Command line interface</a><a class="self-link" title="link to this section" href="#command-line-interface"></a></h3> <ul> <li><p>The <span class="target" id="command-line-usage-pattern">command-line usage pattern</span> will change:</p> <pre class="code diff literal-block"><code><span class="generic deleted">- COMMAND [OPTIONS] [SOURCE [DESTINATION]]</span><span class="whitespace"> </span><span class="generic inserted">+ COMMAND [OPTIONS] [SOURCE [SOURCE2 [...]]]</span></code></pre> <ul class="simple"> <li><p>Stop accepting the DESTINATION positional argument in Docutils聽1.0. Use <span class="docutils literal"><span class="pre">--output=DESTINATION</span></span> (cf. the &quot;<a class="reference external" href="docs/user/config.html#output">output</a>&quot; configuration setting) or output redirection.</p></li> <li><p>Accept the short option <span class="docutils literal"><span class="pre">-o</span></span> for <span class="docutils literal"><span class="pre">--output</span></span> in Docutils聽1.0</p></li> <li><p>Accept more than one source document in Docutils聽2.0</p></li> </ul> <p>For the rationale, see <a class="reference external" href="https://clig.dev/#arguments-and-flags">https://clig.dev/#arguments-and-flags</a>.</p> </li> </ul> </section> <section id="document-tree-docutils-dtd"> <h3><a class="toc-backref" href="#toc-entry-3" role="doc-backlink">Document Tree / Docutils DTD</a><a class="self-link" title="link to this section" href="#document-tree-docutils-dtd"></a></h3> <ul> <li><p>Do not lowercase reference names in the <a class="reference external" href="docs/ref/doctree.html#refname">&quot;refname&quot; attribute</a> (matching hyperlinks, footnotes, and citations remains case insensitive), and drop the <span class="docutils literal">name</span> attribute from &lt;reference&gt; nodes in Docutils聽1.0.</p></li> <li><p>Use the <span class="docutils literal">%tbl.table.att</span> parameter entity instead of <span class="docutils literal">%bodyatt</span> to customize the &lt;table&gt; element's attribute list in Docutils聽1.0.</p></li> <li><p>The &lt;footnote&gt; element's first child (&lt;label&gt;) will become mandatory in Docutils聽1.0.</p></li> <li><p>Values of the <a class="reference external" href="docs/ref/doctree.html#colwidth">&quot;colwidth&quot; attribute</a> will be stored in Python element instances as <cite>str</cite> (with unit &quot;*&quot; for proportional values) in Docutils聽1.0. (The method <cite>nodes.colspec.propwidth()</cite> provides a stable means to extract a proportionional value as number.)</p> <p>The default unit will change to &quot;pt&quot; in Docutils聽2.0.</p> </li> <li><p>The <a class="reference external" href="docs/ref/doctree.html#doctest-block">&lt;doctest_block&gt;</a> element will be deprecated in Docutils聽1.0. The rST parser will handle a <a class="reference external" href="docs/ref/rst/restructuredtext.html#doctest-blocks">doctest block</a> similar to a &quot;code&quot; directive with language &quot;pycon&quot; (Python console) and generate a &lt;literal_block&gt;.</p></li> </ul> </section> <section id="writers"> <h3><a class="toc-backref" href="#toc-entry-4" role="doc-backlink">Writers</a><a class="self-link" title="link to this section" href="#writers"></a></h3> <ul> <li><p>The <a class="reference external" href="docs/user/html.html#html">default HTML writer</a> will change in Docutils聽2.0:</p> <p>The <a class="reference external" href="docs/user/tools.html#rst2html">rst2html</a> front end and <span class="docutils literal"><span class="pre">get_writer_by_name('html')</span></span> select &quot;html4css1&quot; now and will select &quot;html5&quot; in Docutils聽2.0 and later.</p> <ul class="simple"> <li><p>Use <a class="reference external" href="docs/user/tools.html#rst2html4">rst2html4</a>, <span class="docutils literal">docutils <span class="pre">--writer=html4</span></span>, or <span class="docutils literal"><span class="pre">get_writer_by_name('html4')</span></span> if you depend on stability of the generated HTML code, e.g. because you use a custom style sheet or post-processing that may break otherwise.</p></li> <li><p>Use <a class="reference external" href="docs/user/tools.html#rst2html5">rst2html5</a>, <span class="docutils literal">docutils</span> or <span class="docutils literal"><span class="pre">get_writer_by_name('html5')</span></span> if you want a HTML5 document.</p></li> </ul> </li> <li><p>&quot;html5&quot; writer:</p> <ul class="simple"> <li><p>Move attribution behind the blockquote to comply with the <a class="reference external" href="https://html.spec.whatwg.org/#the-blockquote-element">&quot;HTML living standard&quot;</a>. (The now retired <a class="reference external" href="https://www.w3.org/TR/2014/REC-html5-20141028/grouping-content.html#the-blockquote-element">HTML5</a> W3C recommendation allows &lt;cite&gt; elements inside a blockquote.)</p> </li> <li><p>Change the default value of the <a class="reference external" href="docs/user/config.html#initial-header-level">initial_header_level</a> setting to None (&lt;h2&gt; if there is a document title, else &lt;h1&gt;) in Docutils聽1.0.</p></li> <li><p>Remove option <span class="docutils literal"><span class="pre">--embed-images</span></span> (obsoleted by &quot;<a class="reference external" href="docs/user/config.html#image-loading">image_loading</a>&quot;) in Docutils聽2.0.</p></li> </ul> </li> <li><p>&quot;latex2e&quot; writer:</p> <ul class="simple"> <li><p>Change default of <a class="reference external" href="docs/user/config.html#use-latex-citations">use_latex_citations</a> setting to True in Docutils聽1.0.</p></li> <li><p>Change default of <a class="reference external" href="docs/user/config.html#legacy-column-widths">legacy_column_widths</a> setting to False in Docutils聽1.0.</p></li> <li><p>Remove <span class="docutils literal">use_verbatim_when_possible</span> setting (use <a class="reference external" href="docs/user/config.html#literal-block-env">literal_block_env</a>: verbatim) in Docutils聽2.0.</p></li> <li><p>The <a class="reference external" href="docs/user/latex.html#length-units">default length unit</a> will change from &quot;bp&quot; (DTP point) to &quot;px&quot; (pixel unit) in Docutils聽1.0.</p> </li> </ul> </li> </ul> </section> <section id="removals"> <h3><a class="toc-backref" href="#toc-entry-5" role="doc-backlink">Removals</a><a class="self-link" title="link to this section" href="#removals"></a></h3> <ul class="simple"> <li><p>Remove <cite>io.BinaryFileOutput</cite> and <cite>core.publish_cmdline_to_binary()</cite> in Docutils聽0.24.</p></li> <li><p>Remove <cite>writers.latex2e.SortableDict</cite> in Docutils聽0.24.</p></li> <li><p>Remove <cite>parsers.rst.directives.length_units</cite> in Docutils聽0.24. Use <cite>parsers.rst.directives.CSS3_LENGTH_UNITS</cite>. Mind that this is a tuple, not a list.</p></li> <li><p>Remove <cite>parsers.rst.directives.CSVTable.HeaderDialect</cite> in Docutils聽1.0.</p></li> <li><p>Remove support for the <a class="reference external" href="docs/user/config.html#recommonmark-parser">recommonmark parser</a> in Docutils聽1.0. Recommonmark is unmaintained since 2021 and deprecated in favour of the <a class="reference external" href="docs/user/config.html#myst-parser">MyST parser</a>.</p> </li> <li><p>Remove the input encoding auto-detection code in Docutils聽1.0.</p></li> <li><p>Remove <cite>parsers.rst.roles.set_classes()</cite> and <cite>parsers.rst.roles.normalized_role_options()</cite> in Docutils聽1.0.</p></li> <li><p>Remove the &quot;rawsource&quot; argument from <cite>nodes.Text.__init__()</cite> in Docutils聽2.0.</p></li> <li><p>Remove attributes <cite>nodes.Element.known_attributes</cite>, <cite>nodes.Element.basic_attributes</cite>, and <cite>nodes.Element.local_attributes</cite>, in Docutils聽2.0.</p></li> <li><p>Drop support for <a class="reference external" href="docs/user/config.html#old-format-configuration-files">old-format configuration files</a> in Docutils聽2.0.</p></li> <li><p>Remove the <span class="docutils literal"><span class="pre">--html-writer</span></span> option of the <a class="reference external" href="docs/user/tools.html#buildhtml-py">buildhtml.py</a> application (obsoleted by the <a class="reference external" href="docs/user/config.html#writer-buildhtml-application">&quot;writer&quot; setting</a> since Docutils聽0.18) in Docutils聽2.0.</p></li> <li><p>Remove the &quot;reader_name&quot;, &quot;parser_name&quot;, and &quot;writer_name&quot; arguments of <cite>core.Publisher.__init__()</cite> and the <cite>core.publish_*()</cite> convenience functions in Docutils聽2.0. Since Docutils聽0.22, you may use &quot;reader&quot;, &quot;parser&quot;, and &quot;writer&quot; arguments for component names as well as instances.</p></li> </ul> </section> <section id="misc"> <h3><a class="toc-backref" href="#toc-entry-6" role="doc-backlink">Misc</a><a class="self-link" title="link to this section" href="#misc"></a></h3> <ul class="simple"> <li><p>Revise the <a class="reference external" href="docs/api/publisher.html#string-i-o">String I/O</a> interface used by the <cite>publish_string()</cite> and <cite>publish_from_doctree()</cite> publisher convenience functions. (In Python 3, name and behaviour no longer match.)</p> </li> <li><p>Move math format conversion from docutils/utils/math (called from docutils/writers/_html_base.py) to a <a class="reference external" href="docs/ref/transforms.html">transform</a>.</p> </li> </ul> </section> </section> <section id="release-0-22b-dev-unpublished"> <h2><a class="toc-backref" href="#toc-entry-7" role="doc-backlink">Release 0.22b.dev (unpublished)</a><a class="self-link" title="link to this section" href="#release-0-22b-dev-unpublished"></a></h2> <dl> <dt>reStructuredText:</dt> <dd><p>Support <a class="reference external" href="https://www.w3.org/TR/css-values-3/#lengths">CSS3 units</a>. This adds &quot;ch&quot;, &quot;rem&quot;, &quot;vw&quot;, &quot;vh&quot;, &quot;vmin&quot;, &quot;vmax&quot;, and &quot;Q&quot; to the <a class="reference external" href="docs/ref/rst/restructuredtext.html#length-units">supported length units</a>. Note that some output formats don't support all units.</p> </dd> <dt>Document Tree / Docutils DTD</dt> <dd><ul class="simple"> <li><p>Allow multiple &lt;term&gt; elements in a <a class="reference external" href="docs/ref/doctree.html#definition-list-item">&lt;definition_list_item&gt;</a> (third-party writers may need adaption).</p></li> </ul> </dd> <dt>Configuration changes</dt> <dd><ul class="simple"> <li><p>Make MathML the default <a class="reference external" href="docs/user/config.html#math-output">math_output</a> for the &quot;html5&quot; writer.</p></li> <li><p>Change the default input encoding from <span class="docutils literal">None</span> (auto-detect) to &quot;utf-8&quot;.</p></li> <li><p>Drop short options <span class="docutils literal"><span class="pre">-i</span></span> and <span class="docutils literal"><span class="pre">-o</span></span>. Use the long equivalents <span class="docutils literal"><span class="pre">--input-encoding</span></span> and <span class="docutils literal"><span class="pre">--output-encoding</span></span>. (See <a class="reference internal" href="#command-line-interface">command line interface</a> for the rationale.)</p></li> </ul> </dd> <dt>Output changes</dt> <dd><dl> <dt>LaTeX:</dt> <dd><p>Don't wrap references with custom <a class="reference external" href="docs/user/config.html#reference-label">reference-label</a> in a <span class="docutils literal">\hyperref</span> command. The &quot;hyperref&quot; package generates hyperlinks for labels by default, so there is no change in the PDF (except for &quot;ref*&quot;).</p> <p>Stop requiring &quot;ifthen.sty&quot;. Replace use of <span class="docutils literal"><span class="pre">\ifthenelse{\isundefined...</span></span> with the eTeX primitive <span class="docutils literal">\ifdefined</span>.</p> </dd> <dt>HTML5:</dt> <dd><p>Unitless <a class="reference external" href="docs/ref/rst/directives.html#image">image</a> size <a class="reference external" href="docs/ref/doctree.html#measure">measures</a> are written as &lt;img&gt; &quot;width&quot; and &quot;hight&quot; values instead of &quot;style&quot; rules. The current behaviour is kept for values with units, so users may specify, e.g. <span class="docutils literal">:width: 50px</span> instead of <span class="docutils literal">:width: 50</span> to override CSS stylesheet rules.</p> </dd> <dt>manpage:</dt> <dd><p>Don't UPPERCASE section headings.</p> </dd> <dt>null:</dt> <dd><p>The &quot;null&quot; writer output changed from None to the empty string.</p> <p><cite>publish_string()</cite> now returns a <cite>bytes</cite> or <cite>str</cite> instance for all writers (as documented).</p> </dd> </dl> </dd> <dt>New objects</dt> <dd><dl> <dt><cite>parsers.docutils_xml</cite></dt> <dd><p>parser for <a class="reference external" href="docs/ref/doctree.html">Docutils XML</a> (e.g., the output of the &quot;xml&quot; writer). Provisional.</p> <p>Try <span class="docutils literal">docutils <span class="pre">--parser=xml</span> <span class="pre">test/data/multiple-term-definitions.xml</span></span> or use the :parser: option of the <a class="reference external" href="docs/ref/rst/directives.html#including-an-external-document-fragment">&quot;include&quot; directive</a> to include an XML file in a rST document.</p> </dd> <dt><cite>nodes.Element.validate()</cite></dt> <dd><p>Raise <cite>nodes.ValidationError</cite> if the element does not comply with the <a class="reference external" href="docs/ref/doctree.html">Docutils Document Model</a>. Provisional.</p> </dd> </dl> </dd> <dt>Removed objects</dt> <dd><dl class="simple"> <dt><cite>docutils.core.Publisher.setup_option_parser()</cite></dt> <dd><p>internal, obsolete,</p> </dd> <dt><cite>docutils.frontend.OptionParser.set_defaults_from_dict()</cite></dt> <dd><p>obsolete,</p> </dd> <dt><cite>docutils.nodes.Element.set_class()</cite></dt> <dd><p>obsolete, append to Element['classes'] directly,</p> </dd> <dt><cite>docutils.parsers.rst.directives.tables.CSVTable.decode_from_csv()</cite></dt> <dd><p>not required with Python聽3,</p> </dd> <dt><cite>docutils.parsers.rst.directives.tables.CSVTable.encode_from_csv()</cite></dt> <dd><p>not required with Python聽3,</p> </dd> <dt><cite>docutils.transforms.writer_aux.Compound</cite></dt> <dd><p>not used since Dec 2010,</p> </dd> <dt><cite>docutils.utils.error_reporting</cite></dt> <dd><p>obsolete in Python聽3,</p> </dd> <dt><cite>docutils.utils.Reporter.set_conditions()</cite></dt> <dd><p>obsolete, set attributes via configuration settings or directly.</p> </dd> </dl> </dd> <dt>Removed localisations:</dt> <dd><dl class="simple"> <dt>Mistranslations of the &quot;admonition&quot; directive name:</dt> <dd><p>Use &quot;advies&quot;聽(af), &quot;varsel&quot;聽(da), &quot;warnhinweis&quot;聽(de), &quot;aviso&quot;聽(es), &quot;sciigo&quot;聽(eo), &quot;annonce&quot;聽(fr), &quot;avviso&quot;聽(it), &quot;advies&quot;聽(nl), &quot;zauwa偶enie&quot;聽(pl) (introduced in Docutils聽0.21) or the English name &quot;admonition&quot;.</p> </dd> </dl> </dd> <dt>Removed files</dt> <dd><dl class="simple"> <dt><span class="docutils literal">tools/rst2odt_prepstyles.py</span></dt> <dd><p>Obsoleted by <cite>docutils.writers.odf_odt.prepstyles</cite>.</p> </dd> <dt><span class="docutils literal">docutils/utils/roman.py</span></dt> <dd><p>Obsoleted by <span class="docutils literal">docutils/utils/_roman_numerals.py</span></p> </dd> </dl> </dd> </dl> <p>Bugfixes and improvements (see <a class="reference external" href="HISTORY.html">HISTORY</a>).</p> </section> <section id="release-0-21-2-2024-04-23"> <h2><a class="toc-backref" href="#toc-entry-8" role="doc-backlink">Release 0.21.2 (2024-04-23)</a><a class="self-link" title="link to this section" href="#release-0-21-2-2024-04-23"></a></h2> <ul class="simple"> <li><p>Document Tree / Docutils DTD</p> <ul> <li><p>Remove declaration of unsupported element &lt;info&gt;.</p></li> <li><p>Remove &lt;decoration&gt; from content declaration of &lt;section&gt; elements.</p></li> </ul> </li> <li><p>Declare support for languages Georgian and Catalan (Valencian).</p></li> <li><p>Fix test failures.</p></li> </ul> </section> <section id="release-0-21-1-2024-04-10"> <h2><a class="toc-backref" href="#toc-entry-9" role="doc-backlink">Release 0.21.1 (2024-04-10)</a><a class="self-link" title="link to this section" href="#release-0-21-1-2024-04-10"></a></h2> <p>Add missing metadata files to sdist. No changes to the code.</p> </section> <section id="release-0-21-2024-04-09"> <h2><a class="toc-backref" href="#toc-entry-10" role="doc-backlink">Release 0.21 (2024-04-09)</a><a class="self-link" title="link to this section" href="#release-0-21-2024-04-09"></a></h2> <ul> <li><p>General:</p> <ul> <li><p>Drop support for Python聽3.7 and 3.8.</p></li> <li><p>Provide <span class="docutils literal">rst2*</span> &quot;console_scripts&quot; <a class="reference external" href="https://packaging.python.org/en/latest/specifications/entry-points/">entry points</a> (without the <span class="docutils literal">.py</span> extension) instead of installing the <span class="docutils literal"><span class="pre">rst2*.py</span></span> <a class="reference external" href="docs/user/tools.html">front end tools</a> in the binary PATH. <a class="brackets" href="#footnote-1" id="footnote-reference-1" role="doc-noteref"><span class="fn-bracket">[</span>1<span class="fn-bracket">]</span></a></p> <p>Exceptions: <span class="docutils literal">rstpep2html.py</span> and <span class="docutils literal">rst2odt_prepstyles.py</span>:</p> <ul class="simple"> <li><p>Use <span class="docutils literal">docutils <span class="pre">--reader=pep</span> <span class="pre">--writer=pep_html</span></span> for a PEP preview. <a class="brackets" href="#footnote-2" id="footnote-reference-2" role="doc-noteref"><span class="fn-bracket">[</span>2<span class="fn-bracket">]</span></a></p></li> <li><p>Use <span class="docutils literal">python <span class="pre">-m</span> docutils.writers.odf_odt.prepstyles</span> to <a class="reference external" href="docs/user/odt.html#page-size">strip the page size</a> from an ODT writer stylesheet.</p></li> </ul> </li> </ul> <aside class="footnote-list brackets"> <aside class="footnote brackets" id="footnote-1" role="doc-footnote"> <span class="label"><span class="fn-bracket">[</span><a role="doc-backlink" href="#footnote-reference-1">1</a><span class="fn-bracket">]</span></span> <p>Some Linux distributions already use the short names.</p> </aside> <aside class="footnote brackets" id="footnote-2" role="doc-footnote"> <span class="label"><span class="fn-bracket">[</span><a role="doc-backlink" href="#footnote-reference-2">2</a><span class="fn-bracket">]</span></span> <p>The final rendering is done by a Sphinx-based build system (cf. <a class="reference external" href="https://peps.python.org/pep-0676">PEP 676</a>).</p> </aside> </aside> </li> <li><p>reStructuredText:</p> <ul class="simple"> <li><p>Use the same CSV format for the <span class="docutils literal">:header:</span> option and the main data of the &quot;<a class="reference external" href="docs/ref/rst/directives.html#csv-table">csv-table</a>&quot; directive.</p></li> <li><p>New option &quot;loading&quot; for the <a class="reference external" href="docs/ref/rst/directives.html#image">&quot;image&quot; directive</a>. Sets the new attribute <a class="reference external" href="docs/ref/doctree.html#loading">loading</a> of the &lt;image&gt; doctree element.</p></li> </ul> </li> <li><p>Configuration changes:</p> <ul> <li><p>New configuration setting <a class="reference external" href="docs/user/config.html#root-prefix">root_prefix</a>. Configurable root directory for included files.</p></li> <li><p>New configuration setting <a class="reference external" href="docs/user/config.html#sources">sources</a> for the &quot;buildhtml.py&quot; application.</p></li> <li><p>Simpler and more secure <a class="reference external" href="docs/api/publisher.html#encodings">input encoding</a> default behaviour:</p> <p>Do not use the locale encoding as fallback if Python is started in <a class="reference external" href="https://docs.python.org/3/library/os.html#utf8-mode">UTF-8 mode</a>. Stop using &quot;latin1&quot; as second fallback.</p> <p>Remove BOM (U+FEFF ZWNBSP at start of data) only if the <a class="reference external" href="docs/user/config.html#input-encoding">input_encoding</a> configuration setting is None, '', 'utf-8-sig', 'utf-16', or 'utf-32'. Do not remove other ZWNBSPs.</p> </li> </ul> </li> <li><p>Output changes:</p> <dl> <dt>HTML5:</dt> <dd><p>Stop setting the &quot;footnote-reference&quot; class value for footnote references. Use the CSS selector <span class="docutils literal"><span class="pre">[role=&quot;doc-noteref&quot;]</span></span> (works since Docutils聽0.18, see minimal.css for examples).</p> <p>Fix MathML rendering problems in Chrome/Chromium based browsers.</p> <p>Embed SVG images as <span class="docutils literal">&lt;svg&gt;</span> instead of data-URI.</p> </dd> <dt>manpage:</dt> <dd><p>Use .EE/.EX macros for literal blocks.</p> <p>Render URI references (do not use .UR/.UE).</p> <p>Use box option for tables.</p> </dd> </dl> </li> <li><p>Removed objects:</p> <dl class="simple"> <dt><cite>docutils.nodes.reprunicode</cite>, <cite>docutils.nodes.ensure_str()</cite></dt> <dd><p>Python聽2 compatibility hacks</p> </dd> <dt><cite>docutils.utils.Reporter.set_conditions()</cite></dt> <dd><p>obsolete</p> </dd> <dt><cite>writers.latex2e.Table.get_caption</cite></dt> <dd><p>obsolete</p> </dd> </dl> </li> <li><p>New files:</p> <dl class="simple"> <dt><span class="docutils literal"><span class="pre">docutils/writers/html5_polyglot/italic-field-names.css</span></span></dt> <dd><p>Alternative style for Docutils field-lists.</p> </dd> </dl> </li> <li><p>Removed files:</p> <dl class="simple"> <dt><span class="docutils literal">install.py</span>, <span class="docutils literal">setup.py</span></dt> <dd><p>Metadata is now stored in <span class="docutils literal">pyproject.toml</span>, supported by <a class="reference external" href="https://pypi.org/project/pip/">pip</a> since version 19.0 (2019-01-22). See <a class="reference external" href="README.html#installation">README</a> for installation alternatives.</p> </dd> </dl> </li> <li><p>Bugfixes and improvements (see <a class="reference external" href="HISTORY.html">HISTORY</a>).</p></li> </ul> </section> <section id="release-0-20-1-2023-05-17"> <h2><a class="toc-backref" href="#toc-entry-11" role="doc-backlink">Release 0.20.1 (2023-05-17)</a><a class="self-link" title="link to this section" href="#release-0-20-1-2023-05-17"></a></h2> <p>Bugfix release. See <a class="reference external" href="HISTORY.html">HISTORY</a> for details.</p> </section> <section id="release-0-20-2023-05-04"> <h2><a class="toc-backref" href="#toc-entry-12" role="doc-backlink">Release 0.20 (2023-05-04)</a><a class="self-link" title="link to this section" href="#release-0-20-2023-05-04"></a></h2> <aside class="admonition note"> <p class="admonition-title">Note</p> <p>Docutils 0.20 is the last version supporting Python聽3.7 and 3.8.</p> </aside> <ul> <li><p>General</p> <ul class="simple"> <li><p>Support Python聽3.11 (patch #198 by Hugo van Kemenade).</p></li> </ul> </li> <li><p>Output changes:</p> <dl class="simple"> <dt>HTML5:</dt> <dd><p>Use dpub-ARIA role &quot;doc-footnote&quot; (instead of ARIA role &quot;note&quot;) for footnotes.</p> </dd> <dt>LaTeX:</dt> <dd><p>Do not load the <cite>inputenc</cite> package in UTF-8 encoded LaTeX sources. (UTF-8 is the default encoding for LaTeX2e since 2018).</p> </dd> </dl> </li> <li><p>Configuration changes:</p> <ul class="simple"> <li><p>Settings in the [latex2e writer] configuration file section are now ignored by the &quot;xetex&quot; writer. Place common settings in section <a class="reference external" href="docs/user/config.html#latex-writers">[latex writers]</a>.</p></li> <li><p>New configuration setting &quot;<a class="reference external" href="docs/user/config.html#output">output</a>&quot;. Obsoletes the <span class="docutils literal">&lt;destination&gt;</span> positional argument (cf. <a class="reference internal" href="#command-line-usage-pattern">future changes</a>).</p> </li> </ul> </li> <li><p><cite>utils.find_file_in_dirs()</cite> now returns a POSIX path also on Windows; <cite>utils.get_stylesheet_list()</cite> no longer converts <span class="docutils literal">\</span> to <span class="docutils literal">/</span>.</p></li> <li><p>docutils/languages/ docutils/parsers/rst/languages/</p> <ul class="simple"> <li><p>Support Ukrainian. Patch by Dmytro Kazanzhy.</p></li> </ul> </li> <li><p>test/coverage.sh</p> <ul class="simple"> <li><p>Removed. Use the <a class="reference external" href="https://pypi.org/project/coverage/">coverage.py</a> project instead, <span class="docutils literal">coverage run test/alltests.py</span> and <span class="docutils literal">coverage report</span>.</p></li> </ul> </li> <li><p>tools/</p> <ul class="simple"> <li><p>Moved <span class="docutils literal">quicktest.py</span> to <span class="docutils literal">tools/dev/</span>.</p></li> </ul> </li> <li><p>Bugfixes and improvements (see <a class="reference external" href="HISTORY.html">HISTORY</a>).</p></li> </ul> </section> <section id="release-0-19-2022-07-05"> <h2><a class="toc-backref" href="#toc-entry-13" role="doc-backlink">Release 0.19 (2022-07-05)</a><a class="self-link" title="link to this section" href="#release-0-19-2022-07-05"></a></h2> <p>(Release 0.19b1 (2022-06-21))</p> <ul> <li><p>Drop support for Python 2.7, 3.5, and 3.6.</p></li> <li><p>Output changes:</p> <dl> <dt>HTML5:</dt> <dd><p>Wrap groups of footnotes in an <span class="docutils literal">&lt;aside&gt;</span> for easier styling.</p> <p>The CSS rule <span class="docutils literal"><span class="pre">.footnote-list</span> { display: contents; }</span> can be used to restore the behaviour of custom CSS styles.</p> </dd> </dl> </li> <li><p>After package installation, the CLI commands <span class="docutils literal">python <span class="pre">-m</span> docutils</span> and <span class="docutils literal">docutils</span> start the <a class="reference external" href="docs/user/tools.html#generic-command-line-front-end">generic command line front end tool</a>.</p></li> <li><p>Support parsing &quot;Markdown&quot; input with 3rd party parsers <a class="reference external" href="https://pypi.org/project/myst-docutils">myst</a>, <a class="reference external" href="https://pypi.org/project/pycmark/">pycmark</a>, or <a class="reference external" href="https://pypi.org/project/recommonmark/">recommonmark</a>.</p></li> <li><p>The default values for the &quot;pep-references&quot;, &quot;rfc-base-url&quot;, and &quot;python-home&quot; <a class="reference external" href="docs/user/config.html">configuration settings</a> now use the &quot;https:&quot; scheme. The PEP-writer template's header is updated to fix links and resemble the header of official PEPs.</p></li> <li><p>Various bugfixes and improvements (see <a class="reference external" href="HISTORY.html">HISTORY</a>).</p></li> </ul> </section> <section id="release-0-18-1-2021-12-23"> <h2><a class="toc-backref" href="#toc-entry-14" role="doc-backlink">Release 0.18.1 (2021-12-23)</a><a class="self-link" title="link to this section" href="#release-0-18-1-2021-12-23"></a></h2> <aside class="admonition note"> <p class="admonition-title">Note</p> <p>Docutils 0.18.1 is the last version supporting Python聽2.7, 3.5, and 3.6.</p> </aside> <ul class="simple"> <li><p><span class="docutils literal">nodes.Node.traverse()</span> returns a list again to restore backwards compatibility (fixes bug #431). Use <span class="docutils literal">nodes.Node.findall()</span> to get an iterator.</p></li> <li><p>re-add module <span class="docutils literal">parsers.rst.directives.html</span> (stub, emits deprecation warning and loads &quot;Meta&quot; directive from its new place at <span class="docutils literal">parsers.rst.directives.misc</span>.)</p></li> <li><p>Small bugfixes (see <a class="reference external" href="HISTORY.html">HISTORY</a>).</p></li> </ul> </section> <section id="release-0-18-2021-10-26"> <h2><a class="toc-backref" href="#toc-entry-15" role="doc-backlink">Release 0.18 (2021-10-26)</a><a class="self-link" title="link to this section" href="#release-0-18-2021-10-26"></a></h2> <ul> <li><p>Output changes:</p> <dl> <dt>Identifiers:</dt> <dd><ul> <li><p>During <a class="reference external" href="docs/ref/rst/directives.html#identifier-normalization">identifier normalization</a>, leading number and hyphen characters are no longer stripped from a <a class="reference external" href="docs/ref/rst/restructuredtext.html#reference-names">reference name</a>, if the <a class="reference external" href="docs/user/config.html#id-prefix">id_prefix</a> setting is non-empty.</p> <dl class="simple"> <dt>Example:</dt> <dd><p>with <span class="docutils literal"><span class="pre">--id-prefix=&quot;DU-&quot;</span></span>, a section with title &quot;34. May&quot; now gets the identifier key <span class="docutils literal"><span class="pre">DU-34-may</span></span> instead of <span class="docutils literal"><span class="pre">DU-may</span></span>.</p> </dd> </dl> </li> <li><p>The default value for the <a class="reference external" href="docs/user/config.html#auto-id-prefix">auto_id_prefix</a> setting changed to <span class="docutils literal">%</span>: &quot;use the tag name as prefix for auto-generated IDs&quot;. Set <a class="reference external" href="docs/user/config.html#auto-id-prefix">auto_id_prefix</a> to <span class="docutils literal">id</span> for unchanged auto-IDs.</p></li> </ul> </dd> <dt>HTML5:</dt> <dd><ul> <li><p>Use the semantic tag &lt;aside&gt; for footnote text and citations, topics (except abstract and toc), admonitions, and system messages. Use &lt;nav&gt; for the Table of Contents.</p></li> <li><p>Make &quot;auto&quot; table column widths the default: Only specify column widths, if the <a class="reference external" href="__docs/ref/rst/directives.html#table">&quot;widths&quot; option</a> is set and not &quot;auto&quot;. The <a class="reference external" href="docs/user/config.html#table-style">table-style</a> setting &quot;colwidths-grid&quot; restores the current default.</p> </li> <li><p>Items of a definition list with class argument &quot;details&quot; are converted to <a class="reference external" href="https://www.w3.org/TR/html52/interactive-elements.html#the-details-element">details disclosure elements</a>. Example:</p> <pre class="literal-block">..class:: details Summary This additional information should be hidden.</pre> </li> <li><p>Do not add &quot;compound-first&quot;, &quot;compound-middle&quot;, or &quot;compound-last&quot; to elements nested in a compound. Use child selector and &quot;:first-child&quot;, &quot;:last-child&quot; pseudo classes instead.</p></li> <li><p>Use class value &quot;backrefs&quot; instead of &quot;fn-backref&quot; for a span of back-references.</p></li> <li><p>Write footnote brackets and field term colons to HTML, so that they are present also without CSS and when copying text.</p></li> <li><p>Move space character between section number and heading into &quot;sectnum&quot; span.</p></li> </ul> </dd> <dt><a class="reference external" href="docs/user/config.html#math-output">math-output</a>: html</dt> <dd><ul class="simple"> <li><p>Support more commands, fix mapping of commands to Unicode characters.</p></li> <li><p>Scale variable sized operators and big delimiters with CSS.</p></li> <li><p>Don't use &lt;tt&gt; element (deprecated in HTML5).</p></li> <li><p>Use STIX fonts if available.</p></li> </ul> </dd> <dt>LaTeX:</dt> <dd><p><a class="reference external" href="docs/user/config.html#legacy-class-functions">legacy_class_functions</a> setting default changed to &quot;False&quot;, admonitions are now environments.</p> </dd> </dl> </li> <li><p>New standard Docutils doctree node: &lt;<a class="reference external" href="docs/ref/doctree.html#meta">meta</a>&gt;.</p> </li> <li><p>New configuration settings:</p> <ul class="simple"> <li><p>[latex聽writers]聽<a class="reference external" href="docs/user/config.html#legacy-column-widths">legacy_column_widths</a> and</p></li> <li><p>[html5聽writer]聽<a class="reference external" href="docs/user/config.html#image-loading">image_loading</a>.</p></li> </ul> </li> <li><p>Removed files: <span class="docutils literal">iepngfix.htc</span> and <span class="docutils literal">blank.gif</span> (IE聽6 workaround for <cite>s5_html</cite>).</p></li> <li><p>Removed sub-module: <span class="docutils literal">parsers.rst.directives.html</span> (reversed in release 0.18.1).</p></li> <li><p>Removed function: utils.unique_combinations() (obsoleted by itertools.combinations()).</p></li> <li><p>Removed attributes:</p> <ul class="simple"> <li><p><span class="docutils literal">HTMLTranslator.topic_classes</span>: check <span class="docutils literal">node.parent.classes</span> instead.</p></li> <li><p><span class="docutils literal">nodes.Text.rawsource</span>: we store the null-escaped text in Text nodes since 0.16 so there is no additional information in the rawsource.</p></li> </ul> </li> <li><p>Major refactoring and fixes/additions in <span class="docutils literal">docutils/utils/math/math2html.py</span> and <span class="docutils literal">docutils/utils/math/latex2mathml.py</span> (mathematical notation in HTML, cf. <a class="reference external" href="docs/ref/rst/mathematics.html">LaTeX syntax for mathematics</a>).</p></li> <li><p>nodes.Node.traverse() returns an iterator instead of a list (reversed in release 0.18.1).</p></li> <li><p>Various bugfixes and improvements (see <a class="reference external" href="HISTORY.html">HISTORY</a>).</p> <p>Fix spelling errors in documentation and docstrings. Thanks to Dimitri Papadopoulos.</p> </li> </ul> </section> <section id="release-0-17-1-2021-04-16"> <h2><a class="toc-backref" href="#toc-entry-16" role="doc-backlink">Release 0.17.1 (2021-04-16)</a><a class="self-link" title="link to this section" href="#release-0-17-1-2021-04-16"></a></h2> <ul class="simple"> <li><p>Bug fixes (for details see the Docutils <a class="reference external" href="HISTORY.html">HISTORY</a>).</p></li> </ul> </section> <section id="release-0-17-2021-04-03"> <h2><a class="toc-backref" href="#toc-entry-17" role="doc-backlink">Release 0.17 (2021-04-03)</a><a class="self-link" title="link to this section" href="#release-0-17-2021-04-03"></a></h2> <ul class="simple"> <li><p>Numerous bug fixes and improvements (for details see the Docutils <a class="reference external" href="HISTORY.html">HISTORY</a>).</p></li> <li><p>Installing with <span class="docutils literal">setup.py</span> now requires <a class="reference external" href="https://pypi.org/project/setuptools/">setuptools</a>. Alternatively, install with <a class="reference external" href="https://pypi.org/project/pip/">pip</a>.</p></li> <li><p>The generic command line front end tool <a class="reference external" href="docs/user/tools.html#docutils-cli-py">docutils-cli.py</a> allows the free selection of reader, parser, and writer components.</p></li> <li><p>Support Arabic language.</p></li> <li><p>New, <strong>experimental</strong> wrapper to integrate the <a class="reference external" href="https://pypi.org/project/recommonmark/">recommonmark</a> Markdown parser for use with Docutils. Currently only tested with recommonmark version 0.4.0.</p> </li> <li><p>HTML5 writer:</p> <ul> <li><p>New option <a class="reference external" href="docs/user/config.html#embed-images">embed_images</a>.</p></li> <li><p>Use semantic tags (for details see the Docutils <a class="reference external" href="HISTORY.html">HISTORY</a>).</p></li> <li><p>Change the <a class="reference external" href="docs/user/config.html#initial-header-level">initial_header_level</a> setting's default to &quot;2&quot;, as browsers use the <a class="reference external" href="https://stackoverflow.com/questions/39547412/same-font-size-for-h1-and-h2-in-article">same style for &lt;h1&gt; and &lt;h2&gt; when nested in a section</a>.</p></li> <li><p>New optional style <span class="docutils literal">responsive.css</span>, adapts to different screen sizes.</p></li> <li><p>Move non-essential styling from <span class="docutils literal">minimal.css</span> to <span class="docutils literal">plain.css</span> rsp. <span class="docutils literal">responsive.css</span>.</p></li> <li><p>Show code line numbers as pseudo-elements so they are skipped when copying the code block from the page.</p></li> </ul> </li> <li><p>LaTeX writer:</p> <ul> <li><p>New configuration setting <a class="reference external" href="docs/user/config.html#legacy-class-functions">legacy_class_functions</a>.</p></li> <li><p>The special value &quot;auto&quot; for the <a class="reference external" href="docs/user/config.html#graphicx-option">graphicx_option</a> setting is no longer supported (it never worked for xetex/luatex).</p></li> <li><p><a class="reference external" href="docs/user/latex.html#classes">Styling commands</a> using the legacy <span class="docutils literal">\docutilsrole</span> prefix are now ignored. Use <span class="docutils literal">\DUrole</span>.</p> </li> <li><p>Most helper commands and element definitions are now defined in the LaTeX package <a class="reference external" href="https://ctan.org/pkg/docutils">docutils.sty</a> and only inserted in the document preamble if the <a class="reference external" href="docs/user/config.html#stylesheet-latex-writers">stylesheet</a> setting does not lists &quot;docutils&quot;.</p> </li> <li><p>Remove legacy LaTeX stylesheet <span class="docutils literal"><span class="pre">docutils-05-compat.sty</span></span>.</p></li> </ul> </li> </ul> </section> <section id="release-0-16-2020-01-12"> <h2><a class="toc-backref" href="#toc-entry-18" role="doc-backlink">Release 0.16 (2020-01-12)</a><a class="self-link" title="link to this section" href="#release-0-16-2020-01-12"></a></h2> <p>Docutils 0.16.x supports Python 2.7 and Python &gt;= 3.5 natively, without the use of the <span class="docutils literal">2to3</span> tool.</p> <ul class="simple"> <li><p>reStructuredText:</p> <ul> <li><p>Keep <a class="reference external" href="https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#escaping-mechanism">backslash escapes</a> in the document tree. This allows, e.g., escaping of author-separators in <a class="reference external" href="docs/ref/rst/restructuredtext.html#bibliographic-fields">bibliographic fields</a>.</p></li> </ul> </li> <li><p>LaTeX writer:</p> <ul> <li><p>Informal titles of type &quot;rubric&quot; default to bold-italic and left aligned.</p></li> <li><p>Deprecate <span class="docutils literal">\docutilsrole</span> prefix for styling commands: use <span class="docutils literal">\DUrole</span> instead.</p></li> <li><p>Fix topic subtitle.</p></li> <li><p>Add &quot;latex writers&quot; to the <cite>config_section_dependencies</cite>.</p></li> <li><p>Ignore classes for <cite>rubric</cite> elements (class wrapper interferes with LaTeX formatting).</p></li> </ul> </li> <li><p>tools/buildhtml.py</p> <ul> <li><p>New option <span class="docutils literal"><span class="pre">--html-writer</span></span> allows to select &quot;html&quot; (default), &quot;html4&quot; or &quot;html5&quot; (deprecated in favour of the <a class="reference external" href="docs/user/config.html#writer-buildhtml-application">&quot;writer&quot; setting</a> in Docutils聽0.18).</p></li> </ul> </li> <li><p>docutils/io.py</p> <ul> <li><p>Remove the <cite>handle_io_errors</cite> argument from io.FileInput/Output.</p></li> </ul> </li> <li><p>docutils/nodes.py</p> <ul> <li><p>If <a class="reference external" href="docs/user/config.html#auto-id-prefix">auto_id_prefix</a> ends with &quot;%&quot;, this is replaced with the tag name.</p></li> </ul> </li> <li><p>Various bugfixes and improvements (see <a class="reference external" href="HISTORY.html">HISTORY</a>).</p></li> </ul> </section> <section id="release-0-15-2019-07-20"> <h2><a class="toc-backref" href="#toc-entry-19" role="doc-backlink">Release 0.15 (2019-07-20)</a><a class="self-link" title="link to this section" href="#release-0-15-2019-07-20"></a></h2> <p>Docutils 0.15.x is compatible with Python versions 2.6, 2.7 and 3.3 to 3.5.</p> <aside class="admonition note"> <p class="admonition-title">Note</p> <p>Docutils 0.15.x is the last version supporting Python 2.6, 3.3 and 3.4.</p> </aside> <ul class="simple"> <li><p>reStructuredText:</p> <ul> <li><p>Allow embedded colons in field list field names (before, tokens like <span class="docutils literal">:this:example:</span> were considered ordinary text).</p></li> <li><p>Fixed a bug with the &quot;trim&quot; options of the &quot;unicode&quot; directive.</p></li> </ul> </li> <li><p>languages: Added Korean localisation (ko).</p></li> </ul> </section> <section id="release-0-14-2017-08-03"> <h2><a class="toc-backref" href="#toc-entry-20" role="doc-backlink">Release 0.14 (2017-08-03)</a><a class="self-link" title="link to this section" href="#release-0-14-2017-08-03"></a></h2> <aside class="admonition note"> <p class="admonition-title">Note</p> <p>Docutils 0.14.x is the last version supporting Python 2.4, 2.5, 3.1, and 3.2.</p> </aside> <ul class="simple"> <li><p>docutils/docs/ref/docutils.dtd:</p> <ul> <li><p>Enable validation of Docutils XML documents against the DTD:</p></li> </ul> </li> <li><p>docutils/parsers/rst/:</p> <ul> <li><p>Added functionality: escaped whitespace in URI contexts.</p></li> <li><p>Consistent handling of all whitespace characters in inline markup recognition. (May break documents that relied on some whitespace characters (NBSP, ...) <em>not</em> to be recognized as whitespace.)</p></li> </ul> </li> <li><p>docutils/utils/smartquotes.py:</p> <ul> <li><p>Update quote definitions for et, fi, fr, ro, sv, tr, uk.</p></li> <li><p>Add quote definitions for hr, hsb, hu, lv, sh, sl, sr.</p></li> <li><p>Differentiate apostrophe from closing single quote (if possible).</p></li> <li><p>Add command line interface for stand-alone use (requires 2.7).</p></li> </ul> </li> <li><p>docutils/writers/_html_base:</p> <ul> <li><p>Provide default title in metadata.</p></li> <li><p>The MathJax CDN shut down on April 30, 2017. For security reasons, we don't use a third party public installation as default but warn if <cite>math-output</cite> is set to MathJax without specifying a URL. See <a class="reference external" href="docs/user/config.html#math-output">math-output</a> for details.</p></li> </ul> </li> <li><p>docutils/writers/html4css1:</p> <ul> <li><p>Respect automatic table column sizing.</p></li> </ul> </li> <li><p>docutils/writers/latex2e/__init__.py</p> <ul> <li><p>Handle class arguments for block-level elements by wrapping them in a &quot;DUclass&quot; environment. This replaces the special handling for &quot;epigraph&quot; and &quot;topic&quot; elements.</p></li> </ul> </li> <li><p>docutils/writers/odf_odt:</p> <ul> <li><p>Language option sets ODF document's default language</p></li> <li><p>Image width, scale, ... set image size in generated ODF.</p></li> </ul> </li> <li><p>tools/</p> <ul> <li><p>New front-end <span class="docutils literal">rst2html4.py</span>.</p></li> </ul> </li> </ul> </section> <section id="release-0-13-1-2016-12-09"> <h2><a class="toc-backref" href="#toc-entry-21" role="doc-backlink">Release 0.13.1 (2016-12-09)</a><a class="self-link" title="link to this section" href="#release-0-13-1-2016-12-09"></a></h2> <ul class="simple"> <li><p>docutils/writers/html5_polyglot</p> <ul> <li><p>New HTML writer generating <a class="reference external" href="https://www.w3.org/TR/html5/">HTML 5</a>.</p></li> </ul> </li> <li><p>tools/</p> <ul> <li><p>New front-end <span class="docutils literal">rst2html5.py</span>.</p></li> </ul> </li> <li><p>languages: persian/farsi (fa) and latvian (la) mappings.</p></li> <li><p>change default base url for :rfc: to <a class="reference external" href="http://tools.ietf.org/html/">http://tools.ietf.org/html/</a></p></li> <li><p>tables accept widths, a list and align</p></li> <li><p>latex2e: Fix admonition width, remove deprecated options, better tablewidth auto, ...</p></li> <li><p>rst.el: The problem with <span class="docutils literal"><span class="pre">electric-indent-mode</span></span> has been fixed.</p></li> </ul> </section> <section id="release-0-12-2014-07-06"> <h2><a class="toc-backref" href="#toc-entry-22" role="doc-backlink">Release 0.12 (2014-07-06)</a><a class="self-link" title="link to this section" href="#release-0-12-2014-07-06"></a></h2> <p>Small changes only, release current state</p> </section> <section id="release-0-11-2013-07-22"> <h2><a class="toc-backref" href="#toc-entry-23" role="doc-backlink">Release 0.11 (2013-07-22)</a><a class="self-link" title="link to this section" href="#release-0-11-2013-07-22"></a></h2> <ul> <li><p>General</p> <ul class="simple"> <li><p>Apply [ 2714873 ] Fix for the overwriting of document attributes.</p></li> <li><p>Support embedded aliases within hyperlink references.</p></li> <li><p>Fix [ 228 ] try local import of docutils components (reader, writer, parser, language module) before global search.</p></li> </ul> </li> <li><p>docutils/parsers/rst/directives/tables.py</p> <ul class="simple"> <li><p>Fix [ 210 ] Python 3.3 checks CVS syntax only if &quot;strict&quot; is True.</p></li> </ul> </li> <li><p>docutils/writers/html4css1/__init__.py - Fix [ 3600051 ] for tables in a list, table cells are not compacted. - New setting <cite>stylesheet_dirs</cite> (see above).</p> <blockquote> <p>Now, it is easy to add a custom stylesheet to Docutils' default stylesheet with, e.g., <span class="docutils literal"><span class="pre">--stylesheet_path='html4css1.css,</span> mystyle.css'</span></p> <dl class="simple"> <dt>Changed behaviour of the default settings:</dt> <dd><p>if there is a file <span class="docutils literal">html4css1.css</span> in the working directory of the process at launch, it is used instead of the one provided by Docutils in the writer source directory.</p> </dd> </dl> </blockquote> <ul class="simple"> <li><p>New default for <a class="reference external" href="docs/user/config.html#math-output">math-output</a>: <span class="docutils literal">HTML math.css</span>.</p></li> <li><p>Avoid repeated class declarations in html4css1 writer (modified version of patch [ 104 ]).</p></li> </ul> </li> <li><p>docutils/writers/latex2e/__init__.py</p> <ul class="simple"> <li><p>Drop the simple algorithm replacing straight double quotes with English typographic ones. Activate the <a class="reference external" href="docs/user/config.html#smart-quotes">SmartQuotes</a> transform if you want this feature.</p></li> <li><p>New setting <cite>stylesheet_dirs</cite>: Comma-separated list of directories where stylesheets are found. Used by <cite>stylesheet_path</cite> when expanding relative path arguments.</p></li> </ul> </li> <li><p>docutils/writers/manpage.py</p> <ul class="simple"> <li><p>Fix [3607063] handle lines starting with a period.</p></li> <li><p>Fix option separating comma was bold (thanks to Bill Morris).</p></li> </ul> </li> </ul> </section> <section id="release-0-10-2012-12-16"> <h2><a class="toc-backref" href="#toc-entry-24" role="doc-backlink">Release 0.10 (2012-12-16)</a><a class="self-link" title="link to this section" href="#release-0-10-2012-12-16"></a></h2> <p>Docutils 0.10 is compatible with Python versions from 2.4 to 3.2.</p> <ul> <li><p>General:</p> <ul> <li><p>SmartQuotes transform for typographic quotes and dashes.</p></li> <li><p><span class="docutils literal">docutils/math</span>, <span class="docutils literal">docutils/error_reporting.py</span>, and <span class="docutils literal">docutils/urischemes.py</span> moved to the utils package. Code importing these modules needs to adapt, e.g.:</p> <pre class="literal-block">try: import docutils.math as math except ImportError: import docutils.utils.math as math</pre> </li> <li><p>enhanced math and error handling.</p></li> </ul> </li> <li><p>docutils/io.py</p> <ul class="simple"> <li><p>FileInput/FileOutput: no system-exit on IOError. The <cite>handle_io_errors</cite> argument is ignored.</p></li> </ul> </li> <li><p>docutils/writers/html4css1/__init__.py</p> <ul class="simple"> <li><p>Use <span class="docutils literal">&lt;code&gt;</span> tag for inline &quot;code&quot;, do not drop nested inline nodes (syntax highlight tokens).</p></li> <li><p>Customizable MathJax URL (based on patch by Dmitry Shachnev).</p></li> <li><p>No line break after opening inline math tag.</p></li> </ul> </li> <li><p>docutils/writers/latex2e/__init__.py, docutils/writers/xetex/__init__.py</p> <ul class="simple"> <li><p>Fix section numbering by LaTeX.</p></li> </ul> </li> <li><p>docutils/writers/s5_html/__init__.py</p> <ul class="simple"> <li><p>Fix [ 3556388 ] Mathjax does not work with rst2s5.</p></li> </ul> </li> </ul> </section> <section id="release-0-9-1-2012-06-17"> <h2><a class="toc-backref" href="#toc-entry-25" role="doc-backlink">Release 0.9.1 (2012-06-17)</a><a class="self-link" title="link to this section" href="#release-0-9-1-2012-06-17"></a></h2> <aside class="admonition note"> <p class="admonition-title">Note</p> <p>Docutils 0.9.1 is the last version supporting Python 2.3.</p> </aside> <ul> <li><p>General:</p> <p>Several fixes for Python 3 usage.</p> </li> <li><p>docutils/setup.py</p> <ul> <li><p>Fix [ 3527842 ]. Under Python聽3, converted tests and tools were installed in the PYTHONPATH. Converted tests are now stored in <span class="docutils literal">docutils/test3/</span>, tools no longer need conversion.</p> <p>If you installed one of Docutils versions 0.7 ... 0.9 with <span class="docutils literal">setup.py install</span> under Python聽3, remove the spurious <span class="docutils literal">test/</span> and <span class="docutils literal">tools/</span> directories in the site library root.</p> </li> </ul> </li> </ul> </section> <section id="release-0-9-2012-05-02"> <h2><a class="toc-backref" href="#toc-entry-26" role="doc-backlink">Release 0.9 (2012-05-02)</a><a class="self-link" title="link to this section" href="#release-0-9-2012-05-02"></a></h2> <ul> <li><p>General:</p> <ul class="simple"> <li><p>reStructuredText &quot;code&quot; role and directive with syntax highlighting by <a class="reference external" href="https://pygments.org/">Pygments</a>.</p></li> <li><p>&quot;code&quot; option of the &quot;include&quot; directive.</p></li> </ul> <ul class="simple"> <li><p>Fix [ 3402314 ] allow non-ASCII whitespace, punctuation characters and &quot;international&quot; quotes around inline markup.</p></li> <li><p>Fix handling of missing stylesheets.</p></li> </ul> </li> <li><p>setup.py</p> <ul class="simple"> <li><p>Fix [ 2971827 ] and [ 3442827 ] extras/roman.py moved to docutils/utils/roman.py</p></li> </ul> </li> <li><p>docutils/utils.py -&gt; docutils/utils/__init__.py</p> <ul class="simple"> <li><p>docutils.utils is now a package (providing a place for sub-modules)</p></li> </ul> </li> <li><p>docutils/writers/html4css1/__init__.py</p> <ul class="simple"> <li><p>change default for <cite>math-output</cite> setting to MathJax</p></li> </ul> </li> <li><p>docutils/writers/latex2e/__init__.py</p> <ul class="simple"> <li><p>Support the <cite>abbreviation</cite> and <cite>acronym</cite> standard roles.</p></li> <li><p>Record only files required to generate the LaTeX source as dependencies.</p></li> <li><p>Use <span class="docutils literal"><span class="pre">\setcounter{secnumdepth}{0}</span></span> instead of <span class="docutils literal">*</span>-versions when suppressing LaTeX section numbering.</p></li> </ul> </li> </ul> </section> <section id="release-0-8-1-2011-08-30"> <h2><a class="toc-backref" href="#toc-entry-27" role="doc-backlink">Release 0.8.1 (2011-08-30)</a><a class="self-link" title="link to this section" href="#release-0-8-1-2011-08-30"></a></h2> <ul class="simple"> <li><p>General:</p> <ul> <li><p>Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause) and [ 3395920 ] (correct copyright info for rst.el).</p></li> </ul> </li> <li><p>docutils/writers/latex2e/__init__.py</p> <ul> <li><p>Clean up Babel language setting. Restores Sphinx compatibility.</p></li> </ul> </li> </ul> </section> <section id="release-0-8-2011-07-07"> <h2><a class="toc-backref" href="#toc-entry-28" role="doc-backlink">Release 0.8 (2011-07-07)</a><a class="self-link" title="link to this section" href="#release-0-8-2011-07-07"></a></h2> <ul> <li><p>COPYING:</p> <ul class="simple"> <li><p>Some additions to the Docutils core are released under the 2-Clause BSD license.</p></li> </ul> </li> <li><p>General:</p> <ul class="simple"> <li><p>Handle language codes according to <a class="reference external" href="https://www.rfc-editor.org/rfc/bcp/bcp47.txt">BCP 47</a>.</p></li> <li><p>If the specified language is not supported by Docutils, warn and fall back to English.</p></li> <li><p>Math support: reStructuredText &quot;math&quot; role and directive, <span class="docutils literal">math</span> and <span class="docutils literal">math_block</span> doctree elements.</p></li> <li><p>Orphaned &quot;python&quot; reader and &quot;newlatex2e&quot; writer moved to the sandbox.</p></li> </ul> </li> <li><p>reStructuredText:</p> <ul> <li><p>most directives now support a &quot;name&quot; option that attaches a reference name. So you can write</p> <pre class="literal-block">.. figure:: image.png :name: figure name</pre> <p>as a short form of</p> <pre class="literal-block">.. _figure name: .. figure:: image.png</pre> </li> </ul> </li> </ul> <p>Internationalization:</p> <ul class="simple"> <li><p>Added Lithuanian mappings.</p></li> </ul> <p>Components:</p> <ul> <li><p>HTML writer:</p> <ul class="simple"> <li><p>New setting &quot;math-output&quot; with support for HTML, MathML, and LaTeX.</p></li> </ul> </li> <li><p>LaTeX2e writer:</p> <ul class="simple"> <li><p>Convert image URI to a local file path.</p></li> <li><p>Apply [ 3148141 ] fix multicolumn support when a colspanning cell has more than one paragraph (Wolfgang Scherer).</p></li> </ul> </li> <li><p>XeTeX writer:</p> <ul> <li><p>New writer generating LaTeX code for compiling with <span class="docutils literal">xelatex</span>.</p> <p>XeTeX uses unicode and modern font technologies.</p> </li> </ul> </li> <li><p>and fixes and enhancements here and there.</p></li> </ul> </section> <section id="release-0-7-2010-07-07"> <h2><a class="toc-backref" href="#toc-entry-29" role="doc-backlink">Release 0.7 (2010-07-07)</a><a class="self-link" title="link to this section" href="#release-0-7-2010-07-07"></a></h2> <p>Components:</p> <ul class="simple"> <li><p>HTML writer:</p> <ul> <li><p>Support SVG and SWF images (thanks to Stefan Rank).</p></li> <li><p>Generate valid XHTML for centered images with targets. Use CSS classes instead of &quot;align&quot; tags for image alignment.</p></li> </ul> </li> <li><p>LaTeX2e writer:</p> <ul> <li><p>Use the <span class="docutils literal">\url</span> command for URLs (breaks long URLs instead of writing into the margin).</p></li> <li><p>Preserve runs of spaces in 'inline literals'.</p></li> <li><p>Deprecate <span class="docutils literal">figure_footnotes</span> setting.</p></li> <li><p>Rename <span class="docutils literal">use_latex_footnotes</span> setting to <a class="reference external" href="docs/user/config.html#docutils-footnotes">docutils_footnotes</a>.</p></li> <li><p>New <span class="docutils literal">latex_preamble</span> setting.</p></li> <li><p>Use PDF standard fonts (Times/Helvetica/Courier) as default.</p></li> <li><p><cite>hyperref</cite> package called with <span class="docutils literal">unicode</span> option (see the <a class="reference external" href="docs/user/latex.html#hyperlinks">hyperref config tips</a> for how to override).</p></li> <li><p>Drop the special <a class="reference external" href="docs/user/latex.html#output-encoding">output_encoding</a> default (&quot;latin-1&quot;). The Docutils wide default (usually &quot;UTF-8&quot;) is used instead.</p></li> </ul> </li> <li><p>manpage writer:</p> <ul> <li><p>Titles level 1, that is <span class="docutils literal">.SH</span>, always uppercase.</p></li> <li><p>Apply patch from mg: literal text should be bold in man-pages.</p></li> </ul> </li> </ul> <p>General:</p> <ul class="simple"> <li><p>io.FileInput opens files as text files with universal newline support (mode &quot;rU&quot;, configurable with the new optional argument &quot;mode&quot;).</p></li> <li><p>setup.py:</p> <ul> <li><p>Python 3 support: copy test/ and tools/ to the build-dir and convert Python sources with 2to3.</p></li> </ul> </li> </ul> </section> <section id="release-0-6-2009-10-11"> <h2><a class="toc-backref" href="#toc-entry-30" role="doc-backlink">Release 0.6 (2009-10-11)</a><a class="self-link" title="link to this section" href="#release-0-6-2009-10-11"></a></h2> <p>Docutils 0.6 is compatible with Python versions from 2.3 up to 2.6 and convertible to 3.1 code.</p> <aside class="admonition note"> <p class="admonition-title">Note</p> <p>The &quot;newlatex&quot; writer is orphaned.</p> <p>The recommended way to generate PDF output is to use either the LaTeX2e writer or one of the alternatives listed at <a class="reference external" href="https://docutils.sourceforge.io/docs/user/links.html#pdf">https://docutils.sourceforge.io/docs/user/links.html#pdf</a>.</p> </aside> <ul class="simple"> <li><p>reStructuredText:</p> <ul> <li><p>Allow length units for all length specifications.</p></li> <li><p>Allow percent sign in &quot;scale&quot; argument of &quot;figure&quot; and &quot;image&quot; directives.</p></li> <li><p>Bugfix: The &quot;figalign&quot; argument of a figure now works as intended (aligning the figure not its contents).</p></li> <li><p>Align images with class &quot;align-[right|center|left]&quot; (allows setting the alignment of an image in a figure).</p></li> <li><p>Hard tabs <strong>in literal inclusions</strong> are replaced by spaces. This is configurable via the new <span class="docutils literal"><span class="pre">:tab-width:</span></span> option of the <a class="reference external" href="docs/ref/rst/directives.html#including-an-external-document-fragment">&quot;include&quot; directive</a> (a negative tab-width prevents tab expansion).</p></li> </ul> </li> <li><p>HTML writer:</p> <ul> <li><p><span class="docutils literal"><span class="pre">--stylesheet</span></span> and <span class="docutils literal"><span class="pre">--stylesheet-path</span></span> options now support a comma separated list of stylesheets.</p></li> </ul> </li> <li><p>LaTeX2e writer:</p> <ul> <li><p>New defaults: - font-encoding: &quot;T1&quot; (formerly implicitly set by 'ae'). - use-latex-toc: true (ToC with page numbers). - use-latex-footnotes: true (no mixup with figures). - Float placement defaults to &quot;here definitely&quot; (configurable). - Align of image in a figure defaults to 'center'. - Use class defaults for page margins ('typearea' now optional).</p></li> <li><p>Support LaTeX packages as <span class="docutils literal"><span class="pre">--stylesheet</span></span> arguments.</p></li> <li><p>Use <span class="docutils literal">bp</span> for lengths without unit or unit <span class="docutils literal">pt</span>, do not convert <span class="docutils literal">px</span> to <span class="docutils literal">pt</span>.</p></li> <li><p>Do not use 'ae' and 'aeguill' packages if font-encoding is set to ''.</p></li> <li><p>Set sub- and superscript role argument as text not math.</p></li> <li><p>Support custom roles based on standard roles.</p></li> <li><p>Load packages and define macros only if required in the document.</p></li> <li><p>All Docutils specific LaTeX macros are prefixed with <span class="docutils literal">DU</span>.</p></li> <li><p>Better conformance to Docutils specifications with &quot;use_latex_toc&quot;.</p></li> <li><p>If 'sectnum_xform' is False, the 'sectnum' directive triggers section numbering by LaTeX.</p></li> <li><p>Use default font in admonitions and sidebar.</p></li> <li><p>Typeset generic topic as &quot;quote with title&quot;.</p></li> <li><p>Use template (file and configuration option).</p></li> <li><p>Render doctest blocks as literal blocks (indented).</p></li> </ul> </li> <li><p>ODT writer:</p> <ul> <li><p>moved from sandbox to Doctutils core.</p></li> </ul> </li> <li><p>manpage writer:</p> <ul> <li><p>moved from sandbox to Doctutils core.</p></li> </ul> </li> </ul> </section> <section id="release-0-5-2008-06-25"> <h2><a class="toc-backref" href="#toc-entry-31" role="doc-backlink">Release 0.5 (2008-06-25)</a><a class="self-link" title="link to this section" href="#release-0-5-2008-06-25"></a></h2> <aside class="admonition note"> <p class="admonition-title">Note</p> <p>Docutils 0.5 is the last version supporting Python 2.2.</p> </aside> <p>Components:</p> <ul class="simple"> <li><p>HTML writer.</p> <ul> <li><p>Dropped all <span class="docutils literal">name</span> attributes of <span class="docutils literal">a</span> elements (<span class="docutils literal">id</span> is universally supported now).</p></li> </ul> </li> <li><p>LaTeX2e writer:</p> <ul> <li><p>Better bibTeX citation support.</p></li> <li><p>Add <span class="docutils literal"><span class="pre">--literal-block-env</span></span></p></li> </ul> </li> <li><p>PEP writer:</p> <ul> <li><p>Changed to support new python.org website structure and pep2pyramid.py.</p></li> </ul> </li> </ul> <p>reStructuredText:</p> <ul class="simple"> <li><p>Changed the directive API to a new object-oriented system. (Compatibility for the old, functional-style directive interface is retained.) See the updated <a class="reference external" href="docs/howto/rst-directives.html">Creating reStructuredText Directives</a> how-to.</p> </li> <li><p>Allow <span class="docutils literal">+</span> and <span class="docutils literal">:</span> in reference names requested for citations.</p></li> </ul> <p>Documentation:</p> <ul class="simple"> <li><p>Added <a class="reference external" href="docs/howto/security.rst">Deploying Docutils Securely</a></p> </li> </ul> <p>Internationalization:</p> <ul class="simple"> <li><p>Added hebrew mappings.</p></li> </ul> <p>General:</p> <ul class="simple"> <li><p>Configuration files are now assumed and required to be UTF-8-encoded.</p></li> <li><p>Added docutils/writers/html4css1/template.txt.</p></li> <li><p>Enhance emacs support.</p></li> </ul> </section> <section id="release-0-4-2006-01-09"> <h2><a class="toc-backref" href="#toc-entry-32" role="doc-backlink">Release 0.4 (2006-01-09)</a><a class="self-link" title="link to this section" href="#release-0-4-2006-01-09"></a></h2> <aside class="admonition note"> <p class="admonition-title">Note</p> <p>Docutils聽0.4 is the last version supporting Python聽2.1.</p> <p>It is also the last version that will make compromises in its HTML output for Netscape Navigator聽4. Docutils聽0.5 will require more up-to-date browsers (the exact definition is to be determined).</p> </aside> <p>Components:</p> <ul class="simple"> <li><p>Added an <a class="reference external" href="docs/user/slide-shows.html">S5/HTML writer</a> and the <a class="reference external" href="docs/user/tools.html#rst2s5">rst2s5.py</a> front end: multi-platform, multi-browser HTML slide shows.</p> </li> <li><p>The newlatex2e writer is nearing completion.</p></li> <li><p>Added a DocTree reader, <span class="docutils literal">publish_doctree</span> and <span class="docutils literal">publish_from_doctree</span> convenience functions, for document tree extraction and reprocessing.</p></li> </ul> <p>reStructuredText:</p> <ul class="simple"> <li><p>Added directives: &quot;<a class="reference external" href="docs/ref/rst/directives.html#container">container</a>&quot; (generic block-level container), &quot;<a class="reference external" href="docs/ref/rst/directives.html#default-role">default-role</a>&quot; (role used for `backtick` syntax), &quot;<a class="reference external" href="docs/ref/rst/directives.html#title">title</a>&quot; (document title metadata), and &quot;<a class="reference external" href="docs/ref/rst/directives.html#date">date</a>&quot; (generate the current local date, for substitution definitions).</p> </li> <li><p>Length units are now supported for <a class="reference external" href="docs/ref/rst/directives.html#image">image</a> sizes.</p> </li> <li><p>Added <a class="reference external" href="docs/ref/rst/definitions.html">standard definition files</a> for special characters etc.</p> </li> </ul> <p>Internationalization:</p> <ul class="simple"> <li><p>Added Japanese and Simplified Chinese language mappings, and support for double-width CJK-characters in tables and section titles.</p></li> </ul> <p>Documentation:</p> <ul class="simple"> <li><p>Added a <a class="reference external" href="docs/dev/distributing.html">guide for distributors</a> (package maintainers) and a <a class="reference external" href="docs/dev/hacking.html">guide for developers</a>.</p> </li> </ul> <p>General:</p> <ul class="simple"> <li><p>Added significant <a class="reference external" href="docs/user/emacs.html">Emacs support for reST</a>.</p> </li> <li><p>Added a <a class="reference external" href="docs/user/config.html#strip-comments">--strip-comments</a> option.</p> </li> <li><p><a class="reference external" href="docs/user/config.html#embed-stylesheet">--embed-stylesheet</a> is now the default for the HTML writer (rather than --link-stylesheet).</p> </li> </ul> </section> <section id="release-0-3-9-2005-05-26"> <h2><a class="toc-backref" href="#toc-entry-33" role="doc-backlink">Release 0.3.9 (2005-05-26)</a><a class="self-link" title="link to this section" href="#release-0-3-9-2005-05-26"></a></h2> <ul class="simple"> <li><p>Added &quot;<a class="reference external" href="docs/user/config.html#file-insertion-enabled">file_insertion_enabled</a>&quot; and &quot;<a class="reference external" href="docs/user/config.html#raw-enabled">raw_enabled</a>&quot; settings.</p> </li> <li><p>Added <a class="reference external" href="docs/ref/rst/restructuredtext.html#enumerated-lists">auto-enumerated lists</a>.</p> </li> <li><p>Added <a class="reference external" href="docs/ref/rst/directives.html#document-header-footer">&quot;header&quot; and &quot;footer&quot;</a> directives.</p> </li> <li><p>Added &quot;<a class="reference external" href="docs/ref/rst/directives.html#list-table">list-table</a>&quot; directive.</p> </li> <li><p>Added support for <a class="reference external" href="docs/user/config.html#sectsubtitle-xform">section subtitles</a>.</p> </li> <li><p>Added &quot;<a class="reference external" href="docs/user/config.html#field-name-limit">field_name_limit</a>&quot; and &quot;<a class="reference external" href="docs/user/config.html#option-limit">option_limit</a>&quot; settings to HTML writer.</p> </li> <li><p>Added &quot;<a class="reference external" href="docs/user/config.html#cloak-email-addresses">cloak_email_addresses</a>&quot; setting to HTML writer.</p> </li> <li><p>UTF-8 BOMs are now removed from the input stream.</p></li> </ul> </section> <section id="release-0-3-7-2004-12-24"> <h2><a class="toc-backref" href="#toc-entry-34" role="doc-backlink">Release 0.3.7 (2004-12-24)</a><a class="self-link" title="link to this section" href="#release-0-3-7-2004-12-24"></a></h2> <ul class="simple"> <li><p>A special &quot;<a class="reference external" href="docs/ref/rst/restructuredtext.html#line-blocks">line block</a>&quot; syntax has been added. (Also see the <a class="reference external" href="docs/user/rst/quickref.html#line-blocks">quick reference</a>.)</p> </li> <li><p>Empty sections are now allowed.</p></li> <li><p>A &quot;<a class="reference external" href="docs/ref/rst/roles.html#raw">raw</a>&quot; role has been added.</p> </li> <li><p>The LaTeX writer now escapes consecutive dashes (like &quot;--&quot; or &quot;---&quot;) so that they are no longer transformed by LaTeX to en or em dashes. (Please see the <a class="reference external" href="FAQ.html#how-can-i-represent-esoteric-characters-e-g-character-entities-in-a-document">FAQ</a> for how to represent such dashes.)</p> </li> <li><p>A <a class="reference external" href="docs/user/config.html#record-dependencies">dependency recorder</a> has been added.</p> </li> <li><p>A directive has been added for <a class="reference external" href="docs/ref/rst/directives.html#compound-paragraph">compound paragraphs</a>.</p> </li> </ul> </section> <section id="release-0-3-5-2004-07-29"> <h2><a class="toc-backref" href="#toc-entry-35" role="doc-backlink">Release 0.3.5 (2004-07-29)</a><a class="self-link" title="link to this section" href="#release-0-3-5-2004-07-29"></a></h2> <ul class="simple"> <li><p>Improved, extended and reorganized the <a class="reference external" href="docs/index.html">documentation</a>.</p> </li> <li><p>Added &quot;<a class="reference external" href="docs/ref/rst/directives.html#csv-table">csv-table</a>&quot; directive.</p> </li> </ul> </section> </main> <footer> <p><a class="reference external" href="RELEASE-NOTES.rst">View document source</a>. Generated on: 2024-11-14 16:17 UTC. Generated by <a class="reference external" href="https://docutils.sourceforge.io/">Docutils</a> from <a class="reference external" href="https://docutils.sourceforge.io/rst.html">reStructuredText</a> source. </p> </footer> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10