Refactor/fix HTML math handling.
[docutils.git] / docutils / HISTORY.txt
blob1c991725ce997e55c79ae7c3555ae09473aa542a
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 Changes since 0.20.1
18 ====================
20 * General
22   - Drop support for Python 3.7 and 3.8.
24   - Updated build stystem to use Flit_ (patch #186 by Adam Turner).
25     Removed ``setup.py``.
27   .. _Flit: https://github.com/pypa/flit/
29 * docs/ref/docutils.dtd
31   - The <image> element accepts the new attribute "loading".
33 * docutils/frontend.py
35   - Allow `validate_*()` functions to be called with just the "value"
36     argument but keep the legacy interface for use with optparse.
37   - New function `frontend.validate_math_output()`.
39 * docutils/io.py
41   - Simpler and more secure `input encoding`_ default behaviour:
43     Do not use the locale encoding as fallback if Python is started in
44     `UTF-8 mode`_. Stop using "latin1" as second fallback.
46     Remove BOM (U+FEFF ZWNBSP at start of data) only if the `input_encoding`_
47     configuration setting is None, '', 'utf-8-sig', 'utf-16', or 'utf-32'.
48     Do not remove other ZWNBSPs.
50   - Auto-close `FileInput.source` in case of reading/decoding errors.
52   .. _UTF-8 mode: https://docs.python.org/3/library/os.html#utf8-mode
53   .. _input encoding: docs/api/publisher.html#encodings
55 * docutils/languages/, docutils/parsers/rst/languages/
57   - Mark/Fix mistranslated localizations of the "admonition" directive
58     name. In Docutils, "admonition" is used as a generic term for
59     "advice"/"advisory"/"remark", not a reprimand.
61   - Add support for Georgian language (patch #204 by Temuri Doghonadze).
63   - Update/complete Catalan translations (patch #203 by Antoni Bella Pérez).
65 * docutils/nodes.py
67   - Remove compatibility hacks `nodes.reprunicode` and `nodes.ensure_str()`.
69 * docutils/parsers/rst/directives/images.py
71   - New "image" directive option "loading".
73 * docutils/parsers/rst/directives/tables.py
75   - Use the same CSV format for the ``:header:`` option and the main data
76     of the "csv-table" directive.
78   - Move `parsers.rst.directives.Table.process_header_option()` to
79     `parsers.rst.directives.CSVTable`.
81 * docutils/parsers/rst/states.py
83   - Don't split inside "< >" when parsing "option groups" (fixes bug #474).
85 * docutils/parsers/rst/directives/misc.py,
86   docutils/parsers/rst/directives/tables.py
88   - Consider the root-prefix_ setting when including files with
89     "include", "raw", or "csv-table" directives.
91 * docutils/utils/math/*
93   - Use custom exception `utils.math.MathError` instead of
94     abusing `SyntaxError` for LaTeX math syntax errors.
95   - Unify interface of LaTeX -> MathML conversion functions.
96     Improve error reporting.
98 * docutils/utils/roman.py
100   - Update to version `1.4 <https://pypi.org/project/roman/4.1/>`__.
101     Fixes feature-requests:#95 (license is now ZPL 2.1).
103 * docutils/utils/smartquotes.py
105   - Pre-compile regexps once, not with every call of `educateQuotes()`
106     (patch #206 by Chris Sewell); simplify regexps; skip replacement
107     rules if there is nothing to replace.
109 * docutils/writers/html4css1/__init__.py
111   - Support video inclusion via `<object>` tags.
113 * docutils/writers/_html_base.py
115   - Stop setting the "footnote-reference" class value for footnote references.
116     Since 0.18, you can use the CSS selector ``[role="doc-noteref"]``.
117   - Support reading/embedding images also with "file:" URI.
118   - Warn, if image scaling fails because the image file cannot be read.
119   - Support video inclusion via `<video>` tags
120     (moved here from writers/html5_polyglot/__init__.py).
121   - New auxiliary function `HTMLTranslator.uri2imagepath()`
122     ensures the image file can also be read when
123     CWD and output directory differ.
124   - Consider the root-prefix_ setting when converting an image URI
125     to a local filesystem path.
126   - New <image> attribute "loading" overrides "image-loading" setting.
127   - Write system messages for errors/warnings during the writing stage
128     (image transformations, math content conversion, ...).
130   .. _root-prefix: docs/user/config.html#root-prefix
132 * docutils/writers/latex2e/__init__.py
134   - Fix placement of hyperlink target (label) for tables (bug #440).
136 * docutils/writers/manpage.py
138   - Add preprocessor hinting tbl first line, see bugs #477.
139   - Change tbl-Tables using box option, see bugs #475.
140   - Apply literal block patch #205. Use ``.EE`` and ``.EX`` macros.
141     Thanks to G. Branden Robinson (I assume).
143 * docutils/writers/odf_odt/__init__.py
145   - Use context manager for image reading operations.
146     Catch `URLError` when `urllib.request.urlopen()` fails.
148   - Convert image URI to path if accessing a local file. Fixes bug #153.
150 * docutils/writers/s5_html/__init__.py
152   - Warn if the S5 writer cannot copy the theme files.
154   - Programmatic customization of "theme_url__" setting no longer
155     overridden by the default for "theme__".
157     __ docs/user/config.html#theme-url
158     __ docs/user/config.html#theme
161 Release 0.20.1 (2023-05-17)
162 ===========================
164 * docutils/MANIFEST.in
166   - Include tox.ini and docutils.conf in the source package
167     (cf. bug #467 and bug #461).
169 * tools/rst2odt_prepstyles.py
171   - Moved to ``docutils/writers/odf_odt/prepstyles.py``.
172     Replaced with a provisional backwards compatibility script.
175 Release 0.20 (2023-05-09)
176 =========================
178 * General
180   - Docutils 0.20 is the last version supporting Python 3.7 and 3.8.
181   - Support Python 3.11 (patch #198 by Hugo van Kemenade).
183 * docutils/core.py
185   - New functions `rst2…()` for use as "console_scripts" `entry points`_.
186     (cf. `Future changes` in the RELEASE-NOTES_).
188 * docutils/frontend.py
190   - New configuration setting "output_". Obsoletes the ``<destination>``
191     positional argument (cf. `Future changes` in the RELEASE-NOTES_).
193 * docutils/languages/
194   docutils/parsers/rst/languages/
196   - Support Ukrainian. Patch by Dmytro Kazanzhy.
198 * docutils/nodes.py
200   - Fix `previous_sibling()` method that led to invalid HTML in some cases
201     (cf. patch #195).
202   - Fix bug #463. Spurious comma in deprecation warning.
204 * docutils/parsers/recommonmark_wrapper.py
206   - Improved mock Sphinx module.
208 * docutils/transforms/__init__.py
210   - `Transformer.populate_from_components()` now silently ignores
211     components that are not instances of `docutils.TransformSpec`.
213 * docutils/transforms/frontmatter.py
215   - Accept author names with initials like ``A. Einstein`` in the "author"
216     `bibliographic field`_ instead of rising an error
217     (generally, such names are `parsed as enumerated list`__).
219     .. _bibliographic field:
220         docs/ref/rst/restructuredtext.html#bibliographic-fields
221     __ docs/ref/rst/restructuredtext.html#enumerated-lists
223 * docutils/transforms/references.py
225   - `DanglingReferences` ignores `citation_reference` nodes if the
226     "use_bibex" setting is active. (In this case, citations are provided
227     by LaTeX/BibTeX.) Fixes bug #384.
229 * docutils/utils/__init__.py
231   - New utility function `xml_declaration()`.
232   - `DependencyList.add()` accepts `pathlib.Path` instances.
233   - `find_file_in_dirs()` now returns a POSIX path also on Windows;
234     `get_stylesheet_list()` no longer converts ``\`` to ``/``.
236 * docutils/utils/math/latex2mathml.py
238   - Support "mod" notation for modulo operation / modulus arithmetic.
240 * docutils/utils/math/tex2mathml_extern.py
242   - Support `Pandoc` as alternative LaTeX to MathML converter.
243     Patch by Ximin Luo.
245 * docutils/writers/_html_base.py
247   - Refactoring of `HTMLTranslator` initialization and collecting of
248     document "parts". Adapt HTML writers importing `_html_base`.
250     Changes to the HTML output (no space character before closing tag of
251     XML declaration, order of metadata elements)
252     don't affect the HTML semantics, styling, and rendering.
254   - Wrap definition lists with "details" class argument in a <div>
255     with the "id" and "class" values of the list node.
257   - Use dpub-ARIA role "doc-footnote__" (instead of ARIA role "note")
258     for footnotes.
260     __ https://www.w3.org/TR/dpub-aria-1.1/#doc-footnote
262 * docutils/writers/html5_polyglot/__init__.py
264   - Do not convert class values to HTML5 text-level tags inside
265     <code> and <code-block> (fixes bug #476).
267 * docutils/writers/latex2e/__init__.py
269   - Do not load the `inputenc` package in UTF-8 encoded LaTeX sources.
270     (UTF-8 is the default encoding for LaTeX2e since 2018).
271   - Fix behaviour of the use_bibtex_ setting.
272   - Outsource parts of `depart_document()` to new auxiliary methods
273     `make_title()` and `append_bibliography()`.
274   - Ensure POSIX paths in stylesheet loading macros.
276 * docutils/writers/latex2e/titlepage.tex
278   - Drop ``\usepackage{fixltx2e}`` from template.
279     (Obsolete since 2015 and dropped from other templates in Docutils 0.14.)
281 * docutils/writers/manpage.py
283   - Do not output empty "manual" in ``.TH``.
285 * docutils/writers/xetex/__init__.py
287   - Ignore settings in the [latex2e writer] configuration file section.
288     Place common settings in section [latex writers].
290 * setup.py
292   - Fix SetuptoolsDeprecationWarning: ``Installing '' as data is deprecated``
293     by adding data directories to package_data.packages list.
295 * tox.ini
297   - Extracted flake8 configuration and moved to ``.flake8``.
298   - changedir to directory ``test`` to avoid path problems.
300 * test/
302   - Refactored tests to use common `unittest` idioms.
303     Fixes errors when running the test suite with ``python -m unittest``
304     or external test frameworks, such as Pytest_.
306   .. _pytest: https://pypi.org/project/pytest/
308 * test/coverage.sh
310   - Removed. Use the coverage.py_ project instead,
311     ``coverage run test/alltests.py`` and ``coverage report``.
313   .. _coverage.py: https://pypi.org/project/coverage/
315 * tools/
317   - Moved ``quicktest.py`` to ``tools/dev/``.
320 Release 0.19 (2022-07-05)
321 =========================
323 * General
325   - Dropped support for Python 2.7, 3.5, and 3.6. and removed compatibility
326     hacks from code and tests.
327   - Code cleanup,
328     check PEP 8 conformity with `flake8` (exceptions in file tox.ini).
330 * docutils/__main__.py
332   - New module. Support for ``python -m docutils``.
333     Also used for the ``docutils`` console script `entry point`_.
335 * docutils/core.py
337   - Let `Publisher.publish()` print info and prompt when waiting for input
338     from a terminal (cf. https://clig.dev/#interactivity).
339   - Respect `input_encoding_error_handler`_ setting when opening a source.
341 * docutils/io.py
343   - New function `error_string()`
344     obsoletes `utils.error_reporting.ErrorString`.
345   - Class `ErrorOutput` moved here from `utils.error_reporting` module.
346   - Use "utf-8-sig" instead of Python's default encoding if the
347     `input_encoding`_ setting is None.
348   - Fix error when reading of UTF-16 encoded source without trailing newline.
349   - Suppress deprecation warning (fixes bug #464).
351 * docutils/parsers/__init__.py
353   - Aliases "markdown" and "commonmark" point to "commonmark_wrapper".
354   - Alias for the "myst" parser (https://pypi.org/project/myst-docutils).
355   - Use absolute module names in `_parser_aliases` instead of two
356     import attempts. (Keeps details if the `recommonmark_wrapper` module
357     raises an `ImportError`.)
358   - Prepend parser name to `ImportError` if importing a parser class fails.
360 * docutils/parsers/commonmark_wrapper.py
362   - New module for parsing CommonMark input. Selects a locally installed
363     3rd-party parser (`pycmark`, `myst`, or `recommonmark`).
365 * docutils/parsers/recommonmark_wrapper.py
367   - Raise `ImportError`, if import of the upstream parser module fails.
368     If called from an `"include" directive`_,
369     the system-message now has source/line info.
370   - Adapt to and test with `recommonmark` versions 0.6.0 and 0.7.1.
372   .. _"include" directive: docs/ref/rst/directives.html#include
374 * docutils/parsers/rst/__init__.py
376   - Update PEP base URL (fixes bug #445),
377     use "https:" scheme in RFC base URL.
378   - Add `reporter` to `Directive` class attributes.
380 * docutils/parsers/rst/directives/__init__.py
382   - `parser_name()` keeps details if converting  `ImportError` to  `ValueError`.
384 * docutils/parsers/rst/roles.py
386   - Don't use mutable default values for function arguments. Fixes bug #430.
388 * docutils/transforms/universal.py
390   - Fix bug #435: invalid references in `problematic` nodes
391     with report_level=4.
393 * docutils/utils/__init__.py
395   - `decode_path()` returns `str` instance instead of `nodes.reprunicode`.
397 * docutils/utils/error_reporting.py
399   - Add deprecation warning.
401 * docutils/writers/_html_base.py
403   - Add "html writers" to `config_section_dependencies`. Fixes bug #443.
404   - Write table column widths with 3 digits precision. Fixes bug #444.
406 * docutils/writers/html5_polyglot/__init__.py
408   - Add space before "charset" meta tag closing sequence.
409   - Remove class value "controls" from an `image` node with video content
410     after converting it to a "control" attribute of the <video> tag.
411   - Wrap groups of footnotes in an ``<aside>`` for easier styling.
413 * docutils/writers/pep_html/
415   - Use "https:" scheme in "python_home" URL default.
416   - Fix links in template.txt.
418 * setup.py
420   - New ``docutils``" console script `entry point`_. Fixes bug #447.
422 * test/alltests.py
424   - Always encode the log file ``alltests.out`` using "utf-8".
426 * test/DocutilsTestSupport.py
428   - `exception_data()` now returns None if no exception was raised.
429   - `recommonmark_wrapper` only imported if upstream parser is present.
431 * test/test_parsers/test_rst/test_directives/test_tables.py
433   - Fix bug #436: Null char valid in CSV since Python 3.11.
435 * tools/docutils-cli.py
437   - Allow 3rd-party drop-in components for reader and parser, too.
438   - Fix help output.
439   - Actual code moved to docutils.__main__.py.
441 * tools/rst2odt_prepstyles.py
443   - Options ``-h`` and ``--help`` print short usage message.
445 .. _entry point:
446 .. _entry points:
447     https://packaging.python.org/en/latest/specifications/entry-points/
450 Release 0.18.1 (2021-11-23)
451 ===========================
453 * docutils/nodes.py
455   - `Node.traverse()` returns a list again to restore backwards
456     compatibility. Fixes bug #431.
458   - New method `Node.findall()`: like `Node.traverse()` but returns an
459     iterator. Obsoletes `Node.traverse()`.
461 * docutils/utils/__init__.py
463   - Fix behaviour of `get_stylesheet_list()`: do not look up stylesheets
464     given as `stylesheet`_ setting. Cf. bug #434.
466 * docutils/writers/_html_base.py
468   - Fix handling of ``footnote_backlinks == False`` (report Alan G Isaac).
470 * docutils/writers/html5_polyglot/math.css
472   - Fix typo (bug #432).
474 * docutils/writers/odf_odt/__init__.py
476   - Fix spurious output with Windows (bug #350).
478 * test/test_error_reporting.py
480   - Fix a false positive (bug #434).
483 Release 0.18 (2021-10-26)
484 =========================
486 * docutils/frontend.py
487   - Mark as provisional (will switch from using `optparse` to `argparse`).
488   - Remove hack for the now obsolete "mod_python" Apache module.
489   - New function `get_default_settings()`.
491 * docutils/nodes.py
493   - Don't change a list while looping over it (in
494     `document.set_name_id_map()`). Thanks to Mickey Endito.
496 * docutils/parsers/recommonmark_wrapper.py
498   - Test and update to work with `recommonmark` version 0.6.0.
499     Still provisional.
501     Unfortunately, recommonmark_ is `no longer maintained`__.
503     __ https://github.com/readthedocs/recommonmark/issues/221
505 * docutils/parsers/rst/directives/misc.py
507   - Fix bug #424 Wrong circular inclusion detection.
508     Use a "magic" comment instead of line numbers
509     to keep a log of recursive inclusions.
511 * docutils/parsers/rst/states.py
513   -  Use a "magic" comment to update the log of recursive inclusions.
515 * docutils/writers/html5_polyglot/__init__.py
517   - New option `image_loading`_. Support "lazy" loading of images.
518     Obsoletes `embed_images`_.
520 * docutils/writers/pseudoxml.py
522   - Fix spelling of setting `detailed`_.
524 * tools/docutils-cli.py
526   - Read settings from standard configuration files.
528 Fix spelling errors in documentation and docstrings.
529 Thanks to Dimitri Papadopoulos.
532 Release 0.18b1 (2021-10-05)
533 ===========================
535 * docs/ref/docutils.dtd
537   - New document tree element <meta>.
539 * docutils/frontend.py
541   - The default value for the `auto_id_prefix`_ setting changed to "%":
542     auto-generated IDs use the tag name as prefix.
544 * docutils/nodes.py
546   - Make meta__ a standard Docutils doctree node. Writers may ignore
547     `meta` nodes if they are not supported by the output format.
549     __ docs/ref/doctree.html#meta
551   - document.make_id(): Do not strip leading number and hyphen characters
552     from `name` if the `id_prefix`_ setting is non-empty.
554   - `Node.traverse()` returns an iterator instead of a list.
556 * docutils/parsers/rst/directives/html.py
558   - Removed. (Meta directive moved to ``misc.py``.)
560 * docutils/parsers/rst/directives/misc.py
562   - `Meta` directive class (moved from html.py) inserts `meta`
563     (instead of `pending`) nodes.
565   - Add `class` option to `Raw` directive.
567 * docutils/parsers/rst/directives/tables.py
569   - Unify behaviour of `"widths" option`_: check that the length of an
570     integer list equals the number of table columns also for the "table"
571     directive.
573 * docutils/tools/math/math2html.py,
574   docutils/tools/math/tex2unicode.py,
575   docutils/writers/html5/math.css
577   - Fork from elyxer and remove code that is not required
578     for math conversion.
579   - Scale variable sized operators and big delimiters with CSS
580   - Support more commands, fix mapping of commands to Unicode characters
581     (cf. `LaTeX syntax for mathematics`_).
582   - Fix bug #244 Wrong subscript/superscript order.
583   - Don't use <tt> element (deprecated in HTML5).
584   - Use STIX fonts if available.
586   .. _LaTeX syntax for mathematics: docs/ref/rst/mathematics.html
588 * docutils/parsers/rst/states.py
590   - Fix source location (line number) for attribution elements.
591     Patch by Mickey Endito.
592   - Add line, source, and rawsource internal attributes for blockquote
593     elements. Patch by Mickey Endito.
595 * docutils/transforms/references.py
597   - Skip system_messages when propagating targets. Fixes bug #425.
599 * docutils/utils/__init__.py
601   - Removed `unique_combinations()` (obsoleted by `itertools.combinations()`).
603 * docutils/utils/latex2mathml.py
605   - Major update (fixes and support for additional commands and symbols).
606     Fixes bug #407.
608 * docutils/writers/_html_base.py
610   - Write footnote brackets and field term colons to HTML, so that
611     they are present also without CSS and when copying text.
612     Adapt ``minimal.css``.
614   - Use semantic tags <aside> for footnote text, topics, admonitions,
615     and system-messages and <nav> for the table of contents. Use <div>
616     for citations.
618   - Only specify table column widths, if the `"widths" option`_ is set
619     and is not "auto" (fixes bug #426).
620     The `table_style`_ setting "colwidths-grid" restores the current default.
622     .. _"widths" option: docs/ref/rst/directives.html#column-widths
624   - Use ARIA roles to enable accessible HTML for abstract, dedication,
625     the table of contents, footnote, references, footnotes, citations,
626     and backlinks.
628   - Use "aria-level" attribute instead of invalid tags <h7>, <h8>, ...
629     for headings of deeply nested sections.
631   - Do not set classes "compound-first", "compound-middle", or
632     "compound-last" to elements nested in a compound.
633     Use class value "backrefs" instead of "fn-backref" for a span of
634     back-references.
636   - Do not write class values handled by the HTML writer ("colwidths-auto",
637     "colwidths-given", "colwidths-grid") to the output.
639   - Move space character between section number and heading into
640     "sectnum" span.
642   - Removed attribute `HTMLTranslator.topic_classes`
644   - Items of a definition list with class argument "details" are
645     converted to <details> disclosure elements.
647 * docutils/writers/html4css1/__init__.py
649   - Overwrite methods in _html_base.HTMLTranslator that use HTML5 tags
650     (details, aside, nav, ...) and attributes (role, aria-level).
652 * docutils/writers/latex2e/__init__.py
654   - The setting `legacy_class_functions`_ now defaults to "False".
655     Adapt stylesheets modifying ``\DUadmonition`` and/or ``\DUtitle``.
657   - Apply patch #181 "Fix tocdepth when chapter/part in use" by
658     John Thorvald Wodder II.
660   - Fix newlines after/before `ids_to_labels()` (cf. patch #183).
662   - Refactor/revise ToC writing.
664   - Don't add ``\phantomsection`` to labels in math-blocks.
666   - Improve spacing and allow customization of Docutils-generated table
667     of contents.
669   - New algorithm for table column widths. Fixes bug #422.
670     New configuration setting `legacy_column_widths`_.
672     `Table.set_table_style()` arguments changed.
674     Only write "continued on next page..." if it fits
675     without making the table columns wider.
677     Table "width" option overrides conflicting "auto" column "widths".
679 * docutils/writers/latex2e/docutils.sty
681   - Fix excessive padding above sidebar titles.
683 * docutils/writers/pseudoxml.py
685   - Fix option `detailed`_ under Python 2.7.
687 * docutils/writers/s5_html/themes/default
689   - Remove IE 6 compatibility workarounds ``iepngfix.htc`` and
690     ``blank.gif`` (fixes bug #169).
692 * docutils/writers/manpage.py
694   - Fix: double quotes need to be escaped on macro invocation.
695     Done everywhere.
698 Release 0.17.1 (2021-04-16)
699 ===========================
701 * docutils/utils/math/latex2mathml.py
703   - Fix bug #406 (MathML translation of ``\mathbf``).
705 * docutils/writers/latex2e/__init__.py
707   - Open ``docutils.sty`` with encoding set to "utf-8".
708     Fixes bug #414: error with Py3k when locale encoding is "ascii".
710 * docutils/parsers/*.py, docutils/transforms/*.py
712   - Provide fallbacks for parser config settings
713     to facilitate programmatic use.
715 * docutils/writers/manpage.py
717   - Apply patch #166: move macro defs above ``.TH``
718     (thanks Willie and sorry for the delay).
721 Release 0.17 (2021-04-03)
722 =========================
724 * General
726   - Installing with ``setup.py`` now requires `setuptools`.
727     Alternatively, install with `pip`_ (or "manually").
728   - Use `importlib.import_module()` to programmatically import modules.
729   - Fix bug #385: Import of language modules.
731   .. _pip: https://pypi.org/project/pip/
733 * docs/ref/docutils.dtd
735   - The "title" attribute of <sidebar> elements is now optional.
737 * docutils/MANIFEST.in
739   - Exclude test outputs.
741 * docutils/__init__.py
743   - VersionInfo:  `ValueError` for invalid values, fix comparison to tuples.
745 * docutils/languages/
746   docutils/parsers/rst/languages/
748   - Apply patch # 177 Arabic mappings by Shahin.
749   - Apply patch for bug #399 Fixes in Korean translation by Shinjo Park.
751 * docutils/nodes.py
753   - Apply patch #165 "Fix error when copying `system_message` node"
754     by Takeshi KOMIYA.
755   - Apply version of patch #167 "Let `document.set_id()` register all
756     existing IDs". Thanks to Takeshi KOMIYA.
757   - Fix bug #410: Use a "property" function to recursively fetch
758     `Node.document` value from parent node.
760 * docutils/parsers/recommonmark_wrapper.py
762   - New, **experimental** wrapper to integrate the
763     `recommonmark`_ Markdown parser for use with Docutils.
764     Currently only tested with `recommonmark` version 0.4.0.
766     .. _recommonmark: https://pypi.org/project/recommonmark/
768 * docutils/parsers/rst/directives/body.py
770   - Make the sidebar's "title" argument optional (feature request #69).
772 * docutils/parsers/rst/directives/html.py
774   - Make `meta` elements available for "latex" and "odt" writers.
776 * docutils/parsers/rst/directives/misc.py
778   - Prevent infinite inclusion loops.
780 * docutils/parsers/rst/roles.py
782   - Apply patch #174 "Lowercase new role names on registration"
783     by John Thorvald Wodder II.
785 * docutils/utils/smartquotes.py
787   - Fix bug #383: Smart quotes around opening and separator characters.
789 * docutils/transforms/components.py
791   - Allow a comma-separated list of formats for the Filter transform.
793 * docutils/writers/html*
795   - Implement feature request #40 "Option to embed images as data URI".
797 * docutils/writers/html5_polyglot/__init__.py
799   - Use the new semantic tags <main>, <section>, <header>,
800     <footer>, <aside>, <figure>, and <figcaption>.
801     See ``minimal.css`` and ``plain.css`` for styling rule examples.
803     Change the `initial_header_level`_ setting default to "2", as browsers
804     use the `same style for <h1> and <h2> when nested in a <section\>`__.
806     __ https://stackoverflow.com/questions/39547412/same-font-size-for-h1-and-h2-in-article
808   - Use HTML text-level tags <small>, <s>, <q>, <dfn>, <var>, <samp>, <kbd>,
809     <i>, <b>, <u>, <mark>, and <bdi> if a unique, matching class value
810     is found in `inline`__ and `literal`__ elements.
811     Use <ins> and <del> if a unique matching class value
812     is found in `inline`, `literal`, or `container` elements.
813     Use <small> for generated code line numbers.
815     __ docs/ref/doctree.html#inline
816     __ docs/ref/doctree.html#literal
818   - Fix bug #398: properly close link tag to "schema.dcterms".
820   - Add a `viewport meta tag`__ to fix rendering in mobile browsers.
822     __ https://developer.mozilla.org/en-US/docs/Web/HTML/Viewport_meta_tag
824   - Use <video> for images with video MIME types supported by HTML5.
826 * docutils/writers/html5_polyglot/minimal.css
828   - Move non-essential styling to ``plain.css``.
829     Small fixes and tweaks.
831   - Support "captionbelow" class value for tables.
833   - Display code line numbers as pseudo-elements which are skipped
834     when copying text from code blocks. Solves feature request #32.
836 * docutils/writers/html5_polyglot/plain.css
838   - Support numbered figures.
840 * docutils/writers/html5_polyglot/responsive.css
842   - New optional style that adapts to different screen sizes.
844 * docutils/writers/latex2e/__init__.py
846   - Use LaTeX environments for admonitions and "class wrappers" for styling
847     admonitions and titles if the new configuration setting
848     `legacy_class_functions`_ is False.
850   - Remove backwards compatibility code for the deprecated
851     `styling command`__ prefix ``\docutilsrole``.
853     __ docs/user/latex.html#custom-interpreted-text-roles
855   - Remove legacy LaTeX stylesheet ``docutils-05-compat.sty``.
857   - Support the `memoir` LaTeX document class.
858     Fixes bugs #390, #391, and #392. Thanks to John Thorvald Wodder II.
860   - The special value "auto" for the `graphicx_option`_ setting
861     is no longer supported (it never worked for xetex/luatex).
863   - Most helper commands and element definitions are now defined in the
864     LaTeX package `docutils.sty`_ and only inserted in the document
865     preamble if the `stylesheet`__ setting does not list "docutils".
867     .. _docutils.sty: https://ctan.org/pkg/docutils
868     __ docs/user/config.html#stylesheet-latex-writers
870   - Apply patch #173 "Make \*TeX writers convert nonstandard table
871     classes to DUclass environments" by John Thorvald Wodder II.
873   - Fix bug #408 "Incorrect assert in latex writer
874     for multiple citation references".
876   - Apply patch #175 "Fix alignment of nested tables"
877     by John Thorvald Wodder II. Additional fixes to table alignment.
879   - Do not write Docutils-generated ToC, when ``use_latex_toc == True``.
880     (This did happen when publishing from a doctree.)
882   - Set PDF document properties from "meta" directive content.
884   - Apply version of patch #176 "LaTeX writer: Append ``\leavevmode`` to
885     non-docinfo field names" by John Thorvald Wodder II.
887 * docutils/writers/manpage.py
889   - Fix #394 fix missing new line after rubric.
890   - Patch #168 fix crashing on empty citation (by Takeshi KOMIYA).
891   - Fix #126 manpage title with spaces.
892   - Fix #380 command line option problem in sphinx.
894 * docutils/writers/odf_odt/__init__.py
896   - Fix/improve metadata handling:
897     fix "keyword" splitting,
898     allow generic fields (stored as "Custom Properties").
900 * docutils/writers/pseudoxml.py
902   - New option `detailled`_.
904 * test/DocutilsTestSupport.py
906   - Run python3 test like python2 against source not the build/-directory
908 * tools/docutils-cli.py
910   - New generic command line front end that allows the free selection of
911     reader, parser, and writer components.
914 Release 0.16 (2020-01-16)
915 =========================
917 * General
919   - Dropped support for Python 2.6, 3.3 and 3.4
920   - Docutils now supports Python 2.7 and Python 3.5+ natively
921     (without conversion by `2to3`).
922   - Keep `backslash escapes`__ in the document tree. Backslash characters in
923     text are be represented by NULL characters in the `text` attribute of
924     Doctree nodes and removed in the writing stage by the node's
925     `astext()` method.
927   __ https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#escaping-mechanism
929 * docs/ref/docutils.dtd
931   - Use "parameter entities" for `class names`, `reference names`,
932     and `ids`.
934 * docutils/io.py
936   - Remove the `handle_io_errors` option from io.FileInput/Output.
938 * docutils/nodes.py
940   - Speed up Node.next_node().
941   - If `auto_id_prefix`_ ends with "%", this is replaced with the tag name.
942   - Warn about `Node.traverse()` returning an iterator instead of a list
943     in future.
945 * docutils/statemachine.py
947   - Patch [ 158 ]: Speed up patterns by saving compiled versions (eric89gxl)
949 * docutils/transforms/universal.py
951   - Fix [ 332 ]: Standard backslash escape for smartquotes.
952   - Fix [ 342 ]: No escape in roles descending from `inline literal`.
954 * docutils/utils/__init__.py
956   - `unescape()` definition moved to `nodes` to avoid circular import
957     dependency. Fixes [ 366 ].
959 * docutils/writers/latex2e/__init__.py
961   - Fix topic subtitle.
962   - Make "rubric" bold-italic and left aligned.
963   - Fix [ 339 ] don't use "alltt" or literal-block-environment
964     in admonitions and footnotes.
965   - Deprecation warning for ``\docutilsrole``-prefixed styling commands.
966   - Add "latex writers" to the `config_section_dependencies`.
967   - Ignore classes for `rubric` elements
968     (class wrapper interferes with LaTeX formatting).
970 * docutils/writers/manpage.py
972   - Apply fix for [ 287 ] comma after option is bold.
973   - Apply fix for [ 289 ], line starting with ``.`` in a text.
975 * docutils/writers/odf_odt/__init__.py
977   - Fix: ElementTree.getchildren deprecated warning
979 * docutils/writers/xetex/__init__.py
981   - Add "latex writers" to the `config_section_dependencies`.
983 * test/alltests.py
985   - Fix: 377 ResourceWarning: unclosed file python3.8
986     Close alltests.out with atexit.
988 * test/functional/*
990   - Fix: 377 ResourceWarning: unclosed file python3.8
991     Read defaults file with context.
993   - Set `auto_id_prefix`_ to "%" (expands to tag-names).
994     Results in descriptive links in HTML and more localized changes when
995     editions to the input add or remove auto-ids.
997 * test/test_io.py
999   - Apply patch #157: avoid test failure because of a `ResourceWarning`.
1001 * test/test_writers/test_odt.py
1003   - Fix [ 359 ]: Test suite fails on Python 3.8. odt XML sorting.
1004     Use ElementTree instead of minidom.
1006 * tools/buildhtml.py
1008   - New option `html_writer`_.
1011 Release 0.15.1 (2019-07-24)
1012 ===========================
1014 source: branches/rel-0.15
1016 Bugs #366 fix release for python2 only.
1019 Release 0.15 (2019-07-20)
1020 =========================
1022 * General
1024   - Dropped support for Python 2.4, 2.5, 3.1, and 3.2.
1025   - Infrastructure automation.
1027 * docs/ref/docutils.dtd
1029   - The <table> element accepts the new attribute "width".
1031 * docs/ref/rst/restructuredtext.txt
1033   - Document rST syntax change: Tokens like ``:this:example:`` are now valid
1034     field list names (instead of ordinary text).
1036 * docutils/io.py
1038   - Fix [ 348 ] Since Python 3.4, the 'U' universal newlines mode has been
1039     deprecated. Thanks to hugovk.
1041 * docutils/languages/ko.py, docutils/parsers/rst/languages/ko.py
1043   - Apply [ 153 ] Korean mappings by Thomas Sungjin Kang.
1045 * docutils/nodes.py
1047   - Fix [ 251 ] `system_message.copy()`  `TypeError`.
1048   - `Element.copy()` also copies `document`, `line`, and `source` attributes.
1050 * docutils/parsers/rst/__init__.py
1052   - Apply [ 152 ] reset `default role` at end of document.
1054 * docutils/parsers/rst/states.py
1056   - Allow embedded colons in field list field names.
1058 * docutils/parsers/rst/directives/html.py
1060   - Fix bug #281: Remove escaping backslashes in meta directive content.
1062 * docutils/parsers/rst/directives/misc.py
1064   - Don't convert tabs to spaces, if `tab_width` is negative in
1065     "include" directive with "code" option.
1067 * docutils/parsers/rst/directives/tables.py
1069   - Apply patch #121: Add "width" option for the table directives.
1071 * docutils/transforms/frontmatter.py
1073   - Add field name as class argument to generic docinfo fields unconditionally.
1075 * docutils/transforms/references.py
1077   - Fix bug #331: fixed the "trim" options of the "unicode" directive.
1079 * docutils/utils/__init__.py
1081   - Deprecate `unique_combination()` (obsoleted by `itertools.combination()`.
1083 * docutils/utils/smartquotes.py
1085   - Fix bug #332: use open quote after whitespace, ZWSP, and ZWNJ.
1087 * docutils/writers/html5_polyglot/
1089   - automatically add HTML5-compatible meta tags for docinfo items
1090     "authors", "date", and "copyright".
1092 * docutils/writers/_html_base.py
1094   - Fix bug #358: Non-breaking space removed from fixed-width literal.
1096 * docutils/writers/latex2e/__init__.py
1098   - Fix bug #323: spurious ``\phantomsection`` and whitespace in
1099     ``parts['title']``.
1100   - Fix bug #324: Invalid LaTeX for table with empty multi-column cell.
1101   - Fixes to literal block handling.
1104 Release 0.14 (2017-08-03)
1105 =========================
1107 * docs/ref/docutils.dtd
1109   - Enable validation of Docutils XML documents against the DTD:
1111     Use attribute type NMTOKEN instead of REFID for the `refid` attribute
1112     and NMTOKENS for `backrefs`: REFID refers to an ID type instance,
1113     however, the `ids` attribute cannot use the ID type because `XML only
1114     allows one ID per Element Type`__ and doesn't support a multiple-ID
1115     "IDS" attribute type.
1117   __ https://www.w3.org/TR/REC-xml/#sec-attribute-types
1119 * docs/ref/rst/restructuredtext.txt
1121   - Added documentation for escaped whitespace in URI contexts.
1122   - Clarify use of Unicode character categories.
1124 * docutils/parsers/rst/states.py
1126   - Added functionality: escaped whitespace in URI contexts.
1127   - Consistent handling of all whitespace characters in inline markup
1128     recognition. Fixes [ 307 ] and [ 3402314 ] (now [ 173 ]).
1130 * docutils/parsers/rst/directives/images.py
1132   - Added support for escaped whitespace in URI contexts.
1134 * docutils/parsers/rst/directives/tables.py
1136   - Rework patch [ 120 ] (revert change to Table.get_column_widths()
1137     that led to problems in an application with a custom table directive).
1139 * docutils/transforms/frontmatter.py
1141   - Fix [ 320 ] Russian docinfo fields not recognized.
1143 * docutils/transforms/references.py
1145   - Don't add a second ID to problematic references.
1147 * docutils/transforms/universal.py
1149   Fix `SmartQuotes`: warn only once if language is unsupported,
1150   keep "rawsource" when "educating" quotes.
1152 * docutils/utils/__init__.py
1154   - Added `split_escaped_whitespac()` function, support for escaped
1155     whitespace in URI contexts.
1157 * docutils/utils/error_reporting.py
1159   - Fix [ 321 ] Import block might cause name error.
1161 * docutils/utils/smartquotes.py
1163   - Update quote definitions for languages et, fi, fr, ro, sv, tr, uk.
1164   - New quote definitions for hr, hsb, hu, lv, sh, sl, sr.
1165   - Fix [ 313 ] Differentiate apostrophe from closing single quote
1166     (if possible).
1167   - Fix [ 317 ] Extra space inserted with French smartquotes.
1168   - Add command line interface for stand-alone use (requires 2.7).
1170 * docutils/writers/_html_base.py
1172   - Provide default title in metadata (required by HTML5).
1173   - Fix [ 312 ] HTML writer generates invalid HTML if the table has two tags.
1174   - Fix [ 319 ] The MathJax CDN shut down on April 30, 2017. For security
1175     reasons, we don't use a third party public installation as default but
1176     warn if `math_output`_ is set to MathJax without specifying a URL.
1178 * docutils/writers/html4css1/__init__.py
1180   - Apply [ 125 ] HTML writer: respect automatic table column sizing.
1182 * docutils/writers/latex2e/__init__.py
1184   - Handle class arguments for block-level elements by wrapping them
1185     in a "DUclass" environment. This replaces the special handling for
1186     `epigraph` and `topic` elements.
1188 * docutils/writers/manpage.py
1190   - Apply [ 141 ] Handling inline in manpage writer.
1192 * docutils/writers/odf_odt/__init__.py
1194   - Command line setting `language`_ now sets the default language of the
1195     generated ODF document.
1196   - The use of image directive options :width: (%), :scale:, etc now
1197     set the width/height/size of images in the generated ODF
1198     documents.
1199   - The heading/title of admonitions now reflects the language
1200     specified by the `language`_ setting.
1201   - Fixed [ 306 ] only first of multiple "image" directives with the same URL
1202     shown in output.
1203   - Fixed [ 282 ] python3:  `AttributeError`.
1205 * tools/rst2html4.py: New front-end.
1207 * tools/dev/generate_punctuation_chars.py: New script
1208   to test and update utils.punctuation_chars.
1211 Release 0.13.1 (2016-12-09)
1212 ===========================
1214 * docs/ref/docutils.dtd
1216   - Add the document tree elements <math> and <math_block> (already in use).
1218 * docutils/languages/fa.py
1219   docutils/parsers/rst/languages/fa.py
1220   docutils/languages/la.py
1221   docutils/parsers/rst/languages/la.py:
1223   - Apply [ 133 ] Persian mappings by Shahin Azad.
1224   - Apply [ 135 ] Language modules for Latvian by Alexander Smishlajev
1226 * docutils/nodes.py
1228   - Fix [ 253 ] Attribute key without value not allowed in XML.
1230 * docutils/parsers/
1232   - Apply [ 103 ] Recognize inline markups without word boundaries.
1233   - Enable escaping in embedded URIs and aliases (fixes [ 284 ]).
1235 * docutils/parsers/rst/__init__.py
1237   - Fix [ 233 ] Change the base URL for the :rfc: role.
1239 * docutils/parsers/rst/directives/tables.py
1241   - Apply [ 120 ] tables accept option widths: list of relative widths, 'auto'
1242     or 'grid'.
1244   - Implement feature request [ 48 ]
1245     Add :align: option to the table directives.
1246     Thanks to Takeshi KOMIYA for the patch.
1248 * docutils/parsers/rst/roles.py
1250   - Fix [ 295 ] Class argument for custom role inheriting from math.
1252 * docutils/parsers/rst/tableparser.py
1254   - Really fix [ 159 ] Spurious table column alignment errors.
1256 * docutils/transforms/frontmatter.py
1258   - Add name of generic bibliographic fields as a "classes" attribute value
1259     (after conversion to a valid identifier form).
1261 * docutils/utils/error_reporting.py
1263   - Fix [ 130 ] support streams expecting byte-strings in ErrorOutput.
1265 * docutils/utils/math/math2html.py
1267   - Add ``\colon`` macro, fix spacing around colons. Fixes [ 246 ].
1268   - New upstream version (additional macros, piece-wise integrals and sums).
1270 * docutils/writers/_html_base.py
1272   - New auxiliary module for definitions common to all HTML writers.
1274 * docutils/writers/html5_polyglot/
1276   - New HTML writer generating clean, polyglot_ markup conforming to
1277     `HTML 5`_.
1279     The CSS stylesheets ``minimal.css`` and ``plain.css`` contain required
1280     and recommended layout rules.
1282 * docutils/writers/html4css1/__init__.py
1284   - Add "docutils" to class values for "container" object to address [ 267 ].
1285   - Apply patch [ 119 ] by Anatoly Techtonik: use absolute paths for
1286     `default_stylesheet_path` and `default_template_path`.
1287   - Fix [ 266 ] creating labels/class values in description list items.
1288   - Do not use <sup> and <sub> tags inside <pre> (parsed-literal blocks).
1289   - Fix footnotes with content that does not start with a paragraph.
1290   - Use https in default MathJax URL (report Alan G Isaac).
1291   - Outsourcing of common code to _html_base.py.
1293 * docutils/writers/latex2e/__init__.py
1295   - Fix [ 262 ] Use ``\linewidth`` instead of ``\textwidth`` for figures,
1296     admonitions and docinfo.
1298   - Use absolute path for `default_template_path`.
1300   - Removed deprecated options ``--use-latex-footnotes`` and
1301     ``--figure-footnotes``.
1303   - Cleaner LaTeX code for enumerations and literal blocks.
1305   - Use `hyperref` package together with `bookmark` (improved hyperlinking
1306     by the same author).
1308   - Fix [ 286 ] Empty column title cause invalid latex file.
1310   - Fix [ 224 ] Fix rowspan support for tables.
1312   - Let LaTeX determine the column widths in tables with "colwidths-auto".
1313     Not suited for multi-paragraph cells!
1315 * docutils/writers/odf_odt/__init__.py
1317   - remove decode.encode of filename stored in zip.
1319 * docutils/writers/xetex/__init__.py
1321   - LuaLaTex compatibility: do not load `xunicode` package.
1323 * tools/
1325   - New front-end ``rst2html5.py``.
1327 * tox.ini
1329   - Test py26, py27, py33 and py34.
1331     To use, install the `tox` package via pip or easy_install and use
1332     tox from the project root directory.
1334 .. _polyglot: https://www.w3.org/TR/html-polyglot/
1335 .. _HTML 5: https://www.w3.org/TR/html5/
1336 .. _XHTML 1.0: https://www.w3.org/TR/xhtml1/
1339 Release 0.12 (2014-07-06)
1340 =========================
1342 * docs/ref/rst/directives.txt
1344   - Update "math" and "csv-table" descriptions.
1346 * docutils/parsers/rst/directives/images.py
1348   - Fix [ 258 ] ``figwidth="image"`` generates unitless width value.
1350 * docutils/parsers/rst/states.py
1352   - Improve error report when a non-ASCII character is specified as
1353     delimiter, quote or escape character under Python 2.
1354     Fixes [ 249 ] and [ 250 ].
1356 * docutils/writers/html4css1/__init__.py
1358   - Don't add newline after inline math.
1359     Thanks to Yury G. Kudryashov for the patch.
1361 * docutils/writers/latex2e/__init__.py
1363   - Fix [ 239 ] Latex writer glues paragraphs with figure floats.
1364   - Apply [ 116 ] by Kirill Smelkov. Don't hard code \large for subtitle.
1366 * docutils/writers/odf_odt/__init__.py
1368   - Apply patch by Jakub Wilk to fix bug [ 100 ].
1370 * test/test_error_reporting.py
1372   - Fix [ 223 ] by removing redundant tests we do not have control over.
1374 * test/test_nodes.py
1376   - Apply [ 115 ] respect fixed 2to3 string literal conversion behaviour.
1379 Release 0.11 (2013-07-22)
1380 =========================
1382 * General
1384   - Apply [ 2714873 ] Fix for the overwriting of document attributes.
1385   - Support embedded aliases within hyperlink references.
1386   - Fix [ 228 ] try local import of docutils components (reader, writer, parser,
1387     language module) before global search.
1389 * docutils/nodes.py
1391   - Fix [ 3601607 ] `node.__repr__()` must return `str` instance.
1393 * docutils/parsers/rst/directives/__init__.py
1395   - Fix [ 3606028 ] `assert` is skipped with ``python -O``.
1397 * docutils/parsers/rst/directives/images.py
1399   - Apply [ 3599485 ] node source/line information for sphinx translation.
1401 * docutils/parsers/rst/directives/tables.py
1403   - Fix [ 210 ] Python 3.3 checks CVS syntax only if "strict" is True.
1405 * docutils/parsers/rst/states.py
1407   - Fix [ 157 ] Line block parsing doesn't like system message.
1408   - Always import our local copy of roman.py (report Larry Hastings).
1410 * docutils/transforms/references.py
1412   - Fix [ 3607029 ] traceback with embedded alias pointing to missing target.
1414 * docutils/utils/__init__.py
1416   - Fix [ 3596884 ] exception importing `docutils.io`.
1418 * docutils/writers/html4css1/__init__.py
1420   - Fix [ 3600051 ] for tables in a list, table cells are not compacted.
1421   - New setting `stylesheet_dirs`_: Comma-separated list of directories
1422     where stylesheets are found. Used by `stylesheet_path` when expanding
1423     relative path arguments.
1424   - New default for `math_output`_: ``HTML math.css``.
1425   - Avoid repeated class declarations in html4css1 writer
1426     (modified version of patch [ 104 ]).
1429 * docutils/writers/latex2e/__init__.py
1431   - Drop the simple algorithm replacing straight double quotes with
1432     English typographic ones.
1433     Use the `smart_quotes`_ setting to activate this feature.
1434   - Fix literal use of babel shorthands (straight quote, tilde, ...).
1435   - Fix [ 3603246 ] Bug in option ``--graphicx-option=auto``.
1436   - New setting `stylesheet_dirs`__.
1438     __ docs/user/config.html#stylesheet-dirs-latex-writers
1441 * docutils/writers/manpage.py
1443   - Fix [3607063] handle lines starting with a period.
1444   - Fix option separating comma was bold (thanks to Bill Morris).
1447 Release 0.10 (2012-12-16)
1448 =========================
1450 * General
1452   - Dropped support for Python 2.3.
1453   - ``docutils/math``, ``docutils/error_reporting.py``, and
1454     ``docutils/urischemes.py`` moved to the utils package.
1455   - Fix [3541369] Relative __import__ also with Python 3.3.
1456   - Fix [3559988] and [3560841] __import__ local writer, reader, languages
1457     and parsers for Python 2.7 up.
1458   - Fix import of PIL.Image.
1459   - Change default of `syntax_highlight`_ option to "long",
1460     basic syntax highlight styles for LaTeX and HTML.
1462 * docutils/io.py
1464   - FileInput/FileOutput: no system-exit on IOError.  The `handle_io_errors`
1465     option is ignored and will be removed in a future release.
1466   - Fix Py3k error writing to stdout with encoding differing from default.
1467   - Fix opening binary files under Py3k (thanks to Dominic Fitzpatrick).
1469 * docutils/parsers/rst/directives/misc.py
1471   - Fix [ 3546533 ] Unicode error with "date" directive.
1473 * docutils/transforms/universal.py
1475   - SmartQuotes transform for typographic quotes and dashes.
1477 * docutils/utils/__init__.py
1479   - `normalize_language_tag()` now returns `BCP 47`_ conforming tags
1480     with sub-tags separated by ``-``.
1482 * docutils/writers/html4css1/__init__.py
1484   - Use ``<code>`` tag for inline "code",
1485     do not drop nested inline nodes (syntax highlight tokens).
1486   - Customizable MathJax URL (based on patch by Dmitry Shachnev).
1487   - No line break after opening inline math tag.
1489 * docutils/writers/manpage.py
1491   - Apply [ 3527401 ] admonition's don't preserve indentation
1492   - Apply [ 3527397 ] Add indentation to literal blocks in manpage writer.
1494 * docutils/writers/xetex/__init__.py
1496   - Apply [ 3555160 ] ensure order of "otherlanguages".
1497   - Fix section numbering by LaTeX.
1499 * docutils/writers/s5_html/__init__.py
1501   - Fix [ 3556388 ] MathJax does not work with rst2s5.
1503 * docutils/writers/docutils_xml.py
1505   - Fix [ 3552403 ] Prevent broken PyXML replacing stdlibs xml module.
1506   - Fix/improve output with `indents`_ setting.
1508 * setup.py
1510   - Tag ``math.css`` stylesheet as data file (patch by Dmitry Shachnev).
1512 * tools/test/test_buildhtml.py
1514   - Fix [ 3521167 ] allow running in any directory.
1515   - Fix [ 3521168 ] allow running with Python 3.
1518 Release 0.9.1 (2012-06-17)
1519 ==========================
1521 * setup.py
1523   - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
1524     installed in the PYTHONPATH. Converted tests are now
1525     stored in ``test3/``, tools no longer need conversion.
1527     If you installed one of Docutils versions 0.7 ... 0.9 with
1528     ``setup.py install`` under Python 3, remove the spurious
1529     ``test/`` and ``tools/`` directories in the site library root.
1531 * test/
1533   - Make tests independent from the location of the ``test/`` directory.
1534   - Use converted sources (from the ``build/`` directory) for tests under
1535     Python 3.
1537 * tools/
1539   - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
1541 * docutils/io.py
1543   - Fix writing binary data to sys.stdout under Python 3 (allows
1544     ``rst2odt.py`` to be used with output redirection).
1546 * docutils/parsers/rst/directives/misc.py
1548   - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
1549     ``locale == C`` and 8-bit char in path argument of `include` directive.
1551 * test/alltests.py
1553   - class `Tee`: catch  `UnicodeError` when writing to "ascii" stream or
1554     file under Python 3.
1557 Release 0.9 (2012-05-02)
1558 ========================
1560 * General:
1562   - New reStructuredText "code" role and directive and "code" option
1563     of the "include" directive with syntax highlighting by Pygments_.
1564   - Fix parse_option_marker for option arguments containing ``=``.
1565   - Fix [ 2993756 ]: import Python Imaging Library's Image module
1566     via ``import PIL`` as starting with PIL 1.2,
1567     "PIL lives in the PIL namespace only" (announcement__).
1569 .. _Pygments: https://pygments.org/
1570 __ https://mail.python.org/pipermail/image-sig/2011-January/006650.html
1572 * setup.py
1574   - Fix [ 2971827 ] and [ 3442827 ]
1575     extras/roman.py moved to docutils/utils/roman.py
1577 * docutils/frontend.py
1579   - Fix [ 3481980 ] Use `os.getcwdu()` in `make_paths_absolute()`.
1581 * docutils/io.py
1583   - Fix [ 3395948 ] (Work around encoding problems in Py3k).
1584   - `mode` argument for FileOutput avoids code replication in
1585     BinaryFileOutput.
1586   - New exceptions  `InputError` and  `OutputError` for IO errors in
1587     FileInput/FileOutput.
1589 * docutils/core.py
1591   - No "hard" system exit on file IO errors: catch and report them in
1592     `Publisher.reportException` instead. Allows handling by a calling
1593     application if the configuration setting `traceback`_ is True.
1595 * docutils/utils.py -> docutils/utils/__init__.py
1597   - docutils.utils is now a package (providing a place for sub-modules)
1599   - DependencyList uses io.FileOutput and 'utf-8' encoding to prevent
1600     errors recording non-ASCII filenames (fixes [ 3434355 ]).
1602   - Fix `relative_path()` with source=None and `unicode` target.
1604 * docutils/parsers/rst/states.py
1606   - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
1607     characters and "international" quotes around inline markup.
1608   - Use `field_marker` pattern to look for start of a
1609     directive option block (fixes [ 3484857 ]).
1611 * docutils/parsers/rst/tableparser.py
1613   - Fix [ 2926161 ] for simple tables.
1614     (Combining chars in grid tables still contribute to cell width.)
1616 * docutils/writers/latex2e/__init__.py
1618   - Support the `abbreviation` and `acronym` standard roles.
1619   - Record only files required to generate the LaTeX source as dependencies.
1620   - Fix handling of missing stylesheets.
1621   - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
1622     when suppressing LaTeX section numbering.
1623   - Use ``\DUtitle`` for unsupported section levels.
1624   - Apply [ 3512791 ] do not compare string literals with "is".
1626 * docutils/writers/xetex/__init__.py
1628   - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
1630 * docutils/writers/html4css1/__init__.py
1632   - Change default for `math_output`_ setting to MathJax.
1633   - Fix handling of missing stylesheets.
1635 * docutils/writers/docutils_xml.py
1637   - Use the visitor pattern with `default_visit()`/`default_depart()` methods
1638     instead of minidom to facilitate special handling of selected nodes.
1639   - Support raw XML (inserted as-is inside a <raw></raw> node).
1641 * docutils/writers/manpage.py
1643   - Do not emit comment line with trailing blank. Problematic for VCS.
1646 Release 0.8.1 (2011-08-30)
1647 ==========================
1649 * General:
1651   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
1652     and [ 3395920 ] (correct copyright info for rst.el).
1654 * test/
1656   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
1658 * docutils/writers/latex2e/__init__.py
1660   - Clean up Babel language setting. Restores Sphinx compatibility.
1663 Release 0.8 (2011-07-07)
1664 ========================
1666 * General:
1668   - Handle language codes according to `BCP 47`_.
1669   - If the specified language is not supported by Docutils,
1670     warn and fall back to English.
1671   - Math support: reStructuredText "math" role and directive,
1672     `math` and `math_block` doctree elements.
1673   - Decode command line arguments with the locale's preferred encoding
1674     (to allow, e.g., ``--title=Dornröschen``).
1675   - Orphaned `python` reader and `newlatex2e` writer moved to the sandbox.
1676   - New sub-module `error_reporting`: handle encoding/decoding errors
1677     when reporting exceptions.
1678   - Some additions to the Docutils core are released under the 2-Clause BSD
1679     license, see COPYING_ for details.
1681   .. _BCP 47: https://www.rfc-editor.org/rfc/bcp/bcp47.txt
1682   .. _COPYING: COPYING.html
1684 * reStructuredText:
1686   - Most directives now support a "name" option that attaches a
1687     reference name.
1689   - Directive content may start on the first line also when the directive
1690     type accepts options.
1692 * docs/dev/policies.txt
1694   - Recommend the 2-Clause BSD license
1695     (http://opensource.org/licenses/BSD-2-Clause)
1696     for code that is kept under the author's copyright.
1698 * tools/buildhtml.py
1700   - Fix ``--local`` switch.
1702 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
1704 * docutils/writers/html4css1/__init__.py
1706   - Set "lang" argument for objects with class argument
1707     "language-<language tag>".
1708   - New setting `math_output`_ with support for HTML, MathML, and LaTeX.
1710 * docutils/writers/latex2e/__init__.py
1712   - Fix [ 3043986 ]  `AttributeError` using :local: with table of content.
1713   - Place title data in the document preamble.
1714   - Load `babel` package only if required.
1715   - Update list of supported languages.
1716   - New config setting `hyperref_options`_.
1717     No hard-coded "unicode" hyperref option (clash with xetex).
1718   - Set language for custom roles, paragraphs, block-quotes, and
1719     line-quotes with class argument "language-<language tag>".
1720   - Fix [ 3095603 ] wrong quotes output for Russian and other languages.
1721   - Convert image URI to a local file path.
1722   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
1723     has more than one paragraph (Wolfgang Scherer).
1724   - \leavevmode before longtable only when needed (prevents spurious vspace)
1725   - do not advance table counter for tables without caption
1727 * docutils/writers/xetex/__init__.py
1729   - New writer generating LaTeX code for compiling with ``xelatex``.
1731     A separate writer (inheriting from latex2e) instead of a ``--xetex``
1732     option allows separate config options for XeTeX vs. LaTeX2e.
1734 * docutils/writers/manpage.py
1736   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
1737   - Fix: vertical space cleaning for option group ``.``.
1739 * tools/editors/emacs/rst.el
1741   - Fix [ 3001100 ] does not handle spaces in filenames.
1742     Thanks to Jakub Wilk.
1744 * docutils/utils.py
1746   - strip whitespace from stylesheet arguments
1747   - exclude combining chars from column_width()
1748     (partial fix for [ 2926161 ])
1750 * docutils/parsers/rst/directives/misc.py
1752   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
1753     nested_parse
1755 * docutils/io.py
1757   - Do not ``close()`` `sys.stdin`, `sys.stdout`, or `sys.stderr`. Prevents
1758     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
1761 Release 0.7 (2010-07-07)
1762 ========================
1764 * General:
1766   - Fix [ 2881769 ] setup configuration.
1767   - Fix [ 2788716 ] reporting problems in included files.
1769 * docutils/io.py
1771   - FileInput opens files as text files with universal newline support
1772     (mode "rU", configurable with the new optional argument "mode").
1774 * docutils/nodes.py
1776   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
1778 * docutils/utils.py
1780   - Fix [ 2923723 ] let `decode_path()` tolerate ``path == None``.
1782 * docutils/writers/html4css1/__init__.py
1784   - Support SVG and SWF images (thanks to Stefan Rank).
1785   - Generate valid XHTML for centred images with targets.
1786     Use CSS classes instead of "align" tags for image alignment.
1788 * docutils/writers/latex2e/__init__.py
1790   - Use `transforms.writer_aux.Admonitions` to "normalize" special
1791     admonitions.
1792   - Use the ``\url`` command for URLs (breaks long URLs instead of
1793     writing into the margin).
1794   - Preserve runs of spaces in `inline literals`__.
1795   - Deprecate `figure_footnotes`_ setting.
1796   - Rename `use_latex_footnotes`_ setting to `docutils_footnotes`_.
1797   - New `latex_preamble`_ setting.
1798   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
1799   - Fix hyperlink targets (labels) for images, figures, and tables.
1800   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
1801   - Apply [ 2961991 ] Call hyperref with unicode option.
1802   - Drop the special `output_encoding`_ default ("latin-1").
1803     The Docutils wide default (usually "UTF-8") is used instead.
1804   - Render inline markup in document title and subtitle.
1805   - Fix numbering depth with LaTeX section numbering.
1806   - Update Unicode -> LaTeX translations.
1807   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
1809 __ docs/ref/restructuredtext.html#inline-literals
1811 * docutils/writers/manpage.py
1813   - Fix: supported attribute (thanks to peter2108).
1814   - Remove trailing blanks in code (keep in sync with mercurial version).
1815   - Titles level 1, that is ``.SH``, always uppercase.
1816   - Apply patch from mg: literal text should be bold in man-pages.
1818 * docutils/nodes.py
1820   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
1821     Turkish locale.
1823 * setup.py
1825   - Python 3 support: copy test/ and tools/ to the build-dir
1826     and convert Python sources with 2to3.
1829 Release 0.6 (2009-10-11)
1830 ========================
1832 * General:
1834   - Docutils is now compatible with Python versions from 2.3 up to 2.6
1835     and convertible to 3.1 code.
1837     + Node.__nonzero__ returns True instead of 1.
1838     + use os.walk instead os.path.walk.
1839     + minimize `types` module where possible.
1840     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
1841     + Text nodes now subclass unicode rather than UserString
1842       (which is gone in python 3.0).
1843     + 3.0 compatibility module docutils._compat
1845     + Drop 2.2 compatibility workarounds.
1846     + Drop extras/optparse.py and extras/textwrap.py
1847       (stdlib modules since 2.3).
1849   - OpenOffice export: ODT writer moved from sandbox to Docutils core.
1850   - Unix man page export: manpage writer moved from sandbox to Docutils
1851     core.
1853   - Apply [ 1719345 ] Galician translation
1854   - Apply [ 1905741 ] Polish translation
1855   - Apply [ 1878977 ] make_id(): deaccent characters.
1856   - Apply [ 2029251 ] return nonzero when tests fail.
1857   - Fix [ 1692788 ] allow UTF-8 in style sheets.
1858   - Fix [ 2781629 ] support non-ASCII chars in file names.
1859   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
1860   - Fix [ 2831643 ] renaming `DirectiveError.message` to `DirectiveError.msg`
1861   - Fix [ 2821266 ] ``--strict`` option works now like ``--halt=info``.
1862   - Fix [ 2788716 ]  `DirectiveError` now correctly reports source and line.
1863   - Fix [ 1627229 ] hyperlink references in substitutions.
1865   - The `newlatex` writer is orphaned.
1867 * reStructuredText:
1869   - Documented Unicode characters allowed as inline markup openers,
1870     closers, and delimiters.
1871   - Allow units for all length specifications.
1872   - Allow percent sign in "scale" argument of "figure" and "image" directives.
1873   - Bugfix: The "figalign" argument of a figure now works as intended
1874     (aligning the figure, not its contents).
1875   - Align images with class "align-[right|center|left]"
1876     (allows setting the alignment of an image in a figure).
1878 * docutils/nodes.py:
1880   - Added `Element.__contains_()` method, for the in-operator.
1882 * docutils/parsers/rst/states.py:
1884   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
1885   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
1886     " " (non-breaking space), and "¡ ¿" openers.
1888 * docutils/parsers/directives/misc.py:
1890   - Added ``start-line`` and ``end-line`` options to "include"
1891     directive to select a range of lines.
1892   - Hard tabs in literal inclusions are replaced by spaces. This is
1893     configurable via the new ``tab-width`` option of the "include" directive
1894     (a negative tab-width prevents tab expansion).
1896 * docutils/utils.py:
1898   - Add `get_stylesheet_lis()` function.
1899   - Apply [ 2834836 ] print info at halt
1901 * docutils/transforms/universal.py:
1903   - Raise default priority of StripClasses to exclude stripped classes from
1904     the ToC.
1906 * docutils/writers/html4css1/__init__.py:
1908   - `stylesheet`_ and `stylesheet_path`_ settings support a comma
1909     separated list of stylesheets.
1910   - Address [ 1938891 ] Inline literal text creates "pre" span only when
1911     needed to prevent inter-word line wraps.
1912   - Use `translate()` method instead of repeated `replace()` calls.
1913   - Fix [ 1757105 ] New `table_style`_ setting. Added to standard table
1914     classes to allow CSS styling that does not interfere with other
1915     table-using constructs (field lists, citations, ...).
1917 * docutils/writers/newlatex2e/__init__.py:
1919   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
1921 * docutils/writers/latex2e/__init__.py:
1923   - Add `embed_stylesheet`_ setting.
1924   - Apply [ 1474017 ] image vertical alignment is reversed.
1925   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
1926   - Change: has_key for dictionaries (not Nodes) to in-operator.
1927   - Merge adjacent citations into one latex cite command.
1928   - Failsafe implementation of custom roles. LaTeX compilation now ignores
1929     unknown classes instead of aborting with an error.
1930   - Support custom roles based on standard roles.
1931   - LaTeX packages can be used as `stylesheet`_ arguments without
1932     restriction. (A style sheet is now referenced with the ``\usepackage``
1933     command, if it ends with ``.sty`` or has no extension.)
1934   - Add ``bp`` to lengths without unit (prevents LaTeX errors).
1935   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
1936   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
1937     2005-02-04 as a configurable length unit).
1938   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
1939     if font-encoding is set to ''. LaTeX defaults to OT1 then.
1940   - Set sub- and superscript role argument in text mode not as math.
1941     Use a custom role based on sub-/superscript if you want italic shape.
1942   - Shorter preamble and less dependencies: Load packages and define macros
1943     only if required in the document.
1944   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
1945   - New custom environments and commands with optional "classes" argument.
1946   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
1947   - Better conformance to Docutils specifications with `use_latex_toc`_.
1948     Support for LaTeX generated ToC also with unnumbered sections.
1949   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
1950     section numbering by LaTeX.
1951   - Use default font in admonitions and sidebar.
1952   - Align of image in a figure defaults to 'center'.
1953   - Bugfix: Newlines around targets and references prevent run-together
1954     paragraphs.
1955   - Fix internal hyperlinks.
1956   - Use class defaults for page margins ('typearea' now optional).
1957   - Float placement made configurable, default changed to "here definitely".
1958   - Typeset generic topic as "quote block with title".
1959   - Use template (file and configuration option).
1960   - In the default template, load cmap.sty (fix text extraction in PDF) and
1961     fixltx2e.sty (LaTeX patches, \textsubscript).
1962   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
1963   - Use `translate()` instead of repeated `replace()` calls for text encoding.
1964   - Hyperlinked footnotes and support for symbol footnotes and
1965     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
1966   - Complete pairs of binary options
1967     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
1968     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
1969   - New defaults:
1970     - font-encoding: "T1" (formerly implicitly set by 'ae').
1971     - use-latex-toc: true (ToC with page numbers).
1972     - use-latex-footnotes: true (no mixup with figures).
1974 * docutils/writers/manpage.py
1976   - Do not print version at document end, this is done by the viewer.
1977   - Do not print date at document end, this is done by the viewer.
1978   - Fix storage of docinfo fields for none standard fields.
1980 * docutils/tools/rst2man.py
1983 Release 0.5 (2008-06-25)
1984 ========================
1986 * docutils/languages/he.py: Added to project: Hebrew mappings by
1987   Meir Kriheli.
1989 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
1990   mappings by Meir Kriheli.
1992 * docutils/frontend.py:
1994   - Configuration files are now assumed and required to be
1995     UTF-8-encoded.
1996   - Paths of applied configuration files are now recorded in the
1997     runtime setting `_config_files`_ (accessible via `dump_settings`_).
1998   - Added `strip_elements_with_classes`_ and `strip_classes`_ settings.
2000 * docutils/io.py:
2002   - Added code to determine the input encoding from data: encoding
2003     declarations or the presence of byte order marks (UTF-8 & UTF-16).
2004   - Added support for IronPython 1.0.
2006 * docutils/nodes.py:
2008   - Added `document.__getstate_()` method, for pickling.
2010 * docutils/parsers/rst/states.py:
2012   - Allow ``+`` and ``:`` in reference names.
2013   - Unquoted targets beginning with an underscore (``.. __target:
2014     URI``) are no longer accepted.
2015   - Added support for multiple attributions in a physical block quote
2016     (indented text block), dividing it into multiple logical block
2017     quotes.
2018   - Added support for unicode bullets in bullet lists: "•", "‣", and
2019     "⁃".
2020   - Added support for new object-oriented directive interface,
2021     retaining compatibility to the old functional interface.
2022   - Added support for throwing `DirectiveError`'s from within
2023     directive code.
2025 * docutils/parsers/rst/__init__.py:
2027   - Added `Directive` base class.
2028   - Added `DirectiveError` base class.
2029   - Fixed `file_insertion_enabled`_ & `raw_enabled`_ setting
2030     definitions.
2032 * docutils/parsers/directives/:
2034   - Refactored all reStructuredText directives to use the new
2035     object-oriented directive interface.  Errors are now (mostly)
2036     thrown using the new `DirectiveError` class.
2038 * docutils/parsers/directives/misc.py:
2040   - Added ``start-after`` and ``end-before`` options to ``include``
2041     directive; thanks to Stefan Rank.
2043 * docutils/transforms/universal.py:
2045   - Added `StripClassesAndElements` transform to remove from the
2046     document tree all elements with classes in
2047     `strip_elements_with_classes`_ and all "classes"
2048     attribute values in `strip_classes`_
2050 * docutils/transforms/writer_aux.py:
2052   - Added `Admonitions` transform to transform specific admonitions
2053     (like "note", "warning", etc.) into generic admonitions with a
2054     localized title.
2056 * docutils/writers/html4css1/__init__.py:
2058   - Moved template functionality from the PEP/HTML writer here.
2059   - Expanded the fragments available in the ``parts`` attribute.
2060   - Moved ``id`` attributes from titles to surrounding ``div``
2061     elements.
2062   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
2063     universally supported now).
2064   - ``template.txt`` is now opened in text mode instead of binary mode
2065     (to ensure Windows compatibility).
2066   - ``a`` elements now have an "internal" or "external" class,
2067     depending on reference type.
2069 * docutils/writers/html4css1/template.txt: Added to project.
2071 * docutils/writers/pep_html/:
2073   - Moved template functionality to the HTML writer.
2075 * docutils/writers/s5_html/__init__.py:
2077   - Added `view_mode`_ & `hidden_controls`_ settings.
2079 * docutils/writers/latex2e/__init__.py:
2081   - Add `literal_block_env`_.
2082   - Fix: escaping ``%`` in href urls.
2083   - Move usepackage hyperref after stylesheet inclusion.
2084   - Fix: scrartcl does not have chapter but scrreprt.
2085   - Add newline after ``\end{verbatim}``.
2086   - Merge smaller differences from latex2e_adaptive_preamble.
2087   - Add ``use-part-section``.
2088   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
2089   - Using leavemode option_list no longer needs to check if parent
2090     is a definition list.
2091   - Append ``\leavemode`` to definition list terms.
2092   - No longer write visit\_/depart_definition_list_item comments to
2093     output.
2094   - Table column width with 3 decimal places.
2095   - Add table stubs support (boldfont).
2096   - Add assemble_parts to writer.
2097   - Add simply support for nested tables.
2098   - Fix verbatim in tables if use-verbatim-when-possible.
2099   - Use section commands down to subparagraph.
2100   - Put ensuremath around some latin1 chars.
2101   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
2102   - New experimental setting `use_bibtex`_.
2103   - New setting `reference_label`_ to allow usage of LaTeX ref for
2104     labels in section references.
2105   - Add a label after every section to support sectionnumbers as reference
2106     labels.
2107   - Fix: bug# 1605376 rst2latex: bad options group list
2108   - Remove inactive code for use_optionlist_for_option_list.
2109   - Remove latex comments from option_list output.
2110   - Fix: bug# 1612270 double quotes in italian literal.
2111   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
2112   - Add setting `use_latex_abstract`_.
2113   - Image width unit ``px`` is translated to ``pt``.
2114   - Add image height support.
2115   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
2116     bug #1457388
2117   - Fix: Do not escape underscores in citation reference labels if
2118     use-latex-citations is set.
2119   - Use centering instead of center for figure contents, to avoid vertical
2120     space.
2121   - Recognize table class: borderless, nolines, booktabs, standard.
2122   - Fix: Renaming contents section does not work with latex writer; SF
2123     bug #1487405.
2124   - Applied patch for custom roles with classes from Edward Loper.
2125   - Fixed bug that caused crashes with more than 256 lists.
2127 * docutils/writers/pep_html/__init__.py:
2129   - Changed to support new python.org website structure and
2130     pep2pyramid.py.
2132 * docs/howto/security.txt: "Deploying Docutils Securely", added to
2133   project.
2135 * tools/buildhtml.py:
2137   - Add `ignore`_ setting to exclude a list of shell patterns
2138     (default: ``.svn:CVS``).
2140 * tools/editors/emacs/rst.el:
2142   - Changed license to "GPL".
2143   - Added ``rst-straighten-decorations`` function.
2144   - The ``compile`` module is now always loaded.
2145   - Added ``rst-toggle-line-block`` function.
2146   - Headings consisting only of non-ASCII characters are now
2147     recognized by ``rst-toc`` and ``rst-adjust``.
2148   - Added font-lock support for multi-line comments where the first
2149     comment line is empty.
2150   - Added ``(require 'font-lock)``.
2152 * setup.py:
2154   - Provide descriptive error message if distutils is missing.
2157 Release 0.4 (2006-01-09)
2158 ========================
2160 * General:
2162   - Updated the project policies for trunk/branch development &
2163     version numbering.
2165 * docutils/__init__.py:
2167   - Added ``__version_details__`` attribute to describe code source
2168     (repository/snapshot/release).
2169   - Replaced ``default_transforms`` attribute of ``TransformSpec`` with
2170     ``get_transforms()`` method.
2172 * docutils/core.py:
2174   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
2175     functions, for document tree extraction and reprocessing.
2177 * docutils/io.py:
2179   - Added ``DocTreeInput`` class, for reprocessing existing documents.
2180   - Added support for non-Unicode (e.g. binary) writer output.
2182 * docutils/nodes.py:
2184   - Re-introduced ``Targetable.indirect_reference_name``, for
2185     MoinMoin/reST compatibility (removed in r3124/r3129).
2186   - Added ``serial_escape`` function; escapes string values that are
2187     elements of a list, for serialization.  Modified Docutils-XML
2188     writing (``Element._dom_node``) and pseudo-XML writing
2189     (``Element.starttag``) to use ``serial_escape``.
2190   - Added ``Node.deepcopy()`` method.
2191   - Removed the internal lists ``document.substitution_refs``,
2192     ``document.anonymous_refs``, and ``document.anonymous_targets``.
2193   - Added a "container" element.
2194   - Fixed bug where values of list-valued attributes of elements
2195     originating from custom interpreted text roles (i.e., with custom
2196     classes) were being shared between element instances.  Reported by
2197     Shmuel Zeigerman.
2199 * docutils/statemachine.py:
2201   - Added trailing whitespace stripping to ``string2lines()``.
2202   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
2203     Asian double-width character support.
2205 * docutils/utils.py:
2207   - Added ``east_asian_column_width()`` for double-width character
2208     support.
2210 * docutils/languages/ja.py: Added to project: Japanese mappings by
2211   Hisashi Morita.
2213 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
2214   mappings by Panjunyong.
2216 * docutils/parsers/null.py: Added to project; a do-nothing parser.
2218 * docutils/parsers/rst/__init__.py:
2220   - Added validator to "tab_width" setting, with test.  Closes SF bug
2221     #1212515, report from Wu Wei.
2223 * docutils/parsers/rst/states.py:
2225   - Fixed bug with escaped colons indicating a literal block.
2226   - Fixed bug with enumerated lists (SF#1254145).
2227   - Backslash-escaped colons inside of field names are now allowed.
2228   - Targets (implicit and explicit), anonymous hyperlink references
2229     and auto-numbered footnote references inside of substitution
2230     definitions are now disallowed.
2231   - Fixed bug: list items with blank first lines.
2232   - Fixed bug: block quote attributions with indented second lines.
2233   - Added East Asian double-width character support (Python 2.4 only).
2235 * docutils/parsers/rst/tableparser.py:
2237   - Added East Asian double-width character support (Python 2.4 only).
2239 * docutils/parsers/rst/directives/body.py:
2241   - Added the "container" directive.
2243 * docutils/parsers/rst/directives/misc.py:
2245   - Added the "default-role", "title", and "date" directives.
2246   - Added standard data file syntax to the "include" directive.
2247   - Added support for "class" directive content.
2249 * docutils/parsers/rst/directives/images.py:
2251   - Added ``indirect_reference_name`` support for images with a target
2252     option.
2253   - Added support for image width and height units.
2254   - Fixed bug with image "target" options.
2256 * docutils/parsers/rst/directives/references.py:
2258   - Added "class" attribute to "target-notes" directive, for
2259     footnote_reference classes.
2261 * docutils/parsers/rst/include/: Directory added to project; contains
2262   standard data files for the "include" directive.  Initial contents:
2263   character entity substitution definition sets, and a set of
2264   definitions for S5/HTML presentations.
2266 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
2267   mappings by David Goodger.
2269 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
2270   Simplified Chinese mappings by Panjunyong.
2272 * docutils/readers/__init__.py:
2274   - Added universal.Decorations and universal.ExposeInternals
2275     transforms as default transforms for all readers.
2276   - Added ``ReReader`` base class for readers that reread an existing
2277     document tree.
2279 * docutils/readers/doctree.py: Added to project; a reader for existing
2280   document trees.
2282 * docutils/transforms/frontmatter.py:
2284   - Fixed the DocInfo transform to handle SVN-style expansion of the
2285     "Date" keyword.
2286   - In ``DocInfo.extract_authors``, treat the contents of "authors"
2287     fields uniformly.
2289 * docutils/transforms/misc.py:
2291   - Added misc.Transitions transform, extracted from
2292     universal.FinalChecks.
2294 * docutils/transforms/references.py:
2296   - Added references.DanglingReferences transform, extracted from
2297     universal.FinalChecks.
2298   - Fixed bug with doubly-indirect substitutions.
2299   - Added footnote_reference classes attribute to "TargetNotes".
2300   - Fixed bug with circular substitution definitions that put Docutils
2301     into an infinite loop.
2303 * docutils/transforms/universal.py:
2305   - Added universal.ExposeInternals transform, extracted from
2306     universal.FinalChecks.
2307   - Removed universal.FinalChecks transform (logic has been moved to
2308     several new transforms).
2309   - Fixed bug with the "expose_internals" setting and Text nodes
2310     (exposed by the "rawsource" internal attribute).
2311   - Added the universal.StripComments transform, implementation of the
2312     "strip_comments" setting.
2314 * docutils/transforms/writer_aux.py: Added to project; auxiliary
2315   transforms for writers.
2317   - Added ``Compound`` transform, which flattens compound paragraphs.
2319 * docutils/writers/: Several writer modules (html4css1.py) were
2320   converted into packages.  Support modules and data files have been
2321   moved into the packages.  The stylesheets for the HTML writers are
2322   now installed along with the code, the code knows where to find
2323   them, and the default is to use them (actually, to embed them).
2324   Some adjustments to configuration files may be necessary.  The
2325   easiest way to obtain the new default behavior is to remove all
2326   settings whose name includes "stylesheet".
2328 * docutils/writers/__init__.py:
2330   - Added universal.Messages and universal.FilterMessages transforms
2331     as default transforms for all writers.
2332   - Added ``UnfilteredWriter`` base class for writers that pass the
2333     document tree on unchanged.
2335 * docutils/writers/docutils_xml.py:
2337   - Made ``xmlcharrefreplace`` the default output encoding error
2338     handler.
2340 * docutils/writers/html4css1/:
2342   - Added support for image width and height units.
2343   - Made ``xmlcharrefreplace`` the default output encoding error
2344     handler.
2345   - Made ``--embed-stylesheet`` the default rather than
2346     ``--link-stylesheet``.
2347   - Moved "id" attribute from container (section etc.) to title's <a>
2348     tag, to be on the same tag as "name".
2349     (!!! To be reverted in Docutils 0.5.)
2350   - Added vertical space between fields of field lists.
2351   - Added ``--compact-field-lists`` option to remove vertical space in
2352     simple field lists.
2353   - Made cloaking of email addresses with ``--cloak-email-addresses``
2354     less obtrusive.
2355   - Fixed support for centered images.
2356   - Added support for class="compact" & class="open" lists.
2358 * docutils/writers/latex2e/:
2360   - Underscores in citekeys are no longer escaped.
2362 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
2363   mapping of Unicode characters to LaTeX equivalents.
2365 * docutils/writers/s5_html/: Package added to project; writer for
2366   S5/HTML slide shows.
2368 * docs/dev/distributing.txt: Added to project; guide for distributors
2369   (package maintainers).
2371 * docs/dev/hacking.txt: Added to project; guide for developers.
2373 * docs/ref/doctree.txt:
2375   - Updated for plural attributes "classes", "ids", "names",
2376     "dupnames".
2377   - Added the "container" element.
2379 * docs/ref/docutils.dtd:
2381   - Updated for plural attributes "classes", "ids", "names",
2382     "dupnames".
2384 * docs/user/emacs.txt: Added to project; a document about Emacs
2385   support for reStructuredText and Docutils.
2387 * docs/user/links.txt: Added to project; lists of Docutils-related
2388   links.
2390 * docs/user/mailing-lists.txt: Added to project; information about
2391   Docutils-related mailing lists and how to access them.
2393 * docs/user/slide-shows.txt: Added to project; example of and docs for
2394   the S5/HTML writer (``rst2s5.py`` front end).
2396 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
2397   Files", added to project.
2399 * test/coverage.sh: Added to project; test coverage script.
2401 * test/DocutilsTestSupport.py:
2403   - Added support for specifying runtime settings at the suite level.
2405 * test/test_functional.py:
2407   - Added the ``clear_output_directory`` function.
2408   - Added support for ``_test_more`` functions in functional test
2409     config files.
2411 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
2413 * tools/rstpep2html.py: Renamed from pep.py.
2415 * tools/dev/create_unimap.py: Added to project; script to create the
2416   docutils/writers/unimap_latex.py mapping file.
2418 * tools/dev/profile_docutils.py: Added to project; profiler script.
2420 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
2422 * tools/editors/emacs/restructuredtext.el,
2423   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
2424   Removed from project; the functionality is now contained in rst.el.
2426 * tools/editors/emacs/rst.el: Added to project.  Added many features
2427   and fixed many bugs.  See docs/user/emacs.txt for details.
2429 * tools/stylesheets: Removed from project.  Stylesheets have been
2430   renamed and moved into writer packages.
2433 Release 0.3.9 (2005-05-26)
2434 ==========================
2436 * General:
2438   - Eliminated and replaced all uses of the old string attributes
2439     ``id``, ``name``, ``dupname`` and ``class`` with references to the
2440     new list attributes ``ids``, ``names``, ``dupnames`` and
2441     ``classes`` throughout the whole source tree.
2443 * docutils/core.py:
2445   - Enabled ``--dump-*`` options when ``--traceback`` specified,
2446     allowing for easier debugging.
2447   - In ``Publisher.publish()``, expanded the generic top-level
2448     exception catching.
2450 * docutils/examples.py:
2452   - Added ``internals`` function for exploration.
2454 * docutils/io.py:
2456   - Fixed ``Input.decode`` method to apply heuristics only if no
2457     encoding is explicitly given, and to provide better reporting of
2458     decoding errors.
2459   - The ``Input.decode`` method now removes byte order marks (BOMs)
2460     from input streams.
2462 * docutils/nodes.py:
2464   - ``image`` element class changed to subclass of Element, not
2465     TextElement (it's an empty element, and cannot contain text).
2466   - Added ``attr_defaults`` dictionary for default attribute values.
2467   - Added empty list as default value for the following attributes:
2468     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
2469   - Added ``document.decoration`` attribute,
2470     ``document.get_decoration`` method, and ``decoration.get_header``
2471     & ``.get_footer`` methods.
2472   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
2473     methods.
2475 * docutils/utils.py:
2477   - Removed ``docutils.utils.Reporter.categories``,
2478     ``docutils.utils.ConditionSet``, and all references to them, to
2479     simplify error reporting.
2481 * docutils/languages/nl.py: Added to project; Dutch mappings by
2482   Martijn Pieters.
2484 * docutils/parsers/rst/__init__.py:
2486   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
2488 * docutils/parsers/rst/states.py:
2490   - Added check for escaped at-mark to prevent email address recognition.
2491   - Fixed option lists to allow spaces inside ``<angle-bracketed option
2492     arguments>``.
2493   - Allowed whitespace in paths and URLs.
2494   - Added auto-enumerated list items.
2495   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
2496     followed by text.
2497   - Added support for table stub columns.
2499 * docutils/parsers/rst/directives/__init__.py:
2501   - Allowed whitespace in paths (``path`` function).
2502   - Added ``uri`` directive option conversion function.
2504 * docutils/parsers/rst/directives/body.py:
2506   - Fixed illegal context bug with "topic" directive (allowed within
2507     sidebars; not within body elements).
2509 * docutils/parsers/rst/directives/images.py:
2511   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
2512   - Added support for the ``file_insertion_enabled`` setting in the
2513     "figure" directive (disables "figwidth" option).
2514   - "image" directive: added checks for valid values of "align" option,
2515     depending on context.  "figure" directive: added specialized
2516     "align" option and attribute on "figure" element.
2517   - Made ":figwidth: image" option of "figure" directive work again.
2518   - Fixed bug with reference names containing uppercase letters
2519     (e.g. ``Name_``) in "target" option of "image" directive.
2521 * docutils/parsers/rst/directives/misc.py:
2523   - Fixed "include" and "raw" directives to catch text decoding
2524     errors.
2525   - Allowed whitespace in "include" & "raw" directive paths.
2526   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
2527     settings in "include" & "raw" directives.
2529 * docutils/parsers/rst/directives/parts.py:
2531   - Added "header" & "footer" directives.
2532   - Fixed illegal context bug with "contents" directive (topics
2533     allowed within sidebars; not within body elements).
2535 * docutils/parsers/rst/directives/tables.py:
2537   - Added "list-table" directive.
2538   - Caught empty CSV table bug.
2539   - Added support for the ``file_insertion_enabled`` setting in the
2540     "csv-table" directive.
2541   - Added ``stub-columns`` option to "csv-table" and "list-table"
2542     directives.
2544 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
2545   mappings by Martijn Pieters.
2547 * docutils/readers/standalone.py:
2549   - Added ``section_subtitles`` setting to activate or deactivate the
2550     ``SectSubTitle`` transform.
2552 * docutils/transforms/frontmatter.py:
2554   - Added SectSubTitle transform to promote titles of lone
2555     subsections to subtitles.
2557 * docutils/transforms/references.py:
2559   - Fixed mislocated internal targets bug, by propagating internal
2560     targets to the next node, making use of the newly added support
2561     for multiple names and IDs.
2562   - Fixed duplicate footnote label bug.
2563   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
2564     transform.
2566 * docutils/writers/html4css1.py:
2568   - Fixed unencoded stylesheet reference bug (characters like "&" in
2569     stylesheet references).
2570   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
2571     tags).
2572   - Added support for multiple IDs per node by creating empty ``span``
2573     tags.
2574   - Added the ``field_name_limit`` & ``option_limit`` settings &
2575     support.
2576   - Added support for table stub columns.
2577   - Added support for the ``align`` attribute on ``figure`` elements.
2578   - Added the ``cloak_email_addresses`` setting & support.
2579   - Added ``html_prolog``, ``html_head``, ``html_body``,
2580     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
2581     ``docutils.core.publish_parts``.
2582   - Added support for section subtitles.
2584 * docutils/writers/latex2e.py:
2586   - Fixed tables starting with more than one multirow cell.
2587   - Improved ``--use-latex-docinfo`` so that organization/contact/address
2588     fields are lumped with the last author field and appear on the
2589     titlepage.
2590   - Made sure the titlepage is always shown with ``--use-latex-docinfo``,
2591     even if the document has no title.
2592   - Made sure that latex doesn't fill in today's date if no date field
2593     was given.
2594   - Added support for section subtitles.
2596 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
2597   (under development).
2599 * docutils/writers/null.py: Added to project; a do-nothing Writer.
2601 * docs/api/publisher.txt:
2603   - Added "``publish_parts`` Details" section.
2605 * docutils/dev/repository.txt: Added to project; information about the
2606   Docutils Subversion repository.
2608 * docs/ref/docutils.dtd:
2610   - Added a ``stub`` attribute to the ``colspec`` element via the
2611     ``tbl.colspec.att`` parameter entity.
2612   - Allowed topic elements within sidebars
2613   - Added an ``align`` attribute to the ``figure`` element.
2615 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
2616   writer.
2619 Release 0.3.7 (2004-12-24)
2620 ==========================
2622 * docutils/frontend.py:
2624   - Added options: ``--input-encoding-error-handler``,
2625     ``--record-dependencies``, ``--leave-footnote-reference-space``,
2626     ``--strict-visitor``.
2627   - Added command-line and config file support for "overrides" setting
2628     parameter.
2630 * docutils/io.py:
2632   - Added support for input encoding error handler.
2634 * docutils/nodes.py:
2636   - Added dispatch_visit and dispatch_departure methods to
2637     NodeVisitor; useful as a hook for Visitors.
2638   - Changed structure of ``line_block``; added ``line``.
2639   - Added ``compound`` node class.
2640   - Added a mechanism for Visitors to transitionally ignore new node
2641     classes.
2643 * docutils/utils.py:
2645   - Moved ``escape2null`` and ``unescape`` functions from
2646     docutils/parsers/rst/states.py.
2648 * docutils/parsers/rst/roles.py:
2650   - Added "raw" role.
2651   - Changed role function API: the "text" parameter now takes
2652     null-escaped interpreted text content.
2654 * docutils/parsers/rst/states.py:
2656   - Fixed bug where a "role" directive in a nested parse would crash
2657     the parser; the state machine's "language" attribute was not being
2658     copied over.
2659   - Added support for line block syntax.
2660   - Fixed directive parsing bug: argument-less directives didn't
2661     notice that arguments were present.
2662   - Removed error checking for transitions.
2663   - Added support for multiple classifiers in definition list items.
2664   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
2665   - Changed role function API: the "text" parameter now takes
2666     null-escaped interpreted text content.
2667   - Empty sections and documents are allowed now.
2669 * docutils/parsers/rst/directives/__init__.py:
2671   - Added ``encoding`` directive option conversion function.
2672   - Allow multiple class names in class_option conversion function.
2674 * docutils/parsers/rst/directives/body.py:
2676   - Converted the line-block directive to use the new structure.
2677   - Extracted the old line-block functionality to the ``block``
2678     function (still used).
2679   - Added ``compound`` directive (thanks to Lea Wiemann).
2681 * docutils/parsers/rst/directives/misc.py:
2683   - Added "encoding" option to "include" and "raw" directives.
2684   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
2685   - Allow multiple class names in the "class" directive.
2687 * docutils/parsers/rst/directives/parts.py:
2689   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
2690     options.  Thanks to Lele Gaifax.
2692 * docutils/parsers/rst/directives/tables.py:
2694   - Added "encoding" directive to "csv-table" directive.
2695   - Added workaround for lack of Unicode support in csv.py, for
2696     non-ASCII CSV input.
2698 * docutils/transforms/misc.py:
2700   - Fixed bug when multiple "class" directives are applied to a single
2701     element.
2702   - Enabled multiple format names for "raw" directive.
2704 * docutils/transforms/references.py:
2706   - Added support for trimming whitespace from beside substitution
2707     references.
2709 * docutils/transforms/universal.py:
2711   - FinalChecks now checks for illegal transitions and moves
2712     transitions between sections.
2714 * docutils/writers/html4css1.py:
2716   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
2717   - "stylesheet" and "stylesheet_path" settings are now mutually
2718     exclusive.
2719   - Added support for the new line_block/line structure.
2720   - ``--footnote-references`` now overrides
2721     ``--trim-footnote-reference-space``, if applicable.
2722   - Added support for ``compound`` elements.
2723   - Enabled multiple format names for "raw" directive.
2724   - ``<p>`` tags of a paragraph which is the only visible child of the
2725     document node are no longer stripped.
2726   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
2727     new method ``should_be_compact_paragraph()``.
2728   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
2729     elements.
2730   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
2731     the output if they have their ``class`` attribute set.
2732   - The whole document is now surrounded by a ``<div
2733     class="document">`` element.
2734   - Body-level images are now wrapped by their own ``<div>`` elements,
2735     with image classes copied to the wrapper, and for images which
2736     have the ``:align:`` option set, the surrounding ``<div>`` now
2737     receives a class attribute (like ``class="align-left"``).
2739 * docutils/writers/latex2e.py:
2741   - no newline after depart_term.
2742   - Added translations for some Unicode quotes.
2743   - Added option "font-encoding", made package AE the default.
2744   - `stylesheet`_ and `stylesheet_path`_ settings are now mutually
2745     exclusive.
2746   - ``--footnote-references`` now overrides
2747     ``--trim-footnote-reference-space``, if applicable.
2748   - The footnote label style now matches the footnote reference style
2749     ("brackets" or "superscript").
2750   - Added support for ``compound`` elements.
2751   - Enabled multiple format names for "raw" directive.
2753 * docs/ref/docutils.dtd:
2755   - Changed structure of the ``line_block`` element; added ``line``.
2756   - Added ``compound`` element.
2757   - Added "ltrim" and "rtrim" attributes to
2758     ``substitution_definition`` element.
2759   - Enabled multiple format names for ``raw`` element.
2760   - Enabled multiple classifiers in ``definition_list_item`` elements.
2762 * docs/ref/rst/directives.txt
2764   - Marked "line-block" as deprecated.
2765   - "Class" directive now allows multiple class names.
2766   - Added "Rationale for Class Attribute Value Conversion".
2767   - Added warning about "raw" overuse/abuse.
2769 * docs/ref/rst/restructuredtext.txt:
2771   - Added syntax for line blocks.
2772   - Definition list items may have multiple classifiers.
2774 * docs/ref/rst/roles.txt:
2776   - Added "raw" role.
2778 * tools/stylesheets/default.css:
2780   - Added support for the new line_block structure.
2781   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
2784 Release 0.3.5 (2004-07-29)
2785 ==========================
2787 General:
2789 * _`Documentation cleanup/reorganization`.
2791   - Created new subdirectories of docs/:
2793     * ``docs/user/``: introductory/tutorial material for end-users
2794     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
2795     * ``docs/api/``: API reference material for client-developers
2796     * ``docs/ref/``: reference material for all groups
2797     * ``docs/howto/``: for component-developers and core-developers
2798     * ``docs/peps/``: Python Enhancement Proposals
2800   - Moved ``docs/*`` to ``docs/user/``.
2801   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
2802     ``spec/`` to ``docs/dev``.
2803   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
2804     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
2805   - Moved ``alternatives.txt``, and ``problems.txt`` from
2806     ``spec/rst/`` to ``docs/dev/rst/``.
2807   - Moved ``reStructuredText.txt``, ``directives.txt``,
2808     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
2809     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
2810     ``roles.txt``, ``reStructuredText.txt`` to
2811     ``restructuredtext.txt``.
2812   - Moved ``spec/howto/`` to ``docs/howto``.
2814   In order to keep the CVS history of moved files, we supplied
2815   SourceForge with a script for modifying the Docutils CVS repository.
2817   After running the cleanup script:
2819   - Added ``docs/index.txt``.
2820   - Added a ``.htaccess`` file to the ``web`` module, containing
2821     redirects for all old paths to new paths.  They'll preserve
2822     fragments (the "#name" part of a URL), and won't clutter up the
2823     file system, and will correct the URL in the user's browser.
2824   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
2825     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
2826     the "To Do" list itself in ``docs/dev/todo.txt``.
2827   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
2828     section of ``docs/dev/todo.txt``.
2829   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
2830   - Added "How To Report Bugs" to ``BUGS.txt``.
2831   - Went through all the sources and docs (including under web/) and
2832     updated links.  Mostly done by Lea Wiemann; thanks Lea!
2833     (Still need to update links in the sandboxes.)
2835 Specific:
2837 * BUGS.txt: Added to project.
2839 * THANKS.txt: Added to project.
2841 * docutils/__init__.py:
2843   - 0.3.4: Post-release.
2845 * docutils/core.py:
2847   - Added special error handling & advice for UnicodeEncodeError.
2848   - Refactored Publisher.publish (simplified exception handling &
2849     extracted debug dumps).
2850   - Renamed "enable_exit" parameter of convenience functions to
2851     "enable_exit_status".
2852   - Enabled traceback (exception propagation) by default in
2853     programmatic convenience functions.
2854   - Now publish_file and publish_cmdline convenience functions return
2855     the encoded string results in addition to their regular I/O.
2856   - Extracted common code from publish_file, publish_string, and
2857     publish_parts, into new publish_programmatically.  Extracted
2858     settings code to ``Publisher.process_programmatic_settings``.
2859   - In Publisher.publish, disabled ``settings_overrides`` when
2860     ``settings`` is supplied; redundant.
2862 * docutils/frontend.py:
2864   - Added help text for ``--output-encoding-error-handler`` and
2865     ``--error-encoding-error-handler``.
2866   - Renamed ``--exit`` to ``--exit-status``.
2867   - Simplified default-setting code.
2869 * docutils/parsers/rst/__init__.py:
2871   - Added ``--pep-base-url`` and ``--rfc-base-url`` options.
2873 * docutils/parsers/rst/states.py:
2875   - Made URI recognition more aggressive and intelligent.
2877 * docutils/parsers/rst/directives/__init__.py:
2879   - Added several directive option conversion functions.
2881 * docutils/parsers/rst/directives/body.py:
2883   - Moved "table" directive to tables.py.
2885 * docutils/parsers/rst/directives/tables.py: Table-related directives,
2886   added to project.
2888 * docutils/writers/latex2e.py:
2890   - Added ``--table-style=(standard|booktabs|nolines)``
2891   - figures get "here" option (LaTeX per default puts them at bottom),
2892     and figure content is centered.
2893   - Rowspan support for tables.
2894   - Fix: admonition titles before first section.
2895   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
2896   - Replave ``_`` in literal by an underlined blank, because it has the correct
2897     width.
2898   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
2899   - A few unicode replacements, if output_encoding != utf
2900   - Add `graphicx_option`_ setting.
2901   - Indent literal-blocks.
2902   - Fix: omit ``\maketitle`` when there is no document title.
2904 * docs/index.txt: "Docutils Project Documentation Overview", added to
2905   project.
2907 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
2908   Tool", added to project.
2910 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
2912 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
2914 * docs/dev/policies.txt: Added to project (extracted from
2915   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
2917 * docs/dev/release.txt: Added to project (extracted from
2918   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
2920 * docs/dev/testing.txt: Added to project.
2922 * docs/dev/website.txt: Added to project (extracted from
2923   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
2925 * docs/ref/rst/directives.txt:
2927   - Added directives: "table", "csv-table".
2929 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
2930   added to project.  1 page for syntax, and a 1 page reference for
2931   directives and roles.  Source text to be used as-is; not meant to be
2932   converted to HTML.
2934 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
2935   with a change of title.
2937 * test/functional/, contents, and test/test_functional.py: Added to
2938   project.
2940 * tools/buildhtml.py: Fixed bug with config file handling.
2942 * tools/html.py: Removed from project (duplicate of rst2html.py).
2944 * tools/pep2html.py: Removed from project (duplicate of Python's
2945   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
2946   Docutils-related PEPs in docs/peps/).
2948 * tools/rst2pseudoxml.py: Renamed from publish.py.
2950 * tools/rst2xml.py: Renamed from docutils-xml.py.
2952 * tools/test.txt: Removed from project; moved to
2953   docs/user/rst/demo.txt.
2955 * setup.py: Now also installs ``rst2latex.py``.
2958 Release 0.3.3 (2004-05-09)
2959 ==========================
2961 * docutils/__init__.py:
2963   - 0.3.1: Reorganized config file format (multiple sections); see
2964     docs/config.txt.
2965   - Added unknown_reference_resolvers attribute to TransformSpec.
2966   - 0.3.2: Interpreted text reorganization.
2967   - 0.3.3: Released.
2969 * docutils/core.py:
2971   - Catch system messages to stop tracebacks from parsing errors.
2972   - Catch exceptions during processing report & exit without
2973     tracebacks, except when ``--traceback`` used.
2974   - Reordered components for OptionParser; application comes last.
2975   - Added "config_section" parameter to several methods and functions,
2976     allowing front ends to easily specify their config file sections.
2977   - Added publish_parts convenience function to allow access to individual
2978     parts of a document.
2980 * docutils/examples.py: Added to project; practical examples of
2981   Docutils client code, to be used as-is or as models for variations.
2983 * docutils/frontend.py:
2985   - Added "traceback" setting.
2986   - Implemented support for config file reorganization:
2987     ``standard_config_files`` moved from ``ConfigParser`` to
2988     ``OptionParser``; added
2989     ``OptionParser.get_config_file_settings()`` and
2990     ``.get_standard_config_settings()``; support for old "[options]"
2991     section (with deprecation warning) and mapping from old to new
2992     settings.
2993   - Reimplemented setting validation.
2994   - Enabled flexible boolean values: yes/no, true/false, on/off.
2995   - Added ``Values``, a subclass of ``optparse.Values``, with support
2996     for list setting attributes.
2997   - Added support for new ``DOCUTILSCONFIG`` environment variable;
2998     thanks to Beni Cherniavsky.
2999   - Added ``--no-section-numbering`` option.
3001 * docutils/io.py:
3003   - Catch IOErrors when opening source & destination files, report &
3004     exit without tracebacks.  Added ``handle_io_errors`` parameter to
3005     ``FileInput`` & ``FileOutput`` to enable caller error handling.
3007 * docutils/nodes.py:
3009   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
3010     method definitions (via ``exec``) to dynamic assignments (via
3011     ``setattr``); thanks to Roman Suzi.
3012   - Encapsulated visitor dynamic assignments in a function; thanks to
3013     Ian Bicking.
3014   - Added indirect_reference_name attribute to the Targetable
3015     class. This attribute holds the whitespace_normalized_name
3016     (contains mixed case) of a target.
3018 * docutils/statemachine.py:
3020   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
3021   - Added ``StringList.get_2D_block``.
3023 * docutils/utils.py:
3025   - Added "level" attribute to SystemMessage exceptions.
3027 * docutils/languages/af.py: Added to project; Afrikaans mappings by
3028   Jannie Hofmeyr.
3030 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
3031   Blaha.
3033 * docutils/languages/eo.py: Added to project; Esperanto mappings by
3034   Marcelo Huerta San Martin.
3036 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
3037   mappings by Lalo Martins.
3039 * docutils/languages/ru.py: Added to project; Russian mappings by
3040   Roman Suzi.
3042 * docutils/parsers/rst/roles.py: Added to project.  Contains
3043   interpreted text role functions, a registry for interpreted text
3044   roles, and an API for adding to and retrieving from the registry.
3045   Contributed by Edward Loper.
3047 * docutils/parsers/rst/states.py:
3049   - Updated ``RSTState.nested_parse`` for "include" in table cells.
3050   - Allowed true em-dash character and "``---``" as block quote
3051     attribution marker.
3052   - Added support for <angle-bracketed> complex option arguments
3053     (option lists).
3054   - Fixed handling of backslashes in substitution definitions.
3055   - Fixed off-by-1 error with extra whitespace after substitution
3056     definition directive.
3057   - Added inline markup parsing to field lists' field names.
3058   - Added support for quoted (and unindented) literal blocks.
3059     Driven in part by a bribe from Frank Siebenlist (thanks!).
3060   - Parser now handles escapes in URIs correctly.
3061   - Made embedded-URIs' reference text omittable.  Idea from Beni
3062     Cherniavsky.
3063   - Refactored explicit target processing code.
3064   - Added name attribute to references containing the reference name only
3065     through whitespace_normalize_name (no case changes).
3066   - parse_target no longer returns the refname after going through
3067     normalize_name. This is now handled in make_target.
3068   - Fixed bug relating to role-less interpreted text in non-English
3069     contexts.
3070   - Reorganized interpreted text processing; moved code into the new
3071     roles.py module.  Contributed by Edward Loper.
3072   - Refactored ``Body.parse_directive`` into ``run_directive`` and
3073     ``parse_directive_block``.
3075 * docutils/parsers/rst/tableparser.py:
3077   - Reworked for ``StringList``, to support "include" directives in
3078     table cells.
3080 * docutils/parsers/rst/directives/__init__.py:
3082   - Renamed ``unchanged()`` directive option conversion function to
3083     ``unchanged_required``, and added a new ``unchanged``.
3084   - Catch unicode value too high error; fixes bug 781766.
3085   - Beefed up directive error reporting.
3087 * docutils/parsers/rst/directives/body.py:
3089   - Added basic "table" directive.
3091 * docutils/parsers/rst/directives/images.py:
3093   - Added "target" option to "image" directive.
3094   - Added name attribute to references containing the reference name only
3095     through whitespace_normalize_name (no case changes).
3097 * docutils/parsers/rst/directives/misc.py:
3099   - Isolated the import of the ``urllib2`` module; was causing
3100     problems on SourceForge (``libssl.so.2`` unavailable?).
3101   - Added the "role" directive for declaring custom interpreted text
3102     roles.
3104 * docutils/parsers/rst/directives/parts.py:
3106   - The "contents" directive does more work up-front, creating the
3107     "topic" and "title", and leaving the "pending" node for the
3108     transform.  Allows earlier reference resolution; fixes subtle bug.
3110 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
3111   mappings by Jannie Hofmeyr.
3113 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
3114   mappings by Marek Blaha.
3116 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
3117   mappings by Marcelo Huerta San Martin.
3119 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
3120   Portuguese mappings by Lalo Martins.
3122 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
3123   mappings by Roman Suzi.
3125 * docutils/transforms/parts.py:
3127   - The "contents" directive does more work up-front, creating the
3128     "topic" and "title", and leaving the "pending" node for the
3129     transform.  Allows earlier reference resolution; fixes subtle bug.
3130   - Added support for disabling of section numbering.
3132 * docutils/transforms/references.py:
3134   - Verifying that external targets are truly targets and not indirect
3135     references. This is because we are now adding a "name" attribute to
3136     references in addition to targets. Note sure if this is correct!
3137   - Added code to hook into the unknown_reference_resolvers list for a
3138     transformer in resolve_indirect_target. This allows the
3139     unknown_reference_resolvers to keep around indirect targets which
3140     docutils doesn't know about.
3141   - Added specific error message for duplicate targets.
3143 * docutils/transforms/universal.py:
3145   - Added FilterMessages transform (removes system messages below the
3146     verbosity threshold).
3147   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
3148     to FinalCheckVisitor for application-specific handling of
3149     unresolvable references.
3150   - Added specific error message for duplicate targets.
3152 * docutils/writers/__init__.py:
3154   - Added assemble_parts method to the Writer class to allow for
3155     access to a documents individual parts.
3156   - Documented & set default for ``Writer.output`` attribute.
3158 * docutils/writers/html4css1.py:
3160   - Fixed unicode handling of attribute values (bug 760673).
3161   - Prevent duplication of "class" attribute values (bug report from
3162     Kirill Lapshin).
3163   - Improved table grid/border handling (prompted by report from Bob
3164     Marshall).
3165   - Added support for table titles.
3166   - Added "<title />" for untitled docs, for XHTML conformance; thanks
3167     to Darek Suchojad.
3168   - Added functionality to keep track of individual parts of a document
3169     and store them in a dictionary as the "parts" attribute of the writer.
3170     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
3171   - Added proper support for the "scale" attribute of the "image"
3172     element.  Contributed by Brent Cook.
3173   - Added ``--initial-header-level`` option.
3174   - Fixed bug: the body_pre_docinfo segment depended on there being a
3175     docinfo; if no docinfo, the document title was incorporated into
3176     the body segment.  Adversely affected the publish_parts interface.
3178 * docutils/writers/latex2e.py:
3180   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
3181     about a missing file.
3182   - Added options and support: ``--compound-enumerators``,
3183     ``--section-prefix-for-enumerators``, and
3184     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
3185     934322).
3186   - Added option ``--use-verbatim-when-possible``, to avoid
3187     problematic characters (eg, '~' in italian) in literal blocks.
3188   - It's now possible to use four section levels in the `book` and
3189     `report` LaTeX document classes.  The default `article` class still has
3190     three levels limit.
3192 * docs/config.txt: "Docutils Configuration Files", added to project.
3193   Moved config file entry descriptions from tools.txt.
3195 * docs/tools.txt:
3197   - Moved config file entry descriptions to config.txt.
3199 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
3200   Development".
3202 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
3203   Text Roles", added to project.
3205 * spec/rst/reStructuredText.txt:
3207   - Added description of support for <angle-bracketed> complex option
3208     arguments to option lists.
3209   - Added subsections for indented and quoted literal blocks.
3211 * test: Continually adding & updating tests.
3213   - Added test/test_settings.py & test/data/config_*.txt support
3214     files.
3215   - Added test/test_writers/test_htmlfragment.py.
3217 * test/DocutilsTestSupport.py:
3219   - Refactored LaTeX publisher test suite/case class names to make
3220     testing other writers easier.
3221   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
3222     to test the processing of HTML fragments which use the new
3223     publish_parts convenience function.
3225 * tools/buildhtml.py:
3227   - Added support for the ``--prune`` option.
3228   - Removed dependency on pep2html.py; plaintext PEPs no longer
3229     supported.
3231 * tools/docutils.conf:
3233   - Updated for configuration file reorganization.
3235 * tools/rst2html.py:
3237   - copied from tools/html.py
3239 * setup.py:
3241   - added a 'scripts' section to configuration
3242   - added 'tools/rst2html.py' to the scripts section
3245 Release 0.3 (2003-06-24)
3246 ========================
3248 General:
3250 * Renamed "attribute" to "option" for directives/extensions.
3252 * Renamed transform method "transform" to "apply".
3254 * Renamed "options" to "settings" for runtime settings (as set by
3255   command-line options).  Sometimes "option" (singular) became
3256   "settings" (plural).  Some variations below:
3258   - document.options -> document.settings (stored in other objects as
3259     well)
3260   - option_spec -> settings_spec (not directives though)
3261   - OptionSpec -> SettingsSpec
3262   - cmdline_options -> settings_spec
3263   - relative_path_options -> relative_path_settings
3264   - option_default_overrides -> settings_default_overrides
3265   - Publisher.set_options -> Publisher.get_settings
3267 Specific:
3269 * COPYING.txt: Added "Public Domain Dedication".
3271 * FAQ.txt: Frequently asked questions, added to project.
3273 * setup.py:
3275   - Updated with PyPI Trove classifiers.
3276   - Conditional installation of third-party modules.
3278 * docutils/__init__.py:
3280   - Bumped version to 0.2.1 to reflect changes to I/O classes.
3281   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
3282   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
3283   - Bumped version to 0.2.3 because of the new ``--embed-stylesheet``
3284     option and its effect on the PEP template & writer.
3285   - Bumped version to 0.2.4 due to changes to the PEP template &
3286     stylesheet.
3287   - Bumped version to 0.2.5 to reflect changes to Reporter output.
3288   - Added ``TransformSpec`` class for new transform system.
3289   - Bumped version to 0.2.6 for API changes (renaming).
3290   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
3291     convenience functions.
3292   - Added ``Component.component_type`` attribute.
3293   - Bumped version to 0.2.8 because of the internal parser switch from
3294     plain lists to the docutils.statemachine.StringList objects.
3295   - Bumped version to 0.2.9 because of the frontend.py API changes.
3296   - Bumped version to 0.2.10 due to changes to the project layout
3297     (third-party modules removed from the "docutils" package), and
3298     signature changes in ``io.Input``/``io.Output``.
3299   - Changed version to 0.3.0 for release.
3301 * docutils/core.py:
3303   - Made ``publish()`` a bit more convenient.
3304   - Generalized ``Publisher.set_io``.
3305   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
3306     parameters; improved its docstring.
3307   - Added ``publish_file()`` and ``publish_string()``.
3308   - Factored ``Publisher.set_source()`` and ``.set_destination()``
3309     out of ``.set_io``.
3310   - Added support for ``--dump-pseudo-xml``, ``--dump-settings``, and
3311     ``--dump-transforms`` hidden options.
3312   - Added ``Publisher.apply_transforms()`` method.
3313   - Added ``Publisher.set_components()`` method; support for
3314     ``publish_*()`` conveninece functions.
3315   - Moved config file processing to docutils/frontend.py.
3316   - Added support for exit status ("exit_level" setting &
3317     ``enable_exit`` parameter for Publisher.publish() and convenience
3318     functions).
3320 * docutils/frontend.py:
3322   - Check for & exit on identical source & destination paths.
3323   - Fixed bug with absolute paths & ``--config``.
3324   - Set non-command-line defaults in ``OptionParser.__init__()``:
3325     ``_source`` & ``_destination``.
3326   - Distributed ``relative_path_settings`` to components; updated
3327     ``OptionParser.populate_from_components()`` to combine it all.
3328   - Require list of keys in ``make_paths_absolute`` (was implicit in
3329     global ``relative_path_settings``).
3330   - Added ``--expose-internal-attribute``, ``--dump-pseudo-xml``,
3331     ``--dump-settings``, and ``--dump-transforms`` hidden options.
3332   - Removed nasty internals-fiddling ``ConfigParser.get_section``
3333     code, replaced with correct code.
3334   - Added validation functionality for config files.
3335   - Added ``--error-encoding`` option/setting, "_disable_config"
3336     internal setting.
3337   - Added encoding validation; updated ``--input-encoding`` and
3338     ``--output-encoding``; added ``--error-encoding-error-handler`` and
3339     ``--output-encoding-error-handler``.
3340   - Moved config file processing from docutils/core.py.
3341   - Updated ``OptionParser.populate_from_components`` to handle new
3342     ``SettingsSpec.settings_defaults`` dict.
3343   - Added support for "-" => stdin/stdout.
3344   - Added "exit_level" setting (``--exit`` option).
3346 * docutils/io.py:
3348   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
3349   - Added automatic closing to ``FileInput`` and ``FileOutput``.
3350   - Delayed opening of ``FileOutput`` file until ``write()`` called.
3351   - ``FileOutput.write()`` now returns the encoded output string.
3352   - Try to get path/stream name automatically in ``FileInput`` &
3353     ``FileOutput``.
3354   - Added defaults for source & destination paths.
3355   - Allow for Unicode I/O with an explicit "unicode" encoding.
3356   - Added ``Output.encode()``.
3357   - Removed dependency on runtime settings; pass encoding directly.
3358   - Recognize Unicode strings in ``Input.decode()``.
3359   - Added support for output encoding error handlers.
3361 * docutils/nodes.py:
3363   - Added "Invisible" element category class.
3364   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
3365     modification during a traversal.
3366   - Added element classes: ``line_block``, ``generated``, ``address``,
3367     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
3368     ``superscript``, ``subscript``, ``inline``
3369   - Added support for lists of nodes to ``Element.insert()``.
3370   - Fixed parent linking in ``Element.replace()``.
3371   - Added new abstract superclass ``FixedTextElement``; adds
3372     "xml:space" attribute.
3373   - Added support for "line" attribute of ``system_message`` nodes.
3374   - Added support for the observer pattern from ``utils.Reporter``.
3375     Added ``parse_messages`` and ``transform_messages`` attributes to
3376     ``document``, removed ``messages``.  Added ``note_parse_message``
3377     and ``note_transform_message`` methods.
3378   - Added support for improved diagnostics:
3380     - Added "document", "source", and "line" internal attributes to
3381       ``Node``, set by ``Node.setup_child()``.
3382     - Converted variations on ``node.parent = self`` to
3383       ``self.setup_child(node)``.
3384     - Added ``document.current_source`` & ``.current_line``
3385       attributes, and ``.note_source`` observer method.
3386     - Changed "system_message" output to GNU-Tools format.
3388   - Added a "rawsource" attribute to the ``Text`` class, for text
3389     before backslash-escape resolution.
3390   - Support for new transform system.
3391   - Reworked ``pending`` element.
3392   - Fixed XML DOM bug (SF #660611).
3393   - Removed the ``interpeted`` element class and added
3394     ``title_reference``, ``abbreviation``, ``acronym``.
3395   - Made substitutions case-sensitive-but-forgiving; moved some code
3396     from the parser.
3397   - Fixed Unicode bug on element attributes (report: William Dode).
3399 * docutils/optik.py: Removed from project; replaced with
3400   extras/optparse.py and extras/textwrap.py.  These will be installed
3401   only if they're not already present in the Python installation.
3403 * docutils/roman.py: Moved to extras/roman.py; this will be installed
3404   only if it's not already present in the Python installation.
3406 * docutils/statemachine.py:
3408   - Factored out ``State.add_initial_transitions()`` so it can be
3409     extended.
3410   - Converted whitespace-specific "blank" and "indent" transitions
3411     from special-case code to ordinary transitions: removed
3412     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
3413     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
3414     ``ws_initial_transitions`` attributes.
3415   - Removed ``State.match_transition()`` after merging it into
3416     ``.check_line()``.
3417   - Added ``StateCorrection`` exception.
3418   - Added support for ``StateCorrection`` in ``StateMachine.run()``
3419     (moved ``TransitionCorrection`` support there too.)
3420   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
3421     ``EOFError`` instead of ``IndexError``.
3422   - Added ``State.no_match`` method.
3423   - Added support for the Observer pattern, triggered by input line
3424     changes.
3425   - Added ``strip_top`` parameter to
3426     ``StateMachineWS.get_first_known_indented``.
3427   - Made ``context`` a parameter to ``StateMachine.run()``.
3428   - Added ``ViewList`` & ``StringList`` classes;
3429     ``extract_indented()`` becomes ``StringList.get_indented()``.
3430   - Added ``StateMachine.insert_input()``.
3431   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
3432     thanks to) Fred Drake.
3434 * docutils/utils.py:
3436   - Added a ``source`` attribute to Reporter instances and
3437     ``system_message`` elements.
3438   - Added an observer pattern to ``utils.Reporter`` to keep track of
3439     system messages.
3440   - Fixed bugs in ``relative_path()``.
3441   - Added support for improved diagnostics.
3442   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
3443   - Added support for encoding Reporter stderr output, and encoding
3444     error handlers.
3445   - Reporter keeps track of the highest level system message yet
3446     generated.
3448 * docutils/languages: Fixed bibliographic field language lookups.
3450 * docutils/languages/es.py: Added to project; Spanish mappings by
3451   Marcelo Huerta San Martin.
3453 * docutils/languages/fr.py: Added to project; French mappings by
3454   Stefane Fermigier.
3456 * docutils/languages/it.py: Added to project; Italian mappings by
3457   Nicola Larosa.
3459 * docutils/languages/sk.py: Added to project; Slovak mappings by
3460   Miroslav Vasko.
3462 * docutils/parser/__init__.py:
3464   - Added ``Parser.finish_parse()`` method.
3466 * docutils/parser/rst/__init__.py:
3468   - Added options: ``--pep-references``, ``--rfc-references``,
3469     ``--tab-width``, ``--trim-footnote-reference-space``.
3471 * docutils/parsers/rst/states.py:
3473   - Changed "title under/overline too short" system messages from INFO
3474     to WARNING, and fixed its insertion location.
3475   - Fixed enumerated list item parsing to allow paragraphs & section
3476     titles to begin with enumerators.
3477   - Converted system messages to use the new "line" attribute.
3478   - Fixed a substitution reference edge case.
3479   - Added support for ``--pep-references`` and ``--rfc-references``
3480     options; reworked ``Inliner`` code to make customization easier.
3481   - Removed field argument parsing.
3482   - Added support for short section title over/underlines.
3483   - Fixed "simple reference name" regexp to ignore text like
3484     "object.__method__"; not an anonymous reference.
3485   - Added support for improved diagnostics.
3486   - Reworked directive API, based on Dethe Elza's contribution.  Added
3487     ``Body.parse_directive()``, ``.parse_directive_options()``,
3488     ``.parse_directive_arguments()`` methods.
3489   - Added ``ExtensionOptions`` class, to parse directive options
3490     without parsing field bodies.  Factored
3491     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
3492     ``ExtensionOptions``.
3493   - Improved definition list term/classifier parsing.
3494   - Added warnings for unknown directives.
3495   - Renamed ``Stuff`` to ``Struct``.
3496   - Now flagged as errors: transitions at the beginning or end of
3497     sections, empty sections (except title), and empty documents.
3498   - Updated for ``statemachine.StringList``.
3499   - Enabled recognition of schemeless email addresses in targets.
3500   - Added support for embedded URIs in hyperlink references.
3501   - Added backslash-escapes to inline markup end-string suffix.
3502   - Added support for correct interpreted text processing.
3503   - Fixed nested title parsing (topic, sidebar directives).
3504   - Added special processing of backslash-escaped whitespace (idea
3505     from David Abrahams).
3506   - Made substitutions case-sensitive-but-forgiving; moved some code
3507     to ``docutils.nodes``.
3508   - Added support for block quote attributions.
3509   - Added a kludge to work-around a conflict between the bubble-up
3510     parser strategy and short titles (<= 3 char-long over- &
3511     underlines).  Fixes SF bug #738803 "infinite loop with multiple
3512     titles" submitted by Jason Diamond.
3513   - Added explicit interpreted text roles for standard inline markup:
3514     "emphasis", "strong", "literal".
3515   - Implemented "superscript" and "subscript" interpreted text roles.
3516   - Added initial support for "abbreviation" and "acronym" roles;
3517     incomplete.
3518   - Added support for ``--trim-footnote-reference-space`` option.
3519   - Optional space before colons in directives & hyperlink targets.
3521 * docutils/parsers/rst/tableparser.py:
3523   - Fixed a bug that was producing unwanted empty rows in "simple"
3524     tables.
3525   - Detect bad column spans in "simple" tables.
3527 * docutils/parsers/rst/directives: Updated all directive functions to
3528   new API.
3530 * docutils/parsers/rst/directives/__init__.py:
3532   - Added ``flag()``, ``unchanged()``, ``path()``,
3533     ``nonnegative_int()``, ``choice()``, and ``class_option()``
3534     directive option helper functions.
3535   - Added warnings for unknown directives.
3536   - Return ``None`` for missing directives.
3537   - Added ``register_directive()``, thanks to William Dode and Paul
3538     Moore.
3540 * docutils/parsers/rst/directives/admonitions.py:
3542   - Added "admonition" directive.
3544 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
3545   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
3546   "parsed-literal", "rubric", "epigraph", "highlights" and
3547   "pull-quote" directives.
3549 * docutils/parsers/rst/directives/images.py:
3551   - Added an "align" attribute to the "image" & "figure" directives
3552     (by Adam Chodorowski).
3553   - Added "class" option to "image", and "figclass" to "figure".
3555 * docutils/parsers/rst/directives/misc.py:
3557   - Added "include", "raw", and "replace" directives, courtesy of
3558     Dethe Elza.
3559   - Added "unicode" and "class" directives.
3561 * docutils/parsers/rst/directives/parts.py:
3563   - Added the "sectnum" directive; by Dmitry Jemerov.
3564   - Added "class" option to "contents" directive.
3566 * docutils/parsers/rst/directives/references.py: Added to project.
3567   Contains the "target-notes" directive.
3569 * docutils/parsers/rst/languages/__init__.py:
3571   - Return ``None`` from get_language() for missing language modules.
3573 * docutils/parsers/rst/languages/de.py: Added to project; German
3574   mappings by Engelbert Gruber.
3576 * docutils/parsers/rst/languages/en.py:
3578   - Added interpreted text roles mapping.
3580 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
3581   mappings by Marcelo Huerta San Martin.
3583 * docutils/parsers/rst/languages/fr.py: Added to project; French
3584   mappings by William Dode.
3586 * docutils/parsers/rst/languages/it.py: Added to project; Italian
3587   mappings by Nicola Larosa.
3589 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
3590   mappings by Miroslav Vasko.
3592 * docutils/readers/__init__.py:
3594   - Added support for the observer pattern from ``utils.Reporter``, in
3595     ``Reader.parse`` and ``Reader.transform``.
3596   - Removed ``Reader.transform()`` method.
3597   - Added default parameter values to ``Reader.__init__()`` to make
3598     instantiation easier.
3599   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
3601 * docutils/readers/pep.py:
3603   - Added the ``peps.TargetNotes`` transform to the Reader.
3604   - Removed PEP & RFC reference detection code; moved to
3605     parsers/rst/states.py as options (enabled here by default).
3606   - Added support for pre-acceptance PEPs (no PEP number yet).
3607   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
3608     easy subclassing.
3610 * docutils/readers/python: Python Source Reader subpackage added to
3611   project, including preliminary versions of:
3613   - __init__.py
3614   - moduleparser.py: Parser for Python modules.
3616 * docutils/transforms/__init__.py:
3618   - Added ``Transformer`` class and completed transform reform.
3619   - Added unknown_reference_resolvers list for each transformer. This list holds
3620     the list of functions provided by each component of the transformer that
3621     help resolve references.
3623 * docutils/transforms/frontmatter.py:
3625   - Improved support for generic fields.
3626   - Fixed bibliographic field language lookups.
3628 * docutils/transforms/misc.py: Added to project.  Miscellaneous
3629   transforms.
3631 * docutils/transforms/parts.py:
3633   - Moved the "id" attribute from TOC list items to the references
3634     (``Contents.build_contents()``).
3635   - Added the ``SectNum`` transform; by Dmitry Jemerov.
3636   - Added "class" attribute support to ``Contents``.
3638 * docutils/transforms/peps.py:
3640   - Added ``mask_email()`` function, updating to pep2html.py's
3641     functionality.
3642   - Linked "Content-Type: text/x-rst" to PEP 12.
3643   - Added the ``TargetNotes`` PEP-specific transform.
3644   - Added ``TargetNotes.cleanup_callback``.
3645   - Added title check to ``Headers``.
3647 * docutils/transforms/references.py:
3649   - Added the ``TargetNotes`` generic transform.
3650   - Split ``Hyperlinks`` into multiple transforms.
3651   - Fixed bug with multiply-indirect references (report: Bruce Smith).
3652   - Added check for circular indirect references.
3653   - Made substitutions case-sensitive-but-forgiving.
3655 * docutils/transforms/universal.py:
3657   - Added support for the ``--expose-internal-attributes`` option.
3658   - Removed ``Pending`` transform classes & data.
3660 * docutils/writers/__init__.py:
3662   - Removed ``Writer.transform()`` method.
3664 * docutils/writers/docutils-xml.py:
3666   - Added XML and doctype declarations.
3667   - Added ``--no-doctype`` and ``--no-xml-declaration`` options.
3669 * docutils/writers/html4css1.py:
3671   - "name" attributes only on these tags: a, applet, form, frame,
3672     iframe, img, map.
3673   - Added "name" attribute to <a> in section titles for Netscape 4
3674     support (bug report: Pearu Peterson).
3675   - Fixed targets (names) on footnote, citation, topic title,
3676     problematic, and system_message nodes (for Netscape 4).
3677   - Changed field names from "<td>" to "<th>".
3678   - Added "@" to "&#64;" encoding to thwart address harvesters.
3679   - Improved the vertical whitespace optimization; ignore "invisible"
3680     nodes (targets, comments, etc.).
3681   - Improved inline literals with ``<span class="pre">`` around chunks
3682     of text and ``&nbsp;`` for runs of spaces.
3683   - Improved modularity of output; added ``self.body_pre_docinfo`` and
3684     ``self.docinfo`` segments.
3685   - Added support for "line_block", "address" elements.
3686   - Improved backlinks (footnotes & system_messages).
3687   - Improved system_message output.
3688   - Redefined ``--stylesheet`` as containing an invariant URL, used
3689     verbatim.  Added ``--stylesheet-path``, interpreted w.r.t. the
3690     working directory.
3691   - Added ``--footnote-references`` option (superscript or brackets).
3692   - Added ``--compact-lists`` and ``--no-compact-lists`` options.
3693   - Added ``--embed-stylesheet`` and ``--link-stylesheet`` options;
3694     factored out ``HTMLTranslator.get_stylesheet_reference()``.
3695   - Improved field list rendering.
3696   - Added Docutils version to "generator" meta tag.
3697   - Fixed a bug with images; they must be inline, so wrapped in <p>.
3698   - Improved layout of <pre> HTML source.
3699   - Fixed attribute typo on <colspec>.
3700   - Refined XML prologue.
3701   - Support for no stylesheet.
3702   - Removed "interpreted" element support.
3703   - Added support for "title_reference", "sidebar", "attribution",
3704     "rubric", and generic "admonition" elements.
3705   - Added ``--attribution`` option.
3706   - Added support for "inline", "subscript", "superscript" elements.
3707   - Added initial support for "abbreviation" and "acronym";
3708     incomplete.
3710 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
3711   (from the sandbox).
3713   - Added french.
3714   - Double quotes in literal blocks (special treatment for de/ngerman).
3715   - Added ``--hyperlink-color`` option ('0' turns off coloring of links).
3716   - Added ``--attribution`` option.
3717   - Right align attributions.
3719 * docutils/writers/pep_html.py:
3721   - Parameterized output encoding in PEP template.
3722   - Reworked substitutions from ``locals()`` into ``subs`` dict.
3723   - Redefined ``--pep-stylesheet`` as containing an invariant URL, used
3724     verbatim.  Added ``--pep-stylesheet-path``, interpreted w.r.t. the
3725     working directory.
3726   - Added an override on the ``--footnote-references`` option.
3727   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
3728   - Added Docutils version to "generator" meta tag.
3729   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
3731 * docs/tools.txt:
3733   - Added a "silent" setting for ``buildhtml.py``.
3734   - Added a "Getting Help" section.
3735   - Rearranged the structure.
3736   - Kept up to date, with new settings, command-line options etc.
3737   - Added section for ``rst2latex.py`` (Engelbert Gruber).
3738   - Converted settings table into a definition list.
3740 * docs/rst/quickstart.txt:
3742   - Added a table of contents.
3743   - Added feedback information.
3744   - Added mention of minimum section title underline lengths.
3745   - Removed the 4-character minimum for section title underlines.
3747 * docs/rst/quickref.html:
3749   - Added a "Getting Help" section.
3750   - Added a style to make section title backlinks more subtle.
3751   - Added mention of minimum section title underline lengths.
3752   - Removed the 4-character minimum for section title underlines.
3754 * extras: Directory added to project; contains third-party modules
3755   that Docutils depends on (optparse, textwrap, roman).  These are
3756   only installed if they're not already present.
3758 * licenses: Directory added to project; contains copies of license
3759   files for non-public-domain files.
3761 * spec/doctree.txt:
3763   - Changed the focus.  It's about DTD elements:  structural
3764     relationships, semantics, and external (public) attributes.  Not
3765     about the element class library.
3766   - Moved some implementation-specific stuff into ``docutils.nodes``
3767     docstrings.
3768   - Wrote descriptions of all common attributes and parameter
3769     entities.  Filled in introductory material.
3770   - Working through the element descriptions: 55 down, 37 to go.
3771   - Removed "Representation of Horizontal Rules" to
3772     spec/rst/alternatives.txt.
3774 * spec/docutils.dtd:
3776   - Added "generated" inline element.
3777   - Added "line_block" body element.
3778   - Added "auto" attribute to "title".
3779   - Changed content models of "literal_block" and "doctest_block" to
3780     ``%text.model``.
3781   - Added ``%number;`` attribute type parameter entity.
3782   - Changed ``%structural.elements;`` to ``%section.elements``.
3783   - Updated attribute types; made more specific.
3784   - Added "address" bibliographic element.
3785   - Added "line" attribute to ``system_message`` element.
3786   - Removed "field_argument" element; "field_name" may contain
3787     multiple words and whitespace.
3788   - Changed public identifier to docutils.sf.net.
3789   - Removed "interpreted" element; added "title_reference",
3790     "abbreviation", "acronym".
3791   - Removed "refuri" attribute from "footnote_reference" and
3792     "citation_reference".
3793   - Added "sidebar", "rubric", "attribution", "admonition",
3794     "superscript", "subscript", and "inline" elements.
3796 * spec/pep-0256.txt: Converted to reStructuredText & updated.
3798 * spec/pep-0257.txt: Converted to reStructuredText & updated.
3800 * spec/pep-0258.txt: Converted to reStructuredText & updated.
3802 * spec/semantics.txt: Updated with text from a Doc-SIG response to
3803   Dallas Mahrt.
3805 * spec/transforms.txt: Added to project.
3807 * spec/howto: Added subdirectory, for developer how-to docs.
3809 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
3810   Elza, edited & extended by David Goodger.
3812 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
3813   project.
3815 * spec/rst/alternatives.txt:
3817   - Added "Doctree Representation of Transitions" from
3818     spec/doctree.txt.
3819   - Updated "Inline External Targets" & closed the debate.
3820   - Added ideas for interpreted text syntax extensions.
3821   - Added "Nested Inline Markup" section.
3823 * spec/rst/directives.txt:
3825   - Added directives: "topic", "sectnum", "target-notes",
3826     "line-block", "parsed-literal", "include", "replace", "sidebar",
3827     "admonition", "rubric", "epigraph", "highlights", "unicode" and
3828     "class".
3829   - Formalized descriptions of directive details.
3830   - Added an "align" attribute to the "image" & "figure" directives
3831     (by Adam Chodorowski).
3832   - Added "class" options to "topic", "sidebar", "line-block",
3833     "parsed-literal", "contents", and "image"; and "figclass" to
3834     "figure".
3836 * spec/rst/interpreted.txt: Added to project.  Descriptions of
3837   interpreted text roles.
3839 * spec/rst/introduction.txt:
3841   - Added pointers to material for new users.
3843 * spec/rst/reStructuredText.txt:
3845   - Disambiguated comments (just add a newline after the "::").
3846   - Updated enumerated list description; added a discussion of the
3847     second-line validity checking.
3848   - Updated directive description.
3849   - Added a note redirecting newbies to the user docs.
3850   - Expanded description of inline markup start-strings in non-markup
3851     contexts.
3852   - Removed field arguments and made field lists a generic construct.
3853   - Removed the 4-character minimum for section title underlines.
3854   - Clarified term/classifier delimiter & inline markup ambiguity
3855     (definition lists).
3856   - Added "Embedded URIs".
3857   - Updated "Interpreted Text" section.
3858   - Added "Character-Level Inline Markup" section.
3860 * test: Continually adding & updating tests.
3862   - Moved test/test_rst/ to test/test_parsers/test_rst/.
3863   - Moved test/test_pep/ to test/test_readers/test_pep/.
3864   - Added test/test_readers/test_python/.
3865   - Added test/test_writers/ (Engelbert Gruber).
3867 * tools:
3869   - Made the ``locale.setlocale()`` calls in front ends
3870     fault-tolerant.
3872 * tools/buildhtml.py:
3874   - Added ``--silent`` option.
3875   - Fixed bug with absolute paths & ``--config``.
3876   - Updated for new I/O classes.
3877   - Added some exception handling.
3878   - Separated publishers' setting defaults; prevents interference.
3879   - Updated for new ``publish_file()`` convenience function.
3881 * tools/pep-html-template:
3883   - Allow for ``--embed-stylesheet``.
3884   - Added Docutils version to "generator" meta tag.
3885   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
3886   - Conform to XHTML spec.
3888 * tools/pep2html.py:
3890   - Made ``argv`` a parameter to ``main()``.
3891   - Added support for "Content-Type:" header & arbitrary PEP formats.
3892   - Linked "Content-Type: text/plain" to PEP 9.
3893   - Files skipped (due to an error) are not pushed onto the server.
3894   - Updated for new I/O classes.
3895   - Added ``check_requirements()`` & ``pep_type_error()``.
3896   - Added some exception handling.
3897   - Updated for new ``publish_string()`` convenience function.
3898   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
3900 * tools/quicktest.py:
3902   - Added ``-V``/``--version`` option.
3904 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
3906 * tools/unicode2rstsubs.py: Added to project.  Produces character
3907   entity files (reSructuredText substitutions) from the MathML master
3908   unicode.xml file.
3910 * tools/editors: Support code for editors, added to project.  Contains
3911   ``emacs/restructuredtext.el``.
3913 * tools/stylesheets/default.css: Moved into the stylesheets directory.
3915   - Added style for chunks of inline literals.
3916   - Removed margin for first child of table cells.
3917   - Right-aligned field list names.
3918   - Support for auto-numbered section titles in TOCs.
3919   - Increased the size of inline literals (<tt>) in titles.
3920   - Restored the light gray background for inline literals.
3921   - Added support for "line_block" elements.
3922   - Added style for "address" elements.
3923   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
3924   - Improved field list rendering.
3925   - Vertical whitespace improvements.
3926   - Removed "a.target" style.
3928 * tools/stylesheets/pep.css:
3930   - Fixed nested section margins.
3931   - Other changes parallel those of ``../default.css``.
3934 Release 0.2 (2002-07-31)
3935 ========================
3937 General:
3939 - The word "component" was being used ambiguously.  From now on,
3940   "component" will be used to mean "Docutils component", as in Reader,
3941   Writer, Parser, or Transform.  Portions of documents (Table of
3942   Contents, sections, etc.)  will be called "document parts".
3943 - Did a grand renaming: a lot of ``verylongnames`` became
3944   ``very_long_names``.
3945 - Cleaned up imports: no more relative package imports or
3946   comma-separated lists of top-level modules.
3947 - Added support for an option values object which carries default
3948   settings and overrides (from command-line options and library use).
3949 - Added internal Unicode support, and support for both input and
3950   output encodings.
3951 - Added support for the ``docutils.io.IO`` class & subclasses.
3953 Specific:
3955 * docutils/__init__.py:
3957   - Added ``ApplicationError`` and ``DataError``, for use throughout
3958     the package.
3959   - Added ``Component`` base class for Docutils components; implements
3960     the ``supports`` method.
3961   - Added ``__version__`` (thus, ``docutils.__version__``).
3963 * docutils/core.py:
3965   - Removed many keyword parameters to ``Publisher.__init__()`` and
3966     ``publish()``; bundled into an option values object.  Added
3967     "argv", "usage", "description", and "option_spec" parameters for
3968     command-line support.
3969   - Added ``Publisher.process_command_line()`` and ``.set_options()``
3970     methods.
3971   - Reworked I/O model for ``docutils.io`` wrappers.
3972   - Updated ``Publisher.set_options()``; now returns option values
3973     object.
3974   - Added support for configuration files (/etc/docutils.conf,
3975     ./docutils.conf, ~/.docutils).
3976   - Added ``Publisher.setup_option_parser()``.
3977   - Added default usage message and description.
3979 * docutils/frontend.py: Added to project; support for front-end
3980   (command-line) scripts.  Option specifications may be augmented by
3981   components.  Requires Optik (http://optik.sourceforge.net/) for option
3982   processing (installed locally as docutils/optik.py).
3984 * docutils/io.py: Added to project; uniform API for a variety of input
3985   output mechanisms.
3987 * docutils/nodes.py:
3989   - Added ``TreeCopyVisitor`` class.
3990   - Added a ``copy`` method to ``Node`` and subclasses.
3991   - Added a ``SkipDeparture`` exception for visitors.
3992   - Renamed ``TreePruningException`` from ``VisitorException``.
3993   - Added docstrings to ``TreePruningException``, subclasses, and
3994     ``Nodes.walk()``.
3995   - Improved docstrings.
3996   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
3997   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
3998     imports.
3999   - Added ``decoration``, ``header``, and ``footer`` node classes, and
4000     ``PreDecorative`` mixin.
4001   - Reworked the name/id bookkeeping; to ``document``, removed
4002     ``explicit_targets`` and ``implicit_targets`` attributes, added
4003     ``nametypes`` attribute and ``set_name_id_map`` method.
4004   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
4005     traversals.
4006   - Added ``document.has_name()`` method.
4007   - Fixed DOM generation for list-attributes.
4008   - Added category class ``Labeled`` (used by footnotes & citations).
4009   - Added ``Element.set_class()`` method (sets "class" attribute).
4011 * docutils/optik.py: Added to project.  Combined from the Optik
4012   package, with added option groups and other modifications.  The use
4013   of this module is probably only temporary.
4015 * docutils/statemachine.py:
4017   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
4018   - Added underscores to improve many awkward names.
4019   - In ``string2lines()``, changed whitespace normalizing translation
4020     table to regexp; restores Python 2.0 compatibility with Unicode.
4022 * docutils/urischemes.py:
4024   - Filled in some descriptions.
4025   - Added "shttp" scheme.
4027 * docutils/utils.py:
4029   - Added ``clean_rcs_keywords`` function (moved from
4030     docutils/transforms/frontmatter.py
4031     ``DocInfo.filter_rcs_keywords``).
4032   - Added underscores to improve many awkward names.
4033   - Changed names of Reporter's thresholds:
4034     warning_level -> report_level; error_level -> halt_level.
4035   - Moved ``utils.id()`` to ``nodes.make_id()``.
4036   - Added ``relative_path(source, target)``.
4038 * docutils/languages/de.py: German mappings; added to project.  Thanks
4039   to Gunnar Schwant for the translations.
4041 * docutils/languages/en.py: Added "Dedication" bibliographic field
4042   mappings.
4044 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
4045   Chodorowski.
4047 * docutils/parsers/rst/states.py:
4049   - Added underscores to improve many awkward names.
4050   - Added RFC-2822 header support.
4051   - Extracted the inline parsing code from ``RSTState`` to a separate
4052     class, ``Inliner``, which will allow easy subclassing.
4053   - Made local bindings for ``memo`` container & often-used contents
4054     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
4055   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
4056   - Added ``MarkupMismatch`` exception; for late corrections.
4057   - Added ``-/:`` characters to inline markup's start string prefix,
4058     ``/`` to end string suffix.
4059   - Fixed a footnote bug.
4060   - Fixed a bug with literal blocks.
4061   - Applied patch from Simon Budig: simplified regexps with symbolic
4062     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
4063   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
4064   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
4065   - Allowed non-ASCII in "simple names" (directive names, field names,
4066     references, etc.).
4067   - Converted ``Inliner.patterns.initial`` to be dynamically built
4068     from parts with ``build_regexp()`` function.
4069   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
4070   - Updated docstrings.
4071   - Changed "table" to "grid_table"; added "simple_table" support.
4073 * docutils/parsers/rst/tableparser.py:
4075   - Changed ``TableParser`` to ``GridTableParser``.
4076   - Added ``SimpleTableParser``.
4077   - Refactored naming.
4079 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
4080   a fallback language for directive names.
4082 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
4083   directive to use a ``pending`` element, used only by HTML writers.
4085 * docutils/parsers/rst/directives/parts.py: Renamed from
4086   components.py.
4088   - Added "backlinks" attribute to "contents" directive.
4090 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
4091   project by Adam Chodorowski.
4093 * docutils/readers/__init__.py: Gave Readers more control over
4094   choosing and instantiating Parsers.
4096 * docutils/readers/pep.py: Added to project; for PEP processing.
4098 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
4099   requires a ``component`` parameter.
4101 * docutils/transforms/components.py: Added to project; transforms
4102   related to Docutils components.
4104 * docutils/transforms/frontmatter.py:
4106   - In ``DocInfo.extract_authors``, check for a single "author" in an
4107     "authors" group, and convert it to a single "author" element.
4108   - Added support for "Dedication" and generic bibliographic fields.
4110 * docutils/transforms/peps.py: Added to project; PEP-specific.
4112 * docutils/transforms/parts.py: Renamed from old components.py.
4114   - Added filter for ``Contents``, to use alt-text for inline images,
4115     and to remove inline markup that doesn't make sense in the ToC.
4116   - Added "name" attribute to TOC topic depending on its title.
4117   - Added support for optional TOC backlinks.
4119 * docutils/transforms/references.py: Fixed indirect target resolution
4120   in ``Hyperlinks`` transform.
4122 * docutils/transforms/universal.py:
4124   - Changed ``Messages`` transform to properly filter out system
4125     messages below the warning threshold.
4126   - Added ``Decorations`` transform (support for ``--generator``,
4127     ``--date``, ``--time``, ``--source-link`` options).
4129 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
4130   Engelbert Gruber's PDF writer.
4132 * docutils/writers/html4css1.py:
4134   - Made XHTML-compatible (switched to lowercase element & attribute
4135     names; empty tag format).
4136   - Escape double-dashes in comment text.
4137   - Improved boilerplate & modularity of output.
4138   - Exposed modular output in Writer class.
4139   - Added a "generator" meta tag to <head>.
4140   - Added support for the ``--stylesheet`` option.
4141   - Added support for ``decoration``, ``header``, and ``footer``
4142     elements.
4143   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
4144     translation table to regexp; restores Python 2.0 compatibility
4145     with Unicode.
4146   - Added the translator class as instance variable to the Writer, to
4147     make it easily subclassable.
4148   - Improved option list spacing (thanks to Richard Jones).
4149   - Modified field list output.
4150   - Added backlinks to footnotes & citations.
4151   - Added percentage widths to "<col>" tags (from colspec).
4152   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
4153     "<span>" changed to "<var>".
4154   - Inline literals: "<code>" changed to "<tt>".
4155   - Many changes to optimize vertical space: compact simple lists etc.
4156   - Add a command-line options & directive attributes to control TOC
4157     and footnote/citation backlinks.
4158   - Added support for optional footnote/citation backlinks.
4159   - Added support for generic bibliographic fields.
4160   - Identify backrefs.
4161   - Relative URLs for stylesheet links.
4163 * docutils/writers/pep_html.py: Added to project; HTML Writer for
4164   PEPs (subclass of ``html4css1.Writer``).
4166 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
4168 * docutils/writers/docutils_xml.py: Added to project; trivial writer
4169   of the Docutils internal doctree in XML.
4171 * docs/tools.txt: "Docutils Front-End Tools", added to project.
4173 * spec/doctree.txt:
4175   - Changed the title to "The Docutils Document Tree".
4176   - Added "Hyperlink Bookkeeping" section.
4178 * spec/docutils.dtd:
4180   - Added ``decoration``, ``header``, and ``footer`` elements.
4181   - Brought ``interpreted`` element in line with the parser: changed
4182     attribute "type" to "role", added "position".
4183   - Added support for generic bibliographic fields.
4185 * spec/notes.txt: Continual updates.  Added "Project Policies".
4187 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
4188   section.
4190 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
4192 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
4193   mailing list discussions.
4195 * spec/pep-0287.txt:
4197   - Renamed to "reStructuredText Docstring Format".
4198   - Minor edits.
4199   - Reworked Q&A as an enumerated list.
4200   - Converted to reStructuredText format.
4202 * spec/pysource.dtd:
4204   - Reworked structural elements, incorporating ideas from Tony Ibbs.
4206 * spec/pysource.txt: Removed from project.  Moved much of its contents
4207   to pep-0258.txt.
4209 * spec/rst/alternatives.txt:
4211   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
4212   - Added "Inline External Targets" section.
4214 * spec/rst/directives.txt:
4216   - Added "backlinks" attribute to "contents" directive.
4218 * spec/rst/problems.txt:
4220   - Updated the Enumerated List Markup discussion.
4221   - Added new alternative table markup syntaxes.
4223 * spec/rst/reStructuredText.txt:
4225   - Clarified field list usage.
4226   - Updated enumerated list description.
4227   - Clarified purpose of directives.
4228   - Added ``-/:`` characters to inline markup's start string prefix,
4229     ``/`` to end string suffix.
4230   - Updated "Authors" bibliographic field behavior.
4231   - Changed "inline hyperlink targets" to "inline internal targets".
4232   - Added "simple table" syntax to supplement the existing but
4233     newly-renamed "grid tables".
4234   - Added cautions for anonymous hyperlink use.
4235   - Added "Dedication" and generic bibliographic fields.
4237 * test: Made test modules standalone (subdirectories became packages).
4239 * test/DocutilsTestSupport.py:
4241   - Added support for PEP extensions to reStructuredText.
4242   - Added support for simple tables.
4243   - Refactored naming.
4245 * test/package_unittest.py: Renamed from UnitTestFolder.py.
4247   - Now supports true packages containing test modules
4248     (``__init__.py`` files required); fixes duplicate module name bug.
4250 * test/test_pep/: Subpackage added to project; PEP testing.
4252 * test/test_rst/test_SimpleTableParser.py: Added to project.
4254 * tools:
4256   - Updated html.py and publish.py front-end tools to use the new
4257     command-line processing facilities of ``docutils.frontend``
4258     (exposed in ``docutils.core.Publisher``), reducing each to just a
4259     few lines of code.
4260   - Added ``locale.setlocale()`` calls to front-end tools.
4262 * tools/buildhtml.py: Added to project; batch-generates .html from all
4263   the .txt files in directories and subdirectories.
4265 * tools/default.css:
4267   - Added support for ``header`` and ``footer`` elements.
4268   - Added styles for "Dedication" topics (biblio fields).
4270 * tools/docutils.conf: A configuration file; added to project.
4272 * tools/docutils-xml.py: Added to project.
4274 * tools/pep.py: Added to project; PEP to HTML front-end tool.
4276 * tools/pep-html-template: Added to project.
4278 * tools/pep2html.py: Added to project from Python (nondist/peps).
4279   Added support for Docutils (reStructuredText PEPs).
4281 * tools/quicktest.py:
4283   - Added the ``--attributes`` option, hacked a bit.
4284   - Added a second command-line argument (output file); cleaned up.
4286 * tools/stylesheets/: Subdirectory added to project.
4288 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
4291 Release 0.1 (2002-04-20)
4292 ========================
4294 This is the first release of Docutils, merged from the now inactive
4295 reStructuredText__ and `Docstring Processing System`__ projects.  For
4296 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
4297 `DPS HISTORY`__ files.
4299 __ http://structuredtext.sourceforge.net/
4300 __ http://docstring.sourceforge.net/
4301 __ http://structuredtext.sourceforge.net/HISTORY.html
4302 __ http://docstring.sourceforge.net/HISTORY.html
4304 General changes: renamed 'dps' package to 'docutils'; renamed
4305 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
4306 the test suites (reStructuredText's test/test_states renamed to
4307 test/test_rst); and all modifications required to make it all work.
4309 * docutils/parsers/rst/states.py:
4311   - Improved diagnostic system messages for missing blank lines.
4312   - Fixed substitution_reference bug.
4314 .. References
4315    ==========
4317 .. _RELEASE-NOTES: RELEASE-NOTES.html
4318 .. _`_config_files`: docs/user/config.html#config-files
4319 .. _auto_id_prefix: docs/user/config.html#auto-id-prefix
4320 .. _detailled:
4321 .. _detailed: docs/user/config.html#detailed
4322 .. _docutils_footnotes: docs/user/config.html#docutils-footnotes
4323 .. _dump_settings: docs/user/config.html#dump-settings
4324 .. _embed_images: docs/user/config.html#embed-images
4325 .. _embed_stylesheet: docs/user/config.html#embed-stylesheet
4326 .. _figure_footnotes: docs/user/config.html#figure-footnotes
4327 .. _file_insertion_enabled: docs/user/config.html#file-insertion-enabled
4328 .. _graphicx_option: docs/user/config.html#graphicx-option
4329 .. _hidden_controls: docs/user/config.html#hidden-controls
4330 .. _html_writer: docs/user/config.html#html-writer
4331 .. _hyperref_options: docs/user/config.html#hyperref-options
4332 .. _id_prefix: docs/user/config.html#id-prefix
4333 .. _ignore: docs/user/config.html#ignore
4334 .. _image_loading: docs/user/config.html#image-loading
4335 .. _indents: docs/user/config.html#indents
4336 .. _initial_header_level: docs/user/config.html#initial-header-level
4337 .. _input_encoding: docs/user/config.html#input-encoding
4338 .. _input_encoding_error_handler: docs/user/config.html#input-encoding-error-handler
4339 .. _language: docs/user/config.html#language
4340 .. _latex_preamble: docs/user/config.html#latex-preamble
4341 .. _legacy_class_functions: docs/user/config.html#legacy-class-functions
4342 .. _legacy_column_widths: docs/user/config.html#legacy-column-widths
4343 .. _literal_block_env: docs/user/config.html#literal-block-env
4344 .. _math_output: docs/user/config.html#math-output
4345 .. _output: docs/user/config.html#output
4346 .. _output_encoding: docs/user/config.html#output-encoding
4347 .. _raw_enabled: docs/user/config.html#raw-enabled
4348 .. _reference_label: docs/user/config.html#reference-label
4349 .. _smart_quotes: docs/user/config.html#smart-quotes
4350 .. _strip_classes: docs/user/config.html#strip-classes
4351 .. _strip_elements_with_classes: docs/user/config.html#strip-elements-with-classes
4352 .. _stylesheet: docs/user/config.html#stylesheet
4353 .. _stylesheet_dirs: docs/user/config.html#stylesheet-dirs
4354 .. _stylesheet_path: docs/user/config.html#stylesheet-path
4355 .. _syntax_highlight: docs/user/config.html#syntax-highlight
4356 .. _table_style: docs/user/config.html#table-style
4357 .. _traceback: docs/user/config.html#traceback
4358 .. _use_bibtex: docs/user/config.html#use-bibtex
4359 .. _use_latex_abstract: docs/user/config.html#use-latex-abstract
4360 .. _use_latex_footnotes: docs/user/config.html#use-latex-footnotes
4361 .. _use_latex_toc: docs/user/config.html#use-latex-toc
4362 .. _view_mode: docs/user/config.html#view-mode
4366    Local Variables:
4367    mode: indented-text
4368    indent-tabs-mode: nil
4369    sentence-end-double-space: t
4370    fill-column: 70
4371    End: