Fix #400 Wrong default for math-output in documentation.
[docutils.git] / docutils / HISTORY.txt
blob275d8a991f7c7f5581bc19dc830c7436c9905665
1 .. -*- coding: utf-8 -*-
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: http://docutils.sourceforge.net/
12 :Copyright: This document has been placed in the public domain.
14 .. contents::
17 Changes Since 0.16
18 ==================
20 * General
22   - Fix bug #385: Import of language modules.
23   - Use importlib.import_module() to programmatically import modules.
24   - Remove legacy LaTeX stylesheet ``docutils-05-compat.sty``.
25   - Installing with ``setup.py`` now requires ``setuptools``.
26     Alternatively, install with `pip`_ (or "manually").
27   - Apply patch for bug #399 Fixes in Korean translation.
29 * docutils/MANIFEST.in
31   - Exclude test outputs.
33 * docutils/__init__.py
35   - VersionInfo: ValueError for invalid values, fix comparison to tuples.
37 * docutils/nodes.py
39   - Apply patch #165: Fix error when copying `system_message` node
40     (by Takeshi KOMIYA).
41   - Apply version of patch #167: Let document.set_id() register all
42     existing IDs (thanks to Takeshi KOMIYA).
44 * docutils/parsers/rst/directives/body.py:
46   - Make the sidebar's "title" argument optional (feature request #69).
48 * docutils/utils/smartquotes.py
50   - Fix bug #383: Smart quotes around opening and separator characters.
52 * docutils/writers/html5_polyglot/
54   - Use the new semantic tags <main>, <section>, <header>,
55     <footer>, <aside>, <figure>, and <figcaption>.
56     See ``minimal.css`` and ``plain.css`` for styling rule examples.
58   - Use HTML text-level tags <small>, <s>, <q>, <dfn>, <var>, <samp>, <kbd>,
59     <i>, <b>, <u>, <mark>, and <bdi> if a matching class value
60     is found in `inline` and `literal` elements.
61     Use <ins> and <del> if a matching class value
62     is found in `inline`, `literal`, or `container` elements.
64   - Wrap block-level image elements in <p> (except for figures).
65     Move non-essential styling from ``minimal.css`` to ``plain.css``.
66     Support numbered figures in ``plain.css``.
67     
68   - Fix bug #398: properly close link tag to "schema.dcterms".
70 * docutils/writers/latex2e/__init__.py:
72   - Use LaTeX environments for admonitions and "class wrappers" for styling
73     admonitions and titles if the new configuration setting
74     `legacy_class_functions`_ is False.
76   - Remove backwards compatibility code for the deprecated
77     `styling command`__ prefix ``\docutilsrole``.
79     __ docs/user/latex.html#classes
80     
81   - Support the `memoir` LaTeX document class.
82     Fixes #390, #391, and #392. 
84 * docutils/writers/manpage.py
86   - Fix #394 fix missing new line after rubric.
87   - Patch #168 fix crashing on empty citation (by Takeshi KOMIYA).
88   - Fix #126 manpage title with spaces.
89   - Fix #380 commandline option problem in sphinx.
91 * test/DocutilsTestSupport.py
93   - Run python3 test like python2 against source not the build/-directory
95 .. _pip: https://pypi.org/project/pip/
96 .. _legacy_class_functions: docs/user/config.html#legacy-class-functions
99 Release 0.16
100 ============
102 * General
104   - Dropped support for Python 2.6, 3.3 and 3.4
105   - Docutils now supports Python 2.7 and Python 3.5+ natively
106     (without conversion by ``2to3``).
107   - Keep `backslash escapes`__ in the document tree. Backslash characters in
108     text are be represented by NULL characters in the ``text`` attribute of
109     Doctree nodes and removed in the writing stage by the node's
110     ``astext()`` method.
112   __ http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#escaping-mechanism
114 * docutils/io.py
116   - Remove the `handle_io_errors` option from io.FileInput/Output.
118 * docutils/nodes.py
120   - Speed up Node.next_node().
121   - If `auto_id_prefix`_ ends with "%", this is replaced with the tag name.
122   - Warn about Node.traverse() returning an iterator instead of a list
123     in future.
125   .. _auto_id_prefix: docs/user/config.html#auto-id-prefix
127 * docutils/statemachine.py
129   - Patch [ 158 ]: Speed up patterns by saving compiled versions (eric89gxl)
131 * docutils/transforms/universal.py
133   - Fix [ 332 ]: Standard backslash escape for smartquotes.
134   - Fix [ 342 ]: No escape in roles descending from `inline literal`.
136 * docutils/utils/__init__.py
138   - unescape() definition moved to `nodes` to avoid circular import
139     dependency. Fixes [ 366 ].
141 * docutils/writers/latex2e/__init__.py:
143   - Fix topic subtitle.
144   - Make "rubric" bold-italic and left aligned.
145   - Fix [ 339 ] don't use "alltt" or literal-block-environment
146     in admonitions and footnotes.
147   - Deprecation warning for ``\docutilsrole``-prefixed styling commands.
148   - Add "latex writers" to the `config_section_dependencies`.
149   - Ignore classes for `rubric` elements
150     (class wrapper interferes with LaTeX formatting).
152 * docutils/writers/manpage.py
154   - Apply fix for [ 287 ] comma after option is bold.
155   - Apply fix for [ 289 ], line starting with ``.`` in a text.
157 * docutils/writers/odf_odt/__init__.py:
159   - Fix: ElementTree.getchildren deprecated warning
161 * docutils/writers/xetex/__init__.py:
163   - Add "latex writers" to the `config_section_dependencies`.
165 * test/alltests.py
167   - Fix: 377 ResourceWarning: unclosed file python3.8
168     Close alltests.out with atexit.
170 * test/functional/*
172   - Fix: 377 ResourceWarning: unclosed file python3.8
173     Read defaults file with context.
175   - Set "auto_id_prefix" to "%" (expands to tag-names).
176     Results in descriptive links in HTML and more localized changes when
177     editions to the input add or remove auto-ids.
179 * test/test_io.py:
181   - Apply patch #157: avoid test failure because of a ``ResourceWarning``.
183 * test/test_writers/test_odt.py:
185   - Fix [ 359 ]: Test suite failes on Python 3.8. odt xml sorting.
186     Use ElementTree instead of minidom.
188 * tools/buildhtml.py
190   - New option `html-writer`_.
192   .. _html-writer: docs/user/config.html#html-writer
195 Release 0.15.1 (2019-07-24)
196 ===========================
198 source: branches/rel-0.15
200 Bugs #366 fix release for python2 only.
203 Release 0.15 (2019-07-20)
204 =========================
206 * General
208   - Dropped support for Python 2.4, 2.5, 3.1, and 3.2.
209   - Infrastructure automation.
211 * docs/ref/rst/restructuredtext.txt:
213   - Document rST syntax change: Tokens like ``:this:example:`` are now valid
214     field list names (instead of ordinary text).
216 * docutils/io.py
218   - Fix [ 348 ] Since Python 3.4, the 'U' universal newlines mode has been
219     deprecated (thanks to hugovk).
221 *  docutils/languages/la.py
222    docutils/parsers/rst/languages/la.py:
224   - Apply [ 153 ] Korean mappings by Thomas Sungjin Kang.
226 * docutils/nodes.py
228   - Fix [ 251 ] system_message.copy() TypeError.
229   - Element.copy() also copies `document`, `line`, and `source` attributes.
231 * docutils/parsers/rst/__init__.py:
233   - Apply [ 152 ] reset `default role` at end of document.
235 * docutils/parsers/rst/states.py:
237   - Allow embedded colons in field list field names.
239 * docutils/parsers/rst/directives/html.py:
241   - Fix bug #281: Remove escaping backslashes in meta directive content.
243 * docutils/parsers/rst/directives/misc.py:
245   - Don't convert tabs to spaces, if `tab_width` is negative in
246     `include` directive with `code` option.
248 * docutils/parsers/rst/directives/tables.py:
250   - Apply patch #121: Add "width" option for the table directives.
252 * docutils/transforms/frontmatter.py:
254   - Add field name as class argument to generic docinfo fields unconditionally.
256 * docutils/transforms/references.py:
258   - Fix bug #331: fixed the "trim" options of the "unicode" directive.
260 * docutils/utils/__init__.py:
262   - Deprecate `unique_combinations` (obsoleted by `itertools.combinations`).
264 * docutils/utils/smartquotes.py:
266   - Fix bug #332: use open quote after whitespace, ZWSP, and ZWNJ.
268 * docutils/writers/html5_polyglot/
270   - automatically add HTML5-compatible meta tags for docinfo items
271     "authors", "date", and "copyright".
273 * docutils/writers/_html_base.py
275   - Fix bug #358: Non-breaking space removed from fixed-width literal.
277 * docutils/writers/latex2e/__init__.py:
279   - Fix bug #323: spurious ``\phantomsection`` and whitespace in
280     ``parts['title']``.
281   - Fix bug #324: Invalid LaTeX for table with empty multicolumn cell.
282   - Fixes to literal block handling.
285 Release 0.14 (2017-08-03)
286 =========================
288 * docs/ref/docutils.dtd:
290   - Enable validation of Docutils XML documents against the DTD:
292     Use attribute type NMTOKEN instead of REFID for the `refid` attribute
293     and NMTOKENS for `backrefs`: REFID refers to an ID type instance,
294     however, the `ids` attribute cannot use the ID type because `XML only
295     allows one ID per Element Type`__ and doesn't support a multiple-ID
296     "IDS" attribute type.
298   __ https://www.w3.org/TR/REC-xml/#sec-attribute-types
300 * docs/ref/rst/restructuredtext.txt:
302   - Added documentation for escaped whitespace in URI contexts.
303   - Clarify use of Unicode character categories.
305 * docutils/parsers/rst/states.py:
307   - Added functionality: escaped whitespace in URI contexts.
308   - Consistent handling of all whitespace characters in inline markup
309     recognition. Fixes [ 307 ] and [ 3402314 ] (now [ 173 ]).
311 * docutils/parsers/rst/directives/images.py:
313   - Added support for escaped whitespace in URI contexts.
315 * docutils/parsers/rst/directives/tables.py:
317   - Rework patch [ 120 ] (revert change to ``Table.get_column_widths()``
318     that led to problems in an application with a custom table directive).
320 * docutils/transforms/frontmatter.py:
322   - Fix [ 320 ] Russian docinfo fields not recognized.
324 * docutils/transforms/references.py:
326   - Don't add a second ID to problematic references.
328 * docutils/transforms/universal.py:
330   Fix SmartQuotes: warn only once if language is unsupported,
331   keep "rawsource" when "educating" quotes.
333 * docutils/utils/__init__.py:
335   - Added ``split_escaped_whitespace`` function, support for escaped
336     whitespace in URI contexts.
338 * docutils/utils/error_reporting.py:
340   - Fix [ 321 ] Import block might cause name error.
342 * docutils/utils/smartquotes.py:
344   - Update quote definitions for languages et, fi, fr, ro, sv, tr, uk.
345   - New quote definitions for hr, hsb, hu, lv, sh, sl, sr.
346   - Fix [ 313 ] Differentiate apostrophe from closing single quote
347     (if possible).
348   - Fix [ 317 ] Extra space inserted with French smartquotes.
349   - Add command line interface for stand-alone use (requires 2.7).
351 * docutils/writers/_html_base.py:
353   - Provide default title in metadata (required by HTML5).
354   - Fix [ 312 ] HTML writer generates invalid HTML if the table has two tags.
355   - Fix [ 319 ] The MathJax CDN shut down on April 30, 2017. For security
356     reasons, we don't use a third party public installation as default but
357     warn if math-output_ is set to MathJax without specifying a URL.
359 * docutils/writers/html4css1/__init__.py:
361   - Apply [ 125 ] HTML writer: respect automatic table column sizing.
363 * docutils/writers/latex2e/__init__.py:
365   - Handle class arguments for block-level elements by wrapping them
366     in a "DUclass" environment. This replaces the special handling for
367     "epigraph" and "topic" elements.
369 * docutils/writers/manpage.py:
371   - Apply [ 141 ] Handling inline in manpage writer.
373 * docutils/writers/odf_odt/__init__.py:
375   - Command setting ``language`` now sets the default language
376     of the generated ODF document.
377   - The use of image directive options :width: (%), :scale:, etc now
378     set the width/height/size of images in the generated ODF
379     documents.
380   - The heading/title of admonitions now reflects the language
381     specified by the ``language`` setting.
382   - Fixed [ 306 ] only first of multiple "image" directives with the same URL
383     shown in output.
384   - Fixed [ 282 ] python3: AttributeError.
386 * tools/rst2html4.py: New front-end.
388 * tools/dev/generate_punctuation_chars.py: New skript
389   to test and update utils.punctuation_chars.
392 Release 0.13.1 (2016-12-09)
393 ===========================
395 * docutils/languages/fa.py
396   docutils/parsers/rst/languages/fa.py
397   docutils/languages/la.py
398   docutils/parsers/rst/languages/la.py:
400   - Apply [ 133 ] Persian mappings by Shahin Azad.
401   - Apply [ 135 ] Language modules for Latvian by Alexander Smishlajev
403 * docutils/nodes.py
405   - Fix [ 253 ] Attribute key without value not allowed in XML.
407 * docutils/parsers/
409   - Apply [ 103 ] Recognize inline markups without word boundaries.
410   - Enable escaping in embedded URIs and aliases (fixes [ 284 ]).
412 * docutils/parsers/rst/__init__.py
414   - Fix [ 233 ] Change the base URL for the :rfc: role.
416 * docutils/parsers/rst/directives/tables.py
418   - Apply [ 120 ] tables accept option widths: list of relative widths, 'auto'
419     or 'grid'.
421   - Implement feature request [ 48 ]
422     Add :align: option to the table directives.
423     Thanks to Takeshi KOMIYA for the patch.
425 * docutils/parsers/rst/roles.py
427   - Fix [ 295 ] Class argument for custom role inheriting from math.
429 * docutils/parsers/rst/tableparser.py
431   - Really fix [ 159 ] Spurious table column alignment errors.
433 * docutils/transforms/frontmatter.py
435   - Add name of generic bibliographic fields as a "classes" attribute value
436     (after conversion to a valid identifier form).
438 * docutils/utils/error_reporting.py
440   - Fix [ 130 ] support streams expectiong byte-strings in ErrorOutput.
442 * docutils/utils/math/math2html.py
444   - Add ``\colon`` macro, fix spacing around colons. Fixes [ 246 ].
445   - New upstream version (additional macros, piecewise integrals and sums).
447 * docutils/writers/_html_base.py
449   - New auxiliary module for definitions common to all HTML writers.
451 * docutils/writers/html5_polyglot/
453   - New HTML writer generating clean, polyglot_ markup conforming to
454     `HTML 5`_.
456     The CSS stylesheets ``minimal.css`` and ``plain.css`` contain required
457     and recommended layout rules.
459 * docutils/writers/html4css1/__init__.py
461   - Add "docutils" to class values for "container" object to address [ 267 ].
462   - Apply patch [ 119 ] by Anatoly Techtonik: use absolute paths for
463     ``default_stylesheet_path`` and ``default_template_path``.
464   - Fix [ 266 ] creating labels/class values in description list items.
465   - Do not use <sup> and <sub> tags inside <pre> (parsed-literal blocks).
466   - Fix footnotes with content that does not start with a paragraph.
467   - Use https in default MathJax URL (report Alan G Isaac).
468   - Outsourcing of common code to _html_base.py.
470 * docutils/writers/latex2e/__init__.py
472   - Fix [ 262 ] Use ``\linewidth`` instead of ``\textwidth`` for figures,
473     admonitions and docinfo.
475   - Use absolute path for ``default_template_path``.
477   - Removed deprecated options ``--use-latex-footnotes`` and
478     ``--figure-footnotes``.
480   - Cleaner LaTeX code for enumerations and literal blocks.
482   - Use "hyperref" package together with "bookmark" (improved hyperlinking
483     by the same author).
485   - Fix [ 286 ] Empty column title cause invalid latex file.
487   - Fix [ 224 ] Fix rowspan support for tables.
489   - Let LaTeX determine the column widths in tables with "colwidths-auto".
490     Not suited for multi-paragraph cells!
492 * docutils/writers/odf_odt/__init__.py
494   - remove decode.encode of filename stored in zip.
496 * docutils/writers/xetex/__init__.py
498   - LuaLaTex compatibility: do not load "xunicode".
500 * tools/
502   - New front-end ``rst2html5.py``.
504 * tox.ini
506   - Test py26, py27, py33 and py34.
508     To use, install the ``tox`` package via pip or easy_install and use
509     tox from the project root directory.
511 .. _polyglot: http://www.w3.org/TR/html-polyglot/
512 .. _HTML 5: http://www.w3.org/TR/html5/
513 .. _XHTML 1.0: http://www.w3.org/TR/xhtml1/
516 Release 0.12 (2014-07-06)
517 =========================
519 * docs/ref/rst/directives.txt
521   - Update "math" and "csv-table" descriptions.
523 * docutils/parsers/rst/directives/images.py
525   - Fix [ 258 ] figwidth="image" generates unitless width value.
527 * docutils/parsers/rst/states.py
529   - Improve error report when a non-ASCII character is specified as
530     delimiter, quote or escape character under Python 2.
531     Fixes [ 249 ] and [ 250 ].
533 * docutils/writers/html4css1/__init__.py
535   - Don't add newline after inline math.
536     Thanks to Yury G. Kudryashov for the patch.
538 * docutils/writers/latex2e/__init__.py
540   - Fix [ 239 ] Latex writer glues paragraphs with figure floats.
541   - Apply [ 116 ] by Kirill Smelkov. Don't hardcode \large for subtitle.
543 * docutils/writers/odf_odt/__init__.py
545   - Apply patch by Jakub Wilk to fix bug [ 100 ].
547 * test/test_error_reporting.py
549   - Fix [ 223 ] by removing redundant tests we do not have control over.
551 * test/test_nodes.py
553   - Apply [ 115 ] respect fixed 2to3 string literal conversion behavior.
555 Release 0.11 (2013-07-22)
556 =========================
558 * General
560   - Apply [ 2714873 ] Fix for the overwritting of document attributes.
561   - Support embedded aliases within hyperlink references.
562   - Fix [ 228 ] try local import of docutils components (reader, writer, parser,
563     language module) before global search.
565 * docutils/nodes.py
567   - Fix [ 3601607 ] node.__repr__() must return `str` instance.
569 * docutils/parsers/rst/directives/__init__.py
571   - Fix [ 3606028 ] ``assert`` is skipped with ``python -O``.
573 * docutils/parsers/rst/directives/images.py
575   - Apply [ 3599485 ] node source/line information for sphinx translation.
577 * docutils/parsers/rst/directives/tables.py
579   - Fix [ 210 ] Python 3.3 checks CVS syntax only if "strict" is True.
581 * docutils/parsers/rst/states.py
583   - Fix [ 157 ] Line block parsing doesn't like system message.
584   - Always import our local copy of roman.py (report Larry Hastings).
586 * docutils/transforms/references.py
588   - Fix [ 3607029 ] traceback with embedded alias pointing to missing target.
590 * docutils/utils/__init__.py
592   - Fix [ 3596884 ] exception importing ``docutils.io``.
594 * docutils/writers/html4css1/__init__.py
596   - Fix [ 3600051 ] for tables in a list, table cells are not compacted.
597   - New setting `stylesheet_dirs`: Comma-separated list of directories
598     where stylesheets are found. Used by `stylesheet_path` when expanding
599     relative path arguments.
600   - New default for math-output_: ``HTML math.css``.
601   - Avoid repeated class declarations in html4css1 writer
602     (modified version of patch [ 104 ]).
604 .. _math-output: docs/user/config.html#math-output
606 * docutils/writers/latex2e/__init__.py
608   - Drop the simple algorithm replacing straight double quotes with
609     English typographic ones.
610     Activate the SmartQuotes_ transform if you want this feature.
611   - Fix literal use of babel shorthands (straight quote, tilde, ...).
612   - Fix [ 3603246 ] Bug in option "--graphicx-option=auto".
613   - New setting `stylesheet_dirs`.
615 .. _SmartQuotes: docs/user/config.html#smart-quotes
617 * docutils/writers/manpage.py
619   - Fix [3607063] handle lines starting with a period.
620   - Fix option separating comma was bold (thanks to Bill Morris).
622 Release 0.10 (2012-12-16)
623 =========================
625 * General
627   - Dropped support for Python 2.3.
628   - ``docutils/math``, ``docutils/error_reporting.py``, and
629     ``docutils/urischemes.py`` moved to the utils package.
630   - Fix [3541369] Relative __import__ also with Python 3.3.
631   - Fix [3559988] and [3560841] __import__ local writer, reader, languages
632     and parsers for Python 2.7 up.
633   - Fix import of PIL.Image.
634   - Change default of "syntax highlight" option to "long",
635     basic syntax highlight styles for LaTeX and HTML.
637 * docutils/io.py
639   - FileInput/FileOutput: no system-exit on IOError.  The `handle_io_errors`
640     option is ignored and will be removed in a future release.
641   - Fix Py3k error writing to stdout with encoding differing from default.
642   - Fix opening binary files under Py3k (thanks to Dominic Fitzpatrick).
644 * docutils/parsers/rst/directives/misc.py
646   - Fix [ 3546533 ] Unicode error with `date` directive.
648 * docutils/transforms/universal.py
650   - SmartQuotes transform for typographic quotes and dashes.
652 * docutils/utils/__init__.py
654   - normalize_language_tag() now returns `BCP 47`_ conformant tags
655     with subtags separated by ``-``.
657 * docutils/writers/html4css1/__init__.py
659   - Use ``<code>`` tag for inline "code",
660     do not drop nested inline nodes (syntax highlight tokens).
661   - Customizable MathJax URL (based on patch by Dmitry Shachnev).
662   - No line break after opening inline math tag.
664 * docutils/writers/manpage.py
666   - Apply [ 3527401 ] addmonition's don't preserve indentation
667   - Apply [ 3527397 ] Add indentation to literal blocks in manpage writer.
669 * docutils/writers/xetex/__init__.py
671   - Apply [ 3555160 ] ensure order of "otherlanguages".
672   - Fix section numbering by LaTeX.
674 * docutils/writers/s5_html/__init__.py
676   - Fix [ 3556388 ] Mathjax does not work with rst2s5.
678 * docutils/writers/s5_html/docutils_xml.py
680   - Fix [ 3552403 ] Prevent broken PyXML replacing stdlibs xml module.
681   - Fix/improve output with ``--indent`` option.
683 * setup.py
685   - Tag ``math.css`` stylesheet as data file (patch by Dmitry Shachnev).
687 * tools/test/test_buildhtml.py
689   - Fix [ 3521167 ] allow running in any directory.
690   - Fix [ 3521168 ] allow running with Python 3.
693 Release 0.9.1 (2012-06-17)
694 ==========================
696 * setup.py
698   - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
699     installed in the PYTHONPATH. Converted tests are now
700     stored in ``test3/``, tools no longer need conversion.
702     If you installed one of Docutils versions 0.7 ... 0.9 with
703     ``setup.py install`` under Python 3, remove the spurious
704     ``test/`` and ``tools/`` directories in the site library root.
706 * test/
708   - Make tests independent from the location of the ``test/`` directory.
709   - Use converted sources (from the ``build/`` directory) for tests under
710     Python 3.
712 * tools/
714   - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
716 * docutils/io.py
718   - Fix writing binary data to sys.stdout under Python 3 (allows
719     ``rst2odt.py`` to be used with output redirection).
721 * docutils/parsers/rst/directives/misc.py
723   - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
724     ``locale == C`` and 8-bit char in path argument of `include` directive.
726 * test/alltests.py
728   - class `Tee`: catch UnicodeError when writing to "ascii" stream or
729     file under Python 3.
731 Release 0.9 (2012-05-02)
732 ========================
734 * General:
736   - New reStructuredText "code" role and directive and "code" option
737     of the "include" directive with syntax highlighting by Pygments_.
738   - Fix parse_option_marker for option arguments containing ``=``.
739   - Fix [ 2993756 ]: import Python Imaging Library's Image module
740     via ``import PIL`` as starting with PIL 1.2,
741     "PIL lives in the PIL namespace only" (announcement__).
743 .. _Pygments: http://pygments.org/
744 __ http://mail.python.org/pipermail/image-sig/2011-January/006650.html
746 * setup.py
748   - Fix [ 2971827 ] and [ 3442827 ]
749     extras/roman.py moved to docutils/utils/roman.py
751 * docutils/frontend.py
753   - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
755 * docutils/io.py
757   - Fix [ 3395948 ] (Work around encoding problems in Py3k).
758   - `mode` argument for FileOutput avoids code replication in
759     BinaryFileOutput.
760   - New exceptions InputError and OutputError for IO errors in
761     FileInput/FileOutput.
763 * docutils/core.py:
765   - No "hard" system exit on file IO errors: catch and report them in
766     `Publisher.reportException` instead. Allows handling by a calling
767     application if the configuration setting `traceback` is True.
769 * docutils/utils.py -> docutils/utils/__init__.py
771   - docutils.utils is now a package (providing a place for sub-modules)
773   .. note:: docutils/math, docutils/error_reporting.py, and
774      docutils/urischemes.py will move to the utils package in the next
775      release, too. See RELEASE-NOTES__
777      __ RELEASE-NOTES.html
779   - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
780     errors recording non-ASCII filenames (fixes [ 3434355 ]).
782   - Fix relative_path() with source=None and `unicode` target.
784 * docutils/parsers/rst/states.py
786   - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
787     characters and "international" quotes around inline markup.
788   - Use `field_marker` pattern to look for start of a
789     directive option block (fixes [ 3484857 ]).
791 * docutils/parsers/rst/tableparser.py
793   - Fix [ 2926161 ] for simple tables.
794     (Combining chars in grid tables still contribute to cell width.)
796 * docutils/writers/latex2e/__init__.py
798   - Support the `abbreviation` and `acronym` standard roles.
799   - Record only files required to generate the LaTeX source as dependencies.
800   - Fix handling of missing stylesheets.
801   - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
802     when suppressing LaTeX section numbering.
803   - Use ``\DUtitle`` for unsupported section levels
804   - Apply [ 3512791 ] do not compare string literals with "is"
806 * docutils/writers/xetex/__init__.py
808   - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
810 * docutils/writers/html4css1/__init__.py
812   - Change default for `math-output` setting to MathJax.
813   - Fix handling of missing stylesheets.
815 * docutils/writers/docutils_xml.py
817   - Use the visitor pattern with default_visit()/default_depart() methods
818     instead of minidom to facilitate special handling of selected nodes.
819   - Support raw XML (inserted as-is inside a <raw></raw> node).
821 * docutils/writers/manpage.py
823   - Do not emit comment line with trailing blank. Problematic for VCS.
825 Release 0.8.1 (2011-08-30)
826 ==========================
828 * General:
830   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
831     and [ 3395920 ] (correct copyright info for rst.el).
833 * test/
835   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
837 * docutils/writers/latex2e/__init__.py
839   - Clean up Babel language setting. Restores Sphinx compatibility.
841 Release 0.8 (2011-07-07)
842 ========================
844 * General:
846   - Handle language codes according to `BCP 47`_.
847   - If the specified language is not supported by Docutils,
848     warn and fall back to English.
849   - Math support: reStructuredText "math" role and directive,
850     ``math`` and ``math_block`` doctree elements.
851   - Decode command line arguments with the locale's preferred encoding
852     (to allow, e.g., ``--title=Dornröschen``).
853   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
854   - New sub-module `error_reporting`: handle encoding/decoding errors
855     when reporting exceptions.
856   - Some additions to the Docutils core are released under the 2-Clause BSD
857     license, see COPYING_ for details.
859   .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
860   .. _COPYING: COPYING.html
862 * reStructuredText:
864   - Most directives now support a "name" option that attaches a
865     reference name.
867   - Directive content may start on the first line also when the directive
868     type accepts options.
870 * docs/dev/policies.txt:
872   - Recommend the 2-Clause BSD license
873     (http://www.spdx.org/licenses/BSD-2-Clause)
874     for code that is kept under the author's copyright.
876 * tools/buildhtml.py:
878   - Fix ``--local`` switch.
880 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
882 * docutils/writers/html4css1/__init__.py
884   - Set "lang" argument for objects with class argument
885     "language-<language tag>".
886   - New setting "math-output" with support for HTML, MathML, and LaTeX.
888 * docutils/writers/latex2e/__init__.py
890   - Fix [ 3043986 ] AttributeError using :local: with table of content.
891   - Place title data in the document preamble.
892   - Load `babel` package only if required.
893   - Update list of supported languages.
894   - New config setting "hyperref-options".
895     No hard-coded "unicode" hyperref option (clash with xetex).
896   - Set language for custom roles, paragraphs, block-quotes, and
897     line-quotes with class argument "language-<language tag>".
898   - Fix [ 3095603 ] wrong quotes output for russian and other languages.
899   - Convert image URI to a local file path.
900   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
901     has more than one paragraph (Wolfgang Scherer).
902   - \leavevmode before longtable only when needed (prevents spurious vspace)
903   - do not advance table counter for tables without caption
905 * docutils/writers/xetex/__init__.py
907   - New writer generating LaTeX code for compiling with ``xelatex``.
909     A separate writer (inheriting from latex2e) instead of a ``--xetex``
910     option allows separate config options for XeTeX vs. LaTeX2e.
912 * docutils/writers/manpage.py
914   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
915   - Fix: vertical space cleaning for option group ``.``.
917 * tools/editors/emacs/rst.el:
919   - Fix [ 3001100 ] does not handle spaces in filenames
920     (thanks to Jakub Wilk)
922 * docutils/utils.py:
924   - strip whitespace from stylesheet arguments
925   - exclude combining chars from column_width()
926     (partial fix for [ 2926161 ])
928 * docutils/parsers/rst/directives/misc.py:
930   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
931     nested_parse
933 * docutils/io.py:
935   - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
936     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
938 Release 0.7 (2010-07-07)
939 ========================
941 * General:
943   - Fix [ 2881769 ] setup configuration.
944   - Fix [ 2788716 ] reporting problems in included files.
946 * docutils/io.py
948   - FileInput opens files as text files with universal newline support
949     (mode "rU", configurable with the new optional argument "mode").
951 * docutils/nodes.py
953   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
955 * docutils/utils.py
957   - Fix [ 2923723 ] let decode_path() tolerate path == None
959 * docutils/writers/html4css1/__init__.py
961   - Support SVG and SWF images (thanks to Stefan Rank).
962   - Generate valid XHTML for centered images with targets.
963     Use CSS classes instead of "align" tags for image alignment.
965 * docutils/writers/latex2e/__init__.py
967   - Use `transforms.writer_aux.Admonitions` to "normalize" special
968     admonitions.
969   - Use the ``\url`` command for URLs (breaks long URLs instead of
970     writing into the margin).
971   - Preserve runs of spaces in `inline literals`__.
972   - Deprecate ``figure_footnotes`` setting.
973   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
974   - New ``latex_preamble`` setting.
975   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
976   - Fix hyperlink targets (labels) for images, figures, and tables.
977   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
978   - Apply [ 2961991 ] Call hyperref with unicode option.
979   - Drop the special `output_encoding`__ default ("latin-1").
980     The Docutils wide default (usually "UTF-8") is used instead.
981   - Render inline markup in document title and subtitle.
982   - Fix numbering depth with LaTeX section numbering.
983   - Update Unicode -> LaTeX translations.
984   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
986 __ docs/ref/restructuredtext.html#inline-literals
987 __ docs/user/config.html#docutils-footnotes
988 __ docs/user/config.html#output_encoding
990 * docutils/writers/manpage.py
992   - Fix: supported attribute (thanks to peter2108).
993   - Remove trailing blanks in code (keep in sync with mercurial version).
994   - Titles level 1, that is ``.SH``, always uppercase.
995   - Apply patch from mg: literal text should be bold in man-pages.
997 * docutils/nodes.py
999   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
1000     turkish locale.
1002 * setup.py:
1004   - Python 3 support: copy test/ and tools/ to the build-dir
1005     and convert Python sources with 2to3.
1008 Release 0.6 (2009-10-11)
1009 ========================
1011 * General:
1013   - Docutils is now compatible with Python versions from 2.3 up to 2.6
1014     and convertible to 3.1 code.
1016     + Node.__nonzero__ returns True instead of 1.
1017     + use os.walk instead os.path.walk.
1018     + minimize "types" module where possible.
1019     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
1020     + Text nodes now subclass unicode rather than UserString
1021       (which is gone in python 3.0).
1022     + 3.0 compatibility module docutils._compat
1024     + Drop 2.2 compatibility workarounds.
1025     + Drop extras/optparse.py and extras/textwrap.py
1026       (stdlib modules since 2.3).
1028   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
1029   - Unix man page export: manpage writer moved from sandbox to Doctutils
1030     core.
1032   - Apply [ 1719345 ] Galician translation
1033   - Apply [ 1905741 ] Polish translation
1034   - Apply [ 1878977 ] make_id(): deaccent characters.
1035   - Apply [ 2029251 ] return nonzero when tests fail.
1036   - Fix [ 1692788 ] allow UTF-8 in style sheets.
1037   - Fix [ 2781629 ] support non-ASCII chars in file names.
1038   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
1039   - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
1040   - Fix [ 2821266 ] --strict option works now like --halt=info.
1041   - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
1042   - Fix [ 1627229 ] hyperlink references in substitutions.
1044   - The "newlatex" writer is orphaned.
1046 * reStructuredText:
1048   - Documented Unicode characters allowed as inline markup openers,
1049     closers, and delimiters.
1050   - Allow units for all length specifications.
1051   - Allow percent sign in "scale" argument of "figure" and "image" directives.
1052   - Bugfix: The "figalign" argument of a figure now works as intended
1053     (aligning the figure, not its contents).
1054   - Align images with class "align-[right|center|left]"
1055     (allows setting the alignment of an image in a figure).
1057 * docutils/nodes.py:
1059   - Added ``Element.__contains__`` method, for the in-operator.
1061 * docutils/parsers/rst/states.py:
1063   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
1064   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
1065     " " (non-breaking space), and "¡ ¿" openers.
1067 * docutils/parsers/directives/misc.py:
1069   - Added ``start-line`` and ``end-line`` options to "include"
1070     directive to select a range of lines.
1071   - Hard tabs in literal inclusions are replaced by spaces. This is
1072     configurable via the new ``tab-width`` option of the "include" directive
1073     (a negative tab-width prevents tab expansion).
1075 * docutils/utils.py:
1077   - Add ``get_stylesheet_list`` function.
1078   - Apply [ 2834836 ] print info at halt
1080 * docutils/transforms/universal.py:
1082   - Raise default priority of StripClasses to exclude stripped classes from
1083     the ToC.
1085 * docutils/writers/html4css1/__init__.py:
1087   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
1088     separated list of stylesheets.
1089   - Address [ 1938891 ] Inline literal text creates "pre" span only when
1090     needed to prevent inter-word line wraps.
1091   - Use `translate` method instead of repeated `replace` calls.
1092   - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
1093     classes to allow CSS styling that does not interfere with other
1094     table-using constructs (field lists, citations, ...).
1096 * docutils/writers/newlatex2e/__init__.py:
1098   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
1100 * docutils/writers/latex2e/__init__.py:
1102   - Add ``--embed-stylesheet`` option.
1103   - Apply [ 1474017 ] image vertical alignment is reversed.
1104   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
1105   - Change: has_key for dictionaries (not Nodes) to in-operator.
1106   - Merge adjacent citations into one latex cite command.
1107   - Failsave implementation of custom roles. LaTeX compilation now ignores
1108     unknown classes instead of aborting with an error.
1109   - Support custom roles based on standard roles.
1110   - LaTeX packages can be used as ``--stylesheet`` arguments without
1111     restriction. (A style sheet is now referenced with the ``\usepackage``
1112     command, if it ends with ``.sty`` or has no extension.)
1113   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
1114   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
1115   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
1116     2005-02-04 as a configurable length unit).
1117   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
1118     if font-encoding is set to ''. LaTeX defaults to OT1 then.
1119   - Set sub- and superscript role argument in text mode not as math.
1120     Use a custom role based on sub-/superscript if you want italic shape.
1121   - Shorter preamble and less dependencies: Load packages and define macros
1122     only if required in the document.
1123   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
1124   - New custom environments and commands with optional "classes" argument.
1125   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
1126   - Better conformance to Docutils specifications with ``--use-latex-toc``.
1127     Support for LaTeX generated ToC also with unnumbered sections.
1128   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
1129     section numbering by LaTeX.
1130   - Use default font in admonitions and sidebar.
1131   - Align of image in a figure defaults to 'center'.
1132   - Bugfix: Newlines around targets and references prevent run-together
1133     paragraphs.
1134   - Fix internal hyperlinks.
1135   - Use class defaults for page margins ('typearea' now optional).
1136   - Float placement made configurable, default changed to "here definitely".
1137   - Typeset generic topic as "quote block with title".
1138   - Use template (file and configuration option).
1139   - In the default template, load cmap.sty (fix text extraction in PDF) and
1140     fixltx2e.sty (LaTeX patches, \textsubscript).
1141   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
1142   - Use `translate` instead of repeated `replace` calls for text encoding.
1143   - Hyperlinked footnotes and support for symbol footnotes and
1144     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
1145   - Complete pairs of binary options
1146     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
1147     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
1148   - New defaults:
1149     - font-encoding: "T1" (formerly implicitely set by 'ae').
1150     - use-latex-toc: true (ToC with page numbers).
1151     - use-latex-footnotes: true (no mixup with figures).
1153 * docutils/writers/manpage.py
1155   - Do not print version at document end, this is done by the viewer.
1156   - Do not print date at document end, this is done by the viewer.
1157   - Fix storage of docinfo fields for none standard fields.
1159 * docutils/tools/rst2man.py
1161 Release 0.5 (2008-06-25)
1162 ========================
1164 * docutils/languages/he.py: Added to project: Hebrew mappings by
1165   Meir Kriheli.
1167 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
1168   mappings by Meir Kriheli.
1170 * docutils/frontend.py:
1172   - Configuration files are now assumed and required to be
1173     UTF-8-encoded.
1174   - Paths of applied configuration files are now recorded in the
1175     runtime setting ``_config_files`` (accessible via
1176     ``--dump-settings``).
1177   - Added ``--strip-elements-with-class`` and ``--strip-class``
1178     options (``strip_elements_with_classes`` and ``strip_classes``
1179     settings).
1181 * docutils/io.py:
1183   - Added code to determine the input encoding from data: encoding
1184     declarations or the presence of byte order marks (UTF-8 & UTF-16).
1185   - Added support for IronPython 1.0.
1187 * docutils/nodes.py:
1189   - Added ``document.__getstate__`` method, for pickling.
1191 * docutils/parsers/rst/states.py:
1193   - Allow ``+`` and ``:`` in reference names.
1194   - Unquoted targets beginning with an underscore (``.. __target:
1195     URI``) are no longer accepted.
1196   - Added support for multiple attributions in a physical block quote
1197     (indented text block), dividing it into multiple logical block
1198     quotes.
1199   - Added support for unicode bullets in bullet lists: "•", "‣", and
1200     "⁃".
1201   - Added support for new object-oriented directive interface,
1202     retaining compatibility to the old functional interface.
1203   - Added support for throwing ``DirectiveError``'s from within
1204     directive code.
1206 * docutils/parsers/rst/__init__.py:
1208   - Added ``Directive`` base class.
1209   - Added ``DirectiveError`` base class.
1210   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
1211     definitions.
1213 * docutils/parsers/directives/:
1215   - Refactored all reStructuredText directives to use the new
1216     object-oriented directive interface.  Errors are now (mostly)
1217     thrown using the new ``DirectiveError`` class.
1219 * docutils/parsers/directives/misc.py:
1221   - Added ``start-after`` and ``end-before`` options to ``include``
1222     directive; thanks to Stefan Rank.
1224 * docutils/transforms/universal.py:
1226   - Added ``StripClassesAndElements`` transform to remove from the
1227     document tree all elements with classes in
1228     ``settings.strip_elements_with_classes`` and all "classes"
1229     attribute values in ``self.document.settings.strip_classes``.
1231 * docutils/transforms/writer_aux.py:
1233   - Added ``Admonitions`` transform to transform specific admonitions
1234     (like ``note``, ``warning``, etc.) into generic admonitions with a
1235     localized title.
1237 * docutils/writers/html4css1/__init__.py:
1239   - Moved template functionality from the PEP/HTML writer here.
1240   - Expanded the fragments available in the ``parts`` attribute.
1241   - Moved ``id`` attributes from titles to surrounding ``div``
1242     elements.
1243   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
1244     universally supported now).
1245   - ``template.txt`` is now opened in text mode instead of binary mode
1246     (to ensure Windows compatibility).
1247   - ``a`` elements now have an "internal" or "external" class,
1248     depending on reference type.
1250 * docutils/writers/html4css1/template.txt: Added to project.
1252 * docutils/writers/pep_html/:
1254   - Moved template functionality to the HTML writer.
1256 * docutils/writers/s5_html/__init__.py:
1258   - Added ``view_mode`` & ``hidden_controls`` settings
1259     (``--view-mode`` & ``--hidden-controls/--visible-controls``
1260     options).
1262 * docutils/writers/latex2e/__init__.py:
1264   - Add ``--literal-block-env``
1265   - Fix: escaping ``%`` in href urls.
1266   - Move usepackage hyperref after stylesheet inclusion.
1267   - Fix: scrartcl does not have chapter but scrreprt.
1268   - Add newline after ``\end{verbatim}``.
1269   - Merge smaller differences from latex2e_adaptive_preamble.
1270   - Add ``use-part-section``.
1271   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
1272   - Using leavemode option_list no longer needs to check if parent
1273     is a definition list.
1274   - Append ``\leavemode`` to definition list terms.
1275   - No longer write visit\_/depart_definition_list_item comments to
1276     output.
1277   - Table column width with 3 decimal places.
1278   - Add table stubs support (boldfont).
1279   - Add assemble_parts to writer.
1280   - Add simply support for nested tables.
1281   - Fix verbatim in tables if use-verbatim-when-possible.
1282   - Use section commands down to subparagraph.
1283   - Put ensuremath around some latin1 chars.
1284   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
1285   - New option ``--use-bibtex=style,db1,db2``.
1286   - New option ``--reference-label`` to allow usage of LaTeX ref for
1287     labels in section references.
1288   - Add a label after every section to support sectionnumbers as reference
1289     labels.
1290   - Fix: bug# 1605376 rst2latex: bad options group list
1291   - Remove inactive code for use_optionlist_for_option_list.
1292   - Remove latex comments from option_list output.
1293   - Fix: bug# 1612270 double qoutes in italian literal.
1294   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
1295   - Add option --use-latex-abstract.
1296   - Image width unit ``px`` is translated to ``pt``.
1297   - Add image height support.
1298   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
1299     bug #1457388
1300   - Fix: Do not escape underscores in citation reference labels if
1301     use-latex-citations is set.
1302   - Use centering instead of center for figure contents, to avoid vertical
1303     space.
1304   - Recognize table class: borderless, nolines, booktabs, standard.
1305   - Fix: Renaming contents section does not work with latex writer; SF
1306     bug #1487405.
1307   - Applied patch for custom roles with classes from Edward Loper.
1308   - Fixed bug that caused crashes with more than 256 lists.
1310 * docutils/writers/pep_html/__init__.py:
1312   - Changed to support new python.org website structure and
1313     pep2pyramid.py.
1315 * docs/howto/security.txt: "Deploying Docutils Securely", added to
1316   project.
1318 * tools/buildhtml.py:
1320   -- Added ``ignore`` setting to exclude a list of shell patterns
1321      (default: ``.svn:CVS``).
1323 * tools/editors/emacs/rst.el:
1325   - Changed license to "GPL".
1326   - Added ``rst-straighten-decorations`` function.
1327   - The ``compile`` module is now always loaded.
1328   - Added ``rst-toggle-line-block`` function.
1329   - Headings consisting only of non-ASCII characters are now
1330     recognized by ``rst-toc`` and ``rst-adjust``.
1331   - Added font-lock support for multi-line comments where the first
1332     comment line is empty.
1333   - Added ``(require 'font-lock)``.
1335 * setup.py:
1337   - Provide descriptive error message if distutils is missing.
1340 Release 0.4 (2006-01-09)
1341 ========================
1343 * General:
1345   - Updated the project policies for trunk/branch development &
1346     version numbering.
1348 * docutils/__init__.py:
1350   - Added ``__version_details__`` attribute to describe code source
1351     (repository/snapshot/release).
1352   - Replaced ``default_transforms`` attribute of TransformSpec with
1353     ``get_transforms()`` method.
1355 * docutils/core.py:
1357   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
1358     functions, for document tree extraction and reprocessing.
1360 * docutils/io.py:
1362   - Added ``DocTreeInput`` class, for reprocessing existing documents.
1363   - Added support for non-Unicode (e.g. binary) writer output.
1365 * docutils/nodes.py:
1367   - Re-introduced ``Targetable.indirect_reference_name``, for
1368     MoinMoin/reST compatibility (removed in r3124/r3129).
1369   - Added ``serial_escape`` function; escapes string values that are
1370     elements of a list, for serialization.  Modified Docutils-XML
1371     writing (``Element._dom_node``) and pseudo-XML writing
1372     (``Element.starttag``) to use ``serial_escape``.
1373   - Added ``Node.deepcopy()`` method.
1374   - Removed the internal lists ``document.substitution_refs``,
1375     ``document.anonymous_refs``, and ``document.anonymous_targets``.
1376   - Added a "container" element.
1377   - Fixed bug where values of list-valued attributes of elements
1378     originating from custom interpreted text roles (i.e., with custom
1379     classes) were being shared between element instances.  Reported by
1380     Shmuel Zeigerman.
1382 * docutils/statemachine.py:
1384   - Added trailing whitespace stripping to ``string2lines()``.
1385   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
1386     Asian double-width character support.
1388 * docutils/utils.py:
1390   - Added ``east_asian_column_width()`` for double-width character
1391     support.
1393 * docutils/languages/ja.py: Added to project: Japanese mappings by
1394   Hisashi Morita.
1396 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
1397   mappings by Panjunyong.
1399 * docutils/parsers/null.py: Added to project; a do-nothing parser.
1401 * docutils/parsers/rst/__init__.py:
1403   - Added validator to tab_width setting, with test.  Closes SF bug
1404     #1212515, report from Wu Wei.
1406 * docutils/parsers/rst/states.py:
1408   - Fixed bug with escaped colons indicating a literal block.
1409   - Fixed bug with enumerated lists (SF#1254145).
1410   - Backslash-escaped colons inside of field names are now allowed.
1411   - Targets (implicit and explicit), anonymous hyperlink references
1412     and auto-numbered footnote references inside of substitution
1413     definitions are now disallowed.
1414   - Fixed bug: list items with blank first lines.
1415   - Fixed bug: block quote attributions with indented second lines.
1416   - Added East Asian double-width character support (Python 2.4 only).
1418 * docutils/parsers/rst/tableparser.py:
1420   - Added East Asian double-width character support (Python 2.4 only).
1422 * docutils/parsers/rst/directives/body.py:
1424   - Added the "container" directive.
1426 * docutils/parsers/rst/directives/misc.py:
1428   - Added the "default-role", "title", and "date" directives.
1429   - Added standard data file syntax to the "include" directive.
1430   - Added support for "class" directive content.
1432 * docutils/parsers/rst/directives/images.py:
1434   - Added ``indirect_reference_name`` support for images with a target
1435     option.
1436   - Added support for image width and height units.
1437   - Fixed bug with image "target" options.
1439 * docutils/parsers/rst/directives/references.py:
1441   - Added "class" attribute to "target-notes" directive, for
1442     footnote_reference classes.
1444 * docutils/parsers/rst/include/: Directory added to project; contains
1445   standard data files for the "include" directive.  Initial contents:
1446   character entity substitution definition sets, and a set of
1447   definitions for S5/HTML presentations.
1449 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
1450   mappings by David Goodger.
1452 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
1453   Simplified Chinese mappings by Panjunyong.
1455 * docutils/readers/__init__.py:
1457   - Added universal.Decorations and universal.ExposeInternals
1458     transforms as default transforms for all readers.
1459   - Added ``ReReader`` base class for readers that reread an existing
1460     document tree.
1462 * docutils/readers/doctree.py: Added to project; a reader for existing
1463   document trees.
1465 * docutils/transforms/frontmatter.py:
1467   - Fixed the DocInfo transform to handle SVN-style expansion of the
1468     "Date" keyword.
1469   - In ``DocInfo.extract_authors``, treat the contents of "authors"
1470     fields uniformly.
1472 * docutils/transforms/misc.py:
1474   - Added misc.Transitions transform, extracted from
1475     universal.FinalChecks.
1477 * docutils/transforms/references.py:
1479   - Added references.DanglingReferences transform, extracted from
1480     universal.FinalChecks.
1481   - Fixed bug with doubly-indirect substitutions.
1482   - Added footnote_reference classes attribute to "TargetNotes".
1483   - Fixed bug with circular substitution definitions that put Docutils
1484     into an infinite loop.
1486 * docutils/transforms/universal.py:
1488   - Added universal.ExposeInternals transform, extracted from
1489     universal.FinalChecks.
1490   - Removed universal.FinalChecks transform (logic has been moved to
1491     several new transforms).
1492   - Fixed bug with the "expose_internals" setting and Text nodes
1493     (exposed by the "rawsource" internal attribute).
1494   - Added the universal.StripComments transform, implementation of the
1495     "strip_comments" setting.
1497 * docutils/transforms/writer_aux.py: Added to project; auxiliary
1498   transforms for writers.
1500   - Added ``Compound`` transform, which flattens compound paragraphs.
1502 * docutils/writers/: Several writer modules (html4css1.py) were
1503   converted into packages.  Support modules and data files have been
1504   moved into the packages.  The stylesheets for the HTML writers are
1505   now installed along with the code, the code knows where to find
1506   them, and the default is to use them (actually, to embed them).
1507   Some adjustments to configuration files may be necessary.  The
1508   easiest way to obtain the new default behavior is to remove all
1509   settings whose name includes "stylesheet".
1511 * docutils/writers/__init__.py:
1513   - Added universal.Messages and universal.FilterMessages transforms
1514     as default transforms for all writers.
1515   - Added ``UnfilteredWriter`` base class for writers that pass the
1516     document tree on unchanged.
1518 * docutils/writers/docutils_xml.py:
1520   - Made ``xmlcharrefreplace`` the default output encoding error
1521     handler.
1523 * docutils/writers/html4css1/:
1525   - Added support for image width and height units.
1526   - Made ``xmlcharrefreplace`` the default output encoding error
1527     handler.
1528   - Made ``--embed-stylesheet`` the default rather than
1529     ``--link-stylesheet``.
1530   - Moved "id" attribute from container (section etc.) to title's <a>
1531     tag, to be on the same tag as "name".
1532     (!!! To be reverted in Docutils 0.5.)
1533   - Added vertical space between fields of field lists.
1534   - Added ``--compact-field-lists`` option to remove vertical space in
1535     simple field lists.
1536   - Made cloaking of email addresses with ``--cloak-email-addresses``
1537     less obtrusive.
1538   - Fixed support for centered images.
1539   - Added support for class="compact" & class="open" lists.
1541 * docutils/writers/latex2e/:
1543   - Underscores in citekeys are no longer escaped.
1545 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
1546   mapping of Unicode characters to LaTeX equivalents.
1548 * docutils/writers/s5_html/: Package added to project; writer for
1549   S5/HTML slide shows.
1551 * docs/dev/distributing.txt: Added to project; guide for distributors
1552   (package maintainers).
1554 * docs/dev/hacking.txt: Added to project; guide for developers.
1556 * docs/ref/doctree.txt:
1558   - Updated for plural attributes "classes", "ids", "names",
1559     "dupnames".
1560   - Added the "container" element.
1562 * docs/ref/docutils.dtd:
1564   - Updated for plural attributes "classes", "ids", "names",
1565     "dupnames".
1567 * docs/user/emacs.txt: Added to project; a document about Emacs
1568   support for reStructuredText and Docutils.
1570 * docs/user/links.txt: Added to project; lists of Docutils-related
1571   links.
1573 * docs/user/mailing-lists.txt: Added to project; information about
1574   Docutils-related mailing lists and how to access them.
1576 * docs/user/slide-shows.txt: Added to project; example of and docs for
1577   the S5/HTML writer (``rst2s5.py`` front end).
1579 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
1580   Files", added to project.
1582 * test/coverage.sh: Added to project; test coverage script.
1584 * test/DocutilsTestSupport.py:
1586   - Added support for specifying runtime settings at the suite level.
1588 * test/test_functional.py:
1590   - Added the ``clear_output_directory`` function.
1591   - Added support for ``_test_more`` functions in functional test
1592     config files.
1594 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
1596 * tools/rstpep2html.py: Renamed from pep.py.
1598 * tools/dev/create_unimap.py: Added to project; script to create the
1599   docutils/writers/unimap_latex.py mapping file.
1601 * tools/dev/profile_docutils.py: Added to project; profiler script.
1603 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
1605 * tools/editors/emacs/restructuredtext.el,
1606   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
1607   Removed from project; the functionality is now contained in rst.el.
1609 * tools/editors/emacs/rst.el: Added to project.  Added many features
1610   and fixed many bugs.  See docs/user/emacs.txt for details.
1612 * tools/stylesheets: Removed from project.  Stylesheets have been
1613   renamed and moved into writer packages.
1616 Release 0.3.9 (2005-05-26)
1617 ==========================
1619 * General:
1621   - Eliminated and replaced all uses of the old string attributes
1622     ``id``, ``name``, ``dupname`` and ``class`` with references to the
1623     new list attributes ``ids``, ``names``, ``dupnames`` and
1624     ``classes`` throughout the whole source tree.
1626 * docutils/core.py:
1628   - Enabled ``--dump-*`` options when ``--traceback`` specified,
1629     allowing for easier debugging.
1630   - In ``Publisher.publish()``, expanded the generic top-level
1631     exception catching.
1633 * docutils/examples.py:
1635   - Added ``internals`` function for exploration.
1637 * docutils/io.py:
1639   - Fixed ``Input.decode`` method to apply heuristics only if no
1640     encoding is explicitly given, and to provide better reporting of
1641     decoding errors.
1642   - The ``Input.decode`` method now removes byte order marks (BOMs)
1643     from input streams.
1645 * docutils/nodes.py:
1647   - ``image`` element class changed to subclass of Element, not
1648     TextElement (it's an empty element, and cannot contain text).
1649   - Added ``attr_defaults`` dictionary for default attribute values.
1650   - Added empty list as default value for the following attributes:
1651     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
1652   - Added ``document.decoration`` attribute,
1653     ``document.get_decoration`` method, and ``decoration.get_header``
1654     & ``.get_footer`` methods.
1655   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
1656     methods.
1658 * docutils/utils.py:
1660   - Removed ``docutils.utils.Reporter.categories``,
1661     ``docutils.utils.ConditionSet``, and all references to them, to
1662     simplify error reporting.
1664 * docutils/languages/nl.py: Added to project; Dutch mappings by
1665   Martijn Pieters.
1667 * docutils/parsers/rst/__init__.py:
1669   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
1671 * docutils/parsers/rst/states.py:
1673   - Added check for escaped at-mark to prevent email address recognition.
1674   - Fixed option lists to allow spaces inside ``<angle-bracketed option
1675     arguments>``.
1676   - Allowed whitespace in paths and URLs.
1677   - Added auto-enumerated list items.
1678   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
1679     followed by text.
1680   - Added support for table stub columns.
1682 * docutils/parsers/rst/directives/__init__.py:
1684   - Allowed whitespace in paths (``path`` function).
1685   - Added ``uri`` directive option conversion function.
1687 * docutils/parsers/rst/directives/body.py:
1689   - Fixed illegal context bug with "topic" directive (allowed within
1690     sidebars; not within body elements).
1692 * docutils/parsers/rst/directives/images.py:
1694   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
1695   - Added support for the ``file_insertion_enabled`` setting in the
1696     "figure" directive (disables "figwidth" option).
1697   - "image" directive: added checks for valid values of "align" option,
1698     depending on context.  "figure" directive: added specialized
1699     "align" option and attribute on "figure" element.
1700   - Made ":figwidth: image" option of "figure" directive work again.
1701   - Fixed bug with reference names containing uppercase letters
1702     (e.g. ``Name_``) in "target" option of "image" directive.
1704 * docutils/parsers/rst/directives/misc.py:
1706   - Fixed "include" and "raw" directives to catch text decoding
1707     errors.
1708   - Allowed whitespace in "include" & "raw" directive paths.
1709   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
1710     settings in "include" & "raw" directives.
1712 * docutils/parsers/rst/directives/parts.py:
1714   - Added "header" & "footer" directives.
1715   - Fixed illegal context bug with "contents" directive (topics
1716     allowed within sidebars; not within body elements).
1718 * docutils/parsers/rst/directives/tables.py:
1720   - Added "list-table" directive.
1721   - Caught empty CSV table bug.
1722   - Added support for the ``file_insertion_enabled`` setting in the
1723     "csv-table" directive.
1724   - Added ``stub-columns`` option to "csv-table" and "list-table"
1725     directives.
1727 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1728   mappings by Martijn Pieters.
1730 * docutils/readers/standalone.py:
1732   - Added ``--section-subtitles`` and ``--no-section-subtitles``
1733     options to activate or deactivate the SectSubTitle transform.
1735 * docutils/transforms/frontmatter.py:
1737   - Added SectSubTitle transform to promote titles of lone
1738     subsections to subtitles.
1740 * docutils/transforms/references.py:
1742   - Fixed mislocated internal targets bug, by propagating internal
1743     targets to the next node, making use of the newly added support
1744     for multiple names and IDs.
1745   - Fixed duplicate footnote label bug.
1746   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1747     transform.
1749 * docutils/writers/html4css1.py:
1751   - Fixed unencoded stylesheet reference bug (characters like "&" in
1752     stylesheet references).
1753   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1754     tags).
1755   - Added support for multiple IDs per node by creating empty ``span``
1756     tags.
1757   - Added the ``field_name_limit`` & ``option_limit`` settings &
1758     support.
1759   - Added support for table stub columns.
1760   - Added support for the ``align`` attribute on ``figure`` elements.
1761   - Added the ``cloak_email_addresses`` setting & support.
1762   - Added ``html_prolog``, ``html_head``, ``html_body``,
1763     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1764     ``docutils.core.publish_parts``.
1765   - Added support for section subtitles.
1767 * docutils/writers/latex2e.py:
1769   - Fixed tables starting with more than one multirow cell.
1770   - Improved --use-latex-docinfo so that organization/contact/address
1771     fields are lumped with the last author field and appear on the
1772     titlepage.
1773   - Made sure the titlepage is always shown with --use-latex-docinfo,
1774     even if the document has no title.
1775   - Made sure that latex doesn't fill in today's date if no date field
1776     was given.
1777   - Added support for section subtitles.
1779 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1780   (under development).
1782 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1784 * docs/api/publisher.txt:
1786   - Added "``publish_parts`` Details" section.
1788 * docutils/dev/repository.txt: Added to project; information about the
1789   Docutils Subversion repository.
1791 * docs/ref/docutils.dtd:
1793   - Added a ``stub`` attribute to the ``colspec`` element via the
1794     ``tbl.colspec.att`` parameter entity.
1795   - Allowed topic elements within sidebars
1796   - Added an ``align`` attribute to the ``figure`` element.
1798 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1799   writer.
1802 Release 0.3.7 (2004-12-24)
1803 ==========================
1805 * docutils/frontend.py:
1807   - Added options: --input-encoding-error-handler,
1808     --record-dependencies, --leave-footnote-reference-space,
1809     --strict-visitor.
1810   - Added command-line and config file support for "overrides" setting
1811     parameter.
1813 * docutils/io.py:
1815   - Added support for input encoding error handler.
1817 * docutils/nodes.py:
1819   - Added dispatch_visit and dispatch_departure methods to
1820     NodeVisitor; useful as a hook for Visitors.
1821   - Changed structure of ``line_block``; added ``line``.
1822   - Added ``compound`` node class.
1823   - Added a mechanism for Visitors to transitionally ignore new node
1824     classes.
1826 * docutils/utils.py:
1828   - Moved ``escape2null`` and ``unescape`` functions from
1829     docutils/parsers/rst/states.py.
1831 * docutils/parsers/rst/roles.py:
1833   - Added "raw" role.
1834   - Changed role function API: the "text" parameter now takes
1835     null-escaped interpreted text content.
1837 * docutils/parsers/rst/states.py:
1839   - Fixed bug where a "role" directive in a nested parse would crash
1840     the parser; the state machine's "language" attribute was not being
1841     copied over.
1842   - Added support for line block syntax.
1843   - Fixed directive parsing bug: argument-less directives didn't
1844     notice that arguments were present.
1845   - Removed error checking for transitions.
1846   - Added support for multiple classifiers in definition list items.
1847   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1848   - Changed role function API: the "text" parameter now takes
1849     null-escaped interpreted text content.
1850   - Empty sections and documents are allowed now.
1852 * docutils/parsers/rst/directives/__init__.py:
1854   - Added ``encoding`` directive option conversion function.
1855   - Allow multiple class names in class_option conversion function.
1857 * docutils/parsers/rst/directives/body.py:
1859   - Converted the line-block directive to use the new structure.
1860   - Extracted the old line-block functionality to the ``block``
1861     function (still used).
1862   - Added ``compound`` directive (thanks to Lea Wiemann).
1864 * docutils/parsers/rst/directives/misc.py:
1866   - Added "encoding" option to "include" and "raw" directives.
1867   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1868   - Allow multiple class names in the "class" directive.
1870 * docutils/parsers/rst/directives/parts.py:
1872   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1873     options.  Thanks to Lele Gaifax.
1875 * docutils/parsers/rst/directives/tables.py:
1877   - Added "encoding" directive to "csv-table" directive.
1878   - Added workaround for lack of Unicode support in csv.py, for
1879     non-ASCII CSV input.
1881 * docutils/transforms/misc.py:
1883   - Fixed bug when multiple "class" directives are applied to a single
1884     element.
1885   - Enabled multiple format names for "raw" directive.
1887 * docutils/transforms/references.py:
1889   - Added support for trimming whitespace from beside substitution
1890     references.
1892 * docutils/transforms/universal.py:
1894   - FinalChecks now checks for illegal transitions and moves
1895     transitions between sections.
1897 * docutils/writers/html4css1.py:
1899   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
1900   - "stylesheet" and "stylesheet_path" settings are now mutually
1901     exclusive.
1902   - Added support for the new line_block/line structure.
1903   - --footnote-references now overrides
1904     --trim-footnote-reference-space, if applicable.
1905   - Added support for ``compound`` elements.
1906   - Enabled multiple format names for "raw" directive.
1907   - ``<p>`` tags of a paragraph which is the only visible child of the
1908     document node are no longer stripped.
1909   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1910     new method ``should_be_compact_paragraph()``.
1911   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1912     elements.
1913   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1914     the output if they have their ``class`` attribute set.
1915   - The whole document is now surrounded by a ``<div
1916     class="document">`` element.
1917   - Body-level images are now wrapped by their own ``<div>`` elements,
1918     with image classes copied to the wrapper, and for images which
1919     have the ``:align:`` option set, the surrounding ``<div>`` now
1920     receives a class attribute (like ``class="align-left"``).
1922 * docutils/writers/latex2e.py:
1924   - no newline after depart_term.
1925   - Added translations for some Unicode quotes.
1926   - Added option "font-encoding", made package AE the default.
1927   - "stylesheet" and "stylesheet_path" settings are now mutually
1928     exclusive.
1929   - --footnote-references now overrides
1930     --trim-footnote-reference-space, if applicable.
1931   - The footnote label style now matches the footnote reference style
1932     ("brackets" or "superscript").
1933   - Added support for ``compound`` elements.
1934   - Enabled multiple format names for "raw" directive.
1936 * docs/ref/docutils.dtd:
1938   - Changed structure of the ``line_block`` element; added ``line``.
1939   - Added ``compound`` element.
1940   - Added "ltrim" and "rtrim" attributes to
1941     ``substitution_definition`` element.
1942   - Enabled multiple format names for ``raw`` element.
1943   - Enabled multiple classifiers in ``definition_list_item`` elements.
1945 * docs/ref/rst/directives.txt
1947   - Marked "line-block" as deprecated.
1948   - "Class" directive now allows multiple class names.
1949   - Added "Rationale for Class Attribute Value Conversion".
1950   - Added warning about "raw" overuse/abuse.
1952 * docs/ref/rst/restructuredtext.txt:
1954   - Added syntax for line blocks.
1955   - Definition list items may have multiple classifiers.
1957 * docs/ref/rst/roles.txt:
1959   - Added "raw" role.
1961 * tools/stylesheets/default.css:
1963   - Added support for the new line_block structure.
1964   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1967 Release 0.3.5 (2004-07-29)
1968 ==========================
1970 General:
1972 * _`Documentation cleanup/reorganization`.
1974   - Created new subdirectories of docs/:
1976     * ``docs/user/``: introductory/tutorial material for end-users
1977     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1978     * ``docs/api/``: API reference material for client-developers
1979     * ``docs/ref/``: reference material for all groups
1980     * ``docs/howto/``: for component-developers and core-developers
1981     * ``docs/peps/``: Python Enhancement Proposals
1983   - Moved ``docs/*`` to ``docs/user/``.
1984   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1985     ``spec/`` to ``docs/dev``.
1986   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1987     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1988   - Moved ``alternatives.txt``, and ``problems.txt`` from
1989     ``spec/rst/`` to ``docs/dev/rst/``.
1990   - Moved ``reStructuredText.txt``, ``directives.txt``,
1991     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1992     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
1993     ``roles.txt``, ``reStructuredText.txt`` to
1994     ``restructuredtext.txt``.
1995   - Moved ``spec/howto/`` to ``docs/howto``.
1997   In order to keep the CVS history of moved files, we supplied
1998   SourceForge with a `script for modifying the Docutils CVS
1999   repository`__.
2001   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
2003   After running the cleanup script:
2005   - Added ``docs/index.txt``.
2006   - Added a ``.htaccess`` file to the ``web`` module, containing
2007     redirects for all old paths to new paths.  They'll preserve
2008     fragments (the "#name" part of a URL), and won't clutter up the
2009     file system, and will correct the URL in the user's browser.
2010   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
2011     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
2012     the "To Do" list itself in ``docs/dev/todo.txt``.
2013   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
2014     section of ``docs/dev/todo.txt``.
2015   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
2016   - Added "How To Report Bugs" to ``BUGS.txt``.
2017   - Went through all the sources and docs (including under web/) and
2018     updated links.  Mostly done by Lea Wiemann; thanks Lea!
2019     (Still need to update links in the sandboxes.)
2021 Specific:
2023 * BUGS.txt: Added to project.
2025 * THANKS.txt: Added to project.
2027 * docutils/__init__.py:
2029   - 0.3.4: Post-release.
2031 * docutils/core.py:
2033   - Added special error handling & advice for UnicodeEncodeError.
2034   - Refactored Publisher.publish (simplified exception handling &
2035     extracted debug dumps).
2036   - Renamed "enable_exit" parameter of convenience functions to
2037     "enable_exit_status".
2038   - Enabled traceback (exception propagation) by default in
2039     programmatic convenience functions.
2040   - Now publish_file and publish_cmdline convenience functions return
2041     the encoded string results in addition to their regular I/O.
2042   - Extracted common code from publish_file, publish_string, and
2043     publish_parts, into new publish_programmatically.  Extracted
2044     settings code to ``Publisher.process_programmatic_settings``.
2045   - In Publisher.publish, disabled ``settings_overrides`` when
2046     ``settings`` is supplied; redundant.
2048 * docutils/frontend.py:
2050   - Added help text for "--output-encoding-error-handler" and
2051     "--error-encoding-error-handler".
2052   - Renamed "--exit" to "--exit-status".
2053   - Simplified default-setting code.
2055 * docutils/parsers/rst/__init__.py:
2057   - Added "--pep-base-url" and "--rfc-base-url" options.
2059 * docutils/parsers/rst/states.py:
2061   - Made URI recognition more aggressive and intelligent.
2063 * docutils/parsers/rst/directives/__init__.py:
2065   - Added several directive option conversion functions.
2067 * docutils/parsers/rst/directives/body.py:
2069   - Moved "table" directive to tables.py.
2071 * docutils/parsers/rst/directives/tables.py: Table-related directives,
2072   added to project.
2074 * docutils/writers/latex2e.py:
2076   - Added "--table-style=(standard|booktabs|nolines)"
2077   - figures get "here" option (LaTeX per default puts them at bottom),
2078     and figure content is centered.
2079   - Rowspan support for tables.
2080   - Fix: admonition titles before first section.
2081   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
2082   - Replave ``_`` in literal by an underlined blank, because it has the correct
2083     width.
2084   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
2085   - A few unicode replacements, if output_encoding != utf
2086   - Add "--graphicx-option".
2087   - Indent literal-blocks.
2088   - Fix: omit ``\maketitle`` when there is no document title.
2090 * docs/index.txt: "Docutils Project Documentation Overview", added to
2091   project.
2093 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
2094   Tool", added to project.
2096 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
2098 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
2100 * docs/dev/policies.txt: Added to project (extracted from
2101   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
2103 * docs/dev/release.txt: Added to project (extracted from
2104   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
2106 * docs/dev/testing.txt: Added to project.
2108 * docs/dev/website.txt: Added to project (extracted from
2109   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
2111 * docs/ref/rst/directives.txt:
2113   - Added directives: "table", "csv-table".
2115 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
2116   added to project.  1 page for syntax, and a 1 page reference for
2117   directives and roles.  Source text to be used as-is; not meant to be
2118   converted to HTML.
2120 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
2121   with a change of title.
2123 * test/functional/, contents, and test/test_functional.py: Added to
2124   project.
2126 * tools/buildhtml.py: Fixed bug with config file handling.
2128 * tools/html.py: Removed from project (duplicate of rst2html.py).
2130 * tools/pep2html.py: Removed from project (duplicate of Python's
2131   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
2132   Docutils-related PEPs in docs/peps/).
2134 * tools/rst2pseudoxml.py: Renamed from publish.py.
2136 * tools/rst2xml.py: Renamed from docutils-xml.py.
2138 * tools/test.txt: Removed from project; moved to
2139   docs/user/rst/demo.txt.
2141 * setup.py: Now also installs ``rst2latex.py``.
2144 Release 0.3.3 (2004-05-09)
2145 ==========================
2147 * docutils/__init__.py:
2149   - 0.3.1: Reorganized config file format (multiple sections); see
2150     docs/config.txt.
2151   - Added unknown_reference_resolvers attribute to TransformSpec.
2152   - 0.3.2: Interpreted text reorganization.
2153   - 0.3.3: Released.
2155 * docutils/core.py:
2157   - Catch system messages to stop tracebacks from parsing errors.
2158   - Catch exceptions during processing report & exit without
2159     tracebacks, except when "--traceback" used.
2160   - Reordered components for OptionParser; application comes last.
2161   - Added "config_section" parameter to several methods and functions,
2162     allowing front ends to easily specify their config file sections.
2163   - Added publish_parts convenience function to allow access to individual
2164     parts of a document.
2166 * docutils/examples.py: Added to project; practical examples of
2167   Docutils client code, to be used as-is or as models for variations.
2169 * docutils/frontend.py:
2171   - Added "--traceback" & "--no-traceback" options ("traceback"
2172     setting).
2173   - Implemented support for config file reorganization:
2174     ``standard_config_files`` moved from ``ConfigParser`` to
2175     ``OptionParser``; added
2176     ``OptionParser.get_config_file_settings()`` and
2177     ``.get_standard_config_settings()``; support for old "[options]"
2178     section (with deprecation warning) and mapping from old to new
2179     settings.
2180   - Reimplemented setting validation.
2181   - Enabled flexible boolean values: yes/no, true/false, on/off.
2182   - Added ``Values``, a subclass of ``optparse.Values``, with support
2183     for list setting attributes.
2184   - Added support for new ``DOCUTILSCONFIG`` environment variable;
2185     thanks to Beni Cherniavsky.
2186   - Added "--no-section-numbering" option.
2188 * docutils/io.py:
2190   - Catch IOErrors when opening source & destination files, report &
2191     exit without tracebacks.  Added ``handle_io_errors`` parameter to
2192     ``FileInput`` & ``FileOutput`` to enable caller error handling.
2194 * docutils/nodes.py:
2196   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
2197     method definitions (via ``exec``) to dynamic assignments (via
2198     ``setattr``); thanks to Roman Suzi.
2199   - Encapsulated visitor dynamic assignments in a function; thanks to
2200     Ian Bicking.
2201   - Added indirect_reference_name attribute to the Targetable
2202     class. This attribute holds the whitespace_normalized_name
2203     (contains mixed case) of a target.
2205 * docutils/statemachine.py:
2207   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
2208   - Added ``StringList.get_2D_block``.
2210 * docutils/utils.py:
2212   - Added "level" attribute to SystemMessage exceptions.
2214 * docutils/languages/af.py: Added to project; Afrikaans mappings by
2215   Jannie Hofmeyr.
2217 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
2218   Blaha.
2220 * docutils/languages/eo.py: Added to project; Esperanto mappings by
2221   Marcelo Huerta San Martin.
2223 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
2224   mappings by Lalo Martins.
2226 * docutils/languages/ru.py: Added to project; Russian mappings by
2227   Roman Suzi.
2229 * docutils/parsers/rst/roles.py: Added to project.  Contains
2230   interpreted text role functions, a registry for interpreted text
2231   roles, and an API for adding to and retrieving from the registry.
2232   Contributed by Edward Loper.
2234 * docutils/parsers/rst/states.py:
2236   - Updated ``RSTState.nested_parse`` for "include" in table cells.
2237   - Allowed true em-dash character and "---" as block quote
2238     attribution marker.
2239   - Added support for <angle-bracketed> complex option arguments
2240     (option lists).
2241   - Fixed handling of backslashes in substitution definitions.
2242   - Fixed off-by-1 error with extra whitespace after substitution
2243     definition directive.
2244   - Added inline markup parsing to field lists' field names.
2245   - Added support for quoted (and unindented) literal blocks.
2246     Driven in part by a bribe from Frank Siebenlist (thanks!).
2247   - Parser now handles escapes in URIs correctly.
2248   - Made embedded-URIs' reference text omittable.  Idea from Beni
2249     Cherniavsky.
2250   - Refactored explicit target processing code.
2251   - Added name attribute to references containing the reference name only
2252     through whitespace_normalize_name (no case changes).
2253   - parse_target no longer returns the refname after going through
2254     normalize_name. This is now handled in make_target.
2255   - Fixed bug relating to role-less interpreted text in non-English
2256     contexts.
2257   - Reorganized interpreted text processing; moved code into the new
2258     roles.py module.  Contributed by Edward Loper.
2259   - Refactored ``Body.parse_directive`` into ``run_directive`` and
2260     ``parse_directive_block``.
2262 * docutils/parsers/rst/tableparser.py:
2264   - Reworked for ``StringList``, to support "include" directives in
2265     table cells.
2267 * docutils/parsers/rst/directives/__init__.py:
2269   - Renamed ``unchanged()`` directive option conversion function to
2270     ``unchanged_required``, and added a new ``unchanged``.
2271   - Catch unicode value too high error; fixes bug 781766.
2272   - Beefed up directive error reporting.
2274 * docutils/parsers/rst/directives/body.py:
2276   - Added basic "table" directive.
2278 * docutils/parsers/rst/directives/images.py:
2280   - Added "target" option to "image" directive.
2281   - Added name attribute to references containing the reference name only
2282     through whitespace_normalize_name (no case changes).
2284 * docutils/parsers/rst/directives/misc.py:
2286   - Isolated the import of the ``urllib2`` module; was causing
2287     problems on SourceForge (``libssl.so.2`` unavailable?).
2288   - Added the "role" directive for declaring custom interpreted text
2289     roles.
2291 * docutils/parsers/rst/directives/parts.py:
2293   - The "contents" directive does more work up-front, creating the
2294     "topic" and "title", and leaving the "pending" node for the
2295     transform.  Allows earlier reference resolution; fixes subtle bug.
2297 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
2298   mappings by Jannie Hofmeyr.
2300 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
2301   mappings by Marek Blaha.
2303 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
2304   mappings by Marcelo Huerta San Martin.
2306 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
2307   Portuguese mappings by Lalo Martins.
2309 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
2310   mappings by Roman Suzi.
2312 * docutils/transforms/parts.py:
2314   - The "contents" directive does more work up-front, creating the
2315     "topic" and "title", and leaving the "pending" node for the
2316     transform.  Allows earlier reference resolution; fixes subtle bug.
2317   - Added support for disabling of section numbering.
2319 * docutils/transforms/references.py:
2321   - Verifying that external targets are truly targets and not indirect
2322     references. This is because we are now adding a "name" attribute to
2323     references in addition to targets. Note sure if this is correct!
2324   - Added code to hook into the unknown_reference_resolvers list for a
2325     transformer in resolve_indirect_target. This allows the
2326     unknown_reference_resolvers to keep around indirect targets which
2327     docutils doesn't know about.
2328   - Added specific error message for duplicate targets.
2330 * docutils/transforms/universal.py:
2332   - Added FilterMessages transform (removes system messages below the
2333     verbosity threshold).
2334   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
2335     to FinalCheckVisitor for application-specific handling of
2336     unresolvable references.
2337   - Added specific error message for duplicate targets.
2339 * docutils/writers/__init__.py:
2341   - Added assemble_parts method to the Writer class to allow for
2342     access to a documents individual parts.
2343   - Documented & set default for ``Writer.output`` attribute.
2345 * docutils/writers/html4css1.py:
2347   - Fixed unicode handling of attribute values (bug 760673).
2348   - Prevent duplication of "class" attribute values (bug report from
2349     Kirill Lapshin).
2350   - Improved table grid/border handling (prompted by report from Bob
2351     Marshall).
2352   - Added support for table titles.
2353   - Added "<title />" for untitled docs, for XHTML conformance; thanks
2354     to Darek Suchojad.
2355   - Added functionality to keep track of individual parts of a document
2356     and store them in a dictionary as the "parts" attribute of the writer.
2357     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
2358   - Added proper support for the "scale" attribute of the "image"
2359     element.  Contributed by Brent Cook.
2360   - Added ``--initial-header-level`` option.
2361   - Fixed bug: the body_pre_docinfo segment depended on there being a
2362     docinfo; if no docinfo, the document title was incorporated into
2363     the body segment.  Adversely affected the publish_parts interface.
2365 * docutils/writers/latex2e.py:
2367   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
2368     about a missing file.
2369   - Added options and support: ``--compound-enumerators``,
2370     ``--section-prefix-for-enumerators``, and
2371     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
2372     934322).
2373   - Added option ``--use-verbatim-when-possible``, to avoid
2374     problematic characters (eg, '~' in italian) in literal blocks.
2375   - It's now possible to use four section levels in the `book` and
2376     `report` LaTeX classes.  The default `article` class still has
2377     three levels limit.
2379 * docs/config.txt: "Docutils Configuration Files", added to project.
2380   Moved config file entry descriptions from tools.txt.
2382 * docs/tools.txt:
2384   - Moved config file entry descriptions to config.txt.
2386 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
2387   Development".
2389 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
2390   Text Roles", added to project.
2392 * spec/rst/reStructuredText.txt:
2394   - Added description of support for <angle-bracketed> complex option
2395     arguments to option lists.
2396   - Added subsections for indented and quoted literal blocks.
2398 * test: Continually adding & updating tests.
2400   - Added test/test_settings.py & test/data/config_*.txt support
2401     files.
2402   - Added test/test_writers/test_htmlfragment.py.
2404 * test/DocutilsTestSupport.py:
2406   - Refactored LaTeX publisher test suite/case class names to make
2407     testing other writers easier.
2408   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
2409     to test the processing of HTML fragments which use the new
2410     publish_parts convenience function.
2412 * tools/buildhtml.py:
2414   - Added support for the "--prune" option.
2415   - Removed dependency on pep2html.py; plaintext PEPs no longer
2416     supported.
2418 * tools/docutils.conf:
2420   - Updated for configuration file reorganization.
2422 * tools/rst2html.py:
2424   - copied from tools/html.py
2426 * setup.py:
2428   - added a 'scripts' section to configuration
2429   - added 'tools/rst2html.py' to the scripts section
2432 Release 0.3 (2003-06-24)
2433 ========================
2435 General:
2437 * Renamed "attribute" to "option" for directives/extensions.
2439 * Renamed transform method "transform" to "apply".
2441 * Renamed "options" to "settings" for runtime settings (as set by
2442   command-line options).  Sometimes "option" (singular) became
2443   "settings" (plural).  Some variations below:
2445   - document.options -> document.settings (stored in other objects as
2446     well)
2447   - option_spec -> settings_spec (not directives though)
2448   - OptionSpec -> SettingsSpec
2449   - cmdline_options -> settings_spec
2450   - relative_path_options -> relative_path_settings
2451   - option_default_overrides -> settings_default_overrides
2452   - Publisher.set_options -> Publisher.get_settings
2454 Specific:
2456 * COPYING.txt: Added "Public Domain Dedication".
2458 * FAQ.txt: Frequently asked questions, added to project.
2460 * setup.py:
2462   - Updated with PyPI Trove classifiers.
2463   - Conditional installation of third-party modules.
2465 * docutils/__init__.py:
2467   - Bumped version to 0.2.1 to reflect changes to I/O classes.
2468   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
2469   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
2470   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
2471     option and its effect on the PEP template & writer.
2472   - Bumped version to 0.2.4 due to changes to the PEP template &
2473     stylesheet.
2474   - Bumped version to 0.2.5 to reflect changes to Reporter output.
2475   - Added ``TransformSpec`` class for new transform system.
2476   - Bumped version to 0.2.6 for API changes (renaming).
2477   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
2478     convenience functions.
2479   - Added ``Component.component_type`` attribute.
2480   - Bumped version to 0.2.8 because of the internal parser switch from
2481     plain lists to the docutils.statemachine.StringList objects.
2482   - Bumped version to 0.2.9 because of the frontend.py API changes.
2483   - Bumped version to 0.2.10 due to changes to the project layout
2484     (third-party modules removed from the "docutils" package), and
2485     signature changes in ``io.Input``/``io.Output``.
2486   - Changed version to 0.3.0 for release.
2488 * docutils/core.py:
2490   - Made ``publish()`` a bit more convenient.
2491   - Generalized ``Publisher.set_io``.
2492   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
2493     parameters; improved its docstring.
2494   - Added ``publish_file()`` and ``publish_string()``.
2495   - Factored ``Publisher.set_source()`` and ``.set_destination()``
2496     out of ``.set_io``.
2497   - Added support for "--dump-pseudo-xml", "--dump-settings", and
2498     "--dump-transforms" hidden options.
2499   - Added ``Publisher.apply_transforms()`` method.
2500   - Added ``Publisher.set_components()`` method; support for
2501     ``publish_*()`` conveninece functions.
2502   - Moved config file processing to docutils/frontend.py.
2503   - Added support for exit status ("exit_level" setting &
2504     ``enable_exit`` parameter for Publisher.publish() and convenience
2505     functions).
2507 * docutils/frontend.py:
2509   - Check for & exit on identical source & destination paths.
2510   - Fixed bug with absolute paths & "--config".
2511   - Set non-command-line defaults in ``OptionParser.__init__()``:
2512     ``_source`` & ``_destination``.
2513   - Distributed ``relative_path_settings`` to components; updated
2514     ``OptionParser.populate_from_components()`` to combine it all.
2515   - Require list of keys in ``make_paths_absolute`` (was implicit in
2516     global ``relative_path_settings``).
2517   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
2518     "--dump-settings", and "--dump-transforms" hidden options.
2519   - Removed nasty internals-fiddling ``ConfigParser.get_section``
2520     code, replaced with correct code.
2521   - Added validation functionality for config files.
2522   - Added "--error-encoding" option/setting, "_disable_config"
2523     internal setting.
2524   - Added encoding validation; updated "--input-encoding" and
2525     "--output-encoding"; added "--error-encoding-error-handler" and
2526     "--output-encoding-error-handler".
2527   - Moved config file processing from docutils/core.py.
2528   - Updated ``OptionParser.populate_from_components`` to handle new
2529     ``SettingsSpec.settings_defaults`` dict.
2530   - Added support for "-" => stdin/stdout.
2531   - Added "exit_level" setting ("--exit" option).
2533 * docutils/io.py:
2535   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
2536   - Added automatic closing to ``FileInput`` and ``FileOutput``.
2537   - Delayed opening of ``FileOutput`` file until ``write()`` called.
2538   - ``FileOutput.write()`` now returns the encoded output string.
2539   - Try to get path/stream name automatically in ``FileInput`` &
2540     ``FileOutput``.
2541   - Added defaults for source & destination paths.
2542   - Allow for Unicode I/O with an explicit "unicode" encoding.
2543   - Added ``Output.encode()``.
2544   - Removed dependency on runtime settings; pass encoding directly.
2545   - Recognize Unicode strings in ``Input.decode()``.
2546   - Added support for output encoding error handlers.
2548 * docutils/nodes.py:
2550   - Added "Invisible" element category class.
2551   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
2552     modification during a traversal.
2553   - Added element classes: ``line_block``, ``generated``, ``address``,
2554     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
2555     ``superscript``, ``subscript``, ``inline``
2556   - Added support for lists of nodes to ``Element.insert()``.
2557   - Fixed parent linking in ``Element.replace()``.
2558   - Added new abstract superclass ``FixedTextElement``; adds
2559     "xml:space" attribute.
2560   - Added support for "line" attribute of ``system_message`` nodes.
2561   - Added support for the observer pattern from ``utils.Reporter``.
2562     Added ``parse_messages`` and ``transform_messages`` attributes to
2563     ``document``, removed ``messages``.  Added ``note_parse_message``
2564     and ``note_transform_message`` methods.
2565   - Added support for improved diagnostics:
2567     - Added "document", "source", and "line" internal attributes to
2568       ``Node``, set by ``Node.setup_child()``.
2569     - Converted variations on ``node.parent = self`` to
2570       ``self.setup_child(node)``.
2571     - Added ``document.current_source`` & ``.current_line``
2572       attributes, and ``.note_source`` observer method.
2573     - Changed "system_message" output to GNU-Tools format.
2575   - Added a "rawsource" attribute to the ``Text`` class, for text
2576     before backslash-escape resolution.
2577   - Support for new transform system.
2578   - Reworked ``pending`` element.
2579   - Fixed XML DOM bug (SF #660611).
2580   - Removed the ``interpeted`` element class and added
2581     ``title_reference``, ``abbreviation``, ``acronym``.
2582   - Made substitutions case-sensitive-but-forgiving; moved some code
2583     from the parser.
2584   - Fixed Unicode bug on element attributes (report: William Dode).
2586 * docutils/optik.py: Removed from project; replaced with
2587   extras/optparse.py and extras/textwrap.py.  These will be installed
2588   only if they're not already present in the Python installation.
2590 * docutils/roman.py: Moved to extras/roman.py; this will be installed
2591   only if it's not already present in the Python installation.
2593 * docutils/statemachine.py:
2595   - Factored out ``State.add_initial_transitions()`` so it can be
2596     extended.
2597   - Converted whitespace-specific "blank" and "indent" transitions
2598     from special-case code to ordinary transitions: removed
2599     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
2600     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
2601     ``ws_initial_transitions`` attributes.
2602   - Removed ``State.match_transition()`` after merging it into
2603     ``.check_line()``.
2604   - Added ``StateCorrection`` exception.
2605   - Added support for ``StateCorrection`` in ``StateMachine.run()``
2606     (moved ``TransitionCorrection`` support there too.)
2607   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
2608     ``EOFError`` instead of ``IndexError``.
2609   - Added ``State.no_match`` method.
2610   - Added support for the Observer pattern, triggered by input line
2611     changes.
2612   - Added ``strip_top`` parameter to
2613     ``StateMachineWS.get_first_known_indented``.
2614   - Made ``context`` a parameter to ``StateMachine.run()``.
2615   - Added ``ViewList`` & ``StringList`` classes;
2616     ``extract_indented()`` becomes ``StringList.get_indented()``.
2617   - Added ``StateMachine.insert_input()``.
2618   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
2619     thanks to) Fred Drake.
2621 * docutils/utils.py:
2623   - Added a ``source`` attribute to Reporter instances and
2624     ``system_message`` elements.
2625   - Added an observer pattern to ``utils.Reporter`` to keep track of
2626     system messages.
2627   - Fixed bugs in ``relative_path()``.
2628   - Added support for improved diagnostics.
2629   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
2630   - Added support for encoding Reporter stderr output, and encoding
2631     error handlers.
2632   - Reporter keeps track of the highest level system message yet
2633     generated.
2635 * docutils/languages: Fixed bibliographic field language lookups.
2637 * docutils/languages/es.py: Added to project; Spanish mappings by
2638   Marcelo Huerta San Martin.
2640 * docutils/languages/fr.py: Added to project; French mappings by
2641   Stefane Fermigier.
2643 * docutils/languages/it.py: Added to project; Italian mappings by
2644   Nicola Larosa.
2646 * docutils/languages/sk.py: Added to project; Slovak mappings by
2647   Miroslav Vasko.
2649 * docutils/parser/__init__.py:
2651   - Added ``Parser.finish_parse()`` method.
2653 * docutils/parser/rst/__init__.py:
2655   - Added options: "--pep-references", "--rfc-references",
2656     "--tab-width", "--trim-footnote-reference-space".
2658 * docutils/parsers/rst/states.py:
2660   - Changed "title under/overline too short" system messages from INFO
2661     to WARNING, and fixed its insertion location.
2662   - Fixed enumerated list item parsing to allow paragraphs & section
2663     titles to begin with enumerators.
2664   - Converted system messages to use the new "line" attribute.
2665   - Fixed a substitution reference edge case.
2666   - Added support for "--pep-references" and "--rfc-references"
2667     options; reworked ``Inliner`` code to make customization easier.
2668   - Removed field argument parsing.
2669   - Added support for short section title over/underlines.
2670   - Fixed "simple reference name" regexp to ignore text like
2671     "object.__method__"; not an anonymous reference.
2672   - Added support for improved diagnostics.
2673   - Reworked directive API, based on Dethe Elza's contribution.  Added
2674     ``Body.parse_directive()``, ``.parse_directive_options()``,
2675     ``.parse_directive_arguments()`` methods.
2676   - Added ``ExtensionOptions`` class, to parse directive options
2677     without parsing field bodies.  Factored
2678     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
2679     ``ExtensionOptions``.
2680   - Improved definition list term/classifier parsing.
2681   - Added warnings for unknown directives.
2682   - Renamed ``Stuff`` to ``Struct``.
2683   - Now flagged as errors: transitions at the beginning or end of
2684     sections, empty sections (except title), and empty documents.
2685   - Updated for ``statemachine.StringList``.
2686   - Enabled recognition of schemeless email addresses in targets.
2687   - Added support for embedded URIs in hyperlink references.
2688   - Added backslash-escapes to inline markup end-string suffix.
2689   - Added support for correct interpreted text processing.
2690   - Fixed nested title parsing (topic, sidebar directives).
2691   - Added special processing of backslash-escaped whitespace (idea
2692     from David Abrahams).
2693   - Made substitutions case-sensitive-but-forgiving; moved some code
2694     to ``docutils.nodes``.
2695   - Added support for block quote attributions.
2696   - Added a kludge to work-around a conflict between the bubble-up
2697     parser strategy and short titles (<= 3 char-long over- &
2698     underlines).  Fixes SF bug #738803 "infinite loop with multiple
2699     titles" submitted by Jason Diamond.
2700   - Added explicit interpreted text roles for standard inline markup:
2701     "emphasis", "strong", "literal".
2702   - Implemented "superscript" and "subscript" interpreted text roles.
2703   - Added initial support for "abbreviation" and "acronym" roles;
2704     incomplete.
2705   - Added support for "--trim-footnote-reference-space" option.
2706   - Optional space before colons in directives & hyperlink targets.
2708 * docutils/parsers/rst/tableparser.py:
2710   - Fixed a bug that was producing unwanted empty rows in "simple"
2711     tables.
2712   - Detect bad column spans in "simple" tables.
2714 * docutils/parsers/rst/directives: Updated all directive functions to
2715   new API.
2717 * docutils/parsers/rst/directives/__init__.py:
2719   - Added ``flag()``, ``unchanged()``, ``path()``,
2720     ``nonnegative_int()``, ``choice()``, and ``class_option()``
2721     directive option helper functions.
2722   - Added warnings for unknown directives.
2723   - Return ``None`` for missing directives.
2724   - Added ``register_directive()``, thanks to William Dode and Paul
2725     Moore.
2727 * docutils/parsers/rst/directives/admonitions.py:
2729   - Added "admonition" directive.
2731 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
2732   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2733   "parsed-literal", "rubric", "epigraph", "highlights" and
2734   "pull-quote" directives.
2736 * docutils/parsers/rst/directives/images.py:
2738   - Added an "align" attribute to the "image" & "figure" directives
2739     (by Adam Chodorowski).
2740   - Added "class" option to "image", and "figclass" to "figure".
2742 * docutils/parsers/rst/directives/misc.py:
2744   - Added "include", "raw", and "replace" directives, courtesy of
2745     Dethe Elza.
2746   - Added "unicode" and "class" directives.
2748 * docutils/parsers/rst/directives/parts.py:
2750   - Added the "sectnum" directive; by Dmitry Jemerov.
2751   - Added "class" option to "contents" directive.
2753 * docutils/parsers/rst/directives/references.py: Added to project.
2754   Contains the "target-notes" directive.
2756 * docutils/parsers/rst/languages/__init__.py:
2758   - Return ``None`` from get_language() for missing language modules.
2760 * docutils/parsers/rst/languages/de.py: Added to project; German
2761   mappings by Engelbert Gruber.
2763 * docutils/parsers/rst/languages/en.py:
2765   - Added interpreted text roles mapping.
2767 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2768   mappings by Marcelo Huerta San Martin.
2770 * docutils/parsers/rst/languages/fr.py: Added to project; French
2771   mappings by William Dode.
2773 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2774   mappings by Nicola Larosa.
2776 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2777   mappings by Miroslav Vasko.
2779 * docutils/readers/__init__.py:
2781   - Added support for the observer pattern from ``utils.Reporter``, in
2782     ``Reader.parse`` and ``Reader.transform``.
2783   - Removed ``Reader.transform()`` method.
2784   - Added default parameter values to ``Reader.__init__()`` to make
2785     instantiation easier.
2786   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2788 * docutils/readers/pep.py:
2790   - Added the ``peps.TargetNotes`` transform to the Reader.
2791   - Removed PEP & RFC reference detection code; moved to
2792     parsers/rst/states.py as options (enabled here by default).
2793   - Added support for pre-acceptance PEPs (no PEP number yet).
2794   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2795     easy subclassing.
2797 * docutils/readers/python: Python Source Reader subpackage added to
2798   project, including preliminary versions of:
2800   - __init__.py
2801   - moduleparser.py: Parser for Python modules.
2803 * docutils/transforms/__init__.py:
2805   - Added ``Transformer`` class and completed transform reform.
2806   - Added unknown_reference_resolvers list for each transformer. This list holds
2807     the list of functions provided by each component of the transformer that
2808     help resolve references.
2810 * docutils/transforms/frontmatter.py:
2812   - Improved support for generic fields.
2813   - Fixed bibliographic field language lookups.
2815 * docutils/transforms/misc.py: Added to project.  Miscellaneous
2816   transforms.
2818 * docutils/transforms/parts.py:
2820   - Moved the "id" attribute from TOC list items to the references
2821     (``Contents.build_contents()``).
2822   - Added the ``SectNum`` transform; by Dmitry Jemerov.
2823   - Added "class" attribute support to ``Contents``.
2825 * docutils/transforms/peps.py:
2827   - Added ``mask_email()`` function, updating to pep2html.py's
2828     functionality.
2829   - Linked "Content-Type: text/x-rst" to PEP 12.
2830   - Added the ``TargetNotes`` PEP-specific transform.
2831   - Added ``TargetNotes.cleanup_callback``.
2832   - Added title check to ``Headers``.
2834 * docutils/transforms/references.py:
2836   - Added the ``TargetNotes`` generic transform.
2837   - Split ``Hyperlinks`` into multiple transforms.
2838   - Fixed bug with multiply-indirect references (report: Bruce Smith).
2839   - Added check for circular indirect references.
2840   - Made substitutions case-sensitive-but-forgiving.
2842 * docutils/transforms/universal.py:
2844   - Added support for the "--expose-internal-attributes" option.
2845   - Removed ``Pending`` transform classes & data.
2847 * docutils/writers/__init__.py:
2849   - Removed ``Writer.transform()`` method.
2851 * docutils/writers/docutils-xml.py:
2853   - Added XML and doctype declarations.
2854   - Added "--no-doctype" and "--no-xml-declaration" options.
2856 * docutils/writers/html4css1.py:
2858   - "name" attributes only on these tags: a, applet, form, frame,
2859     iframe, img, map.
2860   - Added "name" attribute to <a> in section titles for Netscape 4
2861     support (bug report: Pearu Peterson).
2862   - Fixed targets (names) on footnote, citation, topic title,
2863     problematic, and system_message nodes (for Netscape 4).
2864   - Changed field names from "<td>" to "<th>".
2865   - Added "@" to "&#64;" encoding to thwart address harvesters.
2866   - Improved the vertical whitespace optimization; ignore "invisible"
2867     nodes (targets, comments, etc.).
2868   - Improved inline literals with ``<span class="pre">`` around chunks
2869     of text and ``&nbsp;`` for runs of spaces.
2870   - Improved modularity of output; added ``self.body_pre_docinfo`` and
2871     ``self.docinfo`` segments.
2872   - Added support for "line_block", "address" elements.
2873   - Improved backlinks (footnotes & system_messages).
2874   - Improved system_message output.
2875   - Redefined "--stylesheet" as containing an invariant URL, used
2876     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
2877     working directory.
2878   - Added "--footnote-references" option (superscript or brackets).
2879   - Added "--compact-lists" and "--no-compact-lists" options.
2880   - Added "--embed-stylesheet" and "--link-stylesheet" options;
2881     factored out ``HTMLTranslator.get_stylesheet_reference()``.
2882   - Improved field list rendering.
2883   - Added Docutils version to "generator" meta tag.
2884   - Fixed a bug with images; they must be inline, so wrapped in <p>.
2885   - Improved layout of <pre> HTML source.
2886   - Fixed attribute typo on <colspec>.
2887   - Refined XML prologue.
2888   - Support for no stylesheet.
2889   - Removed "interpreted" element support.
2890   - Added support for "title_reference", "sidebar", "attribution",
2891     "rubric", and generic "admonition" elements.
2892   - Added "--attribution" option.
2893   - Added support for "inline", "subscript", "superscript" elements.
2894   - Added initial support for "abbreviation" and "acronym";
2895     incomplete.
2897 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2898   (from the sandbox).
2900   - Added french.
2901   - Double quotes in literal blocks (special treatment for de/ngerman).
2902   - Added '--hyperlink-color' option ('0' turns off coloring of links).
2903   - Added  "--attribution" option.
2904   - Right align attributions.
2906 * docutils/writers/pep_html.py:
2908   - Parameterized output encoding in PEP template.
2909   - Reworked substitutions from ``locals()`` into ``subs`` dict.
2910   - Redefined "--pep-stylesheet" as containing an invariant URL, used
2911     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
2912     working directory.
2913   - Added an override on the "--footnote-references" option.
2914   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2915   - Added Docutils version to "generator" meta tag.
2916   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2918 * docs/tools.txt:
2920   - Added a "silent" setting for ``buildhtml.py``.
2921   - Added a "Getting Help" section.
2922   - Rearranged the structure.
2923   - Kept up to date, with new settings, command-line options etc.
2924   - Added section for ``rst2latex.py`` (Engelbert Gruber).
2925   - Converted settings table into a definition list.
2927 * docs/rst/quickstart.txt:
2929   - Added a table of contents.
2930   - Added feedback information.
2931   - Added mention of minimum section title underline lengths.
2932   - Removed the 4-character minimum for section title underlines.
2934 * docs/rst/quickref.html:
2936   - Added a "Getting Help" section.
2937   - Added a style to make section title backlinks more subtle.
2938   - Added mention of minimum section title underline lengths.
2939   - Removed the 4-character minimum for section title underlines.
2941 * extras: Directory added to project; contains third-party modules
2942   that Docutils depends on (optparse, textwrap, roman).  These are
2943   only installed if they're not already present.
2945 * licenses: Directory added to project; contains copies of license
2946   files for non-public-domain files.
2948 * spec/doctree.txt:
2950   - Changed the focus.  It's about DTD elements:  structural
2951     relationships, semantics, and external (public) attributes.  Not
2952     about the element class library.
2953   - Moved some implementation-specific stuff into ``docutils.nodes``
2954     docstrings.
2955   - Wrote descriptions of all common attributes and parameter
2956     entities.  Filled in introductory material.
2957   - Working through the element descriptions: 55 down, 37 to go.
2958   - Removed "Representation of Horizontal Rules" to
2959     spec/rst/alternatives.txt.
2961 * spec/docutils.dtd:
2963   - Added "generated" inline element.
2964   - Added "line_block" body element.
2965   - Added "auto" attribute to "title".
2966   - Changed content models of "literal_block" and "doctest_block" to
2967     ``%text.model``.
2968   - Added ``%number;`` attribute type parameter entity.
2969   - Changed ``%structural.elements;`` to ``%section.elements``.
2970   - Updated attribute types; made more specific.
2971   - Added "address" bibliographic element.
2972   - Added "line" attribute to ``system_message`` element.
2973   - Removed "field_argument" element; "field_name" may contain
2974     multiple words and whitespace.
2975   - Changed public identifier to docutils.sf.net.
2976   - Removed "interpreted" element; added "title_reference",
2977     "abbreviation", "acronym".
2978   - Removed "refuri" attribute from "footnote_reference" and
2979     "citation_reference".
2980   - Added "sidebar", "rubric", "attribution", "admonition",
2981     "superscript", "subscript", and "inline" elements.
2983 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2985 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2987 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2989 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2990   Dallas Mahrt.
2992 * spec/transforms.txt: Added to project.
2994 * spec/howto: Added subdirectory, for developer how-to docs.
2996 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
2997   Elza, edited & extended by David Goodger.
2999 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
3000   project.
3002 * spec/rst/alternatives.txt:
3004   - Added "Doctree Representation of Transitions" from
3005     spec/doctree.txt.
3006   - Updated "Inline External Targets" & closed the debate.
3007   - Added ideas for interpreted text syntax extensions.
3008   - Added "Nested Inline Markup" section.
3010 * spec/rst/directives.txt:
3012   - Added directives: "topic", "sectnum", "target-notes",
3013     "line-block", "parsed-literal", "include", "replace", "sidebar",
3014     "admonition", "rubric", "epigraph", "highlights", "unicode" and
3015     "class".
3016   - Formalized descriptions of directive details.
3017   - Added an "align" attribute to the "image" & "figure" directives
3018     (by Adam Chodorowski).
3019   - Added "class" options to "topic", "sidebar", "line-block",
3020     "parsed-literal", "contents", and "image"; and "figclass" to
3021     "figure".
3023 * spec/rst/interpreted.txt: Added to project.  Descriptions of
3024   interpreted text roles.
3026 * spec/rst/introduction.txt:
3028   - Added pointers to material for new users.
3030 * spec/rst/reStructuredText.txt:
3032   - Disambiguated comments (just add a newline after the "::").
3033   - Updated enumerated list description; added a discussion of the
3034     second-line validity checking.
3035   - Updated directive description.
3036   - Added a note redirecting newbies to the user docs.
3037   - Expanded description of inline markup start-strings in non-markup
3038     contexts.
3039   - Removed field arguments and made field lists a generic construct.
3040   - Removed the 4-character minimum for section title underlines.
3041   - Clarified term/classifier delimiter & inline markup ambiguity
3042     (definition lists).
3043   - Added "Embedded URIs".
3044   - Updated "Interpreted Text" section.
3045   - Added "Character-Level Inline Markup" section.
3047 * test: Continually adding & updating tests.
3049   - Moved test/test_rst/ to test/test_parsers/test_rst/.
3050   - Moved test/test_pep/ to test/test_readers/test_pep/.
3051   - Added test/test_readers/test_python/.
3052   - Added test/test_writers/ (Engelbert Gruber).
3054 * tools:
3056   - Made the ``locale.setlocale()`` calls in front ends
3057     fault-tolerant.
3059 * tools/buildhtml.py:
3061   - Added "--silent" option.
3062   - Fixed bug with absolute paths & "--config".
3063   - Updated for new I/O classes.
3064   - Added some exception handling.
3065   - Separated publishers' setting defaults; prevents interference.
3066   - Updated for new ``publish_file()`` convenience function.
3068 * tools/pep-html-template:
3070   - Allow for "--embed-stylesheet".
3071   - Added Docutils version to "generator" meta tag.
3072   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
3073   - Conform to XHTML spec.
3075 * tools/pep2html.py:
3077   - Made ``argv`` a parameter to ``main()``.
3078   - Added support for "Content-Type:" header & arbitrary PEP formats.
3079   - Linked "Content-Type: text/plain" to PEP 9.
3080   - Files skipped (due to an error) are not pushed onto the server.
3081   - Updated for new I/O classes.
3082   - Added ``check_requirements()`` & ``pep_type_error()``.
3083   - Added some exception handling.
3084   - Updated for new ``publish_string()`` convenience function.
3085   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
3087 * tools/quicktest.py:
3089   - Added "-V"/"--version" option.
3091 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
3093 * tools/unicode2rstsubs.py: Added to project.  Produces character
3094   entity files (reSructuredText substitutions) from the MathML master
3095   unicode.xml file.
3097 * tools/editors: Support code for editors, added to project.  Contains
3098   ``emacs/restructuredtext.el``.
3100 * tools/stylesheets/default.css: Moved into the stylesheets directory.
3102   - Added style for chunks of inline literals.
3103   - Removed margin for first child of table cells.
3104   - Right-aligned field list names.
3105   - Support for auto-numbered section titles in TOCs.
3106   - Increased the size of inline literals (<tt>) in titles.
3107   - Restored the light gray background for inline literals.
3108   - Added support for "line_block" elements.
3109   - Added style for "address" elements.
3110   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
3111   - Improved field list rendering.
3112   - Vertical whitespace improvements.
3113   - Removed "a.target" style.
3115 * tools/stylesheets/pep.css:
3117   - Fixed nested section margins.
3118   - Other changes parallel those of ``../default.css``.
3121 Release 0.2 (2002-07-31)
3122 ========================
3124 General:
3126 - The word "component" was being used ambiguously.  From now on,
3127   "component" will be used to mean "Docutils component", as in Reader,
3128   Writer, Parser, or Transform.  Portions of documents (Table of
3129   Contents, sections, etc.)  will be called "document parts".
3130 - Did a grand renaming: a lot of ``verylongnames`` became
3131   ``very_long_names``.
3132 - Cleaned up imports: no more relative package imports or
3133   comma-separated lists of top-level modules.
3134 - Added support for an option values object which carries default
3135   settings and overrides (from command-line options and library use).
3136 - Added internal Unicode support, and support for both input and
3137   output encodings.
3138 - Added support for the ``docutils.io.IO`` class & subclasses.
3140 Specific:
3142 * docutils/__init__.py:
3144   - Added ``ApplicationError`` and ``DataError``, for use throughout
3145     the package.
3146   - Added ``Component`` base class for Docutils components; implements
3147     the ``supports`` method.
3148   - Added ``__version__`` (thus, ``docutils.__version__``).
3150 * docutils/core.py:
3152   - Removed many keyword parameters to ``Publisher.__init__()`` and
3153     ``publish()``; bundled into an option values object.  Added
3154     "argv", "usage", "description", and "option_spec" parameters for
3155     command-line support.
3156   - Added ``Publisher.process_command_line()`` and ``.set_options()``
3157     methods.
3158   - Reworked I/O model for ``docutils.io`` wrappers.
3159   - Updated ``Publisher.set_options()``; now returns option values
3160     object.
3161   - Added support for configuration files (/etc/docutils.conf,
3162     ./docutils.conf, ~/.docutils).
3163   - Added ``Publisher.setup_option_parser()``.
3164   - Added default usage message and description.
3166 * docutils/frontend.py: Added to project; support for front-end
3167   (command-line) scripts.  Option specifications may be augmented by
3168   components.  Requires Optik (http://optik.sf.net/) for option
3169   processing (installed locally as docutils/optik.py).
3171 * docutils/io.py: Added to project; uniform API for a variety of input
3172   output mechanisms.
3174 * docutils/nodes.py:
3176   - Added ``TreeCopyVisitor`` class.
3177   - Added a ``copy`` method to ``Node`` and subclasses.
3178   - Added a ``SkipDeparture`` exception for visitors.
3179   - Renamed ``TreePruningException`` from ``VisitorException``.
3180   - Added docstrings to ``TreePruningException``, subclasses, and
3181     ``Nodes.walk()``.
3182   - Improved docstrings.
3183   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
3184   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
3185     imports.
3186   - Added ``decoration``, ``header``, and ``footer`` node classes, and
3187     ``PreDecorative`` mixin.
3188   - Reworked the name/id bookkeeping; to ``document``, removed
3189     ``explicit_targets`` and ``implicit_targets`` attributes, added
3190     ``nametypes`` attribute and ``set_name_id_map`` method.
3191   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
3192     traversals.
3193   - Added ``document.has_name()`` method.
3194   - Fixed DOM generation for list-attributes.
3195   - Added category class ``Labeled`` (used by footnotes & citations).
3196   - Added ``Element.set_class()`` method (sets "class" attribute).
3198 * docutils/optik.py: Added to project.  Combined from the Optik
3199   package, with added option groups and other modifications.  The use
3200   of this module is probably only temporary.
3202 * docutils/statemachine.py:
3204   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
3205   - Added underscores to improve many awkward names.
3206   - In ``string2lines()``, changed whitespace normalizing translation
3207     table to regexp; restores Python 2.0 compatibility with Unicode.
3209 * docutils/urischemes.py:
3211   - Filled in some descriptions.
3212   - Added "shttp" scheme.
3214 * docutils/utils.py:
3216   - Added ``clean_rcs_keywords`` function (moved from
3217     docutils/transforms/frontmatter.py
3218     ``DocInfo.filter_rcs_keywords``).
3219   - Added underscores to improve many awkward names.
3220   - Changed names of Reporter's thresholds:
3221     warning_level -> report_level; error_level -> halt_level.
3222   - Moved ``utils.id()`` to ``nodes.make_id()``.
3223   - Added ``relative_path(source, target)``.
3225 * docutils/languages/de.py: German mappings; added to project.  Thanks
3226   to Gunnar Schwant for the translations.
3228 * docutils/languages/en.py: Added "Dedication" bibliographic field
3229   mappings.
3231 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
3232   Chodorowski.
3234 * docutils/parsers/rst/states.py:
3236   - Added underscores to improve many awkward names.
3237   - Added RFC-2822 header support.
3238   - Extracted the inline parsing code from ``RSTState`` to a separate
3239     class, ``Inliner``, which will allow easy subclassing.
3240   - Made local bindings for ``memo`` container & often-used contents
3241     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
3242   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
3243   - Added ``MarkupMismatch`` exception; for late corrections.
3244   - Added ``-/:`` characters to inline markup's start string prefix,
3245     ``/`` to end string suffix.
3246   - Fixed a footnote bug.
3247   - Fixed a bug with literal blocks.
3248   - Applied patch from Simon Budig: simplified regexps with symbolic
3249     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
3250   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
3251   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
3252   - Allowed non-ASCII in "simple names" (directive names, field names,
3253     references, etc.).
3254   - Converted ``Inliner.patterns.initial`` to be dynamically built
3255     from parts with ``build_regexp()`` function.
3256   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
3257   - Updated docstrings.
3258   - Changed "table" to "grid_table"; added "simple_table" support.
3260 * docutils/parsers/rst/tableparser.py:
3262   - Changed ``TableParser`` to ``GridTableParser``.
3263   - Added ``SimpleTableParser``.
3264   - Refactored naming.
3266 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
3267   a fallback language for directive names.
3269 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
3270   directive to use a ``pending`` element, used only by HTML writers.
3272 * docutils/parsers/rst/directives/parts.py: Renamed from
3273   components.py.
3275   - Added "backlinks" attribute to "contents" directive.
3277 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
3278   project by Adam Chodorowski.
3280 * docutils/readers/__init__.py: Gave Readers more control over
3281   choosing and instantiating Parsers.
3283 * docutils/readers/pep.py: Added to project; for PEP processing.
3285 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
3286   requires a ``component`` parameter.
3288 * docutils/transforms/components.py: Added to project; transforms
3289   related to Docutils components.
3291 * docutils/transforms/frontmatter.py:
3293   - In ``DocInfo.extract_authors``, check for a single "author" in an
3294     "authors" group, and convert it to a single "author" element.
3295   - Added support for "Dedication" and generic bibliographic fields.
3297 * docutils/transforms/peps.py: Added to project; PEP-specific.
3299 * docutils/transforms/parts.py: Renamed from old components.py.
3301   - Added filter for `Contents`, to use alt-text for inline images,
3302     and to remove inline markup that doesn't make sense in the ToC.
3303   - Added "name" attribute to TOC topic depending on its title.
3304   - Added support for optional TOC backlinks.
3306 * docutils/transforms/references.py: Fixed indirect target resolution
3307   in ``Hyperlinks`` transform.
3309 * docutils/transforms/universal.py:
3311   - Changed ``Messages`` transform to properly filter out system
3312     messages below the warning threshold.
3313   - Added ``Decorations`` transform (support for ``--generator``,
3314     ``--date``, ``--time``, ``--source-link`` options).
3316 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
3317   Engelbert Gruber's PDF writer.
3319 * docutils/writers/html4css1.py:
3321   - Made XHTML-compatible (switched to lowercase element & attribute
3322     names; empty tag format).
3323   - Escape double-dashes in comment text.
3324   - Improved boilerplate & modularity of output.
3325   - Exposed modular output in Writer class.
3326   - Added a "generator" meta tag to <head>.
3327   - Added support for the ``--stylesheet`` option.
3328   - Added support for ``decoration``, ``header``, and ``footer``
3329     elements.
3330   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
3331     translation table to regexp; restores Python 2.0 compatibility
3332     with Unicode.
3333   - Added the translator class as instance variable to the Writer, to
3334     make it easily subclassable.
3335   - Improved option list spacing (thanks to Richard Jones).
3336   - Modified field list output.
3337   - Added backlinks to footnotes & citations.
3338   - Added percentage widths to "<col>" tags (from colspec).
3339   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
3340     "<span>" changed to "<var>".
3341   - Inline literals: "<code>" changed to "<tt>".
3342   - Many changes to optimize vertical space: compact simple lists etc.
3343   - Add a command-line options & directive attributes to control TOC
3344     and footnote/citation backlinks.
3345   - Added support for optional footnote/citation backlinks.
3346   - Added support for generic bibliographic fields.
3347   - Identify backrefs.
3348   - Relative URLs for stylesheet links.
3350 * docutils/writers/pep_html.py: Added to project; HTML Writer for
3351   PEPs (subclass of ``html4css1.Writer``).
3353 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
3355 * docutils/writers/docutils_xml.py: Added to project; trivial writer
3356   of the Docutils internal doctree in XML.
3358 * docs/tools.txt: "Docutils Front-End Tools", added to project.
3360 * spec/doctree.txt:
3362   - Changed the title to "The Docutils Document Tree".
3363   - Added "Hyperlink Bookkeeping" section.
3365 * spec/docutils.dtd:
3367   - Added ``decoration``, ``header``, and ``footer`` elements.
3368   - Brought ``interpreted`` element in line with the parser: changed
3369     attribute "type" to "role", added "position".
3370   - Added support for generic bibliographic fields.
3372 * spec/notes.txt: Continual updates.  Added "Project Policies".
3374 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
3375   section.
3377 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
3379 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
3380   mailing list discussions.
3382 * spec/pep-0287.txt:
3384   - Renamed to "reStructuredText Docstring Format".
3385   - Minor edits.
3386   - Reworked Q&A as an enumerated list.
3387   - Converted to reStructuredText format.
3389 * spec/pysource.dtd:
3391   - Reworked structural elements, incorporating ideas from Tony Ibbs.
3393 * spec/pysource.txt: Removed from project.  Moved much of its contents
3394   to pep-0258.txt.
3396 * spec/rst/alternatives.txt:
3398   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
3399   - Added "Inline External Targets" section.
3401 * spec/rst/directives.txt:
3403   - Added "backlinks" attribute to "contents" directive.
3405 * spec/rst/problems.txt:
3407   - Updated the Enumerated List Markup discussion.
3408   - Added new alternative table markup syntaxes.
3410 * spec/rst/reStructuredText.txt:
3412   - Clarified field list usage.
3413   - Updated enumerated list description.
3414   - Clarified purpose of directives.
3415   - Added ``-/:`` characters to inline markup's start string prefix,
3416     ``/`` to end string suffix.
3417   - Updated "Authors" bibliographic field behavior.
3418   - Changed "inline hyperlink targets" to "inline internal targets".
3419   - Added "simple table" syntax to supplement the existing but
3420     newly-renamed "grid tables".
3421   - Added cautions for anonymous hyperlink use.
3422   - Added "Dedication" and generic bibliographic fields.
3424 * test: Made test modules standalone (subdirectories became packages).
3426 * test/DocutilsTestSupport.py:
3428   - Added support for PEP extensions to reStructuredText.
3429   - Added support for simple tables.
3430   - Refactored naming.
3432 * test/package_unittest.py: Renamed from UnitTestFolder.py.
3434   - Now supports true packages containing test modules
3435     (``__init__.py`` files required); fixes duplicate module name bug.
3437 * test/test_pep/: Subpackage added to project; PEP testing.
3439 * test/test_rst/test_SimpleTableParser.py: Added to project.
3441 * tools:
3443   - Updated html.py and publish.py front-end tools to use the new
3444     command-line processing facilities of ``docutils.frontend``
3445     (exposed in ``docutils.core.Publisher``), reducing each to just a
3446     few lines of code.
3447   - Added ``locale.setlocale()`` calls to front-end tools.
3449 * tools/buildhtml.py: Added to project; batch-generates .html from all
3450   the .txt files in directories and subdirectories.
3452 * tools/default.css:
3454   - Added support for ``header`` and ``footer`` elements.
3455   - Added styles for "Dedication" topics (biblio fields).
3457 * tools/docutils.conf: A configuration file; added to project.
3459 * tools/docutils-xml.py: Added to project.
3461 * tools/pep.py: Added to project; PEP to HTML front-end tool.
3463 * tools/pep-html-template: Added to project.
3465 * tools/pep2html.py: Added to project from Python (nondist/peps).
3466   Added support for Docutils (reStructuredText PEPs).
3468 * tools/quicktest.py:
3470   - Added the ``--attributes`` option, hacked a bit.
3471   - Added a second command-line argument (output file); cleaned up.
3473 * tools/stylesheets/: Subdirectory added to project.
3475 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
3478 Release 0.1 (2002-04-20)
3479 ========================
3481 This is the first release of Docutils, merged from the now inactive
3482 reStructuredText__ and `Docstring Processing System`__ projects.  For
3483 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
3484 `DPS HISTORY`__ files.
3486 __ http://structuredtext.sourceforge.net/
3487 __ http://docstring.sourceforge.net/
3488 __ http://structuredtext.sourceforge.net/HISTORY.html
3489 __ http://docstring.sourceforge.net/HISTORY.html
3491 General changes: renamed 'dps' package to 'docutils'; renamed
3492 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
3493 the test suites (reStructuredText's test/test_states renamed to
3494 test/test_rst); and all modifications required to make it all work.
3496 * docutils/parsers/rst/states.py:
3498   - Improved diagnostic system messages for missing blank lines.
3499   - Fixed substitution_reference bug.
3503    Local Variables:
3504    mode: indented-text
3505    indent-tabs-mode: nil
3506    sentence-end-double-space: t
3507    fill-column: 70
3508    End: