tox does not test with unsupported python versions.
[docutils.git] / docutils / HISTORY.txt
blob24b6578036399b682e467550881f198aa303b4e1
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 * Drop support for Python 3.7 and 3.8.
22 * Updated build stystem to use Flit_ (cf. patch #186 by Adam Turner).
23   Removed ``setup.py``.
25   .. _Flit: https://github.com/pypa/flit/
27 * docutils/io.py
29   - Simpler and more secure `input encoding`_ default behaviour:
31     Do not use the locale encoding as fallback if Python is started in
32     `UTF-8 mode`_. Stop using "latin1" as second fallback.
34     Remove BOM (U+FEFF ZWNBSP at start of data) only if the `input_encoding`_
35     configuration setting is None, '', 'utf-8-sig', 'utf-16', or 'utf-32'.
36     Do not remove other ZWNBSPs.
38   - Auto-close `FileInput.source` in case of reading/decoding errors.
40   .. _UTF-8 mode: https://docs.python.org/3/library/os.html#utf8-mode
41   .. _input encoding: docs/api/publisher.html#encodings
43 * docutils/languages/, docutils/parsers/rst/languages/
45   - Mark/Fix mistranslated localizations of the "admonition" directive
46     name. In Docutils, "admonition" is used as a generic term for
47     "advice"/"advisory"/"remark", not a reprimand.
49   - Add support for Georgian language (patch #204 by Temuri Doghonadze).
51   - Update/complete Catalan translations (patch #203 by Antoni Bella Pérez).
53 * docutils/nodes.py
55   - Remove compatibility hacks `nodes.reprunicode` and `nodes.ensure_str()`.
57 * docutils/parsers/rst/directives/tables.py
59   - Use the same CSV format for the ``:header:`` option and the main data
60     of the "csv-table" directive.
62   - Move `parsers.rst.directives.Table.process_header_option()` to
63     `parsers.rst.directives.CSVTable`.
65 * docutils/utils/roman.py
67   - Update to version `1.4 <https://pypi.org/project/roman/4.1/>`__.
68     Fixes feature-requests:#95 (license is now ZPL 2.1).
70 * docutils/writers/latex2e/__init__.py
72   - Fix placement of hyperlink target (label) for tables (bug #440).
74 * docutils/writers/manpage.py
76   - Apply literal block patch #205. Use ``.EE`` and ``.EX`` macros.
77     Thanks to G. Branden Robinson (I assume).
79 * docutils/writers/odf_odt/__init__.py
81   - Use context manager for image reading operations.
82     Catch `URLError` when `urllib.request.urlopen()` fails.
84   - Convert image URI to path if accessing a local file. Fixes bug #153.
86 * docutils/writers/s5_html/__init__.py
88   - Warn if the S5 writer cannot copy the theme files.
90   - Programmatic customization of "theme_url__" setting no longer
91     overridden by the default for "theme__".
93     __ docs/user/config.html#theme-url
94     __ docs/user/config.html#theme
96 * docutils/writers/_html_base.py
98   - Stop setting the "footnote-reference" class value for footnote references.
99     Since 0.18, you can use the CSS selector ``[role="doc-noteref"]``.
101   - Support reading/embedding images with "file:" URIs.
103   - Warn, if image scaling fails because the image file cannot be read.
106 Release 0.20.1 (2023-05-17)
107 ===========================
109 * docutils/MANIFEST.in
111   - Include tox.ini and docutils.conf in the source package
112     (cf. bug #467 and bug #461).
114 * tools/rst2odt_prepstyles.py
116   - Moved to ``docutils/writers/odf_odt/prepstyles.py``.
117     Replaced with a provisional backwards compatibility script.
120 Release 0.20 (2023-05-09)
121 =========================
123 * General
125   - Docutils 0.20 is the last version supporting Python 3.7 and 3.8.
126   - Support Python 3.11 (patch #198 by Hugo van Kemenade).
128 * docutils/core.py
130   - New functions `rst2…()` for use as "console_scripts" `entry points`_.
131     (cf. `Future changes` in the RELEASE-NOTES_).
133 * docutils/frontend.py
135   - New configuration setting "output_". Obsoletes the ``<destination>``
136     positional argument (cf. `Future changes` in the RELEASE-NOTES_).
138 * docutils/languages/
139   docutils/parsers/rst/languages/
141   - Support Ukrainian. Patch by Dmytro Kazanzhy.
143 * docutils/nodes.py
145   - Fix `previous_sibling()` method that led to invalid HTML in some cases
146     (cf. patch #195).
147   - Fix bug #463. Spurious comma in deprecation warning.
149 * docutils/parsers/recommonmark_wrapper.py
151   - Improved mock Sphinx module.
153 * docutils/transforms/__init__.py
155   - `Transformer.populate_from_components()` now silently ignores
156     components that are not instances of `docutils.TransformSpec`.
158 * docutils/transforms/frontmatter.py
160   - Accept author names with initials like ``A. Einstein`` in the "author"
161     `bibliographic field`_ instead of rising an error
162     (generally, such names are `parsed as enumerated list`__).
164     .. _bibliographic field:
165         docs/ref/rst/restructuredtext.html#bibliographic-fields
166     __ docs/ref/rst/restructuredtext.html#enumerated-lists
168 * docutils/transforms/references.py
170   - `DanglingReferences` ignores `citation_reference` nodes if the
171     "use_bibex" setting is active. (In this case, citations are provided
172     by LaTeX/BibTeX.) Fixes bug #384.
174 * docutils/utils/__init__.py
176   - New utility function `xml_declaration()`.
177   - `DependencyList.add()` accepts `pathlib.Path` instances.
178   - `find_file_in_dirs()` now returns a POSIX path also on Windows;
179     `get_stylesheet_list()` no longer converts ``\`` to ``/``.
181 * docutils/utils/math/latex2mathml.py
183   - Support "mod" notation for modulo operation / modulus arithmetic.
185 * docutils/utils/math/tex2mathml_extern.py
187   - Support `Pandoc` as alternative LaTeX to MathML converter.
188     Patch by Ximin Luo.
190 * docutils/writers/_html_base.py
192   - Refactoring of `HTMLTranslator` initialization and collecting of
193     document "parts". Adapt HTML writers importing `_html_base`.
195     Changes to the HTML output (no space character before closing tag of
196     XML declaration, order of metadata elements)
197     don't affect the HTML semantics, styling, and rendering.
199   - Wrap definition lists with "details" class argument in a <div>
200     with the "id" and "class" values of the list node.
202   - Use dpub-ARIA role "doc-footnote__" (instead of ARIA role "note")
203     for footnotes.
205     __ https://www.w3.org/TR/dpub-aria-1.1/#doc-footnote
207 * docutils/writers/latex2e/__init__.py
209   - Do not load the `inputenc` package in UTF-8 encoded LaTeX sources.
210     (UTF-8 is the default encoding for LaTeX2e since 2018).
211   - Fix behaviour of the use_bibtex_ setting.
212   - Outsource parts of `depart_document()` to new auxiliary methods
213     `make_title()` and `append_bibliography()`.
214   - Ensure POSIX paths in stylesheet loading macros.
216 * docutils/writers/latex2e/titlepage.tex
218   - Drop ``\usepackage{fixltx2e}`` from template.
219     (Obsolete since 2015 and dropped from other templates in Docutils 0.14.)
221 * docutils/writers/manpage.py
223   - Do not output empty "manual" in ``.TH``.
225 * docutils/writers/xetex/__init__.py
227   - Ignore settings in the [latex2e writer] configuration file section.
228     Place common settings in section [latex writers].
230 * setup.py
232   - Fix SetuptoolsDeprecationWarning: ``Installing '' as data is deprecated``
233     by adding data directories to package_data.packages list.
235 * tox.ini
237   - Extracted flake8 configuration and moved to ``.flake8``.
238   - changedir to directory ``test`` to avoid path problems.
240 * test/
242   - Refactored tests to use common `unittest` idioms.
243     Fixes errors when running the test suite with ``python -m unittest``
244     or external test frameworks, such as Pytest_.
246   .. _pytest: https://pypi.org/project/pytest/
248 * test/coverage.sh
250   - Removed. Use the coverage.py_ project instead,
251     ``coverage run test/alltests.py`` and ``coverage report``.
253   .. _coverage.py: https://pypi.org/project/coverage/
255 * tools/
257   - Moved ``quicktest.py`` to ``tools/dev/``.
260 Release 0.19 (2022-07-05)
261 =========================
263 * General
265   - Dropped support for Python 2.7, 3.5, and 3.6. and removed compatibility
266     hacks from code and tests.
267   - Code cleanup,
268     check PEP 8 conformity with `flake8` (exceptions in file tox.ini).
270 * docutils/__main__.py
272   - New module. Support for ``python -m docutils``.
273     Also used for the ``docutils`` console script `entry point`_.
275 * docutils/core.py
277   - Let `Publisher.publish()` print info and prompt when waiting for input
278     from a terminal (cf. https://clig.dev/#interactivity).
279   - Respect `input_encoding_error_handler`_ setting when opening a source.
281 * docutils/io.py
283   - New function `error_string()`
284     obsoletes `utils.error_reporting.ErrorString`.
285   - Class `ErrorOutput` moved here from `utils.error_reporting` module.
286   - Use "utf-8-sig" instead of Python's default encoding if the
287     `input_encoding`_ setting is None.
288   - Fix error when reading of UTF-16 encoded source without trailing newline.
289   - Suppress deprecation warning (fixes bug #464).
291 * docutils/parsers/__init__.py
293   - Aliases "markdown" and "commonmark" point to "commonmark_wrapper".
294   - Alias for the "myst" parser (https://pypi.org/project/myst-docutils).
295   - Use absolute module names in `_parser_aliases` instead of two
296     import attempts. (Keeps details if the `recommonmark_wrapper` module
297     raises an `ImportError`.)
298   - Prepend parser name to `ImportError` if importing a parser class fails.
300 * docutils/parsers/commonmark_wrapper.py
302   - New module for parsing CommonMark input. Selects a locally installed
303     3rd-party parser (`pycmark`, `myst`, or `recommonmark`).
305 * docutils/parsers/recommonmark_wrapper.py
307   - Raise `ImportError`, if import of the upstream parser module fails.
308     If called from an `"include" directive`_,
309     the system-message now has source/line info.
310   - Adapt to and test with `recommonmark` versions 0.6.0 and 0.7.1.
312   .. _"include" directive: docs/ref/rst/directives.html#include
314 * docutils/parsers/rst/__init__.py
316   - Update PEP base URL (fixes bug #445),
317     use "https:" scheme in RFC base URL.
318   - Add `reporter` to `Directive` class attributes.
320 * docutils/parsers/rst/directives/__init__.py
322   - `parser_name()` keeps details if converting  `ImportError` to  `ValueError`.
324 * docutils/parsers/rst/roles.py
326   - Don't use mutable default values for function arguments. Fixes bug #430.
328 * docutils/transforms/universal.py
330   - Fix bug #435: invalid references in `problematic` nodes
331     with report_level=4.
333 * docutils/utils/__init__.py
335   - `decode_path()` returns `str` instance instead of `nodes.reprunicode`.
337 * docutils/utils/error_reporting.py
339   - Add deprecation warning.
341 * docutils/writers/_html_base.py
343   - Add "html writers" to `config_section_dependencies`. Fixes bug #443.
344   - Write table column widths with 3 digits precision. Fixes bug #444.
346 * docutils/writers/html5_polyglot/__init__.py
348   - Add space before "charset" meta tag closing sequence.
349   - Remove class value "controls" from an `image` node with video content
350     after converting it to a "control" attribute of the <video> tag.
351   - Wrap groups of footnotes in an ``<aside>`` for easier styling.
353 * docutils/writers/pep_html/
355   - Use "https:" scheme in "python_home" URL default.
356   - Fix links in template.txt.
358 * setup.py
360   - New ``docutils``" console script `entry point`_. Fixes bug #447.
362 * test/alltests.py
364   - Always encode the log file ``alltests.out`` using "utf-8".
366 * test/DocutilsTestSupport.py
368   - `exception_data()` now returns None if no exception was raised.
369   - `recommonmark_wrapper` only imported if upstream parser is present.
371 * test/test_parsers/test_rst/test_directives/test_tables.py
373   - Fix bug #436: Null char valid in CSV since Python 3.11.
375 * tools/docutils-cli.py
377   - Allow 3rd-party drop-in components for reader and parser, too.
378   - Fix help output.
379   - Actual code moved to docutils.__main__.py.
381 * tools/rst2odt_prepstyles.py
383   - Options ``-h`` and ``--help`` print short usage message.
385 .. _entry point:
386 .. _entry points:
387     https://packaging.python.org/en/latest/specifications/entry-points/
390 Release 0.18.1 (2021-11-23)
391 ===========================
393 * docutils/nodes.py
395   - `Node.traverse()` returns a list again to restore backwards
396     compatibility. Fixes bug #431.
398   - New method `Node.findall()`: like `Node.traverse()` but returns an
399     iterator. Obsoletes `Node.traverse()`.
401 * docutils/utils/__init__.py
403   - Fix behaviour of `get_stylesheet_list()`: do not look up stylesheets
404     given as `stylesheet`_ setting. Cf. bug #434.
406 * docutils/writers/_html_base.py
408   - Fix handling of ``footnote_backlinks == False`` (report Alan G Isaac).
410 * docutils/writers/html5_polyglot/math.css
412   - Fix typo (bug #432).
414 * docutils/writers/odf_odt/__init__.py
416   - Fix spurious output with Windows (bug #350).
418 * test/test_error_reporting.py
420   - Fix a false positive (bug #434).
423 Release 0.18 (2021-10-26)
424 =========================
426 * docutils/frontend.py
427   - Mark as provisional (will switch from using `optparse` to `argparse`).
428   - Remove hack for the now obsolete "mod_python" Apache module.
429   - New function `get_default_settings()`.
431 * docutils/nodes.py
433   - Don't change a list while looping over it (in
434     `document.set_name_id_map()`). Thanks to Mickey Endito.
436 * docutils/parsers/recommonmark_wrapper.py
438   - Test and update to work with `recommonmark` version 0.6.0.
439     Still provisional.
441     Unfortunately, recommonmark_ is `no longer maintained`__.
443     __ https://github.com/readthedocs/recommonmark/issues/221
445 * docutils/parsers/rst/directives/misc.py
447   - Fix bug #424 Wrong circular inclusion detection.
448     Use a "magic" comment instead of line numbers
449     to keep a log of recursive inclusions.
451 * docutils/parsers/rst/states.py
453   -  Use a "magic" comment to update the log of recursive inclusions.
455 * docutils/writers/html5_polyglot/__init__.py
457   - New option `image_loading`_. Support "lazy" loading of images.
458     Obsoletes `embed_images`_.
460 * docutils/writers/pseudoxml.py
462   - Fix spelling of setting `detailed`_.
464 * tools/docutils-cli.py
466   - Read settings from standard configuration files.
468 Fix spelling errors in documentation and docstrings.
469 Thanks to Dimitri Papadopoulos.
472 Release 0.18b1 (2021-10-05)
473 ===========================
475 * docutils/frontend.py
477   - The default value for the `auto_id_prefix`_ setting changed to "%":
478     auto-generated IDs use the tag name as prefix.
480 * docutils/nodes.py
482   - Make meta__ a standard Docutils doctree node. Writers may ignore
483     `meta` nodes if they are not supported by the output format.
485     __ docs/ref/doctree.html#meta
487   - document.make_id(): Do not strip leading number and hyphen characters
488     from `name` if the `id_prefix`_ setting is non-empty.
490   - `Node.traverse()` returns an iterator instead of a list.
492 * docutils/parsers/rst/directives/html.py
494   - Removed. (Meta directive moved to ``misc.py``.)
496 * docutils/parsers/rst/directives/misc.py
498   - `Meta` directive class (moved from html.py) inserts `meta`
499     (instead of `pending`) nodes.
501   - Add `class` option to `Raw` directive.
503 * docutils/parsers/rst/directives/tables.py
505   - Unify behaviour of `"widths" option`_: check that the length of an
506     integer list equals the number of table columns also for the "table"
507     directive.
509 * docutils/tools/math/math2html.py,
510   docutils/tools/math/tex2unicode.py,
511   docutils/writers/html5/math.css
513   - Fork from elyxer and remove code that is not required
514     for math conversion.
515   - Scale variable sized operators and big delimiters with CSS
516   - Support more commands, fix mapping of commands to Unicode characters
517     (cf. `LaTeX syntax for mathematics`_).
518   - Fix bug #244 Wrong subscript/superscript order.
519   - Don't use <tt> element (deprecated in HTML5).
520   - Use STIX fonts if available.
522   .. _LaTeX syntax for mathematics: docs/ref/rst/mathematics.html
524 * docutils/parsers/rst/states.py
526   - Fix source location (line number) for attribution elements.
527     Patch by Mickey Endito.
528   - Add line, source, and rawsource internal attributes for blockquote
529     elements. Patch by Mickey Endito.
531 * docutils/transforms/references.py
533   - Skip system_messages when propagating targets. Fixes bug #425.
535 * docutils/utils/__init__.py
537   - Removed `unique_combinations()` (obsoleted by `itertools.combinations()`).
539 * docutils/utils/latex2mathml.py
541   - Major update (fixes and support for additional commands and symbols).
542     Fixes bug #407.
544 * docutils/writers/_html_base.py
546   - Write footnote brackets and field term colons to HTML, so that
547     they are present also without CSS and when copying text.
548     Adapt ``minimal.css``.
550   - Use semantic tags <aside> for footnote text, topics, admonitions,
551     and system-messages and <nav> for the table of contents. Use <div>
552     for citations.
554   - Only specify table column widths, if the `"widths" option`_ is set
555     and is not "auto" (fixes bug #426).
556     The `table_style`_ setting "colwidths-grid" restores the current default.
558     .. _"widths" option: docs/ref/rst/directives.html#column-widths
560   - Use ARIA roles to enable accessible HTML for abstract, dedication,
561     the table of contents, footnote, references, footnotes, citations,
562     and backlinks.
564   - Use "aria-level" attribute instead of invalid tags <h7>, <h8>, ...
565     for headings of deeply nested sections.
567   - Do not set classes "compound-first", "compound-middle", or
568     "compound-last" to elements nested in a compound.
569     Use class value "backrefs" instead of "fn-backref" for a span of
570     back-references.
572   - Do not write class values handled by the HTML writer ("colwidths-auto",
573     "colwidths-given", "colwidths-grid") to the output.
575   - Move space character between section number and heading into
576     "sectnum" span.
578   - Removed attribute `HTMLTranslator.topic_classes`
580   - Items of a definition list with class argument "details" are
581     converted to <details> disclosure elements.
583 * docutils/writers/html4css1/__init__.py
585   - Overwrite methods in _html_base.HTMLTranslator that use HTML5 tags
586     (details, aside, nav, ...) and attributes (role, aria-level).
588 * docutils/writers/latex2e/__init__.py
590   - The setting `legacy_class_functions`_ now defaults to "False".
591     Adapt stylesheets modifying ``\DUadmonition`` and/or ``\DUtitle``.
593   - Apply patch #181 "Fix tocdepth when chapter/part in use" by
594     John Thorvald Wodder II.
596   - Fix newlines after/before `ids_to_labels()` (cf. patch #183).
598   - Refactor/revise ToC writing.
600   - Don't add ``\phantomsection`` to labels in math-blocks.
602   - Improve spacing and allow customization of Docutils-generated table
603     of contents.
605   - New algorithm for table column widths. Fixes bug #422.
606     New configuration setting `legacy_column_widths`_.
608     `Table.set_table_style()` arguments changed.
610     Only write "continued on next page..." if it fits
611     without making the table columns wider.
613     Table "width" option overrides conflicting "auto" column "widths".
615 * docutils/writers/latex2e/docutils.sty
617   - Fix excessive padding above sidebar titles.
619 * docutils/writers/pseudoxml.py
621   - Fix option `detailed`_ under Python 2.7.
623 * docutils/writers/s5_html/themes/default
625   - Remove IE 6 compatibility workarounds ``iepngfix.htc`` and
626     ``blank.gif`` (fixes bug #169).
628 * docutils/writers/manpage.py
630   - Fix: double quotes need to be escaped on macro invocation.
631     Done everywhere.
634 Release 0.17.1 (2021-04-16)
635 ===========================
637 * docutils/utils/math/latex2mathml.py
639   - Fix bug #406 (MathML translation of ``\mathbf``).
641 * docutils/writers/latex2e/__init__.py
643   - Open ``docutils.sty`` with encoding set to "utf-8".
644     Fixes bug #414: error with Py3k when locale encoding is "ascii".
646 * docutils/parsers/*.py, docutils/transforms/*.py
648   - Provide fallbacks for parser config settings
649     to facilitate programmatic use.
651 * docutils/writers/manpage.py
653   - Apply patch #160: move macro defs above ``.TH``
654     (thanks Willie and sorry for the delay).
657 Release 0.17 (2021-04-03)
658 =========================
660 * General
662   - Installing with ``setup.py`` now requires `setuptools`.
663     Alternatively, install with `pip`_ (or "manually").
664   - Use `importlib.import_module()` to programmatically import modules.
665   - Fix bug #385: Import of language modules.
667   .. _pip: https://pypi.org/project/pip/
669 * docutils/MANIFEST.in
671   - Exclude test outputs.
673 * docutils/__init__.py
675   - VersionInfo:  `ValueError` for invalid values, fix comparison to tuples.
677 * docutils/languages/
678   docutils/parsers/rst/languages/
680   - Apply patch # 177 Arabic mappings by Shahin.
681   - Apply patch for bug #399 Fixes in Korean translation by Shinjo Park.
683 * docutils/nodes.py
685   - Apply patch #165 "Fix error when copying `system_message` node"
686     by Takeshi KOMIYA.
687   - Apply version of patch #167 "Let `document.set_id()` register all
688     existing IDs". Thanks to Takeshi KOMIYA.
689   - Fix bug #410: Use a "property" function to recursively fetch
690     `Node.document` value from parent node.
692 * docutils/parsers/recommonmark_wrapper.py
694   - New, **experimental** wrapper to integrate the
695     `recommonmark`_ Markdown parser for use with Docutils.
696     Currently only tested with `recommonmark` version 0.4.0.
698     .. _recommonmark: https://pypi.org/project/recommonmark/
700 * docutils/parsers/rst/directives/body.py
702   - Make the sidebar's "title" argument optional (feature request #69).
704 * docutils/parsers/rst/directives/html.py
706   - Make `meta` elements available for "latex" and "odt" writers.
708 * docutils/parsers/rst/directives/misc.py
710   - Prevent infinite inclusion loops.
712 * docutils/parsers/rst/roles.py
714   - Apply patch #174 "Lowercase new role names on registration"
715     by John Thorvald Wodder II.
717 * docutils/utils/smartquotes.py
719   - Fix bug #383: Smart quotes around opening and separator characters.
721 * docutils/transforms/components.py
723   - Allow a comma-separated list of formats for the Filter transform.
725 * docutils/writers/html*
727   - Implement feature request #40 "Option to embed images as data URI".
729 * docutils/writers/html5_polyglot/__init__.py
731   - Use the new semantic tags <main>, <section>, <header>,
732     <footer>, <aside>, <figure>, and <figcaption>.
733     See ``minimal.css`` and ``plain.css`` for styling rule examples.
735     Change the `initial_header_level`_ setting default to "2", as browsers
736     use the `same style for <h1> and <h2> when nested in a <section\>`__.
738     __ https://stackoverflow.com/questions/39547412/same-font-size-for-h1-and-h2-in-article
740   - Use HTML text-level tags <small>, <s>, <q>, <dfn>, <var>, <samp>, <kbd>,
741     <i>, <b>, <u>, <mark>, and <bdi> if a unique, matching class value
742     is found in `inline`__ and `literal`__ elements.
743     Use <ins> and <del> if a unique matching class value
744     is found in `inline`, `literal`, or `container` elements.
745     Use <small> for generated code line numbers.
747     __ docs/ref/doctree.html#inline
748     __ docs/ref/doctree.html#literal
750   - Fix bug #398: properly close link tag to "schema.dcterms".
752   - Add a `viewport meta tag`__ to fix rendering in mobile browsers.
754     __ https://developer.mozilla.org/en-US/docs/Web/HTML/Viewport_meta_tag
756   - Use <video> for images with video MIME types supported by HTML5.
758 * docutils/writers/html5_polyglot/minimal.css
760   - Move non-essential styling to ``plain.css``.
761     Small fixes and tweaks.
763   - Support "captionbelow" class value for tables.
765   - Display code line numbers as pseudo-elements which are skipped
766     when copying text from code blocks. Solves feature request #32.
768 * docutils/writers/html5_polyglot/plain.css
770   - Support numbered figures.
772 * docutils/writers/html5_polyglot/responsive.css
774   - New optional style that adapts to different screen sizes.
776 * docutils/writers/latex2e/__init__.py
778   - Use LaTeX environments for admonitions and "class wrappers" for styling
779     admonitions and titles if the new configuration setting
780     `legacy_class_functions`_ is False.
782   - Remove backwards compatibility code for the deprecated
783     `styling command`__ prefix ``\docutilsrole``.
785     __ docs/user/latex.html#custom-interpreted-text-roles
787   - Remove legacy LaTeX stylesheet ``docutils-05-compat.sty``.
789   - Support the `memoir` LaTeX document class.
790     Fixes bugs #390, #391, and #392. Thanks to John Thorvald Wodder II.
792   - The special value "auto" for the `graphicx_option`_ setting
793     is no longer supported (it never worked for xetex/luatex).
795   - Most helper commands and element definitions are now defined in the
796     LaTeX package `docutils.sty`_ and only inserted in the document
797     preamble if the `stylesheet`__ setting does not list "docutils".
799     .. _docutils.sty: https://ctan.org/pkg/docutils
800     __ docs/user/config.html#stylesheet-latex-writers
802   - Apply patch #173 "Make \*TeX writers convert nonstandard table
803     classes to DUclass environments" by John Thorvald Wodder II.
805   - Fix bug #408 "Incorrect assert in latex writer
806     for multiple citation references".
808   - Apply patch #175 "Fix alignment of nested tables"
809     by John Thorvald Wodder II. Additional fixes to table alignment.
811   - Do not write Docutils-generated ToC, when ``use_latex_toc == True``.
812     (This did happen when publishing from a doctree.)
814   - Set PDF document properties from "meta" directive content.
816   - Apply version of patch #176 "LaTeX writer: Append ``\leavevmode`` to
817     non-docinfo field names" by John Thorvald Wodder II.
819 * docutils/writers/manpage.py
821   - Fix #394 fix missing new line after rubric.
822   - Patch #168 fix crashing on empty citation (by Takeshi KOMIYA).
823   - Fix #126 manpage title with spaces.
824   - Fix #380 command line option problem in sphinx.
826 * docutils/writers/odf_odt/__init__.py
828   - Fix/improve metadata handling:
829     fix "keyword" splitting,
830     allow generic fields (stored as "Custom Properties").
832 * docutils/writers/pseudoxml.py
834   - New option `detailled`_.
836 * test/DocutilsTestSupport.py
838   - Run python3 test like python2 against source not the build/-directory
840 * tools/docutils-cli.py
842   - New generic command line front end that allows the free selection of
843     reader, parser, and writer components.
846 Release 0.16 (2020-01-16)
847 =========================
849 * General
851   - Dropped support for Python 2.6, 3.3 and 3.4
852   - Docutils now supports Python 2.7 and Python 3.5+ natively
853     (without conversion by `2to3`).
854   - Keep `backslash escapes`__ in the document tree. Backslash characters in
855     text are be represented by NULL characters in the `text` attribute of
856     Doctree nodes and removed in the writing stage by the node's
857     `astext()` method.
859   __ https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#escaping-mechanism
861 * docutils/io.py
863   - Remove the `handle_io_errors` option from io.FileInput/Output.
865 * docutils/nodes.py
867   - Speed up Node.next_node().
868   - If `auto_id_prefix`_ ends with "%", this is replaced with the tag name.
869   - Warn about `Node.traverse()` returning an iterator instead of a list
870     in future.
872 * docutils/statemachine.py
874   - Patch [ 158 ]: Speed up patterns by saving compiled versions (eric89gxl)
876 * docutils/transforms/universal.py
878   - Fix [ 332 ]: Standard backslash escape for smartquotes.
879   - Fix [ 342 ]: No escape in roles descending from `inline literal`.
881 * docutils/utils/__init__.py
883   - `unescape()` definition moved to `nodes` to avoid circular import
884     dependency. Fixes [ 366 ].
886 * docutils/writers/latex2e/__init__.py
888   - Fix topic subtitle.
889   - Make "rubric" bold-italic and left aligned.
890   - Fix [ 339 ] don't use "alltt" or literal-block-environment
891     in admonitions and footnotes.
892   - Deprecation warning for ``\docutilsrole``-prefixed styling commands.
893   - Add "latex writers" to the `config_section_dependencies`.
894   - Ignore classes for `rubric` elements
895     (class wrapper interferes with LaTeX formatting).
897 * docutils/writers/manpage.py
899   - Apply fix for [ 287 ] comma after option is bold.
900   - Apply fix for [ 289 ], line starting with ``.`` in a text.
902 * docutils/writers/odf_odt/__init__.py
904   - Fix: ElementTree.getchildren deprecated warning
906 * docutils/writers/xetex/__init__.py
908   - Add "latex writers" to the `config_section_dependencies`.
910 * test/alltests.py
912   - Fix: 377 ResourceWarning: unclosed file python3.8
913     Close alltests.out with atexit.
915 * test/functional/*
917   - Fix: 377 ResourceWarning: unclosed file python3.8
918     Read defaults file with context.
920   - Set `auto_id_prefix`_ to "%" (expands to tag-names).
921     Results in descriptive links in HTML and more localized changes when
922     editions to the input add or remove auto-ids.
924 * test/test_io.py
926   - Apply patch #157: avoid test failure because of a `ResourceWarning`.
928 * test/test_writers/test_odt.py
930   - Fix [ 359 ]: Test suite fails on Python 3.8. odt XML sorting.
931     Use ElementTree instead of minidom.
933 * tools/buildhtml.py
935   - New option `html_writer`_.
938 Release 0.15.1 (2019-07-24)
939 ===========================
941 source: branches/rel-0.15
943 Bugs #366 fix release for python2 only.
946 Release 0.15 (2019-07-20)
947 =========================
949 * General
951   - Dropped support for Python 2.4, 2.5, 3.1, and 3.2.
952   - Infrastructure automation.
954 * docs/ref/rst/restructuredtext.txt
956   - Document rST syntax change: Tokens like ``:this:example:`` are now valid
957     field list names (instead of ordinary text).
959 * docutils/io.py
961   - Fix [ 348 ] Since Python 3.4, the 'U' universal newlines mode has been
962     deprecated. Thanks to hugovk.
964 * docutils/languages/ko.py, docutils/parsers/rst/languages/ko.py
966   - Apply [ 153 ] Korean mappings by Thomas Sungjin Kang.
968 * docutils/nodes.py
970   - Fix [ 251 ] `system_message.copy()`  `TypeError`.
971   - `Element.copy()` also copies `document`, `line`, and `source` attributes.
973 * docutils/parsers/rst/__init__.py
975   - Apply [ 152 ] reset `default role` at end of document.
977 * docutils/parsers/rst/states.py
979   - Allow embedded colons in field list field names.
981 * docutils/parsers/rst/directives/html.py
983   - Fix bug #281: Remove escaping backslashes in meta directive content.
985 * docutils/parsers/rst/directives/misc.py
987   - Don't convert tabs to spaces, if `tab_width` is negative in
988     "include" directive with "code" option.
990 * docutils/parsers/rst/directives/tables.py
992   - Apply patch #121: Add "width" option for the table directives.
994 * docutils/transforms/frontmatter.py
996   - Add field name as class argument to generic docinfo fields unconditionally.
998 * docutils/transforms/references.py
1000   - Fix bug #331: fixed the "trim" options of the "unicode" directive.
1002 * docutils/utils/__init__.py
1004   - Deprecate `unique_combination()` (obsoleted by `itertools.combination()`.
1006 * docutils/utils/smartquotes.py
1008   - Fix bug #332: use open quote after whitespace, ZWSP, and ZWNJ.
1010 * docutils/writers/html5_polyglot/
1012   - automatically add HTML5-compatible meta tags for docinfo items
1013     "authors", "date", and "copyright".
1015 * docutils/writers/_html_base.py
1017   - Fix bug #358: Non-breaking space removed from fixed-width literal.
1019 * docutils/writers/latex2e/__init__.py
1021   - Fix bug #323: spurious ``\phantomsection`` and whitespace in
1022     ``parts['title']``.
1023   - Fix bug #324: Invalid LaTeX for table with empty multi-column cell.
1024   - Fixes to literal block handling.
1027 Release 0.14 (2017-08-03)
1028 =========================
1030 * docs/ref/docutils.dtd
1032   - Enable validation of Docutils XML documents against the DTD:
1034     Use attribute type NMTOKEN instead of REFID for the `refid` attribute
1035     and NMTOKENS for `backrefs`: REFID refers to an ID type instance,
1036     however, the `ids` attribute cannot use the ID type because `XML only
1037     allows one ID per Element Type`__ and doesn't support a multiple-ID
1038     "IDS" attribute type.
1040   __ https://www.w3.org/TR/REC-xml/#sec-attribute-types
1042 * docs/ref/rst/restructuredtext.txt
1044   - Added documentation for escaped whitespace in URI contexts.
1045   - Clarify use of Unicode character categories.
1047 * docutils/parsers/rst/states.py
1049   - Added functionality: escaped whitespace in URI contexts.
1050   - Consistent handling of all whitespace characters in inline markup
1051     recognition. Fixes [ 307 ] and [ 3402314 ] (now [ 173 ]).
1053 * docutils/parsers/rst/directives/images.py
1055   - Added support for escaped whitespace in URI contexts.
1057 * docutils/parsers/rst/directives/tables.py
1059   - Rework patch [ 120 ] (revert change to Table.get_column_widths()
1060     that led to problems in an application with a custom table directive).
1062 * docutils/transforms/frontmatter.py
1064   - Fix [ 320 ] Russian docinfo fields not recognized.
1066 * docutils/transforms/references.py
1068   - Don't add a second ID to problematic references.
1070 * docutils/transforms/universal.py
1072   Fix `SmartQuotes`: warn only once if language is unsupported,
1073   keep "rawsource" when "educating" quotes.
1075 * docutils/utils/__init__.py
1077   - Added `split_escaped_whitespac()` function, support for escaped
1078     whitespace in URI contexts.
1080 * docutils/utils/error_reporting.py
1082   - Fix [ 321 ] Import block might cause name error.
1084 * docutils/utils/smartquotes.py
1086   - Update quote definitions for languages et, fi, fr, ro, sv, tr, uk.
1087   - New quote definitions for hr, hsb, hu, lv, sh, sl, sr.
1088   - Fix [ 313 ] Differentiate apostrophe from closing single quote
1089     (if possible).
1090   - Fix [ 317 ] Extra space inserted with French smartquotes.
1091   - Add command line interface for stand-alone use (requires 2.7).
1093 * docutils/writers/_html_base.py
1095   - Provide default title in metadata (required by HTML5).
1096   - Fix [ 312 ] HTML writer generates invalid HTML if the table has two tags.
1097   - Fix [ 319 ] The MathJax CDN shut down on April 30, 2017. For security
1098     reasons, we don't use a third party public installation as default but
1099     warn if `math_output`_ is set to MathJax without specifying a URL.
1101 * docutils/writers/html4css1/__init__.py
1103   - Apply [ 125 ] HTML writer: respect automatic table column sizing.
1105 * docutils/writers/latex2e/__init__.py
1107   - Handle class arguments for block-level elements by wrapping them
1108     in a "DUclass" environment. This replaces the special handling for
1109     `epigraph` and `topic` elements.
1111 * docutils/writers/manpage.py
1113   - Apply [ 141 ] Handling inline in manpage writer.
1115 * docutils/writers/odf_odt/__init__.py
1117   - Command line setting `language`_ now sets the default language of the
1118   generated ODF document.
1119   - The use of image directive options :width: (%), :scale:, etc now
1120     set the width/height/size of images in the generated ODF
1121     documents.
1122   - The heading/title of admonitions now reflects the language
1123     specified by the `language`_ setting.
1124   - Fixed [ 306 ] only first of multiple "image" directives with the same URL
1125     shown in output.
1126   - Fixed [ 282 ] python3:  `AttributeError`.
1128 * tools/rst2html4.py: New front-end.
1130 * tools/dev/generate_punctuation_chars.py: New script
1131   to test and update utils.punctuation_chars.
1134 Release 0.13.1 (2016-12-09)
1135 ===========================
1137 * docutils/languages/fa.py
1138   docutils/parsers/rst/languages/fa.py
1139   docutils/languages/la.py
1140   docutils/parsers/rst/languages/la.py:
1142   - Apply [ 133 ] Persian mappings by Shahin Azad.
1143   - Apply [ 135 ] Language modules for Latvian by Alexander Smishlajev
1145 * docutils/nodes.py
1147   - Fix [ 253 ] Attribute key without value not allowed in XML.
1149 * docutils/parsers/
1151   - Apply [ 103 ] Recognize inline markups without word boundaries.
1152   - Enable escaping in embedded URIs and aliases (fixes [ 284 ]).
1154 * docutils/parsers/rst/__init__.py
1156   - Fix [ 233 ] Change the base URL for the :rfc: role.
1158 * docutils/parsers/rst/directives/tables.py
1160   - Apply [ 120 ] tables accept option widths: list of relative widths, 'auto'
1161     or 'grid'.
1163   - Implement feature request [ 48 ]
1164     Add :align: option to the table directives.
1165     Thanks to Takeshi KOMIYA for the patch.
1167 * docutils/parsers/rst/roles.py
1169   - Fix [ 295 ] Class argument for custom role inheriting from math.
1171 * docutils/parsers/rst/tableparser.py
1173   - Really fix [ 159 ] Spurious table column alignment errors.
1175 * docutils/transforms/frontmatter.py
1177   - Add name of generic bibliographic fields as a "classes" attribute value
1178     (after conversion to a valid identifier form).
1180 * docutils/utils/error_reporting.py
1182   - Fix [ 130 ] support streams expecting byte-strings in ErrorOutput.
1184 * docutils/utils/math/math2html.py
1186   - Add ``\colon`` macro, fix spacing around colons. Fixes [ 246 ].
1187   - New upstream version (additional macros, piece-wise integrals and sums).
1189 * docutils/writers/_html_base.py
1191   - New auxiliary module for definitions common to all HTML writers.
1193 * docutils/writers/html5_polyglot/
1195   - New HTML writer generating clean, polyglot_ markup conforming to
1196     `HTML 5`_.
1198     The CSS stylesheets ``minimal.css`` and ``plain.css`` contain required
1199     and recommended layout rules.
1201 * docutils/writers/html4css1/__init__.py
1203   - Add "docutils" to class values for "container" object to address [ 267 ].
1204   - Apply patch [ 119 ] by Anatoly Techtonik: use absolute paths for
1205     `default_stylesheet_path` and `default_template_path`.
1206   - Fix [ 266 ] creating labels/class values in description list items.
1207   - Do not use <sup> and <sub> tags inside <pre> (parsed-literal blocks).
1208   - Fix footnotes with content that does not start with a paragraph.
1209   - Use https in default MathJax URL (report Alan G Isaac).
1210   - Outsourcing of common code to _html_base.py.
1212 * docutils/writers/latex2e/__init__.py
1214   - Fix [ 262 ] Use ``\linewidth`` instead of ``\textwidth`` for figures,
1215     admonitions and docinfo.
1217   - Use absolute path for `default_template_path`.
1219   - Removed deprecated options ``--use-latex-footnotes`` and
1220     ``--figure-footnotes``.
1222   - Cleaner LaTeX code for enumerations and literal blocks.
1224   - Use `hyperref` package together with `bookmark` (improved hyperlinking
1225     by the same author).
1227   - Fix [ 286 ] Empty column title cause invalid latex file.
1229   - Fix [ 224 ] Fix rowspan support for tables.
1231   - Let LaTeX determine the column widths in tables with "colwidths-auto".
1232     Not suited for multi-paragraph cells!
1234 * docutils/writers/odf_odt/__init__.py
1236   - remove decode.encode of filename stored in zip.
1238 * docutils/writers/xetex/__init__.py
1240   - LuaLaTex compatibility: do not load `xunicode` package.
1242 * tools/
1244   - New front-end ``rst2html5.py``.
1246 * tox.ini
1248   - Test py26, py27, py33 and py34.
1250     To use, install the `tox` package via pip or easy_install and use
1251     tox from the project root directory.
1253 .. _polyglot: https://www.w3.org/TR/html-polyglot/
1254 .. _HTML 5: https://www.w3.org/TR/html5/
1255 .. _XHTML 1.0: https://www.w3.org/TR/xhtml1/
1258 Release 0.12 (2014-07-06)
1259 =========================
1261 * docs/ref/rst/directives.txt
1263   - Update "math" and "csv-table" descriptions.
1265 * docutils/parsers/rst/directives/images.py
1267   - Fix [ 258 ] ``figwidth="image"`` generates unitless width value.
1269 * docutils/parsers/rst/states.py
1271   - Improve error report when a non-ASCII character is specified as
1272     delimiter, quote or escape character under Python 2.
1273     Fixes [ 249 ] and [ 250 ].
1275 * docutils/writers/html4css1/__init__.py
1277   - Don't add newline after inline math.
1278     Thanks to Yury G. Kudryashov for the patch.
1280 * docutils/writers/latex2e/__init__.py
1282   - Fix [ 239 ] Latex writer glues paragraphs with figure floats.
1283   - Apply [ 116 ] by Kirill Smelkov. Don't hard code \large for subtitle.
1285 * docutils/writers/odf_odt/__init__.py
1287   - Apply patch by Jakub Wilk to fix bug [ 100 ].
1289 * test/test_error_reporting.py
1291   - Fix [ 223 ] by removing redundant tests we do not have control over.
1293 * test/test_nodes.py
1295   - Apply [ 115 ] respect fixed 2to3 string literal conversion behaviour.
1298 Release 0.11 (2013-07-22)
1299 =========================
1301 * General
1303   - Apply [ 2714873 ] Fix for the overwriting of document attributes.
1304   - Support embedded aliases within hyperlink references.
1305   - Fix [ 228 ] try local import of docutils components (reader, writer, parser,
1306     language module) before global search.
1308 * docutils/nodes.py
1310   - Fix [ 3601607 ] `node.__repr__()` must return `str` instance.
1312 * docutils/parsers/rst/directives/__init__.py
1314   - Fix [ 3606028 ] `assert` is skipped with ``python -O``.
1316 * docutils/parsers/rst/directives/images.py
1318   - Apply [ 3599485 ] node source/line information for sphinx translation.
1320 * docutils/parsers/rst/directives/tables.py
1322   - Fix [ 210 ] Python 3.3 checks CVS syntax only if "strict" is True.
1324 * docutils/parsers/rst/states.py
1326   - Fix [ 157 ] Line block parsing doesn't like system message.
1327   - Always import our local copy of roman.py (report Larry Hastings).
1329 * docutils/transforms/references.py
1331   - Fix [ 3607029 ] traceback with embedded alias pointing to missing target.
1333 * docutils/utils/__init__.py
1335   - Fix [ 3596884 ] exception importing `docutils.io`.
1337 * docutils/writers/html4css1/__init__.py
1339   - Fix [ 3600051 ] for tables in a list, table cells are not compacted.
1340   - New setting `stylesheet_dirs`_: Comma-separated list of directories
1341     where stylesheets are found. Used by `stylesheet_path` when expanding
1342     relative path arguments.
1343   - New default for `math_output`_: ``HTML math.css``.
1344   - Avoid repeated class declarations in html4css1 writer
1345     (modified version of patch [ 104 ]).
1348 * docutils/writers/latex2e/__init__.py
1350   - Drop the simple algorithm replacing straight double quotes with
1351     English typographic ones.
1352     Use the `smart_quotes`_ setting to activate this feature.
1353   - Fix literal use of babel shorthands (straight quote, tilde, ...).
1354   - Fix [ 3603246 ] Bug in option ``--graphicx-option=auto``.
1355   - New setting `stylesheet_dirs`__.
1357     __ docs/user/config.html#stylesheet-dirs-latex-writers
1360 * docutils/writers/manpage.py
1362   - Fix [3607063] handle lines starting with a period.
1363   - Fix option separating comma was bold (thanks to Bill Morris).
1366 Release 0.10 (2012-12-16)
1367 =========================
1369 * General
1371   - Dropped support for Python 2.3.
1372   - ``docutils/math``, ``docutils/error_reporting.py``, and
1373     ``docutils/urischemes.py`` moved to the utils package.
1374   - Fix [3541369] Relative __import__ also with Python 3.3.
1375   - Fix [3559988] and [3560841] __import__ local writer, reader, languages
1376     and parsers for Python 2.7 up.
1377   - Fix import of PIL.Image.
1378   - Change default of `syntax_highlight`_ option to "long",
1379     basic syntax highlight styles for LaTeX and HTML.
1381 * docutils/io.py
1383   - FileInput/FileOutput: no system-exit on IOError.  The `handle_io_errors`
1384     option is ignored and will be removed in a future release.
1385   - Fix Py3k error writing to stdout with encoding differing from default.
1386   - Fix opening binary files under Py3k (thanks to Dominic Fitzpatrick).
1388 * docutils/parsers/rst/directives/misc.py
1390   - Fix [ 3546533 ] Unicode error with "date" directive.
1392 * docutils/transforms/universal.py
1394   - SmartQuotes transform for typographic quotes and dashes.
1396 * docutils/utils/__init__.py
1398   - `normalize_language_tag()` now returns `BCP 47`_ conforming tags
1399     with sub-tags separated by ``-``.
1401 * docutils/writers/html4css1/__init__.py
1403   - Use ``<code>`` tag for inline "code",
1404     do not drop nested inline nodes (syntax highlight tokens).
1405   - Customizable MathJax URL (based on patch by Dmitry Shachnev).
1406   - No line break after opening inline math tag.
1408 * docutils/writers/manpage.py
1410   - Apply [ 3527401 ] admonition's don't preserve indentation
1411   - Apply [ 3527397 ] Add indentation to literal blocks in manpage writer.
1413 * docutils/writers/xetex/__init__.py
1415   - Apply [ 3555160 ] ensure order of "otherlanguages".
1416   - Fix section numbering by LaTeX.
1418 * docutils/writers/s5_html/__init__.py
1420   - Fix [ 3556388 ] MathJax does not work with rst2s5.
1422 * docutils/writers/docutils_xml.py
1424   - Fix [ 3552403 ] Prevent broken PyXML replacing stdlibs xml module.
1425   - Fix/improve output with `indents`_ setting.
1427 * setup.py
1429   - Tag ``math.css`` stylesheet as data file (patch by Dmitry Shachnev).
1431 * tools/test/test_buildhtml.py
1433   - Fix [ 3521167 ] allow running in any directory.
1434   - Fix [ 3521168 ] allow running with Python 3.
1437 Release 0.9.1 (2012-06-17)
1438 ==========================
1440 * setup.py
1442   - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
1443     installed in the PYTHONPATH. Converted tests are now
1444     stored in ``test3/``, tools no longer need conversion.
1446     If you installed one of Docutils versions 0.7 ... 0.9 with
1447     ``setup.py install`` under Python 3, remove the spurious
1448     ``test/`` and ``tools/`` directories in the site library root.
1450 * test/
1452   - Make tests independent from the location of the ``test/`` directory.
1453   - Use converted sources (from the ``build/`` directory) for tests under
1454     Python 3.
1456 * tools/
1458   - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
1460 * docutils/io.py
1462   - Fix writing binary data to sys.stdout under Python 3 (allows
1463     ``rst2odt.py`` to be used with output redirection).
1465 * docutils/parsers/rst/directives/misc.py
1467   - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
1468     ``locale == C`` and 8-bit char in path argument of `include` directive.
1470 * test/alltests.py
1472   - class `Tee`: catch  `UnicodeError` when writing to "ascii" stream or
1473     file under Python 3.
1476 Release 0.9 (2012-05-02)
1477 ========================
1479 * General:
1481   - New reStructuredText "code" role and directive and "code" option
1482     of the "include" directive with syntax highlighting by Pygments_.
1483   - Fix parse_option_marker for option arguments containing ``=``.
1484   - Fix [ 2993756 ]: import Python Imaging Library's Image module
1485     via ``import PIL`` as starting with PIL 1.2,
1486     "PIL lives in the PIL namespace only" (announcement__).
1488 .. _Pygments: https://pygments.org/
1489 __ https://mail.python.org/pipermail/image-sig/2011-January/006650.html
1491 * setup.py
1493   - Fix [ 2971827 ] and [ 3442827 ]
1494     extras/roman.py moved to docutils/utils/roman.py
1496 * docutils/frontend.py
1498   - Fix [ 3481980 ] Use `os.getcwdu()` in `make_paths_absolute()`.
1500 * docutils/io.py
1502   - Fix [ 3395948 ] (Work around encoding problems in Py3k).
1503   - `mode` argument for FileOutput avoids code replication in
1504     BinaryFileOutput.
1505   - New exceptions  `InputError` and  `OutputError` for IO errors in
1506     FileInput/FileOutput.
1508 * docutils/core.py
1510   - No "hard" system exit on file IO errors: catch and report them in
1511     `Publisher.reportException` instead. Allows handling by a calling
1512     application if the configuration setting `traceback`_ is True.
1514 * docutils/utils.py -> docutils/utils/__init__.py
1516   - docutils.utils is now a package (providing a place for sub-modules)
1518   - DependencyList uses io.FileOutput and 'utf-8' encoding to prevent
1519     errors recording non-ASCII filenames (fixes [ 3434355 ]).
1521   - Fix `relative_path()` with source=None and `unicode` target.
1523 * docutils/parsers/rst/states.py
1525   - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
1526     characters and "international" quotes around inline markup.
1527   - Use `field_marker` pattern to look for start of a
1528     directive option block (fixes [ 3484857 ]).
1530 * docutils/parsers/rst/tableparser.py
1532   - Fix [ 2926161 ] for simple tables.
1533     (Combining chars in grid tables still contribute to cell width.)
1535 * docutils/writers/latex2e/__init__.py
1537   - Support the `abbreviation` and `acronym` standard roles.
1538   - Record only files required to generate the LaTeX source as dependencies.
1539   - Fix handling of missing stylesheets.
1540   - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
1541     when suppressing LaTeX section numbering.
1542   - Use ``\DUtitle`` for unsupported section levels.
1543   - Apply [ 3512791 ] do not compare string literals with "is".
1545 * docutils/writers/xetex/__init__.py
1547   - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
1549 * docutils/writers/html4css1/__init__.py
1551   - Change default for `math_output`_ setting to MathJax.
1552   - Fix handling of missing stylesheets.
1554 * docutils/writers/docutils_xml.py
1556   - Use the visitor pattern with `default_visit()`/`default_depart()` methods
1557     instead of minidom to facilitate special handling of selected nodes.
1558   - Support raw XML (inserted as-is inside a <raw></raw> node).
1560 * docutils/writers/manpage.py
1562   - Do not emit comment line with trailing blank. Problematic for VCS.
1565 Release 0.8.1 (2011-08-30)
1566 ==========================
1568 * General:
1570   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
1571     and [ 3395920 ] (correct copyright info for rst.el).
1573 * test/
1575   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
1577 * docutils/writers/latex2e/__init__.py
1579   - Clean up Babel language setting. Restores Sphinx compatibility.
1582 Release 0.8 (2011-07-07)
1583 ========================
1585 * General:
1587   - Handle language codes according to `BCP 47`_.
1588   - If the specified language is not supported by Docutils,
1589     warn and fall back to English.
1590   - Math support: reStructuredText "math" role and directive,
1591     `math` and `math_block` doctree elements.
1592   - Decode command line arguments with the locale's preferred encoding
1593     (to allow, e.g., ``--title=Dornröschen``).
1594   - Orphaned `python` reader and `newlatex2e` writer moved to the sandbox.
1595   - New sub-module `error_reporting`: handle encoding/decoding errors
1596     when reporting exceptions.
1597   - Some additions to the Docutils core are released under the 2-Clause BSD
1598     license, see COPYING_ for details.
1600   .. _BCP 47: https://www.rfc-editor.org/rfc/bcp/bcp47.txt
1601   .. _COPYING: COPYING.html
1603 * reStructuredText:
1605   - Most directives now support a "name" option that attaches a
1606     reference name.
1608   - Directive content may start on the first line also when the directive
1609     type accepts options.
1611 * docs/dev/policies.txt
1613   - Recommend the 2-Clause BSD license
1614     (http://opensource.org/licenses/BSD-2-Clause)
1615     for code that is kept under the author's copyright.
1617 * tools/buildhtml.py
1619   - Fix ``--local`` switch.
1621 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
1623 * docutils/writers/html4css1/__init__.py
1625   - Set "lang" argument for objects with class argument
1626     "language-<language tag>".
1627   - New setting `math_output`_ with support for HTML, MathML, and LaTeX.
1629 * docutils/writers/latex2e/__init__.py
1631   - Fix [ 3043986 ]  `AttributeError` using :local: with table of content.
1632   - Place title data in the document preamble.
1633   - Load `babel` package only if required.
1634   - Update list of supported languages.
1635   - New config setting `hyperref_options`_.
1636     No hard-coded "unicode" hyperref option (clash with xetex).
1637   - Set language for custom roles, paragraphs, block-quotes, and
1638     line-quotes with class argument "language-<language tag>".
1639   - Fix [ 3095603 ] wrong quotes output for Russian and other languages.
1640   - Convert image URI to a local file path.
1641   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
1642     has more than one paragraph (Wolfgang Scherer).
1643   - \leavevmode before longtable only when needed (prevents spurious vspace)
1644   - do not advance table counter for tables without caption
1646 * docutils/writers/xetex/__init__.py
1648   - New writer generating LaTeX code for compiling with ``xelatex``.
1650     A separate writer (inheriting from latex2e) instead of a ``--xetex``
1651     option allows separate config options for XeTeX vs. LaTeX2e.
1653 * docutils/writers/manpage.py
1655   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
1656   - Fix: vertical space cleaning for option group ``.``.
1658 * tools/editors/emacs/rst.el
1660   - Fix [ 3001100 ] does not handle spaces in filenames.
1661     Thanks to Jakub Wilk.
1663 * docutils/utils.py
1665   - strip whitespace from stylesheet arguments
1666   - exclude combining chars from column_width()
1667     (partial fix for [ 2926161 ])
1669 * docutils/parsers/rst/directives/misc.py
1671   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
1672     nested_parse
1674 * docutils/io.py
1676   - Do not ``close()`` `sys.stdin`, `sys.stdout`, or `sys.stderr`. Prevents
1677     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
1680 Release 0.7 (2010-07-07)
1681 ========================
1683 * General:
1685   - Fix [ 2881769 ] setup configuration.
1686   - Fix [ 2788716 ] reporting problems in included files.
1688 * docutils/io.py
1690   - FileInput opens files as text files with universal newline support
1691     (mode "rU", configurable with the new optional argument "mode").
1693 * docutils/nodes.py
1695   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
1697 * docutils/utils.py
1699   - Fix [ 2923723 ] let `decode_path()` tolerate ``path == None``.
1701 * docutils/writers/html4css1/__init__.py
1703   - Support SVG and SWF images (thanks to Stefan Rank).
1704   - Generate valid XHTML for centred images with targets.
1705     Use CSS classes instead of "align" tags for image alignment.
1707 * docutils/writers/latex2e/__init__.py
1709   - Use `transforms.writer_aux.Admonitions` to "normalize" special
1710     admonitions.
1711   - Use the ``\url`` command for URLs (breaks long URLs instead of
1712     writing into the margin).
1713   - Preserve runs of spaces in `inline literals`__.
1714   - Deprecate `figure_footnotes`_ setting.
1715   - Rename `use_latex_footnotes`_ setting to `docutils_footnotes`_.
1716   - New `latex_preamble`_ setting.
1717   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
1718   - Fix hyperlink targets (labels) for images, figures, and tables.
1719   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
1720   - Apply [ 2961991 ] Call hyperref with unicode option.
1721   - Drop the special `output_encoding`_ default ("latin-1").
1722     The Docutils wide default (usually "UTF-8") is used instead.
1723   - Render inline markup in document title and subtitle.
1724   - Fix numbering depth with LaTeX section numbering.
1725   - Update Unicode -> LaTeX translations.
1726   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
1728 __ docs/ref/restructuredtext.html#inline-literals
1730 * docutils/writers/manpage.py
1732   - Fix: supported attribute (thanks to peter2108).
1733   - Remove trailing blanks in code (keep in sync with mercurial version).
1734   - Titles level 1, that is ``.SH``, always uppercase.
1735   - Apply patch from mg: literal text should be bold in man-pages.
1737 * docutils/nodes.py
1739   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
1740     Turkish locale.
1742 * setup.py
1744   - Python 3 support: copy test/ and tools/ to the build-dir
1745     and convert Python sources with 2to3.
1748 Release 0.6 (2009-10-11)
1749 ========================
1751 * General:
1753   - Docutils is now compatible with Python versions from 2.3 up to 2.6
1754     and convertible to 3.1 code.
1756     + Node.__nonzero__ returns True instead of 1.
1757     + use os.walk instead os.path.walk.
1758     + minimize `types` module where possible.
1759     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
1760     + Text nodes now subclass unicode rather than UserString
1761       (which is gone in python 3.0).
1762     + 3.0 compatibility module docutils._compat
1764     + Drop 2.2 compatibility workarounds.
1765     + Drop extras/optparse.py and extras/textwrap.py
1766       (stdlib modules since 2.3).
1768   - OpenOffice export: ODT writer moved from sandbox to Docutils core.
1769   - Unix man page export: manpage writer moved from sandbox to Docutils
1770     core.
1772   - Apply [ 1719345 ] Galician translation
1773   - Apply [ 1905741 ] Polish translation
1774   - Apply [ 1878977 ] make_id(): deaccent characters.
1775   - Apply [ 2029251 ] return nonzero when tests fail.
1776   - Fix [ 1692788 ] allow UTF-8 in style sheets.
1777   - Fix [ 2781629 ] support non-ASCII chars in file names.
1778   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
1779   - Fix [ 2831643 ] renaming `DirectiveError.message` to `DirectiveError.msg`
1780   - Fix [ 2821266 ] ``--strict`` option works now like ``--halt=info``.
1781   - Fix [ 2788716 ]  `DirectiveError` now correctly reports source and line.
1782   - Fix [ 1627229 ] hyperlink references in substitutions.
1784   - The `newlatex` writer is orphaned.
1786 * reStructuredText:
1788   - Documented Unicode characters allowed as inline markup openers,
1789     closers, and delimiters.
1790   - Allow units for all length specifications.
1791   - Allow percent sign in "scale" argument of "figure" and "image" directives.
1792   - Bugfix: The "figalign" argument of a figure now works as intended
1793     (aligning the figure, not its contents).
1794   - Align images with class "align-[right|center|left]"
1795     (allows setting the alignment of an image in a figure).
1797 * docutils/nodes.py:
1799   - Added `Element.__contains_()` method, for the in-operator.
1801 * docutils/parsers/rst/states.py:
1803   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
1804   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
1805     " " (non-breaking space), and "¡ ¿" openers.
1807 * docutils/parsers/directives/misc.py:
1809   - Added ``start-line`` and ``end-line`` options to "include"
1810     directive to select a range of lines.
1811   - Hard tabs in literal inclusions are replaced by spaces. This is
1812     configurable via the new ``tab-width`` option of the "include" directive
1813     (a negative tab-width prevents tab expansion).
1815 * docutils/utils.py:
1817   - Add `get_stylesheet_lis()` function.
1818   - Apply [ 2834836 ] print info at halt
1820 * docutils/transforms/universal.py:
1822   - Raise default priority of StripClasses to exclude stripped classes from
1823     the ToC.
1825 * docutils/writers/html4css1/__init__.py:
1827   - `stylesheet`_ and `stylesheet_path`_ settings support a comma
1828     separated list of stylesheets.
1829   - Address [ 1938891 ] Inline literal text creates "pre" span only when
1830     needed to prevent inter-word line wraps.
1831   - Use `translate()` method instead of repeated `replace()` calls.
1832   - Fix [ 1757105 ] New `table_style`_ setting. Added to standard table
1833     classes to allow CSS styling that does not interfere with other
1834     table-using constructs (field lists, citations, ...).
1836 * docutils/writers/newlatex2e/__init__.py:
1838   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
1840 * docutils/writers/latex2e/__init__.py:
1842   - Add `embed_stylesheet`_ setting.
1843   - Apply [ 1474017 ] image vertical alignment is reversed.
1844   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
1845   - Change: has_key for dictionaries (not Nodes) to in-operator.
1846   - Merge adjacent citations into one latex cite command.
1847   - Failsafe implementation of custom roles. LaTeX compilation now ignores
1848     unknown classes instead of aborting with an error.
1849   - Support custom roles based on standard roles.
1850   - LaTeX packages can be used as `stylesheet`_ arguments without
1851     restriction. (A style sheet is now referenced with the ``\usepackage``
1852     command, if it ends with ``.sty`` or has no extension.)
1853   - Add ``bp`` to lengths without unit (prevents LaTeX errors).
1854   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
1855   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
1856     2005-02-04 as a configurable length unit).
1857   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
1858     if font-encoding is set to ''. LaTeX defaults to OT1 then.
1859   - Set sub- and superscript role argument in text mode not as math.
1860     Use a custom role based on sub-/superscript if you want italic shape.
1861   - Shorter preamble and less dependencies: Load packages and define macros
1862     only if required in the document.
1863   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
1864   - New custom environments and commands with optional "classes" argument.
1865   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
1866   - Better conformance to Docutils specifications with `use_latex_toc`_.
1867     Support for LaTeX generated ToC also with unnumbered sections.
1868   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
1869     section numbering by LaTeX.
1870   - Use default font in admonitions and sidebar.
1871   - Align of image in a figure defaults to 'center'.
1872   - Bugfix: Newlines around targets and references prevent run-together
1873     paragraphs.
1874   - Fix internal hyperlinks.
1875   - Use class defaults for page margins ('typearea' now optional).
1876   - Float placement made configurable, default changed to "here definitely".
1877   - Typeset generic topic as "quote block with title".
1878   - Use template (file and configuration option).
1879   - In the default template, load cmap.sty (fix text extraction in PDF) and
1880     fixltx2e.sty (LaTeX patches, \textsubscript).
1881   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
1882   - Use `translate()` instead of repeated `replace()` calls for text encoding.
1883   - Hyperlinked footnotes and support for symbol footnotes and
1884     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
1885   - Complete pairs of binary options
1886     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
1887     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
1888   - New defaults:
1889     - font-encoding: "T1" (formerly implicitly set by 'ae').
1890     - use-latex-toc: true (ToC with page numbers).
1891     - use-latex-footnotes: true (no mixup with figures).
1893 * docutils/writers/manpage.py
1895   - Do not print version at document end, this is done by the viewer.
1896   - Do not print date at document end, this is done by the viewer.
1897   - Fix storage of docinfo fields for none standard fields.
1899 * docutils/tools/rst2man.py
1902 Release 0.5 (2008-06-25)
1903 ========================
1905 * docutils/languages/he.py: Added to project: Hebrew mappings by
1906   Meir Kriheli.
1908 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
1909   mappings by Meir Kriheli.
1911 * docutils/frontend.py:
1913   - Configuration files are now assumed and required to be
1914     UTF-8-encoded.
1915   - Paths of applied configuration files are now recorded in the
1916     runtime setting `_config_files`_ (accessible via `dump_settings`_).
1917   - Added `strip_elements_with_classes`_ and `strip_classes`_ settings.
1919 * docutils/io.py:
1921   - Added code to determine the input encoding from data: encoding
1922     declarations or the presence of byte order marks (UTF-8 & UTF-16).
1923   - Added support for IronPython 1.0.
1925 * docutils/nodes.py:
1927   - Added `document.__getstate_()` method, for pickling.
1929 * docutils/parsers/rst/states.py:
1931   - Allow ``+`` and ``:`` in reference names.
1932   - Unquoted targets beginning with an underscore (``.. __target:
1933     URI``) are no longer accepted.
1934   - Added support for multiple attributions in a physical block quote
1935     (indented text block), dividing it into multiple logical block
1936     quotes.
1937   - Added support for unicode bullets in bullet lists: "•", "‣", and
1938     "⁃".
1939   - Added support for new object-oriented directive interface,
1940     retaining compatibility to the old functional interface.
1941   - Added support for throwing `DirectiveError`'s from within
1942     directive code.
1944 * docutils/parsers/rst/__init__.py:
1946   - Added `Directive` base class.
1947   - Added `DirectiveError` base class.
1948   - Fixed `file_insertion_enabled`_ & `raw_enabled`_ setting
1949     definitions.
1951 * docutils/parsers/directives/:
1953   - Refactored all reStructuredText directives to use the new
1954     object-oriented directive interface.  Errors are now (mostly)
1955     thrown using the new `DirectiveError` class.
1957 * docutils/parsers/directives/misc.py:
1959   - Added ``start-after`` and ``end-before`` options to ``include``
1960     directive; thanks to Stefan Rank.
1962 * docutils/transforms/universal.py:
1964   - Added `StripClassesAndElements` transform to remove from the
1965     document tree all elements with classes in
1966     `strip_elements_with_classes`_ and all "classes"
1967     attribute values in `strip_classes`_
1969 * docutils/transforms/writer_aux.py:
1971   - Added `Admonitions` transform to transform specific admonitions
1972     (like "note", "warning", etc.) into generic admonitions with a
1973     localized title.
1975 * docutils/writers/html4css1/__init__.py:
1977   - Moved template functionality from the PEP/HTML writer here.
1978   - Expanded the fragments available in the ``parts`` attribute.
1979   - Moved ``id`` attributes from titles to surrounding ``div``
1980     elements.
1981   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
1982     universally supported now).
1983   - ``template.txt`` is now opened in text mode instead of binary mode
1984     (to ensure Windows compatibility).
1985   - ``a`` elements now have an "internal" or "external" class,
1986     depending on reference type.
1988 * docutils/writers/html4css1/template.txt: Added to project.
1990 * docutils/writers/pep_html/:
1992   - Moved template functionality to the HTML writer.
1994 * docutils/writers/s5_html/__init__.py:
1996   - Added `view_mode`_ & `hidden_controls`_ settings.
1998 * docutils/writers/latex2e/__init__.py:
2000   - Add `literal_block_env`_.
2001   - Fix: escaping ``%`` in href urls.
2002   - Move usepackage hyperref after stylesheet inclusion.
2003   - Fix: scrartcl does not have chapter but scrreprt.
2004   - Add newline after ``\end{verbatim}``.
2005   - Merge smaller differences from latex2e_adaptive_preamble.
2006   - Add ``use-part-section``.
2007   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
2008   - Using leavemode option_list no longer needs to check if parent
2009     is a definition list.
2010   - Append ``\leavemode`` to definition list terms.
2011   - No longer write visit\_/depart_definition_list_item comments to
2012     output.
2013   - Table column width with 3 decimal places.
2014   - Add table stubs support (boldfont).
2015   - Add assemble_parts to writer.
2016   - Add simply support for nested tables.
2017   - Fix verbatim in tables if use-verbatim-when-possible.
2018   - Use section commands down to subparagraph.
2019   - Put ensuremath around some latin1 chars.
2020   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
2021   - New experimental setting `use_bibtex`_.
2022   - New setting `reference_label`_ to allow usage of LaTeX ref for
2023     labels in section references.
2024   - Add a label after every section to support sectionnumbers as reference
2025     labels.
2026   - Fix: bug# 1605376 rst2latex: bad options group list
2027   - Remove inactive code for use_optionlist_for_option_list.
2028   - Remove latex comments from option_list output.
2029   - Fix: bug# 1612270 double quotes in italian literal.
2030   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
2031   - Add setting `use_latex_abstract`_.
2032   - Image width unit ``px`` is translated to ``pt``.
2033   - Add image height support.
2034   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
2035     bug #1457388
2036   - Fix: Do not escape underscores in citation reference labels if
2037     use-latex-citations is set.
2038   - Use centering instead of center for figure contents, to avoid vertical
2039     space.
2040   - Recognize table class: borderless, nolines, booktabs, standard.
2041   - Fix: Renaming contents section does not work with latex writer; SF
2042     bug #1487405.
2043   - Applied patch for custom roles with classes from Edward Loper.
2044   - Fixed bug that caused crashes with more than 256 lists.
2046 * docutils/writers/pep_html/__init__.py:
2048   - Changed to support new python.org website structure and
2049     pep2pyramid.py.
2051 * docs/howto/security.txt: "Deploying Docutils Securely", added to
2052   project.
2054 * tools/buildhtml.py:
2056   - Add `ignore`_ setting to exclude a list of shell patterns
2057     (default: ``.svn:CVS``).
2059 * tools/editors/emacs/rst.el:
2061   - Changed license to "GPL".
2062   - Added ``rst-straighten-decorations`` function.
2063   - The ``compile`` module is now always loaded.
2064   - Added ``rst-toggle-line-block`` function.
2065   - Headings consisting only of non-ASCII characters are now
2066     recognized by ``rst-toc`` and ``rst-adjust``.
2067   - Added font-lock support for multi-line comments where the first
2068     comment line is empty.
2069   - Added ``(require 'font-lock)``.
2071 * setup.py:
2073   - Provide descriptive error message if distutils is missing.
2076 Release 0.4 (2006-01-09)
2077 ========================
2079 * General:
2081   - Updated the project policies for trunk/branch development &
2082     version numbering.
2084 * docutils/__init__.py:
2086   - Added ``__version_details__`` attribute to describe code source
2087     (repository/snapshot/release).
2088   - Replaced ``default_transforms`` attribute of ``TransformSpec`` with
2089     ``get_transforms()`` method.
2091 * docutils/core.py:
2093   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
2094     functions, for document tree extraction and reprocessing.
2096 * docutils/io.py:
2098   - Added ``DocTreeInput`` class, for reprocessing existing documents.
2099   - Added support for non-Unicode (e.g. binary) writer output.
2101 * docutils/nodes.py:
2103   - Re-introduced ``Targetable.indirect_reference_name``, for
2104     MoinMoin/reST compatibility (removed in r3124/r3129).
2105   - Added ``serial_escape`` function; escapes string values that are
2106     elements of a list, for serialization.  Modified Docutils-XML
2107     writing (``Element._dom_node``) and pseudo-XML writing
2108     (``Element.starttag``) to use ``serial_escape``.
2109   - Added ``Node.deepcopy()`` method.
2110   - Removed the internal lists ``document.substitution_refs``,
2111     ``document.anonymous_refs``, and ``document.anonymous_targets``.
2112   - Added a "container" element.
2113   - Fixed bug where values of list-valued attributes of elements
2114     originating from custom interpreted text roles (i.e., with custom
2115     classes) were being shared between element instances.  Reported by
2116     Shmuel Zeigerman.
2118 * docutils/statemachine.py:
2120   - Added trailing whitespace stripping to ``string2lines()``.
2121   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
2122     Asian double-width character support.
2124 * docutils/utils.py:
2126   - Added ``east_asian_column_width()`` for double-width character
2127     support.
2129 * docutils/languages/ja.py: Added to project: Japanese mappings by
2130   Hisashi Morita.
2132 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
2133   mappings by Panjunyong.
2135 * docutils/parsers/null.py: Added to project; a do-nothing parser.
2137 * docutils/parsers/rst/__init__.py:
2139   - Added validator to "tab_width" setting, with test.  Closes SF bug
2140     #1212515, report from Wu Wei.
2142 * docutils/parsers/rst/states.py:
2144   - Fixed bug with escaped colons indicating a literal block.
2145   - Fixed bug with enumerated lists (SF#1254145).
2146   - Backslash-escaped colons inside of field names are now allowed.
2147   - Targets (implicit and explicit), anonymous hyperlink references
2148     and auto-numbered footnote references inside of substitution
2149     definitions are now disallowed.
2150   - Fixed bug: list items with blank first lines.
2151   - Fixed bug: block quote attributions with indented second lines.
2152   - Added East Asian double-width character support (Python 2.4 only).
2154 * docutils/parsers/rst/tableparser.py:
2156   - Added East Asian double-width character support (Python 2.4 only).
2158 * docutils/parsers/rst/directives/body.py:
2160   - Added the "container" directive.
2162 * docutils/parsers/rst/directives/misc.py:
2164   - Added the "default-role", "title", and "date" directives.
2165   - Added standard data file syntax to the "include" directive.
2166   - Added support for "class" directive content.
2168 * docutils/parsers/rst/directives/images.py:
2170   - Added ``indirect_reference_name`` support for images with a target
2171     option.
2172   - Added support for image width and height units.
2173   - Fixed bug with image "target" options.
2175 * docutils/parsers/rst/directives/references.py:
2177   - Added "class" attribute to "target-notes" directive, for
2178     footnote_reference classes.
2180 * docutils/parsers/rst/include/: Directory added to project; contains
2181   standard data files for the "include" directive.  Initial contents:
2182   character entity substitution definition sets, and a set of
2183   definitions for S5/HTML presentations.
2185 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
2186   mappings by David Goodger.
2188 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
2189   Simplified Chinese mappings by Panjunyong.
2191 * docutils/readers/__init__.py:
2193   - Added universal.Decorations and universal.ExposeInternals
2194     transforms as default transforms for all readers.
2195   - Added ``ReReader`` base class for readers that reread an existing
2196     document tree.
2198 * docutils/readers/doctree.py: Added to project; a reader for existing
2199   document trees.
2201 * docutils/transforms/frontmatter.py:
2203   - Fixed the DocInfo transform to handle SVN-style expansion of the
2204     "Date" keyword.
2205   - In ``DocInfo.extract_authors``, treat the contents of "authors"
2206     fields uniformly.
2208 * docutils/transforms/misc.py:
2210   - Added misc.Transitions transform, extracted from
2211     universal.FinalChecks.
2213 * docutils/transforms/references.py:
2215   - Added references.DanglingReferences transform, extracted from
2216     universal.FinalChecks.
2217   - Fixed bug with doubly-indirect substitutions.
2218   - Added footnote_reference classes attribute to "TargetNotes".
2219   - Fixed bug with circular substitution definitions that put Docutils
2220     into an infinite loop.
2222 * docutils/transforms/universal.py:
2224   - Added universal.ExposeInternals transform, extracted from
2225     universal.FinalChecks.
2226   - Removed universal.FinalChecks transform (logic has been moved to
2227     several new transforms).
2228   - Fixed bug with the "expose_internals" setting and Text nodes
2229     (exposed by the "rawsource" internal attribute).
2230   - Added the universal.StripComments transform, implementation of the
2231     "strip_comments" setting.
2233 * docutils/transforms/writer_aux.py: Added to project; auxiliary
2234   transforms for writers.
2236   - Added ``Compound`` transform, which flattens compound paragraphs.
2238 * docutils/writers/: Several writer modules (html4css1.py) were
2239   converted into packages.  Support modules and data files have been
2240   moved into the packages.  The stylesheets for the HTML writers are
2241   now installed along with the code, the code knows where to find
2242   them, and the default is to use them (actually, to embed them).
2243   Some adjustments to configuration files may be necessary.  The
2244   easiest way to obtain the new default behavior is to remove all
2245   settings whose name includes "stylesheet".
2247 * docutils/writers/__init__.py:
2249   - Added universal.Messages and universal.FilterMessages transforms
2250     as default transforms for all writers.
2251   - Added ``UnfilteredWriter`` base class for writers that pass the
2252     document tree on unchanged.
2254 * docutils/writers/docutils_xml.py:
2256   - Made ``xmlcharrefreplace`` the default output encoding error
2257     handler.
2259 * docutils/writers/html4css1/:
2261   - Added support for image width and height units.
2262   - Made ``xmlcharrefreplace`` the default output encoding error
2263     handler.
2264   - Made ``--embed-stylesheet`` the default rather than
2265     ``--link-stylesheet``.
2266   - Moved "id" attribute from container (section etc.) to title's <a>
2267     tag, to be on the same tag as "name".
2268     (!!! To be reverted in Docutils 0.5.)
2269   - Added vertical space between fields of field lists.
2270   - Added ``--compact-field-lists`` option to remove vertical space in
2271     simple field lists.
2272   - Made cloaking of email addresses with ``--cloak-email-addresses``
2273     less obtrusive.
2274   - Fixed support for centered images.
2275   - Added support for class="compact" & class="open" lists.
2277 * docutils/writers/latex2e/:
2279   - Underscores in citekeys are no longer escaped.
2281 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
2282   mapping of Unicode characters to LaTeX equivalents.
2284 * docutils/writers/s5_html/: Package added to project; writer for
2285   S5/HTML slide shows.
2287 * docs/dev/distributing.txt: Added to project; guide for distributors
2288   (package maintainers).
2290 * docs/dev/hacking.txt: Added to project; guide for developers.
2292 * docs/ref/doctree.txt:
2294   - Updated for plural attributes "classes", "ids", "names",
2295     "dupnames".
2296   - Added the "container" element.
2298 * docs/ref/docutils.dtd:
2300   - Updated for plural attributes "classes", "ids", "names",
2301     "dupnames".
2303 * docs/user/emacs.txt: Added to project; a document about Emacs
2304   support for reStructuredText and Docutils.
2306 * docs/user/links.txt: Added to project; lists of Docutils-related
2307   links.
2309 * docs/user/mailing-lists.txt: Added to project; information about
2310   Docutils-related mailing lists and how to access them.
2312 * docs/user/slide-shows.txt: Added to project; example of and docs for
2313   the S5/HTML writer (``rst2s5.py`` front end).
2315 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
2316   Files", added to project.
2318 * test/coverage.sh: Added to project; test coverage script.
2320 * test/DocutilsTestSupport.py:
2322   - Added support for specifying runtime settings at the suite level.
2324 * test/test_functional.py:
2326   - Added the ``clear_output_directory`` function.
2327   - Added support for ``_test_more`` functions in functional test
2328     config files.
2330 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
2332 * tools/rstpep2html.py: Renamed from pep.py.
2334 * tools/dev/create_unimap.py: Added to project; script to create the
2335   docutils/writers/unimap_latex.py mapping file.
2337 * tools/dev/profile_docutils.py: Added to project; profiler script.
2339 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
2341 * tools/editors/emacs/restructuredtext.el,
2342   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
2343   Removed from project; the functionality is now contained in rst.el.
2345 * tools/editors/emacs/rst.el: Added to project.  Added many features
2346   and fixed many bugs.  See docs/user/emacs.txt for details.
2348 * tools/stylesheets: Removed from project.  Stylesheets have been
2349   renamed and moved into writer packages.
2352 Release 0.3.9 (2005-05-26)
2353 ==========================
2355 * General:
2357   - Eliminated and replaced all uses of the old string attributes
2358     ``id``, ``name``, ``dupname`` and ``class`` with references to the
2359     new list attributes ``ids``, ``names``, ``dupnames`` and
2360     ``classes`` throughout the whole source tree.
2362 * docutils/core.py:
2364   - Enabled ``--dump-*`` options when ``--traceback`` specified,
2365     allowing for easier debugging.
2366   - In ``Publisher.publish()``, expanded the generic top-level
2367     exception catching.
2369 * docutils/examples.py:
2371   - Added ``internals`` function for exploration.
2373 * docutils/io.py:
2375   - Fixed ``Input.decode`` method to apply heuristics only if no
2376     encoding is explicitly given, and to provide better reporting of
2377     decoding errors.
2378   - The ``Input.decode`` method now removes byte order marks (BOMs)
2379     from input streams.
2381 * docutils/nodes.py:
2383   - ``image`` element class changed to subclass of Element, not
2384     TextElement (it's an empty element, and cannot contain text).
2385   - Added ``attr_defaults`` dictionary for default attribute values.
2386   - Added empty list as default value for the following attributes:
2387     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
2388   - Added ``document.decoration`` attribute,
2389     ``document.get_decoration`` method, and ``decoration.get_header``
2390     & ``.get_footer`` methods.
2391   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
2392     methods.
2394 * docutils/utils.py:
2396   - Removed ``docutils.utils.Reporter.categories``,
2397     ``docutils.utils.ConditionSet``, and all references to them, to
2398     simplify error reporting.
2400 * docutils/languages/nl.py: Added to project; Dutch mappings by
2401   Martijn Pieters.
2403 * docutils/parsers/rst/__init__.py:
2405   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
2407 * docutils/parsers/rst/states.py:
2409   - Added check for escaped at-mark to prevent email address recognition.
2410   - Fixed option lists to allow spaces inside ``<angle-bracketed option
2411     arguments>``.
2412   - Allowed whitespace in paths and URLs.
2413   - Added auto-enumerated list items.
2414   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
2415     followed by text.
2416   - Added support for table stub columns.
2418 * docutils/parsers/rst/directives/__init__.py:
2420   - Allowed whitespace in paths (``path`` function).
2421   - Added ``uri`` directive option conversion function.
2423 * docutils/parsers/rst/directives/body.py:
2425   - Fixed illegal context bug with "topic" directive (allowed within
2426     sidebars; not within body elements).
2428 * docutils/parsers/rst/directives/images.py:
2430   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
2431   - Added support for the ``file_insertion_enabled`` setting in the
2432     "figure" directive (disables "figwidth" option).
2433   - "image" directive: added checks for valid values of "align" option,
2434     depending on context.  "figure" directive: added specialized
2435     "align" option and attribute on "figure" element.
2436   - Made ":figwidth: image" option of "figure" directive work again.
2437   - Fixed bug with reference names containing uppercase letters
2438     (e.g. ``Name_``) in "target" option of "image" directive.
2440 * docutils/parsers/rst/directives/misc.py:
2442   - Fixed "include" and "raw" directives to catch text decoding
2443     errors.
2444   - Allowed whitespace in "include" & "raw" directive paths.
2445   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
2446     settings in "include" & "raw" directives.
2448 * docutils/parsers/rst/directives/parts.py:
2450   - Added "header" & "footer" directives.
2451   - Fixed illegal context bug with "contents" directive (topics
2452     allowed within sidebars; not within body elements).
2454 * docutils/parsers/rst/directives/tables.py:
2456   - Added "list-table" directive.
2457   - Caught empty CSV table bug.
2458   - Added support for the ``file_insertion_enabled`` setting in the
2459     "csv-table" directive.
2460   - Added ``stub-columns`` option to "csv-table" and "list-table"
2461     directives.
2463 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
2464   mappings by Martijn Pieters.
2466 * docutils/readers/standalone.py:
2468   - Added ``section_subtitles`` setting to activate or deactivate the
2469     ``SectSubTitle`` transform.
2471 * docutils/transforms/frontmatter.py:
2473   - Added SectSubTitle transform to promote titles of lone
2474     subsections to subtitles.
2476 * docutils/transforms/references.py:
2478   - Fixed mislocated internal targets bug, by propagating internal
2479     targets to the next node, making use of the newly added support
2480     for multiple names and IDs.
2481   - Fixed duplicate footnote label bug.
2482   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
2483     transform.
2485 * docutils/writers/html4css1.py:
2487   - Fixed unencoded stylesheet reference bug (characters like "&" in
2488     stylesheet references).
2489   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
2490     tags).
2491   - Added support for multiple IDs per node by creating empty ``span``
2492     tags.
2493   - Added the ``field_name_limit`` & ``option_limit`` settings &
2494     support.
2495   - Added support for table stub columns.
2496   - Added support for the ``align`` attribute on ``figure`` elements.
2497   - Added the ``cloak_email_addresses`` setting & support.
2498   - Added ``html_prolog``, ``html_head``, ``html_body``,
2499     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
2500     ``docutils.core.publish_parts``.
2501   - Added support for section subtitles.
2503 * docutils/writers/latex2e.py:
2505   - Fixed tables starting with more than one multirow cell.
2506   - Improved ``--use-latex-docinfo`` so that organization/contact/address
2507     fields are lumped with the last author field and appear on the
2508     titlepage.
2509   - Made sure the titlepage is always shown with ``--use-latex-docinfo``,
2510     even if the document has no title.
2511   - Made sure that latex doesn't fill in today's date if no date field
2512     was given.
2513   - Added support for section subtitles.
2515 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
2516   (under development).
2518 * docutils/writers/null.py: Added to project; a do-nothing Writer.
2520 * docs/api/publisher.txt:
2522   - Added "``publish_parts`` Details" section.
2524 * docutils/dev/repository.txt: Added to project; information about the
2525   Docutils Subversion repository.
2527 * docs/ref/docutils.dtd:
2529   - Added a ``stub`` attribute to the ``colspec`` element via the
2530     ``tbl.colspec.att`` parameter entity.
2531   - Allowed topic elements within sidebars
2532   - Added an ``align`` attribute to the ``figure`` element.
2534 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
2535   writer.
2538 Release 0.3.7 (2004-12-24)
2539 ==========================
2541 * docutils/frontend.py:
2543   - Added options: ``--input-encoding-error-handler``,
2544     ``--record-dependencies``, ``--leave-footnote-reference-space``,
2545     ``--strict-visitor``.
2546   - Added command-line and config file support for "overrides" setting
2547     parameter.
2549 * docutils/io.py:
2551   - Added support for input encoding error handler.
2553 * docutils/nodes.py:
2555   - Added dispatch_visit and dispatch_departure methods to
2556     NodeVisitor; useful as a hook for Visitors.
2557   - Changed structure of ``line_block``; added ``line``.
2558   - Added ``compound`` node class.
2559   - Added a mechanism for Visitors to transitionally ignore new node
2560     classes.
2562 * docutils/utils.py:
2564   - Moved ``escape2null`` and ``unescape`` functions from
2565     docutils/parsers/rst/states.py.
2567 * docutils/parsers/rst/roles.py:
2569   - Added "raw" role.
2570   - Changed role function API: the "text" parameter now takes
2571     null-escaped interpreted text content.
2573 * docutils/parsers/rst/states.py:
2575   - Fixed bug where a "role" directive in a nested parse would crash
2576     the parser; the state machine's "language" attribute was not being
2577     copied over.
2578   - Added support for line block syntax.
2579   - Fixed directive parsing bug: argument-less directives didn't
2580     notice that arguments were present.
2581   - Removed error checking for transitions.
2582   - Added support for multiple classifiers in definition list items.
2583   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
2584   - Changed role function API: the "text" parameter now takes
2585     null-escaped interpreted text content.
2586   - Empty sections and documents are allowed now.
2588 * docutils/parsers/rst/directives/__init__.py:
2590   - Added ``encoding`` directive option conversion function.
2591   - Allow multiple class names in class_option conversion function.
2593 * docutils/parsers/rst/directives/body.py:
2595   - Converted the line-block directive to use the new structure.
2596   - Extracted the old line-block functionality to the ``block``
2597     function (still used).
2598   - Added ``compound`` directive (thanks to Lea Wiemann).
2600 * docutils/parsers/rst/directives/misc.py:
2602   - Added "encoding" option to "include" and "raw" directives.
2603   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
2604   - Allow multiple class names in the "class" directive.
2606 * docutils/parsers/rst/directives/parts.py:
2608   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
2609     options.  Thanks to Lele Gaifax.
2611 * docutils/parsers/rst/directives/tables.py:
2613   - Added "encoding" directive to "csv-table" directive.
2614   - Added workaround for lack of Unicode support in csv.py, for
2615     non-ASCII CSV input.
2617 * docutils/transforms/misc.py:
2619   - Fixed bug when multiple "class" directives are applied to a single
2620     element.
2621   - Enabled multiple format names for "raw" directive.
2623 * docutils/transforms/references.py:
2625   - Added support for trimming whitespace from beside substitution
2626     references.
2628 * docutils/transforms/universal.py:
2630   - FinalChecks now checks for illegal transitions and moves
2631     transitions between sections.
2633 * docutils/writers/html4css1.py:
2635   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
2636   - "stylesheet" and "stylesheet_path" settings are now mutually
2637     exclusive.
2638   - Added support for the new line_block/line structure.
2639   - ``--footnote-references`` now overrides
2640     ``--trim-footnote-reference-space``, if applicable.
2641   - Added support for ``compound`` elements.
2642   - Enabled multiple format names for "raw" directive.
2643   - ``<p>`` tags of a paragraph which is the only visible child of the
2644     document node are no longer stripped.
2645   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
2646     new method ``should_be_compact_paragraph()``.
2647   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
2648     elements.
2649   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
2650     the output if they have their ``class`` attribute set.
2651   - The whole document is now surrounded by a ``<div
2652     class="document">`` element.
2653   - Body-level images are now wrapped by their own ``<div>`` elements,
2654     with image classes copied to the wrapper, and for images which
2655     have the ``:align:`` option set, the surrounding ``<div>`` now
2656     receives a class attribute (like ``class="align-left"``).
2658 * docutils/writers/latex2e.py:
2660   - no newline after depart_term.
2661   - Added translations for some Unicode quotes.
2662   - Added option "font-encoding", made package AE the default.
2663   - `stylesheet`_ and `stylesheet_path`_ settings are now mutually
2664     exclusive.
2665   - ``--footnote-references`` now overrides
2666     ``--trim-footnote-reference-space``, if applicable.
2667   - The footnote label style now matches the footnote reference style
2668     ("brackets" or "superscript").
2669   - Added support for ``compound`` elements.
2670   - Enabled multiple format names for "raw" directive.
2672 * docs/ref/docutils.dtd:
2674   - Changed structure of the ``line_block`` element; added ``line``.
2675   - Added ``compound`` element.
2676   - Added "ltrim" and "rtrim" attributes to
2677     ``substitution_definition`` element.
2678   - Enabled multiple format names for ``raw`` element.
2679   - Enabled multiple classifiers in ``definition_list_item`` elements.
2681 * docs/ref/rst/directives.txt
2683   - Marked "line-block" as deprecated.
2684   - "Class" directive now allows multiple class names.
2685   - Added "Rationale for Class Attribute Value Conversion".
2686   - Added warning about "raw" overuse/abuse.
2688 * docs/ref/rst/restructuredtext.txt:
2690   - Added syntax for line blocks.
2691   - Definition list items may have multiple classifiers.
2693 * docs/ref/rst/roles.txt:
2695   - Added "raw" role.
2697 * tools/stylesheets/default.css:
2699   - Added support for the new line_block structure.
2700   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
2703 Release 0.3.5 (2004-07-29)
2704 ==========================
2706 General:
2708 * _`Documentation cleanup/reorganization`.
2710   - Created new subdirectories of docs/:
2712     * ``docs/user/``: introductory/tutorial material for end-users
2713     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
2714     * ``docs/api/``: API reference material for client-developers
2715     * ``docs/ref/``: reference material for all groups
2716     * ``docs/howto/``: for component-developers and core-developers
2717     * ``docs/peps/``: Python Enhancement Proposals
2719   - Moved ``docs/*`` to ``docs/user/``.
2720   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
2721     ``spec/`` to ``docs/dev``.
2722   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
2723     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
2724   - Moved ``alternatives.txt``, and ``problems.txt`` from
2725     ``spec/rst/`` to ``docs/dev/rst/``.
2726   - Moved ``reStructuredText.txt``, ``directives.txt``,
2727     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
2728     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
2729     ``roles.txt``, ``reStructuredText.txt`` to
2730     ``restructuredtext.txt``.
2731   - Moved ``spec/howto/`` to ``docs/howto``.
2733   In order to keep the CVS history of moved files, we supplied
2734   SourceForge with a script for modifying the Docutils CVS repository.
2736   After running the cleanup script:
2738   - Added ``docs/index.txt``.
2739   - Added a ``.htaccess`` file to the ``web`` module, containing
2740     redirects for all old paths to new paths.  They'll preserve
2741     fragments (the "#name" part of a URL), and won't clutter up the
2742     file system, and will correct the URL in the user's browser.
2743   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
2744     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
2745     the "To Do" list itself in ``docs/dev/todo.txt``.
2746   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
2747     section of ``docs/dev/todo.txt``.
2748   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
2749   - Added "How To Report Bugs" to ``BUGS.txt``.
2750   - Went through all the sources and docs (including under web/) and
2751     updated links.  Mostly done by Lea Wiemann; thanks Lea!
2752     (Still need to update links in the sandboxes.)
2754 Specific:
2756 * BUGS.txt: Added to project.
2758 * THANKS.txt: Added to project.
2760 * docutils/__init__.py:
2762   - 0.3.4: Post-release.
2764 * docutils/core.py:
2766   - Added special error handling & advice for UnicodeEncodeError.
2767   - Refactored Publisher.publish (simplified exception handling &
2768     extracted debug dumps).
2769   - Renamed "enable_exit" parameter of convenience functions to
2770     "enable_exit_status".
2771   - Enabled traceback (exception propagation) by default in
2772     programmatic convenience functions.
2773   - Now publish_file and publish_cmdline convenience functions return
2774     the encoded string results in addition to their regular I/O.
2775   - Extracted common code from publish_file, publish_string, and
2776     publish_parts, into new publish_programmatically.  Extracted
2777     settings code to ``Publisher.process_programmatic_settings``.
2778   - In Publisher.publish, disabled ``settings_overrides`` when
2779     ``settings`` is supplied; redundant.
2781 * docutils/frontend.py:
2783   - Added help text for ``--output-encoding-error-handler`` and
2784     ``--error-encoding-error-handler``.
2785   - Renamed ``--exit`` to ``--exit-status``.
2786   - Simplified default-setting code.
2788 * docutils/parsers/rst/__init__.py:
2790   - Added ``--pep-base-url`` and ``--rfc-base-url`` options.
2792 * docutils/parsers/rst/states.py:
2794   - Made URI recognition more aggressive and intelligent.
2796 * docutils/parsers/rst/directives/__init__.py:
2798   - Added several directive option conversion functions.
2800 * docutils/parsers/rst/directives/body.py:
2802   - Moved "table" directive to tables.py.
2804 * docutils/parsers/rst/directives/tables.py: Table-related directives,
2805   added to project.
2807 * docutils/writers/latex2e.py:
2809   - Added ``--table-style=(standard|booktabs|nolines)``
2810   - figures get "here" option (LaTeX per default puts them at bottom),
2811     and figure content is centered.
2812   - Rowspan support for tables.
2813   - Fix: admonition titles before first section.
2814   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
2815   - Replave ``_`` in literal by an underlined blank, because it has the correct
2816     width.
2817   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
2818   - A few unicode replacements, if output_encoding != utf
2819   - Add `graphicx_option`_ setting.
2820   - Indent literal-blocks.
2821   - Fix: omit ``\maketitle`` when there is no document title.
2823 * docs/index.txt: "Docutils Project Documentation Overview", added to
2824   project.
2826 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
2827   Tool", added to project.
2829 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
2831 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
2833 * docs/dev/policies.txt: Added to project (extracted from
2834   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
2836 * docs/dev/release.txt: Added to project (extracted from
2837   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
2839 * docs/dev/testing.txt: Added to project.
2841 * docs/dev/website.txt: Added to project (extracted from
2842   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
2844 * docs/ref/rst/directives.txt:
2846   - Added directives: "table", "csv-table".
2848 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
2849   added to project.  1 page for syntax, and a 1 page reference for
2850   directives and roles.  Source text to be used as-is; not meant to be
2851   converted to HTML.
2853 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
2854   with a change of title.
2856 * test/functional/, contents, and test/test_functional.py: Added to
2857   project.
2859 * tools/buildhtml.py: Fixed bug with config file handling.
2861 * tools/html.py: Removed from project (duplicate of rst2html.py).
2863 * tools/pep2html.py: Removed from project (duplicate of Python's
2864   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
2865   Docutils-related PEPs in docs/peps/).
2867 * tools/rst2pseudoxml.py: Renamed from publish.py.
2869 * tools/rst2xml.py: Renamed from docutils-xml.py.
2871 * tools/test.txt: Removed from project; moved to
2872   docs/user/rst/demo.txt.
2874 * setup.py: Now also installs ``rst2latex.py``.
2877 Release 0.3.3 (2004-05-09)
2878 ==========================
2880 * docutils/__init__.py:
2882   - 0.3.1: Reorganized config file format (multiple sections); see
2883     docs/config.txt.
2884   - Added unknown_reference_resolvers attribute to TransformSpec.
2885   - 0.3.2: Interpreted text reorganization.
2886   - 0.3.3: Released.
2888 * docutils/core.py:
2890   - Catch system messages to stop tracebacks from parsing errors.
2891   - Catch exceptions during processing report & exit without
2892     tracebacks, except when ``--traceback`` used.
2893   - Reordered components for OptionParser; application comes last.
2894   - Added "config_section" parameter to several methods and functions,
2895     allowing front ends to easily specify their config file sections.
2896   - Added publish_parts convenience function to allow access to individual
2897     parts of a document.
2899 * docutils/examples.py: Added to project; practical examples of
2900   Docutils client code, to be used as-is or as models for variations.
2902 * docutils/frontend.py:
2904   - Added "traceback" setting.
2905   - Implemented support for config file reorganization:
2906     ``standard_config_files`` moved from ``ConfigParser`` to
2907     ``OptionParser``; added
2908     ``OptionParser.get_config_file_settings()`` and
2909     ``.get_standard_config_settings()``; support for old "[options]"
2910     section (with deprecation warning) and mapping from old to new
2911     settings.
2912   - Reimplemented setting validation.
2913   - Enabled flexible boolean values: yes/no, true/false, on/off.
2914   - Added ``Values``, a subclass of ``optparse.Values``, with support
2915     for list setting attributes.
2916   - Added support for new ``DOCUTILSCONFIG`` environment variable;
2917     thanks to Beni Cherniavsky.
2918   - Added ``--no-section-numbering`` option.
2920 * docutils/io.py:
2922   - Catch IOErrors when opening source & destination files, report &
2923     exit without tracebacks.  Added ``handle_io_errors`` parameter to
2924     ``FileInput`` & ``FileOutput`` to enable caller error handling.
2926 * docutils/nodes.py:
2928   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
2929     method definitions (via ``exec``) to dynamic assignments (via
2930     ``setattr``); thanks to Roman Suzi.
2931   - Encapsulated visitor dynamic assignments in a function; thanks to
2932     Ian Bicking.
2933   - Added indirect_reference_name attribute to the Targetable
2934     class. This attribute holds the whitespace_normalized_name
2935     (contains mixed case) of a target.
2937 * docutils/statemachine.py:
2939   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
2940   - Added ``StringList.get_2D_block``.
2942 * docutils/utils.py:
2944   - Added "level" attribute to SystemMessage exceptions.
2946 * docutils/languages/af.py: Added to project; Afrikaans mappings by
2947   Jannie Hofmeyr.
2949 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
2950   Blaha.
2952 * docutils/languages/eo.py: Added to project; Esperanto mappings by
2953   Marcelo Huerta San Martin.
2955 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
2956   mappings by Lalo Martins.
2958 * docutils/languages/ru.py: Added to project; Russian mappings by
2959   Roman Suzi.
2961 * docutils/parsers/rst/roles.py: Added to project.  Contains
2962   interpreted text role functions, a registry for interpreted text
2963   roles, and an API for adding to and retrieving from the registry.
2964   Contributed by Edward Loper.
2966 * docutils/parsers/rst/states.py:
2968   - Updated ``RSTState.nested_parse`` for "include" in table cells.
2969   - Allowed true em-dash character and "``---``" as block quote
2970     attribution marker.
2971   - Added support for <angle-bracketed> complex option arguments
2972     (option lists).
2973   - Fixed handling of backslashes in substitution definitions.
2974   - Fixed off-by-1 error with extra whitespace after substitution
2975     definition directive.
2976   - Added inline markup parsing to field lists' field names.
2977   - Added support for quoted (and unindented) literal blocks.
2978     Driven in part by a bribe from Frank Siebenlist (thanks!).
2979   - Parser now handles escapes in URIs correctly.
2980   - Made embedded-URIs' reference text omittable.  Idea from Beni
2981     Cherniavsky.
2982   - Refactored explicit target processing code.
2983   - Added name attribute to references containing the reference name only
2984     through whitespace_normalize_name (no case changes).
2985   - parse_target no longer returns the refname after going through
2986     normalize_name. This is now handled in make_target.
2987   - Fixed bug relating to role-less interpreted text in non-English
2988     contexts.
2989   - Reorganized interpreted text processing; moved code into the new
2990     roles.py module.  Contributed by Edward Loper.
2991   - Refactored ``Body.parse_directive`` into ``run_directive`` and
2992     ``parse_directive_block``.
2994 * docutils/parsers/rst/tableparser.py:
2996   - Reworked for ``StringList``, to support "include" directives in
2997     table cells.
2999 * docutils/parsers/rst/directives/__init__.py:
3001   - Renamed ``unchanged()`` directive option conversion function to
3002     ``unchanged_required``, and added a new ``unchanged``.
3003   - Catch unicode value too high error; fixes bug 781766.
3004   - Beefed up directive error reporting.
3006 * docutils/parsers/rst/directives/body.py:
3008   - Added basic "table" directive.
3010 * docutils/parsers/rst/directives/images.py:
3012   - Added "target" option to "image" directive.
3013   - Added name attribute to references containing the reference name only
3014     through whitespace_normalize_name (no case changes).
3016 * docutils/parsers/rst/directives/misc.py:
3018   - Isolated the import of the ``urllib2`` module; was causing
3019     problems on SourceForge (``libssl.so.2`` unavailable?).
3020   - Added the "role" directive for declaring custom interpreted text
3021     roles.
3023 * docutils/parsers/rst/directives/parts.py:
3025   - The "contents" directive does more work up-front, creating the
3026     "topic" and "title", and leaving the "pending" node for the
3027     transform.  Allows earlier reference resolution; fixes subtle bug.
3029 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
3030   mappings by Jannie Hofmeyr.
3032 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
3033   mappings by Marek Blaha.
3035 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
3036   mappings by Marcelo Huerta San Martin.
3038 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
3039   Portuguese mappings by Lalo Martins.
3041 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
3042   mappings by Roman Suzi.
3044 * docutils/transforms/parts.py:
3046   - The "contents" directive does more work up-front, creating the
3047     "topic" and "title", and leaving the "pending" node for the
3048     transform.  Allows earlier reference resolution; fixes subtle bug.
3049   - Added support for disabling of section numbering.
3051 * docutils/transforms/references.py:
3053   - Verifying that external targets are truly targets and not indirect
3054     references. This is because we are now adding a "name" attribute to
3055     references in addition to targets. Note sure if this is correct!
3056   - Added code to hook into the unknown_reference_resolvers list for a
3057     transformer in resolve_indirect_target. This allows the
3058     unknown_reference_resolvers to keep around indirect targets which
3059     docutils doesn't know about.
3060   - Added specific error message for duplicate targets.
3062 * docutils/transforms/universal.py:
3064   - Added FilterMessages transform (removes system messages below the
3065     verbosity threshold).
3066   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
3067     to FinalCheckVisitor for application-specific handling of
3068     unresolvable references.
3069   - Added specific error message for duplicate targets.
3071 * docutils/writers/__init__.py:
3073   - Added assemble_parts method to the Writer class to allow for
3074     access to a documents individual parts.
3075   - Documented & set default for ``Writer.output`` attribute.
3077 * docutils/writers/html4css1.py:
3079   - Fixed unicode handling of attribute values (bug 760673).
3080   - Prevent duplication of "class" attribute values (bug report from
3081     Kirill Lapshin).
3082   - Improved table grid/border handling (prompted by report from Bob
3083     Marshall).
3084   - Added support for table titles.
3085   - Added "<title />" for untitled docs, for XHTML conformance; thanks
3086     to Darek Suchojad.
3087   - Added functionality to keep track of individual parts of a document
3088     and store them in a dictionary as the "parts" attribute of the writer.
3089     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
3090   - Added proper support for the "scale" attribute of the "image"
3091     element.  Contributed by Brent Cook.
3092   - Added ``--initial-header-level`` option.
3093   - Fixed bug: the body_pre_docinfo segment depended on there being a
3094     docinfo; if no docinfo, the document title was incorporated into
3095     the body segment.  Adversely affected the publish_parts interface.
3097 * docutils/writers/latex2e.py:
3099   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
3100     about a missing file.
3101   - Added options and support: ``--compound-enumerators``,
3102     ``--section-prefix-for-enumerators``, and
3103     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
3104     934322).
3105   - Added option ``--use-verbatim-when-possible``, to avoid
3106     problematic characters (eg, '~' in italian) in literal blocks.
3107   - It's now possible to use four section levels in the `book` and
3108     `report` LaTeX document classes.  The default `article` class still has
3109     three levels limit.
3111 * docs/config.txt: "Docutils Configuration Files", added to project.
3112   Moved config file entry descriptions from tools.txt.
3114 * docs/tools.txt:
3116   - Moved config file entry descriptions to config.txt.
3118 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
3119   Development".
3121 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
3122   Text Roles", added to project.
3124 * spec/rst/reStructuredText.txt:
3126   - Added description of support for <angle-bracketed> complex option
3127     arguments to option lists.
3128   - Added subsections for indented and quoted literal blocks.
3130 * test: Continually adding & updating tests.
3132   - Added test/test_settings.py & test/data/config_*.txt support
3133     files.
3134   - Added test/test_writers/test_htmlfragment.py.
3136 * test/DocutilsTestSupport.py:
3138   - Refactored LaTeX publisher test suite/case class names to make
3139     testing other writers easier.
3140   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
3141     to test the processing of HTML fragments which use the new
3142     publish_parts convenience function.
3144 * tools/buildhtml.py:
3146   - Added support for the ``--prune`` option.
3147   - Removed dependency on pep2html.py; plaintext PEPs no longer
3148     supported.
3150 * tools/docutils.conf:
3152   - Updated for configuration file reorganization.
3154 * tools/rst2html.py:
3156   - copied from tools/html.py
3158 * setup.py:
3160   - added a 'scripts' section to configuration
3161   - added 'tools/rst2html.py' to the scripts section
3164 Release 0.3 (2003-06-24)
3165 ========================
3167 General:
3169 * Renamed "attribute" to "option" for directives/extensions.
3171 * Renamed transform method "transform" to "apply".
3173 * Renamed "options" to "settings" for runtime settings (as set by
3174   command-line options).  Sometimes "option" (singular) became
3175   "settings" (plural).  Some variations below:
3177   - document.options -> document.settings (stored in other objects as
3178     well)
3179   - option_spec -> settings_spec (not directives though)
3180   - OptionSpec -> SettingsSpec
3181   - cmdline_options -> settings_spec
3182   - relative_path_options -> relative_path_settings
3183   - option_default_overrides -> settings_default_overrides
3184   - Publisher.set_options -> Publisher.get_settings
3186 Specific:
3188 * COPYING.txt: Added "Public Domain Dedication".
3190 * FAQ.txt: Frequently asked questions, added to project.
3192 * setup.py:
3194   - Updated with PyPI Trove classifiers.
3195   - Conditional installation of third-party modules.
3197 * docutils/__init__.py:
3199   - Bumped version to 0.2.1 to reflect changes to I/O classes.
3200   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
3201   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
3202   - Bumped version to 0.2.3 because of the new ``--embed-stylesheet``
3203     option and its effect on the PEP template & writer.
3204   - Bumped version to 0.2.4 due to changes to the PEP template &
3205     stylesheet.
3206   - Bumped version to 0.2.5 to reflect changes to Reporter output.
3207   - Added ``TransformSpec`` class for new transform system.
3208   - Bumped version to 0.2.6 for API changes (renaming).
3209   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
3210     convenience functions.
3211   - Added ``Component.component_type`` attribute.
3212   - Bumped version to 0.2.8 because of the internal parser switch from
3213     plain lists to the docutils.statemachine.StringList objects.
3214   - Bumped version to 0.2.9 because of the frontend.py API changes.
3215   - Bumped version to 0.2.10 due to changes to the project layout
3216     (third-party modules removed from the "docutils" package), and
3217     signature changes in ``io.Input``/``io.Output``.
3218   - Changed version to 0.3.0 for release.
3220 * docutils/core.py:
3222   - Made ``publish()`` a bit more convenient.
3223   - Generalized ``Publisher.set_io``.
3224   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
3225     parameters; improved its docstring.
3226   - Added ``publish_file()`` and ``publish_string()``.
3227   - Factored ``Publisher.set_source()`` and ``.set_destination()``
3228     out of ``.set_io``.
3229   - Added support for ``--dump-pseudo-xml``, ``--dump-settings``, and
3230     ``--dump-transforms`` hidden options.
3231   - Added ``Publisher.apply_transforms()`` method.
3232   - Added ``Publisher.set_components()`` method; support for
3233     ``publish_*()`` conveninece functions.
3234   - Moved config file processing to docutils/frontend.py.
3235   - Added support for exit status ("exit_level" setting &
3236     ``enable_exit`` parameter for Publisher.publish() and convenience
3237     functions).
3239 * docutils/frontend.py:
3241   - Check for & exit on identical source & destination paths.
3242   - Fixed bug with absolute paths & ``--config``.
3243   - Set non-command-line defaults in ``OptionParser.__init__()``:
3244     ``_source`` & ``_destination``.
3245   - Distributed ``relative_path_settings`` to components; updated
3246     ``OptionParser.populate_from_components()`` to combine it all.
3247   - Require list of keys in ``make_paths_absolute`` (was implicit in
3248     global ``relative_path_settings``).
3249   - Added ``--expose-internal-attribute``, ``--dump-pseudo-xml``,
3250     ``--dump-settings``, and ``--dump-transforms`` hidden options.
3251   - Removed nasty internals-fiddling ``ConfigParser.get_section``
3252     code, replaced with correct code.
3253   - Added validation functionality for config files.
3254   - Added ``--error-encoding`` option/setting, "_disable_config"
3255     internal setting.
3256   - Added encoding validation; updated ``--input-encoding`` and
3257     ``--output-encoding``; added ``--error-encoding-error-handler`` and
3258     ``--output-encoding-error-handler``.
3259   - Moved config file processing from docutils/core.py.
3260   - Updated ``OptionParser.populate_from_components`` to handle new
3261     ``SettingsSpec.settings_defaults`` dict.
3262   - Added support for "-" => stdin/stdout.
3263   - Added "exit_level" setting (``--exit`` option).
3265 * docutils/io.py:
3267   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
3268   - Added automatic closing to ``FileInput`` and ``FileOutput``.
3269   - Delayed opening of ``FileOutput`` file until ``write()`` called.
3270   - ``FileOutput.write()`` now returns the encoded output string.
3271   - Try to get path/stream name automatically in ``FileInput`` &
3272     ``FileOutput``.
3273   - Added defaults for source & destination paths.
3274   - Allow for Unicode I/O with an explicit "unicode" encoding.
3275   - Added ``Output.encode()``.
3276   - Removed dependency on runtime settings; pass encoding directly.
3277   - Recognize Unicode strings in ``Input.decode()``.
3278   - Added support for output encoding error handlers.
3280 * docutils/nodes.py:
3282   - Added "Invisible" element category class.
3283   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
3284     modification during a traversal.
3285   - Added element classes: ``line_block``, ``generated``, ``address``,
3286     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
3287     ``superscript``, ``subscript``, ``inline``
3288   - Added support for lists of nodes to ``Element.insert()``.
3289   - Fixed parent linking in ``Element.replace()``.
3290   - Added new abstract superclass ``FixedTextElement``; adds
3291     "xml:space" attribute.
3292   - Added support for "line" attribute of ``system_message`` nodes.
3293   - Added support for the observer pattern from ``utils.Reporter``.
3294     Added ``parse_messages`` and ``transform_messages`` attributes to
3295     ``document``, removed ``messages``.  Added ``note_parse_message``
3296     and ``note_transform_message`` methods.
3297   - Added support for improved diagnostics:
3299     - Added "document", "source", and "line" internal attributes to
3300       ``Node``, set by ``Node.setup_child()``.
3301     - Converted variations on ``node.parent = self`` to
3302       ``self.setup_child(node)``.
3303     - Added ``document.current_source`` & ``.current_line``
3304       attributes, and ``.note_source`` observer method.
3305     - Changed "system_message" output to GNU-Tools format.
3307   - Added a "rawsource" attribute to the ``Text`` class, for text
3308     before backslash-escape resolution.
3309   - Support for new transform system.
3310   - Reworked ``pending`` element.
3311   - Fixed XML DOM bug (SF #660611).
3312   - Removed the ``interpeted`` element class and added
3313     ``title_reference``, ``abbreviation``, ``acronym``.
3314   - Made substitutions case-sensitive-but-forgiving; moved some code
3315     from the parser.
3316   - Fixed Unicode bug on element attributes (report: William Dode).
3318 * docutils/optik.py: Removed from project; replaced with
3319   extras/optparse.py and extras/textwrap.py.  These will be installed
3320   only if they're not already present in the Python installation.
3322 * docutils/roman.py: Moved to extras/roman.py; this will be installed
3323   only if it's not already present in the Python installation.
3325 * docutils/statemachine.py:
3327   - Factored out ``State.add_initial_transitions()`` so it can be
3328     extended.
3329   - Converted whitespace-specific "blank" and "indent" transitions
3330     from special-case code to ordinary transitions: removed
3331     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
3332     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
3333     ``ws_initial_transitions`` attributes.
3334   - Removed ``State.match_transition()`` after merging it into
3335     ``.check_line()``.
3336   - Added ``StateCorrection`` exception.
3337   - Added support for ``StateCorrection`` in ``StateMachine.run()``
3338     (moved ``TransitionCorrection`` support there too.)
3339   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
3340     ``EOFError`` instead of ``IndexError``.
3341   - Added ``State.no_match`` method.
3342   - Added support for the Observer pattern, triggered by input line
3343     changes.
3344   - Added ``strip_top`` parameter to
3345     ``StateMachineWS.get_first_known_indented``.
3346   - Made ``context`` a parameter to ``StateMachine.run()``.
3347   - Added ``ViewList`` & ``StringList`` classes;
3348     ``extract_indented()`` becomes ``StringList.get_indented()``.
3349   - Added ``StateMachine.insert_input()``.
3350   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
3351     thanks to) Fred Drake.
3353 * docutils/utils.py:
3355   - Added a ``source`` attribute to Reporter instances and
3356     ``system_message`` elements.
3357   - Added an observer pattern to ``utils.Reporter`` to keep track of
3358     system messages.
3359   - Fixed bugs in ``relative_path()``.
3360   - Added support for improved diagnostics.
3361   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
3362   - Added support for encoding Reporter stderr output, and encoding
3363     error handlers.
3364   - Reporter keeps track of the highest level system message yet
3365     generated.
3367 * docutils/languages: Fixed bibliographic field language lookups.
3369 * docutils/languages/es.py: Added to project; Spanish mappings by
3370   Marcelo Huerta San Martin.
3372 * docutils/languages/fr.py: Added to project; French mappings by
3373   Stefane Fermigier.
3375 * docutils/languages/it.py: Added to project; Italian mappings by
3376   Nicola Larosa.
3378 * docutils/languages/sk.py: Added to project; Slovak mappings by
3379   Miroslav Vasko.
3381 * docutils/parser/__init__.py:
3383   - Added ``Parser.finish_parse()`` method.
3385 * docutils/parser/rst/__init__.py:
3387   - Added options: ``--pep-references``, ``--rfc-references``,
3388     ``--tab-width``, ``--trim-footnote-reference-space``.
3390 * docutils/parsers/rst/states.py:
3392   - Changed "title under/overline too short" system messages from INFO
3393     to WARNING, and fixed its insertion location.
3394   - Fixed enumerated list item parsing to allow paragraphs & section
3395     titles to begin with enumerators.
3396   - Converted system messages to use the new "line" attribute.
3397   - Fixed a substitution reference edge case.
3398   - Added support for ``--pep-references`` and ``--rfc-references``
3399     options; reworked ``Inliner`` code to make customization easier.
3400   - Removed field argument parsing.
3401   - Added support for short section title over/underlines.
3402   - Fixed "simple reference name" regexp to ignore text like
3403     "object.__method__"; not an anonymous reference.
3404   - Added support for improved diagnostics.
3405   - Reworked directive API, based on Dethe Elza's contribution.  Added
3406     ``Body.parse_directive()``, ``.parse_directive_options()``,
3407     ``.parse_directive_arguments()`` methods.
3408   - Added ``ExtensionOptions`` class, to parse directive options
3409     without parsing field bodies.  Factored
3410     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
3411     ``ExtensionOptions``.
3412   - Improved definition list term/classifier parsing.
3413   - Added warnings for unknown directives.
3414   - Renamed ``Stuff`` to ``Struct``.
3415   - Now flagged as errors: transitions at the beginning or end of
3416     sections, empty sections (except title), and empty documents.
3417   - Updated for ``statemachine.StringList``.
3418   - Enabled recognition of schemeless email addresses in targets.
3419   - Added support for embedded URIs in hyperlink references.
3420   - Added backslash-escapes to inline markup end-string suffix.
3421   - Added support for correct interpreted text processing.
3422   - Fixed nested title parsing (topic, sidebar directives).
3423   - Added special processing of backslash-escaped whitespace (idea
3424     from David Abrahams).
3425   - Made substitutions case-sensitive-but-forgiving; moved some code
3426     to ``docutils.nodes``.
3427   - Added support for block quote attributions.
3428   - Added a kludge to work-around a conflict between the bubble-up
3429     parser strategy and short titles (<= 3 char-long over- &
3430     underlines).  Fixes SF bug #738803 "infinite loop with multiple
3431     titles" submitted by Jason Diamond.
3432   - Added explicit interpreted text roles for standard inline markup:
3433     "emphasis", "strong", "literal".
3434   - Implemented "superscript" and "subscript" interpreted text roles.
3435   - Added initial support for "abbreviation" and "acronym" roles;
3436     incomplete.
3437   - Added support for ``--trim-footnote-reference-space`` option.
3438   - Optional space before colons in directives & hyperlink targets.
3440 * docutils/parsers/rst/tableparser.py:
3442   - Fixed a bug that was producing unwanted empty rows in "simple"
3443     tables.
3444   - Detect bad column spans in "simple" tables.
3446 * docutils/parsers/rst/directives: Updated all directive functions to
3447   new API.
3449 * docutils/parsers/rst/directives/__init__.py:
3451   - Added ``flag()``, ``unchanged()``, ``path()``,
3452     ``nonnegative_int()``, ``choice()``, and ``class_option()``
3453     directive option helper functions.
3454   - Added warnings for unknown directives.
3455   - Return ``None`` for missing directives.
3456   - Added ``register_directive()``, thanks to William Dode and Paul
3457     Moore.
3459 * docutils/parsers/rst/directives/admonitions.py:
3461   - Added "admonition" directive.
3463 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
3464   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
3465   "parsed-literal", "rubric", "epigraph", "highlights" and
3466   "pull-quote" directives.
3468 * docutils/parsers/rst/directives/images.py:
3470   - Added an "align" attribute to the "image" & "figure" directives
3471     (by Adam Chodorowski).
3472   - Added "class" option to "image", and "figclass" to "figure".
3474 * docutils/parsers/rst/directives/misc.py:
3476   - Added "include", "raw", and "replace" directives, courtesy of
3477     Dethe Elza.
3478   - Added "unicode" and "class" directives.
3480 * docutils/parsers/rst/directives/parts.py:
3482   - Added the "sectnum" directive; by Dmitry Jemerov.
3483   - Added "class" option to "contents" directive.
3485 * docutils/parsers/rst/directives/references.py: Added to project.
3486   Contains the "target-notes" directive.
3488 * docutils/parsers/rst/languages/__init__.py:
3490   - Return ``None`` from get_language() for missing language modules.
3492 * docutils/parsers/rst/languages/de.py: Added to project; German
3493   mappings by Engelbert Gruber.
3495 * docutils/parsers/rst/languages/en.py:
3497   - Added interpreted text roles mapping.
3499 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
3500   mappings by Marcelo Huerta San Martin.
3502 * docutils/parsers/rst/languages/fr.py: Added to project; French
3503   mappings by William Dode.
3505 * docutils/parsers/rst/languages/it.py: Added to project; Italian
3506   mappings by Nicola Larosa.
3508 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
3509   mappings by Miroslav Vasko.
3511 * docutils/readers/__init__.py:
3513   - Added support for the observer pattern from ``utils.Reporter``, in
3514     ``Reader.parse`` and ``Reader.transform``.
3515   - Removed ``Reader.transform()`` method.
3516   - Added default parameter values to ``Reader.__init__()`` to make
3517     instantiation easier.
3518   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
3520 * docutils/readers/pep.py:
3522   - Added the ``peps.TargetNotes`` transform to the Reader.
3523   - Removed PEP & RFC reference detection code; moved to
3524     parsers/rst/states.py as options (enabled here by default).
3525   - Added support for pre-acceptance PEPs (no PEP number yet).
3526   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
3527     easy subclassing.
3529 * docutils/readers/python: Python Source Reader subpackage added to
3530   project, including preliminary versions of:
3532   - __init__.py
3533   - moduleparser.py: Parser for Python modules.
3535 * docutils/transforms/__init__.py:
3537   - Added ``Transformer`` class and completed transform reform.
3538   - Added unknown_reference_resolvers list for each transformer. This list holds
3539     the list of functions provided by each component of the transformer that
3540     help resolve references.
3542 * docutils/transforms/frontmatter.py:
3544   - Improved support for generic fields.
3545   - Fixed bibliographic field language lookups.
3547 * docutils/transforms/misc.py: Added to project.  Miscellaneous
3548   transforms.
3550 * docutils/transforms/parts.py:
3552   - Moved the "id" attribute from TOC list items to the references
3553     (``Contents.build_contents()``).
3554   - Added the ``SectNum`` transform; by Dmitry Jemerov.
3555   - Added "class" attribute support to ``Contents``.
3557 * docutils/transforms/peps.py:
3559   - Added ``mask_email()`` function, updating to pep2html.py's
3560     functionality.
3561   - Linked "Content-Type: text/x-rst" to PEP 12.
3562   - Added the ``TargetNotes`` PEP-specific transform.
3563   - Added ``TargetNotes.cleanup_callback``.
3564   - Added title check to ``Headers``.
3566 * docutils/transforms/references.py:
3568   - Added the ``TargetNotes`` generic transform.
3569   - Split ``Hyperlinks`` into multiple transforms.
3570   - Fixed bug with multiply-indirect references (report: Bruce Smith).
3571   - Added check for circular indirect references.
3572   - Made substitutions case-sensitive-but-forgiving.
3574 * docutils/transforms/universal.py:
3576   - Added support for the ``--expose-internal-attributes`` option.
3577   - Removed ``Pending`` transform classes & data.
3579 * docutils/writers/__init__.py:
3581   - Removed ``Writer.transform()`` method.
3583 * docutils/writers/docutils-xml.py:
3585   - Added XML and doctype declarations.
3586   - Added ``--no-doctype`` and ``--no-xml-declaration`` options.
3588 * docutils/writers/html4css1.py:
3590   - "name" attributes only on these tags: a, applet, form, frame,
3591     iframe, img, map.
3592   - Added "name" attribute to <a> in section titles for Netscape 4
3593     support (bug report: Pearu Peterson).
3594   - Fixed targets (names) on footnote, citation, topic title,
3595     problematic, and system_message nodes (for Netscape 4).
3596   - Changed field names from "<td>" to "<th>".
3597   - Added "@" to "&#64;" encoding to thwart address harvesters.
3598   - Improved the vertical whitespace optimization; ignore "invisible"
3599     nodes (targets, comments, etc.).
3600   - Improved inline literals with ``<span class="pre">`` around chunks
3601     of text and ``&nbsp;`` for runs of spaces.
3602   - Improved modularity of output; added ``self.body_pre_docinfo`` and
3603     ``self.docinfo`` segments.
3604   - Added support for "line_block", "address" elements.
3605   - Improved backlinks (footnotes & system_messages).
3606   - Improved system_message output.
3607   - Redefined ``--stylesheet`` as containing an invariant URL, used
3608     verbatim.  Added ``--stylesheet-path``, interpreted w.r.t. the
3609     working directory.
3610   - Added ``--footnote-references`` option (superscript or brackets).
3611   - Added ``--compact-lists`` and ``--no-compact-lists`` options.
3612   - Added ``--embed-stylesheet`` and ``--link-stylesheet`` options;
3613     factored out ``HTMLTranslator.get_stylesheet_reference()``.
3614   - Improved field list rendering.
3615   - Added Docutils version to "generator" meta tag.
3616   - Fixed a bug with images; they must be inline, so wrapped in <p>.
3617   - Improved layout of <pre> HTML source.
3618   - Fixed attribute typo on <colspec>.
3619   - Refined XML prologue.
3620   - Support for no stylesheet.
3621   - Removed "interpreted" element support.
3622   - Added support for "title_reference", "sidebar", "attribution",
3623     "rubric", and generic "admonition" elements.
3624   - Added ``--attribution`` option.
3625   - Added support for "inline", "subscript", "superscript" elements.
3626   - Added initial support for "abbreviation" and "acronym";
3627     incomplete.
3629 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
3630   (from the sandbox).
3632   - Added french.
3633   - Double quotes in literal blocks (special treatment for de/ngerman).
3634   - Added ``--hyperlink-color`` option ('0' turns off coloring of links).
3635   - Added ``--attribution`` option.
3636   - Right align attributions.
3638 * docutils/writers/pep_html.py:
3640   - Parameterized output encoding in PEP template.
3641   - Reworked substitutions from ``locals()`` into ``subs`` dict.
3642   - Redefined ``--pep-stylesheet`` as containing an invariant URL, used
3643     verbatim.  Added ``--pep-stylesheet-path``, interpreted w.r.t. the
3644     working directory.
3645   - Added an override on the ``--footnote-references`` option.
3646   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
3647   - Added Docutils version to "generator" meta tag.
3648   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
3650 * docs/tools.txt:
3652   - Added a "silent" setting for ``buildhtml.py``.
3653   - Added a "Getting Help" section.
3654   - Rearranged the structure.
3655   - Kept up to date, with new settings, command-line options etc.
3656   - Added section for ``rst2latex.py`` (Engelbert Gruber).
3657   - Converted settings table into a definition list.
3659 * docs/rst/quickstart.txt:
3661   - Added a table of contents.
3662   - Added feedback information.
3663   - Added mention of minimum section title underline lengths.
3664   - Removed the 4-character minimum for section title underlines.
3666 * docs/rst/quickref.html:
3668   - Added a "Getting Help" section.
3669   - Added a style to make section title backlinks more subtle.
3670   - Added mention of minimum section title underline lengths.
3671   - Removed the 4-character minimum for section title underlines.
3673 * extras: Directory added to project; contains third-party modules
3674   that Docutils depends on (optparse, textwrap, roman).  These are
3675   only installed if they're not already present.
3677 * licenses: Directory added to project; contains copies of license
3678   files for non-public-domain files.
3680 * spec/doctree.txt:
3682   - Changed the focus.  It's about DTD elements:  structural
3683     relationships, semantics, and external (public) attributes.  Not
3684     about the element class library.
3685   - Moved some implementation-specific stuff into ``docutils.nodes``
3686     docstrings.
3687   - Wrote descriptions of all common attributes and parameter
3688     entities.  Filled in introductory material.
3689   - Working through the element descriptions: 55 down, 37 to go.
3690   - Removed "Representation of Horizontal Rules" to
3691     spec/rst/alternatives.txt.
3693 * spec/docutils.dtd:
3695   - Added "generated" inline element.
3696   - Added "line_block" body element.
3697   - Added "auto" attribute to "title".
3698   - Changed content models of "literal_block" and "doctest_block" to
3699     ``%text.model``.
3700   - Added ``%number;`` attribute type parameter entity.
3701   - Changed ``%structural.elements;`` to ``%section.elements``.
3702   - Updated attribute types; made more specific.
3703   - Added "address" bibliographic element.
3704   - Added "line" attribute to ``system_message`` element.
3705   - Removed "field_argument" element; "field_name" may contain
3706     multiple words and whitespace.
3707   - Changed public identifier to docutils.sf.net.
3708   - Removed "interpreted" element; added "title_reference",
3709     "abbreviation", "acronym".
3710   - Removed "refuri" attribute from "footnote_reference" and
3711     "citation_reference".
3712   - Added "sidebar", "rubric", "attribution", "admonition",
3713     "superscript", "subscript", and "inline" elements.
3715 * spec/pep-0256.txt: Converted to reStructuredText & updated.
3717 * spec/pep-0257.txt: Converted to reStructuredText & updated.
3719 * spec/pep-0258.txt: Converted to reStructuredText & updated.
3721 * spec/semantics.txt: Updated with text from a Doc-SIG response to
3722   Dallas Mahrt.
3724 * spec/transforms.txt: Added to project.
3726 * spec/howto: Added subdirectory, for developer how-to docs.
3728 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
3729   Elza, edited & extended by David Goodger.
3731 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
3732   project.
3734 * spec/rst/alternatives.txt:
3736   - Added "Doctree Representation of Transitions" from
3737     spec/doctree.txt.
3738   - Updated "Inline External Targets" & closed the debate.
3739   - Added ideas for interpreted text syntax extensions.
3740   - Added "Nested Inline Markup" section.
3742 * spec/rst/directives.txt:
3744   - Added directives: "topic", "sectnum", "target-notes",
3745     "line-block", "parsed-literal", "include", "replace", "sidebar",
3746     "admonition", "rubric", "epigraph", "highlights", "unicode" and
3747     "class".
3748   - Formalized descriptions of directive details.
3749   - Added an "align" attribute to the "image" & "figure" directives
3750     (by Adam Chodorowski).
3751   - Added "class" options to "topic", "sidebar", "line-block",
3752     "parsed-literal", "contents", and "image"; and "figclass" to
3753     "figure".
3755 * spec/rst/interpreted.txt: Added to project.  Descriptions of
3756   interpreted text roles.
3758 * spec/rst/introduction.txt:
3760   - Added pointers to material for new users.
3762 * spec/rst/reStructuredText.txt:
3764   - Disambiguated comments (just add a newline after the "::").
3765   - Updated enumerated list description; added a discussion of the
3766     second-line validity checking.
3767   - Updated directive description.
3768   - Added a note redirecting newbies to the user docs.
3769   - Expanded description of inline markup start-strings in non-markup
3770     contexts.
3771   - Removed field arguments and made field lists a generic construct.
3772   - Removed the 4-character minimum for section title underlines.
3773   - Clarified term/classifier delimiter & inline markup ambiguity
3774     (definition lists).
3775   - Added "Embedded URIs".
3776   - Updated "Interpreted Text" section.
3777   - Added "Character-Level Inline Markup" section.
3779 * test: Continually adding & updating tests.
3781   - Moved test/test_rst/ to test/test_parsers/test_rst/.
3782   - Moved test/test_pep/ to test/test_readers/test_pep/.
3783   - Added test/test_readers/test_python/.
3784   - Added test/test_writers/ (Engelbert Gruber).
3786 * tools:
3788   - Made the ``locale.setlocale()`` calls in front ends
3789     fault-tolerant.
3791 * tools/buildhtml.py:
3793   - Added ``--silent`` option.
3794   - Fixed bug with absolute paths & ``--config``.
3795   - Updated for new I/O classes.
3796   - Added some exception handling.
3797   - Separated publishers' setting defaults; prevents interference.
3798   - Updated for new ``publish_file()`` convenience function.
3800 * tools/pep-html-template:
3802   - Allow for ``--embed-stylesheet``.
3803   - Added Docutils version to "generator" meta tag.
3804   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
3805   - Conform to XHTML spec.
3807 * tools/pep2html.py:
3809   - Made ``argv`` a parameter to ``main()``.
3810   - Added support for "Content-Type:" header & arbitrary PEP formats.
3811   - Linked "Content-Type: text/plain" to PEP 9.
3812   - Files skipped (due to an error) are not pushed onto the server.
3813   - Updated for new I/O classes.
3814   - Added ``check_requirements()`` & ``pep_type_error()``.
3815   - Added some exception handling.
3816   - Updated for new ``publish_string()`` convenience function.
3817   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
3819 * tools/quicktest.py:
3821   - Added ``-V``/``--version`` option.
3823 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
3825 * tools/unicode2rstsubs.py: Added to project.  Produces character
3826   entity files (reSructuredText substitutions) from the MathML master
3827   unicode.xml file.
3829 * tools/editors: Support code for editors, added to project.  Contains
3830   ``emacs/restructuredtext.el``.
3832 * tools/stylesheets/default.css: Moved into the stylesheets directory.
3834   - Added style for chunks of inline literals.
3835   - Removed margin for first child of table cells.
3836   - Right-aligned field list names.
3837   - Support for auto-numbered section titles in TOCs.
3838   - Increased the size of inline literals (<tt>) in titles.
3839   - Restored the light gray background for inline literals.
3840   - Added support for "line_block" elements.
3841   - Added style for "address" elements.
3842   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
3843   - Improved field list rendering.
3844   - Vertical whitespace improvements.
3845   - Removed "a.target" style.
3847 * tools/stylesheets/pep.css:
3849   - Fixed nested section margins.
3850   - Other changes parallel those of ``../default.css``.
3853 Release 0.2 (2002-07-31)
3854 ========================
3856 General:
3858 - The word "component" was being used ambiguously.  From now on,
3859   "component" will be used to mean "Docutils component", as in Reader,
3860   Writer, Parser, or Transform.  Portions of documents (Table of
3861   Contents, sections, etc.)  will be called "document parts".
3862 - Did a grand renaming: a lot of ``verylongnames`` became
3863   ``very_long_names``.
3864 - Cleaned up imports: no more relative package imports or
3865   comma-separated lists of top-level modules.
3866 - Added support for an option values object which carries default
3867   settings and overrides (from command-line options and library use).
3868 - Added internal Unicode support, and support for both input and
3869   output encodings.
3870 - Added support for the ``docutils.io.IO`` class & subclasses.
3872 Specific:
3874 * docutils/__init__.py:
3876   - Added ``ApplicationError`` and ``DataError``, for use throughout
3877     the package.
3878   - Added ``Component`` base class for Docutils components; implements
3879     the ``supports`` method.
3880   - Added ``__version__`` (thus, ``docutils.__version__``).
3882 * docutils/core.py:
3884   - Removed many keyword parameters to ``Publisher.__init__()`` and
3885     ``publish()``; bundled into an option values object.  Added
3886     "argv", "usage", "description", and "option_spec" parameters for
3887     command-line support.
3888   - Added ``Publisher.process_command_line()`` and ``.set_options()``
3889     methods.
3890   - Reworked I/O model for ``docutils.io`` wrappers.
3891   - Updated ``Publisher.set_options()``; now returns option values
3892     object.
3893   - Added support for configuration files (/etc/docutils.conf,
3894     ./docutils.conf, ~/.docutils).
3895   - Added ``Publisher.setup_option_parser()``.
3896   - Added default usage message and description.
3898 * docutils/frontend.py: Added to project; support for front-end
3899   (command-line) scripts.  Option specifications may be augmented by
3900   components.  Requires Optik (http://optik.sourceforge.net/) for option
3901   processing (installed locally as docutils/optik.py).
3903 * docutils/io.py: Added to project; uniform API for a variety of input
3904   output mechanisms.
3906 * docutils/nodes.py:
3908   - Added ``TreeCopyVisitor`` class.
3909   - Added a ``copy`` method to ``Node`` and subclasses.
3910   - Added a ``SkipDeparture`` exception for visitors.
3911   - Renamed ``TreePruningException`` from ``VisitorException``.
3912   - Added docstrings to ``TreePruningException``, subclasses, and
3913     ``Nodes.walk()``.
3914   - Improved docstrings.
3915   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
3916   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
3917     imports.
3918   - Added ``decoration``, ``header``, and ``footer`` node classes, and
3919     ``PreDecorative`` mixin.
3920   - Reworked the name/id bookkeeping; to ``document``, removed
3921     ``explicit_targets`` and ``implicit_targets`` attributes, added
3922     ``nametypes`` attribute and ``set_name_id_map`` method.
3923   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
3924     traversals.
3925   - Added ``document.has_name()`` method.
3926   - Fixed DOM generation for list-attributes.
3927   - Added category class ``Labeled`` (used by footnotes & citations).
3928   - Added ``Element.set_class()`` method (sets "class" attribute).
3930 * docutils/optik.py: Added to project.  Combined from the Optik
3931   package, with added option groups and other modifications.  The use
3932   of this module is probably only temporary.
3934 * docutils/statemachine.py:
3936   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
3937   - Added underscores to improve many awkward names.
3938   - In ``string2lines()``, changed whitespace normalizing translation
3939     table to regexp; restores Python 2.0 compatibility with Unicode.
3941 * docutils/urischemes.py:
3943   - Filled in some descriptions.
3944   - Added "shttp" scheme.
3946 * docutils/utils.py:
3948   - Added ``clean_rcs_keywords`` function (moved from
3949     docutils/transforms/frontmatter.py
3950     ``DocInfo.filter_rcs_keywords``).
3951   - Added underscores to improve many awkward names.
3952   - Changed names of Reporter's thresholds:
3953     warning_level -> report_level; error_level -> halt_level.
3954   - Moved ``utils.id()`` to ``nodes.make_id()``.
3955   - Added ``relative_path(source, target)``.
3957 * docutils/languages/de.py: German mappings; added to project.  Thanks
3958   to Gunnar Schwant for the translations.
3960 * docutils/languages/en.py: Added "Dedication" bibliographic field
3961   mappings.
3963 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
3964   Chodorowski.
3966 * docutils/parsers/rst/states.py:
3968   - Added underscores to improve many awkward names.
3969   - Added RFC-2822 header support.
3970   - Extracted the inline parsing code from ``RSTState`` to a separate
3971     class, ``Inliner``, which will allow easy subclassing.
3972   - Made local bindings for ``memo`` container & often-used contents
3973     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
3974   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
3975   - Added ``MarkupMismatch`` exception; for late corrections.
3976   - Added ``-/:`` characters to inline markup's start string prefix,
3977     ``/`` to end string suffix.
3978   - Fixed a footnote bug.
3979   - Fixed a bug with literal blocks.
3980   - Applied patch from Simon Budig: simplified regexps with symbolic
3981     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
3982   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
3983   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
3984   - Allowed non-ASCII in "simple names" (directive names, field names,
3985     references, etc.).
3986   - Converted ``Inliner.patterns.initial`` to be dynamically built
3987     from parts with ``build_regexp()`` function.
3988   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
3989   - Updated docstrings.
3990   - Changed "table" to "grid_table"; added "simple_table" support.
3992 * docutils/parsers/rst/tableparser.py:
3994   - Changed ``TableParser`` to ``GridTableParser``.
3995   - Added ``SimpleTableParser``.
3996   - Refactored naming.
3998 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
3999   a fallback language for directive names.
4001 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
4002   directive to use a ``pending`` element, used only by HTML writers.
4004 * docutils/parsers/rst/directives/parts.py: Renamed from
4005   components.py.
4007   - Added "backlinks" attribute to "contents" directive.
4009 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
4010   project by Adam Chodorowski.
4012 * docutils/readers/__init__.py: Gave Readers more control over
4013   choosing and instantiating Parsers.
4015 * docutils/readers/pep.py: Added to project; for PEP processing.
4017 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
4018   requires a ``component`` parameter.
4020 * docutils/transforms/components.py: Added to project; transforms
4021   related to Docutils components.
4023 * docutils/transforms/frontmatter.py:
4025   - In ``DocInfo.extract_authors``, check for a single "author" in an
4026     "authors" group, and convert it to a single "author" element.
4027   - Added support for "Dedication" and generic bibliographic fields.
4029 * docutils/transforms/peps.py: Added to project; PEP-specific.
4031 * docutils/transforms/parts.py: Renamed from old components.py.
4033   - Added filter for ``Contents``, to use alt-text for inline images,
4034     and to remove inline markup that doesn't make sense in the ToC.
4035   - Added "name" attribute to TOC topic depending on its title.
4036   - Added support for optional TOC backlinks.
4038 * docutils/transforms/references.py: Fixed indirect target resolution
4039   in ``Hyperlinks`` transform.
4041 * docutils/transforms/universal.py:
4043   - Changed ``Messages`` transform to properly filter out system
4044     messages below the warning threshold.
4045   - Added ``Decorations`` transform (support for ``--generator``,
4046     ``--date``, ``--time``, ``--source-link`` options).
4048 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
4049   Engelbert Gruber's PDF writer.
4051 * docutils/writers/html4css1.py:
4053   - Made XHTML-compatible (switched to lowercase element & attribute
4054     names; empty tag format).
4055   - Escape double-dashes in comment text.
4056   - Improved boilerplate & modularity of output.
4057   - Exposed modular output in Writer class.
4058   - Added a "generator" meta tag to <head>.
4059   - Added support for the ``--stylesheet`` option.
4060   - Added support for ``decoration``, ``header``, and ``footer``
4061     elements.
4062   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
4063     translation table to regexp; restores Python 2.0 compatibility
4064     with Unicode.
4065   - Added the translator class as instance variable to the Writer, to
4066     make it easily subclassable.
4067   - Improved option list spacing (thanks to Richard Jones).
4068   - Modified field list output.
4069   - Added backlinks to footnotes & citations.
4070   - Added percentage widths to "<col>" tags (from colspec).
4071   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
4072     "<span>" changed to "<var>".
4073   - Inline literals: "<code>" changed to "<tt>".
4074   - Many changes to optimize vertical space: compact simple lists etc.
4075   - Add a command-line options & directive attributes to control TOC
4076     and footnote/citation backlinks.
4077   - Added support for optional footnote/citation backlinks.
4078   - Added support for generic bibliographic fields.
4079   - Identify backrefs.
4080   - Relative URLs for stylesheet links.
4082 * docutils/writers/pep_html.py: Added to project; HTML Writer for
4083   PEPs (subclass of ``html4css1.Writer``).
4085 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
4087 * docutils/writers/docutils_xml.py: Added to project; trivial writer
4088   of the Docutils internal doctree in XML.
4090 * docs/tools.txt: "Docutils Front-End Tools", added to project.
4092 * spec/doctree.txt:
4094   - Changed the title to "The Docutils Document Tree".
4095   - Added "Hyperlink Bookkeeping" section.
4097 * spec/docutils.dtd:
4099   - Added ``decoration``, ``header``, and ``footer`` elements.
4100   - Brought ``interpreted`` element in line with the parser: changed
4101     attribute "type" to "role", added "position".
4102   - Added support for generic bibliographic fields.
4104 * spec/notes.txt: Continual updates.  Added "Project Policies".
4106 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
4107   section.
4109 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
4111 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
4112   mailing list discussions.
4114 * spec/pep-0287.txt:
4116   - Renamed to "reStructuredText Docstring Format".
4117   - Minor edits.
4118   - Reworked Q&A as an enumerated list.
4119   - Converted to reStructuredText format.
4121 * spec/pysource.dtd:
4123   - Reworked structural elements, incorporating ideas from Tony Ibbs.
4125 * spec/pysource.txt: Removed from project.  Moved much of its contents
4126   to pep-0258.txt.
4128 * spec/rst/alternatives.txt:
4130   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
4131   - Added "Inline External Targets" section.
4133 * spec/rst/directives.txt:
4135   - Added "backlinks" attribute to "contents" directive.
4137 * spec/rst/problems.txt:
4139   - Updated the Enumerated List Markup discussion.
4140   - Added new alternative table markup syntaxes.
4142 * spec/rst/reStructuredText.txt:
4144   - Clarified field list usage.
4145   - Updated enumerated list description.
4146   - Clarified purpose of directives.
4147   - Added ``-/:`` characters to inline markup's start string prefix,
4148     ``/`` to end string suffix.
4149   - Updated "Authors" bibliographic field behavior.
4150   - Changed "inline hyperlink targets" to "inline internal targets".
4151   - Added "simple table" syntax to supplement the existing but
4152     newly-renamed "grid tables".
4153   - Added cautions for anonymous hyperlink use.
4154   - Added "Dedication" and generic bibliographic fields.
4156 * test: Made test modules standalone (subdirectories became packages).
4158 * test/DocutilsTestSupport.py:
4160   - Added support for PEP extensions to reStructuredText.
4161   - Added support for simple tables.
4162   - Refactored naming.
4164 * test/package_unittest.py: Renamed from UnitTestFolder.py.
4166   - Now supports true packages containing test modules
4167     (``__init__.py`` files required); fixes duplicate module name bug.
4169 * test/test_pep/: Subpackage added to project; PEP testing.
4171 * test/test_rst/test_SimpleTableParser.py: Added to project.
4173 * tools:
4175   - Updated html.py and publish.py front-end tools to use the new
4176     command-line processing facilities of ``docutils.frontend``
4177     (exposed in ``docutils.core.Publisher``), reducing each to just a
4178     few lines of code.
4179   - Added ``locale.setlocale()`` calls to front-end tools.
4181 * tools/buildhtml.py: Added to project; batch-generates .html from all
4182   the .txt files in directories and subdirectories.
4184 * tools/default.css:
4186   - Added support for ``header`` and ``footer`` elements.
4187   - Added styles for "Dedication" topics (biblio fields).
4189 * tools/docutils.conf: A configuration file; added to project.
4191 * tools/docutils-xml.py: Added to project.
4193 * tools/pep.py: Added to project; PEP to HTML front-end tool.
4195 * tools/pep-html-template: Added to project.
4197 * tools/pep2html.py: Added to project from Python (nondist/peps).
4198   Added support for Docutils (reStructuredText PEPs).
4200 * tools/quicktest.py:
4202   - Added the ``--attributes`` option, hacked a bit.
4203   - Added a second command-line argument (output file); cleaned up.
4205 * tools/stylesheets/: Subdirectory added to project.
4207 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
4210 Release 0.1 (2002-04-20)
4211 ========================
4213 This is the first release of Docutils, merged from the now inactive
4214 reStructuredText__ and `Docstring Processing System`__ projects.  For
4215 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
4216 `DPS HISTORY`__ files.
4218 __ http://structuredtext.sourceforge.net/
4219 __ http://docstring.sourceforge.net/
4220 __ http://structuredtext.sourceforge.net/HISTORY.html
4221 __ http://docstring.sourceforge.net/HISTORY.html
4223 General changes: renamed 'dps' package to 'docutils'; renamed
4224 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
4225 the test suites (reStructuredText's test/test_states renamed to
4226 test/test_rst); and all modifications required to make it all work.
4228 * docutils/parsers/rst/states.py:
4230   - Improved diagnostic system messages for missing blank lines.
4231   - Fixed substitution_reference bug.
4233 .. References
4234    ==========
4236 .. _RELEASE-NOTES: RELEASE-NOTES.html
4237 .. _`_config_files`: docs/user/config.html#config-files
4238 .. _auto_id_prefix: docs/user/config.html#auto-id-prefix
4239 .. _detailled:
4240 .. _detailed: docs/user/config.html#detailed
4241 .. _docutils_footnotes: docs/user/config.html#docutils-footnotes
4242 .. _dump_settings: docs/user/config.html#dump-settings
4243 .. _embed_images: docs/user/config.html#embed-images
4244 .. _embed_stylesheet: docs/user/config.html#embed-stylesheet
4245 .. _figure_footnotes: docs/user/config.html#figure-footnotes
4246 .. _file_insertion_enabled: docs/user/config.html#file-insertion-enabled
4247 .. _graphicx_option: docs/user/config.html#graphicx-option
4248 .. _hidden_controls: docs/user/config.html#hidden-controls
4249 .. _html_writer: docs/user/config.html#html-writer
4250 .. _hyperref_options: docs/user/config.html#hyperref-options
4251 .. _id_prefix: docs/user/config.html#id-prefix
4252 .. _ignore: docs/user/config.html#ignore
4253 .. _image_loading: docs/user/config.html#image-loading
4254 .. _indents: docs/user/config.html#indents
4255 .. _initial_header_level: docs/user/config.html#initial-header-level
4256 .. _input_encoding: docs/user/config.html#input-encoding
4257 .. _input_encoding_error_handler: docs/user/config.html#input-encoding-error-handler
4258 .. _language: docs/user/config.html#language
4259 .. _latex_preamble: docs/user/config.html#latex-preamble
4260 .. _legacy_class_functions: docs/user/config.html#legacy-class-functions
4261 .. _legacy_column_widths: docs/user/config.html#legacy-column-widths
4262 .. _literal_block_env: docs/user/config.html#literal-block-env
4263 .. _math_output: docs/user/config.html#math-output
4264 .. _output: docs/user/config.html#output
4265 .. _output_encoding: docs/user/config.html#output-encoding
4266 .. _raw_enabled: docs/user/config.html#raw-enabled
4267 .. _reference_label: docs/user/config.html#reference-label
4268 .. _smart_quotes: docs/user/config.html#smart-quotes
4269 .. _strip_classes: docs/user/config.html#strip-classes
4270 .. _strip_elements_with_classes: docs/user/config.html#strip-elements-with-classes
4271 .. _stylesheet: docs/user/config.html#stylesheet
4272 .. _stylesheet_dirs: docs/user/config.html#stylesheet-dirs
4273 .. _stylesheet_path: docs/user/config.html#stylesheet-path
4274 .. _syntax_highlight: docs/user/config.html#syntax-highlight
4275 .. _table_style: docs/user/config.html#table-style
4276 .. _traceback: docs/user/config.html#traceback
4277 .. _use_bibtex: docs/user/config.html#use-bibtex
4278 .. _use_latex_abstract: docs/user/config.html#use-latex-abstract
4279 .. _use_latex_footnotes: docs/user/config.html#use-latex-footnotes
4280 .. _use_latex_toc: docs/user/config.html#use-latex-toc
4281 .. _view_mode: docs/user/config.html#view-mode
4285    Local Variables:
4286    mode: indented-text
4287    indent-tabs-mode: nil
4288    sentence-end-double-space: t
4289    fill-column: 70
4290    End: