Apply patch [ 140 ] by Ville Skyttä (escape sequence deprecation fix).
[docutils.git] / HISTORY.txt
blob11b1e8e3dc625350207080ece08e16e6cf6d96fe
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 Prerelease 0.14rc1 (2017-05-27)
18 ===============================
20 * docutils/docutils/transforms/universal.py
22   Fix: warn only once if language is unsupported
24 * docutils/docs/ref/docutils.dtd:
26   - Enable validation of Docutils XML documents against the DTD:
28     Use attribute type NMTOKEN instead of REFID for the `refid` attribute
29     and NMTOKENS for `backrefs`: REFID refers to an ID type instance,
30     however, the `ids` attribute cannot use the ID type because `XML only
31     allows one ID per Element Type`__ and doesn't support a multiple-ID
32     "IDS" attribute type.
34   __ https://www.w3.org/TR/REC-xml/#sec-attribute-types
36 * docs/ref/rst/restructuredtext.txt:
38   - Added documentation for escaped whitespace in URI contexts.
39   - Clarify use of Unicode character categories.
41 * docutils/parsers/rst/states.py:
43   - Added functionality: escaped whitespace in URI contexts.
44   - Consistent handling of all whitespace characters in inline markup
45     recognition. Fixes [ 307 ] and [ 3402314 ] (now [ 173 ]).
47 * docutils/parsers/rst/directives/images.py:
49   - Added support for escaped whitespace in URI contexts.
51 * docutils/parsers/rst/directives/tables.py:
53   - Rework patch [ 120 ] (revert change to ``Table.get_column_widths()``
54     that led to problems in an application with a custom table directive).
56 * docutils/transforms/references.py
58   - Don't add a second ID to problematic references.
60 * docutils/utils/__init__.py:
62   - Added ``split_escaped_whitespace`` function, support for escaped
63     whitespace in URI contexts.
65 * docutils/utils/smartquotes.py:
67   - Update quote definitions for languages et, fi, fr, ro, sv, tr, uk.
68   - New quote definitions for hr, hsb, hu, lv, sh, sl, sr.
69   - Fix [ 313 ] Differentiate apostrophe from closing single quote
70     (if possible).
71   - Fix [ 317 ] Extra space inserted with French smartquotes.
72   - Add command line interface for stand-alone use (requires 2.7).
74 * docutils/writers/_html_base.py
76   - Provide default title in metadata (required by HTML5).
77   - Fix [ 312 ] HTML writer generates invalid HTML if the table has two tags.
79 * docutils/writers/html4css1/__init__.py
81   - Apply [ 125 ] HTML writer: respect automatic table column sizing.
83 * docutils/writers/latex2e/__init__.py
85   - Handle class arguments for block-level elements by wrapping them
86     in a "DUclass" environment. This replaces the special handling for
87     "epigraph" and "topic" elements.
89 * docutils/writers/odf_ odt/__init__.py:
91   - Command setting ``language`` now sets the default language
92     of the generated ODF document.
93   - The use of image directive options :width: (%), :scale:, etc now
94     set the width/height/size of images in the generated ODF
95     documents.
96   - The heading/title of admonitions now reflects the language
97     specified by the ``language`` setting.
99 * tools/rst2html4.py: New front-end.
101 * tools/dev/generate_punctuation_chars.py: New skript
102   to test and update utils.punctuation_chars.
105 Release 0.13.1 (2016-12-09)
106 ===========================
108 * docutils/languages/fa.py
109   docutils/parsers/rst/languages/fa.py
110   docutils/languages/la.py
111   docutils/parsers/rst/languages/la.py:
113   - Apply [ 133 ] Persian mappings by Shahin Azad.
114   - Apply [ 135 ] Language modules for Latvian by Alexander Smishlajev
116 * docutils/nodes.py
118   - Fix [ 253 ] Attribute key without value not allowed in XML.
120 * docutils/parsers/
122   - Apply [ 103 ] Recognize inline markups without word boundaries.
123   - Enable escaping in embedded URIs and aliases (fixes [ 284 ]).
125 * docutils/parsers/rst/__init__.py
127   - Fix [ 233 ] Change the base URL for the :rfc: role.
129 * docutils/parsers/rst/directives/tables.py
131   - Apply [ 120 ] tables accept option widths: list of relative widths, 'auto'
132     or 'grid'.
134   - Implement feature request [ 48 ]
135     Add :align: option to the table directives.
136     Thanks to Takeshi KOMIYA for the patch.
138 * docutils/parsers/rst/roles.py
140   - Fix [ 295 ] Class argument for custom role inheriting from math.
142 * docutils/parsers/rst/tableparser.py
144   - Really fix [ 159 ] Spurious table column alignment errors.
146 * docutils/transforms/frontmatter.py
148   - Add name of generic bibliographic fields as a "classes" attribute value
149     (after conversion to a valid identifier form).
151 * docutils/utils/error_reporting.py
153   - Fix [ 130 ] support streams expectiong byte-strings in ErrorOutput.
155 * docutils/utils/math/math2html.py
157   - Add ``\colon`` macro, fix spacing around colons. Fixes [ 246 ].
158   - New upstream version (additional macros, piecewise integrals and sums).
160 * docutils/writers/_html_base.py
162   - New auxiliary module for definitions common to all HTML writers.
164 * docutils/writers/html5_polyglot/
166   - New HTML writer generating clean, polyglot_ markup conforming to
167     `HTML 5`_.
169     The CSS stylesheets ``minimal.css`` and ``plain.css`` contain required
170     and recommended layout rules.
172 * docutils/writers/html4css1/__init__.py
174   - Add "docutils" to class values for "container" object to address [ 267 ].
175   - Apply patch [ 119 ] by Anatoly Techtonik: use absolute paths for
176     ``default_stylesheet_path`` and ``default_template_path``.
177   - Fix [ 266 ] creating labels/class values in description list items.
178   - Do not use <sup> and <sub> tags inside <pre> (parsed-literal blocks).
179   - Fix footnotes with content that does not start with a paragraph.
180   - Use https in default MathJax URL (report Alan G Isaac).
181   - Outsourcing of common code to _html_base.py.
183 * docutils/writers/latex2e/__init__.py
185   - Fix [ 262 ] Use ``\linewidth`` instead of ``\textwidth`` for figures,
186     admonitions and docinfo.
188   - Use absolute path for ``default_template_path``.
190   - Removed deprecated options ``--use-latex-footnotes`` and
191     ``--figure-footnotes``.
193   - Cleaner LaTeX code for enumerations and literal blocks.
195   - Use "hyperref" package together with "bookmark" (improved hyperlinking
196     by the same author).
198   - Fix [ 286 ] Empty column title cause invalid latex file.
200   - Fix [ 224 ] Fix rowspan support for tables.
202   - Let LaTeX determine the column widths in tables with "colwidths-auto".
203     Not suited for multi-paragraph cells!
205 * docutils/writers/odf_odt/__init__.py
207   - remove decode.encode of filename stored in zip.
209 * docutils/writers/xetex/__init__.py
211   - LuaLaTex compatibility: do not load "xunicode".
213 * tools/
215   - New front-end ``rst2html5.py``.
217 * tox.ini
219   - Test py26, py27, py33 and py34.
221     To use, install the ``tox`` package via pip or easy_install and use
222     tox from the project root directory.
224 .. _polyglot: http://www.w3.org/TR/html-polyglot/
225 .. _HTML 5: http://www.w3.org/TR/html5/
226 .. _XHTML 1.0: http://www.w3.org/TR/xhtml1/
229 Release 0.12 (2014-07-06)
230 =========================
232 * docs/ref/rst/directives.txt
234   - Update "math" and "csv-table" descriptions.
236 * docutils/parsers/rst/directives/images.py
238   - Fix [ 258 ] figwidth="image" generates unitless width value.
240 * docutils/parsers/rst/states.py
242   - Improve error report when a non-ASCII character is specified as
243     delimiter, quote or escape character under Python 2.
244     Fixes [ 249 ] and [ 250 ].
246 * docutils/writers/html4css1/__init__.py
248   - Don't add newline after inline math.
249     Thanks to Yury G. Kudryashov for the patch.
251 * docutils/writers/latex2e/__init__.py
253   - Fix [ 239 ] Latex writer glues paragraphs with figure floats.
254   - Apply [ 116 ] by Kirill Smelkov. Don't hardcode \large for subtitle.
256 * docutils/writers/odf_odt/__init__.py
258   - Apply patch by Jakub Wilk to fix bug [ 100 ].
260 * test/test_error_reporting.py
262   - Fix [ 223 ] by removing redundant tests we do not have control over.
264 * test/test_nodes.py
266   - Apply [ 115 ] respect fixed 2to3 string literal conversion behavior.
268 Release 0.11 (2013-07-22)
269 =========================
271 * General
273   - Apply [ 2714873 ] Fix for the overwritting of document attributes.
274   - Support embedded aliases within hyperlink references.
275   - Fix [ 228 ] try local import of docutils components (reader, writer, parser,
276     language module) before global search.
278 * docutils/nodes.py
280   - Fix [ 3601607 ] node.__repr__() must return `str` instance.
282 * docutils/parsers/rst/directives/__init__.py
284   - Fix [ 3606028 ] ``assert`` is skipped with ``python -O``.
286 * docutils/parsers/rst/directives/images.py
288   - Apply [ 3599485 ] node source/line information for sphinx translation.
290 * docutils/parsers/rst/directives/tables.py
292   - Fix [ 210 ] Python 3.3 checks CVS syntax only if "strict" is True.
294 * docutils/parsers/rst/states.py
296   - Fix [ 157 ] Line block parsing doesn't like system message.
297   - Always import our local copy of roman.py (report Larry Hastings).
299 * docutils/transforms/references.py
301   - Fix [ 3607029 ] traceback with embedded alias pointing to missing target.
303 * docutils/utils/__init__.py
305   - Fix [ 3596884 ] exception importing ``docutils.io``.
307 * docutils/writers/html4css1/__init__.py
309   - Fix [ 3600051 ] for tables in a list, table cells are not compacted.
310   - New setting `stylesheet_dirs`: Comma-separated list of directories
311     where stylesheets are found. Used by `stylesheet_path` when expanding
312     relative path arguments.
313   - New default for math-output_: ``HTML math.css``.
314   - Avoid repeated class declarations in html4css1 writer
315     (modified version of patch [ 104 ]).
317 .. _math-output: docs/user/config.html#math-output
319 * docutils/writers/latex2e/__init__.py
321   - Drop the simple algorithm replacing straight double quotes with
322     English typographic ones.
323     Activate the SmartQuotes_ transform if you want this feature.
324   - Fix literal use of babel shorthands (straight quote, tilde, ...).
325   - Fix [ 3603246 ] Bug in option "--graphicx-option=auto".
326   - New setting `stylesheet_dirs`.
328 .. _SmartQuotes: docs/user/config.html#smart-quotes
330 * docutils/writers/manpage.py
332   - Fix [3607063] handle lines starting with a period.
333   - Fix option separating comma was bold (thanks to Bill Morris).
335 Release 0.10 (2012-12-16)
336 =========================
338 * General
340   - Dropped support for Python 2.3.
341   - ``docutils/math``, ``docutils/error_reporting.py``, and
342     ``docutils/urischemes.py`` moved to the utils package.
343   - Fix [3541369] Relative __import__ also with Python 3.3.
344   - Fix [3559988] and [3560841] __import__ local writer, reader, languages
345     and parsers for Python 2.7 up.
346   - Fix import of PIL.Image.
347   - Change default of "syntax highlight" option to "long",
348     basic syntax highlight styles for LaTeX and HTML.
350 * docutils/io.py
352   - FileInput/FileOutput: no system-exit on IOError.  The `handle_io_errors`
353     option is ignored and will be removed in a future release.
354   - Fix Py3k error writing to stdout with encoding differing from default.
355   - Fix opening binary files under Py3k (thanks to Dominic Fitzpatrick).
357 * docutils/parsers/rst/directives/misc.py
359   - Fix [ 3546533 ] Unicode error with `date` directive.
361 * docutils/transforms/universal.py
363   - SmartQuotes transform for typographic quotes and dashes.
365 * docutils/utils/__init__.py
367   - normalize_language_tag() now returns `BCP 47`_ conformant tags
368     with subtags separated by ``-``.
370 * docutils/writers/html4css1/__init__.py
372   - Use ``<code>`` tag for inline "code",
373     do not drop nested inline nodes (syntax highlight tokens).
374   - Customizable MathJax URL (based on patch by Dmitry Shachnev).
375   - No line break after opening inline math tag.
377 * docutils/writers/manpage.py
379   - Apply [ 3527401 ] addmonition's don't preserve indentation
380   - Apply [ 3527397 ] Add indentation to literal blocks in manpage writer.
382 * docutils/writers/xetex/__init__.py
384   - Apply [ 3555160 ] ensure order of "otherlanguages".
385   - Fix section numbering by LaTeX.
387 * docutils/writers/s5_html/__init__.py
389   - Fix [ 3556388 ] Mathjax does not work with rst2s5.
391 * docutils/writers/s5_html/docutils_xml.py
393   - Fix [ 3552403 ] Prevent broken PyXML replacing stdlibs xml module.
394   - Fix/improve output with ``--indent`` option.
396 * setup.py
398   - Tag ``math.css`` stylesheet as data file (patch by Dmitry Shachnev).
400 * tools/test/test_buildhtml.py
402   - Fix [ 3521167 ] allow running in any directory.
403   - Fix [ 3521168 ] allow running with Python 3.
406 Release 0.9.1 (2012-06-17)
407 ==========================
409 * setup.py
411   - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
412     installed in the PYTHONPATH. Converted tests are now
413     stored in ``test3/``, tools no longer need conversion.
415     If you installed one of Docutils versions 0.7 ... 0.9 with
416     ``setup.py install`` under Python 3, remove the spurious
417     ``test/`` and ``tools/`` directories in the site library root.
419 * test/
421   - Make tests independent from the location of the ``test/`` directory.
422   - Use converted sources (from the ``build/`` directory) for tests under
423     Python 3.
425 * tools/
427   - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
429 * docutils/io.py
431   - Fix writing binary data to sys.stdout under Python 3 (allows
432     ``rst2odt.py`` to be used with output redirection).
434 * docutils/parsers/rst/directives/misc.py
436   - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
437     ``locale == C`` and 8-bit char in path argument of `include` directive.
439 * test/alltests.py
441   - class `Tee`: catch UnicodeError when writing to "ascii" stream or
442     file under Python 3.
444 Release 0.9 (2012-05-02)
445 ========================
447 * General:
449   - New reStructuredText "code" role and directive and "code" option
450     of the "include" directive with syntax highlighting by Pygments_.
451   - Fix parse_option_marker for option arguments containing ``=``.
452   - Fix [ 2993756 ]: import Python Imaging Library's Image module
453     via ``import PIL`` as starting with PIL 1.2,
454     "PIL lives in the PIL namespace only" (announcement__).
456 .. _Pygments: http://pygments.org/
457 __ http://mail.python.org/pipermail/image-sig/2011-January/006650.html
459 * setup.py
461   - Fix [ 2971827 ] and [ 3442827 ]
462     extras/roman.py moved to docutils/utils/roman.py
464 * docutils/frontend.py
466   - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
468 * docutils/io.py
470   - Fix [ 3395948 ] (Work around encoding problems in Py3k).
471   - `mode` argument for FileOutput avoids code replication in
472     BinaryFileOutput.
473   - New exceptions InputError and OutputError for IO errors in
474     FileInput/FileOutput.
476 * docutils/core.py:
478   - No "hard" system exit on file IO errors: catch and report them in
479     `Publisher.reportException` instead. Allows handling by a calling
480     application if the configuration setting `traceback` is True.
482 * docutils/utils.py -> docutils/utils/__init__.py
484   - docutils.utils is now a package (providing a place for sub-modules)
486   .. note:: docutils/math, docutils/error_reporting.py, and
487      docutils/urischemes.py will move to the utils package in the next
488      release, too. See RELEASE-NOTES__
490      __ RELEASE-NOTES.html
492   - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
493     errors recording non-ASCII filenames (fixes [ 3434355 ]).
495   - Fix relative_path() with source=None and `unicode` target.
497 * docutils/parsers/rst/states.py
499   - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
500     characters and "international" quotes around inline markup.
501   - Use `field_marker` pattern to look for start of a
502     directive option block (fixes [ 3484857 ]).
504 * docutils/parsers/rst/tableparser.py
506   - Fix [ 2926161 ] for simple tables.
507     (Combining chars in grid tables still contribute to cell width.)
509 * docutils/writers/latex2e/__init__.py
511   - Support the `abbreviation` and `acronym` standard roles.
512   - Record only files required to generate the LaTeX source as dependencies.
513   - Fix handling of missing stylesheets.
514   - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
515     when suppressing LaTeX section numbering.
516   - Use ``\DUtitle`` for unsupported section levels
517   - Apply [ 3512791 ] do not compare string literals with "is"
519 * docutils/writers/xetex/__init__.py
521   - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
523 * docutils/writers/html4css1/__init__.py
525   - Change default for `math-output` setting to MathJax.
526   - Fix handling of missing stylesheets.
528 * docutils/writers/docutils_xml.py
530   - Use the visitor pattern with default_visit()/default_depart() methods
531     instead of minidom to facilitate special handling of selected nodes.
532   - Support raw XML (inserted as-is inside a <raw></raw> node).
534 * docutils/writers/manpage.py
536   - Do not emit comment line with trailing blank. Problematic for VCS.
538 Release 0.8.1 (2011-08-30)
539 ==========================
541 * General:
543   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
544     and [ 3395920 ] (correct copyright info for rst.el).
546 * test/
548   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
550 * docutils/writers/latex2e/__init__.py
552   - Clean up Babel language setting. Restores Sphinx compatibility.
554 Release 0.8 (2011-07-07)
555 ========================
557 * General:
559   - Handle language codes according to `BCP 47`_.
560   - If the specified language is not supported by Docutils,
561     warn and fall back to English.
562   - Math support: reStructuredText "math" role and directive,
563     ``math`` and ``math_block`` doctree elements.
564   - Decode command line arguments with the locale's preferred encoding
565     (to allow, e.g., ``--title=Dornröschen``).
566   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
567   - New sub-module `error_reporting`: handle encoding/decoding errors
568     when reporting exceptions.
569   - Some additions to the Docutils core are released under the 2-Clause BSD
570     license, see COPYING_ for details.
572   .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
573   .. _COPYING: COPYING.html
575 * reStructuredText:
577   - Most directives now support a "name" option that attaches a
578     reference name.
580   - Directive content may start on the first line also when the directive
581     type accepts options.
583 * docs/dev/policies.txt:
585   - Recommend the 2-Clause BSD license
586     (http://www.spdx.org/licenses/BSD-2-Clause)
587     for code that is kept under the author's copyright.
589 * tools/buildhtml.py:
591   - Fix ``--local`` switch.
593 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
595 * docutils/writers/html4css1/__init__.py
597   - Set "lang" argument for objects with class argument
598     "language-<language tag>".
599   - New setting "math-output" with support for HTML, MathML, and LaTeX.
601 * docutils/writers/latex2e/__init__.py
603   - Fix [ 3043986 ] AttributeError using :local: with table of content.
604   - Place title data in the document preamble.
605   - Load `babel` package only if required.
606   - Update list of supported languages.
607   - New config setting "hyperref-options".
608     No hard-coded "unicode" hyperref option (clash with xetex).
609   - Set language for custom roles, paragraphs, block-quotes, and
610     line-quotes with class argument "language-<language tag>".
611   - Fix [ 3095603 ] wrong quotes output for russian and other languages.
612   - Convert image URI to a local file path.
613   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
614     has more than one paragraph (Wolfgang Scherer).
615   - \leavevmode before longtable only when needed (prevents spurious vspace)
616   - do not advance table counter for tables without caption
618 * docutils/writers/xetex/__init__.py
620   - New writer generating LaTeX code for compiling with ``xelatex``.
622     A separate writer (inheriting from latex2e) instead of a ``--xetex``
623     option allows separate config options for XeTeX vs. LaTeX2e.
625 * docutils/writers/manpage.py
627   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
628   - Fix: vertical space cleaning for option group ``.``.
630 * tools/editors/emacs/rst.el:
632   - Fix [ 3001100 ] does not handle spaces in filenames
633     (thanks to Jakub Wilk)
635 * docutils/utils.py:
637   - strip whitespace from stylesheet arguments
638   - exclude combining chars from column_width()
639     (partial fix for [ 2926161 ])
641 * docutils/parsers/rst/directives/misc.py:
643   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
644     nested_parse
646 * docutils/io.py:
648   - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
649     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
651 Release 0.7 (2010-07-07)
652 ========================
654 * General:
656   - Fix [ 2881769 ] setup configuration.
657   - Fix [ 2788716 ] reporting problems in included files.
659 * docutils/io.py
661   - FileInput opens files as text files with universal newline support
662     (mode "rU", configurable with the new optional argument "mode").
664 * docutils/nodes.py
666   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
668 * docutils/utils.py
670   - Fix [ 2923723 ] let decode_path() tolerate path == None
672 * docutils/writers/html4css1/__init__.py
674   - Support SVG and SWF images (thanks to Stefan Rank).
675   - Generate valid XHTML for centered images with targets.
676     Use CSS classes instead of "align" tags for image alignment.
678 * docutils/writers/latex2e/__init__.py
680   - Use `transforms.writer_aux.Admonitions` to "normalize" special
681     admonitions.
682   - Use the ``\url`` command for URLs (breaks long URLs instead of
683     writing into the margin).
684   - Preserve runs of spaces in `inline literals`__.
685   - Deprecate ``figure_footnotes`` setting.
686   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
687   - New ``latex_preamble`` setting.
688   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
689   - Fix hyperlink targets (labels) for images, figures, and tables.
690   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
691   - Apply [ 2961991 ] Call hyperref with unicode option.
692   - Drop the special `output_encoding`__ default ("latin-1").
693     The Docutils wide default (usually "UTF-8") is used instead.
694   - Render inline markup in document title and subtitle.
695   - Fix numbering depth with LaTeX section numbering.
696   - Update Unicode -> LaTeX translations.
697   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
699 __ docs/ref/restructuredtext.html#inline-literals
700 __ docs/user/config.html#docutils-footnotes
701 __ docs/user/config.html#output_encoding
703 * docutils/writers/manpage.py
705   - Fix: supported attribute (thanks to peter2108).
706   - Remove trailing blanks in code (keep in sync with mercurial version).
707   - Titles level 1, that is ``.SH``, always uppercase.
708   - Apply patch from mg: literal text should be bold in man-pages.
710 * docutils/nodes.py
712   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
713     turkish locale.
715 * setup.py:
717   - Python 3 support: copy test/ and tools/ to the build-dir
718     and convert Python sources with 2to3.
721 Release 0.6 (2009-10-11)
722 ========================
724 * General:
726   - Docutils is now compatible with Python versions from 2.3 up to 2.6
727     and convertible to 3.1 code.
729     + Node.__nonzero__ returns True instead of 1.
730     + use os.walk instead os.path.walk.
731     + minimize "types" module where possible.
732     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
733     + Text nodes now subclass unicode rather than UserString
734       (which is gone in python 3.0).
735     + 3.0 compatibility module docutils._compat
737     + Drop 2.2 compatibility workarounds.
738     + Drop extras/optparse.py and extras/textwrap.py
739       (stdlib modules since 2.3).
741   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
742   - Unix man page export: manpage writer moved from sandbox to Doctutils
743     core.
745   - Apply [ 1719345 ] Galician translation
746   - Apply [ 1905741 ] Polish translation
747   - Apply [ 1878977 ] make_id(): deaccent characters.
748   - Apply [ 2029251 ] return nonzero when tests fail.
749   - Fix [ 1692788 ] allow UTF-8 in style sheets.
750   - Fix [ 2781629 ] support non-ASCII chars in file names.
751   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
752   - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
753   - Fix [ 2821266 ] --strict option works now like --halt=info.
754   - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
755   - Fix [ 1627229 ] hyperlink references in substitutions.
757   - The "newlatex" writer is orphaned.
759 * reStructuredText:
761   - Documented Unicode characters allowed as inline markup openers,
762     closers, and delimiters.
763   - Allow units for all length specifications.
764   - Allow percent sign in "scale" argument of "figure" and "image" directives.
765   - Bugfix: The "figalign" argument of a figure now works as intended
766     (aligning the figure, not its contents).
767   - Align images with class "align-[right|center|left]"
768     (allows setting the alignment of an image in a figure).
770 * docutils/nodes.py:
772   - Added ``Element.__contains__`` method, for the in-operator.
774 * docutils/parsers/rst/states.py:
776   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
777   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
778     " " (non-breaking space), and "¡ ¿" openers.
780 * docutils/parsers/directives/misc.py:
782   - Added ``start-line`` and ``end-line`` options to "include"
783     directive to select a range of lines.
784   - Hard tabs in literal inclusions are replaced by spaces. This is
785     configurable via the new ``tab-width`` option of the "include" directive
786     (a negative tab-width prevents tab expansion).
788 * docutils/utils.py:
790   - Add ``get_stylesheet_list`` function.
791   - Apply [ 2834836 ] print info at halt
793 * docutils/transforms/universal.py:
795   - Raise default priority of StripClasses to exclude stripped classes from
796     the ToC.
798 * docutils/writers/html4css1/__init__.py:
800   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
801     separated list of stylesheets.
802   - Address [ 1938891 ] Inline literal text creates "pre" span only when
803     needed to prevent inter-word line wraps.
804   - Use `translate` method instead of repeated `replace` calls.
805   - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
806     classes to allow CSS styling that does not interfere with other
807     table-using constructs (field lists, citations, ...).
809 * docutils/writers/newlatex2e/__init__.py:
811   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
813 * docutils/writers/latex2e/__init__.py (see also
814   `<docs/user/docutils-05-compat.sty.html>`__) :
816   - Add ``--embed-stylesheet`` option.
817   - Apply [ 1474017 ] image vertical alignment is reversed.
818   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
819   - Change: has_key for dictionaries (not Nodes) to in-operator.
820   - Merge adjacent citations into one latex cite command.
821   - Failsave implementation of custom roles. LaTeX compilation now ignores
822     unknown classes instead of aborting with an error.
823   - Support custom roles based on standard roles.
824   - LaTeX packages can be used as ``--stylesheet`` arguments without
825     restriction. (A style sheet is now referenced with the ``\usepackage``
826     command, if it ends with ``.sty`` or has no extension.)
827   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
828   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
829   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
830     2005-02-04 as a configurable length unit).
831   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
832     if font-encoding is set to ''. LaTeX defaults to OT1 then.
833   - Set sub- and superscript role argument in text mode not as math.
834     Use a custom role based on sub-/superscript if you want italic shape.
835   - Shorter preamble and less dependencies: Load packages and define macros
836     only if required in the document.
837   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
838   - New custom environments and commands with optional "classes" argument.
839   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
840   - Better conformance to Docutils specifications with ``--use-latex-toc``.
841     Support for LaTeX generated ToC also with unnumbered sections.
842   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
843     section numbering by LaTeX.
844   - Use default font in admonitions and sidebar.
845   - Align of image in a figure defaults to 'center'.
846   - Bugfix: Newlines around targets and references prevent run-together
847     paragraphs.
848   - Fix internal hyperlinks.
849   - Use class defaults for page margins ('typearea' now optional).
850   - Float placement made configurable, default changed to "here definitely".
851   - Typeset generic topic as "quote block with title".
852   - Use template (file and configuration option).
853   - In the default template, load cmap.sty (fix text extraction in PDF) and
854     fixltx2e.sty (LaTeX patches, \textsubscript).
855   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
856   - Use `translate` instead of repeated `replace` calls for text encoding.
857   - Hyperlinked footnotes and support for symbol footnotes and
858     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
859   - Complete pairs of binary options
860     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
861     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
862   - New defaults:
863     - font-encoding: "T1" (formerly implicitely set by 'ae').
864     - use-latex-toc: true (ToC with page numbers).
865     - use-latex-footnotes: true (no mixup with figures).
867 * docutils/writers/manpage.py
869   - Do not print version at document end, this is done by the viewer.
870   - Do not print date at document end, this is done by the viewer.
871   - Fix storage of docinfo fields for none standard fields.
873 * docutils/tools/rst2man.py
875 Release 0.5 (2008-06-25)
876 ========================
878 * docutils/languages/he.py: Added to project: Hebrew mappings by
879   Meir Kriheli.
881 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
882   mappings by Meir Kriheli.
884 * docutils/frontend.py:
886   - Configuration files are now assumed and required to be
887     UTF-8-encoded.
888   - Paths of applied configuration files are now recorded in the
889     runtime setting ``_config_files`` (accessible via
890     ``--dump-settings``).
891   - Added ``--strip-elements-with-class`` and ``--strip-class``
892     options (``strip_elements_with_classes`` and ``strip_classes``
893     settings).
895 * docutils/io.py:
897   - Added code to determine the input encoding from data: encoding
898     declarations or the presence of byte order marks (UTF-8 & UTF-16).
899   - Added support for IronPython 1.0.
901 * docutils/nodes.py:
903   - Added ``document.__getstate__`` method, for pickling.
905 * docutils/parsers/rst/states.py:
907   - Allow ``+`` and ``:`` in reference names.
908   - Unquoted targets beginning with an underscore (``.. __target:
909     URI``) are no longer accepted.
910   - Added support for multiple attributions in a physical block quote
911     (indented text block), dividing it into multiple logical block
912     quotes.
913   - Added support for unicode bullets in bullet lists: "•", "‣", and
914     "⁃".
915   - Added support for new object-oriented directive interface,
916     retaining compatibility to the old functional interface.
917   - Added support for throwing ``DirectiveError``'s from within
918     directive code.
920 * docutils/parsers/rst/__init__.py:
922   - Added ``Directive`` base class.
923   - Added ``DirectiveError`` base class.
924   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
925     definitions.
927 * docutils/parsers/directives/:
929   - Refactored all reStructuredText directives to use the new
930     object-oriented directive interface.  Errors are now (mostly)
931     thrown using the new ``DirectiveError`` class.
933 * docutils/parsers/directives/misc.py:
935   - Added ``start-after`` and ``end-before`` options to ``include``
936     directive; thanks to Stefan Rank.
938 * docutils/transforms/universal.py:
940   - Added ``StripClassesAndElements`` transform to remove from the
941     document tree all elements with classes in
942     ``settings.strip_elements_with_classes`` and all "classes"
943     attribute values in ``self.document.settings.strip_classes``.
945 * docutils/transforms/writer_aux.py:
947   - Added ``Admonitions`` transform to transform specific admonitions
948     (like ``note``, ``warning``, etc.) into generic admonitions with a
949     localized title.
951 * docutils/writers/html4css1/__init__.py:
953   - Moved template functionality from the PEP/HTML writer here.
954   - Expanded the fragments available in the ``parts`` attribute.
955   - Moved ``id`` attributes from titles to surrounding ``div``
956     elements.
957   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
958     universally supported now).
959   - ``template.txt`` is now opened in text mode instead of binary mode
960     (to ensure Windows compatibility).
961   - ``a`` elements now have an "internal" or "external" class,
962     depending on reference type.
964 * docutils/writers/html4css1/template.txt: Added to project.
966 * docutils/writers/pep_html/:
968   - Moved template functionality to the HTML writer.
970 * docutils/writers/s5_html/__init__.py:
972   - Added ``view_mode`` & ``hidden_controls`` settings
973     (``--view-mode`` & ``--hidden-controls/--visible-controls``
974     options).
976 * docutils/writers/latex2e/__init__.py:
978   - Add ``--literal-block-env``
979   - Fix: escaping ``%`` in href urls.
980   - Move usepackage hyperref after stylesheet inclusion.
981   - Fix: scrartcl does not have chapter but scrreprt.
982   - Add newline after ``\end{verbatim}``.
983   - Merge smaller differences from latex2e_adaptive_preamble.
984   - Add ``use-part-section``.
985   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
986   - Using leavemode option_list no longer needs to check if parent
987     is a definition list.
988   - Append ``\leavemode`` to definition list terms.
989   - No longer write visit\_/depart_definition_list_item comments to
990     output.
991   - Table column width with 3 decimal places.
992   - Add table stubs support (boldfont).
993   - Add assemble_parts to writer.
994   - Add simply support for nested tables.
995   - Fix verbatim in tables if use-verbatim-when-possible.
996   - Use section commands down to subparagraph.
997   - Put ensuremath around some latin1 chars.
998   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
999   - New option ``--use-bibtex=style,db1,db2``.
1000   - New option ``--reference-label`` to allow usage of LaTeX ref for
1001     labels in section references.
1002   - Add a label after every section to support sectionnumbers as reference
1003     labels.
1004   - Fix: bug# 1605376 rst2latex: bad options group list
1005   - Remove inactive code for use_optionlist_for_option_list.
1006   - Remove latex comments from option_list output.
1007   - Fix: bug# 1612270 double qoutes in italian literal.
1008   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
1009   - Add option --use-latex-abstract.
1010   - Image width unit ``px`` is translated to ``pt``.
1011   - Add image height support.
1012   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
1013     bug #1457388
1014   - Fix: Do not escape underscores in citation reference labels if
1015     use-latex-citations is set.
1016   - Use centering instead of center for figure contents, to avoid vertical
1017     space.
1018   - Recognize table class: borderless, nolines, booktabs, standard.
1019   - Fix: Renaming contents section does not work with latex writer; SF
1020     bug #1487405.
1021   - Applied patch for custom roles with classes from Edward Loper.
1022   - Fixed bug that caused crashes with more than 256 lists.
1024 * docutils/writers/pep_html/__init__.py:
1026   - Changed to support new python.org website structure and
1027     pep2pyramid.py.
1029 * docs/howto/security.txt: "Deploying Docutils Securely", added to
1030   project.
1032 * tools/buildhtml.py:
1034   -- Added ``ignore`` setting to exclude a list of shell patterns
1035      (default: ``.svn:CVS``).
1037 * tools/editors/emacs/rst.el:
1039   - Changed license to "GPL".
1040   - Added ``rst-straighten-decorations`` function.
1041   - The ``compile`` module is now always loaded.
1042   - Added ``rst-toggle-line-block`` function.
1043   - Headings consisting only of non-ASCII characters are now
1044     recognized by ``rst-toc`` and ``rst-adjust``.
1045   - Added font-lock support for multi-line comments where the first
1046     comment line is empty.
1047   - Added ``(require 'font-lock)``.
1049 * setup.py:
1051   - Provide descriptive error message if distutils is missing.
1054 Release 0.4 (2006-01-09)
1055 ========================
1057 * General:
1059   - Updated the project policies for trunk/branch development &
1060     version numbering.
1062 * docutils/__init__.py:
1064   - Added ``__version_details__`` attribute to describe code source
1065     (repository/snapshot/release).
1066   - Replaced ``default_transforms`` attribute of TransformSpec with
1067     ``get_transforms()`` method.
1069 * docutils/core.py:
1071   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
1072     functions, for document tree extraction and reprocessing.
1074 * docutils/io.py:
1076   - Added ``DocTreeInput`` class, for reprocessing existing documents.
1077   - Added support for non-Unicode (e.g. binary) writer output.
1079 * docutils/nodes.py:
1081   - Re-introduced ``Targetable.indirect_reference_name``, for
1082     MoinMoin/reST compatibility (removed in r3124/r3129).
1083   - Added ``serial_escape`` function; escapes string values that are
1084     elements of a list, for serialization.  Modified Docutils-XML
1085     writing (``Element._dom_node``) and pseudo-XML writing
1086     (``Element.starttag``) to use ``serial_escape``.
1087   - Added ``Node.deepcopy()`` method.
1088   - Removed the internal lists ``document.substitution_refs``,
1089     ``document.anonymous_refs``, and ``document.anonymous_targets``.
1090   - Added a "container" element.
1091   - Fixed bug where values of list-valued attributes of elements
1092     originating from custom interpreted text roles (i.e., with custom
1093     classes) were being shared between element instances.  Reported by
1094     Shmuel Zeigerman.
1096 * docutils/statemachine.py:
1098   - Added trailing whitespace stripping to ``string2lines()``.
1099   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
1100     Asian double-width character support.
1102 * docutils/utils.py:
1104   - Added ``east_asian_column_width()`` for double-width character
1105     support.
1107 * docutils/languages/ja.py: Added to project: Japanese mappings by
1108   Hisashi Morita.
1110 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
1111   mappings by Panjunyong.
1113 * docutils/parsers/null.py: Added to project; a do-nothing parser.
1115 * docutils/parsers/rst/__init__.py:
1117   - Added validator to tab_width setting, with test.  Closes SF bug
1118     #1212515, report from Wu Wei.
1120 * docutils/parsers/rst/states.py:
1122   - Fixed bug with escaped colons indicating a literal block.
1123   - Fixed bug with enumerated lists (SF#1254145).
1124   - Backslash-escaped colons inside of field names are now allowed.
1125   - Targets (implicit and explicit), anonymous hyperlink references
1126     and auto-numbered footnote references inside of substitution
1127     definitions are now disallowed.
1128   - Fixed bug: list items with blank first lines.
1129   - Fixed bug: block quote attributions with indented second lines.
1130   - Added East Asian double-width character support (Python 2.4 only).
1132 * docutils/parsers/rst/tableparser.py:
1134   - Added East Asian double-width character support (Python 2.4 only).
1136 * docutils/parsers/rst/directives/body.py:
1138   - Added the "container" directive.
1140 * docutils/parsers/rst/directives/misc.py:
1142   - Added the "default-role", "title", and "date" directives.
1143   - Added standard data file syntax to the "include" directive.
1144   - Added support for "class" directive content.
1146 * docutils/parsers/rst/directives/images.py:
1148   - Added ``indirect_reference_name`` support for images with a target
1149     option.
1150   - Added support for image width and height units.
1151   - Fixed bug with image "target" options.
1153 * docutils/parsers/rst/directives/references.py:
1155   - Added "class" attribute to "target-notes" directive, for
1156     footnote_reference classes.
1158 * docutils/parsers/rst/include/: Directory added to project; contains
1159   standard data files for the "include" directive.  Initial contents:
1160   character entity substitution definition sets, and a set of
1161   definitions for S5/HTML presentations.
1163 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
1164   mappings by David Goodger.
1166 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
1167   Simplified Chinese mappings by Panjunyong.
1169 * docutils/readers/__init__.py:
1171   - Added universal.Decorations and universal.ExposeInternals
1172     transforms as default transforms for all readers.
1173   - Added ``ReReader`` base class for readers that reread an existing
1174     document tree.
1176 * docutils/readers/doctree.py: Added to project; a reader for existing
1177   document trees.
1179 * docutils/transforms/frontmatter.py:
1181   - Fixed the DocInfo transform to handle SVN-style expansion of the
1182     "Date" keyword.
1183   - In ``DocInfo.extract_authors``, treat the contents of "authors"
1184     fields uniformly.
1186 * docutils/transforms/misc.py:
1188   - Added misc.Transitions transform, extracted from
1189     universal.FinalChecks.
1191 * docutils/transforms/references.py:
1193   - Added references.DanglingReferences transform, extracted from
1194     universal.FinalChecks.
1195   - Fixed bug with doubly-indirect substitutions.
1196   - Added footnote_reference classes attribute to "TargetNotes".
1197   - Fixed bug with circular substitution definitions that put Docutils
1198     into an infinite loop.
1200 * docutils/transforms/universal.py:
1202   - Added universal.ExposeInternals transform, extracted from
1203     universal.FinalChecks.
1204   - Removed universal.FinalChecks transform (logic has been moved to
1205     several new transforms).
1206   - Fixed bug with the "expose_internals" setting and Text nodes
1207     (exposed by the "rawsource" internal attribute).
1208   - Added the universal.StripComments transform, implementation of the
1209     "strip_comments" setting.
1211 * docutils/transforms/writer_aux.py: Added to project; auxiliary
1212   transforms for writers.
1214   - Added ``Compound`` transform, which flattens compound paragraphs.
1216 * docutils/writers/: Several writer modules (html4css1.py) were
1217   converted into packages.  Support modules and data files have been
1218   moved into the packages.  The stylesheets for the HTML writers are
1219   now installed along with the code, the code knows where to find
1220   them, and the default is to use them (actually, to embed them).
1221   Some adjustments to configuration files may be necessary.  The
1222   easiest way to obtain the new default behavior is to remove all
1223   settings whose name includes "stylesheet".
1225 * docutils/writers/__init__.py:
1227   - Added universal.Messages and universal.FilterMessages transforms
1228     as default transforms for all writers.
1229   - Added ``UnfilteredWriter`` base class for writers that pass the
1230     document tree on unchanged.
1232 * docutils/writers/docutils_xml.py:
1234   - Made ``xmlcharrefreplace`` the default output encoding error
1235     handler.
1237 * docutils/writers/html4css1/:
1239   - Added support for image width and height units.
1240   - Made ``xmlcharrefreplace`` the default output encoding error
1241     handler.
1242   - Made ``--embed-stylesheet`` the default rather than
1243     ``--link-stylesheet``.
1244   - Moved "id" attribute from container (section etc.) to title's <a>
1245     tag, to be on the same tag as "name".
1246     (!!! To be reverted in Docutils 0.5.)
1247   - Added vertical space between fields of field lists.
1248   - Added ``--compact-field-lists`` option to remove vertical space in
1249     simple field lists.
1250   - Made cloaking of email addresses with ``--cloak-email-addresses``
1251     less obtrusive.
1252   - Fixed support for centered images.
1253   - Added support for class="compact" & class="open" lists.
1255 * docutils/writers/latex2e/:
1257   - Underscores in citekeys are no longer escaped.
1259 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
1260   mapping of Unicode characters to LaTeX equivalents.
1262 * docutils/writers/s5_html/: Package added to project; writer for
1263   S5/HTML slide shows.
1265 * docs/dev/distributing.txt: Added to project; guide for distributors
1266   (package maintainers).
1268 * docs/dev/hacking.txt: Added to project; guide for developers.
1270 * docs/ref/doctree.txt:
1272   - Updated for plural attributes "classes", "ids", "names",
1273     "dupnames".
1274   - Added the "container" element.
1276 * docs/ref/docutils.dtd:
1278   - Updated for plural attributes "classes", "ids", "names",
1279     "dupnames".
1281 * docs/user/emacs.txt: Added to project; a document about Emacs
1282   support for reStructuredText and Docutils.
1284 * docs/user/links.txt: Added to project; lists of Docutils-related
1285   links.
1287 * docs/user/mailing-lists.txt: Added to project; information about
1288   Docutils-related mailing lists and how to access them.
1290 * docs/user/slide-shows.txt: Added to project; example of and docs for
1291   the S5/HTML writer (``rst2s5.py`` front end).
1293 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
1294   Files", added to project.
1296 * test/coverage.sh: Added to project; test coverage script.
1298 * test/DocutilsTestSupport.py:
1300   - Added support for specifying runtime settings at the suite level.
1302 * test/test_functional.py:
1304   - Added the ``clear_output_directory`` function.
1305   - Added support for ``_test_more`` functions in functional test
1306     config files.
1308 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
1310 * tools/rstpep2html.py: Renamed from pep.py.
1312 * tools/dev/create_unimap.py: Added to project; script to create the
1313   docutils/writers/unimap_latex.py mapping file.
1315 * tools/dev/profile_docutils.py: Added to project; profiler script.
1317 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
1319 * tools/editors/emacs/restructuredtext.el,
1320   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
1321   Removed from project; the functionality is now contained in rst.el.
1323 * tools/editors/emacs/rst.el: Added to project.  Added many features
1324   and fixed many bugs.  See docs/user/emacs.txt for details.
1326 * tools/stylesheets: Removed from project.  Stylesheets have been
1327   renamed and moved into writer packages.
1330 Release 0.3.9 (2005-05-26)
1331 ==========================
1333 * General:
1335   - Eliminated and replaced all uses of the old string attributes
1336     ``id``, ``name``, ``dupname`` and ``class`` with references to the
1337     new list attributes ``ids``, ``names``, ``dupnames`` and
1338     ``classes`` throughout the whole source tree.
1340 * docutils/core.py:
1342   - Enabled ``--dump-*`` options when ``--traceback`` specified,
1343     allowing for easier debugging.
1344   - In ``Publisher.publish()``, expanded the generic top-level
1345     exception catching.
1347 * docutils/examples.py:
1349   - Added ``internals`` function for exploration.
1351 * docutils/io.py:
1353   - Fixed ``Input.decode`` method to apply heuristics only if no
1354     encoding is explicitly given, and to provide better reporting of
1355     decoding errors.
1356   - The ``Input.decode`` method now removes byte order marks (BOMs)
1357     from input streams.
1359 * docutils/nodes.py:
1361   - ``image`` element class changed to subclass of Element, not
1362     TextElement (it's an empty element, and cannot contain text).
1363   - Added ``attr_defaults`` dictionary for default attribute values.
1364   - Added empty list as default value for the following attributes:
1365     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
1366   - Added ``document.decoration`` attribute,
1367     ``document.get_decoration`` method, and ``decoration.get_header``
1368     & ``.get_footer`` methods.
1369   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
1370     methods.
1372 * docutils/utils.py:
1374   - Removed ``docutils.utils.Reporter.categories``,
1375     ``docutils.utils.ConditionSet``, and all references to them, to
1376     simplify error reporting.
1378 * docutils/languages/nl.py: Added to project; Dutch mappings by
1379   Martijn Pieters.
1381 * docutils/parsers/rst/__init__.py:
1383   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
1385 * docutils/parsers/rst/states.py:
1387   - Added check for escaped at-mark to prevent email address recognition.
1388   - Fixed option lists to allow spaces inside ``<angle-bracketed option
1389     arguments>``.
1390   - Allowed whitespace in paths and URLs.
1391   - Added auto-enumerated list items.
1392   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
1393     followed by text.
1394   - Added support for table stub columns.
1396 * docutils/parsers/rst/directives/__init__.py:
1398   - Allowed whitespace in paths (``path`` function).
1399   - Added ``uri`` directive option conversion function.
1401 * docutils/parsers/rst/directives/body.py:
1403   - Fixed illegal context bug with "topic" directive (allowed within
1404     sidebars; not within body elements).
1406 * docutils/parsers/rst/directives/images.py:
1408   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
1409   - Added support for the ``file_insertion_enabled`` setting in the
1410     "figure" directive (disables "figwidth" option).
1411   - "image" directive: added checks for valid values of "align" option,
1412     depending on context.  "figure" directive: added specialized
1413     "align" option and attribute on "figure" element.
1414   - Made ":figwidth: image" option of "figure" directive work again.
1415   - Fixed bug with reference names containing uppercase letters
1416     (e.g. ``Name_``) in "target" option of "image" directive.
1418 * docutils/parsers/rst/directives/misc.py:
1420   - Fixed "include" and "raw" directives to catch text decoding
1421     errors.
1422   - Allowed whitespace in "include" & "raw" directive paths.
1423   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
1424     settings in "include" & "raw" directives.
1426 * docutils/parsers/rst/directives/parts.py:
1428   - Added "header" & "footer" directives.
1429   - Fixed illegal context bug with "contents" directive (topics
1430     allowed within sidebars; not within body elements).
1432 * docutils/parsers/rst/directives/tables.py:
1434   - Added "list-table" directive.
1435   - Caught empty CSV table bug.
1436   - Added support for the ``file_insertion_enabled`` setting in the
1437     "csv-table" directive.
1438   - Added ``stub-columns`` option to "csv-table" and "list-table"
1439     directives.
1441 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1442   mappings by Martijn Pieters.
1444 * docutils/readers/standalone.py:
1446   - Added ``--section-subtitles`` and ``--no-section-subtitles``
1447     options to activate or deactivate the SectSubTitle transform.
1449 * docutils/transforms/frontmatter.py:
1451   - Added SectSubTitle transform to promote titles of lone
1452     subsections to subtitles.
1454 * docutils/transforms/references.py:
1456   - Fixed mislocated internal targets bug, by propagating internal
1457     targets to the next node, making use of the newly added support
1458     for multiple names and IDs.
1459   - Fixed duplicate footnote label bug.
1460   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1461     transform.
1463 * docutils/writers/html4css1.py:
1465   - Fixed unencoded stylesheet reference bug (characters like "&" in
1466     stylesheet references).
1467   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1468     tags).
1469   - Added support for multiple IDs per node by creating empty ``span``
1470     tags.
1471   - Added the ``field_name_limit`` & ``option_limit`` settings &
1472     support.
1473   - Added support for table stub columns.
1474   - Added support for the ``align`` attribute on ``figure`` elements.
1475   - Added the ``cloak_email_addresses`` setting & support.
1476   - Added ``html_prolog``, ``html_head``, ``html_body``,
1477     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1478     ``docutils.core.publish_parts``.
1479   - Added support for section subtitles.
1481 * docutils/writers/latex2e.py:
1483   - Fixed tables starting with more than one multirow cell.
1484   - Improved --use-latex-docinfo so that organization/contact/address
1485     fields are lumped with the last author field and appear on the
1486     titlepage.
1487   - Made sure the titlepage is always shown with --use-latex-docinfo,
1488     even if the document has no title.
1489   - Made sure that latex doesn't fill in today's date if no date field
1490     was given.
1491   - Added support for section subtitles.
1493 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1494   (under development).
1496 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1498 * docs/api/publisher.txt:
1500   - Added "``publish_parts`` Details" section.
1502 * docutils/dev/repository.txt: Added to project; information about the
1503   Docutils Subversion repository.
1505 * docs/ref/docutils.dtd:
1507   - Added a ``stub`` attribute to the ``colspec`` element via the
1508     ``tbl.colspec.att`` parameter entity.
1509   - Allowed topic elements within sidebars
1510   - Added an ``align`` attribute to the ``figure`` element.
1512 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1513   writer.
1516 Release 0.3.7 (2004-12-24)
1517 ==========================
1519 * docutils/frontend.py:
1521   - Added options: --input-encoding-error-handler,
1522     --record-dependencies, --leave-footnote-reference-space,
1523     --strict-visitor.
1524   - Added command-line and config file support for "overrides" setting
1525     parameter.
1527 * docutils/io.py:
1529   - Added support for input encoding error handler.
1531 * docutils/nodes.py:
1533   - Added dispatch_visit and dispatch_departure methods to
1534     NodeVisitor; useful as a hook for Visitors.
1535   - Changed structure of ``line_block``; added ``line``.
1536   - Added ``compound`` node class.
1537   - Added a mechanism for Visitors to transitionally ignore new node
1538     classes.
1540 * docutils/utils.py:
1542   - Moved ``escape2null`` and ``unescape`` functions from
1543     docutils/parsers/rst/states.py.
1545 * docutils/parsers/rst/roles.py:
1547   - Added "raw" role.
1548   - Changed role function API: the "text" parameter now takes
1549     null-escaped interpreted text content.
1551 * docutils/parsers/rst/states.py:
1553   - Fixed bug where a "role" directive in a nested parse would crash
1554     the parser; the state machine's "language" attribute was not being
1555     copied over.
1556   - Added support for line block syntax.
1557   - Fixed directive parsing bug: argument-less directives didn't
1558     notice that arguments were present.
1559   - Removed error checking for transitions.
1560   - Added support for multiple classifiers in definition list items.
1561   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1562   - Changed role function API: the "text" parameter now takes
1563     null-escaped interpreted text content.
1564   - Empty sections and documents are allowed now.
1566 * docutils/parsers/rst/directives/__init__.py:
1568   - Added ``encoding`` directive option conversion function.
1569   - Allow multiple class names in class_option conversion function.
1571 * docutils/parsers/rst/directives/body.py:
1573   - Converted the line-block directive to use the new structure.
1574   - Extracted the old line-block functionality to the ``block``
1575     function (still used).
1576   - Added ``compound`` directive (thanks to Lea Wiemann).
1578 * docutils/parsers/rst/directives/misc.py:
1580   - Added "encoding" option to "include" and "raw" directives.
1581   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1582   - Allow multiple class names in the "class" directive.
1584 * docutils/parsers/rst/directives/parts.py:
1586   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1587     options.  Thanks to Lele Gaifax.
1589 * docutils/parsers/rst/directives/tables.py:
1591   - Added "encoding" directive to "csv-table" directive.
1592   - Added workaround for lack of Unicode support in csv.py, for
1593     non-ASCII CSV input.
1595 * docutils/transforms/misc.py:
1597   - Fixed bug when multiple "class" directives are applied to a single
1598     element.
1599   - Enabled multiple format names for "raw" directive.
1601 * docutils/transforms/references.py:
1603   - Added support for trimming whitespace from beside substitution
1604     references.
1606 * docutils/transforms/universal.py:
1608   - FinalChecks now checks for illegal transitions and moves
1609     transitions between sections.
1611 * docutils/writers/html4css1.py:
1613   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
1614   - "stylesheet" and "stylesheet_path" settings are now mutually
1615     exclusive.
1616   - Added support for the new line_block/line structure.
1617   - --footnote-references now overrides
1618     --trim-footnote-reference-space, if applicable.
1619   - Added support for ``compound`` elements.
1620   - Enabled multiple format names for "raw" directive.
1621   - ``<p>`` tags of a paragraph which is the only visible child of the
1622     document node are no longer stripped.
1623   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1624     new method ``should_be_compact_paragraph()``.
1625   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1626     elements.
1627   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1628     the output if they have their ``class`` attribute set.
1629   - The whole document is now surrounded by a ``<div
1630     class="document">`` element.
1631   - Body-level images are now wrapped by their own ``<div>`` elements,
1632     with image classes copied to the wrapper, and for images which
1633     have the ``:align:`` option set, the surrounding ``<div>`` now
1634     receives a class attribute (like ``class="align-left"``).
1636 * docutils/writers/latex2e.py:
1638   - no newline after depart_term.
1639   - Added translations for some Unicode quotes.
1640   - Added option "font-encoding", made package AE the default.
1641   - "stylesheet" and "stylesheet_path" settings are now mutually
1642     exclusive.
1643   - --footnote-references now overrides
1644     --trim-footnote-reference-space, if applicable.
1645   - The footnote label style now matches the footnote reference style
1646     ("brackets" or "superscript").
1647   - Added support for ``compound`` elements.
1648   - Enabled multiple format names for "raw" directive.
1650 * docs/ref/docutils.dtd:
1652   - Changed structure of the ``line_block`` element; added ``line``.
1653   - Added ``compound`` element.
1654   - Added "ltrim" and "rtrim" attributes to
1655     ``substitution_definition`` element.
1656   - Enabled multiple format names for ``raw`` element.
1657   - Enabled multiple classifiers in ``definition_list_item`` elements.
1659 * docs/ref/rst/directives.txt
1661   - Marked "line-block" as deprecated.
1662   - "Class" directive now allows multiple class names.
1663   - Added "Rationale for Class Attribute Value Conversion".
1664   - Added warning about "raw" overuse/abuse.
1666 * docs/ref/rst/restructuredtext.txt:
1668   - Added syntax for line blocks.
1669   - Definition list items may have multiple classifiers.
1671 * docs/ref/rst/roles.txt:
1673   - Added "raw" role.
1675 * tools/stylesheets/default.css:
1677   - Added support for the new line_block structure.
1678   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1681 Release 0.3.5 (2004-07-29)
1682 ==========================
1684 General:
1686 * _`Documentation cleanup/reorganization`.
1688   - Created new subdirectories of docs/:
1690     * ``docs/user/``: introductory/tutorial material for end-users
1691     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1692     * ``docs/api/``: API reference material for client-developers
1693     * ``docs/ref/``: reference material for all groups
1694     * ``docs/howto/``: for component-developers and core-developers
1695     * ``docs/peps/``: Python Enhancement Proposals
1697   - Moved ``docs/*`` to ``docs/user/``.
1698   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1699     ``spec/`` to ``docs/dev``.
1700   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1701     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1702   - Moved ``alternatives.txt``, and ``problems.txt`` from
1703     ``spec/rst/`` to ``docs/dev/rst/``.
1704   - Moved ``reStructuredText.txt``, ``directives.txt``,
1705     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1706     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
1707     ``roles.txt``, ``reStructuredText.txt`` to
1708     ``restructuredtext.txt``.
1709   - Moved ``spec/howto/`` to ``docs/howto``.
1711   In order to keep the CVS history of moved files, we supplied
1712   SourceForge with a `script for modifying the Docutils CVS
1713   repository`__.
1715   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1717   After running the cleanup script:
1719   - Added ``docs/index.txt``.
1720   - Added a ``.htaccess`` file to the ``web`` module, containing
1721     redirects for all old paths to new paths.  They'll preserve
1722     fragments (the "#name" part of a URL), and won't clutter up the
1723     file system, and will correct the URL in the user's browser.
1724   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1725     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1726     the "To Do" list itself in ``docs/dev/todo.txt``.
1727   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1728     section of ``docs/dev/todo.txt``.
1729   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1730   - Added "How To Report Bugs" to ``BUGS.txt``.
1731   - Went through all the sources and docs (including under web/) and
1732     updated links.  Mostly done by Lea Wiemann; thanks Lea!
1733     (Still need to update links in the sandboxes.)
1735 Specific:
1737 * BUGS.txt: Added to project.
1739 * THANKS.txt: Added to project.
1741 * docutils/__init__.py:
1743   - 0.3.4: Post-release.
1745 * docutils/core.py:
1747   - Added special error handling & advice for UnicodeEncodeError.
1748   - Refactored Publisher.publish (simplified exception handling &
1749     extracted debug dumps).
1750   - Renamed "enable_exit" parameter of convenience functions to
1751     "enable_exit_status".
1752   - Enabled traceback (exception propagation) by default in
1753     programmatic convenience functions.
1754   - Now publish_file and publish_cmdline convenience functions return
1755     the encoded string results in addition to their regular I/O.
1756   - Extracted common code from publish_file, publish_string, and
1757     publish_parts, into new publish_programmatically.  Extracted
1758     settings code to ``Publisher.process_programmatic_settings``.
1759   - In Publisher.publish, disabled ``settings_overrides`` when
1760     ``settings`` is supplied; redundant.
1762 * docutils/frontend.py:
1764   - Added help text for "--output-encoding-error-handler" and
1765     "--error-encoding-error-handler".
1766   - Renamed "--exit" to "--exit-status".
1767   - Simplified default-setting code.
1769 * docutils/parsers/rst/__init__.py:
1771   - Added "--pep-base-url" and "--rfc-base-url" options.
1773 * docutils/parsers/rst/states.py:
1775   - Made URI recognition more aggressive and intelligent.
1777 * docutils/parsers/rst/directives/__init__.py:
1779   - Added several directive option conversion functions.
1781 * docutils/parsers/rst/directives/body.py:
1783   - Moved "table" directive to tables.py.
1785 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1786   added to project.
1788 * docutils/writers/latex2e.py:
1790   - Added "--table-style=(standard|booktabs|nolines)"
1791   - figures get "here" option (LaTeX per default puts them at bottom),
1792     and figure content is centered.
1793   - Rowspan support for tables.
1794   - Fix: admonition titles before first section.
1795   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1796   - Replave ``_`` in literal by an underlined blank, because it has the correct
1797     width.
1798   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1799   - A few unicode replacements, if output_encoding != utf
1800   - Add "--graphicx-option".
1801   - Indent literal-blocks.
1802   - Fix: omit ``\maketitle`` when there is no document title.
1804 * docs/index.txt: "Docutils Project Documentation Overview", added to
1805   project.
1807 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1808   Tool", added to project.
1810 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1812 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1814 * docs/dev/policies.txt: Added to project (extracted from
1815   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1817 * docs/dev/release.txt: Added to project (extracted from
1818   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1820 * docs/dev/testing.txt: Added to project.
1822 * docs/dev/website.txt: Added to project (extracted from
1823   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1825 * docs/ref/rst/directives.txt:
1827   - Added directives: "table", "csv-table".
1829 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1830   added to project.  1 page for syntax, and a 1 page reference for
1831   directives and roles.  Source text to be used as-is; not meant to be
1832   converted to HTML.
1834 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1835   with a change of title.
1837 * test/functional/, contents, and test/test_functional.py: Added to
1838   project.
1840 * tools/buildhtml.py: Fixed bug with config file handling.
1842 * tools/html.py: Removed from project (duplicate of rst2html.py).
1844 * tools/pep2html.py: Removed from project (duplicate of Python's
1845   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1846   Docutils-related PEPs in docs/peps/).
1848 * tools/rst2pseudoxml.py: Renamed from publish.py.
1850 * tools/rst2xml.py: Renamed from docutils-xml.py.
1852 * tools/test.txt: Removed from project; moved to
1853   docs/user/rst/demo.txt.
1855 * setup.py: Now also installs ``rst2latex.py``.
1858 Release 0.3.3 (2004-05-09)
1859 ==========================
1861 * docutils/__init__.py:
1863   - 0.3.1: Reorganized config file format (multiple sections); see
1864     docs/config.txt.
1865   - Added unknown_reference_resolvers attribute to TransformSpec.
1866   - 0.3.2: Interpreted text reorganization.
1867   - 0.3.3: Released.
1869 * docutils/core.py:
1871   - Catch system messages to stop tracebacks from parsing errors.
1872   - Catch exceptions during processing report & exit without
1873     tracebacks, except when "--traceback" used.
1874   - Reordered components for OptionParser; application comes last.
1875   - Added "config_section" parameter to several methods and functions,
1876     allowing front ends to easily specify their config file sections.
1877   - Added publish_parts convenience function to allow access to individual
1878     parts of a document.
1880 * docutils/examples.py: Added to project; practical examples of
1881   Docutils client code, to be used as-is or as models for variations.
1883 * docutils/frontend.py:
1885   - Added "--traceback" & "--no-traceback" options ("traceback"
1886     setting).
1887   - Implemented support for config file reorganization:
1888     ``standard_config_files`` moved from ``ConfigParser`` to
1889     ``OptionParser``; added
1890     ``OptionParser.get_config_file_settings()`` and
1891     ``.get_standard_config_settings()``; support for old "[options]"
1892     section (with deprecation warning) and mapping from old to new
1893     settings.
1894   - Reimplemented setting validation.
1895   - Enabled flexible boolean values: yes/no, true/false, on/off.
1896   - Added ``Values``, a subclass of ``optparse.Values``, with support
1897     for list setting attributes.
1898   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1899     thanks to Beni Cherniavsky.
1900   - Added "--no-section-numbering" option.
1902 * docutils/io.py:
1904   - Catch IOErrors when opening source & destination files, report &
1905     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1906     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1908 * docutils/nodes.py:
1910   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1911     method definitions (via ``exec``) to dynamic assignments (via
1912     ``setattr``); thanks to Roman Suzi.
1913   - Encapsulated visitor dynamic assignments in a function; thanks to
1914     Ian Bicking.
1915   - Added indirect_reference_name attribute to the Targetable
1916     class. This attribute holds the whitespace_normalized_name
1917     (contains mixed case) of a target.
1919 * docutils/statemachine.py:
1921   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1922   - Added ``StringList.get_2D_block``.
1924 * docutils/utils.py:
1926   - Added "level" attribute to SystemMessage exceptions.
1928 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1929   Jannie Hofmeyr.
1931 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1932   Blaha.
1934 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1935   Marcelo Huerta San Martin.
1937 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1938   mappings by Lalo Martins.
1940 * docutils/languages/ru.py: Added to project; Russian mappings by
1941   Roman Suzi.
1943 * docutils/parsers/rst/roles.py: Added to project.  Contains
1944   interpreted text role functions, a registry for interpreted text
1945   roles, and an API for adding to and retrieving from the registry.
1946   Contributed by Edward Loper.
1948 * docutils/parsers/rst/states.py:
1950   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1951   - Allowed true em-dash character and "---" as block quote
1952     attribution marker.
1953   - Added support for <angle-bracketed> complex option arguments
1954     (option lists).
1955   - Fixed handling of backslashes in substitution definitions.
1956   - Fixed off-by-1 error with extra whitespace after substitution
1957     definition directive.
1958   - Added inline markup parsing to field lists' field names.
1959   - Added support for quoted (and unindented) literal blocks.
1960     Driven in part by a bribe from Frank Siebenlist (thanks!).
1961   - Parser now handles escapes in URIs correctly.
1962   - Made embedded-URIs' reference text omittable.  Idea from Beni
1963     Cherniavsky.
1964   - Refactored explicit target processing code.
1965   - Added name attribute to references containing the reference name only
1966     through whitespace_normalize_name (no case changes).
1967   - parse_target no longer returns the refname after going through
1968     normalize_name. This is now handled in make_target.
1969   - Fixed bug relating to role-less interpreted text in non-English
1970     contexts.
1971   - Reorganized interpreted text processing; moved code into the new
1972     roles.py module.  Contributed by Edward Loper.
1973   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1974     ``parse_directive_block``.
1976 * docutils/parsers/rst/tableparser.py:
1978   - Reworked for ``StringList``, to support "include" directives in
1979     table cells.
1981 * docutils/parsers/rst/directives/__init__.py:
1983   - Renamed ``unchanged()`` directive option conversion function to
1984     ``unchanged_required``, and added a new ``unchanged``.
1985   - Catch unicode value too high error; fixes bug 781766.
1986   - Beefed up directive error reporting.
1988 * docutils/parsers/rst/directives/body.py:
1990   - Added basic "table" directive.
1992 * docutils/parsers/rst/directives/images.py:
1994   - Added "target" option to "image" directive.
1995   - Added name attribute to references containing the reference name only
1996     through whitespace_normalize_name (no case changes).
1998 * docutils/parsers/rst/directives/misc.py:
2000   - Isolated the import of the ``urllib2`` module; was causing
2001     problems on SourceForge (``libssl.so.2`` unavailable?).
2002   - Added the "role" directive for declaring custom interpreted text
2003     roles.
2005 * docutils/parsers/rst/directives/parts.py:
2007   - The "contents" directive does more work up-front, creating the
2008     "topic" and "title", and leaving the "pending" node for the
2009     transform.  Allows earlier reference resolution; fixes subtle bug.
2011 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
2012   mappings by Jannie Hofmeyr.
2014 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
2015   mappings by Marek Blaha.
2017 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
2018   mappings by Marcelo Huerta San Martin.
2020 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
2021   Portuguese mappings by Lalo Martins.
2023 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
2024   mappings by Roman Suzi.
2026 * docutils/transforms/parts.py:
2028   - The "contents" directive does more work up-front, creating the
2029     "topic" and "title", and leaving the "pending" node for the
2030     transform.  Allows earlier reference resolution; fixes subtle bug.
2031   - Added support for disabling of section numbering.
2033 * docutils/transforms/references.py:
2035   - Verifying that external targets are truly targets and not indirect
2036     references. This is because we are now adding a "name" attribute to
2037     references in addition to targets. Note sure if this is correct!
2038   - Added code to hook into the unknown_reference_resolvers list for a
2039     transformer in resolve_indirect_target. This allows the
2040     unknown_reference_resolvers to keep around indirect targets which
2041     docutils doesn't know about.
2042   - Added specific error message for duplicate targets.
2044 * docutils/transforms/universal.py:
2046   - Added FilterMessages transform (removes system messages below the
2047     verbosity threshold).
2048   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
2049     to FinalCheckVisitor for application-specific handling of
2050     unresolvable references.
2051   - Added specific error message for duplicate targets.
2053 * docutils/writers/__init__.py:
2055   - Added assemble_parts method to the Writer class to allow for
2056     access to a documents individual parts.
2057   - Documented & set default for ``Writer.output`` attribute.
2059 * docutils/writers/html4css1.py:
2061   - Fixed unicode handling of attribute values (bug 760673).
2062   - Prevent duplication of "class" attribute values (bug report from
2063     Kirill Lapshin).
2064   - Improved table grid/border handling (prompted by report from Bob
2065     Marshall).
2066   - Added support for table titles.
2067   - Added "<title />" for untitled docs, for XHTML conformance; thanks
2068     to Darek Suchojad.
2069   - Added functionality to keep track of individual parts of a document
2070     and store them in a dictionary as the "parts" attribute of the writer.
2071     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
2072   - Added proper support for the "scale" attribute of the "image"
2073     element.  Contributed by Brent Cook.
2074   - Added ``--initial-header-level`` option.
2075   - Fixed bug: the body_pre_docinfo segment depended on there being a
2076     docinfo; if no docinfo, the document title was incorporated into
2077     the body segment.  Adversely affected the publish_parts interface.
2079 * docutils/writers/latex2e.py:
2081   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
2082     about a missing file.
2083   - Added options and support: ``--compound-enumerators``,
2084     ``--section-prefix-for-enumerators``, and
2085     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
2086     934322).
2087   - Added option ``--use-verbatim-when-possible``, to avoid
2088     problematic characters (eg, '~' in italian) in literal blocks.
2089   - It's now possible to use four section levels in the `book` and
2090     `report` LaTeX classes.  The default `article` class still has
2091     three levels limit.
2093 * docs/config.txt: "Docutils Configuration Files", added to project.
2094   Moved config file entry descriptions from tools.txt.
2096 * docs/tools.txt:
2098   - Moved config file entry descriptions to config.txt.
2100 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
2101   Development".
2103 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
2104   Text Roles", added to project.
2106 * spec/rst/reStructuredText.txt:
2108   - Added description of support for <angle-bracketed> complex option
2109     arguments to option lists.
2110   - Added subsections for indented and quoted literal blocks.
2112 * test: Continually adding & updating tests.
2114   - Added test/test_settings.py & test/data/config_*.txt support
2115     files.
2116   - Added test/test_writers/test_htmlfragment.py.
2118 * test/DocutilsTestSupport.py:
2120   - Refactored LaTeX publisher test suite/case class names to make
2121     testing other writers easier.
2122   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
2123     to test the processing of HTML fragments which use the new
2124     publish_parts convenience function.
2126 * tools/buildhtml.py:
2128   - Added support for the "--prune" option.
2129   - Removed dependency on pep2html.py; plaintext PEPs no longer
2130     supported.
2132 * tools/docutils.conf:
2134   - Updated for configuration file reorganization.
2136 * tools/rst2html.py:
2138   - copied from tools/html.py
2140 * setup.py:
2142   - added a 'scripts' section to configuration
2143   - added 'tools/rst2html.py' to the scripts section
2146 Release 0.3 (2003-06-24)
2147 ========================
2149 General:
2151 * Renamed "attribute" to "option" for directives/extensions.
2153 * Renamed transform method "transform" to "apply".
2155 * Renamed "options" to "settings" for runtime settings (as set by
2156   command-line options).  Sometimes "option" (singular) became
2157   "settings" (plural).  Some variations below:
2159   - document.options -> document.settings (stored in other objects as
2160     well)
2161   - option_spec -> settings_spec (not directives though)
2162   - OptionSpec -> SettingsSpec
2163   - cmdline_options -> settings_spec
2164   - relative_path_options -> relative_path_settings
2165   - option_default_overrides -> settings_default_overrides
2166   - Publisher.set_options -> Publisher.get_settings
2168 Specific:
2170 * COPYING.txt: Added "Public Domain Dedication".
2172 * FAQ.txt: Frequently asked questions, added to project.
2174 * setup.py:
2176   - Updated with PyPI Trove classifiers.
2177   - Conditional installation of third-party modules.
2179 * docutils/__init__.py:
2181   - Bumped version to 0.2.1 to reflect changes to I/O classes.
2182   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
2183   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
2184   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
2185     option and its effect on the PEP template & writer.
2186   - Bumped version to 0.2.4 due to changes to the PEP template &
2187     stylesheet.
2188   - Bumped version to 0.2.5 to reflect changes to Reporter output.
2189   - Added ``TransformSpec`` class for new transform system.
2190   - Bumped version to 0.2.6 for API changes (renaming).
2191   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
2192     convenience functions.
2193   - Added ``Component.component_type`` attribute.
2194   - Bumped version to 0.2.8 because of the internal parser switch from
2195     plain lists to the docutils.statemachine.StringList objects.
2196   - Bumped version to 0.2.9 because of the frontend.py API changes.
2197   - Bumped version to 0.2.10 due to changes to the project layout
2198     (third-party modules removed from the "docutils" package), and
2199     signature changes in ``io.Input``/``io.Output``.
2200   - Changed version to 0.3.0 for release.
2202 * docutils/core.py:
2204   - Made ``publish()`` a bit more convenient.
2205   - Generalized ``Publisher.set_io``.
2206   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
2207     parameters; improved its docstring.
2208   - Added ``publish_file()`` and ``publish_string()``.
2209   - Factored ``Publisher.set_source()`` and ``.set_destination()``
2210     out of ``.set_io``.
2211   - Added support for "--dump-pseudo-xml", "--dump-settings", and
2212     "--dump-transforms" hidden options.
2213   - Added ``Publisher.apply_transforms()`` method.
2214   - Added ``Publisher.set_components()`` method; support for
2215     ``publish_*()`` conveninece functions.
2216   - Moved config file processing to docutils/frontend.py.
2217   - Added support for exit status ("exit_level" setting &
2218     ``enable_exit`` parameter for Publisher.publish() and convenience
2219     functions).
2221 * docutils/frontend.py:
2223   - Check for & exit on identical source & destination paths.
2224   - Fixed bug with absolute paths & "--config".
2225   - Set non-command-line defaults in ``OptionParser.__init__()``:
2226     ``_source`` & ``_destination``.
2227   - Distributed ``relative_path_settings`` to components; updated
2228     ``OptionParser.populate_from_components()`` to combine it all.
2229   - Require list of keys in ``make_paths_absolute`` (was implicit in
2230     global ``relative_path_settings``).
2231   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
2232     "--dump-settings", and "--dump-transforms" hidden options.
2233   - Removed nasty internals-fiddling ``ConfigParser.get_section``
2234     code, replaced with correct code.
2235   - Added validation functionality for config files.
2236   - Added "--error-encoding" option/setting, "_disable_config"
2237     internal setting.
2238   - Added encoding validation; updated "--input-encoding" and
2239     "--output-encoding"; added "--error-encoding-error-handler" and
2240     "--output-encoding-error-handler".
2241   - Moved config file processing from docutils/core.py.
2242   - Updated ``OptionParser.populate_from_components`` to handle new
2243     ``SettingsSpec.settings_defaults`` dict.
2244   - Added support for "-" => stdin/stdout.
2245   - Added "exit_level" setting ("--exit" option).
2247 * docutils/io.py:
2249   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
2250   - Added automatic closing to ``FileInput`` and ``FileOutput``.
2251   - Delayed opening of ``FileOutput`` file until ``write()`` called.
2252   - ``FileOutput.write()`` now returns the encoded output string.
2253   - Try to get path/stream name automatically in ``FileInput`` &
2254     ``FileOutput``.
2255   - Added defaults for source & destination paths.
2256   - Allow for Unicode I/O with an explicit "unicode" encoding.
2257   - Added ``Output.encode()``.
2258   - Removed dependency on runtime settings; pass encoding directly.
2259   - Recognize Unicode strings in ``Input.decode()``.
2260   - Added support for output encoding error handlers.
2262 * docutils/nodes.py:
2264   - Added "Invisible" element category class.
2265   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
2266     modification during a traversal.
2267   - Added element classes: ``line_block``, ``generated``, ``address``,
2268     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
2269     ``superscript``, ``subscript``, ``inline``
2270   - Added support for lists of nodes to ``Element.insert()``.
2271   - Fixed parent linking in ``Element.replace()``.
2272   - Added new abstract superclass ``FixedTextElement``; adds
2273     "xml:space" attribute.
2274   - Added support for "line" attribute of ``system_message`` nodes.
2275   - Added support for the observer pattern from ``utils.Reporter``.
2276     Added ``parse_messages`` and ``transform_messages`` attributes to
2277     ``document``, removed ``messages``.  Added ``note_parse_message``
2278     and ``note_transform_message`` methods.
2279   - Added support for improved diagnostics:
2281     - Added "document", "source", and "line" internal attributes to
2282       ``Node``, set by ``Node.setup_child()``.
2283     - Converted variations on ``node.parent = self`` to
2284       ``self.setup_child(node)``.
2285     - Added ``document.current_source`` & ``.current_line``
2286       attributes, and ``.note_source`` observer method.
2287     - Changed "system_message" output to GNU-Tools format.
2289   - Added a "rawsource" attribute to the ``Text`` class, for text
2290     before backslash-escape resolution.
2291   - Support for new transform system.
2292   - Reworked ``pending`` element.
2293   - Fixed XML DOM bug (SF #660611).
2294   - Removed the ``interpeted`` element class and added
2295     ``title_reference``, ``abbreviation``, ``acronym``.
2296   - Made substitutions case-sensitive-but-forgiving; moved some code
2297     from the parser.
2298   - Fixed Unicode bug on element attributes (report: William Dode).
2300 * docutils/optik.py: Removed from project; replaced with
2301   extras/optparse.py and extras/textwrap.py.  These will be installed
2302   only if they're not already present in the Python installation.
2304 * docutils/roman.py: Moved to extras/roman.py; this will be installed
2305   only if it's not already present in the Python installation.
2307 * docutils/statemachine.py:
2309   - Factored out ``State.add_initial_transitions()`` so it can be
2310     extended.
2311   - Converted whitespace-specific "blank" and "indent" transitions
2312     from special-case code to ordinary transitions: removed
2313     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
2314     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
2315     ``ws_initial_transitions`` attributes.
2316   - Removed ``State.match_transition()`` after merging it into
2317     ``.check_line()``.
2318   - Added ``StateCorrection`` exception.
2319   - Added support for ``StateCorrection`` in ``StateMachine.run()``
2320     (moved ``TransitionCorrection`` support there too.)
2321   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
2322     ``EOFError`` instead of ``IndexError``.
2323   - Added ``State.no_match`` method.
2324   - Added support for the Observer pattern, triggered by input line
2325     changes.
2326   - Added ``strip_top`` parameter to
2327     ``StateMachineWS.get_first_known_indented``.
2328   - Made ``context`` a parameter to ``StateMachine.run()``.
2329   - Added ``ViewList`` & ``StringList`` classes;
2330     ``extract_indented()`` becomes ``StringList.get_indented()``.
2331   - Added ``StateMachine.insert_input()``.
2332   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
2333     thanks to) Fred Drake.
2335 * docutils/utils.py:
2337   - Added a ``source`` attribute to Reporter instances and
2338     ``system_message`` elements.
2339   - Added an observer pattern to ``utils.Reporter`` to keep track of
2340     system messages.
2341   - Fixed bugs in ``relative_path()``.
2342   - Added support for improved diagnostics.
2343   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
2344   - Added support for encoding Reporter stderr output, and encoding
2345     error handlers.
2346   - Reporter keeps track of the highest level system message yet
2347     generated.
2349 * docutils/languages: Fixed bibliographic field language lookups.
2351 * docutils/languages/es.py: Added to project; Spanish mappings by
2352   Marcelo Huerta San Martin.
2354 * docutils/languages/fr.py: Added to project; French mappings by
2355   Stefane Fermigier.
2357 * docutils/languages/it.py: Added to project; Italian mappings by
2358   Nicola Larosa.
2360 * docutils/languages/sk.py: Added to project; Slovak mappings by
2361   Miroslav Vasko.
2363 * docutils/parser/__init__.py:
2365   - Added ``Parser.finish_parse()`` method.
2367 * docutils/parser/rst/__init__.py:
2369   - Added options: "--pep-references", "--rfc-references",
2370     "--tab-width", "--trim-footnote-reference-space".
2372 * docutils/parsers/rst/states.py:
2374   - Changed "title under/overline too short" system messages from INFO
2375     to WARNING, and fixed its insertion location.
2376   - Fixed enumerated list item parsing to allow paragraphs & section
2377     titles to begin with enumerators.
2378   - Converted system messages to use the new "line" attribute.
2379   - Fixed a substitution reference edge case.
2380   - Added support for "--pep-references" and "--rfc-references"
2381     options; reworked ``Inliner`` code to make customization easier.
2382   - Removed field argument parsing.
2383   - Added support for short section title over/underlines.
2384   - Fixed "simple reference name" regexp to ignore text like
2385     "object.__method__"; not an anonymous reference.
2386   - Added support for improved diagnostics.
2387   - Reworked directive API, based on Dethe Elza's contribution.  Added
2388     ``Body.parse_directive()``, ``.parse_directive_options()``,
2389     ``.parse_directive_arguments()`` methods.
2390   - Added ``ExtensionOptions`` class, to parse directive options
2391     without parsing field bodies.  Factored
2392     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
2393     ``ExtensionOptions``.
2394   - Improved definition list term/classifier parsing.
2395   - Added warnings for unknown directives.
2396   - Renamed ``Stuff`` to ``Struct``.
2397   - Now flagged as errors: transitions at the beginning or end of
2398     sections, empty sections (except title), and empty documents.
2399   - Updated for ``statemachine.StringList``.
2400   - Enabled recognition of schemeless email addresses in targets.
2401   - Added support for embedded URIs in hyperlink references.
2402   - Added backslash-escapes to inline markup end-string suffix.
2403   - Added support for correct interpreted text processing.
2404   - Fixed nested title parsing (topic, sidebar directives).
2405   - Added special processing of backslash-escaped whitespace (idea
2406     from David Abrahams).
2407   - Made substitutions case-sensitive-but-forgiving; moved some code
2408     to ``docutils.nodes``.
2409   - Added support for block quote attributions.
2410   - Added a kludge to work-around a conflict between the bubble-up
2411     parser strategy and short titles (<= 3 char-long over- &
2412     underlines).  Fixes SF bug #738803 "infinite loop with multiple
2413     titles" submitted by Jason Diamond.
2414   - Added explicit interpreted text roles for standard inline markup:
2415     "emphasis", "strong", "literal".
2416   - Implemented "superscript" and "subscript" interpreted text roles.
2417   - Added initial support for "abbreviation" and "acronym" roles;
2418     incomplete.
2419   - Added support for "--trim-footnote-reference-space" option.
2420   - Optional space before colons in directives & hyperlink targets.
2422 * docutils/parsers/rst/tableparser.py:
2424   - Fixed a bug that was producing unwanted empty rows in "simple"
2425     tables.
2426   - Detect bad column spans in "simple" tables.
2428 * docutils/parsers/rst/directives: Updated all directive functions to
2429   new API.
2431 * docutils/parsers/rst/directives/__init__.py:
2433   - Added ``flag()``, ``unchanged()``, ``path()``,
2434     ``nonnegative_int()``, ``choice()``, and ``class_option()``
2435     directive option helper functions.
2436   - Added warnings for unknown directives.
2437   - Return ``None`` for missing directives.
2438   - Added ``register_directive()``, thanks to William Dode and Paul
2439     Moore.
2441 * docutils/parsers/rst/directives/admonitions.py:
2443   - Added "admonition" directive.
2445 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
2446   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2447   "parsed-literal", "rubric", "epigraph", "highlights" and
2448   "pull-quote" directives.
2450 * docutils/parsers/rst/directives/images.py:
2452   - Added an "align" attribute to the "image" & "figure" directives
2453     (by Adam Chodorowski).
2454   - Added "class" option to "image", and "figclass" to "figure".
2456 * docutils/parsers/rst/directives/misc.py:
2458   - Added "include", "raw", and "replace" directives, courtesy of
2459     Dethe Elza.
2460   - Added "unicode" and "class" directives.
2462 * docutils/parsers/rst/directives/parts.py:
2464   - Added the "sectnum" directive; by Dmitry Jemerov.
2465   - Added "class" option to "contents" directive.
2467 * docutils/parsers/rst/directives/references.py: Added to project.
2468   Contains the "target-notes" directive.
2470 * docutils/parsers/rst/languages/__init__.py:
2472   - Return ``None`` from get_language() for missing language modules.
2474 * docutils/parsers/rst/languages/de.py: Added to project; German
2475   mappings by Engelbert Gruber.
2477 * docutils/parsers/rst/languages/en.py:
2479   - Added interpreted text roles mapping.
2481 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2482   mappings by Marcelo Huerta San Martin.
2484 * docutils/parsers/rst/languages/fr.py: Added to project; French
2485   mappings by William Dode.
2487 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2488   mappings by Nicola Larosa.
2490 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2491   mappings by Miroslav Vasko.
2493 * docutils/readers/__init__.py:
2495   - Added support for the observer pattern from ``utils.Reporter``, in
2496     ``Reader.parse`` and ``Reader.transform``.
2497   - Removed ``Reader.transform()`` method.
2498   - Added default parameter values to ``Reader.__init__()`` to make
2499     instantiation easier.
2500   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2502 * docutils/readers/pep.py:
2504   - Added the ``peps.TargetNotes`` transform to the Reader.
2505   - Removed PEP & RFC reference detection code; moved to
2506     parsers/rst/states.py as options (enabled here by default).
2507   - Added support for pre-acceptance PEPs (no PEP number yet).
2508   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2509     easy subclassing.
2511 * docutils/readers/python: Python Source Reader subpackage added to
2512   project, including preliminary versions of:
2514   - __init__.py
2515   - moduleparser.py: Parser for Python modules.
2517 * docutils/transforms/__init__.py:
2519   - Added ``Transformer`` class and completed transform reform.
2520   - Added unknown_reference_resolvers list for each transformer. This list holds
2521     the list of functions provided by each component of the transformer that
2522     help resolve references.
2524 * docutils/transforms/frontmatter.py:
2526   - Improved support for generic fields.
2527   - Fixed bibliographic field language lookups.
2529 * docutils/transforms/misc.py: Added to project.  Miscellaneous
2530   transforms.
2532 * docutils/transforms/parts.py:
2534   - Moved the "id" attribute from TOC list items to the references
2535     (``Contents.build_contents()``).
2536   - Added the ``SectNum`` transform; by Dmitry Jemerov.
2537   - Added "class" attribute support to ``Contents``.
2539 * docutils/transforms/peps.py:
2541   - Added ``mask_email()`` function, updating to pep2html.py's
2542     functionality.
2543   - Linked "Content-Type: text/x-rst" to PEP 12.
2544   - Added the ``TargetNotes`` PEP-specific transform.
2545   - Added ``TargetNotes.cleanup_callback``.
2546   - Added title check to ``Headers``.
2548 * docutils/transforms/references.py:
2550   - Added the ``TargetNotes`` generic transform.
2551   - Split ``Hyperlinks`` into multiple transforms.
2552   - Fixed bug with multiply-indirect references (report: Bruce Smith).
2553   - Added check for circular indirect references.
2554   - Made substitutions case-sensitive-but-forgiving.
2556 * docutils/transforms/universal.py:
2558   - Added support for the "--expose-internal-attributes" option.
2559   - Removed ``Pending`` transform classes & data.
2561 * docutils/writers/__init__.py:
2563   - Removed ``Writer.transform()`` method.
2565 * docutils/writers/docutils-xml.py:
2567   - Added XML and doctype declarations.
2568   - Added "--no-doctype" and "--no-xml-declaration" options.
2570 * docutils/writers/html4css1.py:
2572   - "name" attributes only on these tags: a, applet, form, frame,
2573     iframe, img, map.
2574   - Added "name" attribute to <a> in section titles for Netscape 4
2575     support (bug report: Pearu Peterson).
2576   - Fixed targets (names) on footnote, citation, topic title,
2577     problematic, and system_message nodes (for Netscape 4).
2578   - Changed field names from "<td>" to "<th>".
2579   - Added "@" to "&#64;" encoding to thwart address harvesters.
2580   - Improved the vertical whitespace optimization; ignore "invisible"
2581     nodes (targets, comments, etc.).
2582   - Improved inline literals with ``<span class="pre">`` around chunks
2583     of text and ``&nbsp;`` for runs of spaces.
2584   - Improved modularity of output; added ``self.body_pre_docinfo`` and
2585     ``self.docinfo`` segments.
2586   - Added support for "line_block", "address" elements.
2587   - Improved backlinks (footnotes & system_messages).
2588   - Improved system_message output.
2589   - Redefined "--stylesheet" as containing an invariant URL, used
2590     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
2591     working directory.
2592   - Added "--footnote-references" option (superscript or brackets).
2593   - Added "--compact-lists" and "--no-compact-lists" options.
2594   - Added "--embed-stylesheet" and "--link-stylesheet" options;
2595     factored out ``HTMLTranslator.get_stylesheet_reference()``.
2596   - Improved field list rendering.
2597   - Added Docutils version to "generator" meta tag.
2598   - Fixed a bug with images; they must be inline, so wrapped in <p>.
2599   - Improved layout of <pre> HTML source.
2600   - Fixed attribute typo on <colspec>.
2601   - Refined XML prologue.
2602   - Support for no stylesheet.
2603   - Removed "interpreted" element support.
2604   - Added support for "title_reference", "sidebar", "attribution",
2605     "rubric", and generic "admonition" elements.
2606   - Added "--attribution" option.
2607   - Added support for "inline", "subscript", "superscript" elements.
2608   - Added initial support for "abbreviation" and "acronym";
2609     incomplete.
2611 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2612   (from the sandbox).
2614   - Added french.
2615   - Double quotes in literal blocks (special treatment for de/ngerman).
2616   - Added '--hyperlink-color' option ('0' turns off coloring of links).
2617   - Added  "--attribution" option.
2618   - Right align attributions.
2620 * docutils/writers/pep_html.py:
2622   - Parameterized output encoding in PEP template.
2623   - Reworked substitutions from ``locals()`` into ``subs`` dict.
2624   - Redefined "--pep-stylesheet" as containing an invariant URL, used
2625     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
2626     working directory.
2627   - Added an override on the "--footnote-references" option.
2628   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2629   - Added Docutils version to "generator" meta tag.
2630   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2632 * docs/tools.txt:
2634   - Added a "silent" setting for ``buildhtml.py``.
2635   - Added a "Getting Help" section.
2636   - Rearranged the structure.
2637   - Kept up to date, with new settings, command-line options etc.
2638   - Added section for ``rst2latex.py`` (Engelbert Gruber).
2639   - Converted settings table into a definition list.
2641 * docs/rst/quickstart.txt:
2643   - Added a table of contents.
2644   - Added feedback information.
2645   - Added mention of minimum section title underline lengths.
2646   - Removed the 4-character minimum for section title underlines.
2648 * docs/rst/quickref.html:
2650   - Added a "Getting Help" section.
2651   - Added a style to make section title backlinks more subtle.
2652   - Added mention of minimum section title underline lengths.
2653   - Removed the 4-character minimum for section title underlines.
2655 * extras: Directory added to project; contains third-party modules
2656   that Docutils depends on (optparse, textwrap, roman).  These are
2657   only installed if they're not already present.
2659 * licenses: Directory added to project; contains copies of license
2660   files for non-public-domain files.
2662 * spec/doctree.txt:
2664   - Changed the focus.  It's about DTD elements:  structural
2665     relationships, semantics, and external (public) attributes.  Not
2666     about the element class library.
2667   - Moved some implementation-specific stuff into ``docutils.nodes``
2668     docstrings.
2669   - Wrote descriptions of all common attributes and parameter
2670     entities.  Filled in introductory material.
2671   - Working through the element descriptions: 55 down, 37 to go.
2672   - Removed "Representation of Horizontal Rules" to
2673     spec/rst/alternatives.txt.
2675 * spec/docutils.dtd:
2677   - Added "generated" inline element.
2678   - Added "line_block" body element.
2679   - Added "auto" attribute to "title".
2680   - Changed content models of "literal_block" and "doctest_block" to
2681     ``%text.model``.
2682   - Added ``%number;`` attribute type parameter entity.
2683   - Changed ``%structural.elements;`` to ``%section.elements``.
2684   - Updated attribute types; made more specific.
2685   - Added "address" bibliographic element.
2686   - Added "line" attribute to ``system_message`` element.
2687   - Removed "field_argument" element; "field_name" may contain
2688     multiple words and whitespace.
2689   - Changed public identifier to docutils.sf.net.
2690   - Removed "interpreted" element; added "title_reference",
2691     "abbreviation", "acronym".
2692   - Removed "refuri" attribute from "footnote_reference" and
2693     "citation_reference".
2694   - Added "sidebar", "rubric", "attribution", "admonition",
2695     "superscript", "subscript", and "inline" elements.
2697 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2699 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2701 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2703 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2704   Dallas Mahrt.
2706 * spec/transforms.txt: Added to project.
2708 * spec/howto: Added subdirectory, for developer how-to docs.
2710 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
2711   Elza, edited & extended by David Goodger.
2713 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
2714   project.
2716 * spec/rst/alternatives.txt:
2718   - Added "Doctree Representation of Transitions" from
2719     spec/doctree.txt.
2720   - Updated "Inline External Targets" & closed the debate.
2721   - Added ideas for interpreted text syntax extensions.
2722   - Added "Nested Inline Markup" section.
2724 * spec/rst/directives.txt:
2726   - Added directives: "topic", "sectnum", "target-notes",
2727     "line-block", "parsed-literal", "include", "replace", "sidebar",
2728     "admonition", "rubric", "epigraph", "highlights", "unicode" and
2729     "class".
2730   - Formalized descriptions of directive details.
2731   - Added an "align" attribute to the "image" & "figure" directives
2732     (by Adam Chodorowski).
2733   - Added "class" options to "topic", "sidebar", "line-block",
2734     "parsed-literal", "contents", and "image"; and "figclass" to
2735     "figure".
2737 * spec/rst/interpreted.txt: Added to project.  Descriptions of
2738   interpreted text roles.
2740 * spec/rst/introduction.txt:
2742   - Added pointers to material for new users.
2744 * spec/rst/reStructuredText.txt:
2746   - Disambiguated comments (just add a newline after the "::").
2747   - Updated enumerated list description; added a discussion of the
2748     second-line validity checking.
2749   - Updated directive description.
2750   - Added a note redirecting newbies to the user docs.
2751   - Expanded description of inline markup start-strings in non-markup
2752     contexts.
2753   - Removed field arguments and made field lists a generic construct.
2754   - Removed the 4-character minimum for section title underlines.
2755   - Clarified term/classifier delimiter & inline markup ambiguity
2756     (definition lists).
2757   - Added "Embedded URIs".
2758   - Updated "Interpreted Text" section.
2759   - Added "Character-Level Inline Markup" section.
2761 * test: Continually adding & updating tests.
2763   - Moved test/test_rst/ to test/test_parsers/test_rst/.
2764   - Moved test/test_pep/ to test/test_readers/test_pep/.
2765   - Added test/test_readers/test_python/.
2766   - Added test/test_writers/ (Engelbert Gruber).
2768 * tools:
2770   - Made the ``locale.setlocale()`` calls in front ends
2771     fault-tolerant.
2773 * tools/buildhtml.py:
2775   - Added "--silent" option.
2776   - Fixed bug with absolute paths & "--config".
2777   - Updated for new I/O classes.
2778   - Added some exception handling.
2779   - Separated publishers' setting defaults; prevents interference.
2780   - Updated for new ``publish_file()`` convenience function.
2782 * tools/pep-html-template:
2784   - Allow for "--embed-stylesheet".
2785   - Added Docutils version to "generator" meta tag.
2786   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2787   - Conform to XHTML spec.
2789 * tools/pep2html.py:
2791   - Made ``argv`` a parameter to ``main()``.
2792   - Added support for "Content-Type:" header & arbitrary PEP formats.
2793   - Linked "Content-Type: text/plain" to PEP 9.
2794   - Files skipped (due to an error) are not pushed onto the server.
2795   - Updated for new I/O classes.
2796   - Added ``check_requirements()`` & ``pep_type_error()``.
2797   - Added some exception handling.
2798   - Updated for new ``publish_string()`` convenience function.
2799   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2801 * tools/quicktest.py:
2803   - Added "-V"/"--version" option.
2805 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2807 * tools/unicode2rstsubs.py: Added to project.  Produces character
2808   entity files (reSructuredText substitutions) from the MathML master
2809   unicode.xml file.
2811 * tools/editors: Support code for editors, added to project.  Contains
2812   ``emacs/restructuredtext.el``.
2814 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2816   - Added style for chunks of inline literals.
2817   - Removed margin for first child of table cells.
2818   - Right-aligned field list names.
2819   - Support for auto-numbered section titles in TOCs.
2820   - Increased the size of inline literals (<tt>) in titles.
2821   - Restored the light gray background for inline literals.
2822   - Added support for "line_block" elements.
2823   - Added style for "address" elements.
2824   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2825   - Improved field list rendering.
2826   - Vertical whitespace improvements.
2827   - Removed "a.target" style.
2829 * tools/stylesheets/pep.css:
2831   - Fixed nested section margins.
2832   - Other changes parallel those of ``../default.css``.
2835 Release 0.2 (2002-07-31)
2836 ========================
2838 General:
2840 - The word "component" was being used ambiguously.  From now on,
2841   "component" will be used to mean "Docutils component", as in Reader,
2842   Writer, Parser, or Transform.  Portions of documents (Table of
2843   Contents, sections, etc.)  will be called "document parts".
2844 - Did a grand renaming: a lot of ``verylongnames`` became
2845   ``very_long_names``.
2846 - Cleaned up imports: no more relative package imports or
2847   comma-separated lists of top-level modules.
2848 - Added support for an option values object which carries default
2849   settings and overrides (from command-line options and library use).
2850 - Added internal Unicode support, and support for both input and
2851   output encodings.
2852 - Added support for the ``docutils.io.IO`` class & subclasses.
2854 Specific:
2856 * docutils/__init__.py:
2858   - Added ``ApplicationError`` and ``DataError``, for use throughout
2859     the package.
2860   - Added ``Component`` base class for Docutils components; implements
2861     the ``supports`` method.
2862   - Added ``__version__`` (thus, ``docutils.__version__``).
2864 * docutils/core.py:
2866   - Removed many keyword parameters to ``Publisher.__init__()`` and
2867     ``publish()``; bundled into an option values object.  Added
2868     "argv", "usage", "description", and "option_spec" parameters for
2869     command-line support.
2870   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2871     methods.
2872   - Reworked I/O model for ``docutils.io`` wrappers.
2873   - Updated ``Publisher.set_options()``; now returns option values
2874     object.
2875   - Added support for configuration files (/etc/docutils.conf,
2876     ./docutils.conf, ~/.docutils).
2877   - Added ``Publisher.setup_option_parser()``.
2878   - Added default usage message and description.
2880 * docutils/frontend.py: Added to project; support for front-end
2881   (command-line) scripts.  Option specifications may be augmented by
2882   components.  Requires Optik (http://optik.sf.net/) for option
2883   processing (installed locally as docutils/optik.py).
2885 * docutils/io.py: Added to project; uniform API for a variety of input
2886   output mechanisms.
2888 * docutils/nodes.py:
2890   - Added ``TreeCopyVisitor`` class.
2891   - Added a ``copy`` method to ``Node`` and subclasses.
2892   - Added a ``SkipDeparture`` exception for visitors.
2893   - Renamed ``TreePruningException`` from ``VisitorException``.
2894   - Added docstrings to ``TreePruningException``, subclasses, and
2895     ``Nodes.walk()``.
2896   - Improved docstrings.
2897   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2898   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2899     imports.
2900   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2901     ``PreDecorative`` mixin.
2902   - Reworked the name/id bookkeeping; to ``document``, removed
2903     ``explicit_targets`` and ``implicit_targets`` attributes, added
2904     ``nametypes`` attribute and ``set_name_id_map`` method.
2905   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2906     traversals.
2907   - Added ``document.has_name()`` method.
2908   - Fixed DOM generation for list-attributes.
2909   - Added category class ``Labeled`` (used by footnotes & citations).
2910   - Added ``Element.set_class()`` method (sets "class" attribute).
2912 * docutils/optik.py: Added to project.  Combined from the Optik
2913   package, with added option groups and other modifications.  The use
2914   of this module is probably only temporary.
2916 * docutils/statemachine.py:
2918   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2919   - Added underscores to improve many awkward names.
2920   - In ``string2lines()``, changed whitespace normalizing translation
2921     table to regexp; restores Python 2.0 compatibility with Unicode.
2923 * docutils/urischemes.py:
2925   - Filled in some descriptions.
2926   - Added "shttp" scheme.
2928 * docutils/utils.py:
2930   - Added ``clean_rcs_keywords`` function (moved from
2931     docutils/transforms/frontmatter.py
2932     ``DocInfo.filter_rcs_keywords``).
2933   - Added underscores to improve many awkward names.
2934   - Changed names of Reporter's thresholds:
2935     warning_level -> report_level; error_level -> halt_level.
2936   - Moved ``utils.id()`` to ``nodes.make_id()``.
2937   - Added ``relative_path(source, target)``.
2939 * docutils/languages/de.py: German mappings; added to project.  Thanks
2940   to Gunnar Schwant for the translations.
2942 * docutils/languages/en.py: Added "Dedication" bibliographic field
2943   mappings.
2945 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2946   Chodorowski.
2948 * docutils/parsers/rst/states.py:
2950   - Added underscores to improve many awkward names.
2951   - Added RFC-2822 header support.
2952   - Extracted the inline parsing code from ``RSTState`` to a separate
2953     class, ``Inliner``, which will allow easy subclassing.
2954   - Made local bindings for ``memo`` container & often-used contents
2955     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2956   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2957   - Added ``MarkupMismatch`` exception; for late corrections.
2958   - Added ``-/:`` characters to inline markup's start string prefix,
2959     ``/`` to end string suffix.
2960   - Fixed a footnote bug.
2961   - Fixed a bug with literal blocks.
2962   - Applied patch from Simon Budig: simplified regexps with symbolic
2963     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2964   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2965   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2966   - Allowed non-ASCII in "simple names" (directive names, field names,
2967     references, etc.).
2968   - Converted ``Inliner.patterns.initial`` to be dynamically built
2969     from parts with ``build_regexp()`` function.
2970   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2971   - Updated docstrings.
2972   - Changed "table" to "grid_table"; added "simple_table" support.
2974 * docutils/parsers/rst/tableparser.py:
2976   - Changed ``TableParser`` to ``GridTableParser``.
2977   - Added ``SimpleTableParser``.
2978   - Refactored naming.
2980 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2981   a fallback language for directive names.
2983 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2984   directive to use a ``pending`` element, used only by HTML writers.
2986 * docutils/parsers/rst/directives/parts.py: Renamed from
2987   components.py.
2989   - Added "backlinks" attribute to "contents" directive.
2991 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2992   project by Adam Chodorowski.
2994 * docutils/readers/__init__.py: Gave Readers more control over
2995   choosing and instantiating Parsers.
2997 * docutils/readers/pep.py: Added to project; for PEP processing.
2999 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
3000   requires a ``component`` parameter.
3002 * docutils/transforms/components.py: Added to project; transforms
3003   related to Docutils components.
3005 * docutils/transforms/frontmatter.py:
3007   - In ``DocInfo.extract_authors``, check for a single "author" in an
3008     "authors" group, and convert it to a single "author" element.
3009   - Added support for "Dedication" and generic bibliographic fields.
3011 * docutils/transforms/peps.py: Added to project; PEP-specific.
3013 * docutils/transforms/parts.py: Renamed from old components.py.
3015   - Added filter for `Contents`, to use alt-text for inline images,
3016     and to remove inline markup that doesn't make sense in the ToC.
3017   - Added "name" attribute to TOC topic depending on its title.
3018   - Added support for optional TOC backlinks.
3020 * docutils/transforms/references.py: Fixed indirect target resolution
3021   in ``Hyperlinks`` transform.
3023 * docutils/transforms/universal.py:
3025   - Changed ``Messages`` transform to properly filter out system
3026     messages below the warning threshold.
3027   - Added ``Decorations`` transform (support for ``--generator``,
3028     ``--date``, ``--time``, ``--source-link`` options).
3030 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
3031   Engelbert Gruber's PDF writer.
3033 * docutils/writers/html4css1.py:
3035   - Made XHTML-compatible (switched to lowercase element & attribute
3036     names; empty tag format).
3037   - Escape double-dashes in comment text.
3038   - Improved boilerplate & modularity of output.
3039   - Exposed modular output in Writer class.
3040   - Added a "generator" meta tag to <head>.
3041   - Added support for the ``--stylesheet`` option.
3042   - Added support for ``decoration``, ``header``, and ``footer``
3043     elements.
3044   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
3045     translation table to regexp; restores Python 2.0 compatibility
3046     with Unicode.
3047   - Added the translator class as instance variable to the Writer, to
3048     make it easily subclassable.
3049   - Improved option list spacing (thanks to Richard Jones).
3050   - Modified field list output.
3051   - Added backlinks to footnotes & citations.
3052   - Added percentage widths to "<col>" tags (from colspec).
3053   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
3054     "<span>" changed to "<var>".
3055   - Inline literals: "<code>" changed to "<tt>".
3056   - Many changes to optimize vertical space: compact simple lists etc.
3057   - Add a command-line options & directive attributes to control TOC
3058     and footnote/citation backlinks.
3059   - Added support for optional footnote/citation backlinks.
3060   - Added support for generic bibliographic fields.
3061   - Identify backrefs.
3062   - Relative URLs for stylesheet links.
3064 * docutils/writers/pep_html.py: Added to project; HTML Writer for
3065   PEPs (subclass of ``html4css1.Writer``).
3067 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
3069 * docutils/writers/docutils_xml.py: Added to project; trivial writer
3070   of the Docutils internal doctree in XML.
3072 * docs/tools.txt: "Docutils Front-End Tools", added to project.
3074 * spec/doctree.txt:
3076   - Changed the title to "The Docutils Document Tree".
3077   - Added "Hyperlink Bookkeeping" section.
3079 * spec/docutils.dtd:
3081   - Added ``decoration``, ``header``, and ``footer`` elements.
3082   - Brought ``interpreted`` element in line with the parser: changed
3083     attribute "type" to "role", added "position".
3084   - Added support for generic bibliographic fields.
3086 * spec/notes.txt: Continual updates.  Added "Project Policies".
3088 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
3089   section.
3091 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
3093 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
3094   mailing list discussions.
3096 * spec/pep-0287.txt:
3098   - Renamed to "reStructuredText Docstring Format".
3099   - Minor edits.
3100   - Reworked Q&A as an enumerated list.
3101   - Converted to reStructuredText format.
3103 * spec/pysource.dtd:
3105   - Reworked structural elements, incorporating ideas from Tony Ibbs.
3107 * spec/pysource.txt: Removed from project.  Moved much of its contents
3108   to pep-0258.txt.
3110 * spec/rst/alternatives.txt:
3112   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
3113   - Added "Inline External Targets" section.
3115 * spec/rst/directives.txt:
3117   - Added "backlinks" attribute to "contents" directive.
3119 * spec/rst/problems.txt:
3121   - Updated the Enumerated List Markup discussion.
3122   - Added new alternative table markup syntaxes.
3124 * spec/rst/reStructuredText.txt:
3126   - Clarified field list usage.
3127   - Updated enumerated list description.
3128   - Clarified purpose of directives.
3129   - Added ``-/:`` characters to inline markup's start string prefix,
3130     ``/`` to end string suffix.
3131   - Updated "Authors" bibliographic field behavior.
3132   - Changed "inline hyperlink targets" to "inline internal targets".
3133   - Added "simple table" syntax to supplement the existing but
3134     newly-renamed "grid tables".
3135   - Added cautions for anonymous hyperlink use.
3136   - Added "Dedication" and generic bibliographic fields.
3138 * test: Made test modules standalone (subdirectories became packages).
3140 * test/DocutilsTestSupport.py:
3142   - Added support for PEP extensions to reStructuredText.
3143   - Added support for simple tables.
3144   - Refactored naming.
3146 * test/package_unittest.py: Renamed from UnitTestFolder.py.
3148   - Now supports true packages containing test modules
3149     (``__init__.py`` files required); fixes duplicate module name bug.
3151 * test/test_pep/: Subpackage added to project; PEP testing.
3153 * test/test_rst/test_SimpleTableParser.py: Added to project.
3155 * tools:
3157   - Updated html.py and publish.py front-end tools to use the new
3158     command-line processing facilities of ``docutils.frontend``
3159     (exposed in ``docutils.core.Publisher``), reducing each to just a
3160     few lines of code.
3161   - Added ``locale.setlocale()`` calls to front-end tools.
3163 * tools/buildhtml.py: Added to project; batch-generates .html from all
3164   the .txt files in directories and subdirectories.
3166 * tools/default.css:
3168   - Added support for ``header`` and ``footer`` elements.
3169   - Added styles for "Dedication" topics (biblio fields).
3171 * tools/docutils.conf: A configuration file; added to project.
3173 * tools/docutils-xml.py: Added to project.
3175 * tools/pep.py: Added to project; PEP to HTML front-end tool.
3177 * tools/pep-html-template: Added to project.
3179 * tools/pep2html.py: Added to project from Python (nondist/peps).
3180   Added support for Docutils (reStructuredText PEPs).
3182 * tools/quicktest.py:
3184   - Added the ``--attributes`` option, hacked a bit.
3185   - Added a second command-line argument (output file); cleaned up.
3187 * tools/stylesheets/: Subdirectory added to project.
3189 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
3192 Release 0.1 (2002-04-20)
3193 ========================
3195 This is the first release of Docutils, merged from the now inactive
3196 reStructuredText__ and `Docstring Processing System`__ projects.  For
3197 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
3198 `DPS HISTORY`__ files.
3200 __ http://structuredtext.sourceforge.net/
3201 __ http://docstring.sourceforge.net/
3202 __ http://structuredtext.sourceforge.net/HISTORY.html
3203 __ http://docstring.sourceforge.net/HISTORY.html
3205 General changes: renamed 'dps' package to 'docutils'; renamed
3206 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
3207 the test suites (reStructuredText's test/test_states renamed to
3208 test/test_rst); and all modifications required to make it all work.
3210 * docutils/parsers/rst/states.py:
3212   - Improved diagnostic system messages for missing blank lines.
3213   - Fixed substitution_reference bug.
3217    Local Variables:
3218    mode: indented-text
3219    indent-tabs-mode: nil
3220    sentence-end-double-space: t
3221    fill-column: 70
3222    End: