Apply [ 125 ] respect automatic table column sizing also in html4css1.
[docutils.git] / docutils / HISTORY.txt
blobc6aa10948611a626618666e942bd5bc9ac4be8a6
1 .. -*- coding: utf-8 -*-
3 ==================
4  Docutils History
5 ==================
7 :Author: David Goodger; open to all Docutils developers
8 :Contact: docutils-develop@lists.sourceforge.net
9 :Date: $Date$
10 :Revision: $Revision$
11 :Web site: http://docutils.sourceforge.net/
12 :Copyright: This document has been placed in the public domain.
14 .. contents::
17 Changes Since 0.13.1
18 ====================
20 * docutils/docs/ref/docutils.dtd:
22   - Enable validation of Docutils XML documents against the DTD:
24     Use attribute type NMTOKEN instead of REFID for the `refid` attribute
25     and NMTOKENS for `backrefs`: REFID refers to an ID type instance,
26     however, the `ids` attribute cannot use the ID type because `XML only
27     allows one ID per Element Type`__ and doesn't support a multiple-ID
28     "IDS" attribute type.
30   __ https://www.w3.org/TR/REC-xml/#sec-attribute-types
32 * docs/ref/rst/restructuredtext.txt:
34   - Added documentation for escaped whitespace in URI contexts.
35   - Clarify use of Unicode character categories.
37 * docutils/parsers/rst/states.py:
39   - Added functionality: escaped whitespace in URI contexts.
40   - Recognize non-ASCII whitespace around inline literal, target,
41     and substitution.
43 * docutils/parsers/rst/directives/images.py:
45   - Added support for escaped whitespace in URI contexts.
47 * docutils/parsers/rst/directives/tables.py:
49   - Rework patch [ 120 ] (revert change to ``Table.get_column_widths()``
50     that led to problems in an application with a custom table directive).
52 * docutils/utils/__init__.py:
54   - Added ``split_escaped_whitespace`` function, support for escaped
55     whitespace in URI contexts.
57 * docutils/utils/smartquotes.py:
59   - Update quote definitions for languages et, fi, ro, sv, tr, uk.
60   - New quote definitions for hr, hsb, hu, lv, sl.
62 * docutils/writers/_html_base.py
64   - Provide default title in metadata (required by HTML5).
66 * docutils/writers/html4css1/__init__.py
68   - Apply [ 125 ] HTML writer: respect automatic table column sizing.
70 * tools/rst2html4.py: New front-end.
72 * tools/dev/generate_punctuation_chars.py: New skript
73   to test and update utils.punctuation_chars.
75 Release 0.13.1 (2016-12-09)
76 ===========================
78 * docutils/languages/fa.py
79   docutils/parsers/rst/languages/fa.py
80   docutils/languages/la.py
81   docutils/parsers/rst/languages/la.py:
83   - Apply [ 133 ] Persian mappings by Shahin Azad.
84   - Apply [ 135 ] Language modules for Latvian by Alexander Smishlajev
86 * docutils/nodes.py
88   - Fix [ 253 ] Attribute key without value not allowed in XML.
90 * docutils/parsers/
92   - Apply [ 103 ] Recognize inline markups without word boundaries.
93   - Enable escaping in embedded URIs and aliases (fixes [ 284 ]).
95 * docutils/parsers/rst/__init__.py
97   - Fix [ 233 ] Change the base URL for the :rfc: role.
99 * docutils/parsers/rst/directives/tables.py
101   - Apply [ 120 ] tables accept option widths: list of relative widths, 'auto'
102     or 'grid'.
104   - Implement feature request [ 48 ]
105     Add :align: option to the table directives.
106     Thanks to Takeshi KOMIYA for the patch.
108 * docutils/parsers/rst/roles.py
110   - Fix [ 295 ] Class argument for custom role inheriting from math.
112 * docutils/parsers/rst/tableparser.py
114   - Really fix [ 159 ] Spurious table column alignment errors.
116 * docutils/transforms/frontmatter.py
118   - Add name of generic bibliographic fields as a "classes" attribute value
119     (after conversion to a valid identifier form).
121 * docutils/utils/error_reporting.py
123   - Fix [ 130 ] support streams expectiong byte-strings in ErrorOutput.
125 * docutils/utils/math/math2html.py
127   - Add ``\colon`` macro, fix spacing around colons. Fixes [ 246 ].
128   - New upstream version (additional macros, piecewise integrals and sums).
130 * docutils/writers/_html_base.py
132   - New auxiliary module for definitions common to all HTML writers.
134 * docutils/writers/html5_polyglot/
136   - New HTML writer generating clean, polyglot_ markup conforming to
137     `HTML 5`_.
139     The CSS stylesheets ``minimal.css`` and ``plain.css`` contain required
140     and recommended layout rules.
142 * docutils/writers/html4css1/__init__.py
144   - Add "docutils" to class values for "container" object to address [ 267 ].
145   - Apply patch [ 119 ] by Anatoly Techtonik: use absolute paths for
146     ``default_stylesheet_path`` and ``default_template_path``.
147   - Fix [ 266 ] creating labels/class values in description list items.
148   - Do not use <sup> and <sub> tags inside <pre> (parsed-literal blocks).
149   - Fix footnotes with content that does not start with a paragraph.
150   - Use https in default MathJax URL (report Alan G Isaac).
151   - Outsourcing of common code to _html_base.py.
153 * docutils/writers/latex2e/__init__.py
155   - Fix [ 262 ] Use ``\linewidth`` instead of ``\textwidth`` for figures,
156     admonitions and docinfo.
158   - Use absolute path for ``default_template_path``.
160   - Removed deprecated options ``--use-latex-footnotes`` and
161     ``--figure-footnotes``.
163   - Cleaner LaTeX code for enumerations and literal blocks.
165   - Use "hyperref" package together with "bookmark" (improved hyperlinking
166     by the same author).
168   - Fix [ 286 ] Empty column title cause invalid latex file.
170   - Fix [ 224 ] Fix rowspan support for tables.
172   - Let LaTeX determine the column widths in tables with "colwidths-auto".
173     Not suited for multi-paragraph cells!
175 * docutils/writers/odf_odt/__init__.py
177   - remove decode.encode of filename stored in zip.
179 * docutils/writers/xetex/__init__.py
181   - LuaLaTex compatibility: do not load "xunicode".
183 * tools/
185   - New front-end ``rst2html5.py``.
187 * tox.ini
189   - Test py26, py27, py33 and py34.
191     To use, install the ``tox`` package via pip or easy_install and use
192     tox from the project root directory.
194 .. _polyglot: http://www.w3.org/TR/html-polyglot/
195 .. _HTML 5: http://www.w3.org/TR/html5/
196 .. _XHTML 1.0: http://www.w3.org/TR/xhtml1/
199 Release 0.12 (2014-07-06)
200 =========================
202 * docs/ref/rst/directives.txt
204   - Update "math" and "csv-table" descriptions.
206 * docutils/parsers/rst/directives/images.py
208   - Fix [ 258 ] figwidth="image" generates unitless width value.
210 * docutils/parsers/rst/states.py
212   - Improve error report when a non-ASCII character is specified as
213     delimiter, quote or escape character under Python 2.
214     Fixes [ 249 ] and [ 250 ].
216 * docutils/writers/html4css1/__init__.py
218   - Don't add newline after inline math.
219     Thanks to Yury G. Kudryashov for the patch.
221 * docutils/writers/latex2e/__init__.py
223   - Fix [ 239 ] Latex writer glues paragraphs with figure floats.
224   - Apply [ 116 ] by Kirill Smelkov. Don't hardcode \large for subtitle.
226 * docutils/writers/odf_odt/__init__.py
228   - Apply patch by Jakub Wilk to fix bug [ 100 ].
230 * test/test_error_reporting.py
232   - Fix [ 223 ] by removing redundant tests we do not have control over.
234 * test/test_nodes.py
236   - Apply [ 115 ] respect fixed 2to3 string literal conversion behavior.
238 Release 0.11 (2013-07-22)
239 =========================
241 * General
243   - Apply [ 2714873 ] Fix for the overwritting of document attributes.
244   - Support embedded aliases within hyperlink references.
245   - Fix [ 228 ] try local import of docutils components (reader, writer, parser,
246     language module) before global search.
248 * docutils/nodes.py
250   - Fix [ 3601607 ] node.__repr__() must return `str` instance.
252 * docutils/parsers/rst/directives/__init__.py
254   - Fix [ 3606028 ] ``assert`` is skipped with ``python -O``.
256 * docutils/parsers/rst/directives/images.py
258   - Apply [ 3599485 ] node source/line information for sphinx translation.
260 * docutils/parsers/rst/directives/tables.py
262   - Fix [ 210 ] Python 3.3 checks CVS syntax only if "strict" is True.
264 * docutils/parsers/rst/states.py
266   - Fix [ 157 ] Line block parsing doesn't like system message.
267   - Always import our local copy of roman.py (report Larry Hastings).
269 * docutils/transforms/references.py
271   - Fix [ 3607029 ] traceback with embedded alias pointing to missing target.
273 * docutils/utils/__init__.py
275   - Fix [ 3596884 ] exception importing ``docutils.io``.
277 * docutils/writers/html4css1/__init__.py
279   - Fix [ 3600051 ] for tables in a list, table cells are not compacted.
280   - New setting `stylesheet_dirs`: Comma-separated list of directories
281     where stylesheets are found. Used by `stylesheet_path` when expanding
282     relative path arguments.
283   - New default for math-output_: ``HTML math.css``.
284   - Avoid repeated class declarations in html4css1 writer
285     (modified version of patch [ 104 ]).
287 .. _math-output: docs/user/config.html#math-output
289 * docutils/writers/latex2e/__init__.py
291   - Drop the simple algorithm replacing straight double quotes with
292     English typographic ones.
293     Activate the SmartQuotes_ transform if you want this feature.
294   - Fix literal use of babel shorthands (straight quote, tilde, ...).
295   - Fix [ 3603246 ] Bug in option "--graphicx-option=auto".
296   - New setting `stylesheet_dirs`.
298 .. _SmartQuotes: docs/user/config.html#smart-quotes
300 * docutils/writers/manpage.py
302   - Fix [3607063] handle lines starting with a period.
303   - Fix option separating comma was bold (thanks to Bill Morris).
305 Release 0.10 (2012-12-16)
306 =========================
308 * General
310   - Dropped support for Python 2.3.
311   - ``docutils/math``, ``docutils/error_reporting.py``, and
312     ``docutils/urischemes.py`` moved to the utils package.
313   - Fix [3541369] Relative __import__ also with Python 3.3.
314   - Fix [3559988] and [3560841] __import__ local writer, reader, languages
315     and parsers for Python 2.7 up.
316   - Fix import of PIL.Image.
317   - Change default of "syntax highlight" option to "long",
318     basic syntax highlight styles for LaTeX and HTML.
320 * docutils/io.py
322   - FileInput/FileOutput: no system-exit on IOError.  The `handle_io_errors`
323     option is ignored and will be removed in a future release.
324   - Fix Py3k error writing to stdout with encoding differing from default.
325   - Fix opening binary files under Py3k (thanks to Dominic Fitzpatrick).
327 * docutils/parsers/rst/directives/misc.py
329   - Fix [ 3546533 ] Unicode error with `date` directive.
331 * docutils/transforms/universal.py
333   - SmartQuotes transform for typographic quotes and dashes.
335 * docutils/utils/__init__.py
337   - normalize_language_tag() now returns `BCP 47`_ conformant tags
338     with subtags separated by ``-``.
340 * docutils/writers/html4css1/__init__.py
342   - Use ``<code>`` tag for inline "code",
343     do not drop nested inline nodes (syntax highlight tokens).
344   - Customizable MathJax URL (based on patch by Dmitry Shachnev).
345   - No line break after opening inline math tag.
347 * docutils/writers/manpage.py
349   - Apply [ 3527401 ] addmonition's don't preserve indentation
350   - Apply [ 3527397 ] Add indentation to literal blocks in manpage writer.
352 * docutils/writers/xetex/__init__.py
354   - Apply [ 3555160 ] ensure order of "otherlanguages".
355   - Fix section numbering by LaTeX.
357 * docutils/writers/s5_html/__init__.py
359   - Fix [ 3556388 ] Mathjax does not work with rst2s5.
361 * docutils/writers/s5_html/docutils_xml.py
363   - Fix [ 3552403 ] Prevent broken PyXML replacing stdlibs xml module.
364   - Fix/improve output with ``--indent`` option.
366 * setup.py
368   - Tag ``math.css`` stylesheet as data file (patch by Dmitry Shachnev).
370 * tools/test/test_buildhtml.py
372   - Fix [ 3521167 ] allow running in any directory.
373   - Fix [ 3521168 ] allow running with Python 3.
376 Release 0.9.1 (2012-06-17)
377 ==========================
379 * setup.py
381   - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
382     installed in the PYTHONPATH. Converted tests are now
383     stored in ``test3/``, tools no longer need conversion.
385     If you installed one of Docutils versions 0.7 ... 0.9 with
386     ``setup.py install`` under Python 3, remove the spurious
387     ``test/`` and ``tools/`` directories in the site library root.
389 * test/
391   - Make tests independent from the location of the ``test/`` directory.
392   - Use converted sources (from the ``build/`` directory) for tests under
393     Python 3.
395 * tools/
397   - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
399 * docutils/io.py
401   - Fix writing binary data to sys.stdout under Python 3 (allows
402     ``rst2odt.py`` to be used with output redirection).
404 * docutils/parsers/rst/directives/misc.py
406   - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
407     ``locale == C`` and 8-bit char in path argument of `include` directive.
409 * test/alltests.py
411   - class `Tee`: catch UnicodeError when writing to "ascii" stream or
412     file under Python 3.
414 Release 0.9 (2012-05-02)
415 ========================
417 * General:
419   - New reStructuredText "code" role and directive and "code" option
420     of the "include" directive with syntax highlighting by Pygments_.
421   - Fix parse_option_marker for option arguments containing ``=``.
422   - Fix [ 2993756 ]: import Python Imaging Library's Image module
423     via ``import PIL`` as starting with PIL 1.2,
424     "PIL lives in the PIL namespace only" (announcement__).
426 .. _Pygments: http://pygments.org/
427 __ http://mail.python.org/pipermail/image-sig/2011-January/006650.html
429 * setup.py
431   - Fix [ 2971827 ] and [ 3442827 ]
432     extras/roman.py moved to docutils/utils/roman.py
434 * docutils/frontend.py
436   - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
438 * docutils/io.py
440   - Fix [ 3395948 ] (Work around encoding problems in Py3k).
441   - `mode` argument for FileOutput avoids code replication in
442     BinaryFileOutput.
443   - New exceptions InputError and OutputError for IO errors in
444     FileInput/FileOutput.
446 * docutils/core.py:
448   - No "hard" system exit on file IO errors: catch and report them in
449     `Publisher.reportException` instead. Allows handling by a calling
450     application if the configuration setting `traceback` is True.
452 * docutils/utils.py -> docutils/utils/__init__.py
454   - docutils.utils is now a package (providing a place for sub-modules)
456   .. note:: docutils/math, docutils/error_reporting.py, and
457      docutils/urischemes.py will move to the utils package in the next
458      release, too. See RELEASE-NOTES__
460      __ RELEASE-NOTES.html
462   - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
463     errors recording non-ASCII filenames (fixes [ 3434355 ]).
465   - Fix relative_path() with source=None and `unicode` target.
467 * docutils/parsers/rst/states.py
469   - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
470     characters and "international" quotes around inline markup.
471   - Use `field_marker` pattern to look for start of a
472     directive option block (fixes [ 3484857 ]).
474 * docutils/parsers/rst/tableparser.py
476   - Fix [ 2926161 ] for simple tables.
477     (Combining chars in grid tables still contribute to cell width.)
479 * docutils/writers/latex2e/__init__.py
481   - Support the `abbreviation` and `acronym` standard roles.
482   - Record only files required to generate the LaTeX source as dependencies.
483   - Fix handling of missing stylesheets.
484   - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
485     when suppressing LaTeX section numbering.
486   - Use ``\DUtitle`` for unsupported section levels
487   - Apply [ 3512791 ] do not compare string literals with "is"
489 * docutils/writers/xetex/__init__.py
491   - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
493 * docutils/writers/html4css1/__init__.py
495   - Change default for `math-output` setting to MathJax.
496   - Fix handling of missing stylesheets.
498 * docutils/writers/docutils_xml.py
500   - Use the visitor pattern with default_visit()/default_depart() methods
501     instead of minidom to facilitate special handling of selected nodes.
502   - Support raw XML (inserted as-is inside a <raw></raw> node).
504 * docutils/writers/manpage.py
506   - Do not emit comment line with trailing blank. Problematic for VCS.
508 Release 0.8.1 (2011-08-30)
509 ==========================
511 * General:
513   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
514     and [ 3395920 ] (correct copyright info for rst.el).
516 * test/
518   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
520 * docutils/writers/latex2e/__init__.py
522   - Clean up Babel language setting. Restores Sphinx compatibility.
524 Release 0.8 (2011-07-07)
525 ========================
527 * General:
529   - Handle language codes according to `BCP 47`_.
530   - If the specified language is not supported by Docutils,
531     warn and fall back to English.
532   - Math support: reStructuredText "math" role and directive,
533     ``math`` and ``math_block`` doctree elements.
534   - Decode command line arguments with the locale's preferred encoding
535     (to allow, e.g., ``--title=Dornröschen``).
536   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
537   - New sub-module `error_reporting`: handle encoding/decoding errors
538     when reporting exceptions.
539   - Some additions to the Docutils core are released under the 2-Clause BSD
540     license, see COPYING_ for details.
542   .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
543   .. _COPYING: COPYING.html
545 * reStructuredText:
547   - Most directives now support a "name" option that attaches a
548     reference name.
550   - Directive content may start on the first line also when the directive
551     type accepts options.
553 * docs/dev/policies.txt:
555   - Recommend the 2-Clause BSD license
556     (http://www.spdx.org/licenses/BSD-2-Clause)
557     for code that is kept under the author's copyright.
559 * tools/buildhtml.py:
561   - Fix ``--local`` switch.
563 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
565 * docutils/writers/html4css1/__init__.py
567   - Set "lang" argument for objects with class argument
568     "language-<language tag>".
569   - New setting "math-output" with support for HTML, MathML, and LaTeX.
571 * docutils/writers/latex2e/__init__.py
573   - Fix [ 3043986 ] AttributeError using :local: with table of content.
574   - Place title data in the document preamble.
575   - Load `babel` package only if required.
576   - Update list of supported languages.
577   - New config setting "hyperref-options".
578     No hard-coded "unicode" hyperref option (clash with xetex).
579   - Set language for custom roles, paragraphs, block-quotes, and
580     line-quotes with class argument "language-<language tag>".
581   - Fix [ 3095603 ] wrong quotes output for russian and other languages.
582   - Convert image URI to a local file path.
583   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
584     has more than one paragraph (Wolfgang Scherer).
585   - \leavevmode before longtable only when needed (prevents spurious vspace)
586   - do not advance table counter for tables without caption
588 * docutils/writers/xetex/__init__.py
590   - New writer generating LaTeX code for compiling with ``xelatex``.
592     A separate writer (inheriting from latex2e) instead of a ``--xetex``
593     option allows separate config options for XeTeX vs. LaTeX2e.
595 * docutils/writers/manpage.py
597   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
598   - Fix: vertical space cleaning for option group ``.``.
600 * tools/editors/emacs/rst.el:
602   - Fix [ 3001100 ] does not handle spaces in filenames
603     (thanks to Jakub Wilk)
605 * docutils/utils.py:
607   - strip whitespace from stylesheet arguments
608   - exclude combining chars from column_width()
609     (partial fix for [ 2926161 ])
611 * docutils/parsers/rst/directives/misc.py:
613   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
614     nested_parse
616 * docutils/io.py:
618   - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
619     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
621 Release 0.7 (2010-07-07)
622 ========================
624 * General:
626   - Fix [ 2881769 ] setup configuration.
627   - Fix [ 2788716 ] reporting problems in included files.
629 * docutils/io.py
631   - FileInput opens files as text files with universal newline support
632     (mode "rU", configurable with the new optional argument "mode").
634 * docutils/nodes.py
636   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
638 * docutils/utils.py
640   - Fix [ 2923723 ] let decode_path() tolerate path == None
642 * docutils/writers/html4css1/__init__.py
644   - Support SVG and SWF images (thanks to Stefan Rank).
645   - Generate valid XHTML for centered images with targets.
646     Use CSS classes instead of "align" tags for image alignment.
648 * docutils/writers/latex2e/__init__.py
650   - Use `transforms.writer_aux.Admonitions` to "normalize" special
651     admonitions.
652   - Use the ``\url`` command for URLs (breaks long URLs instead of
653     writing into the margin).
654   - Preserve runs of spaces in `inline literals`__.
655   - Deprecate ``figure_footnotes`` setting.
656   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
657   - New ``latex_preamble`` setting.
658   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
659   - Fix hyperlink targets (labels) for images, figures, and tables.
660   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
661   - Apply [ 2961991 ] Call hyperref with unicode option.
662   - Drop the special `output_encoding`__ default ("latin-1").
663     The Docutils wide default (usually "UTF-8") is used instead.
664   - Render inline markup in document title and subtitle.
665   - Fix numbering depth with LaTeX section numbering.
666   - Update Unicode -> LaTeX translations.
667   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
669 __ docs/ref/restructuredtext.html#inline-literals
670 __ docs/user/config.html#docutils-footnotes
671 __ docs/user/config.html#output_encoding
673 * docutils/writers/manpage.py
675   - Fix: supported attribute (thanks to peter2108).
676   - Remove trailing blanks in code (keep in sync with mercurial version).
677   - Titles level 1, that is ``.SH``, always uppercase.
678   - Apply patch from mg: literal text should be bold in man-pages.
680 * docutils/nodes.py
682   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
683     turkish locale.
685 * setup.py:
687   - Python 3 support: copy test/ and tools/ to the build-dir
688     and convert Python sources with 2to3.
691 Release 0.6 (2009-10-11)
692 ========================
694 * General:
696   - Docutils is now compatible with Python versions from 2.3 up to 2.6
697     and convertible to 3.1 code.
699     + Node.__nonzero__ returns True instead of 1.
700     + use os.walk instead os.path.walk.
701     + minimize "types" module where possible.
702     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
703     + Text nodes now subclass unicode rather than UserString
704       (which is gone in python 3.0).
705     + 3.0 compatibility module docutils._compat
707     + Drop 2.2 compatibility workarounds.
708     + Drop extras/optparse.py and extras/textwrap.py
709       (stdlib modules since 2.3).
711   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
712   - Unix man page export: manpage writer moved from sandbox to Doctutils
713     core.
715   - Apply [ 1719345 ] Galician translation
716   - Apply [ 1905741 ] Polish translation
717   - Apply [ 1878977 ] make_id(): deaccent characters.
718   - Apply [ 2029251 ] return nonzero when tests fail.
719   - Fix [ 1692788 ] allow UTF-8 in style sheets.
720   - Fix [ 2781629 ] support non-ASCII chars in file names.
721   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
722   - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
723   - Fix [ 2821266 ] --strict option works now like --halt=info.
724   - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
725   - Fix [ 1627229 ] hyperlink references in substitutions.
727   - The "newlatex" writer is orphaned.
729 * reStructuredText:
731   - Documented Unicode characters allowed as inline markup openers,
732     closers, and delimiters.
733   - Allow units for all length specifications.
734   - Allow percent sign in "scale" argument of "figure" and "image" directives.
735   - Bugfix: The "figalign" argument of a figure now works as intended
736     (aligning the figure, not its contents).
737   - Align images with class "align-[right|center|left]"
738     (allows setting the alignment of an image in a figure).
740 * docutils/nodes.py:
742   - Added ``Element.__contains__`` method, for the in-operator.
744 * docutils/parsers/rst/states.py:
746   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
747   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
748     " " (non-breaking space), and "¡ ¿" openers.
750 * docutils/parsers/directives/misc.py:
752   - Added ``start-line`` and ``end-line`` options to "include"
753     directive to select a range of lines.
754   - Hard tabs in literal inclusions are replaced by spaces. This is
755     configurable via the new ``tab-width`` option of the "include" directive
756     (a negative tab-width prevents tab expansion).
758 * docutils/utils.py:
760   - Add ``get_stylesheet_list`` function.
761   - Apply [ 2834836 ] print info at halt
763 * docutils/transforms/universal.py:
765   - Raise default priority of StripClasses to exclude stripped classes from
766     the ToC.
768 * docutils/writers/html4css1/__init__.py:
770   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
771     separated list of stylesheets.
772   - Address [ 1938891 ] Inline literal text creates "pre" span only when
773     needed to prevent inter-word line wraps.
774   - Use `translate` method instead of repeated `replace` calls.
775   - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
776     classes to allow CSS styling that does not interfere with other
777     table-using constructs (field lists, citations, ...).
779 * docutils/writers/newlatex2e/__init__.py:
781   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
783 * docutils/writers/latex2e/__init__.py (see also
784   `<docs/user/docutils-05-compat.sty.html>`__) :
786   - Add ``--embed-stylesheet`` option.
787   - Apply [ 1474017 ] image vertical alignment is reversed.
788   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
789   - Change: has_key for dictionaries (not Nodes) to in-operator.
790   - Merge adjacent citations into one latex cite command.
791   - Failsave implementation of custom roles. LaTeX compilation now ignores
792     unknown classes instead of aborting with an error.
793   - Support custom roles based on standard roles.
794   - LaTeX packages can be used as ``--stylesheet`` arguments without
795     restriction. (A style sheet is now referenced with the ``\usepackage``
796     command, if it ends with ``.sty`` or has no extension.)
797   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
798   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
799   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
800     2005-02-04 as a configurable length unit).
801   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
802     if font-encoding is set to ''. LaTeX defaults to OT1 then.
803   - Set sub- and superscript role argument in text mode not as math.
804     Use a custom role based on sub-/superscript if you want italic shape.
805   - Shorter preamble and less dependencies: Load packages and define macros
806     only if required in the document.
807   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
808   - New custom environments and commands with optional "classes" argument.
809   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
810   - Better conformance to Docutils specifications with ``--use-latex-toc``.
811     Support for LaTeX generated ToC also with unnumbered sections.
812   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
813     section numbering by LaTeX.
814   - Use default font in admonitions and sidebar.
815   - Align of image in a figure defaults to 'center'.
816   - Bugfix: Newlines around targets and references prevent run-together
817     paragraphs.
818   - Fix internal hyperlinks.
819   - Use class defaults for page margins ('typearea' now optional).
820   - Float placement made configurable, default changed to "here definitely".
821   - Typeset generic topic as "quote block with title".
822   - Use template (file and configuration option).
823   - In the default template, load cmap.sty (fix text extraction in PDF) and
824     fixltx2e.sty (LaTeX patches, \textsubscript).
825   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
826   - Use `translate` instead of repeated `replace` calls for text encoding.
827   - Hyperlinked footnotes and support for symbol footnotes and
828     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
829   - Complete pairs of binary options
830     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
831     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
832   - New defaults:
833     - font-encoding: "T1" (formerly implicitely set by 'ae').
834     - use-latex-toc: true (ToC with page numbers).
835     - use-latex-footnotes: true (no mixup with figures).
837 * docutils/writers/manpage.py
839   - Do not print version at document end, this is done by the viewer.
840   - Do not print date at document end, this is done by the viewer.
841   - Fix storage of docinfo fields for none standard fields.
843 * docutils/tools/rst2man.py
845 Release 0.5 (2008-06-25)
846 ========================
848 * docutils/languages/he.py: Added to project: Hebrew mappings by
849   Meir Kriheli.
851 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
852   mappings by Meir Kriheli.
854 * docutils/frontend.py:
856   - Configuration files are now assumed and required to be
857     UTF-8-encoded.
858   - Paths of applied configuration files are now recorded in the
859     runtime setting ``_config_files`` (accessible via
860     ``--dump-settings``).
861   - Added ``--strip-elements-with-class`` and ``--strip-class``
862     options (``strip_elements_with_classes`` and ``strip_classes``
863     settings).
865 * docutils/io.py:
867   - Added code to determine the input encoding from data: encoding
868     declarations or the presence of byte order marks (UTF-8 & UTF-16).
869   - Added support for IronPython 1.0.
871 * docutils/nodes.py:
873   - Added ``document.__getstate__`` method, for pickling.
875 * docutils/parsers/rst/states.py:
877   - Allow ``+`` and ``:`` in reference names.
878   - Unquoted targets beginning with an underscore (``.. __target:
879     URI``) are no longer accepted.
880   - Added support for multiple attributions in a physical block quote
881     (indented text block), dividing it into multiple logical block
882     quotes.
883   - Added support for unicode bullets in bullet lists: "•", "‣", and
884     "⁃".
885   - Added support for new object-oriented directive interface,
886     retaining compatibility to the old functional interface.
887   - Added support for throwing ``DirectiveError``'s from within
888     directive code.
890 * docutils/parsers/rst/__init__.py:
892   - Added ``Directive`` base class.
893   - Added ``DirectiveError`` base class.
894   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
895     definitions.
897 * docutils/parsers/directives/:
899   - Refactored all reStructuredText directives to use the new
900     object-oriented directive interface.  Errors are now (mostly)
901     thrown using the new ``DirectiveError`` class.
903 * docutils/parsers/directives/misc.py:
905   - Added ``start-after`` and ``end-before`` options to ``include``
906     directive; thanks to Stefan Rank.
908 * docutils/transforms/universal.py:
910   - Added ``StripClassesAndElements`` transform to remove from the
911     document tree all elements with classes in
912     ``settings.strip_elements_with_classes`` and all "classes"
913     attribute values in ``self.document.settings.strip_classes``.
915 * docutils/transforms/writer_aux.py:
917   - Added ``Admonitions`` transform to transform specific admonitions
918     (like ``note``, ``warning``, etc.) into generic admonitions with a
919     localized title.
921 * docutils/writers/html4css1/__init__.py:
923   - Moved template functionality from the PEP/HTML writer here.
924   - Expanded the fragments available in the ``parts`` attribute.
925   - Moved ``id`` attributes from titles to surrounding ``div``
926     elements.
927   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
928     universally supported now).
929   - ``template.txt`` is now opened in text mode instead of binary mode
930     (to ensure Windows compatibility).
931   - ``a`` elements now have an "internal" or "external" class,
932     depending on reference type.
934 * docutils/writers/html4css1/template.txt: Added to project.
936 * docutils/writers/pep_html/:
938   - Moved template functionality to the HTML writer.
940 * docutils/writers/s5_html/__init__.py:
942   - Added ``view_mode`` & ``hidden_controls`` settings
943     (``--view-mode`` & ``--hidden-controls/--visible-controls``
944     options).
946 * docutils/writers/latex2e/__init__.py:
948   - Add ``--literal-block-env``
949   - Fix: escaping ``%`` in href urls.
950   - Move usepackage hyperref after stylesheet inclusion.
951   - Fix: scrartcl does not have chapter but scrreprt.
952   - Add newline after ``\end{verbatim}``.
953   - Merge smaller differences from latex2e_adaptive_preamble.
954   - Add ``use-part-section``.
955   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
956   - Using leavemode option_list no longer needs to check if parent
957     is a definition list.
958   - Append ``\leavemode`` to definition list terms.
959   - No longer write visit\_/depart_definition_list_item comments to
960     output.
961   - Table column width with 3 decimal places.
962   - Add table stubs support (boldfont).
963   - Add assemble_parts to writer.
964   - Add simply support for nested tables.
965   - Fix verbatim in tables if use-verbatim-when-possible.
966   - Use section commands down to subparagraph.
967   - Put ensuremath around some latin1 chars.
968   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
969   - New option ``--use-bibtex=style,db1,db2``.
970   - New option ``--reference-label`` to allow usage of LaTeX ref for
971     labels in section references.
972   - Add a label after every section to support sectionnumbers as reference
973     labels.
974   - Fix: bug# 1605376 rst2latex: bad options group list
975   - Remove inactive code for use_optionlist_for_option_list.
976   - Remove latex comments from option_list output.
977   - Fix: bug# 1612270 double qoutes in italian literal.
978   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
979   - Add option --use-latex-abstract.
980   - Image width unit ``px`` is translated to ``pt``.
981   - Add image height support.
982   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
983     bug #1457388
984   - Fix: Do not escape underscores in citation reference labels if
985     use-latex-citations is set.
986   - Use centering instead of center for figure contents, to avoid vertical
987     space.
988   - Recognize table class: borderless, nolines, booktabs, standard.
989   - Fix: Renaming contents section does not work with latex writer; SF
990     bug #1487405.
991   - Applied patch for custom roles with classes from Edward Loper.
992   - Fixed bug that caused crashes with more than 256 lists.
994 * docutils/writers/pep_html/__init__.py:
996   - Changed to support new python.org website structure and
997     pep2pyramid.py.
999 * docs/howto/security.txt: "Deploying Docutils Securely", added to
1000   project.
1002 * tools/buildhtml.py:
1004   -- Added ``ignore`` setting to exclude a list of shell patterns
1005      (default: ``.svn:CVS``).
1007 * tools/editors/emacs/rst.el:
1009   - Changed license to "GPL".
1010   - Added ``rst-straighten-decorations`` function.
1011   - The ``compile`` module is now always loaded.
1012   - Added ``rst-toggle-line-block`` function.
1013   - Headings consisting only of non-ASCII characters are now
1014     recognized by ``rst-toc`` and ``rst-adjust``.
1015   - Added font-lock support for multi-line comments where the first
1016     comment line is empty.
1017   - Added ``(require 'font-lock)``.
1019 * setup.py:
1021   - Provide descriptive error message if distutils is missing.
1024 Release 0.4 (2006-01-09)
1025 ========================
1027 * General:
1029   - Updated the project policies for trunk/branch development &
1030     version numbering.
1032 * docutils/__init__.py:
1034   - Added ``__version_details__`` attribute to describe code source
1035     (repository/snapshot/release).
1036   - Replaced ``default_transforms`` attribute of TransformSpec with
1037     ``get_transforms()`` method.
1039 * docutils/core.py:
1041   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
1042     functions, for document tree extraction and reprocessing.
1044 * docutils/io.py:
1046   - Added ``DocTreeInput`` class, for reprocessing existing documents.
1047   - Added support for non-Unicode (e.g. binary) writer output.
1049 * docutils/nodes.py:
1051   - Re-introduced ``Targetable.indirect_reference_name``, for
1052     MoinMoin/reST compatibility (removed in r3124/r3129).
1053   - Added ``serial_escape`` function; escapes string values that are
1054     elements of a list, for serialization.  Modified Docutils-XML
1055     writing (``Element._dom_node``) and pseudo-XML writing
1056     (``Element.starttag``) to use ``serial_escape``.
1057   - Added ``Node.deepcopy()`` method.
1058   - Removed the internal lists ``document.substitution_refs``,
1059     ``document.anonymous_refs``, and ``document.anonymous_targets``.
1060   - Added a "container" element.
1061   - Fixed bug where values of list-valued attributes of elements
1062     originating from custom interpreted text roles (i.e., with custom
1063     classes) were being shared between element instances.  Reported by
1064     Shmuel Zeigerman.
1066 * docutils/statemachine.py:
1068   - Added trailing whitespace stripping to ``string2lines()``.
1069   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
1070     Asian double-width character support.
1072 * docutils/utils.py:
1074   - Added ``east_asian_column_width()`` for double-width character
1075     support.
1077 * docutils/languages/ja.py: Added to project: Japanese mappings by
1078   Hisashi Morita.
1080 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
1081   mappings by Panjunyong.
1083 * docutils/parsers/null.py: Added to project; a do-nothing parser.
1085 * docutils/parsers/rst/__init__.py:
1087   - Added validator to tab_width setting, with test.  Closes SF bug
1088     #1212515, report from Wu Wei.
1090 * docutils/parsers/rst/states.py:
1092   - Fixed bug with escaped colons indicating a literal block.
1093   - Fixed bug with enumerated lists (SF#1254145).
1094   - Backslash-escaped colons inside of field names are now allowed.
1095   - Targets (implicit and explicit), anonymous hyperlink references
1096     and auto-numbered footnote references inside of substitution
1097     definitions are now disallowed.
1098   - Fixed bug: list items with blank first lines.
1099   - Fixed bug: block quote attributions with indented second lines.
1100   - Added East Asian double-width character support (Python 2.4 only).
1102 * docutils/parsers/rst/tableparser.py:
1104   - Added East Asian double-width character support (Python 2.4 only).
1106 * docutils/parsers/rst/directives/body.py:
1108   - Added the "container" directive.
1110 * docutils/parsers/rst/directives/misc.py:
1112   - Added the "default-role", "title", and "date" directives.
1113   - Added standard data file syntax to the "include" directive.
1114   - Added support for "class" directive content.
1116 * docutils/parsers/rst/directives/images.py:
1118   - Added ``indirect_reference_name`` support for images with a target
1119     option.
1120   - Added support for image width and height units.
1121   - Fixed bug with image "target" options.
1123 * docutils/parsers/rst/directives/references.py:
1125   - Added "class" attribute to "target-notes" directive, for
1126     footnote_reference classes.
1128 * docutils/parsers/rst/include/: Directory added to project; contains
1129   standard data files for the "include" directive.  Initial contents:
1130   character entity substitution definition sets, and a set of
1131   definitions for S5/HTML presentations.
1133 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
1134   mappings by David Goodger.
1136 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
1137   Simplified Chinese mappings by Panjunyong.
1139 * docutils/readers/__init__.py:
1141   - Added universal.Decorations and universal.ExposeInternals
1142     transforms as default transforms for all readers.
1143   - Added ``ReReader`` base class for readers that reread an existing
1144     document tree.
1146 * docutils/readers/doctree.py: Added to project; a reader for existing
1147   document trees.
1149 * docutils/transforms/frontmatter.py:
1151   - Fixed the DocInfo transform to handle SVN-style expansion of the
1152     "Date" keyword.
1153   - In ``DocInfo.extract_authors``, treat the contents of "authors"
1154     fields uniformly.
1156 * docutils/transforms/misc.py:
1158   - Added misc.Transitions transform, extracted from
1159     universal.FinalChecks.
1161 * docutils/transforms/references.py:
1163   - Added references.DanglingReferences transform, extracted from
1164     universal.FinalChecks.
1165   - Fixed bug with doubly-indirect substitutions.
1166   - Added footnote_reference classes attribute to "TargetNotes".
1167   - Fixed bug with circular substitution definitions that put Docutils
1168     into an infinite loop.
1170 * docutils/transforms/universal.py:
1172   - Added universal.ExposeInternals transform, extracted from
1173     universal.FinalChecks.
1174   - Removed universal.FinalChecks transform (logic has been moved to
1175     several new transforms).
1176   - Fixed bug with the "expose_internals" setting and Text nodes
1177     (exposed by the "rawsource" internal attribute).
1178   - Added the universal.StripComments transform, implementation of the
1179     "strip_comments" setting.
1181 * docutils/transforms/writer_aux.py: Added to project; auxiliary
1182   transforms for writers.
1184   - Added ``Compound`` transform, which flattens compound paragraphs.
1186 * docutils/writers/: Several writer modules (html4css1.py) were
1187   converted into packages.  Support modules and data files have been
1188   moved into the packages.  The stylesheets for the HTML writers are
1189   now installed along with the code, the code knows where to find
1190   them, and the default is to use them (actually, to embed them).
1191   Some adjustments to configuration files may be necessary.  The
1192   easiest way to obtain the new default behavior is to remove all
1193   settings whose name includes "stylesheet".
1195 * docutils/writers/__init__.py:
1197   - Added universal.Messages and universal.FilterMessages transforms
1198     as default transforms for all writers.
1199   - Added ``UnfilteredWriter`` base class for writers that pass the
1200     document tree on unchanged.
1202 * docutils/writers/docutils_xml.py:
1204   - Made ``xmlcharrefreplace`` the default output encoding error
1205     handler.
1207 * docutils/writers/html4css1/:
1209   - Added support for image width and height units.
1210   - Made ``xmlcharrefreplace`` the default output encoding error
1211     handler.
1212   - Made ``--embed-stylesheet`` the default rather than
1213     ``--link-stylesheet``.
1214   - Moved "id" attribute from container (section etc.) to title's <a>
1215     tag, to be on the same tag as "name".
1216     (!!! To be reverted in Docutils 0.5.)
1217   - Added vertical space between fields of field lists.
1218   - Added ``--compact-field-lists`` option to remove vertical space in
1219     simple field lists.
1220   - Made cloaking of email addresses with ``--cloak-email-addresses``
1221     less obtrusive.
1222   - Fixed support for centered images.
1223   - Added support for class="compact" & class="open" lists.
1225 * docutils/writers/latex2e/:
1227   - Underscores in citekeys are no longer escaped.
1229 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
1230   mapping of Unicode characters to LaTeX equivalents.
1232 * docutils/writers/s5_html/: Package added to project; writer for
1233   S5/HTML slide shows.
1235 * docs/dev/distributing.txt: Added to project; guide for distributors
1236   (package maintainers).
1238 * docs/dev/hacking.txt: Added to project; guide for developers.
1240 * docs/ref/doctree.txt:
1242   - Updated for plural attributes "classes", "ids", "names",
1243     "dupnames".
1244   - Added the "container" element.
1246 * docs/ref/docutils.dtd:
1248   - Updated for plural attributes "classes", "ids", "names",
1249     "dupnames".
1251 * docs/user/emacs.txt: Added to project; a document about Emacs
1252   support for reStructuredText and Docutils.
1254 * docs/user/links.txt: Added to project; lists of Docutils-related
1255   links.
1257 * docs/user/mailing-lists.txt: Added to project; information about
1258   Docutils-related mailing lists and how to access them.
1260 * docs/user/slide-shows.txt: Added to project; example of and docs for
1261   the S5/HTML writer (``rst2s5.py`` front end).
1263 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
1264   Files", added to project.
1266 * test/coverage.sh: Added to project; test coverage script.
1268 * test/DocutilsTestSupport.py:
1270   - Added support for specifying runtime settings at the suite level.
1272 * test/test_functional.py:
1274   - Added the ``clear_output_directory`` function.
1275   - Added support for ``_test_more`` functions in functional test
1276     config files.
1278 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
1280 * tools/rstpep2html.py: Renamed from pep.py.
1282 * tools/dev/create_unimap.py: Added to project; script to create the
1283   docutils/writers/unimap_latex.py mapping file.
1285 * tools/dev/profile_docutils.py: Added to project; profiler script.
1287 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
1289 * tools/editors/emacs/restructuredtext.el,
1290   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
1291   Removed from project; the functionality is now contained in rst.el.
1293 * tools/editors/emacs/rst.el: Added to project.  Added many features
1294   and fixed many bugs.  See docs/user/emacs.txt for details.
1296 * tools/stylesheets: Removed from project.  Stylesheets have been
1297   renamed and moved into writer packages.
1300 Release 0.3.9 (2005-05-26)
1301 ==========================
1303 * General:
1305   - Eliminated and replaced all uses of the old string attributes
1306     ``id``, ``name``, ``dupname`` and ``class`` with references to the
1307     new list attributes ``ids``, ``names``, ``dupnames`` and
1308     ``classes`` throughout the whole source tree.
1310 * docutils/core.py:
1312   - Enabled ``--dump-*`` options when ``--traceback`` specified,
1313     allowing for easier debugging.
1314   - In ``Publisher.publish()``, expanded the generic top-level
1315     exception catching.
1317 * docutils/examples.py:
1319   - Added ``internals`` function for exploration.
1321 * docutils/io.py:
1323   - Fixed ``Input.decode`` method to apply heuristics only if no
1324     encoding is explicitly given, and to provide better reporting of
1325     decoding errors.
1326   - The ``Input.decode`` method now removes byte order marks (BOMs)
1327     from input streams.
1329 * docutils/nodes.py:
1331   - ``image`` element class changed to subclass of Element, not
1332     TextElement (it's an empty element, and cannot contain text).
1333   - Added ``attr_defaults`` dictionary for default attribute values.
1334   - Added empty list as default value for the following attributes:
1335     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
1336   - Added ``document.decoration`` attribute,
1337     ``document.get_decoration`` method, and ``decoration.get_header``
1338     & ``.get_footer`` methods.
1339   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
1340     methods.
1342 * docutils/utils.py:
1344   - Removed ``docutils.utils.Reporter.categories``,
1345     ``docutils.utils.ConditionSet``, and all references to them, to
1346     simplify error reporting.
1348 * docutils/languages/nl.py: Added to project; Dutch mappings by
1349   Martijn Pieters.
1351 * docutils/parsers/rst/__init__.py:
1353   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
1355 * docutils/parsers/rst/states.py:
1357   - Added check for escaped at-mark to prevent email address recognition.
1358   - Fixed option lists to allow spaces inside ``<angle-bracketed option
1359     arguments>``.
1360   - Allowed whitespace in paths and URLs.
1361   - Added auto-enumerated list items.
1362   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
1363     followed by text.
1364   - Added support for table stub columns.
1366 * docutils/parsers/rst/directives/__init__.py:
1368   - Allowed whitespace in paths (``path`` function).
1369   - Added ``uri`` directive option conversion function.
1371 * docutils/parsers/rst/directives/body.py:
1373   - Fixed illegal context bug with "topic" directive (allowed within
1374     sidebars; not within body elements).
1376 * docutils/parsers/rst/directives/images.py:
1378   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
1379   - Added support for the ``file_insertion_enabled`` setting in the
1380     "figure" directive (disables "figwidth" option).
1381   - "image" directive: added checks for valid values of "align" option,
1382     depending on context.  "figure" directive: added specialized
1383     "align" option and attribute on "figure" element.
1384   - Made ":figwidth: image" option of "figure" directive work again.
1385   - Fixed bug with reference names containing uppercase letters
1386     (e.g. ``Name_``) in "target" option of "image" directive.
1388 * docutils/parsers/rst/directives/misc.py:
1390   - Fixed "include" and "raw" directives to catch text decoding
1391     errors.
1392   - Allowed whitespace in "include" & "raw" directive paths.
1393   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
1394     settings in "include" & "raw" directives.
1396 * docutils/parsers/rst/directives/parts.py:
1398   - Added "header" & "footer" directives.
1399   - Fixed illegal context bug with "contents" directive (topics
1400     allowed within sidebars; not within body elements).
1402 * docutils/parsers/rst/directives/tables.py:
1404   - Added "list-table" directive.
1405   - Caught empty CSV table bug.
1406   - Added support for the ``file_insertion_enabled`` setting in the
1407     "csv-table" directive.
1408   - Added ``stub-columns`` option to "csv-table" and "list-table"
1409     directives.
1411 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1412   mappings by Martijn Pieters.
1414 * docutils/readers/standalone.py:
1416   - Added ``--section-subtitles`` and ``--no-section-subtitles``
1417     options to activate or deactivate the SectSubTitle transform.
1419 * docutils/transforms/frontmatter.py:
1421   - Added SectSubTitle transform to promote titles of lone
1422     subsections to subtitles.
1424 * docutils/transforms/references.py:
1426   - Fixed mislocated internal targets bug, by propagating internal
1427     targets to the next node, making use of the newly added support
1428     for multiple names and IDs.
1429   - Fixed duplicate footnote label bug.
1430   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1431     transform.
1433 * docutils/writers/html4css1.py:
1435   - Fixed unencoded stylesheet reference bug (characters like "&" in
1436     stylesheet references).
1437   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1438     tags).
1439   - Added support for multiple IDs per node by creating empty ``span``
1440     tags.
1441   - Added the ``field_name_limit`` & ``option_limit`` settings &
1442     support.
1443   - Added support for table stub columns.
1444   - Added support for the ``align`` attribute on ``figure`` elements.
1445   - Added the ``cloak_email_addresses`` setting & support.
1446   - Added ``html_prolog``, ``html_head``, ``html_body``,
1447     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1448     ``docutils.core.publish_parts``.
1449   - Added support for section subtitles.
1451 * docutils/writers/latex2e.py:
1453   - Fixed tables starting with more than one multirow cell.
1454   - Improved --use-latex-docinfo so that organization/contact/address
1455     fields are lumped with the last author field and appear on the
1456     titlepage.
1457   - Made sure the titlepage is always shown with --use-latex-docinfo,
1458     even if the document has no title.
1459   - Made sure that latex doesn't fill in today's date if no date field
1460     was given.
1461   - Added support for section subtitles.
1463 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1464   (under development).
1466 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1468 * docs/api/publisher.txt:
1470   - Added "``publish_parts`` Details" section.
1472 * docutils/dev/repository.txt: Added to project; information about the
1473   Docutils Subversion repository.
1475 * docs/ref/docutils.dtd:
1477   - Added a ``stub`` attribute to the ``colspec`` element via the
1478     ``tbl.colspec.att`` parameter entity.
1479   - Allowed topic elements within sidebars
1480   - Added an ``align`` attribute to the ``figure`` element.
1482 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1483   writer.
1486 Release 0.3.7 (2004-12-24)
1487 ==========================
1489 * docutils/frontend.py:
1491   - Added options: --input-encoding-error-handler,
1492     --record-dependencies, --leave-footnote-reference-space,
1493     --strict-visitor.
1494   - Added command-line and config file support for "overrides" setting
1495     parameter.
1497 * docutils/io.py:
1499   - Added support for input encoding error handler.
1501 * docutils/nodes.py:
1503   - Added dispatch_visit and dispatch_departure methods to
1504     NodeVisitor; useful as a hook for Visitors.
1505   - Changed structure of ``line_block``; added ``line``.
1506   - Added ``compound`` node class.
1507   - Added a mechanism for Visitors to transitionally ignore new node
1508     classes.
1510 * docutils/utils.py:
1512   - Moved ``escape2null`` and ``unescape`` functions from
1513     docutils/parsers/rst/states.py.
1515 * docutils/parsers/rst/roles.py:
1517   - Added "raw" role.
1518   - Changed role function API: the "text" parameter now takes
1519     null-escaped interpreted text content.
1521 * docutils/parsers/rst/states.py:
1523   - Fixed bug where a "role" directive in a nested parse would crash
1524     the parser; the state machine's "language" attribute was not being
1525     copied over.
1526   - Added support for line block syntax.
1527   - Fixed directive parsing bug: argument-less directives didn't
1528     notice that arguments were present.
1529   - Removed error checking for transitions.
1530   - Added support for multiple classifiers in definition list items.
1531   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1532   - Changed role function API: the "text" parameter now takes
1533     null-escaped interpreted text content.
1534   - Empty sections and documents are allowed now.
1536 * docutils/parsers/rst/directives/__init__.py:
1538   - Added ``encoding`` directive option conversion function.
1539   - Allow multiple class names in class_option conversion function.
1541 * docutils/parsers/rst/directives/body.py:
1543   - Converted the line-block directive to use the new structure.
1544   - Extracted the old line-block functionality to the ``block``
1545     function (still used).
1546   - Added ``compound`` directive (thanks to Lea Wiemann).
1548 * docutils/parsers/rst/directives/misc.py:
1550   - Added "encoding" option to "include" and "raw" directives.
1551   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1552   - Allow multiple class names in the "class" directive.
1554 * docutils/parsers/rst/directives/parts.py:
1556   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1557     options.  Thanks to Lele Gaifax.
1559 * docutils/parsers/rst/directives/tables.py:
1561   - Added "encoding" directive to "csv-table" directive.
1562   - Added workaround for lack of Unicode support in csv.py, for
1563     non-ASCII CSV input.
1565 * docutils/transforms/misc.py:
1567   - Fixed bug when multiple "class" directives are applied to a single
1568     element.
1569   - Enabled multiple format names for "raw" directive.
1571 * docutils/transforms/references.py:
1573   - Added support for trimming whitespace from beside substitution
1574     references.
1576 * docutils/transforms/universal.py:
1578   - FinalChecks now checks for illegal transitions and moves
1579     transitions between sections.
1581 * docutils/writers/html4css1.py:
1583   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
1584   - "stylesheet" and "stylesheet_path" settings are now mutually
1585     exclusive.
1586   - Added support for the new line_block/line structure.
1587   - --footnote-references now overrides
1588     --trim-footnote-reference-space, if applicable.
1589   - Added support for ``compound`` elements.
1590   - Enabled multiple format names for "raw" directive.
1591   - ``<p>`` tags of a paragraph which is the only visible child of the
1592     document node are no longer stripped.
1593   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1594     new method ``should_be_compact_paragraph()``.
1595   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1596     elements.
1597   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1598     the output if they have their ``class`` attribute set.
1599   - The whole document is now surrounded by a ``<div
1600     class="document">`` element.
1601   - Body-level images are now wrapped by their own ``<div>`` elements,
1602     with image classes copied to the wrapper, and for images which
1603     have the ``:align:`` option set, the surrounding ``<div>`` now
1604     receives a class attribute (like ``class="align-left"``).
1606 * docutils/writers/latex2e.py:
1608   - no newline after depart_term.
1609   - Added translations for some Unicode quotes.
1610   - Added option "font-encoding", made package AE the default.
1611   - "stylesheet" and "stylesheet_path" settings are now mutually
1612     exclusive.
1613   - --footnote-references now overrides
1614     --trim-footnote-reference-space, if applicable.
1615   - The footnote label style now matches the footnote reference style
1616     ("brackets" or "superscript").
1617   - Added support for ``compound`` elements.
1618   - Enabled multiple format names for "raw" directive.
1620 * docs/ref/docutils.dtd:
1622   - Changed structure of the ``line_block`` element; added ``line``.
1623   - Added ``compound`` element.
1624   - Added "ltrim" and "rtrim" attributes to
1625     ``substitution_definition`` element.
1626   - Enabled multiple format names for ``raw`` element.
1627   - Enabled multiple classifiers in ``definition_list_item`` elements.
1629 * docs/ref/rst/directives.txt
1631   - Marked "line-block" as deprecated.
1632   - "Class" directive now allows multiple class names.
1633   - Added "Rationale for Class Attribute Value Conversion".
1634   - Added warning about "raw" overuse/abuse.
1636 * docs/ref/rst/restructuredtext.txt:
1638   - Added syntax for line blocks.
1639   - Definition list items may have multiple classifiers.
1641 * docs/ref/rst/roles.txt:
1643   - Added "raw" role.
1645 * tools/stylesheets/default.css:
1647   - Added support for the new line_block structure.
1648   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1651 Release 0.3.5 (2004-07-29)
1652 ==========================
1654 General:
1656 * _`Documentation cleanup/reorganization`.
1658   - Created new subdirectories of docs/:
1660     * ``docs/user/``: introductory/tutorial material for end-users
1661     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1662     * ``docs/api/``: API reference material for client-developers
1663     * ``docs/ref/``: reference material for all groups
1664     * ``docs/howto/``: for component-developers and core-developers
1665     * ``docs/peps/``: Python Enhancement Proposals
1667   - Moved ``docs/*`` to ``docs/user/``.
1668   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1669     ``spec/`` to ``docs/dev``.
1670   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1671     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1672   - Moved ``alternatives.txt``, and ``problems.txt`` from
1673     ``spec/rst/`` to ``docs/dev/rst/``.
1674   - Moved ``reStructuredText.txt``, ``directives.txt``,
1675     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1676     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
1677     ``roles.txt``, ``reStructuredText.txt`` to
1678     ``restructuredtext.txt``.
1679   - Moved ``spec/howto/`` to ``docs/howto``.
1681   In order to keep the CVS history of moved files, we supplied
1682   SourceForge with a `script for modifying the Docutils CVS
1683   repository`__.
1685   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1687   After running the cleanup script:
1689   - Added ``docs/index.txt``.
1690   - Added a ``.htaccess`` file to the ``web`` module, containing
1691     redirects for all old paths to new paths.  They'll preserve
1692     fragments (the "#name" part of a URL), and won't clutter up the
1693     file system, and will correct the URL in the user's browser.
1694   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1695     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1696     the "To Do" list itself in ``docs/dev/todo.txt``.
1697   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1698     section of ``docs/dev/todo.txt``.
1699   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1700   - Added "How To Report Bugs" to ``BUGS.txt``.
1701   - Went through all the sources and docs (including under web/) and
1702     updated links.  Mostly done by Lea Wiemann; thanks Lea!
1703     (Still need to update links in the sandboxes.)
1705 Specific:
1707 * BUGS.txt: Added to project.
1709 * THANKS.txt: Added to project.
1711 * docutils/__init__.py:
1713   - 0.3.4: Post-release.
1715 * docutils/core.py:
1717   - Added special error handling & advice for UnicodeEncodeError.
1718   - Refactored Publisher.publish (simplified exception handling &
1719     extracted debug dumps).
1720   - Renamed "enable_exit" parameter of convenience functions to
1721     "enable_exit_status".
1722   - Enabled traceback (exception propagation) by default in
1723     programmatic convenience functions.
1724   - Now publish_file and publish_cmdline convenience functions return
1725     the encoded string results in addition to their regular I/O.
1726   - Extracted common code from publish_file, publish_string, and
1727     publish_parts, into new publish_programmatically.  Extracted
1728     settings code to ``Publisher.process_programmatic_settings``.
1729   - In Publisher.publish, disabled ``settings_overrides`` when
1730     ``settings`` is supplied; redundant.
1732 * docutils/frontend.py:
1734   - Added help text for "--output-encoding-error-handler" and
1735     "--error-encoding-error-handler".
1736   - Renamed "--exit" to "--exit-status".
1737   - Simplified default-setting code.
1739 * docutils/parsers/rst/__init__.py:
1741   - Added "--pep-base-url" and "--rfc-base-url" options.
1743 * docutils/parsers/rst/states.py:
1745   - Made URI recognition more aggressive and intelligent.
1747 * docutils/parsers/rst/directives/__init__.py:
1749   - Added several directive option conversion functions.
1751 * docutils/parsers/rst/directives/body.py:
1753   - Moved "table" directive to tables.py.
1755 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1756   added to project.
1758 * docutils/writers/latex2e.py:
1760   - Added "--table-style=(standard|booktabs|nolines)"
1761   - figures get "here" option (LaTeX per default puts them at bottom),
1762     and figure content is centered.
1763   - Rowspan support for tables.
1764   - Fix: admonition titles before first section.
1765   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1766   - Replave ``_`` in literal by an underlined blank, because it has the correct
1767     width.
1768   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1769   - A few unicode replacements, if output_encoding != utf
1770   - Add "--graphicx-option".
1771   - Indent literal-blocks.
1772   - Fix: omit ``\maketitle`` when there is no document title.
1774 * docs/index.txt: "Docutils Project Documentation Overview", added to
1775   project.
1777 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1778   Tool", added to project.
1780 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1782 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1784 * docs/dev/policies.txt: Added to project (extracted from
1785   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1787 * docs/dev/release.txt: Added to project (extracted from
1788   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1790 * docs/dev/testing.txt: Added to project.
1792 * docs/dev/website.txt: Added to project (extracted from
1793   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1795 * docs/ref/rst/directives.txt:
1797   - Added directives: "table", "csv-table".
1799 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1800   added to project.  1 page for syntax, and a 1 page reference for
1801   directives and roles.  Source text to be used as-is; not meant to be
1802   converted to HTML.
1804 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1805   with a change of title.
1807 * test/functional/, contents, and test/test_functional.py: Added to
1808   project.
1810 * tools/buildhtml.py: Fixed bug with config file handling.
1812 * tools/html.py: Removed from project (duplicate of rst2html.py).
1814 * tools/pep2html.py: Removed from project (duplicate of Python's
1815   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1816   Docutils-related PEPs in docs/peps/).
1818 * tools/rst2pseudoxml.py: Renamed from publish.py.
1820 * tools/rst2xml.py: Renamed from docutils-xml.py.
1822 * tools/test.txt: Removed from project; moved to
1823   docs/user/rst/demo.txt.
1825 * setup.py: Now also installs ``rst2latex.py``.
1828 Release 0.3.3 (2004-05-09)
1829 ==========================
1831 * docutils/__init__.py:
1833   - 0.3.1: Reorganized config file format (multiple sections); see
1834     docs/config.txt.
1835   - Added unknown_reference_resolvers attribute to TransformSpec.
1836   - 0.3.2: Interpreted text reorganization.
1837   - 0.3.3: Released.
1839 * docutils/core.py:
1841   - Catch system messages to stop tracebacks from parsing errors.
1842   - Catch exceptions during processing report & exit without
1843     tracebacks, except when "--traceback" used.
1844   - Reordered components for OptionParser; application comes last.
1845   - Added "config_section" parameter to several methods and functions,
1846     allowing front ends to easily specify their config file sections.
1847   - Added publish_parts convenience function to allow access to individual
1848     parts of a document.
1850 * docutils/examples.py: Added to project; practical examples of
1851   Docutils client code, to be used as-is or as models for variations.
1853 * docutils/frontend.py:
1855   - Added "--traceback" & "--no-traceback" options ("traceback"
1856     setting).
1857   - Implemented support for config file reorganization:
1858     ``standard_config_files`` moved from ``ConfigParser`` to
1859     ``OptionParser``; added
1860     ``OptionParser.get_config_file_settings()`` and
1861     ``.get_standard_config_settings()``; support for old "[options]"
1862     section (with deprecation warning) and mapping from old to new
1863     settings.
1864   - Reimplemented setting validation.
1865   - Enabled flexible boolean values: yes/no, true/false, on/off.
1866   - Added ``Values``, a subclass of ``optparse.Values``, with support
1867     for list setting attributes.
1868   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1869     thanks to Beni Cherniavsky.
1870   - Added "--no-section-numbering" option.
1872 * docutils/io.py:
1874   - Catch IOErrors when opening source & destination files, report &
1875     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1876     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1878 * docutils/nodes.py:
1880   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1881     method definitions (via ``exec``) to dynamic assignments (via
1882     ``setattr``); thanks to Roman Suzi.
1883   - Encapsulated visitor dynamic assignments in a function; thanks to
1884     Ian Bicking.
1885   - Added indirect_reference_name attribute to the Targetable
1886     class. This attribute holds the whitespace_normalized_name
1887     (contains mixed case) of a target.
1889 * docutils/statemachine.py:
1891   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1892   - Added ``StringList.get_2D_block``.
1894 * docutils/utils.py:
1896   - Added "level" attribute to SystemMessage exceptions.
1898 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1899   Jannie Hofmeyr.
1901 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1902   Blaha.
1904 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1905   Marcelo Huerta San Martin.
1907 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1908   mappings by Lalo Martins.
1910 * docutils/languages/ru.py: Added to project; Russian mappings by
1911   Roman Suzi.
1913 * docutils/parsers/rst/roles.py: Added to project.  Contains
1914   interpreted text role functions, a registry for interpreted text
1915   roles, and an API for adding to and retrieving from the registry.
1916   Contributed by Edward Loper.
1918 * docutils/parsers/rst/states.py:
1920   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1921   - Allowed true em-dash character and "---" as block quote
1922     attribution marker.
1923   - Added support for <angle-bracketed> complex option arguments
1924     (option lists).
1925   - Fixed handling of backslashes in substitution definitions.
1926   - Fixed off-by-1 error with extra whitespace after substitution
1927     definition directive.
1928   - Added inline markup parsing to field lists' field names.
1929   - Added support for quoted (and unindented) literal blocks.
1930     Driven in part by a bribe from Frank Siebenlist (thanks!).
1931   - Parser now handles escapes in URIs correctly.
1932   - Made embedded-URIs' reference text omittable.  Idea from Beni
1933     Cherniavsky.
1934   - Refactored explicit target processing code.
1935   - Added name attribute to references containing the reference name only
1936     through whitespace_normalize_name (no case changes).
1937   - parse_target no longer returns the refname after going through
1938     normalize_name. This is now handled in make_target.
1939   - Fixed bug relating to role-less interpreted text in non-English
1940     contexts.
1941   - Reorganized interpreted text processing; moved code into the new
1942     roles.py module.  Contributed by Edward Loper.
1943   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1944     ``parse_directive_block``.
1946 * docutils/parsers/rst/tableparser.py:
1948   - Reworked for ``StringList``, to support "include" directives in
1949     table cells.
1951 * docutils/parsers/rst/directives/__init__.py:
1953   - Renamed ``unchanged()`` directive option conversion function to
1954     ``unchanged_required``, and added a new ``unchanged``.
1955   - Catch unicode value too high error; fixes bug 781766.
1956   - Beefed up directive error reporting.
1958 * docutils/parsers/rst/directives/body.py:
1960   - Added basic "table" directive.
1962 * docutils/parsers/rst/directives/images.py:
1964   - Added "target" option to "image" directive.
1965   - Added name attribute to references containing the reference name only
1966     through whitespace_normalize_name (no case changes).
1968 * docutils/parsers/rst/directives/misc.py:
1970   - Isolated the import of the ``urllib2`` module; was causing
1971     problems on SourceForge (``libssl.so.2`` unavailable?).
1972   - Added the "role" directive for declaring custom interpreted text
1973     roles.
1975 * docutils/parsers/rst/directives/parts.py:
1977   - The "contents" directive does more work up-front, creating the
1978     "topic" and "title", and leaving the "pending" node for the
1979     transform.  Allows earlier reference resolution; fixes subtle bug.
1981 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1982   mappings by Jannie Hofmeyr.
1984 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1985   mappings by Marek Blaha.
1987 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1988   mappings by Marcelo Huerta San Martin.
1990 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1991   Portuguese mappings by Lalo Martins.
1993 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1994   mappings by Roman Suzi.
1996 * docutils/transforms/parts.py:
1998   - The "contents" directive does more work up-front, creating the
1999     "topic" and "title", and leaving the "pending" node for the
2000     transform.  Allows earlier reference resolution; fixes subtle bug.
2001   - Added support for disabling of section numbering.
2003 * docutils/transforms/references.py:
2005   - Verifying that external targets are truly targets and not indirect
2006     references. This is because we are now adding a "name" attribute to
2007     references in addition to targets. Note sure if this is correct!
2008   - Added code to hook into the unknown_reference_resolvers list for a
2009     transformer in resolve_indirect_target. This allows the
2010     unknown_reference_resolvers to keep around indirect targets which
2011     docutils doesn't know about.
2012   - Added specific error message for duplicate targets.
2014 * docutils/transforms/universal.py:
2016   - Added FilterMessages transform (removes system messages below the
2017     verbosity threshold).
2018   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
2019     to FinalCheckVisitor for application-specific handling of
2020     unresolvable references.
2021   - Added specific error message for duplicate targets.
2023 * docutils/writers/__init__.py:
2025   - Added assemble_parts method to the Writer class to allow for
2026     access to a documents individual parts.
2027   - Documented & set default for ``Writer.output`` attribute.
2029 * docutils/writers/html4css1.py:
2031   - Fixed unicode handling of attribute values (bug 760673).
2032   - Prevent duplication of "class" attribute values (bug report from
2033     Kirill Lapshin).
2034   - Improved table grid/border handling (prompted by report from Bob
2035     Marshall).
2036   - Added support for table titles.
2037   - Added "<title />" for untitled docs, for XHTML conformance; thanks
2038     to Darek Suchojad.
2039   - Added functionality to keep track of individual parts of a document
2040     and store them in a dictionary as the "parts" attribute of the writer.
2041     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
2042   - Added proper support for the "scale" attribute of the "image"
2043     element.  Contributed by Brent Cook.
2044   - Added ``--initial-header-level`` option.
2045   - Fixed bug: the body_pre_docinfo segment depended on there being a
2046     docinfo; if no docinfo, the document title was incorporated into
2047     the body segment.  Adversely affected the publish_parts interface.
2049 * docutils/writers/latex2e.py:
2051   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
2052     about a missing file.
2053   - Added options and support: ``--compound-enumerators``,
2054     ``--section-prefix-for-enumerators``, and
2055     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
2056     934322).
2057   - Added option ``--use-verbatim-when-possible``, to avoid
2058     problematic characters (eg, '~' in italian) in literal blocks.
2059   - It's now possible to use four section levels in the `book` and
2060     `report` LaTeX classes.  The default `article` class still has
2061     three levels limit.
2063 * docs/config.txt: "Docutils Configuration Files", added to project.
2064   Moved config file entry descriptions from tools.txt.
2066 * docs/tools.txt:
2068   - Moved config file entry descriptions to config.txt.
2070 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
2071   Development".
2073 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
2074   Text Roles", added to project.
2076 * spec/rst/reStructuredText.txt:
2078   - Added description of support for <angle-bracketed> complex option
2079     arguments to option lists.
2080   - Added subsections for indented and quoted literal blocks.
2082 * test: Continually adding & updating tests.
2084   - Added test/test_settings.py & test/data/config_*.txt support
2085     files.
2086   - Added test/test_writers/test_htmlfragment.py.
2088 * test/DocutilsTestSupport.py:
2090   - Refactored LaTeX publisher test suite/case class names to make
2091     testing other writers easier.
2092   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
2093     to test the processing of HTML fragments which use the new
2094     publish_parts convenience function.
2096 * tools/buildhtml.py:
2098   - Added support for the "--prune" option.
2099   - Removed dependency on pep2html.py; plaintext PEPs no longer
2100     supported.
2102 * tools/docutils.conf:
2104   - Updated for configuration file reorganization.
2106 * tools/rst2html.py:
2108   - copied from tools/html.py
2110 * setup.py:
2112   - added a 'scripts' section to configuration
2113   - added 'tools/rst2html.py' to the scripts section
2116 Release 0.3 (2003-06-24)
2117 ========================
2119 General:
2121 * Renamed "attribute" to "option" for directives/extensions.
2123 * Renamed transform method "transform" to "apply".
2125 * Renamed "options" to "settings" for runtime settings (as set by
2126   command-line options).  Sometimes "option" (singular) became
2127   "settings" (plural).  Some variations below:
2129   - document.options -> document.settings (stored in other objects as
2130     well)
2131   - option_spec -> settings_spec (not directives though)
2132   - OptionSpec -> SettingsSpec
2133   - cmdline_options -> settings_spec
2134   - relative_path_options -> relative_path_settings
2135   - option_default_overrides -> settings_default_overrides
2136   - Publisher.set_options -> Publisher.get_settings
2138 Specific:
2140 * COPYING.txt: Added "Public Domain Dedication".
2142 * FAQ.txt: Frequently asked questions, added to project.
2144 * setup.py:
2146   - Updated with PyPI Trove classifiers.
2147   - Conditional installation of third-party modules.
2149 * docutils/__init__.py:
2151   - Bumped version to 0.2.1 to reflect changes to I/O classes.
2152   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
2153   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
2154   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
2155     option and its effect on the PEP template & writer.
2156   - Bumped version to 0.2.4 due to changes to the PEP template &
2157     stylesheet.
2158   - Bumped version to 0.2.5 to reflect changes to Reporter output.
2159   - Added ``TransformSpec`` class for new transform system.
2160   - Bumped version to 0.2.6 for API changes (renaming).
2161   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
2162     convenience functions.
2163   - Added ``Component.component_type`` attribute.
2164   - Bumped version to 0.2.8 because of the internal parser switch from
2165     plain lists to the docutils.statemachine.StringList objects.
2166   - Bumped version to 0.2.9 because of the frontend.py API changes.
2167   - Bumped version to 0.2.10 due to changes to the project layout
2168     (third-party modules removed from the "docutils" package), and
2169     signature changes in ``io.Input``/``io.Output``.
2170   - Changed version to 0.3.0 for release.
2172 * docutils/core.py:
2174   - Made ``publish()`` a bit more convenient.
2175   - Generalized ``Publisher.set_io``.
2176   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
2177     parameters; improved its docstring.
2178   - Added ``publish_file()`` and ``publish_string()``.
2179   - Factored ``Publisher.set_source()`` and ``.set_destination()``
2180     out of ``.set_io``.
2181   - Added support for "--dump-pseudo-xml", "--dump-settings", and
2182     "--dump-transforms" hidden options.
2183   - Added ``Publisher.apply_transforms()`` method.
2184   - Added ``Publisher.set_components()`` method; support for
2185     ``publish_*()`` conveninece functions.
2186   - Moved config file processing to docutils/frontend.py.
2187   - Added support for exit status ("exit_level" setting &
2188     ``enable_exit`` parameter for Publisher.publish() and convenience
2189     functions).
2191 * docutils/frontend.py:
2193   - Check for & exit on identical source & destination paths.
2194   - Fixed bug with absolute paths & "--config".
2195   - Set non-command-line defaults in ``OptionParser.__init__()``:
2196     ``_source`` & ``_destination``.
2197   - Distributed ``relative_path_settings`` to components; updated
2198     ``OptionParser.populate_from_components()`` to combine it all.
2199   - Require list of keys in ``make_paths_absolute`` (was implicit in
2200     global ``relative_path_settings``).
2201   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
2202     "--dump-settings", and "--dump-transforms" hidden options.
2203   - Removed nasty internals-fiddling ``ConfigParser.get_section``
2204     code, replaced with correct code.
2205   - Added validation functionality for config files.
2206   - Added "--error-encoding" option/setting, "_disable_config"
2207     internal setting.
2208   - Added encoding validation; updated "--input-encoding" and
2209     "--output-encoding"; added "--error-encoding-error-handler" and
2210     "--output-encoding-error-handler".
2211   - Moved config file processing from docutils/core.py.
2212   - Updated ``OptionParser.populate_from_components`` to handle new
2213     ``SettingsSpec.settings_defaults`` dict.
2214   - Added support for "-" => stdin/stdout.
2215   - Added "exit_level" setting ("--exit" option).
2217 * docutils/io.py:
2219   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
2220   - Added automatic closing to ``FileInput`` and ``FileOutput``.
2221   - Delayed opening of ``FileOutput`` file until ``write()`` called.
2222   - ``FileOutput.write()`` now returns the encoded output string.
2223   - Try to get path/stream name automatically in ``FileInput`` &
2224     ``FileOutput``.
2225   - Added defaults for source & destination paths.
2226   - Allow for Unicode I/O with an explicit "unicode" encoding.
2227   - Added ``Output.encode()``.
2228   - Removed dependency on runtime settings; pass encoding directly.
2229   - Recognize Unicode strings in ``Input.decode()``.
2230   - Added support for output encoding error handlers.
2232 * docutils/nodes.py:
2234   - Added "Invisible" element category class.
2235   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
2236     modification during a traversal.
2237   - Added element classes: ``line_block``, ``generated``, ``address``,
2238     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
2239     ``superscript``, ``subscript``, ``inline``
2240   - Added support for lists of nodes to ``Element.insert()``.
2241   - Fixed parent linking in ``Element.replace()``.
2242   - Added new abstract superclass ``FixedTextElement``; adds
2243     "xml:space" attribute.
2244   - Added support for "line" attribute of ``system_message`` nodes.
2245   - Added support for the observer pattern from ``utils.Reporter``.
2246     Added ``parse_messages`` and ``transform_messages`` attributes to
2247     ``document``, removed ``messages``.  Added ``note_parse_message``
2248     and ``note_transform_message`` methods.
2249   - Added support for improved diagnostics:
2251     - Added "document", "source", and "line" internal attributes to
2252       ``Node``, set by ``Node.setup_child()``.
2253     - Converted variations on ``node.parent = self`` to
2254       ``self.setup_child(node)``.
2255     - Added ``document.current_source`` & ``.current_line``
2256       attributes, and ``.note_source`` observer method.
2257     - Changed "system_message" output to GNU-Tools format.
2259   - Added a "rawsource" attribute to the ``Text`` class, for text
2260     before backslash-escape resolution.
2261   - Support for new transform system.
2262   - Reworked ``pending`` element.
2263   - Fixed XML DOM bug (SF #660611).
2264   - Removed the ``interpeted`` element class and added
2265     ``title_reference``, ``abbreviation``, ``acronym``.
2266   - Made substitutions case-sensitive-but-forgiving; moved some code
2267     from the parser.
2268   - Fixed Unicode bug on element attributes (report: William Dode).
2270 * docutils/optik.py: Removed from project; replaced with
2271   extras/optparse.py and extras/textwrap.py.  These will be installed
2272   only if they're not already present in the Python installation.
2274 * docutils/roman.py: Moved to extras/roman.py; this will be installed
2275   only if it's not already present in the Python installation.
2277 * docutils/statemachine.py:
2279   - Factored out ``State.add_initial_transitions()`` so it can be
2280     extended.
2281   - Converted whitespace-specific "blank" and "indent" transitions
2282     from special-case code to ordinary transitions: removed
2283     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
2284     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
2285     ``ws_initial_transitions`` attributes.
2286   - Removed ``State.match_transition()`` after merging it into
2287     ``.check_line()``.
2288   - Added ``StateCorrection`` exception.
2289   - Added support for ``StateCorrection`` in ``StateMachine.run()``
2290     (moved ``TransitionCorrection`` support there too.)
2291   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
2292     ``EOFError`` instead of ``IndexError``.
2293   - Added ``State.no_match`` method.
2294   - Added support for the Observer pattern, triggered by input line
2295     changes.
2296   - Added ``strip_top`` parameter to
2297     ``StateMachineWS.get_first_known_indented``.
2298   - Made ``context`` a parameter to ``StateMachine.run()``.
2299   - Added ``ViewList`` & ``StringList`` classes;
2300     ``extract_indented()`` becomes ``StringList.get_indented()``.
2301   - Added ``StateMachine.insert_input()``.
2302   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
2303     thanks to) Fred Drake.
2305 * docutils/utils.py:
2307   - Added a ``source`` attribute to Reporter instances and
2308     ``system_message`` elements.
2309   - Added an observer pattern to ``utils.Reporter`` to keep track of
2310     system messages.
2311   - Fixed bugs in ``relative_path()``.
2312   - Added support for improved diagnostics.
2313   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
2314   - Added support for encoding Reporter stderr output, and encoding
2315     error handlers.
2316   - Reporter keeps track of the highest level system message yet
2317     generated.
2319 * docutils/languages: Fixed bibliographic field language lookups.
2321 * docutils/languages/es.py: Added to project; Spanish mappings by
2322   Marcelo Huerta San Martin.
2324 * docutils/languages/fr.py: Added to project; French mappings by
2325   Stefane Fermigier.
2327 * docutils/languages/it.py: Added to project; Italian mappings by
2328   Nicola Larosa.
2330 * docutils/languages/sk.py: Added to project; Slovak mappings by
2331   Miroslav Vasko.
2333 * docutils/parser/__init__.py:
2335   - Added ``Parser.finish_parse()`` method.
2337 * docutils/parser/rst/__init__.py:
2339   - Added options: "--pep-references", "--rfc-references",
2340     "--tab-width", "--trim-footnote-reference-space".
2342 * docutils/parsers/rst/states.py:
2344   - Changed "title under/overline too short" system messages from INFO
2345     to WARNING, and fixed its insertion location.
2346   - Fixed enumerated list item parsing to allow paragraphs & section
2347     titles to begin with enumerators.
2348   - Converted system messages to use the new "line" attribute.
2349   - Fixed a substitution reference edge case.
2350   - Added support for "--pep-references" and "--rfc-references"
2351     options; reworked ``Inliner`` code to make customization easier.
2352   - Removed field argument parsing.
2353   - Added support for short section title over/underlines.
2354   - Fixed "simple reference name" regexp to ignore text like
2355     "object.__method__"; not an anonymous reference.
2356   - Added support for improved diagnostics.
2357   - Reworked directive API, based on Dethe Elza's contribution.  Added
2358     ``Body.parse_directive()``, ``.parse_directive_options()``,
2359     ``.parse_directive_arguments()`` methods.
2360   - Added ``ExtensionOptions`` class, to parse directive options
2361     without parsing field bodies.  Factored
2362     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
2363     ``ExtensionOptions``.
2364   - Improved definition list term/classifier parsing.
2365   - Added warnings for unknown directives.
2366   - Renamed ``Stuff`` to ``Struct``.
2367   - Now flagged as errors: transitions at the beginning or end of
2368     sections, empty sections (except title), and empty documents.
2369   - Updated for ``statemachine.StringList``.
2370   - Enabled recognition of schemeless email addresses in targets.
2371   - Added support for embedded URIs in hyperlink references.
2372   - Added backslash-escapes to inline markup end-string suffix.
2373   - Added support for correct interpreted text processing.
2374   - Fixed nested title parsing (topic, sidebar directives).
2375   - Added special processing of backslash-escaped whitespace (idea
2376     from David Abrahams).
2377   - Made substitutions case-sensitive-but-forgiving; moved some code
2378     to ``docutils.nodes``.
2379   - Added support for block quote attributions.
2380   - Added a kludge to work-around a conflict between the bubble-up
2381     parser strategy and short titles (<= 3 char-long over- &
2382     underlines).  Fixes SF bug #738803 "infinite loop with multiple
2383     titles" submitted by Jason Diamond.
2384   - Added explicit interpreted text roles for standard inline markup:
2385     "emphasis", "strong", "literal".
2386   - Implemented "superscript" and "subscript" interpreted text roles.
2387   - Added initial support for "abbreviation" and "acronym" roles;
2388     incomplete.
2389   - Added support for "--trim-footnote-reference-space" option.
2390   - Optional space before colons in directives & hyperlink targets.
2392 * docutils/parsers/rst/tableparser.py:
2394   - Fixed a bug that was producing unwanted empty rows in "simple"
2395     tables.
2396   - Detect bad column spans in "simple" tables.
2398 * docutils/parsers/rst/directives: Updated all directive functions to
2399   new API.
2401 * docutils/parsers/rst/directives/__init__.py:
2403   - Added ``flag()``, ``unchanged()``, ``path()``,
2404     ``nonnegative_int()``, ``choice()``, and ``class_option()``
2405     directive option helper functions.
2406   - Added warnings for unknown directives.
2407   - Return ``None`` for missing directives.
2408   - Added ``register_directive()``, thanks to William Dode and Paul
2409     Moore.
2411 * docutils/parsers/rst/directives/admonitions.py:
2413   - Added "admonition" directive.
2415 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
2416   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2417   "parsed-literal", "rubric", "epigraph", "highlights" and
2418   "pull-quote" directives.
2420 * docutils/parsers/rst/directives/images.py:
2422   - Added an "align" attribute to the "image" & "figure" directives
2423     (by Adam Chodorowski).
2424   - Added "class" option to "image", and "figclass" to "figure".
2426 * docutils/parsers/rst/directives/misc.py:
2428   - Added "include", "raw", and "replace" directives, courtesy of
2429     Dethe Elza.
2430   - Added "unicode" and "class" directives.
2432 * docutils/parsers/rst/directives/parts.py:
2434   - Added the "sectnum" directive; by Dmitry Jemerov.
2435   - Added "class" option to "contents" directive.
2437 * docutils/parsers/rst/directives/references.py: Added to project.
2438   Contains the "target-notes" directive.
2440 * docutils/parsers/rst/languages/__init__.py:
2442   - Return ``None`` from get_language() for missing language modules.
2444 * docutils/parsers/rst/languages/de.py: Added to project; German
2445   mappings by Engelbert Gruber.
2447 * docutils/parsers/rst/languages/en.py:
2449   - Added interpreted text roles mapping.
2451 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2452   mappings by Marcelo Huerta San Martin.
2454 * docutils/parsers/rst/languages/fr.py: Added to project; French
2455   mappings by William Dode.
2457 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2458   mappings by Nicola Larosa.
2460 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2461   mappings by Miroslav Vasko.
2463 * docutils/readers/__init__.py:
2465   - Added support for the observer pattern from ``utils.Reporter``, in
2466     ``Reader.parse`` and ``Reader.transform``.
2467   - Removed ``Reader.transform()`` method.
2468   - Added default parameter values to ``Reader.__init__()`` to make
2469     instantiation easier.
2470   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2472 * docutils/readers/pep.py:
2474   - Added the ``peps.TargetNotes`` transform to the Reader.
2475   - Removed PEP & RFC reference detection code; moved to
2476     parsers/rst/states.py as options (enabled here by default).
2477   - Added support for pre-acceptance PEPs (no PEP number yet).
2478   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2479     easy subclassing.
2481 * docutils/readers/python: Python Source Reader subpackage added to
2482   project, including preliminary versions of:
2484   - __init__.py
2485   - moduleparser.py: Parser for Python modules.
2487 * docutils/transforms/__init__.py:
2489   - Added ``Transformer`` class and completed transform reform.
2490   - Added unknown_reference_resolvers list for each transformer. This list holds
2491     the list of functions provided by each component of the transformer that
2492     help resolve references.
2494 * docutils/transforms/frontmatter.py:
2496   - Improved support for generic fields.
2497   - Fixed bibliographic field language lookups.
2499 * docutils/transforms/misc.py: Added to project.  Miscellaneous
2500   transforms.
2502 * docutils/transforms/parts.py:
2504   - Moved the "id" attribute from TOC list items to the references
2505     (``Contents.build_contents()``).
2506   - Added the ``SectNum`` transform; by Dmitry Jemerov.
2507   - Added "class" attribute support to ``Contents``.
2509 * docutils/transforms/peps.py:
2511   - Added ``mask_email()`` function, updating to pep2html.py's
2512     functionality.
2513   - Linked "Content-Type: text/x-rst" to PEP 12.
2514   - Added the ``TargetNotes`` PEP-specific transform.
2515   - Added ``TargetNotes.cleanup_callback``.
2516   - Added title check to ``Headers``.
2518 * docutils/transforms/references.py:
2520   - Added the ``TargetNotes`` generic transform.
2521   - Split ``Hyperlinks`` into multiple transforms.
2522   - Fixed bug with multiply-indirect references (report: Bruce Smith).
2523   - Added check for circular indirect references.
2524   - Made substitutions case-sensitive-but-forgiving.
2526 * docutils/transforms/universal.py:
2528   - Added support for the "--expose-internal-attributes" option.
2529   - Removed ``Pending`` transform classes & data.
2531 * docutils/writers/__init__.py:
2533   - Removed ``Writer.transform()`` method.
2535 * docutils/writers/docutils-xml.py:
2537   - Added XML and doctype declarations.
2538   - Added "--no-doctype" and "--no-xml-declaration" options.
2540 * docutils/writers/html4css1.py:
2542   - "name" attributes only on these tags: a, applet, form, frame,
2543     iframe, img, map.
2544   - Added "name" attribute to <a> in section titles for Netscape 4
2545     support (bug report: Pearu Peterson).
2546   - Fixed targets (names) on footnote, citation, topic title,
2547     problematic, and system_message nodes (for Netscape 4).
2548   - Changed field names from "<td>" to "<th>".
2549   - Added "@" to "&#64;" encoding to thwart address harvesters.
2550   - Improved the vertical whitespace optimization; ignore "invisible"
2551     nodes (targets, comments, etc.).
2552   - Improved inline literals with ``<span class="pre">`` around chunks
2553     of text and ``&nbsp;`` for runs of spaces.
2554   - Improved modularity of output; added ``self.body_pre_docinfo`` and
2555     ``self.docinfo`` segments.
2556   - Added support for "line_block", "address" elements.
2557   - Improved backlinks (footnotes & system_messages).
2558   - Improved system_message output.
2559   - Redefined "--stylesheet" as containing an invariant URL, used
2560     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
2561     working directory.
2562   - Added "--footnote-references" option (superscript or brackets).
2563   - Added "--compact-lists" and "--no-compact-lists" options.
2564   - Added "--embed-stylesheet" and "--link-stylesheet" options;
2565     factored out ``HTMLTranslator.get_stylesheet_reference()``.
2566   - Improved field list rendering.
2567   - Added Docutils version to "generator" meta tag.
2568   - Fixed a bug with images; they must be inline, so wrapped in <p>.
2569   - Improved layout of <pre> HTML source.
2570   - Fixed attribute typo on <colspec>.
2571   - Refined XML prologue.
2572   - Support for no stylesheet.
2573   - Removed "interpreted" element support.
2574   - Added support for "title_reference", "sidebar", "attribution",
2575     "rubric", and generic "admonition" elements.
2576   - Added "--attribution" option.
2577   - Added support for "inline", "subscript", "superscript" elements.
2578   - Added initial support for "abbreviation" and "acronym";
2579     incomplete.
2581 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2582   (from the sandbox).
2584   - Added french.
2585   - Double quotes in literal blocks (special treatment for de/ngerman).
2586   - Added '--hyperlink-color' option ('0' turns off coloring of links).
2587   - Added  "--attribution" option.
2588   - Right align attributions.
2590 * docutils/writers/pep_html.py:
2592   - Parameterized output encoding in PEP template.
2593   - Reworked substitutions from ``locals()`` into ``subs`` dict.
2594   - Redefined "--pep-stylesheet" as containing an invariant URL, used
2595     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
2596     working directory.
2597   - Added an override on the "--footnote-references" option.
2598   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2599   - Added Docutils version to "generator" meta tag.
2600   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2602 * docs/tools.txt:
2604   - Added a "silent" setting for ``buildhtml.py``.
2605   - Added a "Getting Help" section.
2606   - Rearranged the structure.
2607   - Kept up to date, with new settings, command-line options etc.
2608   - Added section for ``rst2latex.py`` (Engelbert Gruber).
2609   - Converted settings table into a definition list.
2611 * docs/rst/quickstart.txt:
2613   - Added a table of contents.
2614   - Added feedback information.
2615   - Added mention of minimum section title underline lengths.
2616   - Removed the 4-character minimum for section title underlines.
2618 * docs/rst/quickref.html:
2620   - Added a "Getting Help" section.
2621   - Added a style to make section title backlinks more subtle.
2622   - Added mention of minimum section title underline lengths.
2623   - Removed the 4-character minimum for section title underlines.
2625 * extras: Directory added to project; contains third-party modules
2626   that Docutils depends on (optparse, textwrap, roman).  These are
2627   only installed if they're not already present.
2629 * licenses: Directory added to project; contains copies of license
2630   files for non-public-domain files.
2632 * spec/doctree.txt:
2634   - Changed the focus.  It's about DTD elements:  structural
2635     relationships, semantics, and external (public) attributes.  Not
2636     about the element class library.
2637   - Moved some implementation-specific stuff into ``docutils.nodes``
2638     docstrings.
2639   - Wrote descriptions of all common attributes and parameter
2640     entities.  Filled in introductory material.
2641   - Working through the element descriptions: 55 down, 37 to go.
2642   - Removed "Representation of Horizontal Rules" to
2643     spec/rst/alternatives.txt.
2645 * spec/docutils.dtd:
2647   - Added "generated" inline element.
2648   - Added "line_block" body element.
2649   - Added "auto" attribute to "title".
2650   - Changed content models of "literal_block" and "doctest_block" to
2651     ``%text.model``.
2652   - Added ``%number;`` attribute type parameter entity.
2653   - Changed ``%structural.elements;`` to ``%section.elements``.
2654   - Updated attribute types; made more specific.
2655   - Added "address" bibliographic element.
2656   - Added "line" attribute to ``system_message`` element.
2657   - Removed "field_argument" element; "field_name" may contain
2658     multiple words and whitespace.
2659   - Changed public identifier to docutils.sf.net.
2660   - Removed "interpreted" element; added "title_reference",
2661     "abbreviation", "acronym".
2662   - Removed "refuri" attribute from "footnote_reference" and
2663     "citation_reference".
2664   - Added "sidebar", "rubric", "attribution", "admonition",
2665     "superscript", "subscript", and "inline" elements.
2667 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2669 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2671 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2673 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2674   Dallas Mahrt.
2676 * spec/transforms.txt: Added to project.
2678 * spec/howto: Added subdirectory, for developer how-to docs.
2680 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
2681   Elza, edited & extended by David Goodger.
2683 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
2684   project.
2686 * spec/rst/alternatives.txt:
2688   - Added "Doctree Representation of Transitions" from
2689     spec/doctree.txt.
2690   - Updated "Inline External Targets" & closed the debate.
2691   - Added ideas for interpreted text syntax extensions.
2692   - Added "Nested Inline Markup" section.
2694 * spec/rst/directives.txt:
2696   - Added directives: "topic", "sectnum", "target-notes",
2697     "line-block", "parsed-literal", "include", "replace", "sidebar",
2698     "admonition", "rubric", "epigraph", "highlights", "unicode" and
2699     "class".
2700   - Formalized descriptions of directive details.
2701   - Added an "align" attribute to the "image" & "figure" directives
2702     (by Adam Chodorowski).
2703   - Added "class" options to "topic", "sidebar", "line-block",
2704     "parsed-literal", "contents", and "image"; and "figclass" to
2705     "figure".
2707 * spec/rst/interpreted.txt: Added to project.  Descriptions of
2708   interpreted text roles.
2710 * spec/rst/introduction.txt:
2712   - Added pointers to material for new users.
2714 * spec/rst/reStructuredText.txt:
2716   - Disambiguated comments (just add a newline after the "::").
2717   - Updated enumerated list description; added a discussion of the
2718     second-line validity checking.
2719   - Updated directive description.
2720   - Added a note redirecting newbies to the user docs.
2721   - Expanded description of inline markup start-strings in non-markup
2722     contexts.
2723   - Removed field arguments and made field lists a generic construct.
2724   - Removed the 4-character minimum for section title underlines.
2725   - Clarified term/classifier delimiter & inline markup ambiguity
2726     (definition lists).
2727   - Added "Embedded URIs".
2728   - Updated "Interpreted Text" section.
2729   - Added "Character-Level Inline Markup" section.
2731 * test: Continually adding & updating tests.
2733   - Moved test/test_rst/ to test/test_parsers/test_rst/.
2734   - Moved test/test_pep/ to test/test_readers/test_pep/.
2735   - Added test/test_readers/test_python/.
2736   - Added test/test_writers/ (Engelbert Gruber).
2738 * tools:
2740   - Made the ``locale.setlocale()`` calls in front ends
2741     fault-tolerant.
2743 * tools/buildhtml.py:
2745   - Added "--silent" option.
2746   - Fixed bug with absolute paths & "--config".
2747   - Updated for new I/O classes.
2748   - Added some exception handling.
2749   - Separated publishers' setting defaults; prevents interference.
2750   - Updated for new ``publish_file()`` convenience function.
2752 * tools/pep-html-template:
2754   - Allow for "--embed-stylesheet".
2755   - Added Docutils version to "generator" meta tag.
2756   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2757   - Conform to XHTML spec.
2759 * tools/pep2html.py:
2761   - Made ``argv`` a parameter to ``main()``.
2762   - Added support for "Content-Type:" header & arbitrary PEP formats.
2763   - Linked "Content-Type: text/plain" to PEP 9.
2764   - Files skipped (due to an error) are not pushed onto the server.
2765   - Updated for new I/O classes.
2766   - Added ``check_requirements()`` & ``pep_type_error()``.
2767   - Added some exception handling.
2768   - Updated for new ``publish_string()`` convenience function.
2769   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2771 * tools/quicktest.py:
2773   - Added "-V"/"--version" option.
2775 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2777 * tools/unicode2rstsubs.py: Added to project.  Produces character
2778   entity files (reSructuredText substitutions) from the MathML master
2779   unicode.xml file.
2781 * tools/editors: Support code for editors, added to project.  Contains
2782   ``emacs/restructuredtext.el``.
2784 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2786   - Added style for chunks of inline literals.
2787   - Removed margin for first child of table cells.
2788   - Right-aligned field list names.
2789   - Support for auto-numbered section titles in TOCs.
2790   - Increased the size of inline literals (<tt>) in titles.
2791   - Restored the light gray background for inline literals.
2792   - Added support for "line_block" elements.
2793   - Added style for "address" elements.
2794   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2795   - Improved field list rendering.
2796   - Vertical whitespace improvements.
2797   - Removed "a.target" style.
2799 * tools/stylesheets/pep.css:
2801   - Fixed nested section margins.
2802   - Other changes parallel those of ``../default.css``.
2805 Release 0.2 (2002-07-31)
2806 ========================
2808 General:
2810 - The word "component" was being used ambiguously.  From now on,
2811   "component" will be used to mean "Docutils component", as in Reader,
2812   Writer, Parser, or Transform.  Portions of documents (Table of
2813   Contents, sections, etc.)  will be called "document parts".
2814 - Did a grand renaming: a lot of ``verylongnames`` became
2815   ``very_long_names``.
2816 - Cleaned up imports: no more relative package imports or
2817   comma-separated lists of top-level modules.
2818 - Added support for an option values object which carries default
2819   settings and overrides (from command-line options and library use).
2820 - Added internal Unicode support, and support for both input and
2821   output encodings.
2822 - Added support for the ``docutils.io.IO`` class & subclasses.
2824 Specific:
2826 * docutils/__init__.py:
2828   - Added ``ApplicationError`` and ``DataError``, for use throughout
2829     the package.
2830   - Added ``Component`` base class for Docutils components; implements
2831     the ``supports`` method.
2832   - Added ``__version__`` (thus, ``docutils.__version__``).
2834 * docutils/core.py:
2836   - Removed many keyword parameters to ``Publisher.__init__()`` and
2837     ``publish()``; bundled into an option values object.  Added
2838     "argv", "usage", "description", and "option_spec" parameters for
2839     command-line support.
2840   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2841     methods.
2842   - Reworked I/O model for ``docutils.io`` wrappers.
2843   - Updated ``Publisher.set_options()``; now returns option values
2844     object.
2845   - Added support for configuration files (/etc/docutils.conf,
2846     ./docutils.conf, ~/.docutils).
2847   - Added ``Publisher.setup_option_parser()``.
2848   - Added default usage message and description.
2850 * docutils/frontend.py: Added to project; support for front-end
2851   (command-line) scripts.  Option specifications may be augmented by
2852   components.  Requires Optik (http://optik.sf.net/) for option
2853   processing (installed locally as docutils/optik.py).
2855 * docutils/io.py: Added to project; uniform API for a variety of input
2856   output mechanisms.
2858 * docutils/nodes.py:
2860   - Added ``TreeCopyVisitor`` class.
2861   - Added a ``copy`` method to ``Node`` and subclasses.
2862   - Added a ``SkipDeparture`` exception for visitors.
2863   - Renamed ``TreePruningException`` from ``VisitorException``.
2864   - Added docstrings to ``TreePruningException``, subclasses, and
2865     ``Nodes.walk()``.
2866   - Improved docstrings.
2867   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2868   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2869     imports.
2870   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2871     ``PreDecorative`` mixin.
2872   - Reworked the name/id bookkeeping; to ``document``, removed
2873     ``explicit_targets`` and ``implicit_targets`` attributes, added
2874     ``nametypes`` attribute and ``set_name_id_map`` method.
2875   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2876     traversals.
2877   - Added ``document.has_name()`` method.
2878   - Fixed DOM generation for list-attributes.
2879   - Added category class ``Labeled`` (used by footnotes & citations).
2880   - Added ``Element.set_class()`` method (sets "class" attribute).
2882 * docutils/optik.py: Added to project.  Combined from the Optik
2883   package, with added option groups and other modifications.  The use
2884   of this module is probably only temporary.
2886 * docutils/statemachine.py:
2888   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2889   - Added underscores to improve many awkward names.
2890   - In ``string2lines()``, changed whitespace normalizing translation
2891     table to regexp; restores Python 2.0 compatibility with Unicode.
2893 * docutils/urischemes.py:
2895   - Filled in some descriptions.
2896   - Added "shttp" scheme.
2898 * docutils/utils.py:
2900   - Added ``clean_rcs_keywords`` function (moved from
2901     docutils/transforms/frontmatter.py
2902     ``DocInfo.filter_rcs_keywords``).
2903   - Added underscores to improve many awkward names.
2904   - Changed names of Reporter's thresholds:
2905     warning_level -> report_level; error_level -> halt_level.
2906   - Moved ``utils.id()`` to ``nodes.make_id()``.
2907   - Added ``relative_path(source, target)``.
2909 * docutils/languages/de.py: German mappings; added to project.  Thanks
2910   to Gunnar Schwant for the translations.
2912 * docutils/languages/en.py: Added "Dedication" bibliographic field
2913   mappings.
2915 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2916   Chodorowski.
2918 * docutils/parsers/rst/states.py:
2920   - Added underscores to improve many awkward names.
2921   - Added RFC-2822 header support.
2922   - Extracted the inline parsing code from ``RSTState`` to a separate
2923     class, ``Inliner``, which will allow easy subclassing.
2924   - Made local bindings for ``memo`` container & often-used contents
2925     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2926   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2927   - Added ``MarkupMismatch`` exception; for late corrections.
2928   - Added ``-/:`` characters to inline markup's start string prefix,
2929     ``/`` to end string suffix.
2930   - Fixed a footnote bug.
2931   - Fixed a bug with literal blocks.
2932   - Applied patch from Simon Budig: simplified regexps with symbolic
2933     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2934   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2935   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2936   - Allowed non-ASCII in "simple names" (directive names, field names,
2937     references, etc.).
2938   - Converted ``Inliner.patterns.initial`` to be dynamically built
2939     from parts with ``build_regexp()`` function.
2940   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2941   - Updated docstrings.
2942   - Changed "table" to "grid_table"; added "simple_table" support.
2944 * docutils/parsers/rst/tableparser.py:
2946   - Changed ``TableParser`` to ``GridTableParser``.
2947   - Added ``SimpleTableParser``.
2948   - Refactored naming.
2950 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2951   a fallback language for directive names.
2953 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2954   directive to use a ``pending`` element, used only by HTML writers.
2956 * docutils/parsers/rst/directives/parts.py: Renamed from
2957   components.py.
2959   - Added "backlinks" attribute to "contents" directive.
2961 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2962   project by Adam Chodorowski.
2964 * docutils/readers/__init__.py: Gave Readers more control over
2965   choosing and instantiating Parsers.
2967 * docutils/readers/pep.py: Added to project; for PEP processing.
2969 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2970   requires a ``component`` parameter.
2972 * docutils/transforms/components.py: Added to project; transforms
2973   related to Docutils components.
2975 * docutils/transforms/frontmatter.py:
2977   - In ``DocInfo.extract_authors``, check for a single "author" in an
2978     "authors" group, and convert it to a single "author" element.
2979   - Added support for "Dedication" and generic bibliographic fields.
2981 * docutils/transforms/peps.py: Added to project; PEP-specific.
2983 * docutils/transforms/parts.py: Renamed from old components.py.
2985   - Added filter for `Contents`, to use alt-text for inline images,
2986     and to remove inline markup that doesn't make sense in the ToC.
2987   - Added "name" attribute to TOC topic depending on its title.
2988   - Added support for optional TOC backlinks.
2990 * docutils/transforms/references.py: Fixed indirect target resolution
2991   in ``Hyperlinks`` transform.
2993 * docutils/transforms/universal.py:
2995   - Changed ``Messages`` transform to properly filter out system
2996     messages below the warning threshold.
2997   - Added ``Decorations`` transform (support for ``--generator``,
2998     ``--date``, ``--time``, ``--source-link`` options).
3000 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
3001   Engelbert Gruber's PDF writer.
3003 * docutils/writers/html4css1.py:
3005   - Made XHTML-compatible (switched to lowercase element & attribute
3006     names; empty tag format).
3007   - Escape double-dashes in comment text.
3008   - Improved boilerplate & modularity of output.
3009   - Exposed modular output in Writer class.
3010   - Added a "generator" meta tag to <head>.
3011   - Added support for the ``--stylesheet`` option.
3012   - Added support for ``decoration``, ``header``, and ``footer``
3013     elements.
3014   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
3015     translation table to regexp; restores Python 2.0 compatibility
3016     with Unicode.
3017   - Added the translator class as instance variable to the Writer, to
3018     make it easily subclassable.
3019   - Improved option list spacing (thanks to Richard Jones).
3020   - Modified field list output.
3021   - Added backlinks to footnotes & citations.
3022   - Added percentage widths to "<col>" tags (from colspec).
3023   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
3024     "<span>" changed to "<var>".
3025   - Inline literals: "<code>" changed to "<tt>".
3026   - Many changes to optimize vertical space: compact simple lists etc.
3027   - Add a command-line options & directive attributes to control TOC
3028     and footnote/citation backlinks.
3029   - Added support for optional footnote/citation backlinks.
3030   - Added support for generic bibliographic fields.
3031   - Identify backrefs.
3032   - Relative URLs for stylesheet links.
3034 * docutils/writers/pep_html.py: Added to project; HTML Writer for
3035   PEPs (subclass of ``html4css1.Writer``).
3037 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
3039 * docutils/writers/docutils_xml.py: Added to project; trivial writer
3040   of the Docutils internal doctree in XML.
3042 * docs/tools.txt: "Docutils Front-End Tools", added to project.
3044 * spec/doctree.txt:
3046   - Changed the title to "The Docutils Document Tree".
3047   - Added "Hyperlink Bookkeeping" section.
3049 * spec/docutils.dtd:
3051   - Added ``decoration``, ``header``, and ``footer`` elements.
3052   - Brought ``interpreted`` element in line with the parser: changed
3053     attribute "type" to "role", added "position".
3054   - Added support for generic bibliographic fields.
3056 * spec/notes.txt: Continual updates.  Added "Project Policies".
3058 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
3059   section.
3061 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
3063 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
3064   mailing list discussions.
3066 * spec/pep-0287.txt:
3068   - Renamed to "reStructuredText Docstring Format".
3069   - Minor edits.
3070   - Reworked Q&A as an enumerated list.
3071   - Converted to reStructuredText format.
3073 * spec/pysource.dtd:
3075   - Reworked structural elements, incorporating ideas from Tony Ibbs.
3077 * spec/pysource.txt: Removed from project.  Moved much of its contents
3078   to pep-0258.txt.
3080 * spec/rst/alternatives.txt:
3082   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
3083   - Added "Inline External Targets" section.
3085 * spec/rst/directives.txt:
3087   - Added "backlinks" attribute to "contents" directive.
3089 * spec/rst/problems.txt:
3091   - Updated the Enumerated List Markup discussion.
3092   - Added new alternative table markup syntaxes.
3094 * spec/rst/reStructuredText.txt:
3096   - Clarified field list usage.
3097   - Updated enumerated list description.
3098   - Clarified purpose of directives.
3099   - Added ``-/:`` characters to inline markup's start string prefix,
3100     ``/`` to end string suffix.
3101   - Updated "Authors" bibliographic field behavior.
3102   - Changed "inline hyperlink targets" to "inline internal targets".
3103   - Added "simple table" syntax to supplement the existing but
3104     newly-renamed "grid tables".
3105   - Added cautions for anonymous hyperlink use.
3106   - Added "Dedication" and generic bibliographic fields.
3108 * test: Made test modules standalone (subdirectories became packages).
3110 * test/DocutilsTestSupport.py:
3112   - Added support for PEP extensions to reStructuredText.
3113   - Added support for simple tables.
3114   - Refactored naming.
3116 * test/package_unittest.py: Renamed from UnitTestFolder.py.
3118   - Now supports true packages containing test modules
3119     (``__init__.py`` files required); fixes duplicate module name bug.
3121 * test/test_pep/: Subpackage added to project; PEP testing.
3123 * test/test_rst/test_SimpleTableParser.py: Added to project.
3125 * tools:
3127   - Updated html.py and publish.py front-end tools to use the new
3128     command-line processing facilities of ``docutils.frontend``
3129     (exposed in ``docutils.core.Publisher``), reducing each to just a
3130     few lines of code.
3131   - Added ``locale.setlocale()`` calls to front-end tools.
3133 * tools/buildhtml.py: Added to project; batch-generates .html from all
3134   the .txt files in directories and subdirectories.
3136 * tools/default.css:
3138   - Added support for ``header`` and ``footer`` elements.
3139   - Added styles for "Dedication" topics (biblio fields).
3141 * tools/docutils.conf: A configuration file; added to project.
3143 * tools/docutils-xml.py: Added to project.
3145 * tools/pep.py: Added to project; PEP to HTML front-end tool.
3147 * tools/pep-html-template: Added to project.
3149 * tools/pep2html.py: Added to project from Python (nondist/peps).
3150   Added support for Docutils (reStructuredText PEPs).
3152 * tools/quicktest.py:
3154   - Added the ``--attributes`` option, hacked a bit.
3155   - Added a second command-line argument (output file); cleaned up.
3157 * tools/stylesheets/: Subdirectory added to project.
3159 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
3162 Release 0.1 (2002-04-20)
3163 ========================
3165 This is the first release of Docutils, merged from the now inactive
3166 reStructuredText__ and `Docstring Processing System`__ projects.  For
3167 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
3168 `DPS HISTORY`__ files.
3170 __ http://structuredtext.sourceforge.net/
3171 __ http://docstring.sourceforge.net/
3172 __ http://structuredtext.sourceforge.net/HISTORY.html
3173 __ http://docstring.sourceforge.net/HISTORY.html
3175 General changes: renamed 'dps' package to 'docutils'; renamed
3176 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
3177 the test suites (reStructuredText's test/test_states renamed to
3178 test/test_rst); and all modifications required to make it all work.
3180 * docutils/parsers/rst/states.py:
3182   - Improved diagnostic system messages for missing blank lines.
3183   - Fixed substitution_reference bug.
3187    Local Variables:
3188    mode: indented-text
3189    indent-tabs-mode: nil
3190    sentence-end-double-space: t
3191    fill-column: 70
3192    End: