Release 0.13.1: closed "Changes Since ..." section
[docutils.git] / HISTORY.txt
blobea380b519eed52ccbde2dadb9af314c08766409e
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::
16 Release 0.13.1 (2016-12-09)
17 ===========================
19 * docutils/languages/fa.py
20   docutils/parsers/rst/languages/fa.py
21   docutils/languages/la.py
22   docutils/parsers/rst/languages/la.py:
23   
24   - Apply [ 133 ] Persian mappings by Shahin Azad.
25   - Apply [ 135 ] Language modules for Latvian by Alexander Smishlajev
26   
27 * docutils/nodes.py
29   - Fix [ 253 ] Attribute key without value not allowed in XML.
31 * docutils/parsers/
33   - Apply [ 103 ] Recognize inline markups without word boundaries.
34   - Enable escaping in embedded URIs and aliases (fixes [ 284 ]).
36 * docutils/parsers/rst/__init__.py
38   - Fix [ 233 ] Change the base URL for the :rfc: role.
40 * docutils/parsers/rst/directives/tables.py
42   - Apply [ 120 ] tables accept option widths: list of relative widths, 'auto'
43     or 'grid'.
45   - Implement feature request [ 48 ]
46     Add :align: option to the table directives.
47     Thanks to Takeshi KOMIYA for the patch.
49 * docutils/parsers/rst/roles.py
51   - Fix [ 295 ] Class argument for custom role inheriting from math.
53 * docutils/parsers/rst/tableparser.py
55   - Really fix [ 159 ] Spurious table column alignment errors.
57 * docutils/transforms/frontmatter.py
59   - Add name of generic bibliographic fields as a "classes" attribute value
60     (after conversion to a valid identifier form).
62 * docutils/utils/error_reporting.py
64   - Fix [ 130 ] support streams expectiong byte-strings in ErrorOutput.
66 * docutils/utils/math/math2html.py
68   - Add ``\colon`` macro, fix spacing around colons. Fixes [ 246 ].
69   - New upstream version (additional macros, piecewise integrals and sums).
71 * docutils/writers/_html_base.py
73   - New auxiliary module for definitions common to all HTML writers.
74   
75 * docutils/writers/html5_polyglot/
77   - New HTML writer generating clean, polyglot_ markup conforming to
78     `HTML 5`_.
80     The CSS stylesheets ``minimal.css`` and ``plain.css`` contain required
81     and recommended layout rules.
83 * docutils/writers/html4css1/__init__.py
85   - Add "docutils" to class values for "container" object to address [ 267 ].
86   - Apply patch [ 119 ] by Anatoly Techtonik: use absolute paths for
87     ``default_stylesheet_path`` and ``default_template_path``.
88   - Fix [ 266 ] creating labels/class values in description list items.
89   - Do not use <sup> and <sub> tags inside <pre> (parsed-literal blocks).
90   - Fix footnotes with content that does not start with a paragraph.
91   - Use https in default MathJax URL (report Alan G Isaac).
92   - Outsourcing of common code to _html_base.py.
94 * docutils/writers/latex2e/__init__.py
96   - Fix [ 262 ] Use ``\linewidth`` instead of ``\textwidth`` for figures,
97     admonitions and docinfo.
99   - Use absolute path for ``default_template_path``.
101   - Removed deprecated options ``--use-latex-footnotes`` and
102     ``--figure-footnotes``.
104   - Cleaner LaTeX code for enumerations and literal blocks.
106   - Use "hyperref" package together with "bookmark" (improved hyperlinking
107     by the same author).
109   - Fix [ 286 ] Empty column title cause invalid latex file.
111   - Fix [ 224 ] Fix rowspan support for tables.
112   
113   - Let LaTeX determine the column widths in tables with "colwidths-auto".
114     Not suited for with multi-paragraph cells!
116 * docutils/writers/odf_odt/__init__.py
118   - remove decode.encode of filename stored in zip.
120 * docutils/writers/xetex/__init__.py
122   - LuaLaTex compatibility: do not load "xunicode".
124 * tools/
126   - New front-end ``rst2html5.py``.
128 * tox.ini
130   - Test py26, py27, py33 and py34.
132     To use, install the ``tox`` package via pip or easy_install and use
133     tox from the project root directory.
135 .. _polyglot: http://www.w3.org/TR/html-polyglot/
136 .. _HTML 5: http://www.w3.org/TR/html5/
137 .. _XHTML 1.0: http://www.w3.org/TR/xhtml1/
140 Release 0.12 (2014-07-06)
141 =========================
143 * docs/ref/rst/directives.txt
145   - Update "math" and "csv-table" descriptions.
147 * docutils/parsers/rst/directives/images.py
149   - Fix [ 258 ] figwidth="image" generates unitless width value.
151 * docutils/parsers/rst/states.py
153   - Improve error report when a non-ASCII character is specified as
154     delimiter, quote or escape character under Python 2.
155     Fixes [ 249 ] and [ 250 ].
157 * docutils/writers/html4css1/__init__.py
159   - Don't add newline after inline math.
160     Thanks to Yury G. Kudryashov for the patch.
162 * docutils/writers/latex2e/__init__.py
164   - Fix [ 239 ] Latex writer glues paragraphs with figure floats.
165   - Apply [ 116 ] by Kirill Smelkov. Don't hardcode \large for subtitle.
167 * docutils/writers/odf_odt/__init__.py
169   - Apply patch by Jakub Wilk to fix bug [ 100 ].
171 * test/test_error_reporting.py
173   - Fix [ 223 ] by removing redundant tests we do not have control over.
175 * test/test_nodes.py
177   - Apply [ 115 ] respect fixed 2to3 string literal conversion behavior.
179 Release 0.11 (2013-07-22)
180 =========================
182 * General
184   - Apply [ 2714873 ] Fix for the overwritting of document attributes.
185   - Support embedded aliases within hyperlink references.
186   - Fix [ 228 ] try local import of docutils components (reader, writer, parser,
187     language module) before global search.
189 * docutils/nodes.py
191   - Fix [ 3601607 ] node.__repr__() must return `str` instance.
193 * docutils/parsers/rst/directives/__init__.py
195   - Fix [ 3606028 ] ``assert`` is skipped with ``python -O``.
197 * docutils/parsers/rst/directives/images.py
199   - Apply [ 3599485 ] node source/line information for sphinx translation.
201 * docutils/parsers/rst/directives/tables.py
203   - Fix [ 210 ] Python 3.3 checks CVS syntax only if "strict" is True.
205 * docutils/parsers/rst/states.py
207   - Fix [ 157 ] Line block parsing doesn't like system message.
208   - Always import our local copy of roman.py (report Larry Hastings).
210 * docutils/transforms/references.py
212   - Fix [ 3607029 ] traceback with embedded alias pointing to missing target.
214 * docutils/utils/__init__.py
216   - Fix [ 3596884 ] exception importing ``docutils.io``.
218 * docutils/writers/html4css1/__init__.py
220   - Fix [ 3600051 ] for tables in a list, table cells are not compacted.
221   - New setting `stylesheet_dirs`: Comma-separated list of directories
222     where stylesheets are found. Used by `stylesheet_path` when expanding
223     relative path arguments.
224   - New default for math-output_: ``HTML math.css``.
225   - Avoid repeated class declarations in html4css1 writer
226     (modified version of patch [ 104 ]).
228 .. _math-output: docs/user/config.html#math-output
230 * docutils/writers/latex2e/__init__.py
232   - Drop the simple algorithm replacing straight double quotes with
233     English typographic ones.
234     Activate the SmartQuotes_ transform if you want this feature.
235   - Fix literal use of babel shorthands (straight quote, tilde, ...).
236   - Fix [ 3603246 ] Bug in option "--graphicx-option=auto".
237   - New setting `stylesheet_dirs`.
239 .. _SmartQuotes: docs/user/config.html#smart-quotes
241 * docutils/writers/manpage.py
243   - Fix [3607063] handle lines starting with a period.
244   - Fix option separating comma was bold (thanks to Bill Morris).
246 Release 0.10 (2012-12-16)
247 =========================
249 * General
251   - Dropped support for Python 2.3.
252   - ``docutils/math``, ``docutils/error_reporting.py``, and
253     ``docutils/urischemes.py`` moved to the utils package.
254   - Fix [3541369] Relative __import__ also with Python 3.3.
255   - Fix [3559988] and [3560841] __import__ local writer, reader, languages
256     and parsers for Python 2.7 up.
257   - Fix import of PIL.Image.
258   - Change default of "syntax highlight" option to "long",
259     basic syntax highlight styles for LaTeX and HTML.
261 * docutils/io.py
263   - FileInput/FileOutput: no system-exit on IOError.  The `handle_io_errors`
264     option is ignored and will be removed in a future release.
265   - Fix Py3k error writing to stdout with encoding differing from default.
266   - Fix opening binary files under Py3k (thanks to Dominic Fitzpatrick).
268 * docutils/parsers/rst/directives/misc.py
270   - Fix [ 3546533 ] Unicode error with `date` directive.
272 * docutils/transforms/universal.py
274   - SmartQuotes transform for typographic quotes and dashes.
276 * docutils/utils/__init__.py
278   - normalize_language_tag() now returns `BCP 47`_ conformant tags
279     with subtags separated by ``-``.
281 * docutils/writers/html4css1/__init__.py
283   - Use ``<code>`` tag for inline "code",
284     do not drop nested inline nodes (syntax highlight tokens).
285   - Customizable MathJax URL (based on patch by Dmitry Shachnev).
286   - No line break after opening inline math tag.
288 * docutils/writers/manpage.py
290   - Apply [ 3527401 ] addmonition's don't preserve indentation
291   - Apply [ 3527397 ] Add indentation to literal blocks in manpage writer.
293 * docutils/writers/xetex/__init__.py
295   - Apply [ 3555160 ] ensure order of "otherlanguages".
296   - Fix section numbering by LaTeX.
298 * docutils/writers/s5_html/__init__.py
300   - Fix [ 3556388 ] Mathjax does not work with rst2s5.
302 * docutils/writers/s5_html/docutils_xml.py
304   - Fix [ 3552403 ] Prevent broken PyXML replacing stdlibs xml module.
305   - Fix/improve output with ``--indent`` option.
307 * setup.py
309   - Tag ``math.css`` stylesheet as data file (patch by Dmitry Shachnev).
311 * tools/test/test_buildhtml.py
313   - Fix [ 3521167 ] allow running in any directory.
314   - Fix [ 3521168 ] allow running with Python 3.
317 Release 0.9.1 (2012-06-17)
318 ==========================
320 * setup.py
322   - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
323     installed in the PYTHONPATH. Converted tests are now
324     stored in ``test3/``, tools no longer need conversion.
326     If you installed one of Docutils versions 0.7 ... 0.9 with
327     ``setup.py install`` under Python 3, remove the spurious
328     ``test/`` and ``tools/`` directories in the site library root.
330 * test/
332   - Make tests independent from the location of the ``test/`` directory.
333   - Use converted sources (from the ``build/`` directory) for tests under
334     Python 3.
336 * tools/
338   - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
340 * docutils/io.py
342   - Fix writing binary data to sys.stdout under Python 3 (allows
343     ``rst2odt.py`` to be used with output redirection).
345 * docutils/parsers/rst/directives/misc.py
347   - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
348     ``locale == C`` and 8-bit char in path argument of `include` directive.
350 * test/alltests.py
352   - class `Tee`: catch UnicodeError when writing to "ascii" stream or
353     file under Python 3.
355 Release 0.9 (2012-05-02)
356 ========================
358 * General:
360   - New reStructuredText "code" role and directive and "code" option
361     of the "include" directive with syntax highlighting by Pygments_.
362   - Fix parse_option_marker for option arguments containing ``=``.
363   - Fix [ 2993756 ]: import Python Imaging Library's Image module
364     via ``import PIL`` as starting with PIL 1.2,
365     "PIL lives in the PIL namespace only" (announcement__).
367 .. _Pygments: http://pygments.org/
368 __ http://mail.python.org/pipermail/image-sig/2011-January/006650.html
370 * setup.py
372   - Fix [ 2971827 ] and [ 3442827 ]
373     extras/roman.py moved to docutils/utils/roman.py
375 * docutils/frontend.py
377   - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
379 * docutils/io.py
381   - Fix [ 3395948 ] (Work around encoding problems in Py3k).
382   - `mode` argument for FileOutput avoids code replication in
383     BinaryFileOutput.
384   - New exceptions InputError and OutputError for IO errors in
385     FileInput/FileOutput.
387 * docutils/core.py:
389   - No "hard" system exit on file IO errors: catch and report them in
390     `Publisher.reportException` instead. Allows handling by a calling
391     application if the configuration setting `traceback` is True.
393 * docutils/utils.py -> docutils/utils/__init__.py
395   - docutils.utils is now a package (providing a place for sub-modules)
397   .. note:: docutils/math, docutils/error_reporting.py, and
398      docutils/urischemes.py will move to the utils package in the next
399      release, too. See RELEASE-NOTES__
401      __ RELEASE-NOTES.html
403   - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
404     errors recording non-ASCII filenames (fixes [ 3434355 ]).
406   - Fix relative_path() with source=None and `unicode` target.
408 * docutils/parsers/rst/states.py
410   - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
411     characters and "international" quotes around inline markup.
412   - Use `field_marker` pattern to look for start of a
413     directive option block (fixes [ 3484857 ]).
415 * docutils/parsers/rst/tableparser.py
417   - Fix [ 2926161 ] for simple tables.
418     (Combining chars in grid tables still contribute to cell width.)
420 * docutils/writers/latex2e/__init__.py
422   - Support the `abbreviation` and `acronym` standard roles.
423   - Record only files required to generate the LaTeX source as dependencies.
424   - Fix handling of missing stylesheets.
425   - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
426     when suppressing LaTeX section numbering.
427   - Use ``\DUtitle`` for unsupported section levels
428   - Apply [ 3512791 ] do not compare string literals with "is"
430 * docutils/writers/xetex/__init__.py
432   - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
434 * docutils/writers/html4css1/__init__.py
436   - Change default for `math-output` setting to MathJax.
437   - Fix handling of missing stylesheets.
439 * docutils/writers/docutils_xml.py
441   - Use the visitor pattern with default_visit()/default_depart() methods
442     instead of minidom to facilitate special handling of selected nodes.
443   - Support raw XML (inserted as-is inside a <raw></raw> node).
445 * docutils/writers/manpage.py
447   - Do not emit comment line with trailing blank. Problematic for VCS.
449 Release 0.8.1 (2011-08-30)
450 ==========================
452 * General:
454   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
455     and [ 3395920 ] (correct copyright info for rst.el).
457 * test/
459   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
461 * docutils/writers/latex2e/__init__.py
463   - Clean up Babel language setting. Restores Sphinx compatibility.
465 Release 0.8 (2011-07-07)
466 ========================
468 * General:
470   - Handle language codes according to `BCP 47`_.
471   - If the specified language is not supported by Docutils,
472     warn and fall back to English.
473   - Math support: reStructuredText "math" role and directive,
474     ``math`` and ``math_block`` doctree elements.
475   - Decode command line arguments with the locale's preferred encoding
476     (to allow, e.g., ``--title=Dornröschen``).
477   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
478   - New sub-module `error_reporting`: handle encoding/decoding errors
479     when reporting exceptions.
480   - Some additions to the Docutils core are released under the 2-Clause BSD
481     license, see COPYING_ for details.
483   .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
484   .. _COPYING: COPYING.html
486 * reStructuredText:
488   - Most directives now support a "name" option that attaches a
489     reference name.
491   - Directive content may start on the first line also when the directive
492     type accepts options.
494 * docs/dev/policies.txt:
496   - Recommend the 2-Clause BSD license
497     (http://www.spdx.org/licenses/BSD-2-Clause)
498     for code that is kept under the author's copyright.
500 * tools/buildhtml.py:
502   - Fix ``--local`` switch.
504 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
506 * docutils/writers/html4css1/__init__.py
508   - Set "lang" argument for objects with class argument
509     "language-<language tag>".
510   - New setting "math-output" with support for HTML, MathML, and LaTeX.
512 * docutils/writers/latex2e/__init__.py
514   - Fix [ 3043986 ] AttributeError using :local: with table of content.
515   - Place title data in the document preamble.
516   - Load `babel` package only if required.
517   - Update list of supported languages.
518   - New config setting "hyperref-options".
519     No hard-coded "unicode" hyperref option (clash with xetex).
520   - Set language for custom roles, paragraphs, block-quotes, and
521     line-quotes with class argument "language-<language tag>".
522   - Fix [ 3095603 ] wrong quotes output for russian and other languages.
523   - Convert image URI to a local file path.
524   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
525     has more than one paragraph (Wolfgang Scherer).
526   - \leavevmode before longtable only when needed (prevents spurious vspace)
527   - do not advance table counter for tables without caption
529 * docutils/writers/xetex/__init__.py
531   - New writer generating LaTeX code for compiling with ``xelatex``.
533     A separate writer (inheriting from latex2e) instead of a ``--xetex``
534     option allows separate config options for XeTeX vs. LaTeX2e.
536 * docutils/writers/manpage.py
538   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
539   - Fix: vertical space cleaning for option group ``.``.
541 * tools/editors/emacs/rst.el:
543   - Fix [ 3001100 ] does not handle spaces in filenames
544     (thanks to Jakub Wilk)
546 * docutils/utils.py:
548   - strip whitespace from stylesheet arguments
549   - exclude combining chars from column_width()
550     (partial fix for [ 2926161 ])
552 * docutils/parsers/rst/directives/misc.py:
554   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
555     nested_parse
557 * docutils/io.py:
559   - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
560     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
562 Release 0.7 (2010-07-07)
563 ========================
565 * General:
567   - Fix [ 2881769 ] setup configuration.
568   - Fix [ 2788716 ] reporting problems in included files.
570 * docutils/io.py
572   - FileInput opens files as text files with universal newline support
573     (mode "rU", configurable with the new optional argument "mode").
575 * docutils/nodes.py
577   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
579 * docutils/utils.py
581   - Fix [ 2923723 ] let decode_path() tolerate path == None
583 * docutils/writers/html4css1/__init__.py
585   - Support SVG and SWF images (thanks to Stefan Rank).
586   - Generate valid XHTML for centered images with targets.
587     Use CSS classes instead of "align" tags for image alignment.
589 * docutils/writers/latex2e/__init__.py
591   - Use `transforms.writer_aux.Admonitions` to "normalize" special
592     admonitions.
593   - Use the ``\url`` command for URLs (breaks long URLs instead of
594     writing into the margin).
595   - Preserve runs of spaces in `inline literals`__.
596   - Deprecate ``figure_footnotes`` setting.
597   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
598   - New ``latex_preamble`` setting.
599   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
600   - Fix hyperlink targets (labels) for images, figures, and tables.
601   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
602   - Apply [ 2961991 ] Call hyperref with unicode option.
603   - Drop the special `output_encoding`__ default ("latin-1").
604     The Docutils wide default (usually "UTF-8") is used instead.
605   - Render inline markup in document title and subtitle.
606   - Fix numbering depth with LaTeX section numbering.
607   - Update Unicode -> LaTeX translations.
608   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
610 __ docs/ref/restructuredtext.html#inline-literals
611 __ docs/user/config.html#docutils-footnotes
612 __ docs/user/config.html#output_encoding
614 * docutils/writers/manpage.py
616   - Fix: supported attribute (thanks to peter2108).
617   - Remove trailing blanks in code (keep in sync with mercurial version).
618   - Titles level 1, that is ``.SH``, always uppercase.
619   - Apply patch from mg: literal text should be bold in man-pages.
621 * docutils/nodes.py
623   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
624     turkish locale.
626 * setup.py:
628   - Python 3 support: copy test/ and tools/ to the build-dir
629     and convert Python sources with 2to3.
632 Release 0.6 (2009-10-11)
633 ========================
635 * General:
637   - Docutils is now compatible with Python versions from 2.3 up to 2.6
638     and convertible to 3.1 code.
640     + Node.__nonzero__ returns True instead of 1.
641     + use os.walk instead os.path.walk.
642     + minimize "types" module where possible.
643     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
644     + Text nodes now subclass unicode rather than UserString
645       (which is gone in python 3.0).
646     + 3.0 compatibility module docutils._compat
648     + Drop 2.2 compatibility workarounds.
649     + Drop extras/optparse.py and extras/textwrap.py
650       (stdlib modules since 2.3).
652   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
653   - Unix man page export: manpage writer moved from sandbox to Doctutils
654     core.
656   - Apply [ 1719345 ] Galician translation
657   - Apply [ 1905741 ] Polish translation
658   - Apply [ 1878977 ] make_id(): deaccent characters.
659   - Apply [ 2029251 ] return nonzero when tests fail.
660   - Fix [ 1692788 ] allow UTF-8 in style sheets.
661   - Fix [ 2781629 ] support non-ASCII chars in file names.
662   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
663   - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
664   - Fix [ 2821266 ] --strict option works now like --halt=info.
665   - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
666   - Fix [ 1627229 ] hyperlink references in substitutions.
668   - The "newlatex" writer is orphaned.
670 * reStructuredText:
672   - Documented Unicode characters allowed as inline markup openers,
673     closers, and delimiters.
674   - Allow units for all length specifications.
675   - Allow percent sign in "scale" argument of "figure" and "image" directives.
676   - Bugfix: The "figalign" argument of a figure now works as intended
677     (aligning the figure, not its contents).
678   - Align images with class "align-[right|center|left]"
679     (allows setting the alignment of an image in a figure).
681 * docutils/nodes.py:
683   - Added ``Element.__contains__`` method, for the in-operator.
685 * docutils/parsers/rst/states.py:
687   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
688   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
689     " " (non-breaking space), and "¡ ¿" openers.
691 * docutils/parsers/directives/misc.py:
693   - Added ``start-line`` and ``end-line`` options to "include"
694     directive to select a range of lines.
695   - Hard tabs in literal inclusions are replaced by spaces. This is
696     configurable via the new ``tab-width`` option of the "include" directive
697     (a negative tab-width prevents tab expansion).
699 * docutils/utils.py:
701   - Add ``get_stylesheet_list`` function.
702   - Apply [ 2834836 ] print info at halt
704 * docutils/transforms/universal.py:
706   - Raise default priority of StripClasses to exclude stripped classes from
707     the ToC.
709 * docutils/writers/html4css1/__init__.py:
711   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
712     separated list of stylesheets.
713   - Address [ 1938891 ] Inline literal text creates "pre" span only when
714     needed to prevent inter-word line wraps.
715   - Use `translate` method instead of repeated `replace` calls.
716   - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
717     classes to allow CSS styling that does not interfere with other
718     table-using constructs (field lists, citations, ...).
720 * docutils/writers/newlatex2e/__init__.py:
722   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
724 * docutils/writers/latex2e/__init__.py (see also
725   `<docs/user/docutils-05-compat.sty.html>`__) :
727   - Add ``--embed-stylesheet`` option.
728   - Apply [ 1474017 ] image vertical alignment is reversed.
729   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
730   - Change: has_key for dictionaries (not Nodes) to in-operator.
731   - Merge adjacent citations into one latex cite command.
732   - Failsave implementation of custom roles. LaTeX compilation now ignores
733     unknown classes instead of aborting with an error.
734   - Support custom roles based on standard roles.
735   - LaTeX packages can be used as ``--stylesheet`` arguments without
736     restriction. (A style sheet is now referenced with the ``\usepackage``
737     command, if it ends with ``.sty`` or has no extension.)
738   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
739   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
740   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
741     2005-02-04 as a configurable length unit).
742   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
743     if font-encoding is set to ''. LaTeX defaults to OT1 then.
744   - Set sub- and superscript role argument in text mode not as math.
745     Use a custom role based on sub-/superscript if you want italic shape.
746   - Shorter preamble and less dependencies: Load packages and define macros
747     only if required in the document.
748   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
749   - New custom environments and commands with optional "classes" argument.
750   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
751   - Better conformance to Docutils specifications with ``--use-latex-toc``.
752     Support for LaTeX generated ToC also with unnumbered sections.
753   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
754     section numbering by LaTeX.
755   - Use default font in admonitions and sidebar.
756   - Align of image in a figure defaults to 'center'.
757   - Bugfix: Newlines around targets and references prevent run-together
758     paragraphs.
759   - Fix internal hyperlinks.
760   - Use class defaults for page margins ('typearea' now optional).
761   - Float placement made configurable, default changed to "here definitely".
762   - Typeset generic topic as "quote block with title".
763   - Use template (file and configuration option).
764   - In the default template, load cmap.sty (fix text extraction in PDF) and
765     fixltx2e.sty (LaTeX patches, \textsubscript).
766   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
767   - Use `translate` instead of repeated `replace` calls for text encoding.
768   - Hyperlinked footnotes and support for symbol footnotes and
769     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
770   - Complete pairs of binary options
771     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
772     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
773   - New defaults:
774     - font-encoding: "T1" (formerly implicitely set by 'ae').
775     - use-latex-toc: true (ToC with page numbers).
776     - use-latex-footnotes: true (no mixup with figures).
778 * docutils/writers/manpage.py
780   - Do not print version at document end, this is done by the viewer.
781   - Do not print date at document end, this is done by the viewer.
782   - Fix storage of docinfo fields for none standard fields.
784 * docutils/tools/rst2man.py
786 Release 0.5 (2008-06-25)
787 ========================
789 * docutils/languages/he.py: Added to project: Hebrew mappings by
790   Meir Kriheli.
792 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
793   mappings by Meir Kriheli.
795 * docutils/frontend.py:
797   - Configuration files are now assumed and required to be
798     UTF-8-encoded.
799   - Paths of applied configuration files are now recorded in the
800     runtime setting ``_config_files`` (accessible via
801     ``--dump-settings``).
802   - Added ``--strip-elements-with-class`` and ``--strip-class``
803     options (``strip_elements_with_classes`` and ``strip_classes``
804     settings).
806 * docutils/io.py:
808   - Added code to determine the input encoding from data: encoding
809     declarations or the presence of byte order marks (UTF-8 & UTF-16).
810   - Added support for IronPython 1.0.
812 * docutils/nodes.py:
814   - Added ``document.__getstate__`` method, for pickling.
816 * docutils/parsers/rst/states.py:
818   - Allow ``+`` and ``:`` in reference names.
819   - Unquoted targets beginning with an underscore (``.. __target:
820     URI``) are no longer accepted.
821   - Added support for multiple attributions in a physical block quote
822     (indented text block), dividing it into multiple logical block
823     quotes.
824   - Added support for unicode bullets in bullet lists: "•", "‣", and
825     "⁃".
826   - Added support for new object-oriented directive interface,
827     retaining compatibility to the old functional interface.
828   - Added support for throwing ``DirectiveError``'s from within
829     directive code.
831 * docutils/parsers/rst/__init__.py:
833   - Added ``Directive`` base class.
834   - Added ``DirectiveError`` base class.
835   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
836     definitions.
838 * docutils/parsers/directives/:
840   - Refactored all reStructuredText directives to use the new
841     object-oriented directive interface.  Errors are now (mostly)
842     thrown using the new ``DirectiveError`` class.
844 * docutils/parsers/directives/misc.py:
846   - Added ``start-after`` and ``end-before`` options to ``include``
847     directive; thanks to Stefan Rank.
849 * docutils/transforms/universal.py:
851   - Added ``StripClassesAndElements`` transform to remove from the
852     document tree all elements with classes in
853     ``settings.strip_elements_with_classes`` and all "classes"
854     attribute values in ``self.document.settings.strip_classes``.
856 * docutils/transforms/writer_aux.py:
858   - Added ``Admonitions`` transform to transform specific admonitions
859     (like ``note``, ``warning``, etc.) into generic admonitions with a
860     localized title.
862 * docutils/writers/html4css1/__init__.py:
864   - Moved template functionality from the PEP/HTML writer here.
865   - Expanded the fragments available in the ``parts`` attribute.
866   - Moved ``id`` attributes from titles to surrounding ``div``
867     elements.
868   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
869     universally supported now).
870   - ``template.txt`` is now opened in text mode instead of binary mode
871     (to ensure Windows compatibility).
872   - ``a`` elements now have an "internal" or "external" class,
873     depending on reference type.
875 * docutils/writers/html4css1/template.txt: Added to project.
877 * docutils/writers/pep_html/:
879   - Moved template functionality to the HTML writer.
881 * docutils/writers/s5_html/__init__.py:
883   - Added ``view_mode`` & ``hidden_controls`` settings
884     (``--view-mode`` & ``--hidden-controls/--visible-controls``
885     options).
887 * docutils/writers/latex2e/__init__.py:
889   - Add ``--literal-block-env``
890   - Fix: escaping ``%`` in href urls.
891   - Move usepackage hyperref after stylesheet inclusion.
892   - Fix: scrartcl does not have chapter but scrreprt.
893   - Add newline after ``\end{verbatim}``.
894   - Merge smaller differences from latex2e_adaptive_preamble.
895   - Add ``use-part-section``.
896   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
897   - Using leavemode option_list no longer needs to check if parent
898     is a definition list.
899   - Append ``\leavemode`` to definition list terms.
900   - No longer write visit\_/depart_definition_list_item comments to
901     output.
902   - Table column width with 3 decimal places.
903   - Add table stubs support (boldfont).
904   - Add assemble_parts to writer.
905   - Add simply support for nested tables.
906   - Fix verbatim in tables if use-verbatim-when-possible.
907   - Use section commands down to subparagraph.
908   - Put ensuremath around some latin1 chars.
909   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
910   - New option ``--use-bibtex=style,db1,db2``.
911   - New option ``--reference-label`` to allow usage of LaTeX ref for
912     labels in section references.
913   - Add a label after every section to support sectionnumbers as reference
914     labels.
915   - Fix: bug# 1605376 rst2latex: bad options group list
916   - Remove inactive code for use_optionlist_for_option_list.
917   - Remove latex comments from option_list output.
918   - Fix: bug# 1612270 double qoutes in italian literal.
919   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
920   - Add option --use-latex-abstract.
921   - Image width unit ``px`` is translated to ``pt``.
922   - Add image height support.
923   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
924     bug #1457388
925   - Fix: Do not escape underscores in citation reference labels if
926     use-latex-citations is set.
927   - Use centering instead of center for figure contents, to avoid vertical
928     space.
929   - Recognize table class: borderless, nolines, booktabs, standard.
930   - Fix: Renaming contents section does not work with latex writer; SF
931     bug #1487405.
932   - Applied patch for custom roles with classes from Edward Loper.
933   - Fixed bug that caused crashes with more than 256 lists.
935 * docutils/writers/pep_html/__init__.py:
937   - Changed to support new python.org website structure and
938     pep2pyramid.py.
940 * docs/howto/security.txt: "Deploying Docutils Securely", added to
941   project.
943 * tools/buildhtml.py:
945   -- Added ``ignore`` setting to exclude a list of shell patterns
946      (default: ``.svn:CVS``).
948 * tools/editors/emacs/rst.el:
950   - Changed license to "GPL".
951   - Added ``rst-straighten-decorations`` function.
952   - The ``compile`` module is now always loaded.
953   - Added ``rst-toggle-line-block`` function.
954   - Headings consisting only of non-ASCII characters are now
955     recognized by ``rst-toc`` and ``rst-adjust``.
956   - Added font-lock support for multi-line comments where the first
957     comment line is empty.
958   - Added ``(require 'font-lock)``.
960 * setup.py:
962   - Provide descriptive error message if distutils is missing.
965 Release 0.4 (2006-01-09)
966 ========================
968 * General:
970   - Updated the project policies for trunk/branch development &
971     version numbering.
973 * docutils/__init__.py:
975   - Added ``__version_details__`` attribute to describe code source
976     (repository/snapshot/release).
977   - Replaced ``default_transforms`` attribute of TransformSpec with
978     ``get_transforms()`` method.
980 * docutils/core.py:
982   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
983     functions, for document tree extraction and reprocessing.
985 * docutils/io.py:
987   - Added ``DocTreeInput`` class, for reprocessing existing documents.
988   - Added support for non-Unicode (e.g. binary) writer output.
990 * docutils/nodes.py:
992   - Re-introduced ``Targetable.indirect_reference_name``, for
993     MoinMoin/reST compatibility (removed in r3124/r3129).
994   - Added ``serial_escape`` function; escapes string values that are
995     elements of a list, for serialization.  Modified Docutils-XML
996     writing (``Element._dom_node``) and pseudo-XML writing
997     (``Element.starttag``) to use ``serial_escape``.
998   - Added ``Node.deepcopy()`` method.
999   - Removed the internal lists ``document.substitution_refs``,
1000     ``document.anonymous_refs``, and ``document.anonymous_targets``.
1001   - Added a "container" element.
1002   - Fixed bug where values of list-valued attributes of elements
1003     originating from custom interpreted text roles (i.e., with custom
1004     classes) were being shared between element instances.  Reported by
1005     Shmuel Zeigerman.
1007 * docutils/statemachine.py:
1009   - Added trailing whitespace stripping to ``string2lines()``.
1010   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
1011     Asian double-width character support.
1013 * docutils/utils.py:
1015   - Added ``east_asian_column_width()`` for double-width character
1016     support.
1018 * docutils/languages/ja.py: Added to project: Japanese mappings by
1019   Hisashi Morita.
1021 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
1022   mappings by Panjunyong.
1024 * docutils/parsers/null.py: Added to project; a do-nothing parser.
1026 * docutils/parsers/rst/__init__.py:
1028   - Added validator to tab_width setting, with test.  Closes SF bug
1029     #1212515, report from Wu Wei.
1031 * docutils/parsers/rst/states.py:
1033   - Fixed bug with escaped colons indicating a literal block.
1034   - Fixed bug with enumerated lists (SF#1254145).
1035   - Backslash-escaped colons inside of field names are now allowed.
1036   - Targets (implicit and explicit), anonymous hyperlink references
1037     and auto-numbered footnote references inside of substitution
1038     definitions are now disallowed.
1039   - Fixed bug: list items with blank first lines.
1040   - Fixed bug: block quote attributions with indented second lines.
1041   - Added East Asian double-width character support (Python 2.4 only).
1043 * docutils/parsers/rst/tableparser.py:
1045   - Added East Asian double-width character support (Python 2.4 only).
1047 * docutils/parsers/rst/directives/body.py:
1049   - Added the "container" directive.
1051 * docutils/parsers/rst/directives/misc.py:
1053   - Added the "default-role", "title", and "date" directives.
1054   - Added standard data file syntax to the "include" directive.
1055   - Added support for "class" directive content.
1057 * docutils/parsers/rst/directives/images.py:
1059   - Added ``indirect_reference_name`` support for images with a target
1060     option.
1061   - Added support for image width and height units.
1062   - Fixed bug with image "target" options.
1064 * docutils/parsers/rst/directives/references.py:
1066   - Added "class" attribute to "target-notes" directive, for
1067     footnote_reference classes.
1069 * docutils/parsers/rst/include/: Directory added to project; contains
1070   standard data files for the "include" directive.  Initial contents:
1071   character entity substitution definition sets, and a set of
1072   definitions for S5/HTML presentations.
1074 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
1075   mappings by David Goodger.
1077 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
1078   Simplified Chinese mappings by Panjunyong.
1080 * docutils/readers/__init__.py:
1082   - Added universal.Decorations and universal.ExposeInternals
1083     transforms as default transforms for all readers.
1084   - Added ``ReReader`` base class for readers that reread an existing
1085     document tree.
1087 * docutils/readers/doctree.py: Added to project; a reader for existing
1088   document trees.
1090 * docutils/transforms/frontmatter.py:
1092   - Fixed the DocInfo transform to handle SVN-style expansion of the
1093     "Date" keyword.
1094   - In ``DocInfo.extract_authors``, treat the contents of "authors"
1095     fields uniformly.
1097 * docutils/transforms/misc.py:
1099   - Added misc.Transitions transform, extracted from
1100     universal.FinalChecks.
1102 * docutils/transforms/references.py:
1104   - Added references.DanglingReferences transform, extracted from
1105     universal.FinalChecks.
1106   - Fixed bug with doubly-indirect substitutions.
1107   - Added footnote_reference classes attribute to "TargetNotes".
1108   - Fixed bug with circular substitution definitions that put Docutils
1109     into an infinite loop.
1111 * docutils/transforms/universal.py:
1113   - Added universal.ExposeInternals transform, extracted from
1114     universal.FinalChecks.
1115   - Removed universal.FinalChecks transform (logic has been moved to
1116     several new transforms).
1117   - Fixed bug with the "expose_internals" setting and Text nodes
1118     (exposed by the "rawsource" internal attribute).
1119   - Added the universal.StripComments transform, implementation of the
1120     "strip_comments" setting.
1122 * docutils/transforms/writer_aux.py: Added to project; auxiliary
1123   transforms for writers.
1125   - Added ``Compound`` transform, which flattens compound paragraphs.
1127 * docutils/writers/: Several writer modules (html4css1.py) were
1128   converted into packages.  Support modules and data files have been
1129   moved into the packages.  The stylesheets for the HTML writers are
1130   now installed along with the code, the code knows where to find
1131   them, and the default is to use them (actually, to embed them).
1132   Some adjustments to configuration files may be necessary.  The
1133   easiest way to obtain the new default behavior is to remove all
1134   settings whose name includes "stylesheet".
1136 * docutils/writers/__init__.py:
1138   - Added universal.Messages and universal.FilterMessages transforms
1139     as default transforms for all writers.
1140   - Added ``UnfilteredWriter`` base class for writers that pass the
1141     document tree on unchanged.
1143 * docutils/writers/docutils_xml.py:
1145   - Made ``xmlcharrefreplace`` the default output encoding error
1146     handler.
1148 * docutils/writers/html4css1/:
1150   - Added support for image width and height units.
1151   - Made ``xmlcharrefreplace`` the default output encoding error
1152     handler.
1153   - Made ``--embed-stylesheet`` the default rather than
1154     ``--link-stylesheet``.
1155   - Moved "id" attribute from container (section etc.) to title's <a>
1156     tag, to be on the same tag as "name".
1157     (!!! To be reverted in Docutils 0.5.)
1158   - Added vertical space between fields of field lists.
1159   - Added ``--compact-field-lists`` option to remove vertical space in
1160     simple field lists.
1161   - Made cloaking of email addresses with ``--cloak-email-addresses``
1162     less obtrusive.
1163   - Fixed support for centered images.
1164   - Added support for class="compact" & class="open" lists.
1166 * docutils/writers/latex2e/:
1168   - Underscores in citekeys are no longer escaped.
1170 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
1171   mapping of Unicode characters to LaTeX equivalents.
1173 * docutils/writers/s5_html/: Package added to project; writer for
1174   S5/HTML slide shows.
1176 * docs/dev/distributing.txt: Added to project; guide for distributors
1177   (package maintainers).
1179 * docs/dev/hacking.txt: Added to project; guide for developers.
1181 * docs/ref/doctree.txt:
1183   - Updated for plural attributes "classes", "ids", "names",
1184     "dupnames".
1185   - Added the "container" element.
1187 * docs/ref/docutils.dtd:
1189   - Updated for plural attributes "classes", "ids", "names",
1190     "dupnames".
1192 * docs/user/emacs.txt: Added to project; a document about Emacs
1193   support for reStructuredText and Docutils.
1195 * docs/user/links.txt: Added to project; lists of Docutils-related
1196   links.
1198 * docs/user/mailing-lists.txt: Added to project; information about
1199   Docutils-related mailing lists and how to access them.
1201 * docs/user/slide-shows.txt: Added to project; example of and docs for
1202   the S5/HTML writer (``rst2s5.py`` front end).
1204 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
1205   Files", added to project.
1207 * test/coverage.sh: Added to project; test coverage script.
1209 * test/DocutilsTestSupport.py:
1211   - Added support for specifying runtime settings at the suite level.
1213 * test/test_functional.py:
1215   - Added the ``clear_output_directory`` function.
1216   - Added support for ``_test_more`` functions in functional test
1217     config files.
1219 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
1221 * tools/rstpep2html.py: Renamed from pep.py.
1223 * tools/dev/create_unimap.py: Added to project; script to create the
1224   docutils/writers/unimap_latex.py mapping file.
1226 * tools/dev/profile_docutils.py: Added to project; profiler script.
1228 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
1230 * tools/editors/emacs/restructuredtext.el,
1231   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
1232   Removed from project; the functionality is now contained in rst.el.
1234 * tools/editors/emacs/rst.el: Added to project.  Added many features
1235   and fixed many bugs.  See docs/user/emacs.txt for details.
1237 * tools/stylesheets: Removed from project.  Stylesheets have been
1238   renamed and moved into writer packages.
1241 Release 0.3.9 (2005-05-26)
1242 ==========================
1244 * General:
1246   - Eliminated and replaced all uses of the old string attributes
1247     ``id``, ``name``, ``dupname`` and ``class`` with references to the
1248     new list attributes ``ids``, ``names``, ``dupnames`` and
1249     ``classes`` throughout the whole source tree.
1251 * docutils/core.py:
1253   - Enabled ``--dump-*`` options when ``--traceback`` specified,
1254     allowing for easier debugging.
1255   - In ``Publisher.publish()``, expanded the generic top-level
1256     exception catching.
1258 * docutils/examples.py:
1260   - Added ``internals`` function for exploration.
1262 * docutils/io.py:
1264   - Fixed ``Input.decode`` method to apply heuristics only if no
1265     encoding is explicitly given, and to provide better reporting of
1266     decoding errors.
1267   - The ``Input.decode`` method now removes byte order marks (BOMs)
1268     from input streams.
1270 * docutils/nodes.py:
1272   - ``image`` element class changed to subclass of Element, not
1273     TextElement (it's an empty element, and cannot contain text).
1274   - Added ``attr_defaults`` dictionary for default attribute values.
1275   - Added empty list as default value for the following attributes:
1276     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
1277   - Added ``document.decoration`` attribute,
1278     ``document.get_decoration`` method, and ``decoration.get_header``
1279     & ``.get_footer`` methods.
1280   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
1281     methods.
1283 * docutils/utils.py:
1285   - Removed ``docutils.utils.Reporter.categories``,
1286     ``docutils.utils.ConditionSet``, and all references to them, to
1287     simplify error reporting.
1289 * docutils/languages/nl.py: Added to project; Dutch mappings by
1290   Martijn Pieters.
1292 * docutils/parsers/rst/__init__.py:
1294   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
1296 * docutils/parsers/rst/states.py:
1298   - Added check for escaped at-mark to prevent email address recognition.
1299   - Fixed option lists to allow spaces inside ``<angle-bracketed option
1300     arguments>``.
1301   - Allowed whitespace in paths and URLs.
1302   - Added auto-enumerated list items.
1303   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
1304     followed by text.
1305   - Added support for table stub columns.
1307 * docutils/parsers/rst/directives/__init__.py:
1309   - Allowed whitespace in paths (``path`` function).
1310   - Added ``uri`` directive option conversion function.
1312 * docutils/parsers/rst/directives/body.py:
1314   - Fixed illegal context bug with "topic" directive (allowed within
1315     sidebars; not within body elements).
1317 * docutils/parsers/rst/directives/images.py:
1319   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
1320   - Added support for the ``file_insertion_enabled`` setting in the
1321     "figure" directive (disables "figwidth" option).
1322   - "image" directive: added checks for valid values of "align" option,
1323     depending on context.  "figure" directive: added specialized
1324     "align" option and attribute on "figure" element.
1325   - Made ":figwidth: image" option of "figure" directive work again.
1326   - Fixed bug with reference names containing uppercase letters
1327     (e.g. ``Name_``) in "target" option of "image" directive.
1329 * docutils/parsers/rst/directives/misc.py:
1331   - Fixed "include" and "raw" directives to catch text decoding
1332     errors.
1333   - Allowed whitespace in "include" & "raw" directive paths.
1334   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
1335     settings in "include" & "raw" directives.
1337 * docutils/parsers/rst/directives/parts.py:
1339   - Added "header" & "footer" directives.
1340   - Fixed illegal context bug with "contents" directive (topics
1341     allowed within sidebars; not within body elements).
1343 * docutils/parsers/rst/directives/tables.py:
1345   - Added "list-table" directive.
1346   - Caught empty CSV table bug.
1347   - Added support for the ``file_insertion_enabled`` setting in the
1348     "csv-table" directive.
1349   - Added ``stub-columns`` option to "csv-table" and "list-table"
1350     directives.
1352 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1353   mappings by Martijn Pieters.
1355 * docutils/readers/standalone.py:
1357   - Added ``--section-subtitles`` and ``--no-section-subtitles``
1358     options to activate or deactivate the SectSubTitle transform.
1360 * docutils/transforms/frontmatter.py:
1362   - Added SectSubTitle transform to promote titles of lone
1363     subsections to subtitles.
1365 * docutils/transforms/references.py:
1367   - Fixed mislocated internal targets bug, by propagating internal
1368     targets to the next node, making use of the newly added support
1369     for multiple names and IDs.
1370   - Fixed duplicate footnote label bug.
1371   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1372     transform.
1374 * docutils/writers/html4css1.py:
1376   - Fixed unencoded stylesheet reference bug (characters like "&" in
1377     stylesheet references).
1378   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1379     tags).
1380   - Added support for multiple IDs per node by creating empty ``span``
1381     tags.
1382   - Added the ``field_name_limit`` & ``option_limit`` settings &
1383     support.
1384   - Added support for table stub columns.
1385   - Added support for the ``align`` attribute on ``figure`` elements.
1386   - Added the ``cloak_email_addresses`` setting & support.
1387   - Added ``html_prolog``, ``html_head``, ``html_body``,
1388     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1389     ``docutils.core.publish_parts``.
1390   - Added support for section subtitles.
1392 * docutils/writers/latex2e.py:
1394   - Fixed tables starting with more than one multirow cell.
1395   - Improved --use-latex-docinfo so that organization/contact/address
1396     fields are lumped with the last author field and appear on the
1397     titlepage.
1398   - Made sure the titlepage is always shown with --use-latex-docinfo,
1399     even if the document has no title.
1400   - Made sure that latex doesn't fill in today's date if no date field
1401     was given.
1402   - Added support for section subtitles.
1404 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1405   (under development).
1407 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1409 * docs/api/publisher.txt:
1411   - Added "``publish_parts`` Details" section.
1413 * docutils/dev/repository.txt: Added to project; information about the
1414   Docutils Subversion repository.
1416 * docs/ref/docutils.dtd:
1418   - Added a ``stub`` attribute to the ``colspec`` element via the
1419     ``tbl.colspec.att`` parameter entity.
1420   - Allowed topic elements within sidebars
1421   - Added an ``align`` attribute to the ``figure`` element.
1423 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1424   writer.
1427 Release 0.3.7 (2004-12-24)
1428 ==========================
1430 * docutils/frontend.py:
1432   - Added options: --input-encoding-error-handler,
1433     --record-dependencies, --leave-footnote-reference-space,
1434     --strict-visitor.
1435   - Added command-line and config file support for "overrides" setting
1436     parameter.
1438 * docutils/io.py:
1440   - Added support for input encoding error handler.
1442 * docutils/nodes.py:
1444   - Added dispatch_visit and dispatch_departure methods to
1445     NodeVisitor; useful as a hook for Visitors.
1446   - Changed structure of ``line_block``; added ``line``.
1447   - Added ``compound`` node class.
1448   - Added a mechanism for Visitors to transitionally ignore new node
1449     classes.
1451 * docutils/utils.py:
1453   - Moved ``escape2null`` and ``unescape`` functions from
1454     docutils/parsers/rst/states.py.
1456 * docutils/parsers/rst/roles.py:
1458   - Added "raw" role.
1459   - Changed role function API: the "text" parameter now takes
1460     null-escaped interpreted text content.
1462 * docutils/parsers/rst/states.py:
1464   - Fixed bug where a "role" directive in a nested parse would crash
1465     the parser; the state machine's "language" attribute was not being
1466     copied over.
1467   - Added support for line block syntax.
1468   - Fixed directive parsing bug: argument-less directives didn't
1469     notice that arguments were present.
1470   - Removed error checking for transitions.
1471   - Added support for multiple classifiers in definition list items.
1472   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1473   - Changed role function API: the "text" parameter now takes
1474     null-escaped interpreted text content.
1475   - Empty sections and documents are allowed now.
1477 * docutils/parsers/rst/directives/__init__.py:
1479   - Added ``encoding`` directive option conversion function.
1480   - Allow multiple class names in class_option conversion function.
1482 * docutils/parsers/rst/directives/body.py:
1484   - Converted the line-block directive to use the new structure.
1485   - Extracted the old line-block functionality to the ``block``
1486     function (still used).
1487   - Added ``compound`` directive (thanks to Lea Wiemann).
1489 * docutils/parsers/rst/directives/misc.py:
1491   - Added "encoding" option to "include" and "raw" directives.
1492   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1493   - Allow multiple class names in the "class" directive.
1495 * docutils/parsers/rst/directives/parts.py:
1497   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1498     options.  Thanks to Lele Gaifax.
1500 * docutils/parsers/rst/directives/tables.py:
1502   - Added "encoding" directive to "csv-table" directive.
1503   - Added workaround for lack of Unicode support in csv.py, for
1504     non-ASCII CSV input.
1506 * docutils/transforms/misc.py:
1508   - Fixed bug when multiple "class" directives are applied to a single
1509     element.
1510   - Enabled multiple format names for "raw" directive.
1512 * docutils/transforms/references.py:
1514   - Added support for trimming whitespace from beside substitution
1515     references.
1517 * docutils/transforms/universal.py:
1519   - FinalChecks now checks for illegal transitions and moves
1520     transitions between sections.
1522 * docutils/writers/html4css1.py:
1524   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
1525   - "stylesheet" and "stylesheet_path" settings are now mutually
1526     exclusive.
1527   - Added support for the new line_block/line structure.
1528   - --footnote-references now overrides
1529     --trim-footnote-reference-space, if applicable.
1530   - Added support for ``compound`` elements.
1531   - Enabled multiple format names for "raw" directive.
1532   - ``<p>`` tags of a paragraph which is the only visible child of the
1533     document node are no longer stripped.
1534   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1535     new method ``should_be_compact_paragraph()``.
1536   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1537     elements.
1538   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1539     the output if they have their ``class`` attribute set.
1540   - The whole document is now surrounded by a ``<div
1541     class="document">`` element.
1542   - Body-level images are now wrapped by their own ``<div>`` elements,
1543     with image classes copied to the wrapper, and for images which
1544     have the ``:align:`` option set, the surrounding ``<div>`` now
1545     receives a class attribute (like ``class="align-left"``).
1547 * docutils/writers/latex2e.py:
1549   - no newline after depart_term.
1550   - Added translations for some Unicode quotes.
1551   - Added option "font-encoding", made package AE the default.
1552   - "stylesheet" and "stylesheet_path" settings are now mutually
1553     exclusive.
1554   - --footnote-references now overrides
1555     --trim-footnote-reference-space, if applicable.
1556   - The footnote label style now matches the footnote reference style
1557     ("brackets" or "superscript").
1558   - Added support for ``compound`` elements.
1559   - Enabled multiple format names for "raw" directive.
1561 * docs/ref/docutils.dtd:
1563   - Changed structure of the ``line_block`` element; added ``line``.
1564   - Added ``compound`` element.
1565   - Added "ltrim" and "rtrim" attributes to
1566     ``substitution_definition`` element.
1567   - Enabled multiple format names for ``raw`` element.
1568   - Enabled multiple classifiers in ``definition_list_item`` elements.
1570 * docs/ref/rst/directives.txt
1572   - Marked "line-block" as deprecated.
1573   - "Class" directive now allows multiple class names.
1574   - Added "Rationale for Class Attribute Value Conversion".
1575   - Added warning about "raw" overuse/abuse.
1577 * docs/ref/rst/restructuredtext.txt:
1579   - Added syntax for line blocks.
1580   - Definition list items may have multiple classifiers.
1582 * docs/ref/rst/roles.txt:
1584   - Added "raw" role.
1586 * tools/stylesheets/default.css:
1588   - Added support for the new line_block structure.
1589   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1592 Release 0.3.5 (2004-07-29)
1593 ==========================
1595 General:
1597 * _`Documentation cleanup/reorganization`.
1599   - Created new subdirectories of docs/:
1601     * ``docs/user/``: introductory/tutorial material for end-users
1602     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1603     * ``docs/api/``: API reference material for client-developers
1604     * ``docs/ref/``: reference material for all groups
1605     * ``docs/howto/``: for component-developers and core-developers
1606     * ``docs/peps/``: Python Enhancement Proposals
1608   - Moved ``docs/*`` to ``docs/user/``.
1609   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1610     ``spec/`` to ``docs/dev``.
1611   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1612     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1613   - Moved ``alternatives.txt``, and ``problems.txt`` from
1614     ``spec/rst/`` to ``docs/dev/rst/``.
1615   - Moved ``reStructuredText.txt``, ``directives.txt``,
1616     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1617     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
1618     ``roles.txt``, ``reStructuredText.txt`` to
1619     ``restructuredtext.txt``.
1620   - Moved ``spec/howto/`` to ``docs/howto``.
1622   In order to keep the CVS history of moved files, we supplied
1623   SourceForge with a `script for modifying the Docutils CVS
1624   repository`__.
1626   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1628   After running the cleanup script:
1630   - Added ``docs/index.txt``.
1631   - Added a ``.htaccess`` file to the ``web`` module, containing
1632     redirects for all old paths to new paths.  They'll preserve
1633     fragments (the "#name" part of a URL), and won't clutter up the
1634     file system, and will correct the URL in the user's browser.
1635   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1636     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1637     the "To Do" list itself in ``docs/dev/todo.txt``.
1638   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1639     section of ``docs/dev/todo.txt``.
1640   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1641   - Added "How To Report Bugs" to ``BUGS.txt``.
1642   - Went through all the sources and docs (including under web/) and
1643     updated links.  Mostly done by Lea Wiemann; thanks Lea!
1644     (Still need to update links in the sandboxes.)
1646 Specific:
1648 * BUGS.txt: Added to project.
1650 * THANKS.txt: Added to project.
1652 * docutils/__init__.py:
1654   - 0.3.4: Post-release.
1656 * docutils/core.py:
1658   - Added special error handling & advice for UnicodeEncodeError.
1659   - Refactored Publisher.publish (simplified exception handling &
1660     extracted debug dumps).
1661   - Renamed "enable_exit" parameter of convenience functions to
1662     "enable_exit_status".
1663   - Enabled traceback (exception propagation) by default in
1664     programmatic convenience functions.
1665   - Now publish_file and publish_cmdline convenience functions return
1666     the encoded string results in addition to their regular I/O.
1667   - Extracted common code from publish_file, publish_string, and
1668     publish_parts, into new publish_programmatically.  Extracted
1669     settings code to ``Publisher.process_programmatic_settings``.
1670   - In Publisher.publish, disabled ``settings_overrides`` when
1671     ``settings`` is supplied; redundant.
1673 * docutils/frontend.py:
1675   - Added help text for "--output-encoding-error-handler" and
1676     "--error-encoding-error-handler".
1677   - Renamed "--exit" to "--exit-status".
1678   - Simplified default-setting code.
1680 * docutils/parsers/rst/__init__.py:
1682   - Added "--pep-base-url" and "--rfc-base-url" options.
1684 * docutils/parsers/rst/states.py:
1686   - Made URI recognition more aggressive and intelligent.
1688 * docutils/parsers/rst/directives/__init__.py:
1690   - Added several directive option conversion functions.
1692 * docutils/parsers/rst/directives/body.py:
1694   - Moved "table" directive to tables.py.
1696 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1697   added to project.
1699 * docutils/writers/latex2e.py:
1701   - Added "--table-style=(standard|booktabs|nolines)"
1702   - figures get "here" option (LaTeX per default puts them at bottom),
1703     and figure content is centered.
1704   - Rowspan support for tables.
1705   - Fix: admonition titles before first section.
1706   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1707   - Replave ``_`` in literal by an underlined blank, because it has the correct
1708     width.
1709   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1710   - A few unicode replacements, if output_encoding != utf
1711   - Add "--graphicx-option".
1712   - Indent literal-blocks.
1713   - Fix: omit ``\maketitle`` when there is no document title.
1715 * docs/index.txt: "Docutils Project Documentation Overview", added to
1716   project.
1718 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1719   Tool", added to project.
1721 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1723 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1725 * docs/dev/policies.txt: Added to project (extracted from
1726   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1728 * docs/dev/release.txt: Added to project (extracted from
1729   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1731 * docs/dev/testing.txt: Added to project.
1733 * docs/dev/website.txt: Added to project (extracted from
1734   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1736 * docs/ref/rst/directives.txt:
1738   - Added directives: "table", "csv-table".
1740 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1741   added to project.  1 page for syntax, and a 1 page reference for
1742   directives and roles.  Source text to be used as-is; not meant to be
1743   converted to HTML.
1745 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1746   with a change of title.
1748 * test/functional/, contents, and test/test_functional.py: Added to
1749   project.
1751 * tools/buildhtml.py: Fixed bug with config file handling.
1753 * tools/html.py: Removed from project (duplicate of rst2html.py).
1755 * tools/pep2html.py: Removed from project (duplicate of Python's
1756   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1757   Docutils-related PEPs in docs/peps/).
1759 * tools/rst2pseudoxml.py: Renamed from publish.py.
1761 * tools/rst2xml.py: Renamed from docutils-xml.py.
1763 * tools/test.txt: Removed from project; moved to
1764   docs/user/rst/demo.txt.
1766 * setup.py: Now also installs ``rst2latex.py``.
1769 Release 0.3.3 (2004-05-09)
1770 ==========================
1772 * docutils/__init__.py:
1774   - 0.3.1: Reorganized config file format (multiple sections); see
1775     docs/config.txt.
1776   - Added unknown_reference_resolvers attribute to TransformSpec.
1777   - 0.3.2: Interpreted text reorganization.
1778   - 0.3.3: Released.
1780 * docutils/core.py:
1782   - Catch system messages to stop tracebacks from parsing errors.
1783   - Catch exceptions during processing report & exit without
1784     tracebacks, except when "--traceback" used.
1785   - Reordered components for OptionParser; application comes last.
1786   - Added "config_section" parameter to several methods and functions,
1787     allowing front ends to easily specify their config file sections.
1788   - Added publish_parts convenience function to allow access to individual
1789     parts of a document.
1791 * docutils/examples.py: Added to project; practical examples of
1792   Docutils client code, to be used as-is or as models for variations.
1794 * docutils/frontend.py:
1796   - Added "--traceback" & "--no-traceback" options ("traceback"
1797     setting).
1798   - Implemented support for config file reorganization:
1799     ``standard_config_files`` moved from ``ConfigParser`` to
1800     ``OptionParser``; added
1801     ``OptionParser.get_config_file_settings()`` and
1802     ``.get_standard_config_settings()``; support for old "[options]"
1803     section (with deprecation warning) and mapping from old to new
1804     settings.
1805   - Reimplemented setting validation.
1806   - Enabled flexible boolean values: yes/no, true/false, on/off.
1807   - Added ``Values``, a subclass of ``optparse.Values``, with support
1808     for list setting attributes.
1809   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1810     thanks to Beni Cherniavsky.
1811   - Added "--no-section-numbering" option.
1813 * docutils/io.py:
1815   - Catch IOErrors when opening source & destination files, report &
1816     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1817     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1819 * docutils/nodes.py:
1821   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1822     method definitions (via ``exec``) to dynamic assignments (via
1823     ``setattr``); thanks to Roman Suzi.
1824   - Encapsulated visitor dynamic assignments in a function; thanks to
1825     Ian Bicking.
1826   - Added indirect_reference_name attribute to the Targetable
1827     class. This attribute holds the whitespace_normalized_name
1828     (contains mixed case) of a target.
1830 * docutils/statemachine.py:
1832   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1833   - Added ``StringList.get_2D_block``.
1835 * docutils/utils.py:
1837   - Added "level" attribute to SystemMessage exceptions.
1839 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1840   Jannie Hofmeyr.
1842 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1843   Blaha.
1845 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1846   Marcelo Huerta San Martin.
1848 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1849   mappings by Lalo Martins.
1851 * docutils/languages/ru.py: Added to project; Russian mappings by
1852   Roman Suzi.
1854 * docutils/parsers/rst/roles.py: Added to project.  Contains
1855   interpreted text role functions, a registry for interpreted text
1856   roles, and an API for adding to and retrieving from the registry.
1857   Contributed by Edward Loper.
1859 * docutils/parsers/rst/states.py:
1861   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1862   - Allowed true em-dash character and "---" as block quote
1863     attribution marker.
1864   - Added support for <angle-bracketed> complex option arguments
1865     (option lists).
1866   - Fixed handling of backslashes in substitution definitions.
1867   - Fixed off-by-1 error with extra whitespace after substitution
1868     definition directive.
1869   - Added inline markup parsing to field lists' field names.
1870   - Added support for quoted (and unindented) literal blocks.
1871     Driven in part by a bribe from Frank Siebenlist (thanks!).
1872   - Parser now handles escapes in URIs correctly.
1873   - Made embedded-URIs' reference text omittable.  Idea from Beni
1874     Cherniavsky.
1875   - Refactored explicit target processing code.
1876   - Added name attribute to references containing the reference name only
1877     through whitespace_normalize_name (no case changes).
1878   - parse_target no longer returns the refname after going through
1879     normalize_name. This is now handled in make_target.
1880   - Fixed bug relating to role-less interpreted text in non-English
1881     contexts.
1882   - Reorganized interpreted text processing; moved code into the new
1883     roles.py module.  Contributed by Edward Loper.
1884   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1885     ``parse_directive_block``.
1887 * docutils/parsers/rst/tableparser.py:
1889   - Reworked for ``StringList``, to support "include" directives in
1890     table cells.
1892 * docutils/parsers/rst/directives/__init__.py:
1894   - Renamed ``unchanged()`` directive option conversion function to
1895     ``unchanged_required``, and added a new ``unchanged``.
1896   - Catch unicode value too high error; fixes bug 781766.
1897   - Beefed up directive error reporting.
1899 * docutils/parsers/rst/directives/body.py:
1901   - Added basic "table" directive.
1903 * docutils/parsers/rst/directives/images.py:
1905   - Added "target" option to "image" directive.
1906   - Added name attribute to references containing the reference name only
1907     through whitespace_normalize_name (no case changes).
1909 * docutils/parsers/rst/directives/misc.py:
1911   - Isolated the import of the ``urllib2`` module; was causing
1912     problems on SourceForge (``libssl.so.2`` unavailable?).
1913   - Added the "role" directive for declaring custom interpreted text
1914     roles.
1916 * docutils/parsers/rst/directives/parts.py:
1918   - The "contents" directive does more work up-front, creating the
1919     "topic" and "title", and leaving the "pending" node for the
1920     transform.  Allows earlier reference resolution; fixes subtle bug.
1922 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1923   mappings by Jannie Hofmeyr.
1925 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1926   mappings by Marek Blaha.
1928 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1929   mappings by Marcelo Huerta San Martin.
1931 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1932   Portuguese mappings by Lalo Martins.
1934 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1935   mappings by Roman Suzi.
1937 * docutils/transforms/parts.py:
1939   - The "contents" directive does more work up-front, creating the
1940     "topic" and "title", and leaving the "pending" node for the
1941     transform.  Allows earlier reference resolution; fixes subtle bug.
1942   - Added support for disabling of section numbering.
1944 * docutils/transforms/references.py:
1946   - Verifying that external targets are truly targets and not indirect
1947     references. This is because we are now adding a "name" attribute to
1948     references in addition to targets. Note sure if this is correct!
1949   - Added code to hook into the unknown_reference_resolvers list for a
1950     transformer in resolve_indirect_target. This allows the
1951     unknown_reference_resolvers to keep around indirect targets which
1952     docutils doesn't know about.
1953   - Added specific error message for duplicate targets.
1955 * docutils/transforms/universal.py:
1957   - Added FilterMessages transform (removes system messages below the
1958     verbosity threshold).
1959   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1960     to FinalCheckVisitor for application-specific handling of
1961     unresolvable references.
1962   - Added specific error message for duplicate targets.
1964 * docutils/writers/__init__.py:
1966   - Added assemble_parts method to the Writer class to allow for
1967     access to a documents individual parts.
1968   - Documented & set default for ``Writer.output`` attribute.
1970 * docutils/writers/html4css1.py:
1972   - Fixed unicode handling of attribute values (bug 760673).
1973   - Prevent duplication of "class" attribute values (bug report from
1974     Kirill Lapshin).
1975   - Improved table grid/border handling (prompted by report from Bob
1976     Marshall).
1977   - Added support for table titles.
1978   - Added "<title />" for untitled docs, for XHTML conformance; thanks
1979     to Darek Suchojad.
1980   - Added functionality to keep track of individual parts of a document
1981     and store them in a dictionary as the "parts" attribute of the writer.
1982     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1983   - Added proper support for the "scale" attribute of the "image"
1984     element.  Contributed by Brent Cook.
1985   - Added ``--initial-header-level`` option.
1986   - Fixed bug: the body_pre_docinfo segment depended on there being a
1987     docinfo; if no docinfo, the document title was incorporated into
1988     the body segment.  Adversely affected the publish_parts interface.
1990 * docutils/writers/latex2e.py:
1992   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1993     about a missing file.
1994   - Added options and support: ``--compound-enumerators``,
1995     ``--section-prefix-for-enumerators``, and
1996     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
1997     934322).
1998   - Added option ``--use-verbatim-when-possible``, to avoid
1999     problematic characters (eg, '~' in italian) in literal blocks.
2000   - It's now possible to use four section levels in the `book` and
2001     `report` LaTeX classes.  The default `article` class still has
2002     three levels limit.
2004 * docs/config.txt: "Docutils Configuration Files", added to project.
2005   Moved config file entry descriptions from tools.txt.
2007 * docs/tools.txt:
2009   - Moved config file entry descriptions to config.txt.
2011 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
2012   Development".
2014 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
2015   Text Roles", added to project.
2017 * spec/rst/reStructuredText.txt:
2019   - Added description of support for <angle-bracketed> complex option
2020     arguments to option lists.
2021   - Added subsections for indented and quoted literal blocks.
2023 * test: Continually adding & updating tests.
2025   - Added test/test_settings.py & test/data/config_*.txt support
2026     files.
2027   - Added test/test_writers/test_htmlfragment.py.
2029 * test/DocutilsTestSupport.py:
2031   - Refactored LaTeX publisher test suite/case class names to make
2032     testing other writers easier.
2033   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
2034     to test the processing of HTML fragments which use the new
2035     publish_parts convenience function.
2037 * tools/buildhtml.py:
2039   - Added support for the "--prune" option.
2040   - Removed dependency on pep2html.py; plaintext PEPs no longer
2041     supported.
2043 * tools/docutils.conf:
2045   - Updated for configuration file reorganization.
2047 * tools/rst2html.py:
2049   - copied from tools/html.py
2051 * setup.py:
2053   - added a 'scripts' section to configuration
2054   - added 'tools/rst2html.py' to the scripts section
2057 Release 0.3 (2003-06-24)
2058 ========================
2060 General:
2062 * Renamed "attribute" to "option" for directives/extensions.
2064 * Renamed transform method "transform" to "apply".
2066 * Renamed "options" to "settings" for runtime settings (as set by
2067   command-line options).  Sometimes "option" (singular) became
2068   "settings" (plural).  Some variations below:
2070   - document.options -> document.settings (stored in other objects as
2071     well)
2072   - option_spec -> settings_spec (not directives though)
2073   - OptionSpec -> SettingsSpec
2074   - cmdline_options -> settings_spec
2075   - relative_path_options -> relative_path_settings
2076   - option_default_overrides -> settings_default_overrides
2077   - Publisher.set_options -> Publisher.get_settings
2079 Specific:
2081 * COPYING.txt: Added "Public Domain Dedication".
2083 * FAQ.txt: Frequently asked questions, added to project.
2085 * setup.py:
2087   - Updated with PyPI Trove classifiers.
2088   - Conditional installation of third-party modules.
2090 * docutils/__init__.py:
2092   - Bumped version to 0.2.1 to reflect changes to I/O classes.
2093   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
2094   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
2095   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
2096     option and its effect on the PEP template & writer.
2097   - Bumped version to 0.2.4 due to changes to the PEP template &
2098     stylesheet.
2099   - Bumped version to 0.2.5 to reflect changes to Reporter output.
2100   - Added ``TransformSpec`` class for new transform system.
2101   - Bumped version to 0.2.6 for API changes (renaming).
2102   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
2103     convenience functions.
2104   - Added ``Component.component_type`` attribute.
2105   - Bumped version to 0.2.8 because of the internal parser switch from
2106     plain lists to the docutils.statemachine.StringList objects.
2107   - Bumped version to 0.2.9 because of the frontend.py API changes.
2108   - Bumped version to 0.2.10 due to changes to the project layout
2109     (third-party modules removed from the "docutils" package), and
2110     signature changes in ``io.Input``/``io.Output``.
2111   - Changed version to 0.3.0 for release.
2113 * docutils/core.py:
2115   - Made ``publish()`` a bit more convenient.
2116   - Generalized ``Publisher.set_io``.
2117   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
2118     parameters; improved its docstring.
2119   - Added ``publish_file()`` and ``publish_string()``.
2120   - Factored ``Publisher.set_source()`` and ``.set_destination()``
2121     out of ``.set_io``.
2122   - Added support for "--dump-pseudo-xml", "--dump-settings", and
2123     "--dump-transforms" hidden options.
2124   - Added ``Publisher.apply_transforms()`` method.
2125   - Added ``Publisher.set_components()`` method; support for
2126     ``publish_*()`` conveninece functions.
2127   - Moved config file processing to docutils/frontend.py.
2128   - Added support for exit status ("exit_level" setting &
2129     ``enable_exit`` parameter for Publisher.publish() and convenience
2130     functions).
2132 * docutils/frontend.py:
2134   - Check for & exit on identical source & destination paths.
2135   - Fixed bug with absolute paths & "--config".
2136   - Set non-command-line defaults in ``OptionParser.__init__()``:
2137     ``_source`` & ``_destination``.
2138   - Distributed ``relative_path_settings`` to components; updated
2139     ``OptionParser.populate_from_components()`` to combine it all.
2140   - Require list of keys in ``make_paths_absolute`` (was implicit in
2141     global ``relative_path_settings``).
2142   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
2143     "--dump-settings", and "--dump-transforms" hidden options.
2144   - Removed nasty internals-fiddling ``ConfigParser.get_section``
2145     code, replaced with correct code.
2146   - Added validation functionality for config files.
2147   - Added "--error-encoding" option/setting, "_disable_config"
2148     internal setting.
2149   - Added encoding validation; updated "--input-encoding" and
2150     "--output-encoding"; added "--error-encoding-error-handler" and
2151     "--output-encoding-error-handler".
2152   - Moved config file processing from docutils/core.py.
2153   - Updated ``OptionParser.populate_from_components`` to handle new
2154     ``SettingsSpec.settings_defaults`` dict.
2155   - Added support for "-" => stdin/stdout.
2156   - Added "exit_level" setting ("--exit" option).
2158 * docutils/io.py:
2160   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
2161   - Added automatic closing to ``FileInput`` and ``FileOutput``.
2162   - Delayed opening of ``FileOutput`` file until ``write()`` called.
2163   - ``FileOutput.write()`` now returns the encoded output string.
2164   - Try to get path/stream name automatically in ``FileInput`` &
2165     ``FileOutput``.
2166   - Added defaults for source & destination paths.
2167   - Allow for Unicode I/O with an explicit "unicode" encoding.
2168   - Added ``Output.encode()``.
2169   - Removed dependency on runtime settings; pass encoding directly.
2170   - Recognize Unicode strings in ``Input.decode()``.
2171   - Added support for output encoding error handlers.
2173 * docutils/nodes.py:
2175   - Added "Invisible" element category class.
2176   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
2177     modification during a traversal.
2178   - Added element classes: ``line_block``, ``generated``, ``address``,
2179     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
2180     ``superscript``, ``subscript``, ``inline``
2181   - Added support for lists of nodes to ``Element.insert()``.
2182   - Fixed parent linking in ``Element.replace()``.
2183   - Added new abstract superclass ``FixedTextElement``; adds
2184     "xml:space" attribute.
2185   - Added support for "line" attribute of ``system_message`` nodes.
2186   - Added support for the observer pattern from ``utils.Reporter``.
2187     Added ``parse_messages`` and ``transform_messages`` attributes to
2188     ``document``, removed ``messages``.  Added ``note_parse_message``
2189     and ``note_transform_message`` methods.
2190   - Added support for improved diagnostics:
2192     - Added "document", "source", and "line" internal attributes to
2193       ``Node``, set by ``Node.setup_child()``.
2194     - Converted variations on ``node.parent = self`` to
2195       ``self.setup_child(node)``.
2196     - Added ``document.current_source`` & ``.current_line``
2197       attributes, and ``.note_source`` observer method.
2198     - Changed "system_message" output to GNU-Tools format.
2200   - Added a "rawsource" attribute to the ``Text`` class, for text
2201     before backslash-escape resolution.
2202   - Support for new transform system.
2203   - Reworked ``pending`` element.
2204   - Fixed XML DOM bug (SF #660611).
2205   - Removed the ``interpeted`` element class and added
2206     ``title_reference``, ``abbreviation``, ``acronym``.
2207   - Made substitutions case-sensitive-but-forgiving; moved some code
2208     from the parser.
2209   - Fixed Unicode bug on element attributes (report: William Dode).
2211 * docutils/optik.py: Removed from project; replaced with
2212   extras/optparse.py and extras/textwrap.py.  These will be installed
2213   only if they're not already present in the Python installation.
2215 * docutils/roman.py: Moved to extras/roman.py; this will be installed
2216   only if it's not already present in the Python installation.
2218 * docutils/statemachine.py:
2220   - Factored out ``State.add_initial_transitions()`` so it can be
2221     extended.
2222   - Converted whitespace-specific "blank" and "indent" transitions
2223     from special-case code to ordinary transitions: removed
2224     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
2225     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
2226     ``ws_initial_transitions`` attributes.
2227   - Removed ``State.match_transition()`` after merging it into
2228     ``.check_line()``.
2229   - Added ``StateCorrection`` exception.
2230   - Added support for ``StateCorrection`` in ``StateMachine.run()``
2231     (moved ``TransitionCorrection`` support there too.)
2232   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
2233     ``EOFError`` instead of ``IndexError``.
2234   - Added ``State.no_match`` method.
2235   - Added support for the Observer pattern, triggered by input line
2236     changes.
2237   - Added ``strip_top`` parameter to
2238     ``StateMachineWS.get_first_known_indented``.
2239   - Made ``context`` a parameter to ``StateMachine.run()``.
2240   - Added ``ViewList`` & ``StringList`` classes;
2241     ``extract_indented()`` becomes ``StringList.get_indented()``.
2242   - Added ``StateMachine.insert_input()``.
2243   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
2244     thanks to) Fred Drake.
2246 * docutils/utils.py:
2248   - Added a ``source`` attribute to Reporter instances and
2249     ``system_message`` elements.
2250   - Added an observer pattern to ``utils.Reporter`` to keep track of
2251     system messages.
2252   - Fixed bugs in ``relative_path()``.
2253   - Added support for improved diagnostics.
2254   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
2255   - Added support for encoding Reporter stderr output, and encoding
2256     error handlers.
2257   - Reporter keeps track of the highest level system message yet
2258     generated.
2260 * docutils/languages: Fixed bibliographic field language lookups.
2262 * docutils/languages/es.py: Added to project; Spanish mappings by
2263   Marcelo Huerta San Martin.
2265 * docutils/languages/fr.py: Added to project; French mappings by
2266   Stefane Fermigier.
2268 * docutils/languages/it.py: Added to project; Italian mappings by
2269   Nicola Larosa.
2271 * docutils/languages/sk.py: Added to project; Slovak mappings by
2272   Miroslav Vasko.
2274 * docutils/parser/__init__.py:
2276   - Added ``Parser.finish_parse()`` method.
2278 * docutils/parser/rst/__init__.py:
2280   - Added options: "--pep-references", "--rfc-references",
2281     "--tab-width", "--trim-footnote-reference-space".
2283 * docutils/parsers/rst/states.py:
2285   - Changed "title under/overline too short" system messages from INFO
2286     to WARNING, and fixed its insertion location.
2287   - Fixed enumerated list item parsing to allow paragraphs & section
2288     titles to begin with enumerators.
2289   - Converted system messages to use the new "line" attribute.
2290   - Fixed a substitution reference edge case.
2291   - Added support for "--pep-references" and "--rfc-references"
2292     options; reworked ``Inliner`` code to make customization easier.
2293   - Removed field argument parsing.
2294   - Added support for short section title over/underlines.
2295   - Fixed "simple reference name" regexp to ignore text like
2296     "object.__method__"; not an anonymous reference.
2297   - Added support for improved diagnostics.
2298   - Reworked directive API, based on Dethe Elza's contribution.  Added
2299     ``Body.parse_directive()``, ``.parse_directive_options()``,
2300     ``.parse_directive_arguments()`` methods.
2301   - Added ``ExtensionOptions`` class, to parse directive options
2302     without parsing field bodies.  Factored
2303     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
2304     ``ExtensionOptions``.
2305   - Improved definition list term/classifier parsing.
2306   - Added warnings for unknown directives.
2307   - Renamed ``Stuff`` to ``Struct``.
2308   - Now flagged as errors: transitions at the beginning or end of
2309     sections, empty sections (except title), and empty documents.
2310   - Updated for ``statemachine.StringList``.
2311   - Enabled recognition of schemeless email addresses in targets.
2312   - Added support for embedded URIs in hyperlink references.
2313   - Added backslash-escapes to inline markup end-string suffix.
2314   - Added support for correct interpreted text processing.
2315   - Fixed nested title parsing (topic, sidebar directives).
2316   - Added special processing of backslash-escaped whitespace (idea
2317     from David Abrahams).
2318   - Made substitutions case-sensitive-but-forgiving; moved some code
2319     to ``docutils.nodes``.
2320   - Added support for block quote attributions.
2321   - Added a kludge to work-around a conflict between the bubble-up
2322     parser strategy and short titles (<= 3 char-long over- &
2323     underlines).  Fixes SF bug #738803 "infinite loop with multiple
2324     titles" submitted by Jason Diamond.
2325   - Added explicit interpreted text roles for standard inline markup:
2326     "emphasis", "strong", "literal".
2327   - Implemented "superscript" and "subscript" interpreted text roles.
2328   - Added initial support for "abbreviation" and "acronym" roles;
2329     incomplete.
2330   - Added support for "--trim-footnote-reference-space" option.
2331   - Optional space before colons in directives & hyperlink targets.
2333 * docutils/parsers/rst/tableparser.py:
2335   - Fixed a bug that was producing unwanted empty rows in "simple"
2336     tables.
2337   - Detect bad column spans in "simple" tables.
2339 * docutils/parsers/rst/directives: Updated all directive functions to
2340   new API.
2342 * docutils/parsers/rst/directives/__init__.py:
2344   - Added ``flag()``, ``unchanged()``, ``path()``,
2345     ``nonnegative_int()``, ``choice()``, and ``class_option()``
2346     directive option helper functions.
2347   - Added warnings for unknown directives.
2348   - Return ``None`` for missing directives.
2349   - Added ``register_directive()``, thanks to William Dode and Paul
2350     Moore.
2352 * docutils/parsers/rst/directives/admonitions.py:
2354   - Added "admonition" directive.
2356 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
2357   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2358   "parsed-literal", "rubric", "epigraph", "highlights" and
2359   "pull-quote" directives.
2361 * docutils/parsers/rst/directives/images.py:
2363   - Added an "align" attribute to the "image" & "figure" directives
2364     (by Adam Chodorowski).
2365   - Added "class" option to "image", and "figclass" to "figure".
2367 * docutils/parsers/rst/directives/misc.py:
2369   - Added "include", "raw", and "replace" directives, courtesy of
2370     Dethe Elza.
2371   - Added "unicode" and "class" directives.
2373 * docutils/parsers/rst/directives/parts.py:
2375   - Added the "sectnum" directive; by Dmitry Jemerov.
2376   - Added "class" option to "contents" directive.
2378 * docutils/parsers/rst/directives/references.py: Added to project.
2379   Contains the "target-notes" directive.
2381 * docutils/parsers/rst/languages/__init__.py:
2383   - Return ``None`` from get_language() for missing language modules.
2385 * docutils/parsers/rst/languages/de.py: Added to project; German
2386   mappings by Engelbert Gruber.
2388 * docutils/parsers/rst/languages/en.py:
2390   - Added interpreted text roles mapping.
2392 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2393   mappings by Marcelo Huerta San Martin.
2395 * docutils/parsers/rst/languages/fr.py: Added to project; French
2396   mappings by William Dode.
2398 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2399   mappings by Nicola Larosa.
2401 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2402   mappings by Miroslav Vasko.
2404 * docutils/readers/__init__.py:
2406   - Added support for the observer pattern from ``utils.Reporter``, in
2407     ``Reader.parse`` and ``Reader.transform``.
2408   - Removed ``Reader.transform()`` method.
2409   - Added default parameter values to ``Reader.__init__()`` to make
2410     instantiation easier.
2411   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2413 * docutils/readers/pep.py:
2415   - Added the ``peps.TargetNotes`` transform to the Reader.
2416   - Removed PEP & RFC reference detection code; moved to
2417     parsers/rst/states.py as options (enabled here by default).
2418   - Added support for pre-acceptance PEPs (no PEP number yet).
2419   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2420     easy subclassing.
2422 * docutils/readers/python: Python Source Reader subpackage added to
2423   project, including preliminary versions of:
2425   - __init__.py
2426   - moduleparser.py: Parser for Python modules.
2428 * docutils/transforms/__init__.py:
2430   - Added ``Transformer`` class and completed transform reform.
2431   - Added unknown_reference_resolvers list for each transformer. This list holds
2432     the list of functions provided by each component of the transformer that
2433     help resolve references.
2435 * docutils/transforms/frontmatter.py:
2437   - Improved support for generic fields.
2438   - Fixed bibliographic field language lookups.
2440 * docutils/transforms/misc.py: Added to project.  Miscellaneous
2441   transforms.
2443 * docutils/transforms/parts.py:
2445   - Moved the "id" attribute from TOC list items to the references
2446     (``Contents.build_contents()``).
2447   - Added the ``SectNum`` transform; by Dmitry Jemerov.
2448   - Added "class" attribute support to ``Contents``.
2450 * docutils/transforms/peps.py:
2452   - Added ``mask_email()`` function, updating to pep2html.py's
2453     functionality.
2454   - Linked "Content-Type: text/x-rst" to PEP 12.
2455   - Added the ``TargetNotes`` PEP-specific transform.
2456   - Added ``TargetNotes.cleanup_callback``.
2457   - Added title check to ``Headers``.
2459 * docutils/transforms/references.py:
2461   - Added the ``TargetNotes`` generic transform.
2462   - Split ``Hyperlinks`` into multiple transforms.
2463   - Fixed bug with multiply-indirect references (report: Bruce Smith).
2464   - Added check for circular indirect references.
2465   - Made substitutions case-sensitive-but-forgiving.
2467 * docutils/transforms/universal.py:
2469   - Added support for the "--expose-internal-attributes" option.
2470   - Removed ``Pending`` transform classes & data.
2472 * docutils/writers/__init__.py:
2474   - Removed ``Writer.transform()`` method.
2476 * docutils/writers/docutils-xml.py:
2478   - Added XML and doctype declarations.
2479   - Added "--no-doctype" and "--no-xml-declaration" options.
2481 * docutils/writers/html4css1.py:
2483   - "name" attributes only on these tags: a, applet, form, frame,
2484     iframe, img, map.
2485   - Added "name" attribute to <a> in section titles for Netscape 4
2486     support (bug report: Pearu Peterson).
2487   - Fixed targets (names) on footnote, citation, topic title,
2488     problematic, and system_message nodes (for Netscape 4).
2489   - Changed field names from "<td>" to "<th>".
2490   - Added "@" to "&#64;" encoding to thwart address harvesters.
2491   - Improved the vertical whitespace optimization; ignore "invisible"
2492     nodes (targets, comments, etc.).
2493   - Improved inline literals with ``<span class="pre">`` around chunks
2494     of text and ``&nbsp;`` for runs of spaces.
2495   - Improved modularity of output; added ``self.body_pre_docinfo`` and
2496     ``self.docinfo`` segments.
2497   - Added support for "line_block", "address" elements.
2498   - Improved backlinks (footnotes & system_messages).
2499   - Improved system_message output.
2500   - Redefined "--stylesheet" as containing an invariant URL, used
2501     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
2502     working directory.
2503   - Added "--footnote-references" option (superscript or brackets).
2504   - Added "--compact-lists" and "--no-compact-lists" options.
2505   - Added "--embed-stylesheet" and "--link-stylesheet" options;
2506     factored out ``HTMLTranslator.get_stylesheet_reference()``.
2507   - Improved field list rendering.
2508   - Added Docutils version to "generator" meta tag.
2509   - Fixed a bug with images; they must be inline, so wrapped in <p>.
2510   - Improved layout of <pre> HTML source.
2511   - Fixed attribute typo on <colspec>.
2512   - Refined XML prologue.
2513   - Support for no stylesheet.
2514   - Removed "interpreted" element support.
2515   - Added support for "title_reference", "sidebar", "attribution",
2516     "rubric", and generic "admonition" elements.
2517   - Added "--attribution" option.
2518   - Added support for "inline", "subscript", "superscript" elements.
2519   - Added initial support for "abbreviation" and "acronym";
2520     incomplete.
2522 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2523   (from the sandbox).
2525   - Added french.
2526   - Double quotes in literal blocks (special treatment for de/ngerman).
2527   - Added '--hyperlink-color' option ('0' turns off coloring of links).
2528   - Added  "--attribution" option.
2529   - Right align attributions.
2531 * docutils/writers/pep_html.py:
2533   - Parameterized output encoding in PEP template.
2534   - Reworked substitutions from ``locals()`` into ``subs`` dict.
2535   - Redefined "--pep-stylesheet" as containing an invariant URL, used
2536     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
2537     working directory.
2538   - Added an override on the "--footnote-references" option.
2539   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2540   - Added Docutils version to "generator" meta tag.
2541   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2543 * docs/tools.txt:
2545   - Added a "silent" setting for ``buildhtml.py``.
2546   - Added a "Getting Help" section.
2547   - Rearranged the structure.
2548   - Kept up to date, with new settings, command-line options etc.
2549   - Added section for ``rst2latex.py`` (Engelbert Gruber).
2550   - Converted settings table into a definition list.
2552 * docs/rst/quickstart.txt:
2554   - Added a table of contents.
2555   - Added feedback information.
2556   - Added mention of minimum section title underline lengths.
2557   - Removed the 4-character minimum for section title underlines.
2559 * docs/rst/quickref.html:
2561   - Added a "Getting Help" section.
2562   - Added a style to make section title backlinks more subtle.
2563   - Added mention of minimum section title underline lengths.
2564   - Removed the 4-character minimum for section title underlines.
2566 * extras: Directory added to project; contains third-party modules
2567   that Docutils depends on (optparse, textwrap, roman).  These are
2568   only installed if they're not already present.
2570 * licenses: Directory added to project; contains copies of license
2571   files for non-public-domain files.
2573 * spec/doctree.txt:
2575   - Changed the focus.  It's about DTD elements:  structural
2576     relationships, semantics, and external (public) attributes.  Not
2577     about the element class library.
2578   - Moved some implementation-specific stuff into ``docutils.nodes``
2579     docstrings.
2580   - Wrote descriptions of all common attributes and parameter
2581     entities.  Filled in introductory material.
2582   - Working through the element descriptions: 55 down, 37 to go.
2583   - Removed "Representation of Horizontal Rules" to
2584     spec/rst/alternatives.txt.
2586 * spec/docutils.dtd:
2588   - Added "generated" inline element.
2589   - Added "line_block" body element.
2590   - Added "auto" attribute to "title".
2591   - Changed content models of "literal_block" and "doctest_block" to
2592     ``%text.model``.
2593   - Added ``%number;`` attribute type parameter entity.
2594   - Changed ``%structural.elements;`` to ``%section.elements``.
2595   - Updated attribute types; made more specific.
2596   - Added "address" bibliographic element.
2597   - Added "line" attribute to ``system_message`` element.
2598   - Removed "field_argument" element; "field_name" may contain
2599     multiple words and whitespace.
2600   - Changed public identifier to docutils.sf.net.
2601   - Removed "interpreted" element; added "title_reference",
2602     "abbreviation", "acronym".
2603   - Removed "refuri" attribute from "footnote_reference" and
2604     "citation_reference".
2605   - Added "sidebar", "rubric", "attribution", "admonition",
2606     "superscript", "subscript", and "inline" elements.
2608 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2610 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2612 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2614 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2615   Dallas Mahrt.
2617 * spec/transforms.txt: Added to project.
2619 * spec/howto: Added subdirectory, for developer how-to docs.
2621 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
2622   Elza, edited & extended by David Goodger.
2624 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
2625   project.
2627 * spec/rst/alternatives.txt:
2629   - Added "Doctree Representation of Transitions" from
2630     spec/doctree.txt.
2631   - Updated "Inline External Targets" & closed the debate.
2632   - Added ideas for interpreted text syntax extensions.
2633   - Added "Nested Inline Markup" section.
2635 * spec/rst/directives.txt:
2637   - Added directives: "topic", "sectnum", "target-notes",
2638     "line-block", "parsed-literal", "include", "replace", "sidebar",
2639     "admonition", "rubric", "epigraph", "highlights", "unicode" and
2640     "class".
2641   - Formalized descriptions of directive details.
2642   - Added an "align" attribute to the "image" & "figure" directives
2643     (by Adam Chodorowski).
2644   - Added "class" options to "topic", "sidebar", "line-block",
2645     "parsed-literal", "contents", and "image"; and "figclass" to
2646     "figure".
2648 * spec/rst/interpreted.txt: Added to project.  Descriptions of
2649   interpreted text roles.
2651 * spec/rst/introduction.txt:
2653   - Added pointers to material for new users.
2655 * spec/rst/reStructuredText.txt:
2657   - Disambiguated comments (just add a newline after the "::").
2658   - Updated enumerated list description; added a discussion of the
2659     second-line validity checking.
2660   - Updated directive description.
2661   - Added a note redirecting newbies to the user docs.
2662   - Expanded description of inline markup start-strings in non-markup
2663     contexts.
2664   - Removed field arguments and made field lists a generic construct.
2665   - Removed the 4-character minimum for section title underlines.
2666   - Clarified term/classifier delimiter & inline markup ambiguity
2667     (definition lists).
2668   - Added "Embedded URIs".
2669   - Updated "Interpreted Text" section.
2670   - Added "Character-Level Inline Markup" section.
2672 * test: Continually adding & updating tests.
2674   - Moved test/test_rst/ to test/test_parsers/test_rst/.
2675   - Moved test/test_pep/ to test/test_readers/test_pep/.
2676   - Added test/test_readers/test_python/.
2677   - Added test/test_writers/ (Engelbert Gruber).
2679 * tools:
2681   - Made the ``locale.setlocale()`` calls in front ends
2682     fault-tolerant.
2684 * tools/buildhtml.py:
2686   - Added "--silent" option.
2687   - Fixed bug with absolute paths & "--config".
2688   - Updated for new I/O classes.
2689   - Added some exception handling.
2690   - Separated publishers' setting defaults; prevents interference.
2691   - Updated for new ``publish_file()`` convenience function.
2693 * tools/pep-html-template:
2695   - Allow for "--embed-stylesheet".
2696   - Added Docutils version to "generator" meta tag.
2697   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2698   - Conform to XHTML spec.
2700 * tools/pep2html.py:
2702   - Made ``argv`` a parameter to ``main()``.
2703   - Added support for "Content-Type:" header & arbitrary PEP formats.
2704   - Linked "Content-Type: text/plain" to PEP 9.
2705   - Files skipped (due to an error) are not pushed onto the server.
2706   - Updated for new I/O classes.
2707   - Added ``check_requirements()`` & ``pep_type_error()``.
2708   - Added some exception handling.
2709   - Updated for new ``publish_string()`` convenience function.
2710   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2712 * tools/quicktest.py:
2714   - Added "-V"/"--version" option.
2716 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2718 * tools/unicode2rstsubs.py: Added to project.  Produces character
2719   entity files (reSructuredText substitutions) from the MathML master
2720   unicode.xml file.
2722 * tools/editors: Support code for editors, added to project.  Contains
2723   ``emacs/restructuredtext.el``.
2725 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2727   - Added style for chunks of inline literals.
2728   - Removed margin for first child of table cells.
2729   - Right-aligned field list names.
2730   - Support for auto-numbered section titles in TOCs.
2731   - Increased the size of inline literals (<tt>) in titles.
2732   - Restored the light gray background for inline literals.
2733   - Added support for "line_block" elements.
2734   - Added style for "address" elements.
2735   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2736   - Improved field list rendering.
2737   - Vertical whitespace improvements.
2738   - Removed "a.target" style.
2740 * tools/stylesheets/pep.css:
2742   - Fixed nested section margins.
2743   - Other changes parallel those of ``../default.css``.
2746 Release 0.2 (2002-07-31)
2747 ========================
2749 General:
2751 - The word "component" was being used ambiguously.  From now on,
2752   "component" will be used to mean "Docutils component", as in Reader,
2753   Writer, Parser, or Transform.  Portions of documents (Table of
2754   Contents, sections, etc.)  will be called "document parts".
2755 - Did a grand renaming: a lot of ``verylongnames`` became
2756   ``very_long_names``.
2757 - Cleaned up imports: no more relative package imports or
2758   comma-separated lists of top-level modules.
2759 - Added support for an option values object which carries default
2760   settings and overrides (from command-line options and library use).
2761 - Added internal Unicode support, and support for both input and
2762   output encodings.
2763 - Added support for the ``docutils.io.IO`` class & subclasses.
2765 Specific:
2767 * docutils/__init__.py:
2769   - Added ``ApplicationError`` and ``DataError``, for use throughout
2770     the package.
2771   - Added ``Component`` base class for Docutils components; implements
2772     the ``supports`` method.
2773   - Added ``__version__`` (thus, ``docutils.__version__``).
2775 * docutils/core.py:
2777   - Removed many keyword parameters to ``Publisher.__init__()`` and
2778     ``publish()``; bundled into an option values object.  Added
2779     "argv", "usage", "description", and "option_spec" parameters for
2780     command-line support.
2781   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2782     methods.
2783   - Reworked I/O model for ``docutils.io`` wrappers.
2784   - Updated ``Publisher.set_options()``; now returns option values
2785     object.
2786   - Added support for configuration files (/etc/docutils.conf,
2787     ./docutils.conf, ~/.docutils).
2788   - Added ``Publisher.setup_option_parser()``.
2789   - Added default usage message and description.
2791 * docutils/frontend.py: Added to project; support for front-end
2792   (command-line) scripts.  Option specifications may be augmented by
2793   components.  Requires Optik (http://optik.sf.net/) for option
2794   processing (installed locally as docutils/optik.py).
2796 * docutils/io.py: Added to project; uniform API for a variety of input
2797   output mechanisms.
2799 * docutils/nodes.py:
2801   - Added ``TreeCopyVisitor`` class.
2802   - Added a ``copy`` method to ``Node`` and subclasses.
2803   - Added a ``SkipDeparture`` exception for visitors.
2804   - Renamed ``TreePruningException`` from ``VisitorException``.
2805   - Added docstrings to ``TreePruningException``, subclasses, and
2806     ``Nodes.walk()``.
2807   - Improved docstrings.
2808   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2809   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2810     imports.
2811   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2812     ``PreDecorative`` mixin.
2813   - Reworked the name/id bookkeeping; to ``document``, removed
2814     ``explicit_targets`` and ``implicit_targets`` attributes, added
2815     ``nametypes`` attribute and ``set_name_id_map`` method.
2816   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2817     traversals.
2818   - Added ``document.has_name()`` method.
2819   - Fixed DOM generation for list-attributes.
2820   - Added category class ``Labeled`` (used by footnotes & citations).
2821   - Added ``Element.set_class()`` method (sets "class" attribute).
2823 * docutils/optik.py: Added to project.  Combined from the Optik
2824   package, with added option groups and other modifications.  The use
2825   of this module is probably only temporary.
2827 * docutils/statemachine.py:
2829   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2830   - Added underscores to improve many awkward names.
2831   - In ``string2lines()``, changed whitespace normalizing translation
2832     table to regexp; restores Python 2.0 compatibility with Unicode.
2834 * docutils/urischemes.py:
2836   - Filled in some descriptions.
2837   - Added "shttp" scheme.
2839 * docutils/utils.py:
2841   - Added ``clean_rcs_keywords`` function (moved from
2842     docutils/transforms/frontmatter.py
2843     ``DocInfo.filter_rcs_keywords``).
2844   - Added underscores to improve many awkward names.
2845   - Changed names of Reporter's thresholds:
2846     warning_level -> report_level; error_level -> halt_level.
2847   - Moved ``utils.id()`` to ``nodes.make_id()``.
2848   - Added ``relative_path(source, target)``.
2850 * docutils/languages/de.py: German mappings; added to project.  Thanks
2851   to Gunnar Schwant for the translations.
2853 * docutils/languages/en.py: Added "Dedication" bibliographic field
2854   mappings.
2856 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2857   Chodorowski.
2859 * docutils/parsers/rst/states.py:
2861   - Added underscores to improve many awkward names.
2862   - Added RFC-2822 header support.
2863   - Extracted the inline parsing code from ``RSTState`` to a separate
2864     class, ``Inliner``, which will allow easy subclassing.
2865   - Made local bindings for ``memo`` container & often-used contents
2866     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2867   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2868   - Added ``MarkupMismatch`` exception; for late corrections.
2869   - Added ``-/:`` characters to inline markup's start string prefix,
2870     ``/`` to end string suffix.
2871   - Fixed a footnote bug.
2872   - Fixed a bug with literal blocks.
2873   - Applied patch from Simon Budig: simplified regexps with symbolic
2874     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2875   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2876   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2877   - Allowed non-ASCII in "simple names" (directive names, field names,
2878     references, etc.).
2879   - Converted ``Inliner.patterns.initial`` to be dynamically built
2880     from parts with ``build_regexp()`` function.
2881   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2882   - Updated docstrings.
2883   - Changed "table" to "grid_table"; added "simple_table" support.
2885 * docutils/parsers/rst/tableparser.py:
2887   - Changed ``TableParser`` to ``GridTableParser``.
2888   - Added ``SimpleTableParser``.
2889   - Refactored naming.
2891 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2892   a fallback language for directive names.
2894 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2895   directive to use a ``pending`` element, used only by HTML writers.
2897 * docutils/parsers/rst/directives/parts.py: Renamed from
2898   components.py.
2900   - Added "backlinks" attribute to "contents" directive.
2902 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2903   project by Adam Chodorowski.
2905 * docutils/readers/__init__.py: Gave Readers more control over
2906   choosing and instantiating Parsers.
2908 * docutils/readers/pep.py: Added to project; for PEP processing.
2910 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2911   requires a ``component`` parameter.
2913 * docutils/transforms/components.py: Added to project; transforms
2914   related to Docutils components.
2916 * docutils/transforms/frontmatter.py:
2918   - In ``DocInfo.extract_authors``, check for a single "author" in an
2919     "authors" group, and convert it to a single "author" element.
2920   - Added support for "Dedication" and generic bibliographic fields.
2922 * docutils/transforms/peps.py: Added to project; PEP-specific.
2924 * docutils/transforms/parts.py: Renamed from old components.py.
2926   - Added filter for `Contents`, to use alt-text for inline images,
2927     and to remove inline markup that doesn't make sense in the ToC.
2928   - Added "name" attribute to TOC topic depending on its title.
2929   - Added support for optional TOC backlinks.
2931 * docutils/transforms/references.py: Fixed indirect target resolution
2932   in ``Hyperlinks`` transform.
2934 * docutils/transforms/universal.py:
2936   - Changed ``Messages`` transform to properly filter out system
2937     messages below the warning threshold.
2938   - Added ``Decorations`` transform (support for ``--generator``,
2939     ``--date``, ``--time``, ``--source-link`` options).
2941 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2942   Engelbert Gruber's PDF writer.
2944 * docutils/writers/html4css1.py:
2946   - Made XHTML-compatible (switched to lowercase element & attribute
2947     names; empty tag format).
2948   - Escape double-dashes in comment text.
2949   - Improved boilerplate & modularity of output.
2950   - Exposed modular output in Writer class.
2951   - Added a "generator" meta tag to <head>.
2952   - Added support for the ``--stylesheet`` option.
2953   - Added support for ``decoration``, ``header``, and ``footer``
2954     elements.
2955   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2956     translation table to regexp; restores Python 2.0 compatibility
2957     with Unicode.
2958   - Added the translator class as instance variable to the Writer, to
2959     make it easily subclassable.
2960   - Improved option list spacing (thanks to Richard Jones).
2961   - Modified field list output.
2962   - Added backlinks to footnotes & citations.
2963   - Added percentage widths to "<col>" tags (from colspec).
2964   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2965     "<span>" changed to "<var>".
2966   - Inline literals: "<code>" changed to "<tt>".
2967   - Many changes to optimize vertical space: compact simple lists etc.
2968   - Add a command-line options & directive attributes to control TOC
2969     and footnote/citation backlinks.
2970   - Added support for optional footnote/citation backlinks.
2971   - Added support for generic bibliographic fields.
2972   - Identify backrefs.
2973   - Relative URLs for stylesheet links.
2975 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2976   PEPs (subclass of ``html4css1.Writer``).
2978 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2980 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2981   of the Docutils internal doctree in XML.
2983 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2985 * spec/doctree.txt:
2987   - Changed the title to "The Docutils Document Tree".
2988   - Added "Hyperlink Bookkeeping" section.
2990 * spec/docutils.dtd:
2992   - Added ``decoration``, ``header``, and ``footer`` elements.
2993   - Brought ``interpreted`` element in line with the parser: changed
2994     attribute "type" to "role", added "position".
2995   - Added support for generic bibliographic fields.
2997 * spec/notes.txt: Continual updates.  Added "Project Policies".
2999 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
3000   section.
3002 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
3004 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
3005   mailing list discussions.
3007 * spec/pep-0287.txt:
3009   - Renamed to "reStructuredText Docstring Format".
3010   - Minor edits.
3011   - Reworked Q&A as an enumerated list.
3012   - Converted to reStructuredText format.
3014 * spec/pysource.dtd:
3016   - Reworked structural elements, incorporating ideas from Tony Ibbs.
3018 * spec/pysource.txt: Removed from project.  Moved much of its contents
3019   to pep-0258.txt.
3021 * spec/rst/alternatives.txt:
3023   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
3024   - Added "Inline External Targets" section.
3026 * spec/rst/directives.txt:
3028   - Added "backlinks" attribute to "contents" directive.
3030 * spec/rst/problems.txt:
3032   - Updated the Enumerated List Markup discussion.
3033   - Added new alternative table markup syntaxes.
3035 * spec/rst/reStructuredText.txt:
3037   - Clarified field list usage.
3038   - Updated enumerated list description.
3039   - Clarified purpose of directives.
3040   - Added ``-/:`` characters to inline markup's start string prefix,
3041     ``/`` to end string suffix.
3042   - Updated "Authors" bibliographic field behavior.
3043   - Changed "inline hyperlink targets" to "inline internal targets".
3044   - Added "simple table" syntax to supplement the existing but
3045     newly-renamed "grid tables".
3046   - Added cautions for anonymous hyperlink use.
3047   - Added "Dedication" and generic bibliographic fields.
3049 * test: Made test modules standalone (subdirectories became packages).
3051 * test/DocutilsTestSupport.py:
3053   - Added support for PEP extensions to reStructuredText.
3054   - Added support for simple tables.
3055   - Refactored naming.
3057 * test/package_unittest.py: Renamed from UnitTestFolder.py.
3059   - Now supports true packages containing test modules
3060     (``__init__.py`` files required); fixes duplicate module name bug.
3062 * test/test_pep/: Subpackage added to project; PEP testing.
3064 * test/test_rst/test_SimpleTableParser.py: Added to project.
3066 * tools:
3068   - Updated html.py and publish.py front-end tools to use the new
3069     command-line processing facilities of ``docutils.frontend``
3070     (exposed in ``docutils.core.Publisher``), reducing each to just a
3071     few lines of code.
3072   - Added ``locale.setlocale()`` calls to front-end tools.
3074 * tools/buildhtml.py: Added to project; batch-generates .html from all
3075   the .txt files in directories and subdirectories.
3077 * tools/default.css:
3079   - Added support for ``header`` and ``footer`` elements.
3080   - Added styles for "Dedication" topics (biblio fields).
3082 * tools/docutils.conf: A configuration file; added to project.
3084 * tools/docutils-xml.py: Added to project.
3086 * tools/pep.py: Added to project; PEP to HTML front-end tool.
3088 * tools/pep-html-template: Added to project.
3090 * tools/pep2html.py: Added to project from Python (nondist/peps).
3091   Added support for Docutils (reStructuredText PEPs).
3093 * tools/quicktest.py:
3095   - Added the ``--attributes`` option, hacked a bit.
3096   - Added a second command-line argument (output file); cleaned up.
3098 * tools/stylesheets/: Subdirectory added to project.
3100 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
3103 Release 0.1 (2002-04-20)
3104 ========================
3106 This is the first release of Docutils, merged from the now inactive
3107 reStructuredText__ and `Docstring Processing System`__ projects.  For
3108 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
3109 `DPS HISTORY`__ files.
3111 __ http://structuredtext.sourceforge.net/
3112 __ http://docstring.sourceforge.net/
3113 __ http://structuredtext.sourceforge.net/HISTORY.html
3114 __ http://docstring.sourceforge.net/HISTORY.html
3116 General changes: renamed 'dps' package to 'docutils'; renamed
3117 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
3118 the test suites (reStructuredText's test/test_states renamed to
3119 test/test_rst); and all modifications required to make it all work.
3121 * docutils/parsers/rst/states.py:
3123   - Improved diagnostic system messages for missing blank lines.
3124   - Fixed substitution_reference bug.
3128    Local Variables:
3129    mode: indented-text
3130    indent-tabs-mode: nil
3131    sentence-end-double-space: t
3132    fill-column: 70
3133    End: