manpage: render references in writer not in man/mandoc/...
[docutils.git] / docutils / HISTORY.txt
blob378ec31c67b7681ecfd0b56e25321d719fb96641
1 .. include:: docs/header0.txt
3 ==================
4  Docutils History
5 ==================
7 :Author: David Goodger; open to all Docutils developers
8 :Contact: docutils-develop@lists.sourceforge.net
9 :Date: $Date$
10 :Revision: $Revision$
11 :Web site: https://docutils.sourceforge.io/
12 :Copyright: This document has been placed in the public domain.
14 .. contents::
17 Release 0.21.rc1
18 ================
20 * General
22   - Drop support for Python 3.7 and 3.8.
23   - Updated build system to use Flit_ (patch #186 by Adam Turner).
24     Removed ``setup.py``.
25   - Provide ``rst2*`` "console_scripts" `entry points`_
26     (without the ``.py`` extension) instead of installing the
27     ``rst2*.py`` front end tools in the binary PATH.
29   .. _Flit: https://github.com/pypa/flit/
31 * docs/ref/docutils.dtd
33   - The <image> element accepts a new attribute "loading".
35   - Fix definitions (no change to actual behaviour):
37     * The <math_block> element uses the attribute "xml:space".
38     * The <raw> element may contain text only (no inline elements).
40 * docutils/frontend.py
42   - Allow `validate_*()` functions to be called with just the "value"
43     argument but keep the legacy interface for use with optparse.
44   - New function `frontend.validate_math_output()`.
46 * docutils/io.py
48   - Simpler and more secure `input encoding`_ default behaviour:
50     Do not use the locale encoding as fallback if Python is started in
51     `UTF-8 mode`_. Stop using "latin1" as second fallback.
53     Remove BOM (U+FEFF ZWNBSP at start of data) only if the "input_encoding"
54     configuration setting is None, '', 'utf-8-sig', 'utf-16', or 'utf-32'.
55     Do not remove other ZWNBSPs.
57     .. _UTF-8 mode: https://docs.python.org/3/library/os.html#utf8-mode
58     .. _input encoding: docs/api/publisher.html#encodings
60   - Auto-close `FileInput.source` in case of reading/decoding errors.
62 * docutils/languages/, docutils/parsers/rst/languages/
64   - Mark/Fix mistranslated localizations of the "admonition" directive
65     name. In Docutils, "admonition" is used as a generic term for
66     "advice"/"advisory"/"remark", not a reprimand.
67   - Add support for Georgian language (patch #204 by Temuri Doghonadze).
68   - Update/complete Catalan translations (patch #203 by Antoni Bella Pérez).
70 * docutils/nodes.py
72   - Remove compatibility hacks `nodes.reprunicode` and `nodes.ensure_str()`.
74 * docutils/parsers/rst/directives/images.py
76   - New "image" directive option "loading".
78 * docutils/parsers/rst/directives/tables.py
80   - Use the same CSV format for the ``:header:`` option and the main data
81     of the "csv-table" directive.
83   - Move `parsers.rst.directives.Table.process_header_option()` method
84     to `parsers.rst.directives.CSVTable`.
86 * docutils/parsers/rst/states.py
88   - Don't split inside "< >" when parsing "option groups" (fixes bug #474).
90 * docutils/parsers/rst/directives/misc.py,
91   docutils/parsers/rst/directives/tables.py
93   - Consider the new root_prefix_ setting when including files with
94     "include", "raw", or "csv-table" directives.
96 * docutils/utils/math/*
98   - Use custom exception `utils.math.MathError` instead of
99     abusing `SyntaxError` for LaTeX math syntax errors.
100   - Unify interface of LaTeX -> MathML conversion functions.
101     Improve error reporting.
102   - Sort ℏ (`\hslash`) as "mathord", not "mathalpha".
104 * docutils/utils/math/latex2mathml.py
106   - Generate "MathML Core" to fix rendering with Chromium/Android.
108     Use CSS rules instead of the deprecated "columnalign" attribute
109     to style <mtable> as "align" environment.
111     Use Mathematical Alphanumeric Symbols instead of <mstyle> with
112     "mathvariant" attribute.
114   - Use <mi> instead of <mo> for character class "mathord".
116   - Support "aligned" environment.
118   - Eliminate side-effect on later import of "tex2unichar".
120 * docutils/utils/math/mathml_elements.py
122   - New module defining MathML element classes
123     (outsourced from latex2mathml.py).
124   - Base MathML element classes on `xml.etree.ElementTree`.
126 * docutils/utils/roman.py
128   - Update to version `1.4 <https://pypi.org/project/roman/4.1/>`__.
129     Fixes feature-request #95 (license is now ZPL 2.1).
131 * docutils/utils/smartquotes.py
133   - Pre-compile regexps once, not with every call of `educateQuotes()`
134     (patch #206 by Chris Sewell).
135   - Simplify regexps; skip replacement rules if there is nothing to replace.
137 * docutils/writers/html4css1/__init__.py
139   - Support video inclusion via ``<object>`` tags.
141 * docutils/writers/html5_polyglot/\*.css
143   - Move MathML styles to "minimal.css" (required for correct rendering).
144   - Highlight heading of target section also with explicit hyperlink target.
146 * docutils/writers/_html_base.py
148   - Stop setting the "footnote-reference" class value for footnote references.
149     Since 0.18, you can use the CSS selector ``[role="doc-noteref"]``.
150   - Support reading/embedding images also with "file:" URI.
151   - Warn, if image scaling fails because the image file cannot be read.
152   - Support video inclusion via ``<video>`` tags
153     (moved here from writers/html5_polyglot/__init__.py).
154   - New auxiliary method `HTMLTranslator.uri2imagepath()` ensures the
155     image file can also be read when CWD and output directory differ.
156   - Consider the root_prefix_ setting when converting an image URI
157     to a local filesystem path.
158   - New `\<image>`_ attribute "loading" overrides image_loading_ setting.
159   - Embed SVG images as ``<svg>`` instead of data-URI.
160     Fixes feature-request #100.
161   - Generate system messages for errors/warnings during the writing stage
162     (image transformations, math content conversion, ...).
163   - Close ``<dt>`` element in `depart_term()` to allow a
164     "definition_list_item" with multiple "terms" (cf. feature-request #60).
165   - Link to the document "#top" from the ToC heading
166     (unless toc_backlinks_ is False).
168 * docutils/writers/latex2e/__init__.py
170   - Fix placement of hyperlink target (label) for tables (bug #440).
171   - More compact LaTeX source for option-lists and description-lists
172     (no change in output).
174 * docutils/writers/manpage.py
176   - Skip footer to avoid the link to document source in the manpage.
177   - Add multiple definition list term support, see feature #60.
178   - Render reference, refid and refuri.
179     Use of ``.UR`` and ``.UE`` macros for reference markup is too brittle.
180   - Add preprocessor hinting tbl first line, see bug #477.
181   - Change tbl-Tables using box option, see bug #475.
182   - Apply literal block patch #205. Use ``.EE`` and ``.EX`` macros.
183     Thanks to G. Branden Robinson.
185 * docutils/writers/odf_odt/__init__.py
187   - Use context manager for image reading operations.
188     Catch `URLError` when `urllib.request.urlopen()` fails.
190   - Convert image URI to path if accessing a local file. Fixes bug #153.
192 * docutils/writers/s5_html/__init__.py
194   - Warn if the S5 writer cannot copy the theme files.
195   - Programmatic customization of theme_url_ setting no longer
196     overridden by the default for theme_.
198 * tools/buildhtml.py
200   - New configuration setting `sources`_.
201   - Match `prune`_ values with `fnmatch.fnmatch()`.
204 Release 0.20.1 (2023-05-17)
205 ===========================
207 * docutils/MANIFEST.in
209   - Include tox.ini and docutils.conf in the source package
210     (cf. bug #467 and bug #461).
212 * tools/rst2odt_prepstyles.py
214   - Moved to ``docutils/writers/odf_odt/prepstyles.py``.
215     Replaced with a provisional backwards compatibility script.
218 Release 0.20 (2023-05-09)
219 =========================
221 * General
223   - Docutils 0.20 is the last version supporting Python 3.7 and 3.8.
224   - Support Python 3.11 (patch #198 by Hugo van Kemenade).
226 * docutils/core.py
228   - New functions `rst2…()` for use as "console_scripts" `entry points`_.
229     (cf. `Future changes` in the RELEASE-NOTES_).
231 * docutils/frontend.py
233   - New configuration setting "output_". Obsoletes the ``<destination>``
234     positional argument (cf. `Future changes` in the RELEASE-NOTES_).
236 * docutils/languages/
237   docutils/parsers/rst/languages/
239   - Support Ukrainian. Patch by Dmytro Kazanzhy.
241 * docutils/nodes.py
243   - Fix `previous_sibling()` method that led to invalid HTML in some cases
244     (cf. patch #195).
245   - Fix bug #463. Spurious comma in deprecation warning.
247 * docutils/parsers/recommonmark_wrapper.py
249   - Improved mock Sphinx module.
251 * docutils/transforms/__init__.py
253   - `Transformer.populate_from_components()` now silently ignores
254     components that are not instances of `docutils.TransformSpec`.
256 * docutils/transforms/frontmatter.py
258   - Accept author names with initials like ``A. Einstein`` in the "author"
259     `bibliographic field`_ instead of rising an error
260     (generally, such names are `parsed as enumerated list`__).
262     .. _bibliographic field:
263         docs/ref/rst/restructuredtext.html#bibliographic-fields
264     __ docs/ref/rst/restructuredtext.html#enumerated-lists
266 * docutils/transforms/references.py
268   - `DanglingReferences` ignores `citation_reference` nodes if the
269     "use_bibex" setting is active. (In this case, citations are provided
270     by LaTeX/BibTeX.) Fixes bug #384.
272 * docutils/utils/__init__.py
274   - New utility function `xml_declaration()`.
275   - `DependencyList.add()` accepts `pathlib.Path` instances.
276   - `find_file_in_dirs()` now returns a POSIX path also on Windows;
277     `get_stylesheet_list()` no longer converts ``\`` to ``/``.
279 * docutils/utils/math/latex2mathml.py
281   - Support "mod" notation for modulo operation / modulus arithmetic.
283 * docutils/utils/math/tex2mathml_extern.py
285   - Support `Pandoc` as alternative LaTeX to MathML converter.
286     Patch by Ximin Luo.
288 * docutils/writers/_html_base.py
290   - Refactoring of `HTMLTranslator` initialization and collecting of
291     document "parts". Adapt HTML writers importing `_html_base`.
293     Changes to the HTML output (no space character before closing tag of
294     XML declaration, order of metadata elements)
295     don't affect the HTML semantics, styling, and rendering.
297   - Wrap definition lists with "details" class argument in a <div>
298     with the "id" and "class" values of the list node.
300   - Use dpub-ARIA role "doc-footnote__" (instead of ARIA role "note")
301     for footnotes.
303     __ https://www.w3.org/TR/dpub-aria-1.1/#doc-footnote
305 * docutils/writers/html5_polyglot/__init__.py
307   - Do not convert class values to HTML5 text-level tags inside
308     <code> and <code-block> (fixes bug #476).
310 * docutils/writers/latex2e/__init__.py
312   - Do not load the `inputenc` package in UTF-8 encoded LaTeX sources.
313     (UTF-8 is the default encoding for LaTeX2e since 2018).
314   - Fix behaviour of the use_bibtex_ setting.
315   - Outsource parts of `depart_document()` to new auxiliary methods
316     `make_title()` and `append_bibliography()`.
317   - Ensure POSIX paths in stylesheet loading macros.
319 * docutils/writers/latex2e/titlepage.tex
321   - Drop ``\usepackage{fixltx2e}`` from template.
322     (Obsolete since 2015 and dropped from other templates in Docutils 0.14.)
324 * docutils/writers/manpage.py
326   - Do not output empty "manual" in ``.TH``.
328 * docutils/writers/xetex/__init__.py
330   - Ignore settings in the [latex2e writer] configuration file section.
331     Place common settings in section [latex writers].
333 * setup.py
335   - Fix SetuptoolsDeprecationWarning: ``Installing '' as data is deprecated``
336     by adding data directories to package_data.packages list.
338 * tox.ini
340   - Extracted flake8 configuration and moved to ``.flake8``.
341   - changedir to directory ``test`` to avoid path problems.
343 * test/
345   - Refactored tests to use common `unittest` idioms.
346     Fixes errors when running the test suite with ``python -m unittest``
347     or external test frameworks, such as Pytest_.
349   .. _pytest: https://pypi.org/project/pytest/
351 * test/coverage.sh
353   - Removed. Use the coverage.py_ project instead,
354     ``coverage run test/alltests.py`` and ``coverage report``.
356   .. _coverage.py: https://pypi.org/project/coverage/
358 * tools/
360   - Moved ``quicktest.py`` to ``tools/dev/``.
363 Release 0.19 (2022-07-05)
364 =========================
366 * General
368   - Dropped support for Python 2.7, 3.5, and 3.6. and removed compatibility
369     hacks from code and tests.
370   - Code cleanup,
371     check PEP 8 conformity with `flake8` (exceptions in file tox.ini).
373 * docutils/__main__.py
375   - New module. Support for ``python -m docutils``.
376     Also used for the ``docutils`` console script `entry point`_.
378 * docutils/core.py
380   - Let `Publisher.publish()` print info and prompt when waiting for input
381     from a terminal (cf. https://clig.dev/#interactivity).
382   - Respect `input_encoding_error_handler`_ setting when opening a source.
384 * docutils/io.py
386   - New function `error_string()`
387     obsoletes `utils.error_reporting.ErrorString`.
388   - Class `ErrorOutput` moved here from `utils.error_reporting` module.
389   - Use "utf-8-sig" instead of Python's default encoding if the
390     `input_encoding`_ setting is None.
391   - Fix error when reading of UTF-16 encoded source without trailing newline.
392   - Suppress deprecation warning (fixes bug #464).
394 * docutils/parsers/__init__.py
396   - Aliases "markdown" and "commonmark" point to "commonmark_wrapper".
397   - Alias for the "myst" parser (https://pypi.org/project/myst-docutils).
398   - Use absolute module names in `_parser_aliases` instead of two
399     import attempts. (Keeps details if the `recommonmark_wrapper` module
400     raises an `ImportError`.)
401   - Prepend parser name to `ImportError` if importing a parser class fails.
403 * docutils/parsers/commonmark_wrapper.py
405   - New module for parsing CommonMark input. Selects a locally installed
406     3rd-party parser (`pycmark`, `myst`, or `recommonmark`).
408 * docutils/parsers/recommonmark_wrapper.py
410   - Raise `ImportError`, if import of the upstream parser module fails.
411     If called from an `"include" directive`_,
412     the system-message now has source/line info.
413   - Adapt to and test with `recommonmark` versions 0.6.0 and 0.7.1.
415   .. _"include" directive: docs/ref/rst/directives.html#include
417 * docutils/parsers/rst/__init__.py
419   - Update PEP base URL (fixes bug #445),
420     use "https:" scheme in RFC base URL.
421   - Add `reporter` to `Directive` class attributes.
423 * docutils/parsers/rst/directives/__init__.py
425   - `parser_name()` keeps details if converting  `ImportError` to  `ValueError`.
427 * docutils/parsers/rst/roles.py
429   - Don't use mutable default values for function arguments. Fixes bug #430.
431 * docutils/transforms/universal.py
433   - Fix bug #435: invalid references in `problematic` nodes
434     with report_level=4.
436 * docutils/utils/__init__.py
438   - `decode_path()` returns `str` instance instead of `nodes.reprunicode`.
440 * docutils/utils/error_reporting.py
442   - Add deprecation warning.
444 * docutils/writers/_html_base.py
446   - Add "html writers" to `config_section_dependencies`. Fixes bug #443.
447   - Write table column widths with 3 digits precision. Fixes bug #444.
449 * docutils/writers/html5_polyglot/__init__.py
451   - Add space before "charset" meta tag closing sequence.
452   - Remove class value "controls" from an `image` node with video content
453     after converting it to a "control" attribute of the <video> tag.
454   - Wrap groups of footnotes in an ``<aside>`` for easier styling.
456 * docutils/writers/pep_html/
458   - Use "https:" scheme in "python_home" URL default.
459   - Fix links in template.txt.
461 * setup.py
463   - New ``docutils``" console script `entry point`_. Fixes bug #447.
465 * test/alltests.py
467   - Always encode the log file ``alltests.out`` using "utf-8".
469 * test/DocutilsTestSupport.py
471   - `exception_data()` now returns None if no exception was raised.
472   - `recommonmark_wrapper` only imported if upstream parser is present.
474 * test/test_parsers/test_rst/test_directives/test_tables.py
476   - Fix bug #436: Null char valid in CSV since Python 3.11.
478 * tools/docutils-cli.py
480   - Allow 3rd-party drop-in components for reader and parser, too.
481   - Fix help output.
482   - Actual code moved to docutils.__main__.py.
484 * tools/rst2odt_prepstyles.py
486   - Options ``-h`` and ``--help`` print short usage message.
488 .. _entry point:
489 .. _entry points:
490     https://packaging.python.org/en/latest/specifications/entry-points/
493 Release 0.18.1 (2021-11-23)
494 ===========================
496 * docutils/nodes.py
498   - `Node.traverse()` returns a list again to restore backwards
499     compatibility. Fixes bug #431.
501   - New method `Node.findall()`: like `Node.traverse()` but returns an
502     iterator. Obsoletes `Node.traverse()`.
504 * docutils/utils/__init__.py
506   - Fix behaviour of `get_stylesheet_list()`: do not look up stylesheets
507     given as `stylesheet`_ setting. Cf. bug #434.
509 * docutils/writers/_html_base.py
511   - Fix handling of ``footnote_backlinks == False`` (report Alan G Isaac).
513 * docutils/writers/html5_polyglot/math.css
515   - Fix typo (bug #432).
517 * docutils/writers/odf_odt/__init__.py
519   - Fix spurious output with Windows (bug #350).
521 * test/test_error_reporting.py
523   - Fix a false positive (bug #434).
526 Release 0.18 (2021-10-26)
527 =========================
529 * docutils/frontend.py
530   - Mark as provisional (will switch from using `optparse` to `argparse`).
531   - Remove hack for the now obsolete "mod_python" Apache module.
532   - New function `get_default_settings()`.
534 * docutils/nodes.py
536   - Don't change a list while looping over it (in
537     `document.set_name_id_map()`). Thanks to Mickey Endito.
539 * docutils/parsers/recommonmark_wrapper.py
541   - Test and update to work with `recommonmark` version 0.6.0.
542     Still provisional.
544     Unfortunately, recommonmark_ is `no longer maintained`__.
546     __ https://github.com/readthedocs/recommonmark/issues/221
548 * docutils/parsers/rst/directives/misc.py
550   - Fix bug #424 Wrong circular inclusion detection.
551     Use a "magic" comment instead of line numbers
552     to keep a log of recursive inclusions.
554 * docutils/parsers/rst/states.py
556   -  Use a "magic" comment to update the log of recursive inclusions.
558 * docutils/writers/html5_polyglot/__init__.py
560   - New option `image_loading`_. Support "lazy" loading of images.
561     Obsoletes `embed_images`_.
563 * docutils/writers/pseudoxml.py
565   - Fix spelling of setting `detailed`_.
567 * tools/docutils-cli.py
569   - Read settings from standard configuration files.
571 Fix spelling errors in documentation and docstrings.
572 Thanks to Dimitri Papadopoulos.
575 Release 0.18b1 (2021-10-05)
576 ===========================
578 * docs/ref/docutils.dtd
580   - New document tree element <meta>.
582 * docutils/frontend.py
584   - The default value for the `auto_id_prefix`_ setting changed to "%":
585     auto-generated IDs use the tag name as prefix.
587 * docutils/nodes.py
589   - Make `\<meta>`_ a standard Docutils doctree node. Writers may ignore
590     <meta> nodes if they are not supported by the output format.
592   - document.make_id(): Do not strip leading number and hyphen characters
593     from `name` if the `id_prefix`_ setting is non-empty.
595   - `Node.traverse()` returns an iterator instead of a list.
597 * docutils/parsers/rst/directives/html.py
599   - Removed. (Meta directive moved to ``misc.py``.)
601 * docutils/parsers/rst/directives/misc.py
603   - `Meta` directive class (moved from html.py) inserts `meta`
604     (instead of `pending`) nodes.
606   - Add `class` option to `Raw` directive.
608 * docutils/parsers/rst/directives/tables.py
610   - Unify behaviour of `"widths" option`_: check that the length of an
611     integer list equals the number of table columns also for the "table"
612     directive.
614 * docutils/tools/math/math2html.py,
615   docutils/tools/math/tex2unicode.py,
616   docutils/writers/html5/math.css
618   - Fork from elyxer and remove code that is not required
619     for math conversion.
620   - Scale variable sized operators and big delimiters with CSS
621   - Support more commands, fix mapping of commands to Unicode characters
622     (cf. `LaTeX syntax for mathematics`_).
623   - Fix bug #244 Wrong subscript/superscript order.
624   - Don't use <tt> element (deprecated in HTML5).
625   - Use STIX fonts if available.
627   .. _LaTeX syntax for mathematics: docs/ref/rst/mathematics.html
629 * docutils/parsers/rst/states.py
631   - Fix source location (line number) for attribution elements.
632     Patch by Mickey Endito.
633   - Add line, source, and rawsource internal attributes for blockquote
634     elements. Patch by Mickey Endito.
636 * docutils/transforms/references.py
638   - Skip system_messages when propagating targets. Fixes bug #425.
640 * docutils/utils/__init__.py
642   - Removed `unique_combinations()` (obsoleted by `itertools.combinations()`).
644 * docutils/utils/latex2mathml.py
646   - Major update (fixes and support for additional commands and symbols).
647     Fixes bug #407.
649 * docutils/writers/_html_base.py
651   - Write footnote brackets and field term colons to HTML, so that
652     they are present also without CSS and when copying text.
653     Adapt ``minimal.css``.
655   - Use semantic tags <aside> for footnote text, topics, admonitions,
656     and system-messages and <nav> for the table of contents. Use <div>
657     for citations.
659   - Only specify table column widths, if the `"widths" option`_ is set
660     and is not "auto" (fixes bug #426).
661     The `table_style`_ setting "colwidths-grid" restores the current default.
663     .. _"widths" option: docs/ref/rst/directives.html#column-widths
665   - Use ARIA roles to enable accessible HTML for abstract, dedication,
666     the table of contents, footnote, references, footnotes, citations,
667     and backlinks.
669   - Use "aria-level" attribute instead of invalid tags <h7>, <h8>, ...
670     for headings of deeply nested sections.
672   - Do not set classes "compound-first", "compound-middle", or
673     "compound-last" to elements nested in a compound.
674     Use class value "backrefs" instead of "fn-backref" for a span of
675     back-references.
677   - Do not write class values handled by the HTML writer ("colwidths-auto",
678     "colwidths-given", "colwidths-grid") to the output.
680   - Move space character between section number and heading into
681     "sectnum" span.
683   - Removed attribute `HTMLTranslator.topic_classes`
685   - Items of a definition list with class argument "details" are
686     converted to <details> disclosure elements.
688 * docutils/writers/html4css1/__init__.py
690   - Overwrite methods in _html_base.HTMLTranslator that use HTML5 tags
691     (details, aside, nav, ...) and attributes (role, aria-level).
693 * docutils/writers/latex2e/__init__.py
695   - The setting `legacy_class_functions`_ now defaults to "False".
696     Adapt stylesheets modifying ``\DUadmonition`` and/or ``\DUtitle``.
698   - Apply patch #181 "Fix tocdepth when chapter/part in use" by
699     John Thorvald Wodder II.
701   - Fix newlines after/before `ids_to_labels()` (cf. patch #183).
703   - Refactor/revise ToC writing.
705   - Don't add ``\phantomsection`` to labels in math-blocks.
707   - Improve spacing and allow customization of Docutils-generated table
708     of contents.
710   - New algorithm for table column widths. Fixes bug #422.
711     New configuration setting `legacy_column_widths`_.
713     `Table.set_table_style()` arguments changed.
715     Only write "continued on next page..." if it fits
716     without making the table columns wider.
718     Table "width" option overrides conflicting "auto" column "widths".
720 * docutils/writers/latex2e/docutils.sty
722   - Fix excessive padding above sidebar titles.
724 * docutils/writers/pseudoxml.py
726   - Fix option `detailed`_ under Python 2.7.
728 * docutils/writers/s5_html/themes/default
730   - Remove IE 6 compatibility workarounds ``iepngfix.htc`` and
731     ``blank.gif`` (fixes bug #169).
733 * docutils/writers/manpage.py
735   - Fix: double quotes need to be escaped on macro invocation.
736     Done everywhere.
739 Release 0.17.1 (2021-04-16)
740 ===========================
742 * docutils/utils/math/latex2mathml.py
744   - Fix bug #406 (MathML translation of ``\mathbf``).
746 * docutils/writers/latex2e/__init__.py
748   - Open ``docutils.sty`` with encoding set to "utf-8".
749     Fixes bug #414: error with Py3k when locale encoding is "ascii".
751 * docutils/parsers/*.py, docutils/transforms/*.py
753   - Provide fallbacks for parser config settings
754     to facilitate programmatic use.
756 * docutils/writers/manpage.py
758   - Apply patch #166: move macro defs above ``.TH``
759     (thanks Willie and sorry for the delay).
762 Release 0.17 (2021-04-03)
763 =========================
765 * General
767   - Installing with ``setup.py`` now requires `setuptools`.
768     Alternatively, install with `pip`_ (or "manually").
769   - Use `importlib.import_module()` to programmatically import modules.
770   - Fix bug #385: Import of language modules.
772   .. _pip: https://pypi.org/project/pip/
774 * docs/ref/docutils.dtd
776   - The "title" attribute of <sidebar> elements is now optional.
778 * docutils/MANIFEST.in
780   - Exclude test outputs.
782 * docutils/__init__.py
784   - VersionInfo:  `ValueError` for invalid values, fix comparison to tuples.
786 * docutils/languages/
787   docutils/parsers/rst/languages/
789   - Apply patch # 177 Arabic mappings by Shahin.
790   - Apply patch for bug #399 Fixes in Korean translation by Shinjo Park.
792 * docutils/nodes.py
794   - Apply patch #165 "Fix error when copying `system_message` node"
795     by Takeshi KOMIYA.
796   - Apply version of patch #167 "Let `document.set_id()` register all
797     existing IDs". Thanks to Takeshi KOMIYA.
798   - Fix bug #410: Use a "property" function to recursively fetch
799     `Node.document` value from parent node.
801 * docutils/parsers/recommonmark_wrapper.py
803   - New, **experimental** wrapper to integrate the
804     `recommonmark`_ Markdown parser for use with Docutils.
805     Currently only tested with `recommonmark` version 0.4.0.
807     .. _recommonmark: https://pypi.org/project/recommonmark/
809 * docutils/parsers/rst/directives/body.py
811   - Make the sidebar's "title" argument optional (feature request #69).
813 * docutils/parsers/rst/directives/html.py
815   - Make `meta` elements available for "latex" and "odt" writers.
817 * docutils/parsers/rst/directives/misc.py
819   - Prevent infinite inclusion loops.
821 * docutils/parsers/rst/roles.py
823   - Apply patch #174 "Lowercase new role names on registration"
824     by John Thorvald Wodder II.
826 * docutils/utils/smartquotes.py
828   - Fix bug #383: Smart quotes around opening and separator characters.
830 * docutils/transforms/components.py
832   - Allow a comma-separated list of formats for the Filter transform.
834 * docutils/writers/html*
836   - Implement feature request #40 "Option to embed images as data URI".
838 * docutils/writers/html5_polyglot/__init__.py
840   - Use the new semantic tags <main>, <section>, <header>,
841     <footer>, <aside>, <figure>, and <figcaption>.
842     See ``minimal.css`` and ``plain.css`` for styling rule examples.
844     Change the `initial_header_level`_ setting default to "2", as browsers
845     use the `same style for <h1> and <h2> when nested in a <section\>`__.
847     __ https://stackoverflow.com/questions/39547412/same-font-size-for-h1-and-h2-in-article
849   - Use HTML text-level tags <small>, <s>, <q>, <dfn>, <var>, <samp>, <kbd>,
850     <i>, <b>, <u>, <mark>, and <bdi> if a unique, matching class value
851     is found in `\<inline>`_ and `\<literal>`_ elements.
852     Use <ins> and <del> if a unique matching class value
853     is found in `inline`, `literal`, or `container` elements.
854     Use <small> for generated code line numbers.
856   - Fix bug #398: properly close link tag to "schema.dcterms".
858   - Add a `viewport meta tag`__ to fix rendering in mobile browsers.
860     __ https://developer.mozilla.org/en-US/docs/Web/HTML/Viewport_meta_tag
862   - Use <video> for images with video MIME types supported by HTML5.
864 * docutils/writers/html5_polyglot/minimal.css
866   - Move non-essential styling to ``plain.css``.
867     Small fixes and tweaks.
869   - Support "captionbelow" class value for tables.
871   - Display code line numbers as pseudo-elements which are skipped
872     when copying text from code blocks. Solves feature request #32.
874 * docutils/writers/html5_polyglot/plain.css
876   - Support numbered figures.
878 * docutils/writers/html5_polyglot/responsive.css
880   - New optional style that adapts to different screen sizes.
882 * docutils/writers/latex2e/__init__.py
884   - Use LaTeX environments for admonitions and "class wrappers" for styling
885     admonitions and titles if the new configuration setting
886     `legacy_class_functions`_ is False.
888   - Remove backwards compatibility code for the deprecated
889     `styling command`__ prefix ``\docutilsrole``.
891     __ docs/user/latex.html#custom-interpreted-text-roles
893   - Remove legacy LaTeX stylesheet ``docutils-05-compat.sty``.
895   - Support the `memoir` LaTeX document class.
896     Fixes bugs #390, #391, and #392. Thanks to John Thorvald Wodder II.
898   - The special value "auto" for the `graphicx_option`_ setting
899     is no longer supported (it never worked for xetex/luatex).
901   - Most helper commands and element definitions are now defined in the
902     LaTeX package `docutils.sty`_ and only inserted in the document
903     preamble if the `stylesheet`__ setting does not list "docutils".
905     .. _docutils.sty: https://ctan.org/pkg/docutils
906     __ docs/user/config.html#stylesheet-latex-writers
908   - Apply patch #173 "Make \*TeX writers convert nonstandard table
909     classes to DUclass environments" by John Thorvald Wodder II.
911   - Fix bug #408 "Incorrect assert in latex writer
912     for multiple citation references".
914   - Apply patch #175 "Fix alignment of nested tables"
915     by John Thorvald Wodder II. Additional fixes to table alignment.
917   - Do not write Docutils-generated ToC, when ``use_latex_toc == True``.
918     (This did happen when publishing from a doctree.)
920   - Set PDF document properties from "meta" directive content.
922   - Apply version of patch #176 "LaTeX writer: Append ``\leavevmode`` to
923     non-docinfo field names" by John Thorvald Wodder II.
925 * docutils/writers/manpage.py
927   - Fix #394 fix missing new line after rubric.
928   - Patch #168 fix crashing on empty citation (by Takeshi KOMIYA).
929   - Fix #126 manpage title with spaces.
930   - Fix #380 command line option problem in sphinx.
932 * docutils/writers/odf_odt/__init__.py
934   - Fix/improve metadata handling:
935     fix "keyword" splitting,
936     allow generic fields (stored as "Custom Properties").
938 * docutils/writers/pseudoxml.py
940   - New option `detailled`_.
942 * test/DocutilsTestSupport.py
944   - Run python3 test like python2 against source not the build/-directory
946 * tools/docutils-cli.py
948   - New generic command line front end that allows the free selection of
949     reader, parser, and writer components.
952 Release 0.16 (2020-01-16)
953 =========================
955 * General
957   - Dropped support for Python 2.6, 3.3 and 3.4
958   - Docutils now supports Python 2.7 and Python 3.5+ natively
959     (without conversion by `2to3`).
960   - Keep `backslash escapes`__ in the document tree. Backslash characters in
961     text are be represented by NULL characters in the `text` attribute of
962     Doctree nodes and removed in the writing stage by the node's
963     `astext()` method.
965   __ https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#escaping-mechanism
967 * docs/ref/docutils.dtd
969   - Use "parameter entities" for `class names`, `reference names`,
970     and `ids`.
972 * docutils/io.py
974   - Remove the `handle_io_errors` option from io.FileInput/Output.
976 * docutils/nodes.py
978   - Speed up Node.next_node().
979   - If `auto_id_prefix`_ ends with "%", this is replaced with the tag name.
980   - Warn about `Node.traverse()` returning an iterator instead of a list
981     in future.
983 * docutils/statemachine.py
985   - Patch [ 158 ] Speed up patterns by saving compiled versions (eric89gxl)
987 * docutils/transforms/universal.py
989   - Fix [ 332 ] Standard backslash escape for smartquotes.
990   - Fix [ 342 ] No escape in roles descending from `inline literal`.
992 * docutils/utils/__init__.py
994   - `unescape()` definition moved to `nodes` to avoid circular import
995     dependency. Fixes [ 366 ].
997 * docutils/writers/latex2e/__init__.py
999   - Fix topic subtitle.
1000   - Make "rubric" bold-italic and left aligned.
1001   - Fix [ 339 ] don't use "alltt" or literal-block-environment
1002     in admonitions and footnotes.
1003   - Deprecation warning for ``\docutilsrole``-prefixed styling commands.
1004   - Add "latex writers" to the `config_section_dependencies`.
1005   - Ignore classes for `rubric` elements
1006     (class wrapper interferes with LaTeX formatting).
1008 * docutils/writers/manpage.py
1010   - Apply fix for [ 287 ] comma after option is bold.
1011   - Apply fix for [ 289 ], line starting with ``.`` in a text.
1013 * docutils/writers/odf_odt/__init__.py
1015   - Fix: ElementTree.getchildren deprecated warning
1017 * docutils/writers/xetex/__init__.py
1019   - Add "latex writers" to the `config_section_dependencies`.
1021 * test/alltests.py
1023   - Fix [ 377 ] ResourceWarning: unclosed file python3.8
1024     Close alltests.out with atexit.
1026 * test/functional/*
1028   - Fix [ 377 ] ResourceWarning: unclosed file python3.8
1029     Read defaults file with context.
1031   - Set `auto_id_prefix`_ to "%" (expands to tag-names).
1032     Results in descriptive links in HTML and more localized changes when
1033     editions to the input add or remove auto-ids.
1035 * test/test_io.py
1037   - Apply patch #157: avoid test failure because of a `ResourceWarning`.
1039 * test/test_writers/test_odt.py
1041   - Fix [ 359 ] Test suite fails on Python 3.8. odt XML sorting.
1042     Use ElementTree instead of minidom.
1044 * tools/buildhtml.py
1046   - New option `html_writer`_.
1049 Release 0.15.1 (2019-07-24)
1050 ===========================
1052 source: branches/rel-0.15
1054 Fix [ 366 ] circular dependency. Release for Python 2 only.
1057 Release 0.15 (2019-07-20)
1058 =========================
1060 * General
1062   - Dropped support for Python 2.4, 2.5, 3.1, and 3.2.
1063   - Infrastructure automation.
1065 * docs/ref/docutils.dtd
1067   - The <table> element accepts the new attribute "width".
1069 * docs/ref/rst/restructuredtext.txt
1071   - Document rST syntax change: Tokens like ``:this:example:`` are now valid
1072     field list names (instead of ordinary text).
1074 * docutils/io.py
1076   - Fix [ 348 ] Since Python 3.4, the 'U' universal newlines mode has been
1077     deprecated. Thanks to hugovk.
1079 * docutils/languages/ko.py, docutils/parsers/rst/languages/ko.py
1081   - Apply [ 153 ] Korean mappings by Thomas Sungjin Kang.
1083 * docutils/nodes.py
1085   - Fix [ 251 ] `system_message.copy()`  `TypeError`.
1086   - `Element.copy()` also copies `document`, `line`, and `source` attributes.
1088 * docutils/parsers/rst/__init__.py
1090   - Apply [ 152 ] reset `default role` at end of document.
1092 * docutils/parsers/rst/states.py
1094   - Allow embedded colons in field list field names.
1096 * docutils/parsers/rst/directives/html.py
1098   - Fix bug #281: Remove escaping backslashes in meta directive content.
1100 * docutils/parsers/rst/directives/misc.py
1102   - Don't convert tabs to spaces, if `tab_width` is negative in
1103     "include" directive with "code" option.
1105 * docutils/parsers/rst/directives/tables.py
1107   - Apply patch #121: Add "width" option for the table directives.
1109 * docutils/transforms/frontmatter.py
1111   - Add field name as class argument to generic docinfo fields unconditionally.
1113 * docutils/transforms/references.py
1115   - Fix bug #331: fixed the "trim" options of the "unicode" directive.
1117 * docutils/utils/__init__.py
1119   - Deprecate `unique_combination()` (obsoleted by `itertools.combination()`.
1121 * docutils/utils/smartquotes.py
1123   - Fix bug #332: use open quote after whitespace, ZWSP, and ZWNJ.
1125 * docutils/writers/html5_polyglot/
1127   - automatically add HTML5-compatible meta tags for docinfo items
1128     "authors", "date", and "copyright".
1130 * docutils/writers/_html_base.py
1132   - Fix bug #358: Non-breaking space removed from fixed-width literal.
1134 * docutils/writers/latex2e/__init__.py
1136   - Fix bug #323: spurious ``\phantomsection`` and whitespace in
1137     ``parts['title']``.
1138   - Fix bug #324: Invalid LaTeX for table with empty multi-column cell.
1139   - Fixes to literal block handling.
1142 Release 0.14 (2017-08-03)
1143 =========================
1145 * docs/ref/docutils.dtd
1147   - Enable validation of Docutils XML documents against the DTD:
1149     Use attribute type NMTOKEN instead of REFID for the `refid` attribute
1150     and NMTOKENS for `backrefs`: REFID refers to an ID type instance,
1151     however, the `ids` attribute cannot use the ID type because `XML only
1152     allows one ID per Element Type`__ and doesn't support a multiple-ID
1153     "IDS" attribute type.
1155   __ https://www.w3.org/TR/REC-xml/#sec-attribute-types
1157 * docs/ref/rst/restructuredtext.txt
1159   - Added documentation for escaped whitespace in URI contexts.
1160   - Clarify use of Unicode character categories.
1162 * docutils/parsers/rst/states.py
1164   - Added functionality: escaped whitespace in URI contexts.
1165   - Consistent handling of all whitespace characters in inline markup
1166     recognition. Fixes [ 307 ] and [ 3402314 ] (now [ 173 ]).
1168 * docutils/parsers/rst/directives/images.py
1170   - Added support for escaped whitespace in URI contexts.
1172 * docutils/parsers/rst/directives/tables.py
1174   - Rework patch [ 120 ] (revert change to Table.get_column_widths()
1175     that led to problems in an application with a custom table directive).
1177 * docutils/transforms/frontmatter.py
1179   - Fix [ 320 ] Russian docinfo fields not recognized.
1181 * docutils/transforms/references.py
1183   - Don't add a second ID to problematic references.
1185 * docutils/transforms/universal.py
1187   Fix `SmartQuotes`: warn only once if language is unsupported,
1188   keep "rawsource" when "educating" quotes.
1190 * docutils/utils/__init__.py
1192   - Added `split_escaped_whitespac()` function, support for escaped
1193     whitespace in URI contexts.
1195 * docutils/utils/error_reporting.py
1197   - Fix [ 321 ] Import block might cause name error.
1199 * docutils/utils/smartquotes.py
1201   - Update quote definitions for languages et, fi, fr, ro, sv, tr, uk.
1202   - New quote definitions for hr, hsb, hu, lv, sh, sl, sr.
1203   - Fix [ 313 ] Differentiate apostrophe from closing single quote
1204     (if possible).
1205   - Fix [ 317 ] Extra space inserted with French smartquotes.
1206   - Add command line interface for stand-alone use (requires 2.7).
1208 * docutils/writers/_html_base.py
1210   - Provide default title in metadata (required by HTML5).
1211   - Fix [ 312 ] HTML writer generates invalid HTML if the table has two tags.
1212   - Fix [ 319 ] The MathJax CDN shut down on April 30, 2017. For security
1213     reasons, we don't use a third party public installation as default but
1214     warn if `math_output`_ is set to MathJax without specifying a URL.
1216 * docutils/writers/html4css1/__init__.py
1218   - Apply [ 125 ] HTML writer: respect automatic table column sizing.
1220 * docutils/writers/latex2e/__init__.py
1222   - Handle class arguments for block-level elements by wrapping them
1223     in a "DUclass" environment. This replaces the special handling for
1224     `epigraph` and `topic` elements.
1226 * docutils/writers/manpage.py
1228   - Apply [ 141 ] Handling inline in manpage writer.
1230 * docutils/writers/odf_odt/__init__.py
1232   - Command line setting `language`_ now sets the default language of the
1233     generated ODF document.
1234   - The use of image directive options :width: (%), :scale:, etc now
1235     set the width/height/size of images in the generated ODF
1236     documents.
1237   - The heading/title of admonitions now reflects the language
1238     specified by the `language`_ setting.
1239   - Fixed [ 306 ] only first of multiple "image" directives with the same URL
1240     shown in output.
1241   - Fixed [ 282 ] python3:  `AttributeError`.
1243 * tools/rst2html4.py: New front-end.
1245 * tools/dev/generate_punctuation_chars.py: New script
1246   to test and update utils.punctuation_chars.
1249 Release 0.13.1 (2016-12-09)
1250 ===========================
1252 * docs/ref/docutils.dtd
1254   - Add the document tree elements <math> and <math_block> (already in use).
1256 * docutils/languages/fa.py
1257   docutils/parsers/rst/languages/fa.py
1258   docutils/languages/la.py
1259   docutils/parsers/rst/languages/la.py:
1261   - Apply [ 133 ] Persian mappings by Shahin Azad.
1262   - Apply [ 135 ] Language modules for Latvian by Alexander Smishlajev
1264 * docutils/nodes.py
1266   - Fix [ 253 ] Attribute key without value not allowed in XML.
1268 * docutils/parsers/
1270   - Apply [ 103 ] Recognize inline markups without word boundaries.
1271   - Enable escaping in embedded URIs and aliases (fixes [ 284 ]).
1273 * docutils/parsers/rst/__init__.py
1275   - Fix [ 233 ] Change the base URL for the :rfc: role.
1277 * docutils/parsers/rst/directives/tables.py
1279   - Apply [ 120 ] tables accept option widths: list of relative widths, 'auto'
1280     or 'grid'.
1282   - Implement feature request [ 48 ]
1283     Add :align: option to the table directives.
1284     Thanks to Takeshi KOMIYA for the patch.
1286 * docutils/parsers/rst/roles.py
1288   - Fix [ 295 ] Class argument for custom role inheriting from math.
1290 * docutils/parsers/rst/tableparser.py
1292   - Really fix [ 159 ] Spurious table column alignment errors.
1294 * docutils/transforms/frontmatter.py
1296   - Add name of generic bibliographic fields as a "classes" attribute value
1297     (after conversion to a valid identifier form).
1299 * docutils/utils/error_reporting.py
1301   - Fix [ 130 ] support streams expecting byte-strings in ErrorOutput.
1303 * docutils/utils/math/math2html.py
1305   - Add ``\colon`` macro, fix spacing around colons. Fixes [ 246 ].
1306   - New upstream version (additional macros, piece-wise integrals and sums).
1308 * docutils/writers/_html_base.py
1310   - New auxiliary module for definitions common to all HTML writers.
1312 * docutils/writers/html5_polyglot/
1314   - New HTML writer generating clean, polyglot_ markup conforming to
1315     `HTML 5`_.
1317     The CSS stylesheets ``minimal.css`` and ``plain.css`` contain required
1318     and recommended layout rules.
1320 * docutils/writers/html4css1/__init__.py
1322   - Add "docutils" to class values for "container" object to address [ 267 ].
1323   - Apply patch [ 119 ] by Anatoly Techtonik: use absolute paths for
1324     `default_stylesheet_path` and `default_template_path`.
1325   - Fix [ 266 ] creating labels/class values in description list items.
1326   - Do not use <sup> and <sub> tags inside <pre> (parsed-literal blocks).
1327   - Fix footnotes with content that does not start with a paragraph.
1328   - Use https in default MathJax URL (report Alan G Isaac).
1329   - Outsourcing of common code to _html_base.py.
1331 * docutils/writers/latex2e/__init__.py
1333   - Fix [ 262 ] Use ``\linewidth`` instead of ``\textwidth`` for figures,
1334     admonitions and docinfo.
1336   - Use absolute path for `default_template_path`.
1338   - Removed deprecated options ``--use-latex-footnotes`` and
1339     ``--figure-footnotes``.
1341   - Cleaner LaTeX code for enumerations and literal blocks.
1343   - Use `hyperref` package together with `bookmark` (improved hyperlinking
1344     by the same author).
1346   - Fix [ 286 ] Empty column title cause invalid latex file.
1348   - Fix [ 224 ] Fix rowspan support for tables.
1350   - Let LaTeX determine the column widths in tables with "colwidths-auto".
1351     Not suited for multi-paragraph cells!
1353 * docutils/writers/odf_odt/__init__.py
1355   - remove decode.encode of filename stored in zip.
1357 * docutils/writers/xetex/__init__.py
1359   - LuaLaTex compatibility: do not load `xunicode` package.
1361 * tools/
1363   - New front-end ``rst2html5.py``.
1365 * tox.ini
1367   - Test py26, py27, py33 and py34.
1369     To use, install the `tox` package via pip or easy_install and use
1370     tox from the project root directory.
1372 .. _polyglot: https://www.w3.org/TR/html-polyglot/
1373 .. _HTML 5: https://www.w3.org/TR/html5/
1376 Release 0.12 (2014-07-06)
1377 =========================
1379 * docs/ref/rst/directives.txt
1381   - Update "math" and "csv-table" descriptions.
1383 * docutils/parsers/rst/directives/images.py
1385   - Fix [ 258 ] ``figwidth="image"`` generates unitless width value.
1387 * docutils/parsers/rst/states.py
1389   - Improve error report when a non-ASCII character is specified as
1390     delimiter, quote or escape character under Python 2.
1391     Fixes [ 249 ] and [ 250 ].
1393 * docutils/writers/html4css1/__init__.py
1395   - Don't add newline after inline math.
1396     Thanks to Yury G. Kudryashov for the patch.
1398 * docutils/writers/latex2e/__init__.py
1400   - Fix [ 239 ] Latex writer glues paragraphs with figure floats.
1401   - Apply [ 116 ] by Kirill Smelkov. Don't hard code \large for subtitle.
1403 * docutils/writers/odf_odt/__init__.py
1405   - Apply patch by Jakub Wilk to fix bug [ 100 ].
1407 * test/test_error_reporting.py
1409   - Fix [ 223 ] by removing redundant tests we do not have control over.
1411 * test/test_nodes.py
1413   - Apply [ 115 ] respect fixed 2to3 string literal conversion behaviour.
1416 Release 0.11 (2013-07-22)
1417 =========================
1419 * General
1421   - Apply [ 2714873 ] Fix for the overwriting of document attributes.
1422   - Support embedded aliases within hyperlink references.
1423   - Fix [ 228 ] try local import of docutils components (reader, writer, parser,
1424     language module) before global search.
1426 * docutils/nodes.py
1428   - Fix [ 3601607 ] `node.__repr__()` must return `str` instance.
1430 * docutils/parsers/rst/directives/__init__.py
1432   - Fix [ 3606028 ] `assert` is skipped with ``python -O``.
1434 * docutils/parsers/rst/directives/images.py
1436   - Apply [ 3599485 ] node source/line information for sphinx translation.
1438 * docutils/parsers/rst/directives/tables.py
1440   - Fix [ 210 ] Python 3.3 checks CVS syntax only if "strict" is True.
1442 * docutils/parsers/rst/states.py
1444   - Fix [ 157 ] Line block parsing doesn't like system message.
1445   - Always import our local copy of roman.py (report Larry Hastings).
1447 * docutils/transforms/references.py
1449   - Fix [ 3607029 ] traceback with embedded alias pointing to missing target.
1451 * docutils/utils/__init__.py
1453   - Fix [ 3596884 ] exception importing `docutils.io`.
1455 * docutils/writers/html4css1/__init__.py
1457   - Fix [ 3600051 ] for tables in a list, table cells are not compacted.
1458   - New setting `stylesheet_dirs`_: Comma-separated list of directories
1459     where stylesheets are found. Used by `stylesheet_path` when expanding
1460     relative path arguments.
1461   - New default for `math_output`_: ``HTML math.css``.
1462   - Avoid repeated class declarations in html4css1 writer
1463     (modified version of patch [ 104 ]).
1466 * docutils/writers/latex2e/__init__.py
1468   - Drop the simple algorithm replacing straight double quotes with
1469     English typographic ones.
1470     Use the `smart_quotes`_ setting to activate this feature.
1471   - Fix literal use of babel shorthands (straight quote, tilde, ...).
1472   - Fix [ 3603246 ] Bug in option ``--graphicx-option=auto``.
1473   - New setting `stylesheet_dirs`__.
1475     __ docs/user/config.html#stylesheet-dirs-latex-writers
1478 * docutils/writers/manpage.py
1480   - Fix [3607063] handle lines starting with a period.
1481   - Fix option separating comma was bold (thanks to Bill Morris).
1484 Release 0.10 (2012-12-16)
1485 =========================
1487 * General
1489   - Dropped support for Python 2.3.
1490   - ``docutils/math``, ``docutils/error_reporting.py``, and
1491     ``docutils/urischemes.py`` moved to the utils package.
1492   - Fix [3541369] Relative __import__ also with Python 3.3.
1493   - Fix [3559988] and [3560841] __import__ local writer, reader, languages
1494     and parsers for Python 2.7 up.
1495   - Fix import of PIL.Image.
1496   - Change default of `syntax_highlight`_ option to "long",
1497     basic syntax highlight styles for LaTeX and HTML.
1499 * docutils/io.py
1501   - FileInput/FileOutput: no system-exit on IOError.  The `handle_io_errors`
1502     option is ignored and will be removed in a future release.
1503   - Fix Py3k error writing to stdout with encoding differing from default.
1504   - Fix opening binary files under Py3k (thanks to Dominic Fitzpatrick).
1506 * docutils/parsers/rst/directives/misc.py
1508   - Fix [ 3546533 ] Unicode error with "date" directive.
1510 * docutils/transforms/universal.py
1512   - SmartQuotes transform for typographic quotes and dashes.
1514 * docutils/utils/__init__.py
1516   - `normalize_language_tag()` now returns `BCP 47`_ conforming tags
1517     with sub-tags separated by ``-``.
1519 * docutils/writers/html4css1/__init__.py
1521   - Use ``<code>`` tag for inline "code",
1522     do not drop nested inline nodes (syntax highlight tokens).
1523   - Customizable MathJax URL (based on patch by Dmitry Shachnev).
1524   - No line break after opening inline math tag.
1526 * docutils/writers/manpage.py
1528   - Apply [ 3527401 ] admonition's don't preserve indentation
1529   - Apply [ 3527397 ] Add indentation to literal blocks in manpage writer.
1531 * docutils/writers/xetex/__init__.py
1533   - Apply [ 3555160 ] ensure order of "otherlanguages".
1534   - Fix section numbering by LaTeX.
1536 * docutils/writers/s5_html/__init__.py
1538   - Fix [ 3556388 ] MathJax does not work with rst2s5.
1540 * docutils/writers/docutils_xml.py
1542   - Fix [ 3552403 ] Prevent broken PyXML replacing stdlibs xml module.
1543   - Fix/improve output with `indents`_ setting.
1545 * setup.py
1547   - Tag ``math.css`` stylesheet as data file (patch by Dmitry Shachnev).
1549 * tools/test/test_buildhtml.py
1551   - Fix [ 3521167 ] allow running in any directory.
1552   - Fix [ 3521168 ] allow running with Python 3.
1555 Release 0.9.1 (2012-06-17)
1556 ==========================
1558 * setup.py
1560   - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
1561     installed in the PYTHONPATH. Converted tests are now
1562     stored in ``test3/``, tools no longer need conversion.
1564     If you installed one of Docutils versions 0.7 ... 0.9 with
1565     ``setup.py install`` under Python 3, remove the spurious
1566     ``test/`` and ``tools/`` directories in the site library root.
1568 * test/
1570   - Make tests independent from the location of the ``test/`` directory.
1571   - Use converted sources (from the ``build/`` directory) for tests under
1572     Python 3.
1574 * tools/
1576   - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
1578 * docutils/io.py
1580   - Fix writing binary data to sys.stdout under Python 3 (allows
1581     ``rst2odt.py`` to be used with output redirection).
1583 * docutils/parsers/rst/directives/misc.py
1585   - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
1586     ``locale == C`` and 8-bit char in path argument of `include` directive.
1588 * test/alltests.py
1590   - class `Tee`: catch  `UnicodeError` when writing to "ascii" stream or
1591     file under Python 3.
1594 Release 0.9 (2012-05-02)
1595 ========================
1597 * General:
1599   - New reStructuredText "code" role and directive and "code" option
1600     of the "include" directive with syntax highlighting by Pygments_.
1601   - Fix parse_option_marker for option arguments containing ``=``.
1602   - Fix [ 2993756 ] import Python Imaging Library's Image module
1603     via ``import PIL`` as starting with PIL 1.2,
1604     "PIL lives in the PIL namespace only" (announcement__).
1606 .. _Pygments: https://pygments.org/
1607 __ https://mail.python.org/pipermail/image-sig/2011-January/006650.html
1609 * setup.py
1611   - Fix [ 2971827 ] and [ 3442827 ]
1612     extras/roman.py moved to docutils/utils/roman.py
1614 * docutils/frontend.py
1616   - Fix [ 3481980 ] Use `os.getcwdu()` in `make_paths_absolute()`.
1618 * docutils/io.py
1620   - Fix [ 3395948 ] (Work around encoding problems in Py3k).
1621   - `mode` argument for FileOutput avoids code replication in
1622     BinaryFileOutput.
1623   - New exceptions  `InputError` and  `OutputError` for IO errors in
1624     FileInput/FileOutput.
1626 * docutils/core.py
1628   - No "hard" system exit on file IO errors: catch and report them in
1629     `Publisher.reportException` instead. Allows handling by a calling
1630     application if the configuration setting `traceback`_ is True.
1632 * docutils/utils.py -> docutils/utils/__init__.py
1634   - docutils.utils is now a package (providing a place for sub-modules)
1636   - DependencyList uses io.FileOutput and 'utf-8' encoding to prevent
1637     errors recording non-ASCII filenames (fixes [ 3434355 ]).
1639   - Fix `relative_path()` with source=None and `unicode` target.
1641 * docutils/parsers/rst/states.py
1643   - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
1644     characters and "international" quotes around inline markup.
1645   - Use `field_marker` pattern to look for start of a
1646     directive option block (fixes [ 3484857 ]).
1648 * docutils/parsers/rst/tableparser.py
1650   - Fix [ 2926161 ] for simple tables.
1651     (Combining chars in grid tables still contribute to cell width.)
1653 * docutils/writers/latex2e/__init__.py
1655   - Support the `abbreviation` and `acronym` standard roles.
1656   - Record only files required to generate the LaTeX source as dependencies.
1657   - Fix handling of missing stylesheets.
1658   - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
1659     when suppressing LaTeX section numbering.
1660   - Use ``\DUtitle`` for unsupported section levels.
1661   - Apply [ 3512791 ] do not compare string literals with "is".
1663 * docutils/writers/xetex/__init__.py
1665   - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
1667 * docutils/writers/html4css1/__init__.py
1669   - Change default for `math_output`_ setting to MathJax.
1670   - Fix handling of missing stylesheets.
1672 * docutils/writers/docutils_xml.py
1674   - Use the visitor pattern with `default_visit()`/`default_depart()` methods
1675     instead of minidom to facilitate special handling of selected nodes.
1676   - Support raw XML (inserted as-is inside a <raw></raw> node).
1678 * docutils/writers/manpage.py
1680   - Do not emit comment line with trailing blank. Problematic for VCS.
1683 Release 0.8.1 (2011-08-30)
1684 ==========================
1686 * General:
1688   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
1689     and [ 3395920 ] (correct copyright info for rst.el).
1691 * test/
1693   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
1695 * docutils/writers/latex2e/__init__.py
1697   - Clean up Babel language setting. Restores Sphinx compatibility.
1700 Release 0.8 (2011-07-07)
1701 ========================
1703 * General:
1705   - Handle language codes according to `BCP 47`_.
1706   - If the specified language is not supported by Docutils,
1707     warn and fall back to English.
1708   - Math support: reStructuredText "math" role and directive,
1709     `math` and `math_block` doctree elements.
1710   - Decode command line arguments with the locale's preferred encoding
1711     (to allow, e.g., ``--title=Dornröschen``).
1712   - Orphaned `python` reader and `newlatex2e` writer moved to the sandbox.
1713   - New sub-module `error_reporting`: handle encoding/decoding errors
1714     when reporting exceptions.
1715   - Some additions to the Docutils core are released under the 2-Clause BSD
1716     license, see COPYING_ for details.
1718   .. _BCP 47: https://www.rfc-editor.org/rfc/bcp/bcp47.txt
1719   .. _COPYING: COPYING.html
1721 * reStructuredText:
1723   - Most directives now support a "name" option that attaches a
1724     reference name.
1726   - Directive content may start on the first line also when the directive
1727     type accepts options.
1729 * docs/dev/policies.txt
1731   - Recommend the 2-Clause BSD license
1732     (http://opensource.org/licenses/BSD-2-Clause)
1733     for code that is kept under the author's copyright.
1735 * tools/buildhtml.py
1737   - Fix ``--local`` switch.
1739 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
1741 * docutils/writers/html4css1/__init__.py
1743   - Set "lang" argument for objects with class argument
1744     "language-<language tag>".
1745   - New setting `math_output`_ with support for HTML, MathML, and LaTeX.
1747 * docutils/writers/latex2e/__init__.py
1749   - Fix [ 3043986 ]  `AttributeError` using :local: with table of content.
1750   - Place title data in the document preamble.
1751   - Load `babel` package only if required.
1752   - Update list of supported languages.
1753   - New config setting `hyperref_options`_.
1754     No hard-coded "unicode" hyperref option (clash with xetex).
1755   - Set language for custom roles, paragraphs, block-quotes, and
1756     line-quotes with class argument "language-<language tag>".
1757   - Fix [ 3095603 ] wrong quotes output for Russian and other languages.
1758   - Convert image URI to a local file path.
1759   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
1760     has more than one paragraph (Wolfgang Scherer).
1761   - \leavevmode before longtable only when needed (prevents spurious vspace)
1762   - do not advance table counter for tables without caption
1764 * docutils/writers/xetex/__init__.py
1766   - New writer generating LaTeX code for compiling with ``xelatex``.
1768     A separate writer (inheriting from latex2e) instead of a ``--xetex``
1769     option allows separate config options for XeTeX vs. LaTeX2e.
1771 * docutils/writers/manpage.py
1773   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
1774   - Fix: vertical space cleaning for option group ``.``.
1776 * tools/editors/emacs/rst.el
1778   - Fix [ 3001100 ] does not handle spaces in filenames.
1779     Thanks to Jakub Wilk.
1781 * docutils/utils.py
1783   - strip whitespace from stylesheet arguments
1784   - exclude combining chars from column_width()
1785     (partial fix for [ 2926161 ])
1787 * docutils/parsers/rst/directives/misc.py
1789   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
1790     nested_parse
1792 * docutils/io.py
1794   - Do not ``close()`` `sys.stdin`, `sys.stdout`, or `sys.stderr`. Prevents
1795     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
1798 Release 0.7 (2010-07-07)
1799 ========================
1801 * General:
1803   - Fix [ 2881769 ] setup configuration.
1804   - Fix [ 2788716 ] reporting problems in included files.
1806 * docutils/io.py
1808   - FileInput opens files as text files with universal newline support
1809     (mode "rU", configurable with the new optional argument "mode").
1811 * docutils/nodes.py
1813   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
1815 * docutils/utils.py
1817   - Fix [ 2923723 ] let `decode_path()` tolerate ``path == None``.
1819 * docutils/writers/html4css1/__init__.py
1821   - Support SVG and SWF images (thanks to Stefan Rank).
1822   - Generate valid XHTML for centred images with targets.
1823     Use CSS classes instead of "align" tags for image alignment.
1825 * docutils/writers/latex2e/__init__.py
1827   - Use `transforms.writer_aux.Admonitions` to "normalize" special
1828     admonitions.
1829   - Use the ``\url`` command for URLs (breaks long URLs instead of
1830     writing into the margin).
1831   - Preserve runs of spaces in `inline literals`__.
1832   - Deprecate `figure_footnotes`_ setting.
1833   - Rename `use_latex_footnotes`_ setting to `docutils_footnotes`_.
1834   - New `latex_preamble`_ setting.
1835   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
1836   - Fix hyperlink targets (labels) for images, figures, and tables.
1837   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
1838   - Apply [ 2961991 ] Call hyperref with unicode option.
1839   - Drop the special `output_encoding`_ default ("latin-1").
1840     The Docutils wide default (usually "UTF-8") is used instead.
1841   - Render inline markup in document title and subtitle.
1842   - Fix numbering depth with LaTeX section numbering.
1843   - Update Unicode -> LaTeX translations.
1844   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
1846 __ docs/ref/restructuredtext.html#inline-literals
1848 * docutils/writers/manpage.py
1850   - Fix: supported attribute (thanks to peter2108).
1851   - Remove trailing blanks in code (keep in sync with mercurial version).
1852   - Titles level 1, that is ``.SH``, always uppercase.
1853   - Apply patch from mg: literal text should be bold in man-pages.
1855 * docutils/nodes.py
1857   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
1858     Turkish locale.
1860 * setup.py
1862   - Python 3 support: copy test/ and tools/ to the build-dir
1863     and convert Python sources with 2to3.
1866 Release 0.6 (2009-10-11)
1867 ========================
1869 * General:
1871   - Docutils is now compatible with Python versions from 2.3 up to 2.6
1872     and convertible to 3.1 code.
1874     + Node.__nonzero__ returns True instead of 1.
1875     + use os.walk instead os.path.walk.
1876     + minimize `types` module where possible.
1877     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
1878     + Text nodes now subclass unicode rather than UserString
1879       (which is gone in python 3.0).
1880     + 3.0 compatibility module docutils._compat
1882     + Drop 2.2 compatibility workarounds.
1883     + Drop extras/optparse.py and extras/textwrap.py
1884       (stdlib modules since 2.3).
1886   - OpenOffice export: ODT writer moved from sandbox to Docutils core.
1887   - Unix man page export: manpage writer moved from sandbox to Docutils
1888     core.
1890   - Apply [ 1719345 ] Galician translation
1891   - Apply [ 1905741 ] Polish translation
1892   - Apply [ 1878977 ] make_id(): deaccent characters.
1893   - Apply [ 2029251 ] return nonzero when tests fail.
1894   - Fix [ 1692788 ] allow UTF-8 in style sheets.
1895   - Fix [ 2781629 ] support non-ASCII chars in file names.
1896   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
1897   - Fix [ 2831643 ] renaming `DirectiveError.message` to `DirectiveError.msg`
1898   - Fix [ 2821266 ] ``--strict`` option works now like ``--halt=info``.
1899   - Fix [ 2788716 ]  `DirectiveError` now correctly reports source and line.
1900   - Fix [ 1627229 ] hyperlink references in substitutions.
1902   - The `newlatex` writer is orphaned.
1904 * reStructuredText:
1906   - Documented Unicode characters allowed as inline markup openers,
1907     closers, and delimiters.
1908   - Allow units for all length specifications.
1909   - Allow percent sign in "scale" argument of "figure" and "image" directives.
1910   - Bugfix: The "figalign" argument of a figure now works as intended
1911     (aligning the figure, not its contents).
1912   - Align images with class "align-[right|center|left]"
1913     (allows setting the alignment of an image in a figure).
1915 * docutils/nodes.py:
1917   - Added `Element.__contains_()` method, for the in-operator.
1919 * docutils/parsers/rst/states.py:
1921   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
1922   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
1923     " " (non-breaking space), and "¡ ¿" openers.
1925 * docutils/parsers/directives/misc.py:
1927   - Added ``start-line`` and ``end-line`` options to "include"
1928     directive to select a range of lines.
1929   - Hard tabs in literal inclusions are replaced by spaces. This is
1930     configurable via the new ``tab-width`` option of the "include" directive
1931     (a negative tab-width prevents tab expansion).
1933 * docutils/utils.py:
1935   - Add `get_stylesheet_lis()` function.
1936   - Apply [ 2834836 ] print info at halt
1938 * docutils/transforms/universal.py:
1940   - Raise default priority of StripClasses to exclude stripped classes from
1941     the ToC.
1943 * docutils/writers/html4css1/__init__.py:
1945   - `stylesheet`_ and `stylesheet_path`_ settings support a comma
1946     separated list of stylesheets.
1947   - Address [ 1938891 ] Inline literal text creates "pre" span only when
1948     needed to prevent inter-word line wraps.
1949   - Use `translate()` method instead of repeated `replace()` calls.
1950   - Fix [ 1757105 ] New `table_style`_ setting. Added to standard table
1951     classes to allow CSS styling that does not interfere with other
1952     table-using constructs (field lists, citations, ...).
1954 * docutils/writers/newlatex2e/__init__.py:
1956   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
1958 * docutils/writers/latex2e/__init__.py:
1960   - Add `embed_stylesheet`_ setting.
1961   - Apply [ 1474017 ] image vertical alignment is reversed.
1962   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
1963   - Change: has_key for dictionaries (not Nodes) to in-operator.
1964   - Merge adjacent citations into one latex cite command.
1965   - Failsafe implementation of custom roles. LaTeX compilation now ignores
1966     unknown classes instead of aborting with an error.
1967   - Support custom roles based on standard roles.
1968   - LaTeX packages can be used as `stylesheet`_ arguments without
1969     restriction. (A style sheet is now referenced with the ``\usepackage``
1970     command, if it ends with ``.sty`` or has no extension.)
1971   - Add ``bp`` to lengths without unit (prevents LaTeX errors).
1972   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
1973   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
1974     2005-02-04 as a configurable length unit).
1975   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
1976     if font-encoding is set to ''. LaTeX defaults to OT1 then.
1977   - Set sub- and superscript role argument in text mode not as math.
1978     Use a custom role based on sub-/superscript if you want italic shape.
1979   - Shorter preamble and less dependencies: Load packages and define macros
1980     only if required in the document.
1981   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
1982   - New custom environments and commands with optional "classes" argument.
1983   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
1984   - Better conformance to Docutils specifications with `use_latex_toc`_.
1985     Support for LaTeX generated ToC also with unnumbered sections.
1986   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
1987     section numbering by LaTeX.
1988   - Use default font in admonitions and sidebar.
1989   - Align of image in a figure defaults to 'center'.
1990   - Bugfix: Newlines around targets and references prevent run-together
1991     paragraphs.
1992   - Fix internal hyperlinks.
1993   - Use class defaults for page margins ('typearea' now optional).
1994   - Float placement made configurable, default changed to "here definitely".
1995   - Typeset generic topic as "quote block with title".
1996   - Use template (file and configuration option).
1997   - In the default template, load cmap.sty (fix text extraction in PDF) and
1998     fixltx2e.sty (LaTeX patches, \textsubscript).
1999   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
2000   - Use `translate()` instead of repeated `replace()` calls for text encoding.
2001   - Hyperlinked footnotes and support for symbol footnotes and
2002     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
2003   - Complete pairs of binary options
2004     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
2005     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
2006   - New defaults:
2007     - font-encoding: "T1" (formerly implicitly set by 'ae').
2008     - use-latex-toc: true (ToC with page numbers).
2009     - use-latex-footnotes: true (no mixup with figures).
2011 * docutils/writers/manpage.py
2013   - Do not print version at document end, this is done by the viewer.
2014   - Do not print date at document end, this is done by the viewer.
2015   - Fix storage of docinfo fields for none standard fields.
2017 * docutils/tools/rst2man.py
2020 Release 0.5 (2008-06-25)
2021 ========================
2023 * docutils/languages/he.py: Added to project: Hebrew mappings by
2024   Meir Kriheli.
2026 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
2027   mappings by Meir Kriheli.
2029 * docutils/frontend.py:
2031   - Configuration files are now assumed and required to be
2032     UTF-8-encoded.
2033   - Paths of applied configuration files are now recorded in the
2034     runtime setting `_config_files`_ (accessible via `dump_settings`_).
2035   - Added `strip_elements_with_classes`_ and `strip_classes`_ settings.
2037 * docutils/io.py:
2039   - Added code to determine the input encoding from data: encoding
2040     declarations or the presence of byte order marks (UTF-8 & UTF-16).
2041   - Added support for IronPython 1.0.
2043 * docutils/nodes.py:
2045   - Added `document.__getstate_()` method, for pickling.
2047 * docutils/parsers/rst/states.py:
2049   - Allow ``+`` and ``:`` in reference names.
2050   - Unquoted targets beginning with an underscore (``.. __target:
2051     URI``) are no longer accepted.
2052   - Added support for multiple attributions in a physical block quote
2053     (indented text block), dividing it into multiple logical block
2054     quotes.
2055   - Added support for unicode bullets in bullet lists: "•", "‣", and
2056     "⁃".
2057   - Added support for new object-oriented directive interface,
2058     retaining compatibility to the old functional interface.
2059   - Added support for throwing `DirectiveError`'s from within
2060     directive code.
2062 * docutils/parsers/rst/__init__.py:
2064   - Added `Directive` base class.
2065   - Added `DirectiveError` base class.
2066   - Fixed `file_insertion_enabled`_ & `raw_enabled`_ setting
2067     definitions.
2069 * docutils/parsers/directives/:
2071   - Refactored all reStructuredText directives to use the new
2072     object-oriented directive interface.  Errors are now (mostly)
2073     thrown using the new `DirectiveError` class.
2075 * docutils/parsers/directives/misc.py:
2077   - Added ``start-after`` and ``end-before`` options to ``include``
2078     directive; thanks to Stefan Rank.
2080 * docutils/transforms/universal.py:
2082   - Added `StripClassesAndElements` transform to remove from the
2083     document tree all elements with classes in
2084     `strip_elements_with_classes`_ and all "classes"
2085     attribute values in `strip_classes`_
2087 * docutils/transforms/writer_aux.py:
2089   - Added `Admonitions` transform to transform specific admonitions
2090     (like "note", "warning", etc.) into generic admonitions with a
2091     localized title.
2093 * docutils/writers/html4css1/__init__.py:
2095   - Moved template functionality from the PEP/HTML writer here.
2096   - Expanded the fragments available in the ``parts`` attribute.
2097   - Moved ``id`` attributes from titles to surrounding ``div``
2098     elements.
2099   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
2100     universally supported now).
2101   - ``template.txt`` is now opened in text mode instead of binary mode
2102     (to ensure Windows compatibility).
2103   - ``a`` elements now have an "internal" or "external" class,
2104     depending on reference type.
2106 * docutils/writers/html4css1/template.txt: Added to project.
2108 * docutils/writers/pep_html/:
2110   - Moved template functionality to the HTML writer.
2112 * docutils/writers/s5_html/__init__.py:
2114   - Added `view_mode`_ & `hidden_controls`_ settings.
2116 * docutils/writers/latex2e/__init__.py:
2118   - Add `literal_block_env`_.
2119   - Fix: escaping ``%`` in href urls.
2120   - Move usepackage hyperref after stylesheet inclusion.
2121   - Fix: scrartcl does not have chapter but scrreprt.
2122   - Add newline after ``\end{verbatim}``.
2123   - Merge smaller differences from latex2e_adaptive_preamble.
2124   - Add ``use-part-section``.
2125   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
2126   - Using leavemode option_list no longer needs to check if parent
2127     is a definition list.
2128   - Append ``\leavemode`` to definition list terms.
2129   - No longer write visit\_/depart_definition_list_item comments to
2130     output.
2131   - Table column width with 3 decimal places.
2132   - Add table stubs support (boldfont).
2133   - Add assemble_parts to writer.
2134   - Add simply support for nested tables.
2135   - Fix verbatim in tables if use-verbatim-when-possible.
2136   - Use section commands down to subparagraph.
2137   - Put ensuremath around some latin1 chars.
2138   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
2139   - New experimental setting `use_bibtex`_.
2140   - New setting `reference_label`_ to allow usage of LaTeX ref for
2141     labels in section references.
2142   - Add a label after every section to support sectionnumbers as reference
2143     labels.
2144   - Fix: bug# 1605376 rst2latex: bad options group list
2145   - Remove inactive code for use_optionlist_for_option_list.
2146   - Remove latex comments from option_list output.
2147   - Fix: bug# 1612270 double quotes in italian literal.
2148   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
2149   - Add setting `use_latex_abstract`_.
2150   - Image width unit ``px`` is translated to ``pt``.
2151   - Add image height support.
2152   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
2153     bug #1457388
2154   - Fix: Do not escape underscores in citation reference labels if
2155     use-latex-citations is set.
2156   - Use centering instead of center for figure contents, to avoid vertical
2157     space.
2158   - Recognize table class: borderless, nolines, booktabs, standard.
2159   - Fix: Renaming contents section does not work with latex writer; SF
2160     bug #1487405.
2161   - Applied patch for custom roles with classes from Edward Loper.
2162   - Fixed bug that caused crashes with more than 256 lists.
2164 * docutils/writers/pep_html/__init__.py:
2166   - Changed to support new python.org website structure and
2167     pep2pyramid.py.
2169 * docs/howto/security.txt: "Deploying Docutils Securely", added to
2170   project.
2172 * tools/buildhtml.py:
2174   - Add `ignore`_ setting to exclude a list of shell patterns
2175     (default: ``.svn:CVS``).
2177 * tools/editors/emacs/rst.el:
2179   - Changed license to "GPL".
2180   - Added ``rst-straighten-decorations`` function.
2181   - The ``compile`` module is now always loaded.
2182   - Added ``rst-toggle-line-block`` function.
2183   - Headings consisting only of non-ASCII characters are now
2184     recognized by ``rst-toc`` and ``rst-adjust``.
2185   - Added font-lock support for multi-line comments where the first
2186     comment line is empty.
2187   - Added ``(require 'font-lock)``.
2189 * setup.py:
2191   - Provide descriptive error message if distutils is missing.
2194 Release 0.4 (2006-01-09)
2195 ========================
2197 * General:
2199   - Updated the project policies for trunk/branch development &
2200     version numbering.
2202 * docutils/__init__.py:
2204   - Added ``__version_details__`` attribute to describe code source
2205     (repository/snapshot/release).
2206   - Replaced ``default_transforms`` attribute of ``TransformSpec`` with
2207     ``get_transforms()`` method.
2209 * docutils/core.py:
2211   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
2212     functions, for document tree extraction and reprocessing.
2214 * docutils/io.py:
2216   - Added ``DocTreeInput`` class, for reprocessing existing documents.
2217   - Added support for non-Unicode (e.g. binary) writer output.
2219 * docutils/nodes.py:
2221   - Re-introduced ``Targetable.indirect_reference_name``, for
2222     MoinMoin/reST compatibility (removed in r3124/r3129).
2223   - Added ``serial_escape`` function; escapes string values that are
2224     elements of a list, for serialization.  Modified Docutils-XML
2225     writing (``Element._dom_node``) and pseudo-XML writing
2226     (``Element.starttag``) to use ``serial_escape``.
2227   - Added ``Node.deepcopy()`` method.
2228   - Removed the internal lists ``document.substitution_refs``,
2229     ``document.anonymous_refs``, and ``document.anonymous_targets``.
2230   - Added a "container" element.
2231   - Fixed bug where values of list-valued attributes of elements
2232     originating from custom interpreted text roles (i.e., with custom
2233     classes) were being shared between element instances.  Reported by
2234     Shmuel Zeigerman.
2236 * docutils/statemachine.py:
2238   - Added trailing whitespace stripping to ``string2lines()``.
2239   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
2240     Asian double-width character support.
2242 * docutils/utils.py:
2244   - Added ``east_asian_column_width()`` for double-width character
2245     support.
2247 * docutils/languages/ja.py: Added to project: Japanese mappings by
2248   Hisashi Morita.
2250 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
2251   mappings by Panjunyong.
2253 * docutils/parsers/null.py: Added to project; a do-nothing parser.
2255 * docutils/parsers/rst/__init__.py:
2257   - Added validator to "tab_width" setting, with test.  Closes SF bug
2258     #1212515, report from Wu Wei.
2260 * docutils/parsers/rst/states.py:
2262   - Fixed bug with escaped colons indicating a literal block.
2263   - Fixed bug with enumerated lists (SF#1254145).
2264   - Backslash-escaped colons inside of field names are now allowed.
2265   - Targets (implicit and explicit), anonymous hyperlink references
2266     and auto-numbered footnote references inside of substitution
2267     definitions are now disallowed.
2268   - Fixed bug: list items with blank first lines.
2269   - Fixed bug: block quote attributions with indented second lines.
2270   - Added East Asian double-width character support (Python 2.4 only).
2272 * docutils/parsers/rst/tableparser.py:
2274   - Added East Asian double-width character support (Python 2.4 only).
2276 * docutils/parsers/rst/directives/body.py:
2278   - Added the "container" directive.
2280 * docutils/parsers/rst/directives/misc.py:
2282   - Added the "default-role", "title", and "date" directives.
2283   - Added standard data file syntax to the "include" directive.
2284   - Added support for "class" directive content.
2286 * docutils/parsers/rst/directives/images.py:
2288   - Added ``indirect_reference_name`` support for images with a target
2289     option.
2290   - Added support for image width and height units.
2291   - Fixed bug with image "target" options.
2293 * docutils/parsers/rst/directives/references.py:
2295   - Added "class" attribute to "target-notes" directive, for
2296     footnote_reference classes.
2298 * docutils/parsers/rst/include/: Directory added to project; contains
2299   standard data files for the "include" directive.  Initial contents:
2300   character entity substitution definition sets, and a set of
2301   definitions for S5/HTML presentations.
2303 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
2304   mappings by David Goodger.
2306 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
2307   Simplified Chinese mappings by Panjunyong.
2309 * docutils/readers/__init__.py:
2311   - Added universal.Decorations and universal.ExposeInternals
2312     transforms as default transforms for all readers.
2313   - Added ``ReReader`` base class for readers that reread an existing
2314     document tree.
2316 * docutils/readers/doctree.py: Added to project; a reader for existing
2317   document trees.
2319 * docutils/transforms/frontmatter.py:
2321   - Fixed the DocInfo transform to handle SVN-style expansion of the
2322     "Date" keyword.
2323   - In ``DocInfo.extract_authors``, treat the contents of "authors"
2324     fields uniformly.
2326 * docutils/transforms/misc.py:
2328   - Added misc.Transitions transform, extracted from
2329     universal.FinalChecks.
2331 * docutils/transforms/references.py:
2333   - Added references.DanglingReferences transform, extracted from
2334     universal.FinalChecks.
2335   - Fixed bug with doubly-indirect substitutions.
2336   - Added footnote_reference classes attribute to "TargetNotes".
2337   - Fixed bug with circular substitution definitions that put Docutils
2338     into an infinite loop.
2340 * docutils/transforms/universal.py:
2342   - Added universal.ExposeInternals transform, extracted from
2343     universal.FinalChecks.
2344   - Removed universal.FinalChecks transform (logic has been moved to
2345     several new transforms).
2346   - Fixed bug with the "expose_internals" setting and Text nodes
2347     (exposed by the "rawsource" internal attribute).
2348   - Added the universal.StripComments transform, implementation of the
2349     "strip_comments" setting.
2351 * docutils/transforms/writer_aux.py: Added to project; auxiliary
2352   transforms for writers.
2354   - Added ``Compound`` transform, which flattens compound paragraphs.
2356 * docutils/writers/: Several writer modules (html4css1.py) were
2357   converted into packages.  Support modules and data files have been
2358   moved into the packages.  The stylesheets for the HTML writers are
2359   now installed along with the code, the code knows where to find
2360   them, and the default is to use them (actually, to embed them).
2361   Some adjustments to configuration files may be necessary.  The
2362   easiest way to obtain the new default behavior is to remove all
2363   settings whose name includes "stylesheet".
2365 * docutils/writers/__init__.py:
2367   - Added universal.Messages and universal.FilterMessages transforms
2368     as default transforms for all writers.
2369   - Added ``UnfilteredWriter`` base class for writers that pass the
2370     document tree on unchanged.
2372 * docutils/writers/docutils_xml.py:
2374   - Made ``xmlcharrefreplace`` the default output encoding error
2375     handler.
2377 * docutils/writers/html4css1/:
2379   - Added support for image width and height units.
2380   - Made ``xmlcharrefreplace`` the default output encoding error
2381     handler.
2382   - Made ``--embed-stylesheet`` the default rather than
2383     ``--link-stylesheet``.
2384   - Moved "id" attribute from container (section etc.) to title's <a>
2385     tag, to be on the same tag as "name".
2386     (!!! To be reverted in Docutils 0.5.)
2387   - Added vertical space between fields of field lists.
2388   - Added ``--compact-field-lists`` option to remove vertical space in
2389     simple field lists.
2390   - Made cloaking of email addresses with ``--cloak-email-addresses``
2391     less obtrusive.
2392   - Fixed support for centered images.
2393   - Added support for class="compact" & class="open" lists.
2395 * docutils/writers/latex2e/:
2397   - Underscores in citekeys are no longer escaped.
2399 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
2400   mapping of Unicode characters to LaTeX equivalents.
2402 * docutils/writers/s5_html/: Package added to project; writer for
2403   S5/HTML slide shows.
2405 * docs/dev/distributing.txt: Added to project; guide for distributors
2406   (package maintainers).
2408 * docs/dev/hacking.txt: Added to project; guide for developers.
2410 * docs/ref/doctree.txt:
2412   - Updated for plural attributes "classes", "ids", "names",
2413     "dupnames".
2414   - Added the "container" element.
2416 * docs/ref/docutils.dtd:
2418   - Updated for plural attributes "classes", "ids", "names",
2419     "dupnames".
2421 * docs/user/emacs.txt: Added to project; a document about Emacs
2422   support for reStructuredText and Docutils.
2424 * docs/user/links.txt: Added to project; lists of Docutils-related
2425   links.
2427 * docs/user/mailing-lists.txt: Added to project; information about
2428   Docutils-related mailing lists and how to access them.
2430 * docs/user/slide-shows.txt: Added to project; example of and docs for
2431   the S5/HTML writer (``rst2s5.py`` front end).
2433 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
2434   Files", added to project.
2436 * test/coverage.sh: Added to project; test coverage script.
2438 * test/DocutilsTestSupport.py:
2440   - Added support for specifying runtime settings at the suite level.
2442 * test/test_functional.py:
2444   - Added the ``clear_output_directory`` function.
2445   - Added support for ``_test_more`` functions in functional test
2446     config files.
2448 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
2450 * tools/rstpep2html.py: Renamed from pep.py.
2452 * tools/dev/create_unimap.py: Added to project; script to create the
2453   docutils/writers/unimap_latex.py mapping file.
2455 * tools/dev/profile_docutils.py: Added to project; profiler script.
2457 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
2459 * tools/editors/emacs/restructuredtext.el,
2460   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
2461   Removed from project; the functionality is now contained in rst.el.
2463 * tools/editors/emacs/rst.el: Added to project.  Added many features
2464   and fixed many bugs.  See docs/user/emacs.txt for details.
2466 * tools/stylesheets: Removed from project.  Stylesheets have been
2467   renamed and moved into writer packages.
2470 Release 0.3.9 (2005-05-26)
2471 ==========================
2473 * General:
2475   - Eliminated and replaced all uses of the old string attributes
2476     ``id``, ``name``, ``dupname`` and ``class`` with references to the
2477     new list attributes ``ids``, ``names``, ``dupnames`` and
2478     ``classes`` throughout the whole source tree.
2480 * docutils/core.py:
2482   - Enabled ``--dump-*`` options when ``--traceback`` specified,
2483     allowing for easier debugging.
2484   - In ``Publisher.publish()``, expanded the generic top-level
2485     exception catching.
2487 * docutils/examples.py:
2489   - Added ``internals`` function for exploration.
2491 * docutils/io.py:
2493   - Fixed ``Input.decode`` method to apply heuristics only if no
2494     encoding is explicitly given, and to provide better reporting of
2495     decoding errors.
2496   - The ``Input.decode`` method now removes byte order marks (BOMs)
2497     from input streams.
2499 * docutils/nodes.py:
2501   - ``image`` element class changed to subclass of Element, not
2502     TextElement (it's an empty element, and cannot contain text).
2503   - Added ``attr_defaults`` dictionary for default attribute values.
2504   - Added empty list as default value for the following attributes:
2505     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
2506   - Added ``document.decoration`` attribute,
2507     ``document.get_decoration`` method, and ``decoration.get_header``
2508     & ``.get_footer`` methods.
2509   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
2510     methods.
2512 * docutils/utils.py:
2514   - Removed ``docutils.utils.Reporter.categories``,
2515     ``docutils.utils.ConditionSet``, and all references to them, to
2516     simplify error reporting.
2518 * docutils/languages/nl.py: Added to project; Dutch mappings by
2519   Martijn Pieters.
2521 * docutils/parsers/rst/__init__.py:
2523   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
2525 * docutils/parsers/rst/states.py:
2527   - Added check for escaped at-mark to prevent email address recognition.
2528   - Fixed option lists to allow spaces inside ``<angle-bracketed option
2529     arguments>``.
2530   - Allowed whitespace in paths and URLs.
2531   - Added auto-enumerated list items.
2532   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
2533     followed by text.
2534   - Added support for table stub columns.
2536 * docutils/parsers/rst/directives/__init__.py:
2538   - Allowed whitespace in paths (``path`` function).
2539   - Added ``uri`` directive option conversion function.
2541 * docutils/parsers/rst/directives/body.py:
2543   - Fixed illegal context bug with "topic" directive (allowed within
2544     sidebars; not within body elements).
2546 * docutils/parsers/rst/directives/images.py:
2548   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
2549   - Added support for the ``file_insertion_enabled`` setting in the
2550     "figure" directive (disables "figwidth" option).
2551   - "image" directive: added checks for valid values of "align" option,
2552     depending on context.  "figure" directive: added specialized
2553     "align" option and attribute on "figure" element.
2554   - Made ":figwidth: image" option of "figure" directive work again.
2555   - Fixed bug with reference names containing uppercase letters
2556     (e.g. ``Name_``) in "target" option of "image" directive.
2558 * docutils/parsers/rst/directives/misc.py:
2560   - Fixed "include" and "raw" directives to catch text decoding
2561     errors.
2562   - Allowed whitespace in "include" & "raw" directive paths.
2563   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
2564     settings in "include" & "raw" directives.
2566 * docutils/parsers/rst/directives/parts.py:
2568   - Added "header" & "footer" directives.
2569   - Fixed illegal context bug with "contents" directive (topics
2570     allowed within sidebars; not within body elements).
2572 * docutils/parsers/rst/directives/tables.py:
2574   - Added "list-table" directive.
2575   - Caught empty CSV table bug.
2576   - Added support for the ``file_insertion_enabled`` setting in the
2577     "csv-table" directive.
2578   - Added ``stub-columns`` option to "csv-table" and "list-table"
2579     directives.
2581 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
2582   mappings by Martijn Pieters.
2584 * docutils/readers/standalone.py:
2586   - Added ``section_subtitles`` setting to activate or deactivate the
2587     ``SectSubTitle`` transform.
2589 * docutils/transforms/frontmatter.py:
2591   - Added SectSubTitle transform to promote titles of lone
2592     subsections to subtitles.
2594 * docutils/transforms/references.py:
2596   - Fixed mislocated internal targets bug, by propagating internal
2597     targets to the next node, making use of the newly added support
2598     for multiple names and IDs.
2599   - Fixed duplicate footnote label bug.
2600   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
2601     transform.
2603 * docutils/writers/html4css1.py:
2605   - Fixed unencoded stylesheet reference bug (characters like "&" in
2606     stylesheet references).
2607   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
2608     tags).
2609   - Added support for multiple IDs per node by creating empty ``span``
2610     tags.
2611   - Added the ``field_name_limit`` & ``option_limit`` settings &
2612     support.
2613   - Added support for table stub columns.
2614   - Added support for the ``align`` attribute on ``figure`` elements.
2615   - Added the ``cloak_email_addresses`` setting & support.
2616   - Added ``html_prolog``, ``html_head``, ``html_body``,
2617     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
2618     ``docutils.core.publish_parts``.
2619   - Added support for section subtitles.
2621 * docutils/writers/latex2e.py:
2623   - Fixed tables starting with more than one multirow cell.
2624   - Improved ``--use-latex-docinfo`` so that organization/contact/address
2625     fields are lumped with the last author field and appear on the
2626     titlepage.
2627   - Made sure the titlepage is always shown with ``--use-latex-docinfo``,
2628     even if the document has no title.
2629   - Made sure that latex doesn't fill in today's date if no date field
2630     was given.
2631   - Added support for section subtitles.
2633 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
2634   (under development).
2636 * docutils/writers/null.py: Added to project; a do-nothing Writer.
2638 * docs/api/publisher.txt:
2640   - Added "``publish_parts`` Details" section.
2642 * docutils/dev/repository.txt: Added to project; information about the
2643   Docutils Subversion repository.
2645 * docs/ref/docutils.dtd:
2647   - Added a ``stub`` attribute to the ``colspec`` element via the
2648     ``tbl.colspec.att`` parameter entity.
2649   - Allowed topic elements within sidebars
2650   - Added an ``align`` attribute to the ``figure`` element.
2652 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
2653   writer.
2656 Release 0.3.7 (2004-12-24)
2657 ==========================
2659 * docutils/frontend.py:
2661   - Added options: ``--input-encoding-error-handler``,
2662     ``--record-dependencies``, ``--leave-footnote-reference-space``,
2663     ``--strict-visitor``.
2664   - Added command-line and config file support for "overrides" setting
2665     parameter.
2667 * docutils/io.py:
2669   - Added support for input encoding error handler.
2671 * docutils/nodes.py:
2673   - Added dispatch_visit and dispatch_departure methods to
2674     NodeVisitor; useful as a hook for Visitors.
2675   - Changed structure of ``line_block``; added ``line``.
2676   - Added ``compound`` node class.
2677   - Added a mechanism for Visitors to transitionally ignore new node
2678     classes.
2680 * docutils/utils.py:
2682   - Moved ``escape2null`` and ``unescape`` functions from
2683     docutils/parsers/rst/states.py.
2685 * docutils/parsers/rst/roles.py:
2687   - Added "raw" role.
2688   - Changed role function API: the "text" parameter now takes
2689     null-escaped interpreted text content.
2691 * docutils/parsers/rst/states.py:
2693   - Fixed bug where a "role" directive in a nested parse would crash
2694     the parser; the state machine's "language" attribute was not being
2695     copied over.
2696   - Added support for line block syntax.
2697   - Fixed directive parsing bug: argument-less directives didn't
2698     notice that arguments were present.
2699   - Removed error checking for transitions.
2700   - Added support for multiple classifiers in definition list items.
2701   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
2702   - Changed role function API: the "text" parameter now takes
2703     null-escaped interpreted text content.
2704   - Empty sections and documents are allowed now.
2706 * docutils/parsers/rst/directives/__init__.py:
2708   - Added ``encoding`` directive option conversion function.
2709   - Allow multiple class names in class_option conversion function.
2711 * docutils/parsers/rst/directives/body.py:
2713   - Converted the line-block directive to use the new structure.
2714   - Extracted the old line-block functionality to the ``block``
2715     function (still used).
2716   - Added ``compound`` directive (thanks to Lea Wiemann).
2718 * docutils/parsers/rst/directives/misc.py:
2720   - Added "encoding" option to "include" and "raw" directives.
2721   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
2722   - Allow multiple class names in the "class" directive.
2724 * docutils/parsers/rst/directives/parts.py:
2726   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
2727     options.  Thanks to Lele Gaifax.
2729 * docutils/parsers/rst/directives/tables.py:
2731   - Added "encoding" directive to "csv-table" directive.
2732   - Added workaround for lack of Unicode support in csv.py, for
2733     non-ASCII CSV input.
2735 * docutils/transforms/misc.py:
2737   - Fixed bug when multiple "class" directives are applied to a single
2738     element.
2739   - Enabled multiple format names for "raw" directive.
2741 * docutils/transforms/references.py:
2743   - Added support for trimming whitespace from beside substitution
2744     references.
2746 * docutils/transforms/universal.py:
2748   - FinalChecks now checks for illegal transitions and moves
2749     transitions between sections.
2751 * docutils/writers/html4css1.py:
2753   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
2754   - "stylesheet" and "stylesheet_path" settings are now mutually
2755     exclusive.
2756   - Added support for the new line_block/line structure.
2757   - ``--footnote-references`` now overrides
2758     ``--trim-footnote-reference-space``, if applicable.
2759   - Added support for ``compound`` elements.
2760   - Enabled multiple format names for "raw" directive.
2761   - ``<p>`` tags of a paragraph which is the only visible child of the
2762     document node are no longer stripped.
2763   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
2764     new method ``should_be_compact_paragraph()``.
2765   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
2766     elements.
2767   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
2768     the output if they have their ``class`` attribute set.
2769   - The whole document is now surrounded by a ``<div
2770     class="document">`` element.
2771   - Body-level images are now wrapped by their own ``<div>`` elements,
2772     with image classes copied to the wrapper, and for images which
2773     have the ``:align:`` option set, the surrounding ``<div>`` now
2774     receives a class attribute (like ``class="align-left"``).
2776 * docutils/writers/latex2e.py:
2778   - no newline after depart_term.
2779   - Added translations for some Unicode quotes.
2780   - Added option "font-encoding", made package AE the default.
2781   - `stylesheet`_ and `stylesheet_path`_ settings are now mutually
2782     exclusive.
2783   - ``--footnote-references`` now overrides
2784     ``--trim-footnote-reference-space``, if applicable.
2785   - The footnote label style now matches the footnote reference style
2786     ("brackets" or "superscript").
2787   - Added support for ``compound`` elements.
2788   - Enabled multiple format names for "raw" directive.
2790 * docs/ref/docutils.dtd:
2792   - Changed structure of the ``line_block`` element; added ``line``.
2793   - Added ``compound`` element.
2794   - Added "ltrim" and "rtrim" attributes to
2795     ``substitution_definition`` element.
2796   - Enabled multiple format names for ``raw`` element.
2797   - Enabled multiple classifiers in ``definition_list_item`` elements.
2799 * docs/ref/rst/directives.txt
2801   - Marked "line-block" as deprecated.
2802   - "Class" directive now allows multiple class names.
2803   - Added "Rationale for Class Attribute Value Conversion".
2804   - Added warning about "raw" overuse/abuse.
2806 * docs/ref/rst/restructuredtext.txt:
2808   - Added syntax for line blocks.
2809   - Definition list items may have multiple classifiers.
2811 * docs/ref/rst/roles.txt:
2813   - Added "raw" role.
2815 * tools/stylesheets/default.css:
2817   - Added support for the new line_block structure.
2818   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
2821 Release 0.3.5 (2004-07-29)
2822 ==========================
2824 General:
2826 * _`Documentation cleanup/reorganization`.
2828   - Created new subdirectories of docs/:
2830     * ``docs/user/``: introductory/tutorial material for end-users
2831     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
2832     * ``docs/api/``: API reference material for client-developers
2833     * ``docs/ref/``: reference material for all groups
2834     * ``docs/howto/``: for component-developers and core-developers
2835     * ``docs/peps/``: Python Enhancement Proposals
2837   - Moved ``docs/*`` to ``docs/user/``.
2838   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
2839     ``spec/`` to ``docs/dev``.
2840   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
2841     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
2842   - Moved ``alternatives.txt``, and ``problems.txt`` from
2843     ``spec/rst/`` to ``docs/dev/rst/``.
2844   - Moved ``reStructuredText.txt``, ``directives.txt``,
2845     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
2846     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
2847     ``roles.txt``, ``reStructuredText.txt`` to
2848     ``restructuredtext.txt``.
2849   - Moved ``spec/howto/`` to ``docs/howto``.
2851   In order to keep the CVS history of moved files, we supplied
2852   SourceForge with a script for modifying the Docutils CVS repository.
2854   After running the cleanup script:
2856   - Added ``docs/index.txt``.
2857   - Added a ``.htaccess`` file to the ``web`` module, containing
2858     redirects for all old paths to new paths.  They'll preserve
2859     fragments (the "#name" part of a URL), and won't clutter up the
2860     file system, and will correct the URL in the user's browser.
2861   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
2862     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
2863     the "To Do" list itself in ``docs/dev/todo.txt``.
2864   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
2865     section of ``docs/dev/todo.txt``.
2866   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
2867   - Added "How To Report Bugs" to ``BUGS.txt``.
2868   - Went through all the sources and docs (including under web/) and
2869     updated links.  Mostly done by Lea Wiemann; thanks Lea!
2870     (Still need to update links in the sandboxes.)
2872 Specific:
2874 * BUGS.txt: Added to project.
2876 * THANKS.txt: Added to project.
2878 * docutils/__init__.py:
2880   - 0.3.4: Post-release.
2882 * docutils/core.py:
2884   - Added special error handling & advice for UnicodeEncodeError.
2885   - Refactored Publisher.publish (simplified exception handling &
2886     extracted debug dumps).
2887   - Renamed "enable_exit" parameter of convenience functions to
2888     "enable_exit_status".
2889   - Enabled traceback (exception propagation) by default in
2890     programmatic convenience functions.
2891   - Now publish_file and publish_cmdline convenience functions return
2892     the encoded string results in addition to their regular I/O.
2893   - Extracted common code from publish_file, publish_string, and
2894     publish_parts, into new publish_programmatically.  Extracted
2895     settings code to ``Publisher.process_programmatic_settings``.
2896   - In Publisher.publish, disabled ``settings_overrides`` when
2897     ``settings`` is supplied; redundant.
2899 * docutils/frontend.py:
2901   - Added help text for ``--output-encoding-error-handler`` and
2902     ``--error-encoding-error-handler``.
2903   - Renamed ``--exit`` to ``--exit-status``.
2904   - Simplified default-setting code.
2906 * docutils/parsers/rst/__init__.py:
2908   - Added ``--pep-base-url`` and ``--rfc-base-url`` options.
2910 * docutils/parsers/rst/states.py:
2912   - Made URI recognition more aggressive and intelligent.
2914 * docutils/parsers/rst/directives/__init__.py:
2916   - Added several directive option conversion functions.
2918 * docutils/parsers/rst/directives/body.py:
2920   - Moved "table" directive to tables.py.
2922 * docutils/parsers/rst/directives/tables.py: Table-related directives,
2923   added to project.
2925 * docutils/writers/latex2e.py:
2927   - Added ``--table-style=(standard|booktabs|nolines)``
2928   - figures get "here" option (LaTeX per default puts them at bottom),
2929     and figure content is centered.
2930   - Rowspan support for tables.
2931   - Fix: admonition titles before first section.
2932   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
2933   - Replave ``_`` in literal by an underlined blank, because it has the correct
2934     width.
2935   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
2936   - A few unicode replacements, if output_encoding != utf
2937   - Add `graphicx_option`_ setting.
2938   - Indent literal-blocks.
2939   - Fix: omit ``\maketitle`` when there is no document title.
2941 * docs/index.txt: "Docutils Project Documentation Overview", added to
2942   project.
2944 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
2945   Tool", added to project.
2947 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
2949 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
2951 * docs/dev/policies.txt: Added to project (extracted from
2952   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
2954 * docs/dev/release.txt: Added to project (extracted from
2955   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
2957 * docs/dev/testing.txt: Added to project.
2959 * docs/dev/website.txt: Added to project (extracted from
2960   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
2962 * docs/ref/rst/directives.txt:
2964   - Added directives: "table", "csv-table".
2966 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
2967   added to project.  1 page for syntax, and a 1 page reference for
2968   directives and roles.  Source text to be used as-is; not meant to be
2969   converted to HTML.
2971 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
2972   with a change of title.
2974 * test/functional/, contents, and test/test_functional.py: Added to
2975   project.
2977 * tools/buildhtml.py: Fixed bug with config file handling.
2979 * tools/html.py: Removed from project (duplicate of rst2html.py).
2981 * tools/pep2html.py: Removed from project (duplicate of Python's
2982   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
2983   Docutils-related PEPs in docs/peps/).
2985 * tools/rst2pseudoxml.py: Renamed from publish.py.
2987 * tools/rst2xml.py: Renamed from docutils-xml.py.
2989 * tools/test.txt: Removed from project; moved to
2990   docs/user/rst/demo.txt.
2992 * setup.py: Now also installs ``rst2latex.py``.
2995 Release 0.3.3 (2004-05-09)
2996 ==========================
2998 * docutils/__init__.py:
3000   - 0.3.1: Reorganized config file format (multiple sections); see
3001     docs/config.txt.
3002   - Added unknown_reference_resolvers attribute to TransformSpec.
3003   - 0.3.2: Interpreted text reorganization.
3004   - 0.3.3: Released.
3006 * docutils/core.py:
3008   - Catch system messages to stop tracebacks from parsing errors.
3009   - Catch exceptions during processing report & exit without
3010     tracebacks, except when ``--traceback`` used.
3011   - Reordered components for OptionParser; application comes last.
3012   - Added "config_section" parameter to several methods and functions,
3013     allowing front ends to easily specify their config file sections.
3014   - Added publish_parts convenience function to allow access to individual
3015     parts of a document.
3017 * docutils/examples.py: Added to project; practical examples of
3018   Docutils client code, to be used as-is or as models for variations.
3020 * docutils/frontend.py:
3022   - Added "traceback" setting.
3023   - Implemented support for config file reorganization:
3024     ``standard_config_files`` moved from ``ConfigParser`` to
3025     ``OptionParser``; added
3026     ``OptionParser.get_config_file_settings()`` and
3027     ``.get_standard_config_settings()``; support for old "[options]"
3028     section (with deprecation warning) and mapping from old to new
3029     settings.
3030   - Reimplemented setting validation.
3031   - Enabled flexible boolean values: yes/no, true/false, on/off.
3032   - Added ``Values``, a subclass of ``optparse.Values``, with support
3033     for list setting attributes.
3034   - Added support for new ``DOCUTILSCONFIG`` environment variable;
3035     thanks to Beni Cherniavsky.
3036   - Added ``--no-section-numbering`` option.
3038 * docutils/io.py:
3040   - Catch IOErrors when opening source & destination files, report &
3041     exit without tracebacks.  Added ``handle_io_errors`` parameter to
3042     ``FileInput`` & ``FileOutput`` to enable caller error handling.
3044 * docutils/nodes.py:
3046   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
3047     method definitions (via ``exec``) to dynamic assignments (via
3048     ``setattr``); thanks to Roman Suzi.
3049   - Encapsulated visitor dynamic assignments in a function; thanks to
3050     Ian Bicking.
3051   - Added indirect_reference_name attribute to the Targetable
3052     class. This attribute holds the whitespace_normalized_name
3053     (contains mixed case) of a target.
3055 * docutils/statemachine.py:
3057   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
3058   - Added ``StringList.get_2D_block``.
3060 * docutils/utils.py:
3062   - Added "level" attribute to SystemMessage exceptions.
3064 * docutils/languages/af.py: Added to project; Afrikaans mappings by
3065   Jannie Hofmeyr.
3067 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
3068   Blaha.
3070 * docutils/languages/eo.py: Added to project; Esperanto mappings by
3071   Marcelo Huerta San Martin.
3073 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
3074   mappings by Lalo Martins.
3076 * docutils/languages/ru.py: Added to project; Russian mappings by
3077   Roman Suzi.
3079 * docutils/parsers/rst/roles.py: Added to project.  Contains
3080   interpreted text role functions, a registry for interpreted text
3081   roles, and an API for adding to and retrieving from the registry.
3082   Contributed by Edward Loper.
3084 * docutils/parsers/rst/states.py:
3086   - Updated ``RSTState.nested_parse`` for "include" in table cells.
3087   - Allowed true em-dash character and "``---``" as block quote
3088     attribution marker.
3089   - Added support for <angle-bracketed> complex option arguments
3090     (option lists).
3091   - Fixed handling of backslashes in substitution definitions.
3092   - Fixed off-by-1 error with extra whitespace after substitution
3093     definition directive.
3094   - Added inline markup parsing to field lists' field names.
3095   - Added support for quoted (and unindented) literal blocks.
3096     Driven in part by a bribe from Frank Siebenlist (thanks!).
3097   - Parser now handles escapes in URIs correctly.
3098   - Made embedded-URIs' reference text omittable.  Idea from Beni
3099     Cherniavsky.
3100   - Refactored explicit target processing code.
3101   - Added name attribute to references containing the reference name only
3102     through whitespace_normalize_name (no case changes).
3103   - parse_target no longer returns the refname after going through
3104     normalize_name. This is now handled in make_target.
3105   - Fixed bug relating to role-less interpreted text in non-English
3106     contexts.
3107   - Reorganized interpreted text processing; moved code into the new
3108     roles.py module.  Contributed by Edward Loper.
3109   - Refactored ``Body.parse_directive`` into ``run_directive`` and
3110     ``parse_directive_block``.
3112 * docutils/parsers/rst/tableparser.py:
3114   - Reworked for ``StringList``, to support "include" directives in
3115     table cells.
3117 * docutils/parsers/rst/directives/__init__.py:
3119   - Renamed ``unchanged()`` directive option conversion function to
3120     ``unchanged_required``, and added a new ``unchanged``.
3121   - Catch unicode value too high error; fixes bug 781766.
3122   - Beefed up directive error reporting.
3124 * docutils/parsers/rst/directives/body.py:
3126   - Added basic "table" directive.
3128 * docutils/parsers/rst/directives/images.py:
3130   - Added "target" option to "image" directive.
3131   - Added name attribute to references containing the reference name only
3132     through whitespace_normalize_name (no case changes).
3134 * docutils/parsers/rst/directives/misc.py:
3136   - Isolated the import of the ``urllib2`` module; was causing
3137     problems on SourceForge (``libssl.so.2`` unavailable?).
3138   - Added the "role" directive for declaring custom interpreted text
3139     roles.
3141 * docutils/parsers/rst/directives/parts.py:
3143   - The "contents" directive does more work up-front, creating the
3144     "topic" and "title", and leaving the "pending" node for the
3145     transform.  Allows earlier reference resolution; fixes subtle bug.
3147 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
3148   mappings by Jannie Hofmeyr.
3150 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
3151   mappings by Marek Blaha.
3153 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
3154   mappings by Marcelo Huerta San Martin.
3156 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
3157   Portuguese mappings by Lalo Martins.
3159 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
3160   mappings by Roman Suzi.
3162 * docutils/transforms/parts.py:
3164   - The "contents" directive does more work up-front, creating the
3165     "topic" and "title", and leaving the "pending" node for the
3166     transform.  Allows earlier reference resolution; fixes subtle bug.
3167   - Added support for disabling of section numbering.
3169 * docutils/transforms/references.py:
3171   - Verifying that external targets are truly targets and not indirect
3172     references. This is because we are now adding a "name" attribute to
3173     references in addition to targets. Note sure if this is correct!
3174   - Added code to hook into the unknown_reference_resolvers list for a
3175     transformer in resolve_indirect_target. This allows the
3176     unknown_reference_resolvers to keep around indirect targets which
3177     docutils doesn't know about.
3178   - Added specific error message for duplicate targets.
3180 * docutils/transforms/universal.py:
3182   - Added FilterMessages transform (removes system messages below the
3183     verbosity threshold).
3184   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
3185     to FinalCheckVisitor for application-specific handling of
3186     unresolvable references.
3187   - Added specific error message for duplicate targets.
3189 * docutils/writers/__init__.py:
3191   - Added assemble_parts method to the Writer class to allow for
3192     access to a documents individual parts.
3193   - Documented & set default for ``Writer.output`` attribute.
3195 * docutils/writers/html4css1.py:
3197   - Fixed unicode handling of attribute values (bug 760673).
3198   - Prevent duplication of "class" attribute values (bug report from
3199     Kirill Lapshin).
3200   - Improved table grid/border handling (prompted by report from Bob
3201     Marshall).
3202   - Added support for table titles.
3203   - Added "<title />" for untitled docs, for XHTML conformance; thanks
3204     to Darek Suchojad.
3205   - Added functionality to keep track of individual parts of a document
3206     and store them in a dictionary as the "parts" attribute of the writer.
3207     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
3208   - Added proper support for the "scale" attribute of the "image"
3209     element.  Contributed by Brent Cook.
3210   - Added ``--initial-header-level`` option.
3211   - Fixed bug: the body_pre_docinfo segment depended on there being a
3212     docinfo; if no docinfo, the document title was incorporated into
3213     the body segment.  Adversely affected the publish_parts interface.
3215 * docutils/writers/latex2e.py:
3217   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
3218     about a missing file.
3219   - Added options and support: ``--compound-enumerators``,
3220     ``--section-prefix-for-enumerators``, and
3221     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
3222     934322).
3223   - Added option ``--use-verbatim-when-possible``, to avoid
3224     problematic characters (eg, '~' in italian) in literal blocks.
3225   - It's now possible to use four section levels in the `book` and
3226     `report` LaTeX document classes.  The default `article` class still has
3227     three levels limit.
3229 * docs/config.txt: "Docutils Configuration Files", added to project.
3230   Moved config file entry descriptions from tools.txt.
3232 * docs/tools.txt:
3234   - Moved config file entry descriptions to config.txt.
3236 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
3237   Development".
3239 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
3240   Text Roles", added to project.
3242 * spec/rst/reStructuredText.txt:
3244   - Added description of support for <angle-bracketed> complex option
3245     arguments to option lists.
3246   - Added subsections for indented and quoted literal blocks.
3248 * test: Continually adding & updating tests.
3250   - Added test/test_settings.py & test/data/config_*.txt support
3251     files.
3252   - Added test/test_writers/test_htmlfragment.py.
3254 * test/DocutilsTestSupport.py:
3256   - Refactored LaTeX publisher test suite/case class names to make
3257     testing other writers easier.
3258   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
3259     to test the processing of HTML fragments which use the new
3260     publish_parts convenience function.
3262 * tools/buildhtml.py:
3264   - Added support for the ``--prune`` option.
3265   - Removed dependency on pep2html.py; plaintext PEPs no longer
3266     supported.
3268 * tools/docutils.conf:
3270   - Updated for configuration file reorganization.
3272 * tools/rst2html.py:
3274   - copied from tools/html.py
3276 * setup.py:
3278   - added a 'scripts' section to configuration
3279   - added 'tools/rst2html.py' to the scripts section
3282 Release 0.3 (2003-06-24)
3283 ========================
3285 General:
3287 * Renamed "attribute" to "option" for directives/extensions.
3289 * Renamed transform method "transform" to "apply".
3291 * Renamed "options" to "settings" for runtime settings (as set by
3292   command-line options).  Sometimes "option" (singular) became
3293   "settings" (plural).  Some variations below:
3295   - document.options -> document.settings (stored in other objects as
3296     well)
3297   - option_spec -> settings_spec (not directives though)
3298   - OptionSpec -> SettingsSpec
3299   - cmdline_options -> settings_spec
3300   - relative_path_options -> relative_path_settings
3301   - option_default_overrides -> settings_default_overrides
3302   - Publisher.set_options -> Publisher.get_settings
3304 Specific:
3306 * COPYING.txt: Added "Public Domain Dedication".
3308 * FAQ.txt: Frequently asked questions, added to project.
3310 * setup.py:
3312   - Updated with PyPI Trove classifiers.
3313   - Conditional installation of third-party modules.
3315 * docutils/__init__.py:
3317   - Bumped version to 0.2.1 to reflect changes to I/O classes.
3318   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
3319   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
3320   - Bumped version to 0.2.3 because of the new ``--embed-stylesheet``
3321     option and its effect on the PEP template & writer.
3322   - Bumped version to 0.2.4 due to changes to the PEP template &
3323     stylesheet.
3324   - Bumped version to 0.2.5 to reflect changes to Reporter output.
3325   - Added ``TransformSpec`` class for new transform system.
3326   - Bumped version to 0.2.6 for API changes (renaming).
3327   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
3328     convenience functions.
3329   - Added ``Component.component_type`` attribute.
3330   - Bumped version to 0.2.8 because of the internal parser switch from
3331     plain lists to the docutils.statemachine.StringList objects.
3332   - Bumped version to 0.2.9 because of the frontend.py API changes.
3333   - Bumped version to 0.2.10 due to changes to the project layout
3334     (third-party modules removed from the "docutils" package), and
3335     signature changes in ``io.Input``/``io.Output``.
3336   - Changed version to 0.3.0 for release.
3338 * docutils/core.py:
3340   - Made ``publish()`` a bit more convenient.
3341   - Generalized ``Publisher.set_io``.
3342   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
3343     parameters; improved its docstring.
3344   - Added ``publish_file()`` and ``publish_string()``.
3345   - Factored ``Publisher.set_source()`` and ``.set_destination()``
3346     out of ``.set_io``.
3347   - Added support for ``--dump-pseudo-xml``, ``--dump-settings``, and
3348     ``--dump-transforms`` hidden options.
3349   - Added ``Publisher.apply_transforms()`` method.
3350   - Added ``Publisher.set_components()`` method; support for
3351     ``publish_*()`` conveninece functions.
3352   - Moved config file processing to docutils/frontend.py.
3353   - Added support for exit status ("exit_level" setting &
3354     ``enable_exit`` parameter for Publisher.publish() and convenience
3355     functions).
3357 * docutils/frontend.py:
3359   - Check for & exit on identical source & destination paths.
3360   - Fixed bug with absolute paths & ``--config``.
3361   - Set non-command-line defaults in ``OptionParser.__init__()``:
3362     ``_source`` & ``_destination``.
3363   - Distributed ``relative_path_settings`` to components; updated
3364     ``OptionParser.populate_from_components()`` to combine it all.
3365   - Require list of keys in ``make_paths_absolute`` (was implicit in
3366     global ``relative_path_settings``).
3367   - Added ``--expose-internal-attribute``, ``--dump-pseudo-xml``,
3368     ``--dump-settings``, and ``--dump-transforms`` hidden options.
3369   - Removed nasty internals-fiddling ``ConfigParser.get_section``
3370     code, replaced with correct code.
3371   - Added validation functionality for config files.
3372   - Added ``--error-encoding`` option/setting, "_disable_config"
3373     internal setting.
3374   - Added encoding validation; updated ``--input-encoding`` and
3375     ``--output-encoding``; added ``--error-encoding-error-handler`` and
3376     ``--output-encoding-error-handler``.
3377   - Moved config file processing from docutils/core.py.
3378   - Updated ``OptionParser.populate_from_components`` to handle new
3379     ``SettingsSpec.settings_defaults`` dict.
3380   - Added support for "-" => stdin/stdout.
3381   - Added "exit_level" setting (``--exit`` option).
3383 * docutils/io.py:
3385   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
3386   - Added automatic closing to ``FileInput`` and ``FileOutput``.
3387   - Delayed opening of ``FileOutput`` file until ``write()`` called.
3388   - ``FileOutput.write()`` now returns the encoded output string.
3389   - Try to get path/stream name automatically in ``FileInput`` &
3390     ``FileOutput``.
3391   - Added defaults for source & destination paths.
3392   - Allow for Unicode I/O with an explicit "unicode" encoding.
3393   - Added ``Output.encode()``.
3394   - Removed dependency on runtime settings; pass encoding directly.
3395   - Recognize Unicode strings in ``Input.decode()``.
3396   - Added support for output encoding error handlers.
3398 * docutils/nodes.py:
3400   - Added "Invisible" element category class.
3401   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
3402     modification during a traversal.
3403   - Added element classes: ``line_block``, ``generated``, ``address``,
3404     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
3405     ``superscript``, ``subscript``, ``inline``
3406   - Added support for lists of nodes to ``Element.insert()``.
3407   - Fixed parent linking in ``Element.replace()``.
3408   - Added new abstract superclass ``FixedTextElement``; adds
3409     "xml:space" attribute.
3410   - Added support for "line" attribute of ``system_message`` nodes.
3411   - Added support for the observer pattern from ``utils.Reporter``.
3412     Added ``parse_messages`` and ``transform_messages`` attributes to
3413     ``document``, removed ``messages``.  Added ``note_parse_message``
3414     and ``note_transform_message`` methods.
3415   - Added support for improved diagnostics:
3417     - Added "document", "source", and "line" internal attributes to
3418       ``Node``, set by ``Node.setup_child()``.
3419     - Converted variations on ``node.parent = self`` to
3420       ``self.setup_child(node)``.
3421     - Added ``document.current_source`` & ``.current_line``
3422       attributes, and ``.note_source`` observer method.
3423     - Changed "system_message" output to GNU-Tools format.
3425   - Added a "rawsource" attribute to the ``Text`` class, for text
3426     before backslash-escape resolution.
3427   - Support for new transform system.
3428   - Reworked ``pending`` element.
3429   - Fixed XML DOM bug (SF #660611).
3430   - Removed the ``interpeted`` element class and added
3431     ``title_reference``, ``abbreviation``, ``acronym``.
3432   - Made substitutions case-sensitive-but-forgiving; moved some code
3433     from the parser.
3434   - Fixed Unicode bug on element attributes (report: William Dode).
3436 * docutils/optik.py: Removed from project; replaced with
3437   extras/optparse.py and extras/textwrap.py.  These will be installed
3438   only if they're not already present in the Python installation.
3440 * docutils/roman.py: Moved to extras/roman.py; this will be installed
3441   only if it's not already present in the Python installation.
3443 * docutils/statemachine.py:
3445   - Factored out ``State.add_initial_transitions()`` so it can be
3446     extended.
3447   - Converted whitespace-specific "blank" and "indent" transitions
3448     from special-case code to ordinary transitions: removed
3449     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
3450     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
3451     ``ws_initial_transitions`` attributes.
3452   - Removed ``State.match_transition()`` after merging it into
3453     ``.check_line()``.
3454   - Added ``StateCorrection`` exception.
3455   - Added support for ``StateCorrection`` in ``StateMachine.run()``
3456     (moved ``TransitionCorrection`` support there too.)
3457   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
3458     ``EOFError`` instead of ``IndexError``.
3459   - Added ``State.no_match`` method.
3460   - Added support for the Observer pattern, triggered by input line
3461     changes.
3462   - Added ``strip_top`` parameter to
3463     ``StateMachineWS.get_first_known_indented``.
3464   - Made ``context`` a parameter to ``StateMachine.run()``.
3465   - Added ``ViewList`` & ``StringList`` classes;
3466     ``extract_indented()`` becomes ``StringList.get_indented()``.
3467   - Added ``StateMachine.insert_input()``.
3468   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
3469     thanks to) Fred Drake.
3471 * docutils/utils.py:
3473   - Added a ``source`` attribute to Reporter instances and
3474     ``system_message`` elements.
3475   - Added an observer pattern to ``utils.Reporter`` to keep track of
3476     system messages.
3477   - Fixed bugs in ``relative_path()``.
3478   - Added support for improved diagnostics.
3479   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
3480   - Added support for encoding Reporter stderr output, and encoding
3481     error handlers.
3482   - Reporter keeps track of the highest level system message yet
3483     generated.
3485 * docutils/languages: Fixed bibliographic field language lookups.
3487 * docutils/languages/es.py: Added to project; Spanish mappings by
3488   Marcelo Huerta San Martin.
3490 * docutils/languages/fr.py: Added to project; French mappings by
3491   Stefane Fermigier.
3493 * docutils/languages/it.py: Added to project; Italian mappings by
3494   Nicola Larosa.
3496 * docutils/languages/sk.py: Added to project; Slovak mappings by
3497   Miroslav Vasko.
3499 * docutils/parser/__init__.py:
3501   - Added ``Parser.finish_parse()`` method.
3503 * docutils/parser/rst/__init__.py:
3505   - Added options: ``--pep-references``, ``--rfc-references``,
3506     ``--tab-width``, ``--trim-footnote-reference-space``.
3508 * docutils/parsers/rst/states.py:
3510   - Changed "title under/overline too short" system messages from INFO
3511     to WARNING, and fixed its insertion location.
3512   - Fixed enumerated list item parsing to allow paragraphs & section
3513     titles to begin with enumerators.
3514   - Converted system messages to use the new "line" attribute.
3515   - Fixed a substitution reference edge case.
3516   - Added support for ``--pep-references`` and ``--rfc-references``
3517     options; reworked ``Inliner`` code to make customization easier.
3518   - Removed field argument parsing.
3519   - Added support for short section title over/underlines.
3520   - Fixed "simple reference name" regexp to ignore text like
3521     "object.__method__"; not an anonymous reference.
3522   - Added support for improved diagnostics.
3523   - Reworked directive API, based on Dethe Elza's contribution.  Added
3524     ``Body.parse_directive()``, ``.parse_directive_options()``,
3525     ``.parse_directive_arguments()`` methods.
3526   - Added ``ExtensionOptions`` class, to parse directive options
3527     without parsing field bodies.  Factored
3528     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
3529     ``ExtensionOptions``.
3530   - Improved definition list term/classifier parsing.
3531   - Added warnings for unknown directives.
3532   - Renamed ``Stuff`` to ``Struct``.
3533   - Now flagged as errors: transitions at the beginning or end of
3534     sections, empty sections (except title), and empty documents.
3535   - Updated for ``statemachine.StringList``.
3536   - Enabled recognition of schemeless email addresses in targets.
3537   - Added support for embedded URIs in hyperlink references.
3538   - Added backslash-escapes to inline markup end-string suffix.
3539   - Added support for correct interpreted text processing.
3540   - Fixed nested title parsing (topic, sidebar directives).
3541   - Added special processing of backslash-escaped whitespace (idea
3542     from David Abrahams).
3543   - Made substitutions case-sensitive-but-forgiving; moved some code
3544     to ``docutils.nodes``.
3545   - Added support for block quote attributions.
3546   - Added a kludge to work-around a conflict between the bubble-up
3547     parser strategy and short titles (<= 3 char-long over- &
3548     underlines).  Fixes SF bug #738803 "infinite loop with multiple
3549     titles" submitted by Jason Diamond.
3550   - Added explicit interpreted text roles for standard inline markup:
3551     "emphasis", "strong", "literal".
3552   - Implemented "superscript" and "subscript" interpreted text roles.
3553   - Added initial support for "abbreviation" and "acronym" roles;
3554     incomplete.
3555   - Added support for ``--trim-footnote-reference-space`` option.
3556   - Optional space before colons in directives & hyperlink targets.
3558 * docutils/parsers/rst/tableparser.py:
3560   - Fixed a bug that was producing unwanted empty rows in "simple"
3561     tables.
3562   - Detect bad column spans in "simple" tables.
3564 * docutils/parsers/rst/directives: Updated all directive functions to
3565   new API.
3567 * docutils/parsers/rst/directives/__init__.py:
3569   - Added ``flag()``, ``unchanged()``, ``path()``,
3570     ``nonnegative_int()``, ``choice()``, and ``class_option()``
3571     directive option helper functions.
3572   - Added warnings for unknown directives.
3573   - Return ``None`` for missing directives.
3574   - Added ``register_directive()``, thanks to William Dode and Paul
3575     Moore.
3577 * docutils/parsers/rst/directives/admonitions.py:
3579   - Added "admonition" directive.
3581 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
3582   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
3583   "parsed-literal", "rubric", "epigraph", "highlights" and
3584   "pull-quote" directives.
3586 * docutils/parsers/rst/directives/images.py:
3588   - Added an "align" attribute to the "image" & "figure" directives
3589     (by Adam Chodorowski).
3590   - Added "class" option to "image", and "figclass" to "figure".
3592 * docutils/parsers/rst/directives/misc.py:
3594   - Added "include", "raw", and "replace" directives, courtesy of
3595     Dethe Elza.
3596   - Added "unicode" and "class" directives.
3598 * docutils/parsers/rst/directives/parts.py:
3600   - Added the "sectnum" directive; by Dmitry Jemerov.
3601   - Added "class" option to "contents" directive.
3603 * docutils/parsers/rst/directives/references.py: Added to project.
3604   Contains the "target-notes" directive.
3606 * docutils/parsers/rst/languages/__init__.py:
3608   - Return ``None`` from get_language() for missing language modules.
3610 * docutils/parsers/rst/languages/de.py: Added to project; German
3611   mappings by Engelbert Gruber.
3613 * docutils/parsers/rst/languages/en.py:
3615   - Added interpreted text roles mapping.
3617 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
3618   mappings by Marcelo Huerta San Martin.
3620 * docutils/parsers/rst/languages/fr.py: Added to project; French
3621   mappings by William Dode.
3623 * docutils/parsers/rst/languages/it.py: Added to project; Italian
3624   mappings by Nicola Larosa.
3626 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
3627   mappings by Miroslav Vasko.
3629 * docutils/readers/__init__.py:
3631   - Added support for the observer pattern from ``utils.Reporter``, in
3632     ``Reader.parse`` and ``Reader.transform``.
3633   - Removed ``Reader.transform()`` method.
3634   - Added default parameter values to ``Reader.__init__()`` to make
3635     instantiation easier.
3636   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
3638 * docutils/readers/pep.py:
3640   - Added the ``peps.TargetNotes`` transform to the Reader.
3641   - Removed PEP & RFC reference detection code; moved to
3642     parsers/rst/states.py as options (enabled here by default).
3643   - Added support for pre-acceptance PEPs (no PEP number yet).
3644   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
3645     easy subclassing.
3647 * docutils/readers/python: Python Source Reader subpackage added to
3648   project, including preliminary versions of:
3650   - __init__.py
3651   - moduleparser.py: Parser for Python modules.
3653 * docutils/transforms/__init__.py:
3655   - Added ``Transformer`` class and completed transform reform.
3656   - Added unknown_reference_resolvers list for each transformer. This list holds
3657     the list of functions provided by each component of the transformer that
3658     help resolve references.
3660 * docutils/transforms/frontmatter.py:
3662   - Improved support for generic fields.
3663   - Fixed bibliographic field language lookups.
3665 * docutils/transforms/misc.py: Added to project.  Miscellaneous
3666   transforms.
3668 * docutils/transforms/parts.py:
3670   - Moved the "id" attribute from TOC list items to the references
3671     (``Contents.build_contents()``).
3672   - Added the ``SectNum`` transform; by Dmitry Jemerov.
3673   - Added "class" attribute support to ``Contents``.
3675 * docutils/transforms/peps.py:
3677   - Added ``mask_email()`` function, updating to pep2html.py's
3678     functionality.
3679   - Linked "Content-Type: text/x-rst" to PEP 12.
3680   - Added the ``TargetNotes`` PEP-specific transform.
3681   - Added ``TargetNotes.cleanup_callback``.
3682   - Added title check to ``Headers``.
3684 * docutils/transforms/references.py:
3686   - Added the ``TargetNotes`` generic transform.
3687   - Split ``Hyperlinks`` into multiple transforms.
3688   - Fixed bug with multiply-indirect references (report: Bruce Smith).
3689   - Added check for circular indirect references.
3690   - Made substitutions case-sensitive-but-forgiving.
3692 * docutils/transforms/universal.py:
3694   - Added support for the ``--expose-internal-attributes`` option.
3695   - Removed ``Pending`` transform classes & data.
3697 * docutils/writers/__init__.py:
3699   - Removed ``Writer.transform()`` method.
3701 * docutils/writers/docutils-xml.py:
3703   - Added XML and doctype declarations.
3704   - Added ``--no-doctype`` and ``--no-xml-declaration`` options.
3706 * docutils/writers/html4css1.py:
3708   - "name" attributes only on these tags: a, applet, form, frame,
3709     iframe, img, map.
3710   - Added "name" attribute to <a> in section titles for Netscape 4
3711     support (bug report: Pearu Peterson).
3712   - Fixed targets (names) on footnote, citation, topic title,
3713     problematic, and system_message nodes (for Netscape 4).
3714   - Changed field names from "<td>" to "<th>".
3715   - Added "@" to "&#64;" encoding to thwart address harvesters.
3716   - Improved the vertical whitespace optimization; ignore "invisible"
3717     nodes (targets, comments, etc.).
3718   - Improved inline literals with ``<span class="pre">`` around chunks
3719     of text and ``&nbsp;`` for runs of spaces.
3720   - Improved modularity of output; added ``self.body_pre_docinfo`` and
3721     ``self.docinfo`` segments.
3722   - Added support for "line_block", "address" elements.
3723   - Improved backlinks (footnotes & system_messages).
3724   - Improved system_message output.
3725   - Redefined ``--stylesheet`` as containing an invariant URL, used
3726     verbatim.  Added ``--stylesheet-path``, interpreted w.r.t. the
3727     working directory.
3728   - Added ``--footnote-references`` option (superscript or brackets).
3729   - Added ``--compact-lists`` and ``--no-compact-lists`` options.
3730   - Added ``--embed-stylesheet`` and ``--link-stylesheet`` options;
3731     factored out ``HTMLTranslator.get_stylesheet_reference()``.
3732   - Improved field list rendering.
3733   - Added Docutils version to "generator" meta tag.
3734   - Fixed a bug with images; they must be inline, so wrapped in <p>.
3735   - Improved layout of <pre> HTML source.
3736   - Fixed attribute typo on <colspec>.
3737   - Refined XML prologue.
3738   - Support for no stylesheet.
3739   - Removed "interpreted" element support.
3740   - Added support for "title_reference", "sidebar", "attribution",
3741     "rubric", and generic "admonition" elements.
3742   - Added ``--attribution`` option.
3743   - Added support for "inline", "subscript", "superscript" elements.
3744   - Added initial support for "abbreviation" and "acronym";
3745     incomplete.
3747 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
3748   (from the sandbox).
3750   - Added french.
3751   - Double quotes in literal blocks (special treatment for de/ngerman).
3752   - Added ``--hyperlink-color`` option ('0' turns off coloring of links).
3753   - Added ``--attribution`` option.
3754   - Right align attributions.
3756 * docutils/writers/pep_html.py:
3758   - Parameterized output encoding in PEP template.
3759   - Reworked substitutions from ``locals()`` into ``subs`` dict.
3760   - Redefined ``--pep-stylesheet`` as containing an invariant URL, used
3761     verbatim.  Added ``--pep-stylesheet-path``, interpreted w.r.t. the
3762     working directory.
3763   - Added an override on the ``--footnote-references`` option.
3764   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
3765   - Added Docutils version to "generator" meta tag.
3766   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
3768 * docs/tools.txt:
3770   - Added a "silent" setting for ``buildhtml.py``.
3771   - Added a "Getting Help" section.
3772   - Rearranged the structure.
3773   - Kept up to date, with new settings, command-line options etc.
3774   - Added section for ``rst2latex.py`` (Engelbert Gruber).
3775   - Converted settings table into a definition list.
3777 * docs/rst/quickstart.txt:
3779   - Added a table of contents.
3780   - Added feedback information.
3781   - Added mention of minimum section title underline lengths.
3782   - Removed the 4-character minimum for section title underlines.
3784 * docs/rst/quickref.html:
3786   - Added a "Getting Help" section.
3787   - Added a style to make section title backlinks more subtle.
3788   - Added mention of minimum section title underline lengths.
3789   - Removed the 4-character minimum for section title underlines.
3791 * extras: Directory added to project; contains third-party modules
3792   that Docutils depends on (optparse, textwrap, roman).  These are
3793   only installed if they're not already present.
3795 * licenses: Directory added to project; contains copies of license
3796   files for non-public-domain files.
3798 * spec/doctree.txt:
3800   - Changed the focus.  It's about DTD elements:  structural
3801     relationships, semantics, and external (public) attributes.  Not
3802     about the element class library.
3803   - Moved some implementation-specific stuff into ``docutils.nodes``
3804     docstrings.
3805   - Wrote descriptions of all common attributes and parameter
3806     entities.  Filled in introductory material.
3807   - Working through the element descriptions: 55 down, 37 to go.
3808   - Removed "Representation of Horizontal Rules" to
3809     spec/rst/alternatives.txt.
3811 * spec/docutils.dtd:
3813   - Added "generated" inline element.
3814   - Added "line_block" body element.
3815   - Added "auto" attribute to "title".
3816   - Changed content models of "literal_block" and "doctest_block" to
3817     ``%text.model``.
3818   - Added ``%number;`` attribute type parameter entity.
3819   - Changed ``%structural.elements;`` to ``%section.elements``.
3820   - Updated attribute types; made more specific.
3821   - Added "address" bibliographic element.
3822   - Added "line" attribute to ``system_message`` element.
3823   - Removed "field_argument" element; "field_name" may contain
3824     multiple words and whitespace.
3825   - Changed public identifier to docutils.sf.net.
3826   - Removed "interpreted" element; added "title_reference",
3827     "abbreviation", "acronym".
3828   - Removed "refuri" attribute from "footnote_reference" and
3829     "citation_reference".
3830   - Added "sidebar", "rubric", "attribution", "admonition",
3831     "superscript", "subscript", and "inline" elements.
3833 * spec/pep-0256.txt: Converted to reStructuredText & updated.
3835 * spec/pep-0257.txt: Converted to reStructuredText & updated.
3837 * spec/pep-0258.txt: Converted to reStructuredText & updated.
3839 * spec/semantics.txt: Updated with text from a Doc-SIG response to
3840   Dallas Mahrt.
3842 * spec/transforms.txt: Added to project.
3844 * spec/howto: Added subdirectory, for developer how-to docs.
3846 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
3847   Elza, edited & extended by David Goodger.
3849 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
3850   project.
3852 * spec/rst/alternatives.txt:
3854   - Added "Doctree Representation of Transitions" from
3855     spec/doctree.txt.
3856   - Updated "Inline External Targets" & closed the debate.
3857   - Added ideas for interpreted text syntax extensions.
3858   - Added "Nested Inline Markup" section.
3860 * spec/rst/directives.txt:
3862   - Added directives: "topic", "sectnum", "target-notes",
3863     "line-block", "parsed-literal", "include", "replace", "sidebar",
3864     "admonition", "rubric", "epigraph", "highlights", "unicode" and
3865     "class".
3866   - Formalized descriptions of directive details.
3867   - Added an "align" attribute to the "image" & "figure" directives
3868     (by Adam Chodorowski).
3869   - Added "class" options to "topic", "sidebar", "line-block",
3870     "parsed-literal", "contents", and "image"; and "figclass" to
3871     "figure".
3873 * spec/rst/interpreted.txt: Added to project.  Descriptions of
3874   interpreted text roles.
3876 * spec/rst/introduction.txt:
3878   - Added pointers to material for new users.
3880 * spec/rst/reStructuredText.txt:
3882   - Disambiguated comments (just add a newline after the "::").
3883   - Updated enumerated list description; added a discussion of the
3884     second-line validity checking.
3885   - Updated directive description.
3886   - Added a note redirecting newbies to the user docs.
3887   - Expanded description of inline markup start-strings in non-markup
3888     contexts.
3889   - Removed field arguments and made field lists a generic construct.
3890   - Removed the 4-character minimum for section title underlines.
3891   - Clarified term/classifier delimiter & inline markup ambiguity
3892     (definition lists).
3893   - Added "Embedded URIs".
3894   - Updated "Interpreted Text" section.
3895   - Added "Character-Level Inline Markup" section.
3897 * test: Continually adding & updating tests.
3899   - Moved test/test_rst/ to test/test_parsers/test_rst/.
3900   - Moved test/test_pep/ to test/test_readers/test_pep/.
3901   - Added test/test_readers/test_python/.
3902   - Added test/test_writers/ (Engelbert Gruber).
3904 * tools:
3906   - Made the ``locale.setlocale()`` calls in front ends
3907     fault-tolerant.
3909 * tools/buildhtml.py:
3911   - Added ``--silent`` option.
3912   - Fixed bug with absolute paths & ``--config``.
3913   - Updated for new I/O classes.
3914   - Added some exception handling.
3915   - Separated publishers' setting defaults; prevents interference.
3916   - Updated for new ``publish_file()`` convenience function.
3918 * tools/pep-html-template:
3920   - Allow for ``--embed-stylesheet``.
3921   - Added Docutils version to "generator" meta tag.
3922   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
3923   - Conform to XHTML spec.
3925 * tools/pep2html.py:
3927   - Made ``argv`` a parameter to ``main()``.
3928   - Added support for "Content-Type:" header & arbitrary PEP formats.
3929   - Linked "Content-Type: text/plain" to PEP 9.
3930   - Files skipped (due to an error) are not pushed onto the server.
3931   - Updated for new I/O classes.
3932   - Added ``check_requirements()`` & ``pep_type_error()``.
3933   - Added some exception handling.
3934   - Updated for new ``publish_string()`` convenience function.
3935   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
3937 * tools/quicktest.py:
3939   - Added ``-V``/``--version`` option.
3941 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
3943 * tools/unicode2rstsubs.py: Added to project.  Produces character
3944   entity files (reSructuredText substitutions) from the MathML master
3945   unicode.xml file.
3947 * tools/editors: Support code for editors, added to project.  Contains
3948   ``emacs/restructuredtext.el``.
3950 * tools/stylesheets/default.css: Moved into the stylesheets directory.
3952   - Added style for chunks of inline literals.
3953   - Removed margin for first child of table cells.
3954   - Right-aligned field list names.
3955   - Support for auto-numbered section titles in TOCs.
3956   - Increased the size of inline literals (<tt>) in titles.
3957   - Restored the light gray background for inline literals.
3958   - Added support for "line_block" elements.
3959   - Added style for "address" elements.
3960   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
3961   - Improved field list rendering.
3962   - Vertical whitespace improvements.
3963   - Removed "a.target" style.
3965 * tools/stylesheets/pep.css:
3967   - Fixed nested section margins.
3968   - Other changes parallel those of ``../default.css``.
3971 Release 0.2 (2002-07-31)
3972 ========================
3974 General:
3976 - The word "component" was being used ambiguously.  From now on,
3977   "component" will be used to mean "Docutils component", as in Reader,
3978   Writer, Parser, or Transform.  Portions of documents (Table of
3979   Contents, sections, etc.)  will be called "document parts".
3980 - Did a grand renaming: a lot of ``verylongnames`` became
3981   ``very_long_names``.
3982 - Cleaned up imports: no more relative package imports or
3983   comma-separated lists of top-level modules.
3984 - Added support for an option values object which carries default
3985   settings and overrides (from command-line options and library use).
3986 - Added internal Unicode support, and support for both input and
3987   output encodings.
3988 - Added support for the ``docutils.io.IO`` class & subclasses.
3990 Specific:
3992 * docutils/__init__.py:
3994   - Added ``ApplicationError`` and ``DataError``, for use throughout
3995     the package.
3996   - Added ``Component`` base class for Docutils components; implements
3997     the ``supports`` method.
3998   - Added ``__version__`` (thus, ``docutils.__version__``).
4000 * docutils/core.py:
4002   - Removed many keyword parameters to ``Publisher.__init__()`` and
4003     ``publish()``; bundled into an option values object.  Added
4004     "argv", "usage", "description", and "option_spec" parameters for
4005     command-line support.
4006   - Added ``Publisher.process_command_line()`` and ``.set_options()``
4007     methods.
4008   - Reworked I/O model for ``docutils.io`` wrappers.
4009   - Updated ``Publisher.set_options()``; now returns option values
4010     object.
4011   - Added support for configuration files (/etc/docutils.conf,
4012     ./docutils.conf, ~/.docutils).
4013   - Added ``Publisher.setup_option_parser()``.
4014   - Added default usage message and description.
4016 * docutils/frontend.py: Added to project; support for front-end
4017   (command-line) scripts.  Option specifications may be augmented by
4018   components.  Requires Optik (http://optik.sourceforge.net/) for option
4019   processing (installed locally as docutils/optik.py).
4021 * docutils/io.py: Added to project; uniform API for a variety of input
4022   output mechanisms.
4024 * docutils/nodes.py:
4026   - Added ``TreeCopyVisitor`` class.
4027   - Added a ``copy`` method to ``Node`` and subclasses.
4028   - Added a ``SkipDeparture`` exception for visitors.
4029   - Renamed ``TreePruningException`` from ``VisitorException``.
4030   - Added docstrings to ``TreePruningException``, subclasses, and
4031     ``Nodes.walk()``.
4032   - Improved docstrings.
4033   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
4034   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
4035     imports.
4036   - Added ``decoration``, ``header``, and ``footer`` node classes, and
4037     ``PreDecorative`` mixin.
4038   - Reworked the name/id bookkeeping; to ``document``, removed
4039     ``explicit_targets`` and ``implicit_targets`` attributes, added
4040     ``nametypes`` attribute and ``set_name_id_map`` method.
4041   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
4042     traversals.
4043   - Added ``document.has_name()`` method.
4044   - Fixed DOM generation for list-attributes.
4045   - Added category class ``Labeled`` (used by footnotes & citations).
4046   - Added ``Element.set_class()`` method (sets "class" attribute).
4048 * docutils/optik.py: Added to project.  Combined from the Optik
4049   package, with added option groups and other modifications.  The use
4050   of this module is probably only temporary.
4052 * docutils/statemachine.py:
4054   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
4055   - Added underscores to improve many awkward names.
4056   - In ``string2lines()``, changed whitespace normalizing translation
4057     table to regexp; restores Python 2.0 compatibility with Unicode.
4059 * docutils/urischemes.py:
4061   - Filled in some descriptions.
4062   - Added "shttp" scheme.
4064 * docutils/utils.py:
4066   - Added ``clean_rcs_keywords`` function (moved from
4067     docutils/transforms/frontmatter.py
4068     ``DocInfo.filter_rcs_keywords``).
4069   - Added underscores to improve many awkward names.
4070   - Changed names of Reporter's thresholds:
4071     warning_level -> report_level; error_level -> halt_level.
4072   - Moved ``utils.id()`` to ``nodes.make_id()``.
4073   - Added ``relative_path(source, target)``.
4075 * docutils/languages/de.py: German mappings; added to project.  Thanks
4076   to Gunnar Schwant for the translations.
4078 * docutils/languages/en.py: Added "Dedication" bibliographic field
4079   mappings.
4081 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
4082   Chodorowski.
4084 * docutils/parsers/rst/states.py:
4086   - Added underscores to improve many awkward names.
4087   - Added RFC-2822 header support.
4088   - Extracted the inline parsing code from ``RSTState`` to a separate
4089     class, ``Inliner``, which will allow easy subclassing.
4090   - Made local bindings for ``memo`` container & often-used contents
4091     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
4092   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
4093   - Added ``MarkupMismatch`` exception; for late corrections.
4094   - Added ``-/:`` characters to inline markup's start string prefix,
4095     ``/`` to end string suffix.
4096   - Fixed a footnote bug.
4097   - Fixed a bug with literal blocks.
4098   - Applied patch from Simon Budig: simplified regexps with symbolic
4099     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
4100   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
4101   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
4102   - Allowed non-ASCII in "simple names" (directive names, field names,
4103     references, etc.).
4104   - Converted ``Inliner.patterns.initial`` to be dynamically built
4105     from parts with ``build_regexp()`` function.
4106   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
4107   - Updated docstrings.
4108   - Changed "table" to "grid_table"; added "simple_table" support.
4110 * docutils/parsers/rst/tableparser.py:
4112   - Changed ``TableParser`` to ``GridTableParser``.
4113   - Added ``SimpleTableParser``.
4114   - Refactored naming.
4116 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
4117   a fallback language for directive names.
4119 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
4120   directive to use a ``pending`` element, used only by HTML writers.
4122 * docutils/parsers/rst/directives/parts.py: Renamed from
4123   components.py.
4125   - Added "backlinks" attribute to "contents" directive.
4127 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
4128   project by Adam Chodorowski.
4130 * docutils/readers/__init__.py: Gave Readers more control over
4131   choosing and instantiating Parsers.
4133 * docutils/readers/pep.py: Added to project; for PEP processing.
4135 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
4136   requires a ``component`` parameter.
4138 * docutils/transforms/components.py: Added to project; transforms
4139   related to Docutils components.
4141 * docutils/transforms/frontmatter.py:
4143   - In ``DocInfo.extract_authors``, check for a single "author" in an
4144     "authors" group, and convert it to a single "author" element.
4145   - Added support for "Dedication" and generic bibliographic fields.
4147 * docutils/transforms/peps.py: Added to project; PEP-specific.
4149 * docutils/transforms/parts.py: Renamed from old components.py.
4151   - Added filter for ``Contents``, to use alt-text for inline images,
4152     and to remove inline markup that doesn't make sense in the ToC.
4153   - Added "name" attribute to TOC topic depending on its title.
4154   - Added support for optional TOC backlinks.
4156 * docutils/transforms/references.py: Fixed indirect target resolution
4157   in ``Hyperlinks`` transform.
4159 * docutils/transforms/universal.py:
4161   - Changed ``Messages`` transform to properly filter out system
4162     messages below the warning threshold.
4163   - Added ``Decorations`` transform (support for ``--generator``,
4164     ``--date``, ``--time``, ``--source-link`` options).
4166 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
4167   Engelbert Gruber's PDF writer.
4169 * docutils/writers/html4css1.py:
4171   - Made XHTML-compatible (switched to lowercase element & attribute
4172     names; empty tag format).
4173   - Escape double-dashes in comment text.
4174   - Improved boilerplate & modularity of output.
4175   - Exposed modular output in Writer class.
4176   - Added a "generator" meta tag to <head>.
4177   - Added support for the ``--stylesheet`` option.
4178   - Added support for ``decoration``, ``header``, and ``footer``
4179     elements.
4180   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
4181     translation table to regexp; restores Python 2.0 compatibility
4182     with Unicode.
4183   - Added the translator class as instance variable to the Writer, to
4184     make it easily subclassable.
4185   - Improved option list spacing (thanks to Richard Jones).
4186   - Modified field list output.
4187   - Added backlinks to footnotes & citations.
4188   - Added percentage widths to "<col>" tags (from colspec).
4189   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
4190     "<span>" changed to "<var>".
4191   - Inline literals: "<code>" changed to "<tt>".
4192   - Many changes to optimize vertical space: compact simple lists etc.
4193   - Add a command-line options & directive attributes to control TOC
4194     and footnote/citation backlinks.
4195   - Added support for optional footnote/citation backlinks.
4196   - Added support for generic bibliographic fields.
4197   - Identify backrefs.
4198   - Relative URLs for stylesheet links.
4200 * docutils/writers/pep_html.py: Added to project; HTML Writer for
4201   PEPs (subclass of ``html4css1.Writer``).
4203 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
4205 * docutils/writers/docutils_xml.py: Added to project; trivial writer
4206   of the Docutils internal doctree in XML.
4208 * docs/tools.txt: "Docutils Front-End Tools", added to project.
4210 * spec/doctree.txt:
4212   - Changed the title to "The Docutils Document Tree".
4213   - Added "Hyperlink Bookkeeping" section.
4215 * spec/docutils.dtd:
4217   - Added ``decoration``, ``header``, and ``footer`` elements.
4218   - Brought ``interpreted`` element in line with the parser: changed
4219     attribute "type" to "role", added "position".
4220   - Added support for generic bibliographic fields.
4222 * spec/notes.txt: Continual updates.  Added "Project Policies".
4224 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
4225   section.
4227 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
4229 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
4230   mailing list discussions.
4232 * spec/pep-0287.txt:
4234   - Renamed to "reStructuredText Docstring Format".
4235   - Minor edits.
4236   - Reworked Q&A as an enumerated list.
4237   - Converted to reStructuredText format.
4239 * spec/pysource.dtd:
4241   - Reworked structural elements, incorporating ideas from Tony Ibbs.
4243 * spec/pysource.txt: Removed from project.  Moved much of its contents
4244   to pep-0258.txt.
4246 * spec/rst/alternatives.txt:
4248   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
4249   - Added "Inline External Targets" section.
4251 * spec/rst/directives.txt:
4253   - Added "backlinks" attribute to "contents" directive.
4255 * spec/rst/problems.txt:
4257   - Updated the Enumerated List Markup discussion.
4258   - Added new alternative table markup syntaxes.
4260 * spec/rst/reStructuredText.txt:
4262   - Clarified field list usage.
4263   - Updated enumerated list description.
4264   - Clarified purpose of directives.
4265   - Added ``-/:`` characters to inline markup's start string prefix,
4266     ``/`` to end string suffix.
4267   - Updated "Authors" bibliographic field behavior.
4268   - Changed "inline hyperlink targets" to "inline internal targets".
4269   - Added "simple table" syntax to supplement the existing but
4270     newly-renamed "grid tables".
4271   - Added cautions for anonymous hyperlink use.
4272   - Added "Dedication" and generic bibliographic fields.
4274 * test: Made test modules standalone (subdirectories became packages).
4276 * test/DocutilsTestSupport.py:
4278   - Added support for PEP extensions to reStructuredText.
4279   - Added support for simple tables.
4280   - Refactored naming.
4282 * test/package_unittest.py: Renamed from UnitTestFolder.py.
4284   - Now supports true packages containing test modules
4285     (``__init__.py`` files required); fixes duplicate module name bug.
4287 * test/test_pep/: Subpackage added to project; PEP testing.
4289 * test/test_rst/test_SimpleTableParser.py: Added to project.
4291 * tools:
4293   - Updated html.py and publish.py front-end tools to use the new
4294     command-line processing facilities of ``docutils.frontend``
4295     (exposed in ``docutils.core.Publisher``), reducing each to just a
4296     few lines of code.
4297   - Added ``locale.setlocale()`` calls to front-end tools.
4299 * tools/buildhtml.py: Added to project; batch-generates .html from all
4300   the .txt files in directories and subdirectories.
4302 * tools/default.css:
4304   - Added support for ``header`` and ``footer`` elements.
4305   - Added styles for "Dedication" topics (biblio fields).
4307 * tools/docutils.conf: A configuration file; added to project.
4309 * tools/docutils-xml.py: Added to project.
4311 * tools/pep.py: Added to project; PEP to HTML front-end tool.
4313 * tools/pep-html-template: Added to project.
4315 * tools/pep2html.py: Added to project from Python (nondist/peps).
4316   Added support for Docutils (reStructuredText PEPs).
4318 * tools/quicktest.py:
4320   - Added the ``--attributes`` option, hacked a bit.
4321   - Added a second command-line argument (output file); cleaned up.
4323 * tools/stylesheets/: Subdirectory added to project.
4325 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
4328 Release 0.1 (2002-04-20)
4329 ========================
4331 This is the first release of Docutils, merged from the now inactive
4332 reStructuredText__ and `Docstring Processing System`__ projects.  For
4333 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
4334 `DPS HISTORY`__ files.
4336 __ http://structuredtext.sourceforge.net/
4337 __ http://docstring.sourceforge.net/
4338 __ http://structuredtext.sourceforge.net/HISTORY.html
4339 __ http://docstring.sourceforge.net/HISTORY.html
4341 General changes: renamed 'dps' package to 'docutils'; renamed
4342 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
4343 the test suites (reStructuredText's test/test_states renamed to
4344 test/test_rst); and all modifications required to make it all work.
4346 * docutils/parsers/rst/states.py:
4348   - Improved diagnostic system messages for missing blank lines.
4349   - Fixed substitution_reference bug.
4351 .. References
4352    ==========
4354 .. _RELEASE-NOTES: RELEASE-NOTES.html
4355 .. _`_config_files`: docs/user/config.html#config-files
4356 .. _auto_id_prefix: docs/user/config.html#auto-id-prefix
4357 .. _detailled:
4358 .. _detailed: docs/user/config.html#detailed
4359 .. _docutils_footnotes: docs/user/config.html#docutils-footnotes
4360 .. _dump_settings: docs/user/config.html#dump-settings
4361 .. _embed_images: docs/user/config.html#embed-images
4362 .. _embed_stylesheet: docs/user/config.html#embed-stylesheet
4363 .. _figure_footnotes: docs/user/config.html#figure-footnotes
4364 .. _file_insertion_enabled: docs/user/config.html#file-insertion-enabled
4365 .. _graphicx_option: docs/user/config.html#graphicx-option
4366 .. _hidden_controls: docs/user/config.html#hidden-controls
4367 .. _html_writer: docs/user/config.html#html-writer
4368 .. _hyperref_options: docs/user/config.html#hyperref-options
4369 .. _id_prefix: docs/user/config.html#id-prefix
4370 .. _ignore: docs/user/config.html#ignore
4371 .. _image_loading: docs/user/config.html#image-loading
4372 .. _indents: docs/user/config.html#indents
4373 .. _initial_header_level: docs/user/config.html#initial-header-level
4374 .. _input_encoding: docs/user/config.html#input-encoding
4375 .. _input_encoding_error_handler: docs/user/config.html#input-encoding-error-handler
4376 .. _language: docs/user/config.html#language
4377 .. _latex_preamble: docs/user/config.html#latex-preamble
4378 .. _legacy_class_functions: docs/user/config.html#legacy-class-functions
4379 .. _legacy_column_widths: docs/user/config.html#legacy-column-widths
4380 .. _literal_block_env: docs/user/config.html#literal-block-env
4381 .. _math_output: docs/user/config.html#math-output
4382 .. _output: docs/user/config.html#output
4383 .. _output_encoding: docs/user/config.html#output-encoding
4384 .. _prune: docs/user/config.html#prune
4385 .. _raw_enabled: docs/user/config.html#raw-enabled
4386 .. _reference_label: docs/user/config.html#reference-label
4387 .. _root_prefix: docs/user/config.html#root-prefix
4388 .. _smart_quotes: docs/user/config.html#smart-quotes
4389 .. _sources: docs/user/config.html#sources
4390 .. _strip_classes: docs/user/config.html#strip-classes
4391 .. _strip_elements_with_classes: docs/user/config.html#strip-elements-with-classes
4392 .. _stylesheet: docs/user/config.html#stylesheet
4393 .. _stylesheet_dirs: docs/user/config.html#stylesheet-dirs
4394 .. _stylesheet_path: docs/user/config.html#stylesheet-path
4395 .. _syntax_highlight: docs/user/config.html#syntax-highlight
4396 .. _table_style: docs/user/config.html#table-style
4397 .. _theme: docs/user/config.html#theme
4398 .. _theme_url: docs/user/config.html#theme-url
4399 .. _toc_backlinks: docs/user/config.html#toc-backlinks
4400 .. _traceback: docs/user/config.html#traceback
4401 .. _use_bibtex: docs/user/config.html#use-bibtex
4402 .. _use_latex_abstract: docs/user/config.html#use-latex-abstract
4403 .. _use_latex_footnotes: docs/user/config.html#use-latex-footnotes
4404 .. _use_latex_toc: docs/user/config.html#use-latex-toc
4405 .. _view_mode: docs/user/config.html#view-mode
4407 .. _<meta>: docs/ref/doctree.html#meta
4408 .. _<image>: docs/ref/doctree.html#image
4409 .. _<inline>: docs/ref/doctree.html#inline
4410 .. _<literal>: docs/ref/doctree.html#literal
4414    Local Variables:
4415    mode: indented-text
4416    indent-tabs-mode: nil
4417    sentence-end-double-space: t
4418    fill-column: 70
4419    End: