Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8
[0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8
[1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560
[2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85
[3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50
[4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13
[5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
403WebShell
403Webshell
Server IP : 94.177.8.99  /  Your IP : 216.73.217.165
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/share/doc/python3-docutils/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/doc/python3-docutils/HISTORY.html
<!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.20.1: https://docutils.sourceforge.io/" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="David Goodger; open to all Docutils developers" />
<meta name="dcterms.date" content="2023-05-16" />
<meta name="dcterms.rights" content="This document has been placed in the public domain." />
<title>Docutils History</title>
<link rel="schema.dcterms" href="http://purl.org/dc/terms/"/>
<link rel="stylesheet" href="css/minimal.css" type="text/css" />
<link rel="stylesheet" href="css/responsive.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-history">
<h1 class="title">Docutils History</h1>
<dl class="docinfo">
<dt class="author">Author<span class="colon">:</span></dt>
<dd class="author"><p>David Goodger; open to all Docutils developers</p></dd>
<dt class="contact">Contact<span class="colon">:</span></dt>
<dd class="contact"><a class="reference external" href="mailto:docutils-develop&#64;lists.sourceforge.net">docutils-develop&#64;lists.sourceforge.net</a></dd>
<dt class="date">Date<span class="colon">:</span></dt>
<dd class="date">2023-05-16</dd>
<dt class="revision">Revision<span class="colon">:</span></dt>
<dd class="revision">9387</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. -->
<nav class="contents" id="contents" role="doc-toc">
<p class="topic-title">Contents</p>
<ul class="simple">
<li><p><a class="reference internal" href="#release-0-20-1-2023-05-17" id="toc-entry-1">Release 0.20.1 (2023-05-17)</a></p></li>
<li><p><a class="reference internal" href="#release-0-20-2023-05-09" id="toc-entry-2">Release 0.20 (2023-05-09)</a></p></li>
<li><p><a class="reference internal" href="#release-0-19-2022-07-05" id="toc-entry-3">Release 0.19 (2022-07-05)</a></p></li>
<li><p><a class="reference internal" href="#release-0-18-1-2021-11-23" id="toc-entry-4">Release 0.18.1 (2021-11-23)</a></p></li>
<li><p><a class="reference internal" href="#release-0-18-2021-10-26" id="toc-entry-5">Release 0.18 (2021-10-26)</a></p></li>
<li><p><a class="reference internal" href="#release-0-18b1-2021-10-05" id="toc-entry-6">Release 0.18b1 (2021-10-05)</a></p></li>
<li><p><a class="reference internal" href="#release-0-17-1-2021-04-16" id="toc-entry-7">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-8">Release 0.17 (2021-04-03)</a></p></li>
<li><p><a class="reference internal" href="#release-0-16-2020-01-16" id="toc-entry-9">Release 0.16 (2020-01-16)</a></p></li>
<li><p><a class="reference internal" href="#release-0-15-1-2019-07-24" id="toc-entry-10">Release 0.15.1 (2019-07-24)</a></p></li>
<li><p><a class="reference internal" href="#release-0-15-2019-07-20" id="toc-entry-11">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-12">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-13">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-14">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-15">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-16">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-17">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-18">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-19">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-20">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-21">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-22">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-23">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-24">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-25">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-26">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-27">Release 0.3.5 (2004-07-29)</a></p></li>
<li><p><a class="reference internal" href="#release-0-3-3-2004-05-09" id="toc-entry-28">Release 0.3.3 (2004-05-09)</a></p></li>
<li><p><a class="reference internal" href="#release-0-3-2003-06-24" id="toc-entry-29">Release 0.3 (2003-06-24)</a></p></li>
<li><p><a class="reference internal" href="#release-0-2-2002-07-31" id="toc-entry-30">Release 0.2 (2002-07-31)</a></p></li>
<li><p><a class="reference internal" href="#release-0-1-2002-04-20" id="toc-entry-31">Release 0.1 (2002-04-20)</a></p></li>
</ul>
</nav>
<section id="release-0-20-1-2023-05-17">
<h2><a class="toc-backref" href="#toc-entry-1" 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>
<ul class="simple">
<li><p>docutils/MANIFEST.in</p>
<ul>
<li><p>Include tox.ini and docutils.conf in the source package
(cf. bug #467 and bug #461).</p></li>
</ul>
</li>
<li><p>tools/rst2odt_prepstyles.py</p>
<ul>
<li><p>Moved to <span class="docutils literal">docutils/writers/odf_odt/prepstyles.py</span>.
Replaced with a provisional backwards compatibility script.</p></li>
</ul>
</li>
</ul>
</section>
<section id="release-0-20-2023-05-09">
<h2><a class="toc-backref" href="#toc-entry-2" role="doc-backlink">Release 0.20 (2023-05-09)</a><a class="self-link" title="link to this section" href="#release-0-20-2023-05-09"></a></h2>
<ul>
<li><p>General</p>
<ul class="simple">
<li><p>Docutils 0.20 is the last version supporting Python 3.7 and 3.8.</p></li>
<li><p>Support Python 3.11 (patch #198 by Hugo van Kemenade).</p></li>
</ul>
</li>
<li><p>docutils/core.py</p>
<ul class="simple">
<li><p>New functions <cite>rst2…()</cite> for use as &quot;console_scripts&quot; <a class="reference external" href="https://packaging.python.org/en/latest/specifications/entry-points/">entry points</a>.
(cf. <cite>Future changes</cite> in the <a class="reference external" href="RELEASE-NOTES.html">RELEASE-NOTES</a>).</p></li>
</ul>
</li>
<li><p>docutils/frontend.py</p>
<ul class="simple">
<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. <cite>Future changes</cite> in the <a class="reference external" href="RELEASE-NOTES.html">RELEASE-NOTES</a>).</p></li>
</ul>
</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>docutils/nodes.py</p>
<ul class="simple">
<li><p>Fix <cite>previous_sibling()</cite> method that led to invalid HTML in some cases
(cf. patch #195).</p></li>
<li><p>Fix bug #463. Spurious comma in deprecation warning.</p></li>
</ul>
</li>
<li><p>docutils/parsers/recommonmark_wrapper.py</p>
<ul class="simple">
<li><p>Improved mock Sphinx module.</p></li>
</ul>
</li>
<li><p>docutils/transforms/__init__.py</p>
<ul class="simple">
<li><p><cite>Transformer.populate_from_components()</cite> now silently ignores
components that are not instances of <cite>docutils.TransformSpec</cite>.</p></li>
</ul>
</li>
<li><p>docutils/transforms/frontmatter.py</p>
<ul class="simple">
<li><p>Accept author names with initials like <span class="docutils literal">A. Einstein</span> in the &quot;author&quot;
<a class="reference external" href="docs/ref/rst/restructuredtext.html#bibliographic-fields">bibliographic field</a> instead of rising an error
(generally, such names are <a class="reference external" href="docs/ref/rst/restructuredtext.html#enumerated-lists">parsed as enumerated list</a>).</p>
</li>
</ul>
</li>
<li><p>docutils/transforms/references.py</p>
<ul class="simple">
<li><p><cite>DanglingReferences</cite> ignores <cite>citation_reference</cite> nodes if the
&quot;use_bibex&quot; setting is active. (In this case, citations are provided
by LaTeX/BibTeX.) Fixes bug #384.</p></li>
</ul>
</li>
<li><p>docutils/utils/__init__.py</p>
<ul class="simple">
<li><p>New utility function <cite>xml_declaration()</cite>.</p></li>
<li><p><cite>DependencyList.add()</cite> accepts <cite>pathlib.Path</cite> instances.</p></li>
<li><p><cite>find_file_in_dirs()</cite> now returns a POSIX path also on Windows;
<cite>get_stylesheet_list()</cite> no longer converts <span class="docutils literal">\</span> to <span class="docutils literal">/</span>.</p></li>
</ul>
</li>
<li><p>docutils/utils/math/latex2mathml.py</p>
<ul class="simple">
<li><p>Support &quot;mod&quot; notation for modulo operation / modulus arithmetic.</p></li>
</ul>
</li>
<li><p>docutils/utils/math/tex2mathml_extern.py</p>
<ul class="simple">
<li><p>Support <cite>Pandoc</cite> as alternative LaTeX to MathML converter.
Patch by Ximin Luo.</p></li>
</ul>
</li>
<li><p>docutils/writers/_html_base.py</p>
<ul>
<li><p>Refactoring of <cite>HTMLTranslator</cite> initialization and collecting of
document &quot;parts&quot;. Adapt HTML writers importing <cite>_html_base</cite>.</p>
<p>Changes to the HTML output (no space character before closing tag of
XML declaration, order of metadata elements)
don't affect the HTML semantics, styling, and rendering.</p>
</li>
<li><p>Wrap definition lists with &quot;details&quot; class argument in a &lt;div&gt;
with the &quot;id&quot; and &quot;class&quot; values of the list node.</p></li>
<li><p>Use dpub-ARIA role &quot;<a class="reference external" href="https://www.w3.org/TR/dpub-aria-1.1/#doc-footnote">doc-footnote</a>&quot; (instead of ARIA role &quot;note&quot;)
for footnotes.</p>
</li>
</ul>
</li>
<li><p>docutils/writers/latex2e/__init__.py</p>
<ul class="simple">
<li><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></li>
<li><p>Fix behaviour of the <a class="reference external" href="docs/user/config.html#use-bibtex">use_bibtex</a> setting.</p></li>
<li><p>Outsource parts of <cite>depart_document()</cite> to new auxiliary methods
<cite>make_title()</cite> and <cite>append_bibliography()</cite>.</p></li>
<li><p>Ensure POSIX paths in stylesheet loading macros.</p></li>
</ul>
</li>
<li><p>docutils/writers/latex2e/titlepage.tex</p>
<ul class="simple">
<li><p>Drop <span class="docutils literal">\usepackage{fixltx2e}</span> from template.
(Obsolete since 2015 and dropped from other templates in Docutils 0.14.)</p></li>
</ul>
</li>
<li><p>docutils/writers/manpage.py</p>
<ul class="simple">
<li><p>Do not output empty &quot;manual&quot; in <span class="docutils literal">.TH</span>.</p></li>
</ul>
</li>
<li><p>docutils/writers/xetex/__init__.py</p>
<ul class="simple">
<li><p>Ignore settings in the [latex2e writer] configuration file section.
Place common settings in section [latex writers].</p></li>
</ul>
</li>
<li><p>setup.py</p>
<ul class="simple">
<li><p>Fix SetuptoolsDeprecationWarning: <span class="docutils literal">Installing '' as data is deprecated</span>
by adding data directories to package_data.packages list.</p></li>
</ul>
</li>
<li><p>tox.ini</p>
<ul class="simple">
<li><p>Extracted flake8 configuration and moved to <span class="docutils literal">.flake8</span>.</p></li>
<li><p>changedir to directory <span class="docutils literal">test</span> to avoid path problems.</p></li>
</ul>
</li>
<li><p>test/</p>
<ul class="simple">
<li><p>Refactored tests to use common <cite>unittest</cite> idioms.
Fixes errors when running the test suite with <span class="docutils literal">python <span class="pre">-m</span> unittest</span>
or external test frameworks, such as <a class="reference external" href="https://pypi.org/project/pytest/">Pytest</a>.</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>
</ul>
</section>
<section id="release-0-19-2022-07-05">
<h2><a class="toc-backref" href="#toc-entry-3" 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>
<ul class="simple">
<li><p>General</p>
<ul>
<li><p>Dropped support for Python 2.7, 3.5, and 3.6. and removed compatibility
hacks from code and tests.</p></li>
<li><p>Code cleanup,
check PEP 8 conformity with <cite>flake8</cite> (exceptions in file tox.ini).</p></li>
</ul>
</li>
<li><p>docutils/__main__.py</p>
<ul>
<li><p>New module. Support for <span class="docutils literal">python <span class="pre">-m</span> docutils</span>.
Also used for the <span class="docutils literal">docutils</span> console script <a class="reference external" href="https://packaging.python.org/en/latest/specifications/entry-points/">entry point</a>.</p></li>
</ul>
</li>
<li><p>docutils/core.py</p>
<ul>
<li><p>Let <cite>Publisher.publish()</cite> print info and prompt when waiting for input
from a terminal (cf. <a class="reference external" href="https://clig.dev/#interactivity">https://clig.dev/#interactivity</a>).</p></li>
<li><p>Respect <a class="reference external" href="docs/user/config.html#input-encoding-error-handler">input_encoding_error_handler</a> setting when opening a source.</p></li>
</ul>
</li>
<li><p>docutils/io.py</p>
<ul>
<li><p>New function <cite>error_string()</cite>
obsoletes <cite>utils.error_reporting.ErrorString</cite>.</p></li>
<li><p>Class <cite>ErrorOutput</cite> moved here from <cite>utils.error_reporting</cite> module.</p></li>
<li><p>Use &quot;utf-8-sig&quot; instead of Python's default encoding if the
<a class="reference external" href="docs/user/config.html#input-encoding">input_encoding</a> setting is None.</p></li>
<li><p>Fix error when reading of UTF-16 encoded source without trailing newline.</p></li>
<li><p>Suppress deprecation warning (fixes bug #464).</p></li>
</ul>
</li>
<li><p>docutils/parsers/__init__.py</p>
<ul>
<li><p>Aliases &quot;markdown&quot; and &quot;commonmark&quot; point to &quot;commonmark_wrapper&quot;.</p></li>
<li><p>Alias for the &quot;myst&quot; parser (<a class="reference external" href="https://pypi.org/project/myst-docutils">https://pypi.org/project/myst-docutils</a>).</p></li>
<li><p>Use absolute module names in <cite>_parser_aliases</cite> instead of two
import attempts. (Keeps details if the <cite>recommonmark_wrapper</cite> module
raises an <cite>ImportError</cite>.)</p></li>
<li><p>Prepend parser name to <cite>ImportError</cite> if importing a parser class fails.</p></li>
</ul>
</li>
<li><p>docutils/parsers/commonmark_wrapper.py</p>
<ul>
<li><p>New module for parsing CommonMark input. Selects a locally installed
3rd-party parser (<cite>pycmark</cite>, <cite>myst</cite>, or <cite>recommonmark</cite>).</p></li>
</ul>
</li>
<li><p>docutils/parsers/recommonmark_wrapper.py</p>
<ul>
<li><p>Raise <cite>ImportError</cite>, if import of the upstream parser module fails.
If called from an <a class="reference external" href="docs/ref/rst/directives.html#include">&quot;include&quot; directive</a>,
the system-message now has source/line info.</p></li>
<li><p>Adapt to and test with <cite>recommonmark</cite> versions 0.6.0 and 0.7.1.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/__init__.py</p>
<ul>
<li><p>Update PEP base URL (fixes bug #445),
use &quot;https:&quot; scheme in RFC base URL.</p></li>
<li><p>Add <cite>reporter</cite> to <cite>Directive</cite> class attributes.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/__init__.py</p>
<ul>
<li><p><cite>parser_name()</cite> keeps details if converting  <cite>ImportError</cite> to  <cite>ValueError</cite>.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/roles.py</p>
<ul>
<li><p>Don't use mutable default values for function arguments. Fixes bug #430.</p></li>
</ul>
</li>
<li><p>docutils/transforms/universal.py</p>
<ul>
<li><p>Fix bug #435: invalid references in <cite>problematic</cite> nodes
with report_level=4.</p></li>
</ul>
</li>
<li><p>docutils/utils/__init__.py</p>
<ul>
<li><p><cite>decode_path()</cite> returns <cite>str</cite> instance instead of <cite>nodes.reprunicode</cite>.</p></li>
</ul>
</li>
<li><p>docutils/utils/error_reporting.py</p>
<ul>
<li><p>Add deprecation warning.</p></li>
</ul>
</li>
<li><p>docutils/writers/_html_base.py</p>
<ul>
<li><p>Add &quot;html writers&quot; to <cite>config_section_dependencies</cite>. Fixes bug #443.</p></li>
<li><p>Write table column widths with 3 digits precision. Fixes bug #444.</p></li>
</ul>
</li>
<li><p>docutils/writers/html5_polyglot/__init__.py</p>
<ul>
<li><p>Add space before &quot;charset&quot; meta tag closing sequence.</p></li>
<li><p>Remove class value &quot;controls&quot; from an <cite>image</cite> node with video content
after converting it to a &quot;control&quot; attribute of the &lt;video&gt; tag.</p></li>
<li><p>Wrap groups of footnotes in an <span class="docutils literal">&lt;aside&gt;</span> for easier styling.</p></li>
</ul>
</li>
<li><p>docutils/writers/pep_html/</p>
<ul>
<li><p>Use &quot;https:&quot; scheme in &quot;python_home&quot; URL default.</p></li>
<li><p>Fix links in template.txt.</p></li>
</ul>
</li>
<li><p>setup.py</p>
<ul>
<li><p>New <span class="docutils literal">docutils</span>&quot; console script <a class="reference external" href="https://packaging.python.org/en/latest/specifications/entry-points/">entry point</a>. Fixes bug #447.</p></li>
</ul>
</li>
<li><p>test/alltests.py</p>
<ul>
<li><p>Always encode the log file <span class="docutils literal">alltests.out</span> using &quot;utf-8&quot;.</p></li>
</ul>
</li>
<li><p>test/DocutilsTestSupport.py</p>
<ul>
<li><p><cite>exception_data()</cite> now returns None if no exception was raised.</p></li>
<li><p><cite>recommonmark_wrapper</cite> only imported if upstream parser is present.</p></li>
</ul>
</li>
<li><p>test/test_parsers/test_rst/test_directives/test_tables.py</p>
<ul>
<li><p>Fix bug #436: Null char valid in CSV since Python 3.11.</p></li>
</ul>
</li>
<li><p>tools/docutils-cli.py</p>
<ul>
<li><p>Allow 3rd-party drop-in components for reader and parser, too.</p></li>
<li><p>Fix help output.</p></li>
<li><p>Actual code moved to docutils.__main__.py.</p></li>
</ul>
</li>
<li><p>tools/rst2odt_prepstyles.py</p>
<ul>
<li><p>Options <span class="docutils literal"><span class="pre">-h</span></span> and <span class="docutils literal"><span class="pre">--help</span></span> print short usage message.</p></li>
</ul>
</li>
</ul>
</section>
<section id="release-0-18-1-2021-11-23">
<h2><a class="toc-backref" href="#toc-entry-4" role="doc-backlink">Release 0.18.1 (2021-11-23)</a><a class="self-link" title="link to this section" href="#release-0-18-1-2021-11-23"></a></h2>
<ul class="simple">
<li><p>docutils/nodes.py</p>
<ul>
<li><p><cite>Node.traverse()</cite> returns a list again to restore backwards
compatibility. Fixes bug #431.</p></li>
<li><p>New method <cite>Node.findall()</cite>: like <cite>Node.traverse()</cite> but returns an
iterator. Obsoletes <cite>Node.traverse()</cite>.</p></li>
</ul>
</li>
<li><p>docutils/utils/__init__.py</p>
<ul>
<li><p>Fix behaviour of <cite>get_stylesheet_list()</cite>: do not look up stylesheets
given as <a class="reference external" href="docs/user/config.html#stylesheet">stylesheet</a> setting. Cf. bug #434.</p></li>
</ul>
</li>
<li><p>docutils/writers/_html_base.py</p>
<ul>
<li><p>Fix handling of <span class="docutils literal">footnote_backlinks == False</span> (report Alan G Isaac).</p></li>
</ul>
</li>
<li><p>docutils/writers/html5_polyglot/math.css</p>
<ul>
<li><p>Fix typo (bug #432).</p></li>
</ul>
</li>
<li><p>docutils/writers/odf_odt/__init__.py</p>
<ul>
<li><p>Fix spurious output with Windows (bug #350).</p></li>
</ul>
</li>
<li><p>test/test_error_reporting.py</p>
<ul>
<li><p>Fix a false positive (bug #434).</p></li>
</ul>
</li>
</ul>
</section>
<section id="release-0-18-2021-10-26">
<h2><a class="toc-backref" href="#toc-entry-5" 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>docutils/frontend.py
- Mark as provisional (will switch from using <cite>optparse</cite> to <cite>argparse</cite>).
- Remove hack for the now obsolete &quot;mod_python&quot; Apache module.
- New function <cite>get_default_settings()</cite>.</p></li>
<li><p>docutils/nodes.py</p>
<ul class="simple">
<li><p>Don't change a list while looping over it (in
<cite>document.set_name_id_map()</cite>). Thanks to Mickey Endito.</p></li>
</ul>
</li>
<li><p>docutils/parsers/recommonmark_wrapper.py</p>
<ul>
<li><p>Test and update to work with <cite>recommonmark</cite> version 0.6.0.
Still provisional.</p>
<p>Unfortunately, <a class="reference external" href="https://pypi.org/project/recommonmark/">recommonmark</a> is <a class="reference external" href="https://github.com/readthedocs/recommonmark/issues/221">no longer maintained</a>.</p>
</li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/misc.py</p>
<ul class="simple">
<li><p>Fix bug #424 Wrong circular inclusion detection.
Use a &quot;magic&quot; comment instead of line numbers
to keep a log of recursive inclusions.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/states.py</p>
<ul class="simple">
<li><p>Use a &quot;magic&quot; comment to update the log of recursive inclusions.</p></li>
</ul>
</li>
<li><p>docutils/writers/html5_polyglot/__init__.py</p>
<ul class="simple">
<li><p>New option <a class="reference external" href="docs/user/config.html#image-loading">image_loading</a>. Support &quot;lazy&quot; loading of images.
Obsoletes <a class="reference external" href="docs/user/config.html#embed-images">embed_images</a>.</p></li>
</ul>
</li>
<li><p>docutils/writers/pseudoxml.py</p>
<ul class="simple">
<li><p>Fix spelling of setting <a class="reference external" href="docs/user/config.html#detailed">detailed</a>.</p></li>
</ul>
</li>
<li><p>tools/docutils-cli.py</p>
<ul class="simple">
<li><p>Read settings from standard configuration files.</p></li>
</ul>
</li>
</ul>
<p>Fix spelling errors in documentation and docstrings.
Thanks to Dimitri Papadopoulos.</p>
</section>
<section id="release-0-18b1-2021-10-05">
<h2><a class="toc-backref" href="#toc-entry-6" role="doc-backlink">Release 0.18b1 (2021-10-05)</a><a class="self-link" title="link to this section" href="#release-0-18b1-2021-10-05"></a></h2>
<ul>
<li><p>docutils/frontend.py</p>
<ul class="simple">
<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 &quot;%&quot;:
auto-generated IDs use the tag name as prefix.</p></li>
</ul>
</li>
<li><p>docutils/nodes.py</p>
<ul class="simple">
<li><p>Make <a class="reference external" href="docs/ref/doctree.html#meta">meta</a> a standard Docutils doctree node. Writers may ignore
<cite>meta</cite> nodes if they are not supported by the output format.</p>
</li>
<li><p>document.make_id(): Do not strip leading number and hyphen characters
from <cite>name</cite> if the <a class="reference external" href="docs/user/config.html#id-prefix">id_prefix</a> setting is non-empty.</p></li>
<li><p><cite>Node.traverse()</cite> returns an iterator instead of a list.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/html.py</p>
<ul class="simple">
<li><p>Removed. (Meta directive moved to <span class="docutils literal">misc.py</span>.)</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/misc.py</p>
<ul class="simple">
<li><p><cite>Meta</cite> directive class (moved from html.py) inserts <cite>meta</cite>
(instead of <cite>pending</cite>) nodes.</p></li>
<li><p>Add <cite>class</cite> option to <cite>Raw</cite> directive.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/tables.py</p>
<ul class="simple">
<li><p>Unify behaviour of <a class="reference external" href="docs/ref/rst/directives.html#column-widths">&quot;widths&quot; option</a>: check that the length of an
integer list equals the number of table columns also for the &quot;table&quot;
directive.</p></li>
</ul>
</li>
<li><p>docutils/tools/math/math2html.py,
docutils/tools/math/tex2unicode.py,
docutils/writers/html5/math.css</p>
<ul class="simple">
<li><p>Fork from elyxer and remove code that is not required
for math conversion.</p></li>
<li><p>Scale variable sized operators and big delimiters with CSS</p></li>
<li><p>Support more commands, fix mapping of commands to Unicode characters
(cf. <a class="reference external" href="docs/ref/rst/mathematics.html">LaTeX syntax for mathematics</a>).</p></li>
<li><p>Fix bug #244 Wrong subscript/superscript order.</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>
</li>
<li><p>docutils/parsers/rst/states.py</p>
<ul class="simple">
<li><p>Fix source location (line number) for attribution elements.
Patch by Mickey Endito.</p></li>
<li><p>Add line, source, and rawsource internal attributes for blockquote
elements. Patch by Mickey Endito.</p></li>
</ul>
</li>
<li><p>docutils/transforms/references.py</p>
<ul class="simple">
<li><p>Skip system_messages when propagating targets. Fixes bug #425.</p></li>
</ul>
</li>
<li><p>docutils/utils/__init__.py</p>
<ul class="simple">
<li><p>Removed <cite>unique_combinations()</cite> (obsoleted by <cite>itertools.combinations()</cite>).</p></li>
</ul>
</li>
<li><p>docutils/utils/latex2mathml.py</p>
<ul class="simple">
<li><p>Major update (fixes and support for additional commands and symbols).
Fixes bug #407.</p></li>
</ul>
</li>
<li><p>docutils/writers/_html_base.py</p>
<ul class="simple">
<li><p>Write footnote brackets and field term colons to HTML, so that
they are present also without CSS and when copying text.
Adapt <span class="docutils literal">minimal.css</span>.</p></li>
<li><p>Use semantic tags &lt;aside&gt; for footnote text, topics, admonitions,
and system-messages and &lt;nav&gt; for the table of contents. Use &lt;div&gt;
for citations.</p></li>
<li><p>Only specify table column widths, if the <a class="reference external" href="docs/ref/rst/directives.html#column-widths">&quot;widths&quot; option</a> is set
and is not &quot;auto&quot; (fixes bug #426).
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>Use ARIA roles to enable accessible HTML for abstract, dedication,
the table of contents, footnote, references, footnotes, citations,
and backlinks.</p></li>
<li><p>Use &quot;aria-level&quot; attribute instead of invalid tags &lt;h7&gt;, &lt;h8&gt;, ...
for headings of deeply nested sections.</p></li>
<li><p>Do not set classes &quot;compound-first&quot;, &quot;compound-middle&quot;, or
&quot;compound-last&quot; to elements nested in a compound.
Use class value &quot;backrefs&quot; instead of &quot;fn-backref&quot; for a span of
back-references.</p></li>
<li><p>Do not write class values handled by the HTML writer (&quot;colwidths-auto&quot;,
&quot;colwidths-given&quot;, &quot;colwidths-grid&quot;) to the output.</p></li>
<li><p>Move space character between section number and heading into
&quot;sectnum&quot; span.</p></li>
<li><p>Removed attribute <cite>HTMLTranslator.topic_classes</cite></p></li>
<li><p>Items of a definition list with class argument &quot;details&quot; are
converted to &lt;details&gt; disclosure elements.</p></li>
</ul>
</li>
<li><p>docutils/writers/html4css1/__init__.py</p>
<ul class="simple">
<li><p>Overwrite methods in _html_base.HTMLTranslator that use HTML5 tags
(details, aside, nav, ...) and attributes (role, aria-level).</p></li>
</ul>
</li>
<li><p>docutils/writers/latex2e/__init__.py</p>
<ul>
<li><p>The setting <a class="reference external" href="docs/user/config.html#legacy-class-functions">legacy_class_functions</a> now defaults to &quot;False&quot;.
Adapt stylesheets modifying <span class="docutils literal">\DUadmonition</span> and/or <span class="docutils literal">\DUtitle</span>.</p></li>
<li><p>Apply patch #181 &quot;Fix tocdepth when chapter/part in use&quot; by
John Thorvald Wodder II.</p></li>
<li><p>Fix newlines after/before <cite>ids_to_labels()</cite> (cf. patch #183).</p></li>
<li><p>Refactor/revise ToC writing.</p></li>
<li><p>Don't add <span class="docutils literal">\phantomsection</span> to labels in math-blocks.</p></li>
<li><p>Improve spacing and allow customization of Docutils-generated table
of contents.</p></li>
<li><p>New algorithm for table column widths. Fixes bug #422.
New configuration setting <a class="reference external" href="docs/user/config.html#legacy-column-widths">legacy_column_widths</a>.</p>
<p><cite>Table.set_table_style()</cite> arguments changed.</p>
<p>Only write &quot;continued on next page...&quot; if it fits
without making the table columns wider.</p>
<p>Table &quot;width&quot; option overrides conflicting &quot;auto&quot; column &quot;widths&quot;.</p>
</li>
</ul>
</li>
<li><p>docutils/writers/latex2e/docutils.sty</p>
<ul class="simple">
<li><p>Fix excessive padding above sidebar titles.</p></li>
</ul>
</li>
<li><p>docutils/writers/pseudoxml.py</p>
<ul class="simple">
<li><p>Fix option <a class="reference external" href="docs/user/config.html#detailed">detailed</a> under Python 2.7.</p></li>
</ul>
</li>
<li><p>docutils/writers/s5_html/themes/default</p>
<ul class="simple">
<li><p>Remove IE 6 compatibility workarounds <span class="docutils literal">iepngfix.htc</span> and
<span class="docutils literal">blank.gif</span> (fixes bug #169).</p></li>
</ul>
</li>
<li><p>docutils/writers/manpage.py</p>
<ul class="simple">
<li><p>Fix: double quotes need to be escaped on macro invocation.
Done everywhere.</p></li>
</ul>
</li>
</ul>
</section>
<section id="release-0-17-1-2021-04-16">
<h2><a class="toc-backref" href="#toc-entry-7" 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>docutils/utils/math/latex2mathml.py</p>
<ul>
<li><p>Fix bug #406 (MathML translation of <span class="docutils literal">\mathbf</span>).</p></li>
</ul>
</li>
<li><p>docutils/writers/latex2e/__init__.py</p>
<ul>
<li><p>Open <span class="docutils literal">docutils.sty</span> with encoding set to &quot;utf-8&quot;.
Fixes bug #414: error with Py3k when locale encoding is &quot;ascii&quot;.</p></li>
</ul>
</li>
<li><p>docutils/parsers/<em>.py, docutils/transforms/</em>.py</p>
<ul>
<li><p>Provide fallbacks for parser config settings
to facilitate programmatic use.</p></li>
</ul>
</li>
<li><p>docutils/writers/manpage.py</p>
<ul>
<li><p>Apply patch #160: move macro defs above <span class="docutils literal">.TH</span>
(thanks Willie and sorry for the delay).</p></li>
</ul>
</li>
</ul>
</section>
<section id="release-0-17-2021-04-03">
<h2><a class="toc-backref" href="#toc-entry-8" 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>
<li><p>General</p>
<ul class="simple">
<li><p>Installing with <span class="docutils literal">setup.py</span> now requires <cite>setuptools</cite>.
Alternatively, install with <a class="reference external" href="https://pypi.org/project/pip/">pip</a> (or &quot;manually&quot;).</p></li>
<li><p>Use <cite>importlib.import_module()</cite> to programmatically import modules.</p></li>
<li><p>Fix bug #385: Import of language modules.</p></li>
</ul>
</li>
<li><p>docutils/MANIFEST.in</p>
<ul class="simple">
<li><p>Exclude test outputs.</p></li>
</ul>
</li>
<li><p>docutils/__init__.py</p>
<ul class="simple">
<li><p>VersionInfo:  <cite>ValueError</cite> for invalid values, fix comparison to tuples.</p></li>
</ul>
</li>
<li><p>docutils/languages/
docutils/parsers/rst/languages/</p>
<ul class="simple">
<li><p>Apply patch # 177 Arabic mappings by Shahin.</p></li>
<li><p>Apply patch for bug #399 Fixes in Korean translation by Shinjo Park.</p></li>
</ul>
</li>
<li><p>docutils/nodes.py</p>
<ul class="simple">
<li><p>Apply patch #165 &quot;Fix error when copying <cite>system_message</cite> node&quot;
by Takeshi KOMIYA.</p></li>
<li><p>Apply version of patch #167 &quot;Let <cite>document.set_id()</cite> register all
existing IDs&quot;. Thanks to Takeshi KOMIYA.</p></li>
<li><p>Fix bug #410: Use a &quot;property&quot; function to recursively fetch
<cite>Node.document</cite> value from parent node.</p></li>
</ul>
</li>
<li><p>docutils/parsers/recommonmark_wrapper.py</p>
<ul class="simple">
<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 <cite>recommonmark</cite> version 0.4.0.</p>
</li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/body.py</p>
<ul class="simple">
<li><p>Make the sidebar's &quot;title&quot; argument optional (feature request #69).</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/html.py</p>
<ul class="simple">
<li><p>Make <cite>meta</cite> elements available for &quot;latex&quot; and &quot;odt&quot; writers.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/misc.py</p>
<ul class="simple">
<li><p>Prevent infinite inclusion loops.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/roles.py</p>
<ul class="simple">
<li><p>Apply patch #174 &quot;Lowercase new role names on registration&quot;
by John Thorvald Wodder II.</p></li>
</ul>
</li>
<li><p>docutils/utils/smartquotes.py</p>
<ul class="simple">
<li><p>Fix bug #383: Smart quotes around opening and separator characters.</p></li>
</ul>
</li>
<li><p>docutils/transforms/components.py</p>
<ul class="simple">
<li><p>Allow a comma-separated list of formats for the Filter transform.</p></li>
</ul>
</li>
<li><p>docutils/writers/html*</p>
<ul class="simple">
<li><p>Implement feature request #40 &quot;Option to embed images as data URI&quot;.</p></li>
</ul>
</li>
<li><p>docutils/writers/html5_polyglot/__init__.py</p>
<ul>
<li><p>Use the new semantic tags &lt;main&gt;, &lt;section&gt;, &lt;header&gt;,
&lt;footer&gt;, &lt;aside&gt;, &lt;figure&gt;, and &lt;figcaption&gt;.
See <span class="docutils literal">minimal.css</span> and <span class="docutils literal">plain.css</span> for styling rule examples.</p>
<p>Change the <a class="reference external" href="docs/user/config.html#initial-header-level">initial_header_level</a> setting 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 &lt;section&gt;</a>.</p>
</li>
<li><p>Use HTML text-level tags &lt;small&gt;, &lt;s&gt;, &lt;q&gt;, &lt;dfn&gt;, &lt;var&gt;, &lt;samp&gt;, &lt;kbd&gt;,
&lt;i&gt;, &lt;b&gt;, &lt;u&gt;, &lt;mark&gt;, and &lt;bdi&gt; if a unique, matching class value
is found in <a class="reference external" href="docs/ref/doctree.html#inline">inline</a> and <a class="reference external" href="docs/ref/doctree.html#literal">literal</a> elements.
Use &lt;ins&gt; and &lt;del&gt; if a unique matching class value
is found in <cite>inline</cite>, <cite>literal</cite>, or <cite>container</cite> elements.
Use &lt;small&gt; for generated code line numbers.</p>
</li>
<li><p>Fix bug #398: properly close link tag to &quot;schema.dcterms&quot;.</p></li>
<li><p>Add a <a class="reference external" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Viewport_meta_tag">viewport meta tag</a> to fix rendering in mobile browsers.</p>
</li>
<li><p>Use &lt;video&gt; for images with video MIME types supported by HTML5.</p></li>
</ul>
</li>
<li><p>docutils/writers/html5_polyglot/minimal.css</p>
<ul class="simple">
<li><p>Move non-essential styling to <span class="docutils literal">plain.css</span>.
Small fixes and tweaks.</p></li>
<li><p>Support &quot;captionbelow&quot; class value for tables.</p></li>
<li><p>Display code line numbers as pseudo-elements which are skipped
when copying text from code blocks. Solves feature request #32.</p></li>
</ul>
</li>
<li><p>docutils/writers/html5_polyglot/plain.css</p>
<ul class="simple">
<li><p>Support numbered figures.</p></li>
</ul>
</li>
<li><p>docutils/writers/html5_polyglot/responsive.css</p>
<ul class="simple">
<li><p>New optional style that adapts to different screen sizes.</p></li>
</ul>
</li>
<li><p>docutils/writers/latex2e/__init__.py</p>
<ul class="simple">
<li><p>Use LaTeX environments for admonitions and &quot;class wrappers&quot; for styling
admonitions and titles if the new configuration setting
<a class="reference external" href="docs/user/config.html#legacy-class-functions">legacy_class_functions</a> is False.</p></li>
<li><p>Remove backwards compatibility code for the deprecated
<a class="reference external" href="docs/user/latex.html#custom-interpreted-text-roles">styling command</a> prefix <span class="docutils literal">\docutilsrole</span>.</p>
</li>
<li><p>Remove legacy LaTeX stylesheet <span class="docutils literal"><span class="pre">docutils-05-compat.sty</span></span>.</p></li>
<li><p>Support the <cite>memoir</cite> LaTeX document class.
Fixes bugs #390, #391, and #392. Thanks to John Thorvald Wodder II.</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>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 list &quot;docutils&quot;.</p>
</li>
<li><p>Apply patch #173 &quot;Make *TeX writers convert nonstandard table
classes to DUclass environments&quot; by John Thorvald Wodder II.</p></li>
<li><p>Fix bug #408 &quot;Incorrect assert in latex writer
for multiple citation references&quot;.</p></li>
<li><p>Apply patch #175 &quot;Fix alignment of nested tables&quot;
by John Thorvald Wodder II. Additional fixes to table alignment.</p></li>
<li><p>Do not write Docutils-generated ToC, when <span class="docutils literal">use_latex_toc == True</span>.
(This did happen when publishing from a doctree.)</p></li>
<li><p>Set PDF document properties from &quot;meta&quot; directive content.</p></li>
<li><p>Apply version of patch #176 &quot;LaTeX writer: Append <span class="docutils literal">\leavevmode</span> to
non-docinfo field names&quot; by John Thorvald Wodder II.</p></li>
</ul>
</li>
<li><p>docutils/writers/manpage.py</p>
<ul class="simple">
<li><p>Fix #394 fix missing new line after rubric.</p></li>
<li><p>Patch #168 fix crashing on empty citation (by Takeshi KOMIYA).</p></li>
<li><p>Fix #126 manpage title with spaces.</p></li>
<li><p>Fix #380 command line option problem in sphinx.</p></li>
</ul>
</li>
<li><p>docutils/writers/odf_odt/__init__.py</p>
<ul class="simple">
<li><p>Fix/improve metadata handling:
fix &quot;keyword&quot; splitting,
allow generic fields (stored as &quot;Custom Properties&quot;).</p></li>
</ul>
</li>
<li><p>docutils/writers/pseudoxml.py</p>
<ul class="simple">
<li><p>New option <a class="reference external" href="docs/user/config.html#detailed">detailled</a>.</p></li>
</ul>
</li>
<li><p>test/DocutilsTestSupport.py</p>
<ul class="simple">
<li><p>Run python3 test like python2 against source not the build/-directory</p></li>
</ul>
</li>
<li><p>tools/docutils-cli.py</p>
<ul class="simple">
<li><p>New generic command line front end that allows the free selection of
reader, parser, and writer components.</p></li>
</ul>
</li>
</ul>
</section>
<section id="release-0-16-2020-01-16">
<h2><a class="toc-backref" href="#toc-entry-9" role="doc-backlink">Release 0.16 (2020-01-16)</a><a class="self-link" title="link to this section" href="#release-0-16-2020-01-16"></a></h2>
<ul class="simple">
<li><p>General</p>
<ul>
<li><p>Dropped support for Python 2.6, 3.3 and 3.4</p></li>
<li><p>Docutils now supports Python 2.7 and Python 3.5+ natively
(without conversion by <cite>2to3</cite>).</p></li>
<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. Backslash characters in
text are be represented by NULL characters in the <cite>text</cite> attribute of
Doctree nodes and removed in the writing stage by the node's
<cite>astext()</cite> method.</p></li>
</ul>
</li>
<li><p>docutils/io.py</p>
<ul>
<li><p>Remove the <cite>handle_io_errors</cite> option from io.FileInput/Output.</p></li>
</ul>
</li>
<li><p>docutils/nodes.py</p>
<ul>
<li><p>Speed up Node.next_node().</p></li>
<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>
<li><p>Warn about <cite>Node.traverse()</cite> returning an iterator instead of a list
in future.</p></li>
</ul>
</li>
<li><p>docutils/statemachine.py</p>
<ul>
<li><p>Patch [ 158 ]: Speed up patterns by saving compiled versions (eric89gxl)</p></li>
</ul>
</li>
<li><p>docutils/transforms/universal.py</p>
<ul>
<li><p>Fix [ 332 ]: Standard backslash escape for smartquotes.</p></li>
<li><p>Fix [ 342 ]: No escape in roles descending from <cite>inline literal</cite>.</p></li>
</ul>
</li>
<li><p>docutils/utils/__init__.py</p>
<ul>
<li><p><cite>unescape()</cite> definition moved to <cite>nodes</cite> to avoid circular import
dependency. Fixes [ 366 ].</p></li>
</ul>
</li>
<li><p>docutils/writers/latex2e/__init__.py</p>
<ul>
<li><p>Fix topic subtitle.</p></li>
<li><p>Make &quot;rubric&quot; bold-italic and left aligned.</p></li>
<li><p>Fix [ 339 ] don't use &quot;alltt&quot; or literal-block-environment
in admonitions and footnotes.</p></li>
<li><p>Deprecation warning for <span class="docutils literal">\docutilsrole</span>-prefixed styling commands.</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>docutils/writers/manpage.py</p>
<ul>
<li><p>Apply fix for [ 287 ] comma after option is bold.</p></li>
<li><p>Apply fix for [ 289 ], line starting with <span class="docutils literal">.</span> in a text.</p></li>
</ul>
</li>
<li><p>docutils/writers/odf_odt/__init__.py</p>
<ul>
<li><p>Fix: ElementTree.getchildren deprecated warning</p></li>
</ul>
</li>
<li><p>docutils/writers/xetex/__init__.py</p>
<ul>
<li><p>Add &quot;latex writers&quot; to the <cite>config_section_dependencies</cite>.</p></li>
</ul>
</li>
<li><p>test/alltests.py</p>
<ul>
<li><p>Fix: 377 ResourceWarning: unclosed file python3.8
Close alltests.out with atexit.</p></li>
</ul>
</li>
<li><p>test/functional/*</p>
<ul>
<li><p>Fix: 377 ResourceWarning: unclosed file python3.8
Read defaults file with context.</p></li>
<li><p>Set <a class="reference external" href="docs/user/config.html#auto-id-prefix">auto_id_prefix</a> to &quot;%&quot; (expands to tag-names).
Results in descriptive links in HTML and more localized changes when
editions to the input add or remove auto-ids.</p></li>
</ul>
</li>
<li><p>test/test_io.py</p>
<ul>
<li><p>Apply patch #157: avoid test failure because of a <cite>ResourceWarning</cite>.</p></li>
</ul>
</li>
<li><p>test/test_writers/test_odt.py</p>
<ul>
<li><p>Fix [ 359 ]: Test suite fails on Python 3.8. odt XML sorting.
Use ElementTree instead of minidom.</p></li>
</ul>
</li>
<li><p>tools/buildhtml.py</p>
<ul>
<li><p>New option <a class="reference external" href="docs/user/config.html#html-writer">html_writer</a>.</p></li>
</ul>
</li>
</ul>
</section>
<section id="release-0-15-1-2019-07-24">
<h2><a class="toc-backref" href="#toc-entry-10" role="doc-backlink">Release 0.15.1 (2019-07-24)</a><a class="self-link" title="link to this section" href="#release-0-15-1-2019-07-24"></a></h2>
<p>source: branches/rel-0.15</p>
<p>Bugs #366 fix release for python2 only.</p>
</section>
<section id="release-0-15-2019-07-20">
<h2><a class="toc-backref" href="#toc-entry-11" 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>
<ul class="simple">
<li><p>General</p>
<ul>
<li><p>Dropped support for Python 2.4, 2.5, 3.1, and 3.2.</p></li>
<li><p>Infrastructure automation.</p></li>
</ul>
</li>
<li><p>docs/ref/rst/restructuredtext.txt</p>
<ul>
<li><p>Document rST syntax change: Tokens like <span class="docutils literal">:this:example:</span> are now valid
field list names (instead of ordinary text).</p></li>
</ul>
</li>
<li><p>docutils/io.py</p>
<ul>
<li><p>Fix [ 348 ] Since Python 3.4, the 'U' universal newlines mode has been
deprecated. Thanks to hugovk.</p></li>
</ul>
</li>
<li><p>docutils/languages/ko.py, docutils/parsers/rst/languages/ko.py</p>
<ul>
<li><p>Apply [ 153 ] Korean mappings by Thomas Sungjin Kang.</p></li>
</ul>
</li>
<li><p>docutils/nodes.py</p>
<ul>
<li><p>Fix [ 251 ] <cite>system_message.copy()</cite>  <cite>TypeError</cite>.</p></li>
<li><p><cite>Element.copy()</cite> also copies <cite>document</cite>, <cite>line</cite>, and <cite>source</cite> attributes.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/__init__.py</p>
<ul>
<li><p>Apply [ 152 ] reset <cite>default role</cite> at end of document.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/states.py</p>
<ul>
<li><p>Allow embedded colons in field list field names.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/html.py</p>
<ul>
<li><p>Fix bug #281: Remove escaping backslashes in meta directive content.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/misc.py</p>
<ul>
<li><p>Don't convert tabs to spaces, if <cite>tab_width</cite> is negative in
&quot;include&quot; directive with &quot;code&quot; option.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/tables.py</p>
<ul>
<li><p>Apply patch #121: Add &quot;width&quot; option for the table directives.</p></li>
</ul>
</li>
<li><p>docutils/transforms/frontmatter.py</p>
<ul>
<li><p>Add field name as class argument to generic docinfo fields unconditionally.</p></li>
</ul>
</li>
<li><p>docutils/transforms/references.py</p>
<ul>
<li><p>Fix bug #331: fixed the &quot;trim&quot; options of the &quot;unicode&quot; directive.</p></li>
</ul>
</li>
<li><p>docutils/utils/__init__.py</p>
<ul>
<li><p>Deprecate <cite>unique_combination()</cite> (obsoleted by <cite>itertools.combination()</cite>.</p></li>
</ul>
</li>
<li><p>docutils/utils/smartquotes.py</p>
<ul>
<li><p>Fix bug #332: use open quote after whitespace, ZWSP, and ZWNJ.</p></li>
</ul>
</li>
<li><p>docutils/writers/html5_polyglot/</p>
<ul>
<li><p>automatically add HTML5-compatible meta tags for docinfo items
&quot;authors&quot;, &quot;date&quot;, and &quot;copyright&quot;.</p></li>
</ul>
</li>
<li><p>docutils/writers/_html_base.py</p>
<ul>
<li><p>Fix bug #358: Non-breaking space removed from fixed-width literal.</p></li>
</ul>
</li>
<li><p>docutils/writers/latex2e/__init__.py</p>
<ul>
<li><p>Fix bug #323: spurious <span class="docutils literal">\phantomsection</span> and whitespace in
<span class="docutils literal"><span class="pre">parts['title']</span></span>.</p></li>
<li><p>Fix bug #324: Invalid LaTeX for table with empty multi-column cell.</p></li>
<li><p>Fixes to literal block handling.</p></li>
</ul>
</li>
</ul>
</section>
<section id="release-0-14-2017-08-03">
<h2><a class="toc-backref" href="#toc-entry-12" 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>
<ul>
<li><p>docs/ref/docutils.dtd</p>
<ul>
<li><p>Enable validation of Docutils XML documents against the DTD:</p>
<p>Use attribute type NMTOKEN instead of REFID for the <cite>refid</cite> attribute
and NMTOKENS for <cite>backrefs</cite>: REFID refers to an ID type instance,
however, the <cite>ids</cite> attribute cannot use the ID type because <a class="reference external" href="https://www.w3.org/TR/REC-xml/#sec-attribute-types">XML only
allows one ID per Element Type</a> and doesn't support a multiple-ID
&quot;IDS&quot; attribute type.</p>
</li>
</ul>
</li>
<li><p>docs/ref/rst/restructuredtext.txt</p>
<ul class="simple">
<li><p>Added documentation for escaped whitespace in URI contexts.</p></li>
<li><p>Clarify use of Unicode character categories.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/states.py</p>
<ul class="simple">
<li><p>Added functionality: escaped whitespace in URI contexts.</p></li>
<li><p>Consistent handling of all whitespace characters in inline markup
recognition. Fixes [ 307 ] and [ 3402314 ] (now [ 173 ]).</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/images.py</p>
<ul class="simple">
<li><p>Added support for escaped whitespace in URI contexts.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/tables.py</p>
<ul class="simple">
<li><p>Rework patch [ 120 ] (revert change to Table.get_column_widths()
that led to problems in an application with a custom table directive).</p></li>
</ul>
</li>
<li><p>docutils/transforms/frontmatter.py</p>
<ul class="simple">
<li><p>Fix [ 320 ] Russian docinfo fields not recognized.</p></li>
</ul>
</li>
<li><p>docutils/transforms/references.py</p>
<ul class="simple">
<li><p>Don't add a second ID to problematic references.</p></li>
</ul>
</li>
<li><p>docutils/transforms/universal.py</p>
<p>Fix <cite>SmartQuotes</cite>: warn only once if language is unsupported,
keep &quot;rawsource&quot; when &quot;educating&quot; quotes.</p>
</li>
<li><p>docutils/utils/__init__.py</p>
<ul class="simple">
<li><p>Added <cite>split_escaped_whitespac()</cite> function, support for escaped
whitespace in URI contexts.</p></li>
</ul>
</li>
<li><p>docutils/utils/error_reporting.py</p>
<ul class="simple">
<li><p>Fix [ 321 ] Import block might cause name error.</p></li>
</ul>
</li>
<li><p>docutils/utils/smartquotes.py</p>
<ul class="simple">
<li><p>Update quote definitions for languages et, fi, fr, ro, sv, tr, uk.</p></li>
<li><p>New quote definitions for hr, hsb, hu, lv, sh, sl, sr.</p></li>
<li><p>Fix [ 313 ] Differentiate apostrophe from closing single quote
(if possible).</p></li>
<li><p>Fix [ 317 ] Extra space inserted with French smartquotes.</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.py</p>
<ul class="simple">
<li><p>Provide default title in metadata (required by HTML5).</p></li>
<li><p>Fix [ 312 ] HTML writer generates invalid HTML if the table has two tags.</p></li>
<li><p>Fix [ 319 ] 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 <a class="reference external" href="docs/user/config.html#math-output">math_output</a> is set to MathJax without specifying a URL.</p></li>
</ul>
</li>
<li><p>docutils/writers/html4css1/__init__.py</p>
<ul class="simple">
<li><p>Apply [ 125 ] HTML writer: respect automatic table column sizing.</p></li>
</ul>
</li>
<li><p>docutils/writers/latex2e/__init__.py</p>
<ul class="simple">
<li><p>Handle class arguments for block-level elements by wrapping them
in a &quot;DUclass&quot; environment. This replaces the special handling for
<cite>epigraph</cite> and <cite>topic</cite> elements.</p></li>
</ul>
</li>
<li><p>docutils/writers/manpage.py</p>
<ul class="simple">
<li><p>Apply [ 141 ] Handling inline in manpage writer.</p></li>
</ul>
</li>
<li><p>docutils/writers/odf_odt/__init__.py</p>
<ul class="simple">
<li><p>Command line setting <a class="reference external" href="docs/user/config.html#language">language</a> now sets the default language
of the generated ODF document.</p></li>
<li><p>The use of image directive options :width: (%), :scale:, etc now
set the width/height/size of images in the generated ODF
documents.</p></li>
<li><p>The heading/title of admonitions now reflects the language
specified by the <a class="reference external" href="docs/user/config.html#language">language</a> setting.</p></li>
<li><p>Fixed [ 306 ] only first of multiple &quot;image&quot; directives with the same URL
shown in output.</p></li>
<li><p>Fixed [ 282 ] python3:  <cite>AttributeError</cite>.</p></li>
</ul>
</li>
<li><p>tools/rst2html4.py: New front-end.</p></li>
<li><p>tools/dev/generate_punctuation_chars.py: New script
to test and update utils.punctuation_chars.</p></li>
</ul>
</section>
<section id="release-0-13-1-2016-12-09">
<h2><a class="toc-backref" href="#toc-entry-13" 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>
<li><p>docutils/languages/fa.py
docutils/parsers/rst/languages/fa.py
docutils/languages/la.py
docutils/parsers/rst/languages/la.py:</p>
<ul class="simple">
<li><p>Apply [ 133 ] Persian mappings by Shahin Azad.</p></li>
<li><p>Apply [ 135 ] Language modules for Latvian by Alexander Smishlajev</p></li>
</ul>
</li>
<li><p>docutils/nodes.py</p>
<ul class="simple">
<li><p>Fix [ 253 ] Attribute key without value not allowed in XML.</p></li>
</ul>
</li>
<li><p>docutils/parsers/</p>
<ul class="simple">
<li><p>Apply [ 103 ] Recognize inline markups without word boundaries.</p></li>
<li><p>Enable escaping in embedded URIs and aliases (fixes [ 284 ]).</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/__init__.py</p>
<ul class="simple">
<li><p>Fix [ 233 ] Change the base URL for the :rfc: role.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/tables.py</p>
<ul class="simple">
<li><p>Apply [ 120 ] tables accept option widths: list of relative widths, 'auto'
or 'grid'.</p></li>
<li><p>Implement feature request [ 48 ]
Add :align: option to the table directives.
Thanks to Takeshi KOMIYA for the patch.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/roles.py</p>
<ul class="simple">
<li><p>Fix [ 295 ] Class argument for custom role inheriting from math.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/tableparser.py</p>
<ul class="simple">
<li><p>Really fix [ 159 ] Spurious table column alignment errors.</p></li>
</ul>
</li>
<li><p>docutils/transforms/frontmatter.py</p>
<ul class="simple">
<li><p>Add name of generic bibliographic fields as a &quot;classes&quot; attribute value
(after conversion to a valid identifier form).</p></li>
</ul>
</li>
<li><p>docutils/utils/error_reporting.py</p>
<ul class="simple">
<li><p>Fix [ 130 ] support streams expecting byte-strings in ErrorOutput.</p></li>
</ul>
</li>
<li><p>docutils/utils/math/math2html.py</p>
<ul class="simple">
<li><p>Add <span class="docutils literal">\colon</span> macro, fix spacing around colons. Fixes [ 246 ].</p></li>
<li><p>New upstream version (additional macros, piece-wise integrals and sums).</p></li>
</ul>
</li>
<li><p>docutils/writers/_html_base.py</p>
<ul class="simple">
<li><p>New auxiliary module for definitions common to all HTML writers.</p></li>
</ul>
</li>
<li><p>docutils/writers/html5_polyglot/</p>
<ul>
<li><p>New HTML writer generating clean, <a class="reference external" href="https://www.w3.org/TR/html-polyglot/">polyglot</a> markup conforming to
<a class="reference external" href="https://www.w3.org/TR/html5/">HTML 5</a>.</p>
<p>The CSS stylesheets <span class="docutils literal">minimal.css</span> and <span class="docutils literal">plain.css</span> contain required
and recommended layout rules.</p>
</li>
</ul>
</li>
<li><p>docutils/writers/html4css1/__init__.py</p>
<ul class="simple">
<li><p>Add &quot;docutils&quot; to class values for &quot;container&quot; object to address [ 267 ].</p></li>
<li><p>Apply patch [ 119 ] by Anatoly Techtonik: use absolute paths for
<cite>default_stylesheet_path</cite> and <cite>default_template_path</cite>.</p></li>
<li><p>Fix [ 266 ] creating labels/class values in description list items.</p></li>
<li><p>Do not use &lt;sup&gt; and &lt;sub&gt; tags inside &lt;pre&gt; (parsed-literal blocks).</p></li>
<li><p>Fix footnotes with content that does not start with a paragraph.</p></li>
<li><p>Use https in default MathJax URL (report Alan G Isaac).</p></li>
<li><p>Outsourcing of common code to _html_base.py.</p></li>
</ul>
</li>
<li><p>docutils/writers/latex2e/__init__.py</p>
<ul class="simple">
<li><p>Fix [ 262 ] Use <span class="docutils literal">\linewidth</span> instead of <span class="docutils literal">\textwidth</span> for figures,
admonitions and docinfo.</p></li>
<li><p>Use absolute path for <cite>default_template_path</cite>.</p></li>
<li><p>Removed deprecated options <span class="docutils literal"><span class="pre">--use-latex-footnotes</span></span> and
<span class="docutils literal"><span class="pre">--figure-footnotes</span></span>.</p></li>
<li><p>Cleaner LaTeX code for enumerations and literal blocks.</p></li>
<li><p>Use <cite>hyperref</cite> package together with <cite>bookmark</cite> (improved hyperlinking
by the same author).</p></li>
<li><p>Fix [ 286 ] Empty column title cause invalid latex file.</p></li>
<li><p>Fix [ 224 ] Fix rowspan support for tables.</p></li>
<li><p>Let LaTeX determine the column widths in tables with &quot;colwidths-auto&quot;.
Not suited for multi-paragraph cells!</p></li>
</ul>
</li>
<li><p>docutils/writers/odf_odt/__init__.py</p>
<ul class="simple">
<li><p>remove decode.encode of filename stored in zip.</p></li>
</ul>
</li>
<li><p>docutils/writers/xetex/__init__.py</p>
<ul class="simple">
<li><p>LuaLaTex compatibility: do not load <cite>xunicode</cite> package.</p></li>
</ul>
</li>
<li><p>tools/</p>
<ul class="simple">
<li><p>New front-end <span class="docutils literal">rst2html5.py</span>.</p></li>
</ul>
</li>
<li><p>tox.ini</p>
<ul>
<li><p>Test py26, py27, py33 and py34.</p>
<p>To use, install the <cite>tox</cite> package via pip or easy_install and use
tox from the project root directory.</p>
</li>
</ul>
</li>
</ul>
</section>
<section id="release-0-12-2014-07-06">
<h2><a class="toc-backref" href="#toc-entry-14" 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>
<ul class="simple">
<li><p>docs/ref/rst/directives.txt</p>
<ul>
<li><p>Update &quot;math&quot; and &quot;csv-table&quot; descriptions.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/images.py</p>
<ul>
<li><p>Fix [ 258 ] <span class="docutils literal"><span class="pre">figwidth=&quot;image&quot;</span></span> generates unitless width value.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/states.py</p>
<ul>
<li><p>Improve error report when a non-ASCII character is specified as
delimiter, quote or escape character under Python 2.
Fixes [ 249 ] and [ 250 ].</p></li>
</ul>
</li>
<li><p>docutils/writers/html4css1/__init__.py</p>
<ul>
<li><p>Don't add newline after inline math.
Thanks to Yury G. Kudryashov for the patch.</p></li>
</ul>
</li>
<li><p>docutils/writers/latex2e/__init__.py</p>
<ul>
<li><p>Fix [ 239 ] Latex writer glues paragraphs with figure floats.</p></li>
<li><p>Apply [ 116 ] by Kirill Smelkov. Don't hard code large for subtitle.</p></li>
</ul>
</li>
<li><p>docutils/writers/odf_odt/__init__.py</p>
<ul>
<li><p>Apply patch by Jakub Wilk to fix bug [ 100 ].</p></li>
</ul>
</li>
<li><p>test/test_error_reporting.py</p>
<ul>
<li><p>Fix [ 223 ] by removing redundant tests we do not have control over.</p></li>
</ul>
</li>
<li><p>test/test_nodes.py</p>
<ul>
<li><p>Apply [ 115 ] respect fixed 2to3 string literal conversion behaviour.</p></li>
</ul>
</li>
</ul>
</section>
<section id="release-0-11-2013-07-22">
<h2><a class="toc-backref" href="#toc-entry-15" 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 class="simple">
<li><p>General</p>
<ul>
<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/nodes.py</p>
<ul>
<li><p>Fix [ 3601607 ] <cite>node.__repr__()</cite> must return <cite>str</cite> instance.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/__init__.py</p>
<ul>
<li><p>Fix [ 3606028 ] <cite>assert</cite> is skipped with <span class="docutils literal">python <span class="pre">-O</span></span>.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/images.py</p>
<ul>
<li><p>Apply [ 3599485 ] node source/line information for sphinx translation.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/tables.py</p>
<ul>
<li><p>Fix [ 210 ] Python 3.3 checks CVS syntax only if &quot;strict&quot; is True.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/states.py</p>
<ul>
<li><p>Fix [ 157 ] Line block parsing doesn't like system message.</p></li>
<li><p>Always import our local copy of roman.py (report Larry Hastings).</p></li>
</ul>
</li>
<li><p>docutils/transforms/references.py</p>
<ul>
<li><p>Fix [ 3607029 ] traceback with embedded alias pointing to missing target.</p></li>
</ul>
</li>
<li><p>docutils/utils/__init__.py</p>
<ul>
<li><p>Fix [ 3596884 ] exception importing <cite>docutils.io</cite>.</p></li>
</ul>
</li>
<li><p>docutils/writers/html4css1/__init__.py</p>
<ul>
<li><p>Fix [ 3600051 ] for tables in a list, table cells are not compacted.</p></li>
<li><p>New setting <a class="reference external" href="docs/user/config.html#stylesheet-dirs">stylesheet_dirs</a>: Comma-separated list of directories
where stylesheets are found. Used by <cite>stylesheet_path</cite> when expanding
relative path arguments.</p></li>
<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>
<li><p>Drop the simple algorithm replacing straight double quotes with
English typographic ones.
Use the <a class="reference external" href="docs/user/config.html#smart-quotes">smart_quotes</a> setting to activate this feature.</p></li>
<li><p>Fix literal use of babel shorthands (straight quote, tilde, ...).</p></li>
<li><p>Fix [ 3603246 ] Bug in option <span class="docutils literal"><span class="pre">--graphicx-option=auto</span></span>.</p></li>
<li><p>New setting <a class="reference external" href="docs/user/config.html#stylesheet-dirs-latex-writers">stylesheet_dirs</a>.</p>
</li>
</ul>
</li>
<li><p>docutils/writers/manpage.py</p>
<ul>
<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-16" 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>
<ul class="simple">
<li><p>General</p>
<ul>
<li><p>Dropped support for Python 2.3.</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.</p></li>
<li><p>Fix [3541369] Relative __import__ also with Python 3.3.</p></li>
<li><p>Fix [3559988] and [3560841] __import__ local writer, reader, languages
and parsers for Python 2.7 up.</p></li>
<li><p>Fix import of PIL.Image.</p></li>
<li><p>Change default of <a class="reference external" href="docs/user/config.html#syntax-highlight">syntax_highlight</a> option to &quot;long&quot;,
basic syntax highlight styles for LaTeX and HTML.</p></li>
</ul>
</li>
<li><p>docutils/io.py</p>
<ul>
<li><p>FileInput/FileOutput: no system-exit on IOError.  The <cite>handle_io_errors</cite>
option is ignored and will be removed in a future release.</p></li>
<li><p>Fix Py3k error writing to stdout with encoding differing from default.</p></li>
<li><p>Fix opening binary files under Py3k (thanks to Dominic Fitzpatrick).</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/misc.py</p>
<ul>
<li><p>Fix [ 3546533 ] Unicode error with &quot;date&quot; directive.</p></li>
</ul>
</li>
<li><p>docutils/transforms/universal.py</p>
<ul>
<li><p>SmartQuotes transform for typographic quotes and dashes.</p></li>
</ul>
</li>
<li><p>docutils/utils/__init__.py</p>
<ul>
<li><p><cite>normalize_language_tag()</cite> now returns <a class="reference external" href="https://www.rfc-editor.org/rfc/bcp/bcp47.txt">BCP 47</a> conforming tags
with sub-tags separated by <span class="docutils literal">-</span>.</p></li>
</ul>
</li>
<li><p>docutils/writers/html4css1/__init__.py</p>
<ul>
<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/manpage.py</p>
<ul>
<li><p>Apply [ 3527401 ] admonition's don't preserve indentation</p></li>
<li><p>Apply [ 3527397 ] Add indentation to literal blocks in manpage writer.</p></li>
</ul>
</li>
<li><p>docutils/writers/xetex/__init__.py</p>
<ul>
<li><p>Apply [ 3555160 ] ensure order of &quot;otherlanguages&quot;.</p></li>
<li><p>Fix section numbering by LaTeX.</p></li>
</ul>
</li>
<li><p>docutils/writers/s5_html/__init__.py</p>
<ul>
<li><p>Fix [ 3556388 ] MathJax does not work with rst2s5.</p></li>
</ul>
</li>
<li><p>docutils/writers/docutils_xml.py</p>
<ul>
<li><p>Fix [ 3552403 ] Prevent broken PyXML replacing stdlibs xml module.</p></li>
<li><p>Fix/improve output with <a class="reference external" href="docs/user/config.html#indents">indents</a> setting.</p></li>
</ul>
</li>
<li><p>setup.py</p>
<ul>
<li><p>Tag <span class="docutils literal">math.css</span> stylesheet as data file (patch by Dmitry Shachnev).</p></li>
</ul>
</li>
<li><p>tools/test/test_buildhtml.py</p>
<ul>
<li><p>Fix [ 3521167 ] allow running in any directory.</p></li>
<li><p>Fix [ 3521168 ] allow running with Python 3.</p></li>
</ul>
</li>
</ul>
</section>
<section id="release-0-9-1-2012-06-17">
<h2><a class="toc-backref" href="#toc-entry-17" 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>
<ul>
<li><p>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">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>
<li><p>test/</p>
<ul class="simple">
<li><p>Make tests independent from the location of the <span class="docutils literal">test/</span> directory.</p></li>
<li><p>Use converted sources (from the <span class="docutils literal">build/</span> directory) for tests under
Python 3.</p></li>
</ul>
</li>
<li><p>tools/</p>
<ul class="simple">
<li><p>Make tools compatible with both, Python 2 and 3 without 2to3-conversion.</p></li>
</ul>
</li>
<li><p>docutils/io.py</p>
<ul class="simple">
<li><p>Fix writing binary data to sys.stdout under Python 3 (allows
<span class="docutils literal">rst2odt.py</span> to be used with output redirection).</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/misc.py</p>
<ul class="simple">
<li><p>Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
<span class="docutils literal">locale == C</span> and 8-bit char in path argument of <cite>include</cite> directive.</p></li>
</ul>
</li>
<li><p>test/alltests.py</p>
<ul class="simple">
<li><p>class <cite>Tee</cite>: catch  <cite>UnicodeError</cite> when writing to &quot;ascii&quot; stream or
file under Python 3.</p></li>
</ul>
</li>
</ul>
</section>
<section id="release-0-9-2012-05-02">
<h2><a class="toc-backref" href="#toc-entry-18" 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 class="simple">
<li><p>General:</p>
<ul>
<li><p>New reStructuredText &quot;code&quot; role and directive and &quot;code&quot; option
of the &quot;include&quot; directive with syntax highlighting by <a class="reference external" href="https://pygments.org/">Pygments</a>.</p></li>
<li><p>Fix parse_option_marker for option arguments containing <span class="docutils literal">=</span>.</p></li>
<li><p>Fix [ 2993756 ]: import Python Imaging Library's Image module
via <span class="docutils literal">import PIL</span> as starting with PIL 1.2,
&quot;PIL lives in the PIL namespace only&quot; (<a class="reference external" href="https://mail.python.org/pipermail/image-sig/2011-January/006650.html">announcement</a>).</p></li>
</ul>
</li>
</ul>
<ul class="simple">
<li><p>setup.py</p>
<ul>
<li><p>Fix [ 2971827 ] and [ 3442827 ]
extras/roman.py moved to docutils/utils/roman.py</p></li>
</ul>
</li>
<li><p>docutils/frontend.py</p>
<ul>
<li><p>Fix [ 3481980 ] Use <cite>os.getcwdu()</cite> in <cite>make_paths_absolute()</cite>.</p></li>
</ul>
</li>
<li><p>docutils/io.py</p>
<ul>
<li><p>Fix [ 3395948 ] (Work around encoding problems in Py3k).</p></li>
<li><p><cite>mode</cite> argument for FileOutput avoids code replication in
BinaryFileOutput.</p></li>
<li><p>New exceptions  <cite>InputError</cite> and  <cite>OutputError</cite> for IO errors in
FileInput/FileOutput.</p></li>
</ul>
</li>
<li><p>docutils/core.py</p>
<ul>
<li><p>No &quot;hard&quot; system exit on file IO errors: catch and report them in
<cite>Publisher.reportException</cite> instead. Allows handling by a calling
application if the configuration setting <a class="reference external" href="docs/user/config.html#traceback">traceback</a> is True.</p></li>
</ul>
</li>
<li><p>docutils/utils.py -&gt; docutils/utils/__init__.py</p>
<ul>
<li><p>docutils.utils is now a package (providing a place for sub-modules)</p></li>
<li><p>DependencyList uses io.FileOutput and 'utf-8' encoding to prevent
errors recording non-ASCII filenames (fixes [ 3434355 ]).</p></li>
<li><p>Fix <cite>relative_path()</cite> with source=None and <cite>unicode</cite> target.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/states.py</p>
<ul>
<li><p>Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
characters and &quot;international&quot; quotes around inline markup.</p></li>
<li><p>Use <cite>field_marker</cite> pattern to look for start of a
directive option block (fixes [ 3484857 ]).</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/tableparser.py</p>
<ul>
<li><p>Fix [ 2926161 ] for simple tables.
(Combining chars in grid tables still contribute to cell width.)</p></li>
</ul>
</li>
<li><p>docutils/writers/latex2e/__init__.py</p>
<ul>
<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>Fix handling of missing stylesheets.</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>
<li><p>Use <span class="docutils literal">\DUtitle</span> for unsupported section levels.</p></li>
<li><p>Apply [ 3512791 ] do not compare string literals with &quot;is&quot;.</p></li>
</ul>
</li>
<li><p>docutils/writers/xetex/__init__.py</p>
<ul>
<li><p>Avoid code duplication with latex2e writer (solves [ 3512728 ]).</p></li>
</ul>
</li>
<li><p>docutils/writers/html4css1/__init__.py</p>
<ul>
<li><p>Change default for <a class="reference external" href="docs/user/config.html#math-output">math_output</a> setting to MathJax.</p></li>
<li><p>Fix handling of missing stylesheets.</p></li>
</ul>
</li>
<li><p>docutils/writers/docutils_xml.py</p>
<ul>
<li><p>Use the visitor pattern with <cite>default_visit()</cite>/<cite>default_depart()</cite> methods
instead of minidom to facilitate special handling of selected nodes.</p></li>
<li><p>Support raw XML (inserted as-is inside a &lt;raw&gt;&lt;/raw&gt; node).</p></li>
</ul>
</li>
<li><p>docutils/writers/manpage.py</p>
<ul>
<li><p>Do not emit comment line with trailing blank. Problematic for VCS.</p></li>
</ul>
</li>
</ul>
</section>
<section id="release-0-8-1-2011-08-30">
<h2><a class="toc-backref" href="#toc-entry-19" 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>test/</p>
<ul>
<li><p>Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.</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-20" 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>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,
<cite>math</cite> and <cite>math_block</cite> doctree elements.</p></li>
<li><p>Decode command line arguments with the locale's preferred encoding
(to allow, e.g., <span class="docutils literal"><span class="pre">--title=Dornröschen</span></span>).</p></li>
<li><p>Orphaned <cite>python</cite> reader and <cite>newlatex2e</cite> writer moved to the sandbox.</p></li>
<li><p>New sub-module <cite>error_reporting</cite>: handle encoding/decoding errors
when reporting exceptions.</p></li>
<li><p>Some additions to the Docutils core are released under the 2-Clause BSD
license, see <a class="reference external" href="COPYING.html">COPYING</a> for details.</p></li>
</ul>
</li>
<li><p>reStructuredText:</p>
<ul class="simple">
<li><p>Most directives now support a &quot;name&quot; option that attaches a
reference name.</p></li>
<li><p>Directive content may start on the first line also when the directive
type accepts options.</p></li>
</ul>
</li>
<li><p>docs/dev/policies.txt</p>
<ul class="simple">
<li><p>Recommend the 2-Clause BSD license
(<a class="reference external" href="http://opensource.org/licenses/BSD-2-Clause">http://opensource.org/licenses/BSD-2-Clause</a>)
for code that is kept under the author's copyright.</p></li>
</ul>
</li>
<li><p>tools/buildhtml.py</p>
<ul class="simple">
<li><p>Fix <span class="docutils literal"><span class="pre">--local</span></span> switch.</p></li>
</ul>
</li>
<li><p>Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.</p></li>
<li><p>docutils/writers/html4css1/__init__.py</p>
<ul class="simple">
<li><p>Set &quot;lang&quot; argument for objects with class argument
&quot;language-&lt;language tag&gt;&quot;.</p></li>
<li><p>New setting <a class="reference external" href="docs/user/config.html#math-output">math_output</a> with support for HTML, MathML, and LaTeX.</p></li>
</ul>
</li>
<li><p>docutils/writers/latex2e/__init__.py</p>
<ul class="simple">
<li><p>Fix [ 3043986 ]  <cite>AttributeError</cite> using :local: with table of content.</p></li>
<li><p>Place title data in the document preamble.</p></li>
<li><p>Load <cite>babel</cite> package only if required.</p></li>
<li><p>Update list of supported languages.</p></li>
<li><p>New config setting <a class="reference external" href="docs/user/config.html#hyperref-options">hyperref_options</a>.
No hard-coded &quot;unicode&quot; hyperref option (clash with xetex).</p></li>
<li><p>Set language for custom roles, paragraphs, block-quotes, and
line-quotes with class argument &quot;language-&lt;language tag&gt;&quot;.</p></li>
<li><p>Fix [ 3095603 ] wrong quotes output for Russian and other languages.</p></li>
<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>
<li><p>leavevmode before longtable only when needed (prevents spurious vspace)</p></li>
<li><p>do not advance table counter for tables without caption</p></li>
</ul>
</li>
<li><p>docutils/writers/xetex/__init__.py</p>
<ul>
<li><p>New writer generating LaTeX code for compiling with <span class="docutils literal">xelatex</span>.</p>
<p>A separate writer (inheriting from latex2e) instead of a <span class="docutils literal"><span class="pre">--xetex</span></span>
option allows separate config options for XeTeX vs. LaTeX2e.</p>
</li>
</ul>
</li>
<li><p>docutils/writers/manpage.py</p>
<ul class="simple">
<li><p>Fix: BUG#3219183 - vertical space in definition lists containing markup.</p></li>
<li><p>Fix: vertical space cleaning for option group <span class="docutils literal">.</span>.</p></li>
</ul>
</li>
<li><p>tools/editors/emacs/rst.el</p>
<ul class="simple">
<li><p>Fix [ 3001100 ] does not handle spaces in filenames.
Thanks to Jakub Wilk.</p></li>
</ul>
</li>
<li><p>docutils/utils.py</p>
<ul class="simple">
<li><p>strip whitespace from stylesheet arguments</p></li>
<li><p>exclude combining chars from column_width()
(partial fix for [ 2926161 ])</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/misc.py</p>
<ul class="simple">
<li><p>Fix [ 1830389 ] Replace not breaking on getting system_messages from
nested_parse</p></li>
</ul>
</li>
<li><p>docutils/io.py</p>
<ul class="simple">
<li><p>Do not <span class="docutils literal">close()</span> <cite>sys.stdin</cite>, <cite>sys.stdout</cite>, or <cite>sys.stderr</cite>. Prevents
<span class="docutils literal">Exception ValueError: 'I/O operation on closed file.'</span> with Python 3.</p></li>
</ul>
</li>
</ul>
</section>
<section id="release-0-7-2010-07-07">
<h2><a class="toc-backref" href="#toc-entry-21" 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>
<ul class="simple">
<li><p>General:</p>
<ul>
<li><p>Fix [ 2881769 ] setup configuration.</p></li>
<li><p>Fix [ 2788716 ] reporting problems in included files.</p></li>
</ul>
</li>
<li><p>docutils/io.py</p>
<ul>
<li><p>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>
</ul>
</li>
<li><p>docutils/nodes.py</p>
<ul>
<li><p>Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).</p></li>
</ul>
</li>
<li><p>docutils/utils.py</p>
<ul>
<li><p>Fix [ 2923723 ] let <cite>decode_path()</cite> tolerate <span class="docutils literal">path == None</span>.</p></li>
</ul>
</li>
<li><p>docutils/writers/html4css1/__init__.py</p>
<ul>
<li><p>Support SVG and SWF images (thanks to Stefan Rank).</p></li>
<li><p>Generate valid XHTML for centred images with targets.
Use CSS classes instead of &quot;align&quot; tags for image alignment.</p></li>
</ul>
</li>
<li><p>docutils/writers/latex2e/__init__.py</p>
<ul>
<li><p>Use <cite>transforms.writer_aux.Admonitions</cite> to &quot;normalize&quot; special
admonitions.</p></li>
<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 <a class="reference external" href="docs/ref/restructuredtext.html#inline-literals">inline literals</a>.</p></li>
<li><p>Deprecate <a class="reference external" href="docs/user/config.html#figure-footnotes">figure_footnotes</a> setting.</p></li>
<li><p>Rename <a class="reference external" href="docs/user/config.html#use-latex-footnotes">use_latex_footnotes</a> setting to <a class="reference external" href="docs/user/config.html#docutils-footnotes">docutils_footnotes</a>.</p></li>
<li><p>New <a class="reference external" href="docs/user/config.html#latex-preamble">latex_preamble</a> setting.</p></li>
<li><p>Use PDF standard fonts (Times/Helvetica/Courier) as default.</p></li>
<li><p>Fix hyperlink targets (labels) for images, figures, and tables.</p></li>
<li><p>Apply [ 2961988 ] Load babel after inputenc and fontenc.</p></li>
<li><p>Apply [ 2961991 ] Call hyperref with unicode option.</p></li>
<li><p>Drop the special <a class="reference external" href="docs/user/config.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>
<li><p>Render inline markup in document title and subtitle.</p></li>
<li><p>Fix numbering depth with LaTeX section numbering.</p></li>
<li><p>Update Unicode -&gt; LaTeX translations.</p></li>
<li><p>Fix bug with topic directive (thanks to Alan G Isaac for reporting).</p></li>
</ul>
</li>
</ul>
<ul class="simple">
<li><p>docutils/writers/manpage.py</p>
<ul>
<li><p>Fix: supported attribute (thanks to peter2108).</p></li>
<li><p>Remove trailing blanks in code (keep in sync with mercurial version).</p></li>
<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>
<li><p>docutils/nodes.py</p>
<ul>
<li><p>Fix: encoding <span class="docutils literal">'ascii'</span> must be lowercase to prevent problems for
Turkish locale.</p></li>
</ul>
</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-22" 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>
<ul class="simple">
<li><p>General:</p>
<ul>
<li><p>Docutils is now compatible with Python versions from 2.3 up to 2.6
and convertible to 3.1 code.</p>
<ul>
<li><p>Node.__nonzero__ returns True instead of 1.</p></li>
<li><p>use os.walk instead os.path.walk.</p></li>
<li><p>minimize <cite>types</cite> module where possible.</p></li>
<li><p>Backwards-compatible changes to remove python2.6 -3 deprecation warnings</p></li>
<li><p>Text nodes now subclass unicode rather than UserString
(which is gone in python 3.0).</p></li>
<li><p>3.0 compatibility module docutils._compat</p></li>
<li><p>Drop 2.2 compatibility workarounds.</p></li>
<li><p>Drop extras/optparse.py and extras/textwrap.py
(stdlib modules since 2.3).</p></li>
</ul>
</li>
<li><p>OpenOffice export: ODT writer moved from sandbox to Docutils core.</p></li>
<li><p>Unix man page export: manpage writer moved from sandbox to Docutils
core.</p></li>
<li><p>Apply [ 1719345 ] Galician translation</p></li>
<li><p>Apply [ 1905741 ] Polish translation</p></li>
<li><p>Apply [ 1878977 ] make_id(): deaccent characters.</p></li>
<li><p>Apply [ 2029251 ] return nonzero when tests fail.</p></li>
<li><p>Fix [ 1692788 ] allow UTF-8 in style sheets.</p></li>
<li><p>Fix [ 2781629 ] support non-ASCII chars in file names.</p></li>
<li><p>Apply [ 2845002 ] let <span class="docutils literal"><span class="pre">--no-raw</span></span> disable raw <em>roles</em> too.</p></li>
<li><p>Fix [ 2831643 ] renaming <cite>DirectiveError.message</cite> to <cite>DirectiveError.msg</cite></p></li>
<li><p>Fix [ 2821266 ] <span class="docutils literal"><span class="pre">--strict</span></span> option works now like <span class="docutils literal"><span class="pre">--halt=info</span></span>.</p></li>
<li><p>Fix [ 2788716 ]  <cite>DirectiveError</cite> now correctly reports source and line.</p></li>
<li><p>Fix [ 1627229 ] hyperlink references in substitutions.</p></li>
<li><p>The <cite>newlatex</cite> writer is orphaned.</p></li>
</ul>
</li>
<li><p>reStructuredText:</p>
<ul>
<li><p>Documented Unicode characters allowed as inline markup openers,
closers, and delimiters.</p></li>
<li><p>Allow 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>
</ul>
</li>
<li><p>docutils/nodes.py:</p>
<ul>
<li><p>Added <cite>Element.__contains_()</cite> method, for the in-operator.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/states.py:</p>
<ul>
<li><p>Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.</p></li>
<li><p>Added support for Unicode inline markup delimiters &quot;‐ ‑ ‒ – —&quot; and
&quot; &quot; (non-breaking space), and &quot;¡ ¿&quot; openers.</p></li>
</ul>
</li>
<li><p>docutils/parsers/directives/misc.py:</p>
<ul>
<li><p>Added <span class="docutils literal"><span class="pre">start-line</span></span> and <span class="docutils literal"><span class="pre">end-line</span></span> options to &quot;include&quot;
directive to select a range of lines.</p></li>
<li><p>Hard tabs in literal inclusions are replaced by spaces. This is
configurable via the new <span class="docutils literal"><span class="pre">tab-width</span></span> option of the &quot;include&quot; directive
(a negative tab-width prevents tab expansion).</p></li>
</ul>
</li>
<li><p>docutils/utils.py:</p>
<ul>
<li><p>Add <cite>get_stylesheet_lis()</cite> function.</p></li>
<li><p>Apply [ 2834836 ] print info at halt</p></li>
</ul>
</li>
<li><p>docutils/transforms/universal.py:</p>
<ul>
<li><p>Raise default priority of StripClasses to exclude stripped classes from
the ToC.</p></li>
</ul>
</li>
<li><p>docutils/writers/html4css1/__init__.py:</p>
<ul>
<li><p><a class="reference external" href="docs/user/config.html#stylesheet">stylesheet</a> and <a class="reference external" href="docs/user/config.html#stylesheet-path">stylesheet_path</a> settings support a comma
separated list of stylesheets.</p></li>
<li><p>Address [ 1938891 ] Inline literal text creates &quot;pre&quot; span only when
needed to prevent inter-word line wraps.</p></li>
<li><p>Use <cite>translate()</cite> method instead of repeated <cite>replace()</cite> calls.</p></li>
<li><p>Fix [ 1757105 ] New <a class="reference external" href="docs/user/config.html#table-style">table_style</a> setting. Added to standard table
classes to allow CSS styling that does not interfere with other
table-using constructs (field lists, citations, ...).</p></li>
</ul>
</li>
<li><p>docutils/writers/newlatex2e/__init__.py:</p>
<ul>
<li><p>Apply [ 1612821 ] Double quotes in literal text in Italian/German</p></li>
</ul>
</li>
<li><p>docutils/writers/latex2e/__init__.py:</p>
<ul>
<li><p>Add <a class="reference external" href="docs/user/config.html#embed-stylesheet">embed_stylesheet</a> setting.</p></li>
<li><p>Apply [ 1474017 ] image vertical alignment is reversed.</p></li>
<li><p>Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).</p></li>
<li><p>Change: has_key for dictionaries (not Nodes) to in-operator.</p></li>
<li><p>Merge adjacent citations into one latex cite command.</p></li>
<li><p>Failsafe implementation of custom roles. LaTeX compilation now ignores
unknown classes instead of aborting with an error.</p></li>
<li><p>Support custom roles based on standard roles.</p></li>
<li><p>LaTeX packages can be used as <a class="reference external" href="docs/user/config.html#stylesheet">stylesheet</a> arguments without
restriction. (A style sheet is now referenced with the <span class="docutils literal">\usepackage</span>
command, if it ends with <span class="docutils literal">.sty</span> or has no extension.)</p></li>
<li><p>Add <span class="docutils literal">bp</span> to lengths without unit (prevents LaTeX errors).</p></li>
<li><p>Correctly write length unit <span class="docutils literal">pt</span> as <span class="docutils literal">bp</span> in LaTeX.</p></li>
<li><p>Do not convert <span class="docutils literal">px</span> to <span class="docutils literal">pt</span> (<span class="docutils literal">px</span> is supported by pdfTeX since
2005-02-04 as a configurable length unit).</p></li>
<li><p>Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
if font-encoding is set to ''. LaTeX defaults to OT1 then.</p></li>
<li><p>Set sub- and superscript role argument in text mode not as math.
Use a custom role based on sub-/superscript if you want italic shape.</p></li>
<li><p>Shorter preamble and less dependencies: Load packages and define macros
only if required in the document.</p></li>
<li><p>Use the name prefix <span class="docutils literal">DU</span> for all Docutils specific LaTeX macros.</p></li>
<li><p>New custom environments and commands with optional &quot;classes&quot; argument.</p></li>
<li><p>Simpler LaTeX encoding, e.g. &quot;%&quot; instead of &quot;{%}&quot;.</p></li>
<li><p>Better conformance to Docutils specifications with <a class="reference external" href="docs/user/config.html#use-latex-toc">use_latex_toc</a>.
Support for LaTeX generated ToC also with unnumbered sections.</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>Align of image in a figure defaults to 'center'.</p></li>
<li><p>Bugfix: Newlines around targets and references prevent run-together
paragraphs.</p></li>
<li><p>Fix internal hyperlinks.</p></li>
<li><p>Use class defaults for page margins ('typearea' now optional).</p></li>
<li><p>Float placement made configurable, default changed to &quot;here definitely&quot;.</p></li>
<li><p>Typeset generic topic as &quot;quote block with title&quot;.</p></li>
<li><p>Use template (file and configuration option).</p></li>
<li><p>In the default template, load cmap.sty (fix text extraction in PDF) and
fixltx2e.sty (LaTeX patches, textsubscript).</p></li>
<li><p>Render doctest blocks as literal blocks (fixes [ 1586058 ]).</p></li>
<li><p>Use <cite>translate()</cite> instead of repeated <cite>replace()</cite> calls for text encoding.</p></li>
<li><p>Hyperlinked footnotes and support for symbol footnotes and
<span class="docutils literal"><span class="pre">--footnote-references=brackets</span></span> with <span class="docutils literal"><span class="pre">--use-latex-footnotes</span></span>.</p></li>
<li><p>Complete pairs of binary options
(<span class="docutils literal"><span class="pre">--figure-footnotes,</span> <span class="pre">--figure-citations,</span> <span class="pre">--link-stylesheet</span></span>,
<span class="docutils literal"><span class="pre">--use-docutils-toc,</span> <span class="pre">--use-docutils-docinfo,</span> <span class="pre">--topic-abstract</span></span>)</p></li>
<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).</p></li>
</ul>
</li>
<li><p>docutils/writers/manpage.py</p>
<ul>
<li><p>Do not print version at document end, this is done by the viewer.</p></li>
<li><p>Do not print date at document end, this is done by the viewer.</p></li>
<li><p>Fix storage of docinfo fields for none standard fields.</p></li>
</ul>
</li>
<li><p>docutils/tools/rst2man.py</p></li>
</ul>
</section>
<section id="release-0-5-2008-06-25">
<h2><a class="toc-backref" href="#toc-entry-23" 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>
<ul class="simple">
<li><p>docutils/languages/he.py: Added to project: Hebrew mappings by
Meir Kriheli.</p></li>
<li><p>docutils/parsers/rst/languages/he.py: Added to project: Hebrew
mappings by Meir Kriheli.</p></li>
<li><p>docutils/frontend.py:</p>
<ul>
<li><p>Configuration files are now assumed and required to be
UTF-8-encoded.</p></li>
<li><p>Paths of applied configuration files are now recorded in the
runtime setting <a class="reference external" href="docs/user/config.html#config-files">_config_files</a> (accessible via <a class="reference external" href="docs/user/config.html#dump-settings">dump_settings</a>).</p></li>
<li><p>Added <a class="reference external" href="docs/user/config.html#strip-elements-with-classes">strip_elements_with_classes</a> and <a class="reference external" href="docs/user/config.html#strip-classes">strip_classes</a> settings.</p></li>
</ul>
</li>
<li><p>docutils/io.py:</p>
<ul>
<li><p>Added code to determine the input encoding from data: encoding
declarations or the presence of byte order marks (UTF-8 &amp; UTF-16).</p></li>
<li><p>Added support for IronPython 1.0.</p></li>
</ul>
</li>
<li><p>docutils/nodes.py:</p>
<ul>
<li><p>Added <cite>document.__getstate_()</cite> method, for pickling.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/states.py:</p>
<ul>
<li><p>Allow <span class="docutils literal">+</span> and <span class="docutils literal">:</span> in reference names.</p></li>
<li><p>Unquoted targets beginning with an underscore (<span class="docutils literal">.. __target: URI</span>) are no longer accepted.</p></li>
<li><p>Added support for multiple attributions in a physical block quote
(indented text block), dividing it into multiple logical block
quotes.</p></li>
<li><p>Added support for unicode bullets in bullet lists: &quot;•&quot;, &quot;‣&quot;, and
&quot;⁃&quot;.</p></li>
<li><p>Added support for new object-oriented directive interface,
retaining compatibility to the old functional interface.</p></li>
<li><p>Added support for throwing <cite>DirectiveError</cite>'s from within
directive code.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/__init__.py:</p>
<ul>
<li><p>Added <cite>Directive</cite> base class.</p></li>
<li><p>Added <cite>DirectiveError</cite> base class.</p></li>
<li><p>Fixed <a class="reference external" href="docs/user/config.html#file-insertion-enabled">file_insertion_enabled</a> &amp; <a class="reference external" href="docs/user/config.html#raw-enabled">raw_enabled</a> setting
definitions.</p></li>
</ul>
</li>
<li><p>docutils/parsers/directives/:</p>
<ul>
<li><p>Refactored all reStructuredText directives to use the new
object-oriented directive interface.  Errors are now (mostly)
thrown using the new <cite>DirectiveError</cite> class.</p></li>
</ul>
</li>
<li><p>docutils/parsers/directives/misc.py:</p>
<ul>
<li><p>Added <span class="docutils literal"><span class="pre">start-after</span></span> and <span class="docutils literal"><span class="pre">end-before</span></span> options to <span class="docutils literal">include</span>
directive; thanks to Stefan Rank.</p></li>
</ul>
</li>
<li><p>docutils/transforms/universal.py:</p>
<ul>
<li><p>Added <cite>StripClassesAndElements</cite> transform to remove from the
document tree all elements with classes in
<a class="reference external" href="docs/user/config.html#strip-elements-with-classes">strip_elements_with_classes</a> and all &quot;classes&quot;
attribute values in <a class="reference external" href="docs/user/config.html#strip-classes">strip_classes</a></p></li>
</ul>
</li>
<li><p>docutils/transforms/writer_aux.py:</p>
<ul>
<li><p>Added <cite>Admonitions</cite> transform to transform specific admonitions
(like &quot;note&quot;, &quot;warning&quot;, etc.) into generic admonitions with a
localized title.</p></li>
</ul>
</li>
<li><p>docutils/writers/html4css1/__init__.py:</p>
<ul>
<li><p>Moved template functionality from the PEP/HTML writer here.</p></li>
<li><p>Expanded the fragments available in the <span class="docutils literal">parts</span> attribute.</p></li>
<li><p>Moved <span class="docutils literal">id</span> attributes from titles to surrounding <span class="docutils literal">div</span>
elements.</p></li>
<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>
<li><p><span class="docutils literal">template.txt</span> is now opened in text mode instead of binary mode
(to ensure Windows compatibility).</p></li>
<li><p><span class="docutils literal">a</span> elements now have an &quot;internal&quot; or &quot;external&quot; class,
depending on reference type.</p></li>
</ul>
</li>
<li><p>docutils/writers/html4css1/template.txt: Added to project.</p></li>
<li><p>docutils/writers/pep_html/:</p>
<ul>
<li><p>Moved template functionality to the HTML writer.</p></li>
</ul>
</li>
<li><p>docutils/writers/s5_html/__init__.py:</p>
<ul>
<li><p>Added <a class="reference external" href="docs/user/config.html#view-mode">view_mode</a> &amp; <a class="reference external" href="docs/user/config.html#hidden-controls">hidden_controls</a> settings.</p></li>
</ul>
</li>
<li><p>docutils/writers/latex2e/__init__.py:</p>
<ul>
<li><p>Add <a class="reference external" href="docs/user/config.html#literal-block-env">literal_block_env</a>.</p></li>
<li><p>Fix: escaping <span class="docutils literal">%</span> in href urls.</p></li>
<li><p>Move usepackage hyperref after stylesheet inclusion.</p></li>
<li><p>Fix: scrartcl does not have chapter but scrreprt.</p></li>
<li><p>Add newline after <span class="docutils literal">\end{verbatim}</span>.</p></li>
<li><p>Merge smaller differences from latex2e_adaptive_preamble.</p></li>
<li><p>Add <span class="docutils literal"><span class="pre">use-part-section</span></span>.</p></li>
<li><p>Put leavevmode before longtable to avoid having it moved before sub/pargraph.</p></li>
<li><p>Using leavemode option_list no longer needs to check if parent
is a definition list.</p></li>
<li><p>Append <span class="docutils literal">\leavemode</span> to definition list terms.</p></li>
<li><p>No longer write visit_/depart_definition_list_item comments to
output.</p></li>
<li><p>Table column width with 3 decimal places.</p></li>
<li><p>Add table stubs support (boldfont).</p></li>
<li><p>Add assemble_parts to writer.</p></li>
<li><p>Add simply support for nested tables.</p></li>
<li><p>Fix verbatim in tables if use-verbatim-when-possible.</p></li>
<li><p>Use section commands down to subparagraph.</p></li>
<li><p>Put ensuremath around some latin1 chars.</p></li>
<li><p>Set <span class="docutils literal"><span class="pre">usepackage[utf8x]{inputenc}</span></span> for utf-8.</p></li>
<li><p>New experimental setting <a class="reference external" href="docs/user/config.html#use-bibtex">use_bibtex</a>.</p></li>
<li><p>New setting <a class="reference external" href="docs/user/config.html#reference-label">reference_label</a> to allow usage of LaTeX ref for
labels in section references.</p></li>
<li><p>Add a label after every section to support sectionnumbers as reference
labels.</p></li>
<li><p>Fix: bug# 1605376 rst2latex: bad options group list</p></li>
<li><p>Remove inactive code for use_optionlist_for_option_list.</p></li>
<li><p>Remove latex comments from option_list output.</p></li>
<li><p>Fix: bug# 1612270 double quotes in italian literal.</p></li>
<li><p>Fix: output <span class="docutils literal">hypertarget{ node.get(refid) }{}</span> from visit_target.</p></li>
<li><p>Add setting <a class="reference external" href="docs/user/config.html#use-latex-abstract">use_latex_abstract</a>.</p></li>
<li><p>Image width unit <span class="docutils literal">px</span> is translated to <span class="docutils literal">pt</span>.</p></li>
<li><p>Add image height support.</p></li>
<li><p>Fix: image width <span class="docutils literal">70%</span> is converted <span class="docutils literal">0.700\linewidth</span>.
bug #1457388</p></li>
<li><p>Fix: Do not escape underscores in citation reference labels if
use-latex-citations is set.</p></li>
<li><p>Use centering instead of center for figure contents, to avoid vertical
space.</p></li>
<li><p>Recognize table class: borderless, nolines, booktabs, standard.</p></li>
<li><p>Fix: Renaming contents section does not work with latex writer; SF
bug #1487405.</p></li>
<li><p>Applied patch for custom roles with classes from Edward Loper.</p></li>
<li><p>Fixed bug that caused crashes with more than 256 lists.</p></li>
</ul>
</li>
<li><p>docutils/writers/pep_html/__init__.py:</p>
<ul>
<li><p>Changed to support new python.org website structure and
pep2pyramid.py.</p></li>
</ul>
</li>
<li><p>docs/howto/security.txt: &quot;Deploying Docutils Securely&quot;, added to
project.</p></li>
<li><p>tools/buildhtml.py:</p>
<ul>
<li><p>Add <a class="reference external" href="docs/user/config.html#ignore">ignore</a> setting to exclude a list of shell patterns
(default: <span class="docutils literal">.svn:CVS</span>).</p></li>
</ul>
</li>
<li><p>tools/editors/emacs/rst.el:</p>
<ul>
<li><p>Changed license to &quot;GPL&quot;.</p></li>
<li><p>Added <span class="docutils literal"><span class="pre">rst-straighten-decorations</span></span> function.</p></li>
<li><p>The <span class="docutils literal">compile</span> module is now always loaded.</p></li>
<li><p>Added <span class="docutils literal"><span class="pre">rst-toggle-line-block</span></span> function.</p></li>
<li><p>Headings consisting only of non-ASCII characters are now
recognized by <span class="docutils literal"><span class="pre">rst-toc</span></span> and <span class="docutils literal"><span class="pre">rst-adjust</span></span>.</p></li>
<li><p>Added font-lock support for multi-line comments where the first
comment line is empty.</p></li>
<li><p>Added <span class="docutils literal">(require <span class="pre">'font-lock)</span></span>.</p></li>
</ul>
</li>
<li><p>setup.py:</p>
<ul>
<li><p>Provide descriptive error message if distutils is missing.</p></li>
</ul>
</li>
</ul>
</section>
<section id="release-0-4-2006-01-09">
<h2><a class="toc-backref" href="#toc-entry-24" 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>
<ul class="simple">
<li><p>General:</p>
<ul>
<li><p>Updated the project policies for trunk/branch development &amp;
version numbering.</p></li>
</ul>
</li>
<li><p>docutils/__init__.py:</p>
<ul>
<li><p>Added <span class="docutils literal">__version_details__</span> attribute to describe code source
(repository/snapshot/release).</p></li>
<li><p>Replaced <span class="docutils literal">default_transforms</span> attribute of <span class="docutils literal">TransformSpec</span> with
<span class="docutils literal">get_transforms()</span> method.</p></li>
</ul>
</li>
<li><p>docutils/core.py:</p>
<ul>
<li><p>Added <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>
</li>
<li><p>docutils/io.py:</p>
<ul>
<li><p>Added <span class="docutils literal">DocTreeInput</span> class, for reprocessing existing documents.</p></li>
<li><p>Added support for non-Unicode (e.g. binary) writer output.</p></li>
</ul>
</li>
<li><p>docutils/nodes.py:</p>
<ul>
<li><p>Re-introduced <span class="docutils literal">Targetable.indirect_reference_name</span>, for
MoinMoin/reST compatibility (removed in r3124/r3129).</p></li>
<li><p>Added <span class="docutils literal">serial_escape</span> function; escapes string values that are
elements of a list, for serialization.  Modified Docutils-XML
writing (<span class="docutils literal">Element._dom_node</span>) and pseudo-XML writing
(<span class="docutils literal">Element.starttag</span>) to use <span class="docutils literal">serial_escape</span>.</p></li>
<li><p>Added <span class="docutils literal">Node.deepcopy()</span> method.</p></li>
<li><p>Removed the internal lists <span class="docutils literal">document.substitution_refs</span>,
<span class="docutils literal">document.anonymous_refs</span>, and <span class="docutils literal">document.anonymous_targets</span>.</p></li>
<li><p>Added a &quot;container&quot; element.</p></li>
<li><p>Fixed bug where values of list-valued attributes of elements
originating from custom interpreted text roles (i.e., with custom
classes) were being shared between element instances.  Reported by
Shmuel Zeigerman.</p></li>
</ul>
</li>
<li><p>docutils/statemachine.py:</p>
<ul>
<li><p>Added trailing whitespace stripping to <span class="docutils literal">string2lines()</span>.</p></li>
<li><p>Added <span class="docutils literal">StringList.pad_double_width()</span> &amp; <span class="docutils literal">.replace()</span> for East
Asian double-width character support.</p></li>
</ul>
</li>
<li><p>docutils/utils.py:</p>
<ul>
<li><p>Added <span class="docutils literal">east_asian_column_width()</span> for double-width character
support.</p></li>
</ul>
</li>
<li><p>docutils/languages/ja.py: Added to project: Japanese mappings by
Hisashi Morita.</p></li>
<li><p>docutils/languages/zh_cn.py: Added to project: Simplified Chinese
mappings by Panjunyong.</p></li>
<li><p>docutils/parsers/null.py: Added to project; a do-nothing parser.</p></li>
<li><p>docutils/parsers/rst/__init__.py:</p>
<ul>
<li><p>Added validator to &quot;tab_width&quot; setting, with test.  Closes SF bug
#1212515, report from Wu Wei.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/states.py:</p>
<ul>
<li><p>Fixed bug with escaped colons indicating a literal block.</p></li>
<li><p>Fixed bug with enumerated lists (SF#1254145).</p></li>
<li><p>Backslash-escaped colons inside of field names are now allowed.</p></li>
<li><p>Targets (implicit and explicit), anonymous hyperlink references
and auto-numbered footnote references inside of substitution
definitions are now disallowed.</p></li>
<li><p>Fixed bug: list items with blank first lines.</p></li>
<li><p>Fixed bug: block quote attributions with indented second lines.</p></li>
<li><p>Added East Asian double-width character support (Python 2.4 only).</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/tableparser.py:</p>
<ul>
<li><p>Added East Asian double-width character support (Python 2.4 only).</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/body.py:</p>
<ul>
<li><p>Added the &quot;container&quot; directive.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/misc.py:</p>
<ul>
<li><p>Added the &quot;default-role&quot;, &quot;title&quot;, and &quot;date&quot; directives.</p></li>
<li><p>Added standard data file syntax to the &quot;include&quot; directive.</p></li>
<li><p>Added support for &quot;class&quot; directive content.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/images.py:</p>
<ul>
<li><p>Added <span class="docutils literal">indirect_reference_name</span> support for images with a target
option.</p></li>
<li><p>Added support for image width and height units.</p></li>
<li><p>Fixed bug with image &quot;target&quot; options.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/references.py:</p>
<ul>
<li><p>Added &quot;class&quot; attribute to &quot;target-notes&quot; directive, for
footnote_reference classes.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/include/: Directory added to project; contains
standard data files for the &quot;include&quot; directive.  Initial contents:
character entity substitution definition sets, and a set of
definitions for S5/HTML presentations.</p></li>
<li><p>docutils/parsers/rst/languages/ja.py: Added to project: Japanese
mappings by David Goodger.</p></li>
<li><p>docutils/parsers/rst/languages/zh_cn.py: Added to project:
Simplified Chinese mappings by Panjunyong.</p></li>
<li><p>docutils/readers/__init__.py:</p>
<ul>
<li><p>Added universal.Decorations and universal.ExposeInternals
transforms as default transforms for all readers.</p></li>
<li><p>Added <span class="docutils literal">ReReader</span> base class for readers that reread an existing
document tree.</p></li>
</ul>
</li>
<li><p>docutils/readers/doctree.py: Added to project; a reader for existing
document trees.</p></li>
<li><p>docutils/transforms/frontmatter.py:</p>
<ul>
<li><p>Fixed the DocInfo transform to handle SVN-style expansion of the
&quot;Date&quot; keyword.</p></li>
<li><p>In <span class="docutils literal">DocInfo.extract_authors</span>, treat the contents of &quot;authors&quot;
fields uniformly.</p></li>
</ul>
</li>
<li><p>docutils/transforms/misc.py:</p>
<ul>
<li><p>Added misc.Transitions transform, extracted from
universal.FinalChecks.</p></li>
</ul>
</li>
<li><p>docutils/transforms/references.py:</p>
<ul>
<li><p>Added references.DanglingReferences transform, extracted from
universal.FinalChecks.</p></li>
<li><p>Fixed bug with doubly-indirect substitutions.</p></li>
<li><p>Added footnote_reference classes attribute to &quot;TargetNotes&quot;.</p></li>
<li><p>Fixed bug with circular substitution definitions that put Docutils
into an infinite loop.</p></li>
</ul>
</li>
<li><p>docutils/transforms/universal.py:</p>
<ul>
<li><p>Added universal.ExposeInternals transform, extracted from
universal.FinalChecks.</p></li>
<li><p>Removed universal.FinalChecks transform (logic has been moved to
several new transforms).</p></li>
<li><p>Fixed bug with the &quot;expose_internals&quot; setting and Text nodes
(exposed by the &quot;rawsource&quot; internal attribute).</p></li>
<li><p>Added the universal.StripComments transform, implementation of the
&quot;strip_comments&quot; setting.</p></li>
</ul>
</li>
<li><p>docutils/transforms/writer_aux.py: Added to project; auxiliary
transforms for writers.</p>
<ul>
<li><p>Added <span class="docutils literal">Compound</span> transform, which flattens compound paragraphs.</p></li>
</ul>
</li>
<li><p>docutils/writers/: Several writer modules (html4css1.py) were
converted into packages.  Support modules and data files have been
moved into the packages.  The stylesheets for the HTML writers are
now installed along with the code, the code knows where to find
them, and the default is to use them (actually, to embed them).
Some adjustments to configuration files may be necessary.  The
easiest way to obtain the new default behavior is to remove all
settings whose name includes &quot;stylesheet&quot;.</p></li>
<li><p>docutils/writers/__init__.py:</p>
<ul>
<li><p>Added universal.Messages and universal.FilterMessages transforms
as default transforms for all writers.</p></li>
<li><p>Added <span class="docutils literal">UnfilteredWriter</span> base class for writers that pass the
document tree on unchanged.</p></li>
</ul>
</li>
<li><p>docutils/writers/docutils_xml.py:</p>
<ul>
<li><p>Made <span class="docutils literal">xmlcharrefreplace</span> the default output encoding error
handler.</p></li>
</ul>
</li>
<li><p>docutils/writers/html4css1/:</p>
<ul>
<li><p>Added support for image width and height units.</p></li>
<li><p>Made <span class="docutils literal">xmlcharrefreplace</span> the default output encoding error
handler.</p></li>
<li><p>Made <span class="docutils literal"><span class="pre">--embed-stylesheet</span></span> the default rather than
<span class="docutils literal"><span class="pre">--link-stylesheet</span></span>.</p></li>
<li><p>Moved &quot;id&quot; attribute from container (section etc.) to title's &lt;a&gt;
tag, to be on the same tag as &quot;name&quot;.
(!!! To be reverted in Docutils 0.5.)</p></li>
<li><p>Added vertical space between fields of field lists.</p></li>
<li><p>Added <span class="docutils literal"><span class="pre">--compact-field-lists</span></span> option to remove vertical space in
simple field lists.</p></li>
<li><p>Made cloaking of email addresses with <span class="docutils literal"><span class="pre">--cloak-email-addresses</span></span>
less obtrusive.</p></li>
<li><p>Fixed support for centered images.</p></li>
<li><p>Added support for class=&quot;compact&quot; &amp; class=&quot;open&quot; lists.</p></li>
</ul>
</li>
<li><p>docutils/writers/latex2e/:</p>
<ul>
<li><p>Underscores in citekeys are no longer escaped.</p></li>
</ul>
</li>
<li><p>docutils/writers/newlatex2e/unicode_map.py: Added to project;
mapping of Unicode characters to LaTeX equivalents.</p></li>
<li><p>docutils/writers/s5_html/: Package added to project; writer for
S5/HTML slide shows.</p></li>
<li><p>docs/dev/distributing.txt: Added to project; guide for distributors
(package maintainers).</p></li>
<li><p>docs/dev/hacking.txt: Added to project; guide for developers.</p></li>
<li><p>docs/ref/doctree.txt:</p>
<ul>
<li><p>Updated for plural attributes &quot;classes&quot;, &quot;ids&quot;, &quot;names&quot;,
&quot;dupnames&quot;.</p></li>
<li><p>Added the &quot;container&quot; element.</p></li>
</ul>
</li>
<li><p>docs/ref/docutils.dtd:</p>
<ul>
<li><p>Updated for plural attributes &quot;classes&quot;, &quot;ids&quot;, &quot;names&quot;,
&quot;dupnames&quot;.</p></li>
</ul>
</li>
<li><p>docs/user/emacs.txt: Added to project; a document about Emacs
support for reStructuredText and Docutils.</p></li>
<li><p>docs/user/links.txt: Added to project; lists of Docutils-related
links.</p></li>
<li><p>docs/user/mailing-lists.txt: Added to project; information about
Docutils-related mailing lists and how to access them.</p></li>
<li><p>docs/user/slide-shows.txt: Added to project; example of and docs for
the S5/HTML writer (<span class="docutils literal">rst2s5.py</span> front end).</p></li>
<li><p>docs/ref/rst/definitions.txt: &quot;reStructuredText Standard Definition
Files&quot;, added to project.</p></li>
<li><p>test/coverage.sh: Added to project; test coverage script.</p></li>
<li><p>test/DocutilsTestSupport.py:</p>
<ul>
<li><p>Added support for specifying runtime settings at the suite level.</p></li>
</ul>
</li>
<li><p>test/test_functional.py:</p>
<ul>
<li><p>Added the <span class="docutils literal">clear_output_directory</span> function.</p></li>
<li><p>Added support for <span class="docutils literal">_test_more</span> functions in functional test
config files.</p></li>
</ul>
</li>
<li><p>tools/rst2s5.py: Added to project; front end for the S5/HTML writer.</p></li>
<li><p>tools/rstpep2html.py: Renamed from pep.py.</p></li>
<li><p>tools/dev/create_unimap.py: Added to project; script to create the
docutils/writers/unimap_latex.py mapping file.</p></li>
<li><p>tools/dev/profile_docutils.py: Added to project; profiler script.</p></li>
<li><p>tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.</p></li>
<li><p>tools/editors/emacs/restructuredtext.el,
tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
Removed from project; the functionality is now contained in rst.el.</p></li>
<li><p>tools/editors/emacs/rst.el: Added to project.  Added many features
and fixed many bugs.  See docs/user/emacs.txt for details.</p></li>
<li><p>tools/stylesheets: Removed from project.  Stylesheets have been
renamed and moved into writer packages.</p></li>
</ul>
</section>
<section id="release-0-3-9-2005-05-26">
<h2><a class="toc-backref" href="#toc-entry-25" 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>General:</p>
<ul>
<li><p>Eliminated and replaced all uses of the old string attributes
<span class="docutils literal">id</span>, <span class="docutils literal">name</span>, <span class="docutils literal">dupname</span> and <span class="docutils literal">class</span> with references to the
new list attributes <span class="docutils literal">ids</span>, <span class="docutils literal">names</span>, <span class="docutils literal">dupnames</span> and
<span class="docutils literal">classes</span> throughout the whole source tree.</p></li>
</ul>
</li>
<li><p>docutils/core.py:</p>
<ul>
<li><p>Enabled <span class="docutils literal"><span class="pre">--dump-*</span></span> options when <span class="docutils literal"><span class="pre">--traceback</span></span> specified,
allowing for easier debugging.</p></li>
<li><p>In <span class="docutils literal">Publisher.publish()</span>, expanded the generic top-level
exception catching.</p></li>
</ul>
</li>
<li><p>docutils/examples.py:</p>
<ul>
<li><p>Added <span class="docutils literal">internals</span> function for exploration.</p></li>
</ul>
</li>
<li><p>docutils/io.py:</p>
<ul>
<li><p>Fixed <span class="docutils literal">Input.decode</span> method to apply heuristics only if no
encoding is explicitly given, and to provide better reporting of
decoding errors.</p></li>
<li><p>The <span class="docutils literal">Input.decode</span> method now removes byte order marks (BOMs)
from input streams.</p></li>
</ul>
</li>
<li><p>docutils/nodes.py:</p>
<ul>
<li><p><span class="docutils literal">image</span> element class changed to subclass of Element, not
TextElement (it's an empty element, and cannot contain text).</p></li>
<li><p>Added <span class="docutils literal">attr_defaults</span> dictionary for default attribute values.</p></li>
<li><p>Added empty list as default value for the following attributes:
<span class="docutils literal">ids</span>, <span class="docutils literal">names</span>, <span class="docutils literal">dupnames</span>, <span class="docutils literal">classes</span>, and <span class="docutils literal">backrefs</span>.</p></li>
<li><p>Added <span class="docutils literal">document.decoration</span> attribute,
<span class="docutils literal">document.get_decoration</span> method, and <span class="docutils literal">decoration.get_header</span>
&amp; <span class="docutils literal">.get_footer</span> methods.</p></li>
<li><p>Added <span class="docutils literal">Element.update_basic_atts()</span> and <span class="docutils literal">Element.substitute()</span>
methods.</p></li>
</ul>
</li>
<li><p>docutils/utils.py:</p>
<ul>
<li><p>Removed <span class="docutils literal">docutils.utils.Reporter.categories</span>,
<span class="docutils literal">docutils.utils.ConditionSet</span>, and all references to them, to
simplify error reporting.</p></li>
</ul>
</li>
<li><p>docutils/languages/nl.py: Added to project; Dutch mappings by
Martijn Pieters.</p></li>
<li><p>docutils/parsers/rst/__init__.py:</p>
<ul>
<li><p>Added settings: <span class="docutils literal">file_insertion_enabled</span> &amp; <span class="docutils literal">raw_enabled</span>.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/states.py:</p>
<ul>
<li><p>Added check for escaped at-mark to prevent email address recognition.</p></li>
<li><p>Fixed option lists to allow spaces inside <span class="docutils literal"><span class="pre">&lt;angle-bracketed</span> option arguments&gt;</span>.</p></li>
<li><p>Allowed whitespace in paths and URLs.</p></li>
<li><p>Added auto-enumerated list items.</p></li>
<li><p>Fixed bug that assumed <span class="docutils literal">.. _</span> and <span class="docutils literal">.. |</span> were invariably
followed by text.</p></li>
<li><p>Added support for table stub columns.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/__init__.py:</p>
<ul>
<li><p>Allowed whitespace in paths (<span class="docutils literal">path</span> function).</p></li>
<li><p>Added <span class="docutils literal">uri</span> directive option conversion function.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/body.py:</p>
<ul>
<li><p>Fixed illegal context bug with &quot;topic&quot; directive (allowed within
sidebars; not within body elements).</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/images.py:</p>
<ul>
<li><p>Allowed whitespace (stripped) in &quot;image&quot; &amp; &quot;figure&quot; directive URLs.</p></li>
<li><p>Added support for the <span class="docutils literal">file_insertion_enabled</span> setting in the
&quot;figure&quot; directive (disables &quot;figwidth&quot; option).</p></li>
<li><p>&quot;image&quot; directive: added checks for valid values of &quot;align&quot; option,
depending on context.  &quot;figure&quot; directive: added specialized
&quot;align&quot; option and attribute on &quot;figure&quot; element.</p></li>
<li><p>Made &quot;:figwidth: image&quot; option of &quot;figure&quot; directive work again.</p></li>
<li><p>Fixed bug with reference names containing uppercase letters
(e.g. <span class="docutils literal">Name_</span>) in &quot;target&quot; option of &quot;image&quot; directive.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/misc.py:</p>
<ul>
<li><p>Fixed &quot;include&quot; and &quot;raw&quot; directives to catch text decoding
errors.</p></li>
<li><p>Allowed whitespace in &quot;include&quot; &amp; &quot;raw&quot; directive paths.</p></li>
<li><p>Added support for <span class="docutils literal">file_insertion_enabled</span> &amp; <span class="docutils literal">raw_enabled</span>
settings in &quot;include&quot; &amp; &quot;raw&quot; directives.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/parts.py:</p>
<ul>
<li><p>Added &quot;header&quot; &amp; &quot;footer&quot; directives.</p></li>
<li><p>Fixed illegal context bug with &quot;contents&quot; directive (topics
allowed within sidebars; not within body elements).</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/tables.py:</p>
<ul>
<li><p>Added &quot;list-table&quot; directive.</p></li>
<li><p>Caught empty CSV table bug.</p></li>
<li><p>Added support for the <span class="docutils literal">file_insertion_enabled</span> setting in the
&quot;csv-table&quot; directive.</p></li>
<li><p>Added <span class="docutils literal"><span class="pre">stub-columns</span></span> option to &quot;csv-table&quot; and &quot;list-table&quot;
directives.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/languages/nl.py: Added to project; Dutch
mappings by Martijn Pieters.</p></li>
<li><p>docutils/readers/standalone.py:</p>
<ul>
<li><p>Added <span class="docutils literal">section_subtitles</span> setting to activate or deactivate the
<span class="docutils literal">SectSubTitle</span> transform.</p></li>
</ul>
</li>
<li><p>docutils/transforms/frontmatter.py:</p>
<ul>
<li><p>Added SectSubTitle transform to promote titles of lone
subsections to subtitles.</p></li>
</ul>
</li>
<li><p>docutils/transforms/references.py:</p>
<ul>
<li><p>Fixed mislocated internal targets bug, by propagating internal
targets to the next node, making use of the newly added support
for multiple names and IDs.</p></li>
<li><p>Fixed duplicate footnote label bug.</p></li>
<li><p>Replaced <span class="docutils literal">ChainedTargets</span> with more generic <span class="docutils literal">PropagateTargets</span>
transform.</p></li>
</ul>
</li>
<li><p>docutils/writers/html4css1.py:</p>
<ul>
<li><p>Fixed unencoded stylesheet reference bug (characters like &quot;&amp;&quot; in
stylesheet references).</p></li>
<li><p><span class="docutils literal">target</span> nodes now appear as <span class="docutils literal">span</span> tags (instead of <span class="docutils literal">a</span>
tags).</p></li>
<li><p>Added support for multiple IDs per node by creating empty <span class="docutils literal">span</span>
tags.</p></li>
<li><p>Added the <span class="docutils literal">field_name_limit</span> &amp; <span class="docutils literal">option_limit</span> settings &amp;
support.</p></li>
<li><p>Added support for table stub columns.</p></li>
<li><p>Added support for the <span class="docutils literal">align</span> attribute on <span class="docutils literal">figure</span> elements.</p></li>
<li><p>Added the <span class="docutils literal">cloak_email_addresses</span> setting &amp; support.</p></li>
<li><p>Added <span class="docutils literal">html_prolog</span>, <span class="docutils literal">html_head</span>, <span class="docutils literal">html_body</span>,
<span class="docutils literal">html_title</span>, &amp; <span class="docutils literal">html_subtitle</span> to parts dictionary exposed by
<span class="docutils literal">docutils.core.publish_parts</span>.</p></li>
<li><p>Added support for section subtitles.</p></li>
</ul>
</li>
<li><p>docutils/writers/latex2e.py:</p>
<ul>
<li><p>Fixed tables starting with more than one multirow cell.</p></li>
<li><p>Improved <span class="docutils literal"><span class="pre">--use-latex-docinfo</span></span> so that organization/contact/address
fields are lumped with the last author field and appear on the
titlepage.</p></li>
<li><p>Made sure the titlepage is always shown with <span class="docutils literal"><span class="pre">--use-latex-docinfo</span></span>,
even if the document has no title.</p></li>
<li><p>Made sure that latex doesn't fill in today's date if no date field
was given.</p></li>
<li><p>Added support for section subtitles.</p></li>
</ul>
</li>
<li><p>docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
(under development).</p></li>
<li><p>docutils/writers/null.py: Added to project; a do-nothing Writer.</p></li>
<li><p>docs/api/publisher.txt:</p>
<ul>
<li><p>Added &quot;<span class="docutils literal">publish_parts</span> Details&quot; section.</p></li>
</ul>
</li>
<li><p>docutils/dev/repository.txt: Added to project; information about the
Docutils Subversion repository.</p></li>
<li><p>docs/ref/docutils.dtd:</p>
<ul>
<li><p>Added a <span class="docutils literal">stub</span> attribute to the <span class="docutils literal">colspec</span> element via the
<span class="docutils literal">tbl.colspec.att</span> parameter entity.</p></li>
<li><p>Allowed topic elements within sidebars</p></li>
<li><p>Added an <span class="docutils literal">align</span> attribute to the <span class="docutils literal">figure</span> element.</p></li>
</ul>
</li>
<li><p>tools/rst2newlatex.py: Added to project; front end for the new LaTeX
writer.</p></li>
</ul>
</section>
<section id="release-0-3-7-2004-12-24">
<h2><a class="toc-backref" href="#toc-entry-26" 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>docutils/frontend.py:</p>
<ul>
<li><p>Added options: <span class="docutils literal"><span class="pre">--input-encoding-error-handler</span></span>,
<span class="docutils literal"><span class="pre">--record-dependencies</span></span>, <span class="docutils literal"><span class="pre">--leave-footnote-reference-space</span></span>,
<span class="docutils literal"><span class="pre">--strict-visitor</span></span>.</p></li>
<li><p>Added command-line and config file support for &quot;overrides&quot; setting
parameter.</p></li>
</ul>
</li>
<li><p>docutils/io.py:</p>
<ul>
<li><p>Added support for input encoding error handler.</p></li>
</ul>
</li>
<li><p>docutils/nodes.py:</p>
<ul>
<li><p>Added dispatch_visit and dispatch_departure methods to
NodeVisitor; useful as a hook for Visitors.</p></li>
<li><p>Changed structure of <span class="docutils literal">line_block</span>; added <span class="docutils literal">line</span>.</p></li>
<li><p>Added <span class="docutils literal">compound</span> node class.</p></li>
<li><p>Added a mechanism for Visitors to transitionally ignore new node
classes.</p></li>
</ul>
</li>
<li><p>docutils/utils.py:</p>
<ul>
<li><p>Moved <span class="docutils literal">escape2null</span> and <span class="docutils literal">unescape</span> functions from
docutils/parsers/rst/states.py.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/roles.py:</p>
<ul>
<li><p>Added &quot;raw&quot; role.</p></li>
<li><p>Changed role function API: the &quot;text&quot; parameter now takes
null-escaped interpreted text content.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/states.py:</p>
<ul>
<li><p>Fixed bug where a &quot;role&quot; directive in a nested parse would crash
the parser; the state machine's &quot;language&quot; attribute was not being
copied over.</p></li>
<li><p>Added support for line block syntax.</p></li>
<li><p>Fixed directive parsing bug: argument-less directives didn't
notice that arguments were present.</p></li>
<li><p>Removed error checking for transitions.</p></li>
<li><p>Added support for multiple classifiers in definition list items.</p></li>
<li><p>Moved <span class="docutils literal">escape2null</span> and <span class="docutils literal">unescape</span> functions to docutils/utils.py.</p></li>
<li><p>Changed role function API: the &quot;text&quot; parameter now takes
null-escaped interpreted text content.</p></li>
<li><p>Empty sections and documents are allowed now.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/__init__.py:</p>
<ul>
<li><p>Added <span class="docutils literal">encoding</span> directive option conversion function.</p></li>
<li><p>Allow multiple class names in class_option conversion function.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/body.py:</p>
<ul>
<li><p>Converted the line-block directive to use the new structure.</p></li>
<li><p>Extracted the old line-block functionality to the <span class="docutils literal">block</span>
function (still used).</p></li>
<li><p>Added <span class="docutils literal">compound</span> directive (thanks to Lea Wiemann).</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/misc.py:</p>
<ul>
<li><p>Added &quot;encoding&quot; option to &quot;include&quot; and &quot;raw&quot; directives.</p></li>
<li><p>Added &quot;trim&quot;, &quot;ltrim&quot;, and &quot;rtrim&quot; options to &quot;unicode&quot; directive.</p></li>
<li><p>Allow multiple class names in the &quot;class&quot; directive.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/parts.py:</p>
<ul>
<li><p>Directive &quot;sectnum&quot; now accepts &quot;prefix&quot;, &quot;suffix&quot;, and &quot;start&quot;
options.  Thanks to Lele Gaifax.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/tables.py:</p>
<ul>
<li><p>Added &quot;encoding&quot; directive to &quot;csv-table&quot; directive.</p></li>
<li><p>Added workaround for lack of Unicode support in csv.py, for
non-ASCII CSV input.</p></li>
</ul>
</li>
<li><p>docutils/transforms/misc.py:</p>
<ul>
<li><p>Fixed bug when multiple &quot;class&quot; directives are applied to a single
element.</p></li>
<li><p>Enabled multiple format names for &quot;raw&quot; directive.</p></li>
</ul>
</li>
<li><p>docutils/transforms/references.py:</p>
<ul>
<li><p>Added support for trimming whitespace from beside substitution
references.</p></li>
</ul>
</li>
<li><p>docutils/transforms/universal.py:</p>
<ul>
<li><p>FinalChecks now checks for illegal transitions and moves
transitions between sections.</p></li>
</ul>
</li>
<li><p>docutils/writers/html4css1.py:</p>
<ul>
<li><p>HTMLTranslator.encode now converts U+00A0 to &quot;&amp;nbsp;&quot;.</p></li>
<li><p>&quot;stylesheet&quot; and &quot;stylesheet_path&quot; settings are now mutually
exclusive.</p></li>
<li><p>Added support for the new line_block/line structure.</p></li>
<li><p><span class="docutils literal"><span class="pre">--footnote-references</span></span> now overrides
<span class="docutils literal"><span class="pre">--trim-footnote-reference-space</span></span>, if applicable.</p></li>
<li><p>Added support for <span class="docutils literal">compound</span> elements.</p></li>
<li><p>Enabled multiple format names for &quot;raw&quot; directive.</p></li>
<li><p><span class="docutils literal">&lt;p&gt;</span> tags of a paragraph which is the only visible child of the
document node are no longer stripped.</p></li>
<li><p>Moved paragraph-compacting logic (for stripping <span class="docutils literal">&lt;p&gt;</span> tags) to
new method <span class="docutils literal">should_be_compact_paragraph()</span>.</p></li>
<li><p>Added class=&quot;docutils&quot; to <span class="docutils literal">dl</span>, <span class="docutils literal">hr</span>, <span class="docutils literal">table</span> and <span class="docutils literal">tt</span>
elements.</p></li>
<li><p>&quot;raw&quot; elements are now surrounded by <span class="docutils literal">span</span> or <span class="docutils literal">div</span> tags in
the output if they have their <span class="docutils literal">class</span> attribute set.</p></li>
<li><p>The whole document is now surrounded by a <span class="docutils literal">&lt;div <span class="pre">class=&quot;document&quot;&gt;</span></span> element.</p></li>
<li><p>Body-level images are now wrapped by their own <span class="docutils literal">&lt;div&gt;</span> elements,
with image classes copied to the wrapper, and for images which
have the <span class="docutils literal">:align:</span> option set, the surrounding <span class="docutils literal">&lt;div&gt;</span> now
receives a class attribute (like <span class="docutils literal"><span class="pre">class=&quot;align-left&quot;</span></span>).</p></li>
</ul>
</li>
<li><p>docutils/writers/latex2e.py:</p>
<ul>
<li><p>no newline after depart_term.</p></li>
<li><p>Added translations for some Unicode quotes.</p></li>
<li><p>Added option &quot;font-encoding&quot;, made package AE the default.</p></li>
<li><p><a class="reference external" href="docs/user/config.html#stylesheet">stylesheet</a> and <a class="reference external" href="docs/user/config.html#stylesheet-path">stylesheet_path</a> settings are now mutually
exclusive.</p></li>
<li><p><span class="docutils literal"><span class="pre">--footnote-references</span></span> now overrides
<span class="docutils literal"><span class="pre">--trim-footnote-reference-space</span></span>, if applicable.</p></li>
<li><p>The footnote label style now matches the footnote reference style
(&quot;brackets&quot; or &quot;superscript&quot;).</p></li>
<li><p>Added support for <span class="docutils literal">compound</span> elements.</p></li>
<li><p>Enabled multiple format names for &quot;raw&quot; directive.</p></li>
</ul>
</li>
<li><p>docs/ref/docutils.dtd:</p>
<ul>
<li><p>Changed structure of the <span class="docutils literal">line_block</span> element; added <span class="docutils literal">line</span>.</p></li>
<li><p>Added <span class="docutils literal">compound</span> element.</p></li>
<li><p>Added &quot;ltrim&quot; and &quot;rtrim&quot; attributes to
<span class="docutils literal">substitution_definition</span> element.</p></li>
<li><p>Enabled multiple format names for <span class="docutils literal">raw</span> element.</p></li>
<li><p>Enabled multiple classifiers in <span class="docutils literal">definition_list_item</span> elements.</p></li>
</ul>
</li>
<li><p>docs/ref/rst/directives.txt</p>
<ul>
<li><p>Marked &quot;line-block&quot; as deprecated.</p></li>
<li><p>&quot;Class&quot; directive now allows multiple class names.</p></li>
<li><p>Added &quot;Rationale for Class Attribute Value Conversion&quot;.</p></li>
<li><p>Added warning about &quot;raw&quot; overuse/abuse.</p></li>
</ul>
</li>
<li><p>docs/ref/rst/restructuredtext.txt:</p>
<ul>
<li><p>Added syntax for line blocks.</p></li>
<li><p>Definition list items may have multiple classifiers.</p></li>
</ul>
</li>
<li><p>docs/ref/rst/roles.txt:</p>
<ul>
<li><p>Added &quot;raw&quot; role.</p></li>
</ul>
</li>
<li><p>tools/stylesheets/default.css:</p>
<ul>
<li><p>Added support for the new line_block structure.</p></li>
<li><p>Added &quot;docutils&quot; class to <span class="docutils literal">dl</span>, <span class="docutils literal">hr</span>, <span class="docutils literal">table</span> and <span class="docutils literal">tt</span>.</p></li>
</ul>
</li>
</ul>
</section>
<section id="release-0-3-5-2004-07-29">
<h2><a class="toc-backref" href="#toc-entry-27" 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>
<p>General:</p>
<ul>
<li><p><span class="target" id="documentation-cleanup-reorganization">Documentation cleanup/reorganization</span>.</p>
<ul class="simple">
<li><p>Created new subdirectories of docs/:</p>
<ul>
<li><p><span class="docutils literal">docs/user/</span>: introductory/tutorial material for end-users</p></li>
<li><p><span class="docutils literal">docs/dev/</span>: for core-developers (development notes, plans, etc.)</p></li>
<li><p><span class="docutils literal">docs/api/</span>: API reference material for client-developers</p></li>
<li><p><span class="docutils literal">docs/ref/</span>: reference material for all groups</p></li>
<li><p><span class="docutils literal">docs/howto/</span>: for component-developers and core-developers</p></li>
<li><p><span class="docutils literal">docs/peps/</span>: Python Enhancement Proposals</p></li>
</ul>
</li>
<li><p>Moved <span class="docutils literal">docs/*</span> to <span class="docutils literal">docs/user/</span>.</p></li>
<li><p>Moved <span class="docutils literal">pysource.dtd</span>, <span class="docutils literal">pysource.txt</span>, <span class="docutils literal">semantics.txt</span> from
<span class="docutils literal">spec/</span> to <span class="docutils literal">docs/dev</span>.</p></li>
<li><p>Moved <span class="docutils literal">doctree.txt</span>, <span class="docutils literal">docutils.dtd</span>, <span class="docutils literal">soextblx.dtd</span>,
<span class="docutils literal">transforms.txt</span> from <span class="docutils literal">spec/</span> to <span class="docutils literal">docs/ref/</span>.</p></li>
<li><p>Moved <span class="docutils literal">alternatives.txt</span>, and <span class="docutils literal">problems.txt</span> from
<span class="docutils literal">spec/rst/</span> to <span class="docutils literal">docs/dev/rst/</span>.</p></li>
<li><p>Moved <span class="docutils literal">reStructuredText.txt</span>, <span class="docutils literal">directives.txt</span>,
<span class="docutils literal">interpreted.txt</span>, and <span class="docutils literal">introduction.txt</span> from <span class="docutils literal">spec/rst/</span>
to <span class="docutils literal">docs/ref/rst/</span>.  Renamed <span class="docutils literal">interpreted.txt</span> to
<span class="docutils literal">roles.txt</span>, <span class="docutils literal">reStructuredText.txt</span> to
<span class="docutils literal">restructuredtext.txt</span>.</p></li>
<li><p>Moved <span class="docutils literal">spec/howto/</span> to <span class="docutils literal">docs/howto</span>.</p></li>
</ul>
<p>In order to keep the CVS history of moved files, we supplied
SourceForge with a script for modifying the Docutils CVS repository.</p>
<p>After running the cleanup script:</p>
<ul class="simple">
<li><p>Added <span class="docutils literal">docs/index.txt</span>.</p></li>
<li><p>Added a <span class="docutils literal">.htaccess</span> file to the <span class="docutils literal">web</span> module, containing
redirects for all old paths to new paths.  They'll preserve
fragments (the &quot;#name&quot; part of a URL), and won't clutter up the
file system, and will correct the URL in the user's browser.</p></li>
<li><p>Added <span class="docutils literal">BUGS.txt</span>, <span class="docutils literal">docs/dev/policies.txt</span>,
<span class="docutils literal">docs/dev/website.txt</span>, <span class="docutils literal">docs/dev/release.txt</span> from all but
the &quot;To Do&quot; list itself in <span class="docutils literal">docs/dev/todo.txt</span>.</p></li>
<li><p>Moved &quot;Future Plans&quot; from <span class="docutils literal">HISTORY.txt</span> to new &quot;Priorities&quot;
section of <span class="docutils literal">docs/dev/todo.txt</span>.</p></li>
<li><p>Added <span class="docutils literal">THANKS.txt</span> from &quot;Acknowledgements&quot; in <span class="docutils literal">HISTORY.txt</span>.</p></li>
<li><p>Added &quot;How To Report Bugs&quot; to <span class="docutils literal">BUGS.txt</span>.</p></li>
<li><p>Went through all the sources and docs (including under web/) and
updated links.  Mostly done by Lea Wiemann; thanks Lea!
(Still need to update links in the sandboxes.)</p></li>
</ul>
</li>
</ul>
<p>Specific:</p>
<ul class="simple">
<li><p>BUGS.txt: Added to project.</p></li>
<li><p>THANKS.txt: Added to project.</p></li>
<li><p>docutils/__init__.py:</p>
<ul>
<li><p>0.3.4: Post-release.</p></li>
</ul>
</li>
<li><p>docutils/core.py:</p>
<ul>
<li><p>Added special error handling &amp; advice for UnicodeEncodeError.</p></li>
<li><p>Refactored Publisher.publish (simplified exception handling &amp;
extracted debug dumps).</p></li>
<li><p>Renamed &quot;enable_exit&quot; parameter of convenience functions to
&quot;enable_exit_status&quot;.</p></li>
<li><p>Enabled traceback (exception propagation) by default in
programmatic convenience functions.</p></li>
<li><p>Now publish_file and publish_cmdline convenience functions return
the encoded string results in addition to their regular I/O.</p></li>
<li><p>Extracted common code from publish_file, publish_string, and
publish_parts, into new publish_programmatically.  Extracted
settings code to <span class="docutils literal">Publisher.process_programmatic_settings</span>.</p></li>
<li><p>In Publisher.publish, disabled <span class="docutils literal">settings_overrides</span> when
<span class="docutils literal">settings</span> is supplied; redundant.</p></li>
</ul>
</li>
<li><p>docutils/frontend.py:</p>
<ul>
<li><p>Added help text for <span class="docutils literal"><span class="pre">--output-encoding-error-handler</span></span> and
<span class="docutils literal"><span class="pre">--error-encoding-error-handler</span></span>.</p></li>
<li><p>Renamed <span class="docutils literal"><span class="pre">--exit</span></span> to <span class="docutils literal"><span class="pre">--exit-status</span></span>.</p></li>
<li><p>Simplified default-setting code.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/__init__.py:</p>
<ul>
<li><p>Added <span class="docutils literal"><span class="pre">--pep-base-url</span></span> and <span class="docutils literal"><span class="pre">--rfc-base-url</span></span> options.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/states.py:</p>
<ul>
<li><p>Made URI recognition more aggressive and intelligent.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/__init__.py:</p>
<ul>
<li><p>Added several directive option conversion functions.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/body.py:</p>
<ul>
<li><p>Moved &quot;table&quot; directive to tables.py.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/tables.py: Table-related directives,
added to project.</p></li>
<li><p>docutils/writers/latex2e.py:</p>
<ul>
<li><p>Added <span class="docutils literal"><span class="pre">--table-style=(standard|booktabs|nolines)</span></span></p></li>
<li><p>figures get &quot;here&quot; option (LaTeX per default puts them at bottom),
and figure content is centered.</p></li>
<li><p>Rowspan support for tables.</p></li>
<li><p>Fix: admonition titles before first section.</p></li>
<li><p>Replace <span class="docutils literal"><span class="pre">--</span></span> in literal by <span class="docutils literal"><span class="pre">-{}-</span></span> because fontencoding T1 has endash.</p></li>
<li><p>Replave <span class="docutils literal">_</span> in literal by an underlined blank, because it has the correct
width.</p></li>
<li><p>Fix: encode pdfbookmark titles, <span class="docutils literal">#</span> broke pdflatex.</p></li>
<li><p>A few unicode replacements, if output_encoding != utf</p></li>
<li><p>Add <a class="reference external" href="docs/user/config.html#graphicx-option">graphicx_option</a> setting.</p></li>
<li><p>Indent literal-blocks.</p></li>
<li><p>Fix: omit <span class="docutils literal">\maketitle</span> when there is no document title.</p></li>
</ul>
</li>
<li><p>docs/index.txt: &quot;Docutils Project Documentation Overview&quot;, added to
project.</p></li>
<li><p>docs/api/cmdline-tool.txt: &quot;Inside A Docutils Command-Line Front-End
Tool&quot;, added to project.</p></li>
<li><p>docs/api/publisher.txt: &quot;The Docutils Publisher&quot;, added to project.</p></li>
<li><p>docs/api/runtime-settings.txt: &quot;Docutils Runtime Settings&quot;, added to project.</p></li>
<li><p>docs/dev/policies.txt: Added to project (extracted from
<span class="docutils literal">docs/dev/todo.txt</span>, formerly <span class="docutils literal">spec/notes.txt</span>).</p></li>
<li><p>docs/dev/release.txt: Added to project (extracted from
<span class="docutils literal">docs/dev/todo.txt</span>, formerly <span class="docutils literal">spec/notes.txt</span>).</p></li>
<li><p>docs/dev/testing.txt: Added to project.</p></li>
<li><p>docs/dev/website.txt: Added to project (extracted from
<span class="docutils literal">docs/dev/todo.txt</span>, formerly <span class="docutils literal">spec/notes.txt</span>).</p></li>
<li><p>docs/ref/rst/directives.txt:</p>
<ul>
<li><p>Added directives: &quot;table&quot;, &quot;csv-table&quot;.</p></li>
</ul>
</li>
<li><p>docs/user/rst/cheatsheet.txt: &quot;The reStructuredText Cheat Sheet&quot;
added to project.  1 page for syntax, and a 1 page reference for
directives and roles.  Source text to be used as-is; not meant to be
converted to HTML.</p></li>
<li><p>docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
with a change of title.</p></li>
<li><p>test/functional/, contents, and test/test_functional.py: Added to
project.</p></li>
<li><p>tools/buildhtml.py: Fixed bug with config file handling.</p></li>
<li><p>tools/html.py: Removed from project (duplicate of rst2html.py).</p></li>
<li><p>tools/pep2html.py: Removed from project (duplicate of Python's
nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
Docutils-related PEPs in docs/peps/).</p></li>
<li><p>tools/rst2pseudoxml.py: Renamed from publish.py.</p></li>
<li><p>tools/rst2xml.py: Renamed from docutils-xml.py.</p></li>
<li><p>tools/test.txt: Removed from project; moved to
docs/user/rst/demo.txt.</p></li>
<li><p>setup.py: Now also installs <span class="docutils literal">rst2latex.py</span>.</p></li>
</ul>
</section>
<section id="release-0-3-3-2004-05-09">
<h2><a class="toc-backref" href="#toc-entry-28" role="doc-backlink">Release 0.3.3 (2004-05-09)</a><a class="self-link" title="link to this section" href="#release-0-3-3-2004-05-09"></a></h2>
<ul class="simple">
<li><p>docutils/__init__.py:</p>
<ul>
<li><p>0.3.1: Reorganized config file format (multiple sections); see
docs/config.txt.</p></li>
<li><p>Added unknown_reference_resolvers attribute to TransformSpec.</p></li>
<li><p>0.3.2: Interpreted text reorganization.</p></li>
<li><p>0.3.3: Released.</p></li>
</ul>
</li>
<li><p>docutils/core.py:</p>
<ul>
<li><p>Catch system messages to stop tracebacks from parsing errors.</p></li>
<li><p>Catch exceptions during processing report &amp; exit without
tracebacks, except when <span class="docutils literal"><span class="pre">--traceback</span></span> used.</p></li>
<li><p>Reordered components for OptionParser; application comes last.</p></li>
<li><p>Added &quot;config_section&quot; parameter to several methods and functions,
allowing front ends to easily specify their config file sections.</p></li>
<li><p>Added publish_parts convenience function to allow access to individual
parts of a document.</p></li>
</ul>
</li>
<li><p>docutils/examples.py: Added to project; practical examples of
Docutils client code, to be used as-is or as models for variations.</p></li>
<li><p>docutils/frontend.py:</p>
<ul>
<li><p>Added &quot;traceback&quot; setting.</p></li>
<li><p>Implemented support for config file reorganization:
<span class="docutils literal">standard_config_files</span> moved from <span class="docutils literal">ConfigParser</span> to
<span class="docutils literal">OptionParser</span>; added
<span class="docutils literal">OptionParser.get_config_file_settings()</span> and
<span class="docutils literal">.get_standard_config_settings()</span>; support for old &quot;[options]&quot;
section (with deprecation warning) and mapping from old to new
settings.</p></li>
<li><p>Reimplemented setting validation.</p></li>
<li><p>Enabled flexible boolean values: yes/no, true/false, on/off.</p></li>
<li><p>Added <span class="docutils literal">Values</span>, a subclass of <span class="docutils literal">optparse.Values</span>, with support
for list setting attributes.</p></li>
<li><p>Added support for new <span class="docutils literal">DOCUTILSCONFIG</span> environment variable;
thanks to Beni Cherniavsky.</p></li>
<li><p>Added <span class="docutils literal"><span class="pre">--no-section-numbering</span></span> option.</p></li>
</ul>
</li>
<li><p>docutils/io.py:</p>
<ul>
<li><p>Catch IOErrors when opening source &amp; destination files, report &amp;
exit without tracebacks.  Added <span class="docutils literal">handle_io_errors</span> parameter to
<span class="docutils literal">FileInput</span> &amp; <span class="docutils literal">FileOutput</span> to enable caller error handling.</p></li>
</ul>
</li>
<li><p>docutils/nodes.py:</p>
<ul>
<li><p>Changed <span class="docutils literal">SparseNodeVisitor</span> and <span class="docutils literal">GenericNodeVisitor</span> dynamic
method definitions (via <span class="docutils literal">exec</span>) to dynamic assignments (via
<span class="docutils literal">setattr</span>); thanks to Roman Suzi.</p></li>
<li><p>Encapsulated visitor dynamic assignments in a function; thanks to
Ian Bicking.</p></li>
<li><p>Added indirect_reference_name attribute to the Targetable
class. This attribute holds the whitespace_normalized_name
(contains mixed case) of a target.</p></li>
</ul>
</li>
<li><p>docutils/statemachine.py:</p>
<ul>
<li><p>Renamed <span class="docutils literal">StringList.strip_indent</span> to <span class="docutils literal">.trim_left</span>.</p></li>
<li><p>Added <span class="docutils literal">StringList.get_2D_block</span>.</p></li>
</ul>
</li>
<li><p>docutils/utils.py:</p>
<ul>
<li><p>Added &quot;level&quot; attribute to SystemMessage exceptions.</p></li>
</ul>
</li>
<li><p>docutils/languages/af.py: Added to project; Afrikaans mappings by
Jannie Hofmeyr.</p></li>
<li><p>docutils/languages/cs.py: Added to project; Czech mappings by Marek
Blaha.</p></li>
<li><p>docutils/languages/eo.py: Added to project; Esperanto mappings by
Marcelo Huerta San Martin.</p></li>
<li><p>docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
mappings by Lalo Martins.</p></li>
<li><p>docutils/languages/ru.py: Added to project; Russian mappings by
Roman Suzi.</p></li>
<li><p>docutils/parsers/rst/roles.py: Added to project.  Contains
interpreted text role functions, a registry for interpreted text
roles, and an API for adding to and retrieving from the registry.
Contributed by Edward Loper.</p></li>
<li><p>docutils/parsers/rst/states.py:</p>
<ul>
<li><p>Updated <span class="docutils literal">RSTState.nested_parse</span> for &quot;include&quot; in table cells.</p></li>
<li><p>Allowed true em-dash character and &quot;<span class="docutils literal"><span class="pre">---</span></span>&quot; as block quote
attribution marker.</p></li>
<li><p>Added support for &lt;angle-bracketed&gt; complex option arguments
(option lists).</p></li>
<li><p>Fixed handling of backslashes in substitution definitions.</p></li>
<li><p>Fixed off-by-1 error with extra whitespace after substitution
definition directive.</p></li>
<li><p>Added inline markup parsing to field lists' field names.</p></li>
<li><p>Added support for quoted (and unindented) literal blocks.
Driven in part by a bribe from Frank Siebenlist (thanks!).</p></li>
<li><p>Parser now handles escapes in URIs correctly.</p></li>
<li><p>Made embedded-URIs' reference text omittable.  Idea from Beni
Cherniavsky.</p></li>
<li><p>Refactored explicit target processing code.</p></li>
<li><p>Added name attribute to references containing the reference name only
through whitespace_normalize_name (no case changes).</p></li>
<li><p>parse_target no longer returns the refname after going through
normalize_name. This is now handled in make_target.</p></li>
<li><p>Fixed bug relating to role-less interpreted text in non-English
contexts.</p></li>
<li><p>Reorganized interpreted text processing; moved code into the new
roles.py module.  Contributed by Edward Loper.</p></li>
<li><p>Refactored <span class="docutils literal">Body.parse_directive</span> into <span class="docutils literal">run_directive</span> and
<span class="docutils literal">parse_directive_block</span>.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/tableparser.py:</p>
<ul>
<li><p>Reworked for <span class="docutils literal">StringList</span>, to support &quot;include&quot; directives in
table cells.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/__init__.py:</p>
<ul>
<li><p>Renamed <span class="docutils literal">unchanged()</span> directive option conversion function to
<span class="docutils literal">unchanged_required</span>, and added a new <span class="docutils literal">unchanged</span>.</p></li>
<li><p>Catch unicode value too high error; fixes bug 781766.</p></li>
<li><p>Beefed up directive error reporting.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/body.py:</p>
<ul>
<li><p>Added basic &quot;table&quot; directive.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/images.py:</p>
<ul>
<li><p>Added &quot;target&quot; option to &quot;image&quot; directive.</p></li>
<li><p>Added name attribute to references containing the reference name only
through whitespace_normalize_name (no case changes).</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/misc.py:</p>
<ul>
<li><p>Isolated the import of the <span class="docutils literal">urllib2</span> module; was causing
problems on SourceForge (<span class="docutils literal">libssl.so.2</span> unavailable?).</p></li>
<li><p>Added the &quot;role&quot; directive for declaring custom interpreted text
roles.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/parts.py:</p>
<ul>
<li><p>The &quot;contents&quot; directive does more work up-front, creating the
&quot;topic&quot; and &quot;title&quot;, and leaving the &quot;pending&quot; node for the
transform.  Allows earlier reference resolution; fixes subtle bug.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
mappings by Jannie Hofmeyr.</p></li>
<li><p>docutils/parsers/rst/languages/cs.py: Added to project; Czech
mappings by Marek Blaha.</p></li>
<li><p>docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
mappings by Marcelo Huerta San Martin.</p></li>
<li><p>docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
Portuguese mappings by Lalo Martins.</p></li>
<li><p>docutils/parsers/rst/languages/ru.py: Added to project; Russian
mappings by Roman Suzi.</p></li>
<li><p>docutils/transforms/parts.py:</p>
<ul>
<li><p>The &quot;contents&quot; directive does more work up-front, creating the
&quot;topic&quot; and &quot;title&quot;, and leaving the &quot;pending&quot; node for the
transform.  Allows earlier reference resolution; fixes subtle bug.</p></li>
<li><p>Added support for disabling of section numbering.</p></li>
</ul>
</li>
<li><p>docutils/transforms/references.py:</p>
<ul>
<li><p>Verifying that external targets are truly targets and not indirect
references. This is because we are now adding a &quot;name&quot; attribute to
references in addition to targets. Note sure if this is correct!</p></li>
<li><p>Added code to hook into the unknown_reference_resolvers list for a
transformer in resolve_indirect_target. This allows the
unknown_reference_resolvers to keep around indirect targets which
docutils doesn't know about.</p></li>
<li><p>Added specific error message for duplicate targets.</p></li>
</ul>
</li>
<li><p>docutils/transforms/universal.py:</p>
<ul>
<li><p>Added FilterMessages transform (removes system messages below the
verbosity threshold).</p></li>
<li><p>Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
to FinalCheckVisitor for application-specific handling of
unresolvable references.</p></li>
<li><p>Added specific error message for duplicate targets.</p></li>
</ul>
</li>
<li><p>docutils/writers/__init__.py:</p>
<ul>
<li><p>Added assemble_parts method to the Writer class to allow for
access to a documents individual parts.</p></li>
<li><p>Documented &amp; set default for <span class="docutils literal">Writer.output</span> attribute.</p></li>
</ul>
</li>
<li><p>docutils/writers/html4css1.py:</p>
<ul>
<li><p>Fixed unicode handling of attribute values (bug 760673).</p></li>
<li><p>Prevent duplication of &quot;class&quot; attribute values (bug report from
Kirill Lapshin).</p></li>
<li><p>Improved table grid/border handling (prompted by report from Bob
Marshall).</p></li>
<li><p>Added support for table titles.</p></li>
<li><p>Added &quot;&lt;title /&gt;&quot; for untitled docs, for XHTML conformance; thanks
to Darek Suchojad.</p></li>
<li><p>Added functionality to keep track of individual parts of a document
and store them in a dictionary as the &quot;parts&quot; attribute of the writer.
Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.</p></li>
<li><p>Added proper support for the &quot;scale&quot; attribute of the &quot;image&quot;
element.  Contributed by Brent Cook.</p></li>
<li><p>Added <span class="docutils literal"><span class="pre">--initial-header-level</span></span> option.</p></li>
<li><p>Fixed bug: the body_pre_docinfo segment depended on there being a
docinfo; if no docinfo, the document title was incorporated into
the body segment.  Adversely affected the publish_parts interface.</p></li>
</ul>
</li>
<li><p>docutils/writers/latex2e.py:</p>
<ul>
<li><p>Changed default stylesheet to &quot;no stylesheet&quot; to avoid latex complaining
about a missing file.</p></li>
<li><p>Added options and support: <span class="docutils literal"><span class="pre">--compound-enumerators</span></span>,
<span class="docutils literal"><span class="pre">--section-prefix-for-enumerators</span></span>, and
<span class="docutils literal"><span class="pre">--section-enumerator-separator</span></span>.  By John F Meinel Jr (SF patch
934322).</p></li>
<li><p>Added option <span class="docutils literal"><span class="pre">--use-verbatim-when-possible</span></span>, to avoid
problematic characters (eg, '~' in italian) in literal blocks.</p></li>
<li><p>It's now possible to use four section levels in the <cite>book</cite> and
<cite>report</cite> LaTeX document classes.  The default <cite>article</cite> class still has
three levels limit.</p></li>
</ul>
</li>
<li><p>docs/config.txt: &quot;Docutils Configuration Files&quot;, added to project.
Moved config file entry descriptions from tools.txt.</p></li>
<li><p>docs/tools.txt:</p>
<ul>
<li><p>Moved config file entry descriptions to config.txt.</p></li>
</ul>
</li>
<li><p>spec/notes.txt: Continual updates.  Added &quot;Setting Up For Docutils
Development&quot;.</p></li>
<li><p>spec/howto/rst-roles.txt: &quot;Creating reStructuredText Interpreted
Text Roles&quot;, added to project.</p></li>
<li><p>spec/rst/reStructuredText.txt:</p>
<ul>
<li><p>Added description of support for &lt;angle-bracketed&gt; complex option
arguments to option lists.</p></li>
<li><p>Added subsections for indented and quoted literal blocks.</p></li>
</ul>
</li>
<li><p>test: Continually adding &amp; updating tests.</p>
<ul>
<li><p>Added test/test_settings.py &amp; test/data/config_*.txt support
files.</p></li>
<li><p>Added test/test_writers/test_htmlfragment.py.</p></li>
</ul>
</li>
<li><p>test/DocutilsTestSupport.py:</p>
<ul>
<li><p>Refactored LaTeX publisher test suite/case class names to make
testing other writers easier.</p></li>
<li><p>Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
to test the processing of HTML fragments which use the new
publish_parts convenience function.</p></li>
</ul>
</li>
<li><p>tools/buildhtml.py:</p>
<ul>
<li><p>Added support for the <span class="docutils literal"><span class="pre">--prune</span></span> option.</p></li>
<li><p>Removed dependency on pep2html.py; plaintext PEPs no longer
supported.</p></li>
</ul>
</li>
<li><p>tools/docutils.conf:</p>
<ul>
<li><p>Updated for configuration file reorganization.</p></li>
</ul>
</li>
<li><p>tools/rst2html.py:</p>
<ul>
<li><p>copied from tools/html.py</p></li>
</ul>
</li>
<li><p>setup.py:</p>
<ul>
<li><p>added a 'scripts' section to configuration</p></li>
<li><p>added 'tools/rst2html.py' to the scripts section</p></li>
</ul>
</li>
</ul>
</section>
<section id="release-0-3-2003-06-24">
<h2><a class="toc-backref" href="#toc-entry-29" role="doc-backlink">Release 0.3 (2003-06-24)</a><a class="self-link" title="link to this section" href="#release-0-3-2003-06-24"></a></h2>
<p>General:</p>
<ul class="simple">
<li><p>Renamed &quot;attribute&quot; to &quot;option&quot; for directives/extensions.</p></li>
<li><p>Renamed transform method &quot;transform&quot; to &quot;apply&quot;.</p></li>
<li><p>Renamed &quot;options&quot; to &quot;settings&quot; for runtime settings (as set by
command-line options).  Sometimes &quot;option&quot; (singular) became
&quot;settings&quot; (plural).  Some variations below:</p>
<ul>
<li><p>document.options -&gt; document.settings (stored in other objects as
well)</p></li>
<li><p>option_spec -&gt; settings_spec (not directives though)</p></li>
<li><p>OptionSpec -&gt; SettingsSpec</p></li>
<li><p>cmdline_options -&gt; settings_spec</p></li>
<li><p>relative_path_options -&gt; relative_path_settings</p></li>
<li><p>option_default_overrides -&gt; settings_default_overrides</p></li>
<li><p>Publisher.set_options -&gt; Publisher.get_settings</p></li>
</ul>
</li>
</ul>
<p>Specific:</p>
<ul class="simple">
<li><p>COPYING.txt: Added &quot;Public Domain Dedication&quot;.</p></li>
<li><p>FAQ.txt: Frequently asked questions, added to project.</p></li>
<li><p>setup.py:</p>
<ul>
<li><p>Updated with PyPI Trove classifiers.</p></li>
<li><p>Conditional installation of third-party modules.</p></li>
</ul>
</li>
<li><p>docutils/__init__.py:</p>
<ul>
<li><p>Bumped version to 0.2.1 to reflect changes to I/O classes.</p></li>
<li><p>Bumped version to 0.2.2 to reflect changes to stylesheet options.</p></li>
<li><p>Factored <span class="docutils literal">SettingsSpec</span> out of <span class="docutils literal">Component</span>; separately useful.</p></li>
<li><p>Bumped version to 0.2.3 because of the new <span class="docutils literal"><span class="pre">--embed-stylesheet</span></span>
option and its effect on the PEP template &amp; writer.</p></li>
<li><p>Bumped version to 0.2.4 due to changes to the PEP template &amp;
stylesheet.</p></li>
<li><p>Bumped version to 0.2.5 to reflect changes to Reporter output.</p></li>
<li><p>Added <span class="docutils literal">TransformSpec</span> class for new transform system.</p></li>
<li><p>Bumped version to 0.2.6 for API changes (renaming).</p></li>
<li><p>Bumped version to 0.2.7 for new <span class="docutils literal">docutils.core.publish_*</span>
convenience functions.</p></li>
<li><p>Added <span class="docutils literal">Component.component_type</span> attribute.</p></li>
<li><p>Bumped version to 0.2.8 because of the internal parser switch from
plain lists to the docutils.statemachine.StringList objects.</p></li>
<li><p>Bumped version to 0.2.9 because of the frontend.py API changes.</p></li>
<li><p>Bumped version to 0.2.10 due to changes to the project layout
(third-party modules removed from the &quot;docutils&quot; package), and
signature changes in <span class="docutils literal">io.Input</span>/<span class="docutils literal">io.Output</span>.</p></li>
<li><p>Changed version to 0.3.0 for release.</p></li>
</ul>
</li>
<li><p>docutils/core.py:</p>
<ul>
<li><p>Made <span class="docutils literal">publish()</span> a bit more convenient.</p></li>
<li><p>Generalized <span class="docutils literal">Publisher.set_io</span>.</p></li>
<li><p>Renamed <span class="docutils literal">publish()</span> to <span class="docutils literal">publish_cmdline()</span>; rearranged its
parameters; improved its docstring.</p></li>
<li><p>Added <span class="docutils literal">publish_file()</span> and <span class="docutils literal">publish_string()</span>.</p></li>
<li><p>Factored <span class="docutils literal">Publisher.set_source()</span> and <span class="docutils literal">.set_destination()</span>
out of <span class="docutils literal">.set_io</span>.</p></li>
<li><p>Added support for <span class="docutils literal"><span class="pre">--dump-pseudo-xml</span></span>, <span class="docutils literal"><span class="pre">--dump-settings</span></span>, and
<span class="docutils literal"><span class="pre">--dump-transforms</span></span> hidden options.</p></li>
<li><p>Added <span class="docutils literal">Publisher.apply_transforms()</span> method.</p></li>
<li><p>Added <span class="docutils literal">Publisher.set_components()</span> method; support for
<span class="docutils literal"><span class="pre">publish_*()</span></span> conveninece functions.</p></li>
<li><p>Moved config file processing to docutils/frontend.py.</p></li>
<li><p>Added support for exit status (&quot;exit_level&quot; setting &amp;
<span class="docutils literal">enable_exit</span> parameter for Publisher.publish() and convenience
functions).</p></li>
</ul>
</li>
<li><p>docutils/frontend.py:</p>
<ul>
<li><p>Check for &amp; exit on identical source &amp; destination paths.</p></li>
<li><p>Fixed bug with absolute paths &amp; <span class="docutils literal"><span class="pre">--config</span></span>.</p></li>
<li><p>Set non-command-line defaults in <span class="docutils literal">OptionParser.__init__()</span>:
<span class="docutils literal">_source</span> &amp; <span class="docutils literal">_destination</span>.</p></li>
<li><p>Distributed <span class="docutils literal">relative_path_settings</span> to components; updated
<span class="docutils literal">OptionParser.populate_from_components()</span> to combine it all.</p></li>
<li><p>Require list of keys in <span class="docutils literal">make_paths_absolute</span> (was implicit in
global <span class="docutils literal">relative_path_settings</span>).</p></li>
<li><p>Added <span class="docutils literal"><span class="pre">--expose-internal-attribute</span></span>, <span class="docutils literal"><span class="pre">--dump-pseudo-xml</span></span>,
<span class="docutils literal"><span class="pre">--dump-settings</span></span>, and <span class="docutils literal"><span class="pre">--dump-transforms</span></span> hidden options.</p></li>
<li><p>Removed nasty internals-fiddling <span class="docutils literal">ConfigParser.get_section</span>
code, replaced with correct code.</p></li>
<li><p>Added validation functionality for config files.</p></li>
<li><p>Added <span class="docutils literal"><span class="pre">--error-encoding</span></span> option/setting, &quot;_disable_config&quot;
internal setting.</p></li>
<li><p>Added encoding validation; updated <span class="docutils literal"><span class="pre">--input-encoding</span></span> and
<span class="docutils literal"><span class="pre">--output-encoding</span></span>; added <span class="docutils literal"><span class="pre">--error-encoding-error-handler</span></span> and
<span class="docutils literal"><span class="pre">--output-encoding-error-handler</span></span>.</p></li>
<li><p>Moved config file processing from docutils/core.py.</p></li>
<li><p>Updated <span class="docutils literal">OptionParser.populate_from_components</span> to handle new
<span class="docutils literal">SettingsSpec.settings_defaults</span> dict.</p></li>
<li><p>Added support for &quot;-&quot; =&gt; stdin/stdout.</p></li>
<li><p>Added &quot;exit_level&quot; setting (<span class="docutils literal"><span class="pre">--exit</span></span> option).</p></li>
</ul>
</li>
<li><p>docutils/io.py:</p>
<ul>
<li><p>Split <span class="docutils literal">IO</span> classes into subclasses of <span class="docutils literal">Input</span> and <span class="docutils literal">Output</span>.</p></li>
<li><p>Added automatic closing to <span class="docutils literal">FileInput</span> and <span class="docutils literal">FileOutput</span>.</p></li>
<li><p>Delayed opening of <span class="docutils literal">FileOutput</span> file until <span class="docutils literal">write()</span> called.</p></li>
<li><p><span class="docutils literal">FileOutput.write()</span> now returns the encoded output string.</p></li>
<li><p>Try to get path/stream name automatically in <span class="docutils literal">FileInput</span> &amp;
<span class="docutils literal">FileOutput</span>.</p></li>
<li><p>Added defaults for source &amp; destination paths.</p></li>
<li><p>Allow for Unicode I/O with an explicit &quot;unicode&quot; encoding.</p></li>
<li><p>Added <span class="docutils literal">Output.encode()</span>.</p></li>
<li><p>Removed dependency on runtime settings; pass encoding directly.</p></li>
<li><p>Recognize Unicode strings in <span class="docutils literal">Input.decode()</span>.</p></li>
<li><p>Added support for output encoding error handlers.</p></li>
</ul>
</li>
<li><p>docutils/nodes.py:</p>
<ul>
<li><p>Added &quot;Invisible&quot; element category class.</p></li>
<li><p>Changed <span class="docutils literal">Node.walk()</span> &amp; <span class="docutils literal">.walkabout()</span> to permit more tree
modification during a traversal.</p></li>
<li><p>Added element classes: <span class="docutils literal">line_block</span>, <span class="docutils literal">generated</span>, <span class="docutils literal">address</span>,
<span class="docutils literal">sidebar</span>, <span class="docutils literal">rubric</span>, <span class="docutils literal">attribution</span>, <span class="docutils literal">admonition</span>,
<span class="docutils literal">superscript</span>, <span class="docutils literal">subscript</span>, <span class="docutils literal">inline</span></p></li>
<li><p>Added support for lists of nodes to <span class="docutils literal">Element.insert()</span>.</p></li>
<li><p>Fixed parent linking in <span class="docutils literal">Element.replace()</span>.</p></li>
<li><p>Added new abstract superclass <span class="docutils literal">FixedTextElement</span>; adds
&quot;xml:space&quot; attribute.</p></li>
<li><p>Added support for &quot;line&quot; attribute of <span class="docutils literal">system_message</span> nodes.</p></li>
<li><p>Added support for the observer pattern from <span class="docutils literal">utils.Reporter</span>.
Added <span class="docutils literal">parse_messages</span> and <span class="docutils literal">transform_messages</span> attributes to
<span class="docutils literal">document</span>, removed <span class="docutils literal">messages</span>.  Added <span class="docutils literal">note_parse_message</span>
and <span class="docutils literal">note_transform_message</span> methods.</p></li>
<li><p>Added support for improved diagnostics:</p>
<ul>
<li><p>Added &quot;document&quot;, &quot;source&quot;, and &quot;line&quot; internal attributes to
<span class="docutils literal">Node</span>, set by <span class="docutils literal">Node.setup_child()</span>.</p></li>
<li><p>Converted variations on <span class="docutils literal">node.parent = self</span> to
<span class="docutils literal">self.setup_child(node)</span>.</p></li>
<li><p>Added <span class="docutils literal">document.current_source</span> &amp; <span class="docutils literal">.current_line</span>
attributes, and <span class="docutils literal">.note_source</span> observer method.</p></li>
<li><p>Changed &quot;system_message&quot; output to GNU-Tools format.</p></li>
</ul>
</li>
<li><p>Added a &quot;rawsource&quot; attribute to the <span class="docutils literal">Text</span> class, for text
before backslash-escape resolution.</p></li>
<li><p>Support for new transform system.</p></li>
<li><p>Reworked <span class="docutils literal">pending</span> element.</p></li>
<li><p>Fixed XML DOM bug (SF #660611).</p></li>
<li><p>Removed the <span class="docutils literal">interpeted</span> element class and added
<span class="docutils literal">title_reference</span>, <span class="docutils literal">abbreviation</span>, <span class="docutils literal">acronym</span>.</p></li>
<li><p>Made substitutions case-sensitive-but-forgiving; moved some code
from the parser.</p></li>
<li><p>Fixed Unicode bug on element attributes (report: William Dode).</p></li>
</ul>
</li>
<li><p>docutils/optik.py: Removed from project; replaced with
extras/optparse.py and extras/textwrap.py.  These will be installed
only if they're not already present in the Python installation.</p></li>
<li><p>docutils/roman.py: Moved to extras/roman.py; this will be installed
only if it's not already present in the Python installation.</p></li>
<li><p>docutils/statemachine.py:</p>
<ul>
<li><p>Factored out <span class="docutils literal">State.add_initial_transitions()</span> so it can be
extended.</p></li>
<li><p>Converted whitespace-specific &quot;blank&quot; and &quot;indent&quot; transitions
from special-case code to ordinary transitions: removed
<span class="docutils literal">StateMachineWS.check_line()</span> &amp; <span class="docutils literal">.check_whitespace()</span>, added
<span class="docutils literal">StateWS.add_initial_transitions()</span> method, <span class="docutils literal">ws_patterns</span> &amp;
<span class="docutils literal">ws_initial_transitions</span> attributes.</p></li>
<li><p>Removed <span class="docutils literal">State.match_transition()</span> after merging it into
<span class="docutils literal">.check_line()</span>.</p></li>
<li><p>Added <span class="docutils literal">StateCorrection</span> exception.</p></li>
<li><p>Added support for <span class="docutils literal">StateCorrection</span> in <span class="docutils literal">StateMachine.run()</span>
(moved <span class="docutils literal">TransitionCorrection</span> support there too.)</p></li>
<li><p>Changed <span class="docutils literal">StateMachine.next_line()</span> and <span class="docutils literal">.goto_line()</span> to raise
<span class="docutils literal">EOFError</span> instead of <span class="docutils literal">IndexError</span>.</p></li>
<li><p>Added <span class="docutils literal">State.no_match</span> method.</p></li>
<li><p>Added support for the Observer pattern, triggered by input line
changes.</p></li>
<li><p>Added <span class="docutils literal">strip_top</span> parameter to
<span class="docutils literal">StateMachineWS.get_first_known_indented</span>.</p></li>
<li><p>Made <span class="docutils literal">context</span> a parameter to <span class="docutils literal">StateMachine.run()</span>.</p></li>
<li><p>Added <span class="docutils literal">ViewList</span> &amp; <span class="docutils literal">StringList</span> classes;
<span class="docutils literal">extract_indented()</span> becomes <span class="docutils literal">StringList.get_indented()</span>.</p></li>
<li><p>Added <span class="docutils literal">StateMachine.insert_input()</span>.</p></li>
<li><p>Fixed ViewList slice handling for Python 2.3.  Patch from (and
thanks to) Fred Drake.</p></li>
</ul>
</li>
<li><p>docutils/utils.py:</p>
<ul>
<li><p>Added a <span class="docutils literal">source</span> attribute to Reporter instances and
<span class="docutils literal">system_message</span> elements.</p></li>
<li><p>Added an observer pattern to <span class="docutils literal">utils.Reporter</span> to keep track of
system messages.</p></li>
<li><p>Fixed bugs in <span class="docutils literal">relative_path()</span>.</p></li>
<li><p>Added support for improved diagnostics.</p></li>
<li><p>Moved <span class="docutils literal">normalize_name()</span> to nodes.py (<span class="docutils literal">fully_normalize_name</span>).</p></li>
<li><p>Added support for encoding Reporter stderr output, and encoding
error handlers.</p></li>
<li><p>Reporter keeps track of the highest level system message yet
generated.</p></li>
</ul>
</li>
<li><p>docutils/languages: Fixed bibliographic field language lookups.</p></li>
<li><p>docutils/languages/es.py: Added to project; Spanish mappings by
Marcelo Huerta San Martin.</p></li>
<li><p>docutils/languages/fr.py: Added to project; French mappings by
Stefane Fermigier.</p></li>
<li><p>docutils/languages/it.py: Added to project; Italian mappings by
Nicola Larosa.</p></li>
<li><p>docutils/languages/sk.py: Added to project; Slovak mappings by
Miroslav Vasko.</p></li>
<li><p>docutils/parser/__init__.py:</p>
<ul>
<li><p>Added <span class="docutils literal">Parser.finish_parse()</span> method.</p></li>
</ul>
</li>
<li><p>docutils/parser/rst/__init__.py:</p>
<ul>
<li><p>Added options: <span class="docutils literal"><span class="pre">--pep-references</span></span>, <span class="docutils literal"><span class="pre">--rfc-references</span></span>,
<span class="docutils literal"><span class="pre">--tab-width</span></span>, <span class="docutils literal"><span class="pre">--trim-footnote-reference-space</span></span>.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/states.py:</p>
<ul>
<li><p>Changed &quot;title under/overline too short&quot; system messages from INFO
to WARNING, and fixed its insertion location.</p></li>
<li><p>Fixed enumerated list item parsing to allow paragraphs &amp; section
titles to begin with enumerators.</p></li>
<li><p>Converted system messages to use the new &quot;line&quot; attribute.</p></li>
<li><p>Fixed a substitution reference edge case.</p></li>
<li><p>Added support for <span class="docutils literal"><span class="pre">--pep-references</span></span> and <span class="docutils literal"><span class="pre">--rfc-references</span></span>
options; reworked <span class="docutils literal">Inliner</span> code to make customization easier.</p></li>
<li><p>Removed field argument parsing.</p></li>
<li><p>Added support for short section title over/underlines.</p></li>
<li><p>Fixed &quot;simple reference name&quot; regexp to ignore text like
&quot;object.__method__&quot;; not an anonymous reference.</p></li>
<li><p>Added support for improved diagnostics.</p></li>
<li><p>Reworked directive API, based on Dethe Elza's contribution.  Added
<span class="docutils literal">Body.parse_directive()</span>, <span class="docutils literal">.parse_directive_options()</span>,
<span class="docutils literal">.parse_directive_arguments()</span> methods.</p></li>
<li><p>Added <span class="docutils literal">ExtensionOptions</span> class, to parse directive options
without parsing field bodies.  Factored
<span class="docutils literal">Body.parse_field_body()</span> out of <span class="docutils literal">Body.field()</span>, overridden in
<span class="docutils literal">ExtensionOptions</span>.</p></li>
<li><p>Improved definition list term/classifier parsing.</p></li>
<li><p>Added warnings for unknown directives.</p></li>
<li><p>Renamed <span class="docutils literal">Stuff</span> to <span class="docutils literal">Struct</span>.</p></li>
<li><p>Now flagged as errors: transitions at the beginning or end of
sections, empty sections (except title), and empty documents.</p></li>
<li><p>Updated for <span class="docutils literal">statemachine.StringList</span>.</p></li>
<li><p>Enabled recognition of schemeless email addresses in targets.</p></li>
<li><p>Added support for embedded URIs in hyperlink references.</p></li>
<li><p>Added backslash-escapes to inline markup end-string suffix.</p></li>
<li><p>Added support for correct interpreted text processing.</p></li>
<li><p>Fixed nested title parsing (topic, sidebar directives).</p></li>
<li><p>Added special processing of backslash-escaped whitespace (idea
from David Abrahams).</p></li>
<li><p>Made substitutions case-sensitive-but-forgiving; moved some code
to <span class="docutils literal">docutils.nodes</span>.</p></li>
<li><p>Added support for block quote attributions.</p></li>
<li><p>Added a kludge to work-around a conflict between the bubble-up
parser strategy and short titles (&lt;= 3 char-long over- &amp;
underlines).  Fixes SF bug #738803 &quot;infinite loop with multiple
titles&quot; submitted by Jason Diamond.</p></li>
<li><p>Added explicit interpreted text roles for standard inline markup:
&quot;emphasis&quot;, &quot;strong&quot;, &quot;literal&quot;.</p></li>
<li><p>Implemented &quot;superscript&quot; and &quot;subscript&quot; interpreted text roles.</p></li>
<li><p>Added initial support for &quot;abbreviation&quot; and &quot;acronym&quot; roles;
incomplete.</p></li>
<li><p>Added support for <span class="docutils literal"><span class="pre">--trim-footnote-reference-space</span></span> option.</p></li>
<li><p>Optional space before colons in directives &amp; hyperlink targets.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/tableparser.py:</p>
<ul>
<li><p>Fixed a bug that was producing unwanted empty rows in &quot;simple&quot;
tables.</p></li>
<li><p>Detect bad column spans in &quot;simple&quot; tables.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives: Updated all directive functions to
new API.</p></li>
<li><p>docutils/parsers/rst/directives/__init__.py:</p>
<ul>
<li><p>Added <span class="docutils literal">flag()</span>, <span class="docutils literal">unchanged()</span>, <span class="docutils literal">path()</span>,
<span class="docutils literal">nonnegative_int()</span>, <span class="docutils literal">choice()</span>, and <span class="docutils literal">class_option()</span>
directive option helper functions.</p></li>
<li><p>Added warnings for unknown directives.</p></li>
<li><p>Return <span class="docutils literal">None</span> for missing directives.</p></li>
<li><p>Added <span class="docutils literal">register_directive()</span>, thanks to William Dode and Paul
Moore.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/admonitions.py:</p>
<ul>
<li><p>Added &quot;admonition&quot; directive.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/body.py: Added to project.  Contains
the &quot;topic&quot;, &quot;sidebar&quot; (from Patrick O'Brien), &quot;line-block&quot;,
&quot;parsed-literal&quot;, &quot;rubric&quot;, &quot;epigraph&quot;, &quot;highlights&quot; and
&quot;pull-quote&quot; directives.</p></li>
<li><p>docutils/parsers/rst/directives/images.py:</p>
<ul>
<li><p>Added an &quot;align&quot; attribute to the &quot;image&quot; &amp; &quot;figure&quot; directives
(by Adam Chodorowski).</p></li>
<li><p>Added &quot;class&quot; option to &quot;image&quot;, and &quot;figclass&quot; to &quot;figure&quot;.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/misc.py:</p>
<ul>
<li><p>Added &quot;include&quot;, &quot;raw&quot;, and &quot;replace&quot; directives, courtesy of
Dethe Elza.</p></li>
<li><p>Added &quot;unicode&quot; and &quot;class&quot; directives.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/parts.py:</p>
<ul>
<li><p>Added the &quot;sectnum&quot; directive; by Dmitry Jemerov.</p></li>
<li><p>Added &quot;class&quot; option to &quot;contents&quot; directive.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/references.py: Added to project.
Contains the &quot;target-notes&quot; directive.</p></li>
<li><p>docutils/parsers/rst/languages/__init__.py:</p>
<ul>
<li><p>Return <span class="docutils literal">None</span> from get_language() for missing language modules.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/languages/de.py: Added to project; German
mappings by Engelbert Gruber.</p></li>
<li><p>docutils/parsers/rst/languages/en.py:</p>
<ul>
<li><p>Added interpreted text roles mapping.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/languages/es.py: Added to project; Spanish
mappings by Marcelo Huerta San Martin.</p></li>
<li><p>docutils/parsers/rst/languages/fr.py: Added to project; French
mappings by William Dode.</p></li>
<li><p>docutils/parsers/rst/languages/it.py: Added to project; Italian
mappings by Nicola Larosa.</p></li>
<li><p>docutils/parsers/rst/languages/sk.py: Added to project; Slovak
mappings by Miroslav Vasko.</p></li>
<li><p>docutils/readers/__init__.py:</p>
<ul>
<li><p>Added support for the observer pattern from <span class="docutils literal">utils.Reporter</span>, in
<span class="docutils literal">Reader.parse</span> and <span class="docutils literal">Reader.transform</span>.</p></li>
<li><p>Removed <span class="docutils literal">Reader.transform()</span> method.</p></li>
<li><p>Added default parameter values to <span class="docutils literal">Reader.__init__()</span> to make
instantiation easier.</p></li>
<li><p>Removed bogus aliases: &quot;restructuredtext&quot; is <em>not</em> a Reader.</p></li>
</ul>
</li>
<li><p>docutils/readers/pep.py:</p>
<ul>
<li><p>Added the <span class="docutils literal">peps.TargetNotes</span> transform to the Reader.</p></li>
<li><p>Removed PEP &amp; RFC reference detection code; moved to
parsers/rst/states.py as options (enabled here by default).</p></li>
<li><p>Added support for pre-acceptance PEPs (no PEP number yet).</p></li>
<li><p>Moved <span class="docutils literal">Inliner</span> &amp; made it a class attribute of <span class="docutils literal">Reader</span> for
easy subclassing.</p></li>
</ul>
</li>
<li><p>docutils/readers/python: Python Source Reader subpackage added to
project, including preliminary versions of:</p>
<ul>
<li><p>__init__.py</p></li>
<li><p>moduleparser.py: Parser for Python modules.</p></li>
</ul>
</li>
<li><p>docutils/transforms/__init__.py:</p>
<ul>
<li><p>Added <span class="docutils literal">Transformer</span> class and completed transform reform.</p></li>
<li><p>Added unknown_reference_resolvers list for each transformer. This list holds
the list of functions provided by each component of the transformer that
help resolve references.</p></li>
</ul>
</li>
<li><p>docutils/transforms/frontmatter.py:</p>
<ul>
<li><p>Improved support for generic fields.</p></li>
<li><p>Fixed bibliographic field language lookups.</p></li>
</ul>
</li>
<li><p>docutils/transforms/misc.py: Added to project.  Miscellaneous
transforms.</p></li>
<li><p>docutils/transforms/parts.py:</p>
<ul>
<li><p>Moved the &quot;id&quot; attribute from TOC list items to the references
(<span class="docutils literal">Contents.build_contents()</span>).</p></li>
<li><p>Added the <span class="docutils literal">SectNum</span> transform; by Dmitry Jemerov.</p></li>
<li><p>Added &quot;class&quot; attribute support to <span class="docutils literal">Contents</span>.</p></li>
</ul>
</li>
<li><p>docutils/transforms/peps.py:</p>
<ul>
<li><p>Added <span class="docutils literal">mask_email()</span> function, updating to pep2html.py's
functionality.</p></li>
<li><p>Linked &quot;Content-Type: text/x-rst&quot; to PEP 12.</p></li>
<li><p>Added the <span class="docutils literal">TargetNotes</span> PEP-specific transform.</p></li>
<li><p>Added <span class="docutils literal">TargetNotes.cleanup_callback</span>.</p></li>
<li><p>Added title check to <span class="docutils literal">Headers</span>.</p></li>
</ul>
</li>
<li><p>docutils/transforms/references.py:</p>
<ul>
<li><p>Added the <span class="docutils literal">TargetNotes</span> generic transform.</p></li>
<li><p>Split <span class="docutils literal">Hyperlinks</span> into multiple transforms.</p></li>
<li><p>Fixed bug with multiply-indirect references (report: Bruce Smith).</p></li>
<li><p>Added check for circular indirect references.</p></li>
<li><p>Made substitutions case-sensitive-but-forgiving.</p></li>
</ul>
</li>
<li><p>docutils/transforms/universal.py:</p>
<ul>
<li><p>Added support for the <span class="docutils literal"><span class="pre">--expose-internal-attributes</span></span> option.</p></li>
<li><p>Removed <span class="docutils literal">Pending</span> transform classes &amp; data.</p></li>
</ul>
</li>
<li><p>docutils/writers/__init__.py:</p>
<ul>
<li><p>Removed <span class="docutils literal">Writer.transform()</span> method.</p></li>
</ul>
</li>
<li><p>docutils/writers/docutils-xml.py:</p>
<ul>
<li><p>Added XML and doctype declarations.</p></li>
<li><p>Added <span class="docutils literal"><span class="pre">--no-doctype</span></span> and <span class="docutils literal"><span class="pre">--no-xml-declaration</span></span> options.</p></li>
</ul>
</li>
<li><p>docutils/writers/html4css1.py:</p>
<ul>
<li><p>&quot;name&quot; attributes only on these tags: a, applet, form, frame,
iframe, img, map.</p></li>
<li><p>Added &quot;name&quot; attribute to &lt;a&gt; in section titles for Netscape 4
support (bug report: Pearu Peterson).</p></li>
<li><p>Fixed targets (names) on footnote, citation, topic title,
problematic, and system_message nodes (for Netscape 4).</p></li>
<li><p>Changed field names from &quot;&lt;td&gt;&quot; to &quot;&lt;th&gt;&quot;.</p></li>
<li><p>Added &quot;&#64;&quot; to &quot;&amp;#64;&quot; encoding to thwart address harvesters.</p></li>
<li><p>Improved the vertical whitespace optimization; ignore &quot;invisible&quot;
nodes (targets, comments, etc.).</p></li>
<li><p>Improved inline literals with <span class="docutils literal">&lt;span <span class="pre">class=&quot;pre&quot;&gt;</span></span> around chunks
of text and <span class="docutils literal">&amp;nbsp;</span> for runs of spaces.</p></li>
<li><p>Improved modularity of output; added <span class="docutils literal">self.body_pre_docinfo</span> and
<span class="docutils literal">self.docinfo</span> segments.</p></li>
<li><p>Added support for &quot;line_block&quot;, &quot;address&quot; elements.</p></li>
<li><p>Improved backlinks (footnotes &amp; system_messages).</p></li>
<li><p>Improved system_message output.</p></li>
<li><p>Redefined <span class="docutils literal"><span class="pre">--stylesheet</span></span> as containing an invariant URL, used
verbatim.  Added <span class="docutils literal"><span class="pre">--stylesheet-path</span></span>, interpreted w.r.t. the
working directory.</p></li>
<li><p>Added <span class="docutils literal"><span class="pre">--footnote-references</span></span> option (superscript or brackets).</p></li>
<li><p>Added <span class="docutils literal"><span class="pre">--compact-lists</span></span> and <span class="docutils literal"><span class="pre">--no-compact-lists</span></span> options.</p></li>
<li><p>Added <span class="docutils literal"><span class="pre">--embed-stylesheet</span></span> and <span class="docutils literal"><span class="pre">--link-stylesheet</span></span> options;
factored out <span class="docutils literal">HTMLTranslator.get_stylesheet_reference()</span>.</p></li>
<li><p>Improved field list rendering.</p></li>
<li><p>Added Docutils version to &quot;generator&quot; meta tag.</p></li>
<li><p>Fixed a bug with images; they must be inline, so wrapped in &lt;p&gt;.</p></li>
<li><p>Improved layout of &lt;pre&gt; HTML source.</p></li>
<li><p>Fixed attribute typo on &lt;colspec&gt;.</p></li>
<li><p>Refined XML prologue.</p></li>
<li><p>Support for no stylesheet.</p></li>
<li><p>Removed &quot;interpreted&quot; element support.</p></li>
<li><p>Added support for &quot;title_reference&quot;, &quot;sidebar&quot;, &quot;attribution&quot;,
&quot;rubric&quot;, and generic &quot;admonition&quot; elements.</p></li>
<li><p>Added <span class="docutils literal"><span class="pre">--attribution</span></span> option.</p></li>
<li><p>Added support for &quot;inline&quot;, &quot;subscript&quot;, &quot;superscript&quot; elements.</p></li>
<li><p>Added initial support for &quot;abbreviation&quot; and &quot;acronym&quot;;
incomplete.</p></li>
</ul>
</li>
<li><p>docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
(from the sandbox).</p>
<ul>
<li><p>Added french.</p></li>
<li><p>Double quotes in literal blocks (special treatment for de/ngerman).</p></li>
<li><p>Added <span class="docutils literal"><span class="pre">--hyperlink-color</span></span> option ('0' turns off coloring of links).</p></li>
<li><p>Added <span class="docutils literal"><span class="pre">--attribution</span></span> option.</p></li>
<li><p>Right align attributions.</p></li>
</ul>
</li>
<li><p>docutils/writers/pep_html.py:</p>
<ul>
<li><p>Parameterized output encoding in PEP template.</p></li>
<li><p>Reworked substitutions from <span class="docutils literal">locals()</span> into <span class="docutils literal">subs</span> dict.</p></li>
<li><p>Redefined <span class="docutils literal"><span class="pre">--pep-stylesheet</span></span> as containing an invariant URL, used
verbatim.  Added <span class="docutils literal"><span class="pre">--pep-stylesheet-path</span></span>, interpreted w.r.t. the
working directory.</p></li>
<li><p>Added an override on the <span class="docutils literal"><span class="pre">--footnote-references</span></span> option.</p></li>
<li><p>Factored out <span class="docutils literal">HTMLTranslator.get_stylesheet_reference()</span>.</p></li>
<li><p>Added Docutils version to &quot;generator&quot; meta tag.</p></li>
<li><p>Added a &quot;DO NOT EDIT THIS FILE&quot; comment to generated HTML.</p></li>
</ul>
</li>
<li><p>docs/tools.txt:</p>
<ul>
<li><p>Added a &quot;silent&quot; setting for <span class="docutils literal">buildhtml.py</span>.</p></li>
<li><p>Added a &quot;Getting Help&quot; section.</p></li>
<li><p>Rearranged the structure.</p></li>
<li><p>Kept up to date, with new settings, command-line options etc.</p></li>
<li><p>Added section for <span class="docutils literal">rst2latex.py</span> (Engelbert Gruber).</p></li>
<li><p>Converted settings table into a definition list.</p></li>
</ul>
</li>
<li><p>docs/rst/quickstart.txt:</p>
<ul>
<li><p>Added a table of contents.</p></li>
<li><p>Added feedback information.</p></li>
<li><p>Added mention of minimum section title underline lengths.</p></li>
<li><p>Removed the 4-character minimum for section title underlines.</p></li>
</ul>
</li>
<li><p>docs/rst/quickref.html:</p>
<ul>
<li><p>Added a &quot;Getting Help&quot; section.</p></li>
<li><p>Added a style to make section title backlinks more subtle.</p></li>
<li><p>Added mention of minimum section title underline lengths.</p></li>
<li><p>Removed the 4-character minimum for section title underlines.</p></li>
</ul>
</li>
<li><p>extras: Directory added to project; contains third-party modules
that Docutils depends on (optparse, textwrap, roman).  These are
only installed if they're not already present.</p></li>
<li><p>licenses: Directory added to project; contains copies of license
files for non-public-domain files.</p></li>
<li><p>spec/doctree.txt:</p>
<ul>
<li><p>Changed the focus.  It's about DTD elements:  structural
relationships, semantics, and external (public) attributes.  Not
about the element class library.</p></li>
<li><p>Moved some implementation-specific stuff into <span class="docutils literal">docutils.nodes</span>
docstrings.</p></li>
<li><p>Wrote descriptions of all common attributes and parameter
entities.  Filled in introductory material.</p></li>
<li><p>Working through the element descriptions: 55 down, 37 to go.</p></li>
<li><p>Removed &quot;Representation of Horizontal Rules&quot; to
spec/rst/alternatives.txt.</p></li>
</ul>
</li>
<li><p>spec/docutils.dtd:</p>
<ul>
<li><p>Added &quot;generated&quot; inline element.</p></li>
<li><p>Added &quot;line_block&quot; body element.</p></li>
<li><p>Added &quot;auto&quot; attribute to &quot;title&quot;.</p></li>
<li><p>Changed content models of &quot;literal_block&quot; and &quot;doctest_block&quot; to
<span class="docutils literal">%text.model</span>.</p></li>
<li><p>Added <span class="docutils literal">%number;</span> attribute type parameter entity.</p></li>
<li><p>Changed <span class="docutils literal">%structural.elements;</span> to <span class="docutils literal">%section.elements</span>.</p></li>
<li><p>Updated attribute types; made more specific.</p></li>
<li><p>Added &quot;address&quot; bibliographic element.</p></li>
<li><p>Added &quot;line&quot; attribute to <span class="docutils literal">system_message</span> element.</p></li>
<li><p>Removed &quot;field_argument&quot; element; &quot;field_name&quot; may contain
multiple words and whitespace.</p></li>
<li><p>Changed public identifier to docutils.sf.net.</p></li>
<li><p>Removed &quot;interpreted&quot; element; added &quot;title_reference&quot;,
&quot;abbreviation&quot;, &quot;acronym&quot;.</p></li>
<li><p>Removed &quot;refuri&quot; attribute from &quot;footnote_reference&quot; and
&quot;citation_reference&quot;.</p></li>
<li><p>Added &quot;sidebar&quot;, &quot;rubric&quot;, &quot;attribution&quot;, &quot;admonition&quot;,
&quot;superscript&quot;, &quot;subscript&quot;, and &quot;inline&quot; elements.</p></li>
</ul>
</li>
<li><p>spec/pep-0256.txt: Converted to reStructuredText &amp; updated.</p></li>
<li><p>spec/pep-0257.txt: Converted to reStructuredText &amp; updated.</p></li>
<li><p>spec/pep-0258.txt: Converted to reStructuredText &amp; updated.</p></li>
<li><p>spec/semantics.txt: Updated with text from a Doc-SIG response to
Dallas Mahrt.</p></li>
<li><p>spec/transforms.txt: Added to project.</p></li>
<li><p>spec/howto: Added subdirectory, for developer how-to docs.</p></li>
<li><p>spec/howto/rst-directives.txt: Added to project.  Original by Dethe
Elza, edited &amp; extended by David Goodger.</p></li>
<li><p>spec/howto/i18n.txt: Docutils Internationalization.  Added to
project.</p></li>
<li><p>spec/rst/alternatives.txt:</p>
<ul>
<li><p>Added &quot;Doctree Representation of Transitions&quot; from
spec/doctree.txt.</p></li>
<li><p>Updated &quot;Inline External Targets&quot; &amp; closed the debate.</p></li>
<li><p>Added ideas for interpreted text syntax extensions.</p></li>
<li><p>Added &quot;Nested Inline Markup&quot; section.</p></li>
</ul>
</li>
<li><p>spec/rst/directives.txt:</p>
<ul>
<li><p>Added directives: &quot;topic&quot;, &quot;sectnum&quot;, &quot;target-notes&quot;,
&quot;line-block&quot;, &quot;parsed-literal&quot;, &quot;include&quot;, &quot;replace&quot;, &quot;sidebar&quot;,
&quot;admonition&quot;, &quot;rubric&quot;, &quot;epigraph&quot;, &quot;highlights&quot;, &quot;unicode&quot; and
&quot;class&quot;.</p></li>
<li><p>Formalized descriptions of directive details.</p></li>
<li><p>Added an &quot;align&quot; attribute to the &quot;image&quot; &amp; &quot;figure&quot; directives
(by Adam Chodorowski).</p></li>
<li><p>Added &quot;class&quot; options to &quot;topic&quot;, &quot;sidebar&quot;, &quot;line-block&quot;,
&quot;parsed-literal&quot;, &quot;contents&quot;, and &quot;image&quot;; and &quot;figclass&quot; to
&quot;figure&quot;.</p></li>
</ul>
</li>
<li><p>spec/rst/interpreted.txt: Added to project.  Descriptions of
interpreted text roles.</p></li>
<li><p>spec/rst/introduction.txt:</p>
<ul>
<li><p>Added pointers to material for new users.</p></li>
</ul>
</li>
<li><p>spec/rst/reStructuredText.txt:</p>
<ul>
<li><p>Disambiguated comments (just add a newline after the &quot;::&quot;).</p></li>
<li><p>Updated enumerated list description; added a discussion of the
second-line validity checking.</p></li>
<li><p>Updated directive description.</p></li>
<li><p>Added a note redirecting newbies to the user docs.</p></li>
<li><p>Expanded description of inline markup start-strings in non-markup
contexts.</p></li>
<li><p>Removed field arguments and made field lists a generic construct.</p></li>
<li><p>Removed the 4-character minimum for section title underlines.</p></li>
<li><p>Clarified term/classifier delimiter &amp; inline markup ambiguity
(definition lists).</p></li>
<li><p>Added &quot;Embedded URIs&quot;.</p></li>
<li><p>Updated &quot;Interpreted Text&quot; section.</p></li>
<li><p>Added &quot;Character-Level Inline Markup&quot; section.</p></li>
</ul>
</li>
<li><p>test: Continually adding &amp; updating tests.</p>
<ul>
<li><p>Moved test/test_rst/ to test/test_parsers/test_rst/.</p></li>
<li><p>Moved test/test_pep/ to test/test_readers/test_pep/.</p></li>
<li><p>Added test/test_readers/test_python/.</p></li>
<li><p>Added test/test_writers/ (Engelbert Gruber).</p></li>
</ul>
</li>
<li><p>tools:</p>
<ul>
<li><p>Made the <span class="docutils literal">locale.setlocale()</span> calls in front ends
fault-tolerant.</p></li>
</ul>
</li>
<li><p>tools/buildhtml.py:</p>
<ul>
<li><p>Added <span class="docutils literal"><span class="pre">--silent</span></span> option.</p></li>
<li><p>Fixed bug with absolute paths &amp; <span class="docutils literal"><span class="pre">--config</span></span>.</p></li>
<li><p>Updated for new I/O classes.</p></li>
<li><p>Added some exception handling.</p></li>
<li><p>Separated publishers' setting defaults; prevents interference.</p></li>
<li><p>Updated for new <span class="docutils literal">publish_file()</span> convenience function.</p></li>
</ul>
</li>
<li><p>tools/pep-html-template:</p>
<ul>
<li><p>Allow for <span class="docutils literal"><span class="pre">--embed-stylesheet</span></span>.</p></li>
<li><p>Added Docutils version to &quot;generator&quot; meta tag.</p></li>
<li><p>Added a &quot;DO NOT EDIT THIS FILE&quot; comment to generated HTML.</p></li>
<li><p>Conform to XHTML spec.</p></li>
</ul>
</li>
<li><p>tools/pep2html.py:</p>
<ul>
<li><p>Made <span class="docutils literal">argv</span> a parameter to <span class="docutils literal">main()</span>.</p></li>
<li><p>Added support for &quot;Content-Type:&quot; header &amp; arbitrary PEP formats.</p></li>
<li><p>Linked &quot;Content-Type: text/plain&quot; to PEP 9.</p></li>
<li><p>Files skipped (due to an error) are not pushed onto the server.</p></li>
<li><p>Updated for new I/O classes.</p></li>
<li><p>Added <span class="docutils literal">check_requirements()</span> &amp; <span class="docutils literal">pep_type_error()</span>.</p></li>
<li><p>Added some exception handling.</p></li>
<li><p>Updated for new <span class="docutils literal">publish_string()</span> convenience function.</p></li>
<li><p>Added a &quot;DO NOT EDIT THIS FILE&quot; comment to generated HTML.</p></li>
</ul>
</li>
<li><p>tools/quicktest.py:</p>
<ul>
<li><p>Added <span class="docutils literal"><span class="pre">-V</span></span>/<span class="docutils literal"><span class="pre">--version</span></span> option.</p></li>
</ul>
</li>
<li><p>tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.</p></li>
<li><p>tools/unicode2rstsubs.py: Added to project.  Produces character
entity files (reSructuredText substitutions) from the MathML master
unicode.xml file.</p></li>
<li><p>tools/editors: Support code for editors, added to project.  Contains
<span class="docutils literal">emacs/restructuredtext.el</span>.</p></li>
<li><p>tools/stylesheets/default.css: Moved into the stylesheets directory.</p>
<ul>
<li><p>Added style for chunks of inline literals.</p></li>
<li><p>Removed margin for first child of table cells.</p></li>
<li><p>Right-aligned field list names.</p></li>
<li><p>Support for auto-numbered section titles in TOCs.</p></li>
<li><p>Increased the size of inline literals (&lt;tt&gt;) in titles.</p></li>
<li><p>Restored the light gray background for inline literals.</p></li>
<li><p>Added support for &quot;line_block&quot; elements.</p></li>
<li><p>Added style for &quot;address&quot; elements.</p></li>
<li><p>Removed &quot;a.footnote-reference&quot; style; doing it with <span class="docutils literal">&lt;sup&gt;</span> now.</p></li>
<li><p>Improved field list rendering.</p></li>
<li><p>Vertical whitespace improvements.</p></li>
<li><p>Removed &quot;a.target&quot; style.</p></li>
</ul>
</li>
<li><p>tools/stylesheets/pep.css:</p>
<ul>
<li><p>Fixed nested section margins.</p></li>
<li><p>Other changes parallel those of <span class="docutils literal"><span class="pre">../default.css</span></span>.</p></li>
</ul>
</li>
</ul>
</section>
<section id="release-0-2-2002-07-31">
<h2><a class="toc-backref" href="#toc-entry-30" role="doc-backlink">Release 0.2 (2002-07-31)</a><a class="self-link" title="link to this section" href="#release-0-2-2002-07-31"></a></h2>
<p>General:</p>
<ul class="simple">
<li><p>The word &quot;component&quot; was being used ambiguously.  From now on,
&quot;component&quot; will be used to mean &quot;Docutils component&quot;, as in Reader,
Writer, Parser, or Transform.  Portions of documents (Table of
Contents, sections, etc.)  will be called &quot;document parts&quot;.</p></li>
<li><p>Did a grand renaming: a lot of <span class="docutils literal">verylongnames</span> became
<span class="docutils literal">very_long_names</span>.</p></li>
<li><p>Cleaned up imports: no more relative package imports or
comma-separated lists of top-level modules.</p></li>
<li><p>Added support for an option values object which carries default
settings and overrides (from command-line options and library use).</p></li>
<li><p>Added internal Unicode support, and support for both input and
output encodings.</p></li>
<li><p>Added support for the <span class="docutils literal">docutils.io.IO</span> class &amp; subclasses.</p></li>
</ul>
<p>Specific:</p>
<ul class="simple">
<li><p>docutils/__init__.py:</p>
<ul>
<li><p>Added <span class="docutils literal">ApplicationError</span> and <span class="docutils literal">DataError</span>, for use throughout
the package.</p></li>
<li><p>Added <span class="docutils literal">Component</span> base class for Docutils components; implements
the <span class="docutils literal">supports</span> method.</p></li>
<li><p>Added <span class="docutils literal">__version__</span> (thus, <span class="docutils literal">docutils.__version__</span>).</p></li>
</ul>
</li>
<li><p>docutils/core.py:</p>
<ul>
<li><p>Removed many keyword parameters to <span class="docutils literal">Publisher.__init__()</span> and
<span class="docutils literal">publish()</span>; bundled into an option values object.  Added
&quot;argv&quot;, &quot;usage&quot;, &quot;description&quot;, and &quot;option_spec&quot; parameters for
command-line support.</p></li>
<li><p>Added <span class="docutils literal">Publisher.process_command_line()</span> and <span class="docutils literal">.set_options()</span>
methods.</p></li>
<li><p>Reworked I/O model for <span class="docutils literal">docutils.io</span> wrappers.</p></li>
<li><p>Updated <span class="docutils literal">Publisher.set_options()</span>; now returns option values
object.</p></li>
<li><p>Added support for configuration files (/etc/docutils.conf,
./docutils.conf, ~/.docutils).</p></li>
<li><p>Added <span class="docutils literal">Publisher.setup_option_parser()</span>.</p></li>
<li><p>Added default usage message and description.</p></li>
</ul>
</li>
<li><p>docutils/frontend.py: Added to project; support for front-end
(command-line) scripts.  Option specifications may be augmented by
components.  Requires Optik (<a class="reference external" href="http://optik.sourceforge.net/">http://optik.sourceforge.net/</a>) for option
processing (installed locally as docutils/optik.py).</p></li>
<li><p>docutils/io.py: Added to project; uniform API for a variety of input
output mechanisms.</p></li>
<li><p>docutils/nodes.py:</p>
<ul>
<li><p>Added <span class="docutils literal">TreeCopyVisitor</span> class.</p></li>
<li><p>Added a <span class="docutils literal">copy</span> method to <span class="docutils literal">Node</span> and subclasses.</p></li>
<li><p>Added a <span class="docutils literal">SkipDeparture</span> exception for visitors.</p></li>
<li><p>Renamed <span class="docutils literal">TreePruningException</span> from <span class="docutils literal">VisitorException</span>.</p></li>
<li><p>Added docstrings to <span class="docutils literal">TreePruningException</span>, subclasses, and
<span class="docutils literal">Nodes.walk()</span>.</p></li>
<li><p>Improved docstrings.</p></li>
<li><p>Added <span class="docutils literal">SparseNodeVisitor</span>, refined <span class="docutils literal">NodeVisitor</span>.</p></li>
<li><p>Moved <span class="docutils literal">utils.id()</span> to <span class="docutils literal">nodes.make_id()</span> to avoid circular
imports.</p></li>
<li><p>Added <span class="docutils literal">decoration</span>, <span class="docutils literal">header</span>, and <span class="docutils literal">footer</span> node classes, and
<span class="docutils literal">PreDecorative</span> mixin.</p></li>
<li><p>Reworked the name/id bookkeeping; to <span class="docutils literal">document</span>, removed
<span class="docutils literal">explicit_targets</span> and <span class="docutils literal">implicit_targets</span> attributes, added
<span class="docutils literal">nametypes</span> attribute and <span class="docutils literal">set_name_id_map</span> method.</p></li>
<li><p>Added <span class="docutils literal">NodeFound</span> exception, for use with <span class="docutils literal">NodeVisitor</span>
traversals.</p></li>
<li><p>Added <span class="docutils literal">document.has_name()</span> method.</p></li>
<li><p>Fixed DOM generation for list-attributes.</p></li>
<li><p>Added category class <span class="docutils literal">Labeled</span> (used by footnotes &amp; citations).</p></li>
<li><p>Added <span class="docutils literal">Element.set_class()</span> method (sets &quot;class&quot; attribute).</p></li>
</ul>
</li>
<li><p>docutils/optik.py: Added to project.  Combined from the Optik
package, with added option groups and other modifications.  The use
of this module is probably only temporary.</p></li>
<li><p>docutils/statemachine.py:</p>
<ul>
<li><p>Added <span class="docutils literal">runtime_init</span> method to <span class="docutils literal">StateMachine</span> and <span class="docutils literal">State</span>.</p></li>
<li><p>Added underscores to improve many awkward names.</p></li>
<li><p>In <span class="docutils literal">string2lines()</span>, changed whitespace normalizing translation
table to regexp; restores Python 2.0 compatibility with Unicode.</p></li>
</ul>
</li>
<li><p>docutils/urischemes.py:</p>
<ul>
<li><p>Filled in some descriptions.</p></li>
<li><p>Added &quot;shttp&quot; scheme.</p></li>
</ul>
</li>
<li><p>docutils/utils.py:</p>
<ul>
<li><p>Added <span class="docutils literal">clean_rcs_keywords</span> function (moved from
docutils/transforms/frontmatter.py
<span class="docutils literal">DocInfo.filter_rcs_keywords</span>).</p></li>
<li><p>Added underscores to improve many awkward names.</p></li>
<li><p>Changed names of Reporter's thresholds:
warning_level -&gt; report_level; error_level -&gt; halt_level.</p></li>
<li><p>Moved <span class="docutils literal">utils.id()</span> to <span class="docutils literal">nodes.make_id()</span>.</p></li>
<li><p>Added <span class="docutils literal">relative_path(source, target)</span>.</p></li>
</ul>
</li>
<li><p>docutils/languages/de.py: German mappings; added to project.  Thanks
to Gunnar Schwant for the translations.</p></li>
<li><p>docutils/languages/en.py: Added &quot;Dedication&quot; bibliographic field
mappings.</p></li>
<li><p>docutils/languages/sv.py: Swedish mappings; added to project by Adam
Chodorowski.</p></li>
<li><p>docutils/parsers/rst/states.py:</p>
<ul>
<li><p>Added underscores to improve many awkward names.</p></li>
<li><p>Added RFC-2822 header support.</p></li>
<li><p>Extracted the inline parsing code from <span class="docutils literal">RSTState</span> to a separate
class, <span class="docutils literal">Inliner</span>, which will allow easy subclassing.</p></li>
<li><p>Made local bindings for <span class="docutils literal">memo</span> container &amp; often-used contents
(reduces code complexity a lot).  See <span class="docutils literal">RSTState.runtime_init()</span>.</p></li>
<li><p><span class="docutils literal">RSTState.parent</span> replaces <span class="docutils literal">RSTState.statemachine.node</span>.</p></li>
<li><p>Added <span class="docutils literal">MarkupMismatch</span> exception; for late corrections.</p></li>
<li><p>Added <span class="docutils literal"><span class="pre">-/:</span></span> characters to inline markup's start string prefix,
<span class="docutils literal">/</span> to end string suffix.</p></li>
<li><p>Fixed a footnote bug.</p></li>
<li><p>Fixed a bug with literal blocks.</p></li>
<li><p>Applied patch from Simon Budig: simplified regexps with symbolic
names, removed <span class="docutils literal">Inliner.groups</span> and <span class="docutils literal">Body.explicit.groups</span>.</p></li>
<li><p>Converted regexps from <span class="docutils literal">'%s' % var</span> to <span class="docutils literal"><span class="pre">'%(var)s'</span> % locals()</span>.</p></li>
<li><p>Fixed a bug in <span class="docutils literal">Inliner.interpreted_or_phrase_ref()</span>.</p></li>
<li><p>Allowed non-ASCII in &quot;simple names&quot; (directive names, field names,
references, etc.).</p></li>
<li><p>Converted <span class="docutils literal">Inliner.patterns.initial</span> to be dynamically built
from parts with <span class="docutils literal">build_regexp()</span> function.</p></li>
<li><p>Changed <span class="docutils literal">Inliner.inline_target</span> to <span class="docutils literal">.inline_internal_target</span>.</p></li>
<li><p>Updated docstrings.</p></li>
<li><p>Changed &quot;table&quot; to &quot;grid_table&quot;; added &quot;simple_table&quot; support.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/tableparser.py:</p>
<ul>
<li><p>Changed <span class="docutils literal">TableParser</span> to <span class="docutils literal">GridTableParser</span>.</p></li>
<li><p>Added <span class="docutils literal">SimpleTableParser</span>.</p></li>
<li><p>Refactored naming.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/directives/__init__.py: Added &quot;en&quot; (English) as
a fallback language for directive names.</p></li>
<li><p>docutils/parsers/rst/directives/html.py: Changed the <span class="docutils literal">meta</span>
directive to use a <span class="docutils literal">pending</span> element, used only by HTML writers.</p></li>
<li><p>docutils/parsers/rst/directives/parts.py: Renamed from
components.py.</p>
<ul>
<li><p>Added &quot;backlinks&quot; attribute to &quot;contents&quot; directive.</p></li>
</ul>
</li>
<li><p>docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
project by Adam Chodorowski.</p></li>
<li><p>docutils/readers/__init__.py: Gave Readers more control over
choosing and instantiating Parsers.</p></li>
<li><p>docutils/readers/pep.py: Added to project; for PEP processing.</p></li>
<li><p>docutils/transforms/__init__.py: <span class="docutils literal">Transform.__init__()</span> now
requires a <span class="docutils literal">component</span> parameter.</p></li>
<li><p>docutils/transforms/components.py: Added to project; transforms
related to Docutils components.</p></li>
<li><p>docutils/transforms/frontmatter.py:</p>
<ul>
<li><p>In <span class="docutils literal">DocInfo.extract_authors</span>, check for a single &quot;author&quot; in an
&quot;authors&quot; group, and convert it to a single &quot;author&quot; element.</p></li>
<li><p>Added support for &quot;Dedication&quot; and generic bibliographic fields.</p></li>
</ul>
</li>
<li><p>docutils/transforms/peps.py: Added to project; PEP-specific.</p></li>
<li><p>docutils/transforms/parts.py: Renamed from old components.py.</p>
<ul>
<li><p>Added filter for <span class="docutils literal">Contents</span>, to use alt-text for inline images,
and to remove inline markup that doesn't make sense in the ToC.</p></li>
<li><p>Added &quot;name&quot; attribute to TOC topic depending on its title.</p></li>
<li><p>Added support for optional TOC backlinks.</p></li>
</ul>
</li>
<li><p>docutils/transforms/references.py: Fixed indirect target resolution
in <span class="docutils literal">Hyperlinks</span> transform.</p></li>
<li><p>docutils/transforms/universal.py:</p>
<ul>
<li><p>Changed <span class="docutils literal">Messages</span> transform to properly filter out system
messages below the warning threshold.</p></li>
<li><p>Added <span class="docutils literal">Decorations</span> transform (support for <span class="docutils literal"><span class="pre">--generator</span></span>,
<span class="docutils literal"><span class="pre">--date</span></span>, <span class="docutils literal"><span class="pre">--time</span></span>, <span class="docutils literal"><span class="pre">--source-link</span></span> options).</p></li>
</ul>
</li>
<li><p>docutils/writers/__init__.py: Added &quot;pdf&quot; alias in anticipation of
Engelbert Gruber's PDF writer.</p></li>
<li><p>docutils/writers/html4css1.py:</p>
<ul>
<li><p>Made XHTML-compatible (switched to lowercase element &amp; attribute
names; empty tag format).</p></li>
<li><p>Escape double-dashes in comment text.</p></li>
<li><p>Improved boilerplate &amp; modularity of output.</p></li>
<li><p>Exposed modular output in Writer class.</p></li>
<li><p>Added a &quot;generator&quot; meta tag to &lt;head&gt;.</p></li>
<li><p>Added support for the <span class="docutils literal"><span class="pre">--stylesheet</span></span> option.</p></li>
<li><p>Added support for <span class="docutils literal">decoration</span>, <span class="docutils literal">header</span>, and <span class="docutils literal">footer</span>
elements.</p></li>
<li><p>In <span class="docutils literal">HTMLTranslator.attval()</span>, changed whitespace normalizing
translation table to regexp; restores Python 2.0 compatibility
with Unicode.</p></li>
<li><p>Added the translator class as instance variable to the Writer, to
make it easily subclassable.</p></li>
<li><p>Improved option list spacing (thanks to Richard Jones).</p></li>
<li><p>Modified field list output.</p></li>
<li><p>Added backlinks to footnotes &amp; citations.</p></li>
<li><p>Added percentage widths to &quot;&lt;col&gt;&quot; tags (from colspec).</p></li>
<li><p>Option lists: &quot;&lt;code&gt;&quot; changed to &quot;&lt;kbd&gt;&quot;, <span class="docutils literal">option_argument</span>
&quot;&lt;span&gt;&quot; changed to &quot;&lt;var&gt;&quot;.</p></li>
<li><p>Inline literals: &quot;&lt;code&gt;&quot; changed to &quot;&lt;tt&gt;&quot;.</p></li>
<li><p>Many changes to optimize vertical space: compact simple lists etc.</p></li>
<li><p>Add a command-line options &amp; directive attributes to control TOC
and footnote/citation backlinks.</p></li>
<li><p>Added support for optional footnote/citation backlinks.</p></li>
<li><p>Added support for generic bibliographic fields.</p></li>
<li><p>Identify backrefs.</p></li>
<li><p>Relative URLs for stylesheet links.</p></li>
</ul>
</li>
<li><p>docutils/writers/pep_html.py: Added to project; HTML Writer for
PEPs (subclass of <span class="docutils literal">html4css1.Writer</span>).</p></li>
<li><p>docutils/writers/pseudoxml.py: Renamed from pprint.py.</p></li>
<li><p>docutils/writers/docutils_xml.py: Added to project; trivial writer
of the Docutils internal doctree in XML.</p></li>
<li><p>docs/tools.txt: &quot;Docutils Front-End Tools&quot;, added to project.</p></li>
<li><p>spec/doctree.txt:</p>
<ul>
<li><p>Changed the title to &quot;The Docutils Document Tree&quot;.</p></li>
<li><p>Added &quot;Hyperlink Bookkeeping&quot; section.</p></li>
</ul>
</li>
<li><p>spec/docutils.dtd:</p>
<ul>
<li><p>Added <span class="docutils literal">decoration</span>, <span class="docutils literal">header</span>, and <span class="docutils literal">footer</span> elements.</p></li>
<li><p>Brought <span class="docutils literal">interpreted</span> element in line with the parser: changed
attribute &quot;type&quot; to &quot;role&quot;, added &quot;position&quot;.</p></li>
<li><p>Added support for generic bibliographic fields.</p></li>
</ul>
</li>
<li><p>spec/notes.txt: Continual updates.  Added &quot;Project Policies&quot;.</p></li>
<li><p>spec/pep-0256.txt:  Updated.  Added &quot;Roadmap to the Doctring PEPs&quot;
section.</p></li>
<li><p>spec/pep-0257.txt: Clarified prohibition of signature repetition.</p></li>
<li><p>spec/pep-0258.txt: Updated.  Added text from pysource.txt and
mailing list discussions.</p></li>
<li><p>spec/pep-0287.txt:</p>
<ul>
<li><p>Renamed to &quot;reStructuredText Docstring Format&quot;.</p></li>
<li><p>Minor edits.</p></li>
<li><p>Reworked Q&amp;A as an enumerated list.</p></li>
<li><p>Converted to reStructuredText format.</p></li>
</ul>
</li>
<li><p>spec/pysource.dtd:</p>
<ul>
<li><p>Reworked structural elements, incorporating ideas from Tony Ibbs.</p></li>
</ul>
</li>
<li><p>spec/pysource.txt: Removed from project.  Moved much of its contents
to pep-0258.txt.</p></li>
<li><p>spec/rst/alternatives.txt:</p>
<ul>
<li><p>Expanded auto-enumerated list idea; thanks to Fred Bremmer.</p></li>
<li><p>Added &quot;Inline External Targets&quot; section.</p></li>
</ul>
</li>
<li><p>spec/rst/directives.txt:</p>
<ul>
<li><p>Added &quot;backlinks&quot; attribute to &quot;contents&quot; directive.</p></li>
</ul>
</li>
<li><p>spec/rst/problems.txt:</p>
<ul>
<li><p>Updated the Enumerated List Markup discussion.</p></li>
<li><p>Added new alternative table markup syntaxes.</p></li>
</ul>
</li>
<li><p>spec/rst/reStructuredText.txt:</p>
<ul>
<li><p>Clarified field list usage.</p></li>
<li><p>Updated enumerated list description.</p></li>
<li><p>Clarified purpose of directives.</p></li>
<li><p>Added <span class="docutils literal"><span class="pre">-/:</span></span> characters to inline markup's start string prefix,
<span class="docutils literal">/</span> to end string suffix.</p></li>
<li><p>Updated &quot;Authors&quot; bibliographic field behavior.</p></li>
<li><p>Changed &quot;inline hyperlink targets&quot; to &quot;inline internal targets&quot;.</p></li>
<li><p>Added &quot;simple table&quot; syntax to supplement the existing but
newly-renamed &quot;grid tables&quot;.</p></li>
<li><p>Added cautions for anonymous hyperlink use.</p></li>
<li><p>Added &quot;Dedication&quot; and generic bibliographic fields.</p></li>
</ul>
</li>
<li><p>test: Made test modules standalone (subdirectories became packages).</p></li>
<li><p>test/DocutilsTestSupport.py:</p>
<ul>
<li><p>Added support for PEP extensions to reStructuredText.</p></li>
<li><p>Added support for simple tables.</p></li>
<li><p>Refactored naming.</p></li>
</ul>
</li>
<li><p>test/package_unittest.py: Renamed from UnitTestFolder.py.</p>
<ul>
<li><p>Now supports true packages containing test modules
(<span class="docutils literal">__init__.py</span> files required); fixes duplicate module name bug.</p></li>
</ul>
</li>
<li><p>test/test_pep/: Subpackage added to project; PEP testing.</p></li>
<li><p>test/test_rst/test_SimpleTableParser.py: Added to project.</p></li>
<li><p>tools:</p>
<ul>
<li><p>Updated html.py and publish.py front-end tools to use the new
command-line processing facilities of <span class="docutils literal">docutils.frontend</span>
(exposed in <span class="docutils literal">docutils.core.Publisher</span>), reducing each to just a
few lines of code.</p></li>
<li><p>Added <span class="docutils literal">locale.setlocale()</span> calls to front-end tools.</p></li>
</ul>
</li>
<li><p>tools/buildhtml.py: Added to project; batch-generates .html from all
the .txt files in directories and subdirectories.</p></li>
<li><p>tools/default.css:</p>
<ul>
<li><p>Added support for <span class="docutils literal">header</span> and <span class="docutils literal">footer</span> elements.</p></li>
<li><p>Added styles for &quot;Dedication&quot; topics (biblio fields).</p></li>
</ul>
</li>
<li><p>tools/docutils.conf: A configuration file; added to project.</p></li>
<li><p>tools/docutils-xml.py: Added to project.</p></li>
<li><p>tools/pep.py: Added to project; PEP to HTML front-end tool.</p></li>
<li><p>tools/pep-html-template: Added to project.</p></li>
<li><p>tools/pep2html.py: Added to project from Python (nondist/peps).
Added support for Docutils (reStructuredText PEPs).</p></li>
<li><p>tools/quicktest.py:</p>
<ul>
<li><p>Added the <span class="docutils literal"><span class="pre">--attributes</span></span> option, hacked a bit.</p></li>
<li><p>Added a second command-line argument (output file); cleaned up.</p></li>
</ul>
</li>
<li><p>tools/stylesheets/: Subdirectory added to project.</p></li>
<li><p>tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.</p></li>
</ul>
</section>
<section id="release-0-1-2002-04-20">
<h2><a class="toc-backref" href="#toc-entry-31" role="doc-backlink">Release 0.1 (2002-04-20)</a><a class="self-link" title="link to this section" href="#release-0-1-2002-04-20"></a></h2>
<p>This is the first release of Docutils, merged from the now inactive
<a class="reference external" href="http://structuredtext.sourceforge.net/">reStructuredText</a> and <a class="reference external" href="http://docstring.sourceforge.net/">Docstring Processing System</a> projects.  For
the pre-Docutils history, see the <a class="reference external" href="http://structuredtext.sourceforge.net/HISTORY.html">reStructuredText HISTORY</a> and the
<a class="reference external" href="http://docstring.sourceforge.net/HISTORY.html">DPS HISTORY</a> files.</p>
<p>General changes: renamed 'dps' package to 'docutils'; renamed
'restructuredtext' subpackage to 'rst'; merged the codebases; merged
the test suites (reStructuredText's test/test_states renamed to
test/test_rst); and all modifications required to make it all work.</p>
<ul class="simple">
<li><p>docutils/parsers/rst/states.py:</p>
<ul>
<li><p>Improved diagnostic system messages for missing blank lines.</p></li>
<li><p>Fixed substitution_reference bug.</p></li>
</ul>
</li>
</ul>
<!-- References
========== -->
<!-- Local Variables:
mode: indented-text
indent-tabs-mode: nil
sentence-end-double-space: t
fill-column: 70
End: -->
</section>
</main>
<footer>
<p><a class="reference external" href="HISTORY.txt">View document source</a>.
Generated on: 2023-11-30 11:16 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>

Youez - 2016 - github.com/yon3zu
LinuXploit