smartquotes: Add command line interface for stand-alone use (requires 2.7).
[docutils.git] / docutils / HISTORY.txt
blob469a6f71ada8c584414b8bd12c9e63c83b415169
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   - Consistent handling of all whitespace characters in inline markup
41     recognition. Fixes [ 307 ] and [ 3402314 ] (now [ 173 ]).
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/transforms/references.py
54   - Don't add a second ID to problematic references.
56 * docutils/utils/__init__.py:
58   - Added ``split_escaped_whitespace`` function, support for escaped
59     whitespace in URI contexts.
61 * docutils/utils/smartquotes.py:
63   - Update quote definitions for languages et, fi, fr, ro, sv, tr, uk.
64   - New quote definitions for hr, hsb, hu, lv, sh, sl, sr.
65   - Fix [ 313 ] Differentiate apostrophe from closing single quote
66     (if possible).
67   - Fix [ 317 ] Extra space inserted with French smartquotes.
68   - Add command line interface for stand-alone use (requires 2.7).
70 * docutils/writers/_html_base.py
72   - Provide default title in metadata (required by HTML5).
73   - Fix [ 312 ] HTML writer generates invalid HTML if the table has two tags.
75 * docutils/writers/html4css1/__init__.py
77   - Apply [ 125 ] HTML writer: respect automatic table column sizing.
79 * docutils/writers/latex2e/__init__.py
81   - Handle class arguments for block-level elements by wrapping them
82     in a "DUclass" environment. This replaces the special handling for
83     "epigraph" and "topic" elements.
85 * tools/rst2html4.py: New front-end.
87 * tools/dev/generate_punctuation_chars.py: New skript
88   to test and update utils.punctuation_chars.
91 Release 0.13.1 (2016-12-09)
92 ===========================
94 * docutils/languages/fa.py
95   docutils/parsers/rst/languages/fa.py
96   docutils/languages/la.py
97   docutils/parsers/rst/languages/la.py:
99   - Apply [ 133 ] Persian mappings by Shahin Azad.
100   - Apply [ 135 ] Language modules for Latvian by Alexander Smishlajev
102 * docutils/nodes.py
104   - Fix [ 253 ] Attribute key without value not allowed in XML.
106 * docutils/parsers/
108   - Apply [ 103 ] Recognize inline markups without word boundaries.
109   - Enable escaping in embedded URIs and aliases (fixes [ 284 ]).
111 * docutils/parsers/rst/__init__.py
113   - Fix [ 233 ] Change the base URL for the :rfc: role.
115 * docutils/parsers/rst/directives/tables.py
117   - Apply [ 120 ] tables accept option widths: list of relative widths, 'auto'
118     or 'grid'.
120   - Implement feature request [ 48 ]
121     Add :align: option to the table directives.
122     Thanks to Takeshi KOMIYA for the patch.
124 * docutils/parsers/rst/roles.py
126   - Fix [ 295 ] Class argument for custom role inheriting from math.
128 * docutils/parsers/rst/tableparser.py
130   - Really fix [ 159 ] Spurious table column alignment errors.
132 * docutils/transforms/frontmatter.py
134   - Add name of generic bibliographic fields as a "classes" attribute value
135     (after conversion to a valid identifier form).
137 * docutils/utils/error_reporting.py
139   - Fix [ 130 ] support streams expectiong byte-strings in ErrorOutput.
141 * docutils/utils/math/math2html.py
143   - Add ``\colon`` macro, fix spacing around colons. Fixes [ 246 ].
144   - New upstream version (additional macros, piecewise integrals and sums).
146 * docutils/writers/_html_base.py
148   - New auxiliary module for definitions common to all HTML writers.
150 * docutils/writers/html5_polyglot/
152   - New HTML writer generating clean, polyglot_ markup conforming to
153     `HTML 5`_.
155     The CSS stylesheets ``minimal.css`` and ``plain.css`` contain required
156     and recommended layout rules.
158 * docutils/writers/html4css1/__init__.py
160   - Add "docutils" to class values for "container" object to address [ 267 ].
161   - Apply patch [ 119 ] by Anatoly Techtonik: use absolute paths for
162     ``default_stylesheet_path`` and ``default_template_path``.
163   - Fix [ 266 ] creating labels/class values in description list items.
164   - Do not use <sup> and <sub> tags inside <pre> (parsed-literal blocks).
165   - Fix footnotes with content that does not start with a paragraph.
166   - Use https in default MathJax URL (report Alan G Isaac).
167   - Outsourcing of common code to _html_base.py.
169 * docutils/writers/latex2e/__init__.py
171   - Fix [ 262 ] Use ``\linewidth`` instead of ``\textwidth`` for figures,
172     admonitions and docinfo.
174   - Use absolute path for ``default_template_path``.
176   - Removed deprecated options ``--use-latex-footnotes`` and
177     ``--figure-footnotes``.
179   - Cleaner LaTeX code for enumerations and literal blocks.
181   - Use "hyperref" package together with "bookmark" (improved hyperlinking
182     by the same author).
184   - Fix [ 286 ] Empty column title cause invalid latex file.
186   - Fix [ 224 ] Fix rowspan support for tables.
188   - Let LaTeX determine the column widths in tables with "colwidths-auto".
189     Not suited for multi-paragraph cells!
191 * docutils/writers/odf_odt/__init__.py
193   - remove decode.encode of filename stored in zip.
195 * docutils/writers/xetex/__init__.py
197   - LuaLaTex compatibility: do not load "xunicode".
199 * tools/
201   - New front-end ``rst2html5.py``.
203 * tox.ini
205   - Test py26, py27, py33 and py34.
207     To use, install the ``tox`` package via pip or easy_install and use
208     tox from the project root directory.
210 .. _polyglot: http://www.w3.org/TR/html-polyglot/
211 .. _HTML 5: http://www.w3.org/TR/html5/
212 .. _XHTML 1.0: http://www.w3.org/TR/xhtml1/
215 Release 0.12 (2014-07-06)
216 =========================
218 * docs/ref/rst/directives.txt
220   - Update "math" and "csv-table" descriptions.
222 * docutils/parsers/rst/directives/images.py
224   - Fix [ 258 ] figwidth="image" generates unitless width value.
226 * docutils/parsers/rst/states.py
228   - Improve error report when a non-ASCII character is specified as
229     delimiter, quote or escape character under Python 2.
230     Fixes [ 249 ] and [ 250 ].
232 * docutils/writers/html4css1/__init__.py
234   - Don't add newline after inline math.
235     Thanks to Yury G. Kudryashov for the patch.
237 * docutils/writers/latex2e/__init__.py
239   - Fix [ 239 ] Latex writer glues paragraphs with figure floats.
240   - Apply [ 116 ] by Kirill Smelkov. Don't hardcode \large for subtitle.
242 * docutils/writers/odf_odt/__init__.py
244   - Apply patch by Jakub Wilk to fix bug [ 100 ].
246 * test/test_error_reporting.py
248   - Fix [ 223 ] by removing redundant tests we do not have control over.
250 * test/test_nodes.py
252   - Apply [ 115 ] respect fixed 2to3 string literal conversion behavior.
254 Release 0.11 (2013-07-22)
255 =========================
257 * General
259   - Apply [ 2714873 ] Fix for the overwritting of document attributes.
260   - Support embedded aliases within hyperlink references.
261   - Fix [ 228 ] try local import of docutils components (reader, writer, parser,
262     language module) before global search.
264 * docutils/nodes.py
266   - Fix [ 3601607 ] node.__repr__() must return `str` instance.
268 * docutils/parsers/rst/directives/__init__.py
270   - Fix [ 3606028 ] ``assert`` is skipped with ``python -O``.
272 * docutils/parsers/rst/directives/images.py
274   - Apply [ 3599485 ] node source/line information for sphinx translation.
276 * docutils/parsers/rst/directives/tables.py
278   - Fix [ 210 ] Python 3.3 checks CVS syntax only if "strict" is True.
280 * docutils/parsers/rst/states.py
282   - Fix [ 157 ] Line block parsing doesn't like system message.
283   - Always import our local copy of roman.py (report Larry Hastings).
285 * docutils/transforms/references.py
287   - Fix [ 3607029 ] traceback with embedded alias pointing to missing target.
289 * docutils/utils/__init__.py
291   - Fix [ 3596884 ] exception importing ``docutils.io``.
293 * docutils/writers/html4css1/__init__.py
295   - Fix [ 3600051 ] for tables in a list, table cells are not compacted.
296   - New setting `stylesheet_dirs`: Comma-separated list of directories
297     where stylesheets are found. Used by `stylesheet_path` when expanding
298     relative path arguments.
299   - New default for math-output_: ``HTML math.css``.
300   - Avoid repeated class declarations in html4css1 writer
301     (modified version of patch [ 104 ]).
303 .. _math-output: docs/user/config.html#math-output
305 * docutils/writers/latex2e/__init__.py
307   - Drop the simple algorithm replacing straight double quotes with
308     English typographic ones.
309     Activate the SmartQuotes_ transform if you want this feature.
310   - Fix literal use of babel shorthands (straight quote, tilde, ...).
311   - Fix [ 3603246 ] Bug in option "--graphicx-option=auto".
312   - New setting `stylesheet_dirs`.
314 .. _SmartQuotes: docs/user/config.html#smart-quotes
316 * docutils/writers/manpage.py
318   - Fix [3607063] handle lines starting with a period.
319   - Fix option separating comma was bold (thanks to Bill Morris).
321 Release 0.10 (2012-12-16)
322 =========================
324 * General
326   - Dropped support for Python 2.3.
327   - ``docutils/math``, ``docutils/error_reporting.py``, and
328     ``docutils/urischemes.py`` moved to the utils package.
329   - Fix [3541369] Relative __import__ also with Python 3.3.
330   - Fix [3559988] and [3560841] __import__ local writer, reader, languages
331     and parsers for Python 2.7 up.
332   - Fix import of PIL.Image.
333   - Change default of "syntax highlight" option to "long",
334     basic syntax highlight styles for LaTeX and HTML.
336 * docutils/io.py
338   - FileInput/FileOutput: no system-exit on IOError.  The `handle_io_errors`
339     option is ignored and will be removed in a future release.
340   - Fix Py3k error writing to stdout with encoding differing from default.
341   - Fix opening binary files under Py3k (thanks to Dominic Fitzpatrick).
343 * docutils/parsers/rst/directives/misc.py
345   - Fix [ 3546533 ] Unicode error with `date` directive.
347 * docutils/transforms/universal.py
349   - SmartQuotes transform for typographic quotes and dashes.
351 * docutils/utils/__init__.py
353   - normalize_language_tag() now returns `BCP 47`_ conformant tags
354     with subtags separated by ``-``.
356 * docutils/writers/html4css1/__init__.py
358   - Use ``<code>`` tag for inline "code",
359     do not drop nested inline nodes (syntax highlight tokens).
360   - Customizable MathJax URL (based on patch by Dmitry Shachnev).
361   - No line break after opening inline math tag.
363 * docutils/writers/manpage.py
365   - Apply [ 3527401 ] addmonition's don't preserve indentation
366   - Apply [ 3527397 ] Add indentation to literal blocks in manpage writer.
368 * docutils/writers/xetex/__init__.py
370   - Apply [ 3555160 ] ensure order of "otherlanguages".
371   - Fix section numbering by LaTeX.
373 * docutils/writers/s5_html/__init__.py
375   - Fix [ 3556388 ] Mathjax does not work with rst2s5.
377 * docutils/writers/s5_html/docutils_xml.py
379   - Fix [ 3552403 ] Prevent broken PyXML replacing stdlibs xml module.
380   - Fix/improve output with ``--indent`` option.
382 * setup.py
384   - Tag ``math.css`` stylesheet as data file (patch by Dmitry Shachnev).
386 * tools/test/test_buildhtml.py
388   - Fix [ 3521167 ] allow running in any directory.
389   - Fix [ 3521168 ] allow running with Python 3.
392 Release 0.9.1 (2012-06-17)
393 ==========================
395 * setup.py
397   - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
398     installed in the PYTHONPATH. Converted tests are now
399     stored in ``test3/``, tools no longer need conversion.
401     If you installed one of Docutils versions 0.7 ... 0.9 with
402     ``setup.py install`` under Python 3, remove the spurious
403     ``test/`` and ``tools/`` directories in the site library root.
405 * test/
407   - Make tests independent from the location of the ``test/`` directory.
408   - Use converted sources (from the ``build/`` directory) for tests under
409     Python 3.
411 * tools/
413   - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
415 * docutils/io.py
417   - Fix writing binary data to sys.stdout under Python 3 (allows
418     ``rst2odt.py`` to be used with output redirection).
420 * docutils/parsers/rst/directives/misc.py
422   - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
423     ``locale == C`` and 8-bit char in path argument of `include` directive.
425 * test/alltests.py
427   - class `Tee`: catch UnicodeError when writing to "ascii" stream or
428     file under Python 3.
430 Release 0.9 (2012-05-02)
431 ========================
433 * General:
435   - New reStructuredText "code" role and directive and "code" option
436     of the "include" directive with syntax highlighting by Pygments_.
437   - Fix parse_option_marker for option arguments containing ``=``.
438   - Fix [ 2993756 ]: import Python Imaging Library's Image module
439     via ``import PIL`` as starting with PIL 1.2,
440     "PIL lives in the PIL namespace only" (announcement__).
442 .. _Pygments: http://pygments.org/
443 __ http://mail.python.org/pipermail/image-sig/2011-January/006650.html
445 * setup.py
447   - Fix [ 2971827 ] and [ 3442827 ]
448     extras/roman.py moved to docutils/utils/roman.py
450 * docutils/frontend.py
452   - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
454 * docutils/io.py
456   - Fix [ 3395948 ] (Work around encoding problems in Py3k).
457   - `mode` argument for FileOutput avoids code replication in
458     BinaryFileOutput.
459   - New exceptions InputError and OutputError for IO errors in
460     FileInput/FileOutput.
462 * docutils/core.py:
464   - No "hard" system exit on file IO errors: catch and report them in
465     `Publisher.reportException` instead. Allows handling by a calling
466     application if the configuration setting `traceback` is True.
468 * docutils/utils.py -> docutils/utils/__init__.py
470   - docutils.utils is now a package (providing a place for sub-modules)
472   .. note:: docutils/math, docutils/error_reporting.py, and
473      docutils/urischemes.py will move to the utils package in the next
474      release, too. See RELEASE-NOTES__
476      __ RELEASE-NOTES.html
478   - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
479     errors recording non-ASCII filenames (fixes [ 3434355 ]).
481   - Fix relative_path() with source=None and `unicode` target.
483 * docutils/parsers/rst/states.py
485   - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
486     characters and "international" quotes around inline markup.
487   - Use `field_marker` pattern to look for start of a
488     directive option block (fixes [ 3484857 ]).
490 * docutils/parsers/rst/tableparser.py
492   - Fix [ 2926161 ] for simple tables.
493     (Combining chars in grid tables still contribute to cell width.)
495 * docutils/writers/latex2e/__init__.py
497   - Support the `abbreviation` and `acronym` standard roles.
498   - Record only files required to generate the LaTeX source as dependencies.
499   - Fix handling of missing stylesheets.
500   - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
501     when suppressing LaTeX section numbering.
502   - Use ``\DUtitle`` for unsupported section levels
503   - Apply [ 3512791 ] do not compare string literals with "is"
505 * docutils/writers/xetex/__init__.py
507   - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
509 * docutils/writers/html4css1/__init__.py
511   - Change default for `math-output` setting to MathJax.
512   - Fix handling of missing stylesheets.
514 * docutils/writers/docutils_xml.py
516   - Use the visitor pattern with default_visit()/default_depart() methods
517     instead of minidom to facilitate special handling of selected nodes.
518   - Support raw XML (inserted as-is inside a <raw></raw> node).
520 * docutils/writers/manpage.py
522   - Do not emit comment line with trailing blank. Problematic for VCS.
524 Release 0.8.1 (2011-08-30)
525 ==========================
527 * General:
529   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
530     and [ 3395920 ] (correct copyright info for rst.el).
532 * test/
534   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
536 * docutils/writers/latex2e/__init__.py
538   - Clean up Babel language setting. Restores Sphinx compatibility.
540 Release 0.8 (2011-07-07)
541 ========================
543 * General:
545   - Handle language codes according to `BCP 47`_.
546   - If the specified language is not supported by Docutils,
547     warn and fall back to English.
548   - Math support: reStructuredText "math" role and directive,
549     ``math`` and ``math_block`` doctree elements.
550   - Decode command line arguments with the locale's preferred encoding
551     (to allow, e.g., ``--title=Dornröschen``).
552   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
553   - New sub-module `error_reporting`: handle encoding/decoding errors
554     when reporting exceptions.
555   - Some additions to the Docutils core are released under the 2-Clause BSD
556     license, see COPYING_ for details.
558   .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
559   .. _COPYING: COPYING.html
561 * reStructuredText:
563   - Most directives now support a "name" option that attaches a
564     reference name.
566   - Directive content may start on the first line also when the directive
567     type accepts options.
569 * docs/dev/policies.txt:
571   - Recommend the 2-Clause BSD license
572     (http://www.spdx.org/licenses/BSD-2-Clause)
573     for code that is kept under the author's copyright.
575 * tools/buildhtml.py:
577   - Fix ``--local`` switch.
579 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
581 * docutils/writers/html4css1/__init__.py
583   - Set "lang" argument for objects with class argument
584     "language-<language tag>".
585   - New setting "math-output" with support for HTML, MathML, and LaTeX.
587 * docutils/writers/latex2e/__init__.py
589   - Fix [ 3043986 ] AttributeError using :local: with table of content.
590   - Place title data in the document preamble.
591   - Load `babel` package only if required.
592   - Update list of supported languages.
593   - New config setting "hyperref-options".
594     No hard-coded "unicode" hyperref option (clash with xetex).
595   - Set language for custom roles, paragraphs, block-quotes, and
596     line-quotes with class argument "language-<language tag>".
597   - Fix [ 3095603 ] wrong quotes output for russian and other languages.
598   - Convert image URI to a local file path.
599   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
600     has more than one paragraph (Wolfgang Scherer).
601   - \leavevmode before longtable only when needed (prevents spurious vspace)
602   - do not advance table counter for tables without caption
604 * docutils/writers/xetex/__init__.py
606   - New writer generating LaTeX code for compiling with ``xelatex``.
608     A separate writer (inheriting from latex2e) instead of a ``--xetex``
609     option allows separate config options for XeTeX vs. LaTeX2e.
611 * docutils/writers/manpage.py
613   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
614   - Fix: vertical space cleaning for option group ``.``.
616 * tools/editors/emacs/rst.el:
618   - Fix [ 3001100 ] does not handle spaces in filenames
619     (thanks to Jakub Wilk)
621 * docutils/utils.py:
623   - strip whitespace from stylesheet arguments
624   - exclude combining chars from column_width()
625     (partial fix for [ 2926161 ])
627 * docutils/parsers/rst/directives/misc.py:
629   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
630     nested_parse
632 * docutils/io.py:
634   - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
635     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
637 Release 0.7 (2010-07-07)
638 ========================
640 * General:
642   - Fix [ 2881769 ] setup configuration.
643   - Fix [ 2788716 ] reporting problems in included files.
645 * docutils/io.py
647   - FileInput opens files as text files with universal newline support
648     (mode "rU", configurable with the new optional argument "mode").
650 * docutils/nodes.py
652   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
654 * docutils/utils.py
656   - Fix [ 2923723 ] let decode_path() tolerate path == None
658 * docutils/writers/html4css1/__init__.py
660   - Support SVG and SWF images (thanks to Stefan Rank).
661   - Generate valid XHTML for centered images with targets.
662     Use CSS classes instead of "align" tags for image alignment.
664 * docutils/writers/latex2e/__init__.py
666   - Use `transforms.writer_aux.Admonitions` to "normalize" special
667     admonitions.
668   - Use the ``\url`` command for URLs (breaks long URLs instead of
669     writing into the margin).
670   - Preserve runs of spaces in `inline literals`__.
671   - Deprecate ``figure_footnotes`` setting.
672   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
673   - New ``latex_preamble`` setting.
674   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
675   - Fix hyperlink targets (labels) for images, figures, and tables.
676   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
677   - Apply [ 2961991 ] Call hyperref with unicode option.
678   - Drop the special `output_encoding`__ default ("latin-1").
679     The Docutils wide default (usually "UTF-8") is used instead.
680   - Render inline markup in document title and subtitle.
681   - Fix numbering depth with LaTeX section numbering.
682   - Update Unicode -> LaTeX translations.
683   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
685 __ docs/ref/restructuredtext.html#inline-literals
686 __ docs/user/config.html#docutils-footnotes
687 __ docs/user/config.html#output_encoding
689 * docutils/writers/manpage.py
691   - Fix: supported attribute (thanks to peter2108).
692   - Remove trailing blanks in code (keep in sync with mercurial version).
693   - Titles level 1, that is ``.SH``, always uppercase.
694   - Apply patch from mg: literal text should be bold in man-pages.
696 * docutils/nodes.py
698   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
699     turkish locale.
701 * setup.py:
703   - Python 3 support: copy test/ and tools/ to the build-dir
704     and convert Python sources with 2to3.
707 Release 0.6 (2009-10-11)
708 ========================
710 * General:
712   - Docutils is now compatible with Python versions from 2.3 up to 2.6
713     and convertible to 3.1 code.
715     + Node.__nonzero__ returns True instead of 1.
716     + use os.walk instead os.path.walk.
717     + minimize "types" module where possible.
718     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
719     + Text nodes now subclass unicode rather than UserString
720       (which is gone in python 3.0).
721     + 3.0 compatibility module docutils._compat
723     + Drop 2.2 compatibility workarounds.
724     + Drop extras/optparse.py and extras/textwrap.py
725       (stdlib modules since 2.3).
727   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
728   - Unix man page export: manpage writer moved from sandbox to Doctutils
729     core.
731   - Apply [ 1719345 ] Galician translation
732   - Apply [ 1905741 ] Polish translation
733   - Apply [ 1878977 ] make_id(): deaccent characters.
734   - Apply [ 2029251 ] return nonzero when tests fail.
735   - Fix [ 1692788 ] allow UTF-8 in style sheets.
736   - Fix [ 2781629 ] support non-ASCII chars in file names.
737   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
738   - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
739   - Fix [ 2821266 ] --strict option works now like --halt=info.
740   - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
741   - Fix [ 1627229 ] hyperlink references in substitutions.
743   - The "newlatex" writer is orphaned.
745 * reStructuredText:
747   - Documented Unicode characters allowed as inline markup openers,
748     closers, and delimiters.
749   - Allow units for all length specifications.
750   - Allow percent sign in "scale" argument of "figure" and "image" directives.
751   - Bugfix: The "figalign" argument of a figure now works as intended
752     (aligning the figure, not its contents).
753   - Align images with class "align-[right|center|left]"
754     (allows setting the alignment of an image in a figure).
756 * docutils/nodes.py:
758   - Added ``Element.__contains__`` method, for the in-operator.
760 * docutils/parsers/rst/states.py:
762   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
763   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
764     " " (non-breaking space), and "¡ ¿" openers.
766 * docutils/parsers/directives/misc.py:
768   - Added ``start-line`` and ``end-line`` options to "include"
769     directive to select a range of lines.
770   - Hard tabs in literal inclusions are replaced by spaces. This is
771     configurable via the new ``tab-width`` option of the "include" directive
772     (a negative tab-width prevents tab expansion).
774 * docutils/utils.py:
776   - Add ``get_stylesheet_list`` function.
777   - Apply [ 2834836 ] print info at halt
779 * docutils/transforms/universal.py:
781   - Raise default priority of StripClasses to exclude stripped classes from
782     the ToC.
784 * docutils/writers/html4css1/__init__.py:
786   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
787     separated list of stylesheets.
788   - Address [ 1938891 ] Inline literal text creates "pre" span only when
789     needed to prevent inter-word line wraps.
790   - Use `translate` method instead of repeated `replace` calls.
791   - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
792     classes to allow CSS styling that does not interfere with other
793     table-using constructs (field lists, citations, ...).
795 * docutils/writers/newlatex2e/__init__.py:
797   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
799 * docutils/writers/latex2e/__init__.py (see also
800   `<docs/user/docutils-05-compat.sty.html>`__) :
802   - Add ``--embed-stylesheet`` option.
803   - Apply [ 1474017 ] image vertical alignment is reversed.
804   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
805   - Change: has_key for dictionaries (not Nodes) to in-operator.
806   - Merge adjacent citations into one latex cite command.
807   - Failsave implementation of custom roles. LaTeX compilation now ignores
808     unknown classes instead of aborting with an error.
809   - Support custom roles based on standard roles.
810   - LaTeX packages can be used as ``--stylesheet`` arguments without
811     restriction. (A style sheet is now referenced with the ``\usepackage``
812     command, if it ends with ``.sty`` or has no extension.)
813   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
814   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
815   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
816     2005-02-04 as a configurable length unit).
817   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
818     if font-encoding is set to ''. LaTeX defaults to OT1 then.
819   - Set sub- and superscript role argument in text mode not as math.
820     Use a custom role based on sub-/superscript if you want italic shape.
821   - Shorter preamble and less dependencies: Load packages and define macros
822     only if required in the document.
823   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
824   - New custom environments and commands with optional "classes" argument.
825   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
826   - Better conformance to Docutils specifications with ``--use-latex-toc``.
827     Support for LaTeX generated ToC also with unnumbered sections.
828   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
829     section numbering by LaTeX.
830   - Use default font in admonitions and sidebar.
831   - Align of image in a figure defaults to 'center'.
832   - Bugfix: Newlines around targets and references prevent run-together
833     paragraphs.
834   - Fix internal hyperlinks.
835   - Use class defaults for page margins ('typearea' now optional).
836   - Float placement made configurable, default changed to "here definitely".
837   - Typeset generic topic as "quote block with title".
838   - Use template (file and configuration option).
839   - In the default template, load cmap.sty (fix text extraction in PDF) and
840     fixltx2e.sty (LaTeX patches, \textsubscript).
841   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
842   - Use `translate` instead of repeated `replace` calls for text encoding.
843   - Hyperlinked footnotes and support for symbol footnotes and
844     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
845   - Complete pairs of binary options
846     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
847     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
848   - New defaults:
849     - font-encoding: "T1" (formerly implicitely set by 'ae').
850     - use-latex-toc: true (ToC with page numbers).
851     - use-latex-footnotes: true (no mixup with figures).
853 * docutils/writers/manpage.py
855   - Do not print version at document end, this is done by the viewer.
856   - Do not print date at document end, this is done by the viewer.
857   - Fix storage of docinfo fields for none standard fields.
859 * docutils/tools/rst2man.py
861 Release 0.5 (2008-06-25)
862 ========================
864 * docutils/languages/he.py: Added to project: Hebrew mappings by
865   Meir Kriheli.
867 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
868   mappings by Meir Kriheli.
870 * docutils/frontend.py:
872   - Configuration files are now assumed and required to be
873     UTF-8-encoded.
874   - Paths of applied configuration files are now recorded in the
875     runtime setting ``_config_files`` (accessible via
876     ``--dump-settings``).
877   - Added ``--strip-elements-with-class`` and ``--strip-class``
878     options (``strip_elements_with_classes`` and ``strip_classes``
879     settings).
881 * docutils/io.py:
883   - Added code to determine the input encoding from data: encoding
884     declarations or the presence of byte order marks (UTF-8 & UTF-16).
885   - Added support for IronPython 1.0.
887 * docutils/nodes.py:
889   - Added ``document.__getstate__`` method, for pickling.
891 * docutils/parsers/rst/states.py:
893   - Allow ``+`` and ``:`` in reference names.
894   - Unquoted targets beginning with an underscore (``.. __target:
895     URI``) are no longer accepted.
896   - Added support for multiple attributions in a physical block quote
897     (indented text block), dividing it into multiple logical block
898     quotes.
899   - Added support for unicode bullets in bullet lists: "•", "‣", and
900     "⁃".
901   - Added support for new object-oriented directive interface,
902     retaining compatibility to the old functional interface.
903   - Added support for throwing ``DirectiveError``'s from within
904     directive code.
906 * docutils/parsers/rst/__init__.py:
908   - Added ``Directive`` base class.
909   - Added ``DirectiveError`` base class.
910   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
911     definitions.
913 * docutils/parsers/directives/:
915   - Refactored all reStructuredText directives to use the new
916     object-oriented directive interface.  Errors are now (mostly)
917     thrown using the new ``DirectiveError`` class.
919 * docutils/parsers/directives/misc.py:
921   - Added ``start-after`` and ``end-before`` options to ``include``
922     directive; thanks to Stefan Rank.
924 * docutils/transforms/universal.py:
926   - Added ``StripClassesAndElements`` transform to remove from the
927     document tree all elements with classes in
928     ``settings.strip_elements_with_classes`` and all "classes"
929     attribute values in ``self.document.settings.strip_classes``.
931 * docutils/transforms/writer_aux.py:
933   - Added ``Admonitions`` transform to transform specific admonitions
934     (like ``note``, ``warning``, etc.) into generic admonitions with a
935     localized title.
937 * docutils/writers/html4css1/__init__.py:
939   - Moved template functionality from the PEP/HTML writer here.
940   - Expanded the fragments available in the ``parts`` attribute.
941   - Moved ``id`` attributes from titles to surrounding ``div``
942     elements.
943   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
944     universally supported now).
945   - ``template.txt`` is now opened in text mode instead of binary mode
946     (to ensure Windows compatibility).
947   - ``a`` elements now have an "internal" or "external" class,
948     depending on reference type.
950 * docutils/writers/html4css1/template.txt: Added to project.
952 * docutils/writers/pep_html/:
954   - Moved template functionality to the HTML writer.
956 * docutils/writers/s5_html/__init__.py:
958   - Added ``view_mode`` & ``hidden_controls`` settings
959     (``--view-mode`` & ``--hidden-controls/--visible-controls``
960     options).
962 * docutils/writers/latex2e/__init__.py:
964   - Add ``--literal-block-env``
965   - Fix: escaping ``%`` in href urls.
966   - Move usepackage hyperref after stylesheet inclusion.
967   - Fix: scrartcl does not have chapter but scrreprt.
968   - Add newline after ``\end{verbatim}``.
969   - Merge smaller differences from latex2e_adaptive_preamble.
970   - Add ``use-part-section``.
971   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
972   - Using leavemode option_list no longer needs to check if parent
973     is a definition list.
974   - Append ``\leavemode`` to definition list terms.
975   - No longer write visit\_/depart_definition_list_item comments to
976     output.
977   - Table column width with 3 decimal places.
978   - Add table stubs support (boldfont).
979   - Add assemble_parts to writer.
980   - Add simply support for nested tables.
981   - Fix verbatim in tables if use-verbatim-when-possible.
982   - Use section commands down to subparagraph.
983   - Put ensuremath around some latin1 chars.
984   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
985   - New option ``--use-bibtex=style,db1,db2``.
986   - New option ``--reference-label`` to allow usage of LaTeX ref for
987     labels in section references.
988   - Add a label after every section to support sectionnumbers as reference
989     labels.
990   - Fix: bug# 1605376 rst2latex: bad options group list
991   - Remove inactive code for use_optionlist_for_option_list.
992   - Remove latex comments from option_list output.
993   - Fix: bug# 1612270 double qoutes in italian literal.
994   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
995   - Add option --use-latex-abstract.
996   - Image width unit ``px`` is translated to ``pt``.
997   - Add image height support.
998   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
999     bug #1457388
1000   - Fix: Do not escape underscores in citation reference labels if
1001     use-latex-citations is set.
1002   - Use centering instead of center for figure contents, to avoid vertical
1003     space.
1004   - Recognize table class: borderless, nolines, booktabs, standard.
1005   - Fix: Renaming contents section does not work with latex writer; SF
1006     bug #1487405.
1007   - Applied patch for custom roles with classes from Edward Loper.
1008   - Fixed bug that caused crashes with more than 256 lists.
1010 * docutils/writers/pep_html/__init__.py:
1012   - Changed to support new python.org website structure and
1013     pep2pyramid.py.
1015 * docs/howto/security.txt: "Deploying Docutils Securely", added to
1016   project.
1018 * tools/buildhtml.py:
1020   -- Added ``ignore`` setting to exclude a list of shell patterns
1021      (default: ``.svn:CVS``).
1023 * tools/editors/emacs/rst.el:
1025   - Changed license to "GPL".
1026   - Added ``rst-straighten-decorations`` function.
1027   - The ``compile`` module is now always loaded.
1028   - Added ``rst-toggle-line-block`` function.
1029   - Headings consisting only of non-ASCII characters are now
1030     recognized by ``rst-toc`` and ``rst-adjust``.
1031   - Added font-lock support for multi-line comments where the first
1032     comment line is empty.
1033   - Added ``(require 'font-lock)``.
1035 * setup.py:
1037   - Provide descriptive error message if distutils is missing.
1040 Release 0.4 (2006-01-09)
1041 ========================
1043 * General:
1045   - Updated the project policies for trunk/branch development &
1046     version numbering.
1048 * docutils/__init__.py:
1050   - Added ``__version_details__`` attribute to describe code source
1051     (repository/snapshot/release).
1052   - Replaced ``default_transforms`` attribute of TransformSpec with
1053     ``get_transforms()`` method.
1055 * docutils/core.py:
1057   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
1058     functions, for document tree extraction and reprocessing.
1060 * docutils/io.py:
1062   - Added ``DocTreeInput`` class, for reprocessing existing documents.
1063   - Added support for non-Unicode (e.g. binary) writer output.
1065 * docutils/nodes.py:
1067   - Re-introduced ``Targetable.indirect_reference_name``, for
1068     MoinMoin/reST compatibility (removed in r3124/r3129).
1069   - Added ``serial_escape`` function; escapes string values that are
1070     elements of a list, for serialization.  Modified Docutils-XML
1071     writing (``Element._dom_node``) and pseudo-XML writing
1072     (``Element.starttag``) to use ``serial_escape``.
1073   - Added ``Node.deepcopy()`` method.
1074   - Removed the internal lists ``document.substitution_refs``,
1075     ``document.anonymous_refs``, and ``document.anonymous_targets``.
1076   - Added a "container" element.
1077   - Fixed bug where values of list-valued attributes of elements
1078     originating from custom interpreted text roles (i.e., with custom
1079     classes) were being shared between element instances.  Reported by
1080     Shmuel Zeigerman.
1082 * docutils/statemachine.py:
1084   - Added trailing whitespace stripping to ``string2lines()``.
1085   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
1086     Asian double-width character support.
1088 * docutils/utils.py:
1090   - Added ``east_asian_column_width()`` for double-width character
1091     support.
1093 * docutils/languages/ja.py: Added to project: Japanese mappings by
1094   Hisashi Morita.
1096 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
1097   mappings by Panjunyong.
1099 * docutils/parsers/null.py: Added to project; a do-nothing parser.
1101 * docutils/parsers/rst/__init__.py:
1103   - Added validator to tab_width setting, with test.  Closes SF bug
1104     #1212515, report from Wu Wei.
1106 * docutils/parsers/rst/states.py:
1108   - Fixed bug with escaped colons indicating a literal block.
1109   - Fixed bug with enumerated lists (SF#1254145).
1110   - Backslash-escaped colons inside of field names are now allowed.
1111   - Targets (implicit and explicit), anonymous hyperlink references
1112     and auto-numbered footnote references inside of substitution
1113     definitions are now disallowed.
1114   - Fixed bug: list items with blank first lines.
1115   - Fixed bug: block quote attributions with indented second lines.
1116   - Added East Asian double-width character support (Python 2.4 only).
1118 * docutils/parsers/rst/tableparser.py:
1120   - Added East Asian double-width character support (Python 2.4 only).
1122 * docutils/parsers/rst/directives/body.py:
1124   - Added the "container" directive.
1126 * docutils/parsers/rst/directives/misc.py:
1128   - Added the "default-role", "title", and "date" directives.
1129   - Added standard data file syntax to the "include" directive.
1130   - Added support for "class" directive content.
1132 * docutils/parsers/rst/directives/images.py:
1134   - Added ``indirect_reference_name`` support for images with a target
1135     option.
1136   - Added support for image width and height units.
1137   - Fixed bug with image "target" options.
1139 * docutils/parsers/rst/directives/references.py:
1141   - Added "class" attribute to "target-notes" directive, for
1142     footnote_reference classes.
1144 * docutils/parsers/rst/include/: Directory added to project; contains
1145   standard data files for the "include" directive.  Initial contents:
1146   character entity substitution definition sets, and a set of
1147   definitions for S5/HTML presentations.
1149 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
1150   mappings by David Goodger.
1152 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
1153   Simplified Chinese mappings by Panjunyong.
1155 * docutils/readers/__init__.py:
1157   - Added universal.Decorations and universal.ExposeInternals
1158     transforms as default transforms for all readers.
1159   - Added ``ReReader`` base class for readers that reread an existing
1160     document tree.
1162 * docutils/readers/doctree.py: Added to project; a reader for existing
1163   document trees.
1165 * docutils/transforms/frontmatter.py:
1167   - Fixed the DocInfo transform to handle SVN-style expansion of the
1168     "Date" keyword.
1169   - In ``DocInfo.extract_authors``, treat the contents of "authors"
1170     fields uniformly.
1172 * docutils/transforms/misc.py:
1174   - Added misc.Transitions transform, extracted from
1175     universal.FinalChecks.
1177 * docutils/transforms/references.py:
1179   - Added references.DanglingReferences transform, extracted from
1180     universal.FinalChecks.
1181   - Fixed bug with doubly-indirect substitutions.
1182   - Added footnote_reference classes attribute to "TargetNotes".
1183   - Fixed bug with circular substitution definitions that put Docutils
1184     into an infinite loop.
1186 * docutils/transforms/universal.py:
1188   - Added universal.ExposeInternals transform, extracted from
1189     universal.FinalChecks.
1190   - Removed universal.FinalChecks transform (logic has been moved to
1191     several new transforms).
1192   - Fixed bug with the "expose_internals" setting and Text nodes
1193     (exposed by the "rawsource" internal attribute).
1194   - Added the universal.StripComments transform, implementation of the
1195     "strip_comments" setting.
1197 * docutils/transforms/writer_aux.py: Added to project; auxiliary
1198   transforms for writers.
1200   - Added ``Compound`` transform, which flattens compound paragraphs.
1202 * docutils/writers/: Several writer modules (html4css1.py) were
1203   converted into packages.  Support modules and data files have been
1204   moved into the packages.  The stylesheets for the HTML writers are
1205   now installed along with the code, the code knows where to find
1206   them, and the default is to use them (actually, to embed them).
1207   Some adjustments to configuration files may be necessary.  The
1208   easiest way to obtain the new default behavior is to remove all
1209   settings whose name includes "stylesheet".
1211 * docutils/writers/__init__.py:
1213   - Added universal.Messages and universal.FilterMessages transforms
1214     as default transforms for all writers.
1215   - Added ``UnfilteredWriter`` base class for writers that pass the
1216     document tree on unchanged.
1218 * docutils/writers/docutils_xml.py:
1220   - Made ``xmlcharrefreplace`` the default output encoding error
1221     handler.
1223 * docutils/writers/html4css1/:
1225   - Added support for image width and height units.
1226   - Made ``xmlcharrefreplace`` the default output encoding error
1227     handler.
1228   - Made ``--embed-stylesheet`` the default rather than
1229     ``--link-stylesheet``.
1230   - Moved "id" attribute from container (section etc.) to title's <a>
1231     tag, to be on the same tag as "name".
1232     (!!! To be reverted in Docutils 0.5.)
1233   - Added vertical space between fields of field lists.
1234   - Added ``--compact-field-lists`` option to remove vertical space in
1235     simple field lists.
1236   - Made cloaking of email addresses with ``--cloak-email-addresses``
1237     less obtrusive.
1238   - Fixed support for centered images.
1239   - Added support for class="compact" & class="open" lists.
1241 * docutils/writers/latex2e/:
1243   - Underscores in citekeys are no longer escaped.
1245 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
1246   mapping of Unicode characters to LaTeX equivalents.
1248 * docutils/writers/s5_html/: Package added to project; writer for
1249   S5/HTML slide shows.
1251 * docs/dev/distributing.txt: Added to project; guide for distributors
1252   (package maintainers).
1254 * docs/dev/hacking.txt: Added to project; guide for developers.
1256 * docs/ref/doctree.txt:
1258   - Updated for plural attributes "classes", "ids", "names",
1259     "dupnames".
1260   - Added the "container" element.
1262 * docs/ref/docutils.dtd:
1264   - Updated for plural attributes "classes", "ids", "names",
1265     "dupnames".
1267 * docs/user/emacs.txt: Added to project; a document about Emacs
1268   support for reStructuredText and Docutils.
1270 * docs/user/links.txt: Added to project; lists of Docutils-related
1271   links.
1273 * docs/user/mailing-lists.txt: Added to project; information about
1274   Docutils-related mailing lists and how to access them.
1276 * docs/user/slide-shows.txt: Added to project; example of and docs for
1277   the S5/HTML writer (``rst2s5.py`` front end).
1279 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
1280   Files", added to project.
1282 * test/coverage.sh: Added to project; test coverage script.
1284 * test/DocutilsTestSupport.py:
1286   - Added support for specifying runtime settings at the suite level.
1288 * test/test_functional.py:
1290   - Added the ``clear_output_directory`` function.
1291   - Added support for ``_test_more`` functions in functional test
1292     config files.
1294 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
1296 * tools/rstpep2html.py: Renamed from pep.py.
1298 * tools/dev/create_unimap.py: Added to project; script to create the
1299   docutils/writers/unimap_latex.py mapping file.
1301 * tools/dev/profile_docutils.py: Added to project; profiler script.
1303 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
1305 * tools/editors/emacs/restructuredtext.el,
1306   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
1307   Removed from project; the functionality is now contained in rst.el.
1309 * tools/editors/emacs/rst.el: Added to project.  Added many features
1310   and fixed many bugs.  See docs/user/emacs.txt for details.
1312 * tools/stylesheets: Removed from project.  Stylesheets have been
1313   renamed and moved into writer packages.
1316 Release 0.3.9 (2005-05-26)
1317 ==========================
1319 * General:
1321   - Eliminated and replaced all uses of the old string attributes
1322     ``id``, ``name``, ``dupname`` and ``class`` with references to the
1323     new list attributes ``ids``, ``names``, ``dupnames`` and
1324     ``classes`` throughout the whole source tree.
1326 * docutils/core.py:
1328   - Enabled ``--dump-*`` options when ``--traceback`` specified,
1329     allowing for easier debugging.
1330   - In ``Publisher.publish()``, expanded the generic top-level
1331     exception catching.
1333 * docutils/examples.py:
1335   - Added ``internals`` function for exploration.
1337 * docutils/io.py:
1339   - Fixed ``Input.decode`` method to apply heuristics only if no
1340     encoding is explicitly given, and to provide better reporting of
1341     decoding errors.
1342   - The ``Input.decode`` method now removes byte order marks (BOMs)
1343     from input streams.
1345 * docutils/nodes.py:
1347   - ``image`` element class changed to subclass of Element, not
1348     TextElement (it's an empty element, and cannot contain text).
1349   - Added ``attr_defaults`` dictionary for default attribute values.
1350   - Added empty list as default value for the following attributes:
1351     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
1352   - Added ``document.decoration`` attribute,
1353     ``document.get_decoration`` method, and ``decoration.get_header``
1354     & ``.get_footer`` methods.
1355   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
1356     methods.
1358 * docutils/utils.py:
1360   - Removed ``docutils.utils.Reporter.categories``,
1361     ``docutils.utils.ConditionSet``, and all references to them, to
1362     simplify error reporting.
1364 * docutils/languages/nl.py: Added to project; Dutch mappings by
1365   Martijn Pieters.
1367 * docutils/parsers/rst/__init__.py:
1369   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
1371 * docutils/parsers/rst/states.py:
1373   - Added check for escaped at-mark to prevent email address recognition.
1374   - Fixed option lists to allow spaces inside ``<angle-bracketed option
1375     arguments>``.
1376   - Allowed whitespace in paths and URLs.
1377   - Added auto-enumerated list items.
1378   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
1379     followed by text.
1380   - Added support for table stub columns.
1382 * docutils/parsers/rst/directives/__init__.py:
1384   - Allowed whitespace in paths (``path`` function).
1385   - Added ``uri`` directive option conversion function.
1387 * docutils/parsers/rst/directives/body.py:
1389   - Fixed illegal context bug with "topic" directive (allowed within
1390     sidebars; not within body elements).
1392 * docutils/parsers/rst/directives/images.py:
1394   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
1395   - Added support for the ``file_insertion_enabled`` setting in the
1396     "figure" directive (disables "figwidth" option).
1397   - "image" directive: added checks for valid values of "align" option,
1398     depending on context.  "figure" directive: added specialized
1399     "align" option and attribute on "figure" element.
1400   - Made ":figwidth: image" option of "figure" directive work again.
1401   - Fixed bug with reference names containing uppercase letters
1402     (e.g. ``Name_``) in "target" option of "image" directive.
1404 * docutils/parsers/rst/directives/misc.py:
1406   - Fixed "include" and "raw" directives to catch text decoding
1407     errors.
1408   - Allowed whitespace in "include" & "raw" directive paths.
1409   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
1410     settings in "include" & "raw" directives.
1412 * docutils/parsers/rst/directives/parts.py:
1414   - Added "header" & "footer" directives.
1415   - Fixed illegal context bug with "contents" directive (topics
1416     allowed within sidebars; not within body elements).
1418 * docutils/parsers/rst/directives/tables.py:
1420   - Added "list-table" directive.
1421   - Caught empty CSV table bug.
1422   - Added support for the ``file_insertion_enabled`` setting in the
1423     "csv-table" directive.
1424   - Added ``stub-columns`` option to "csv-table" and "list-table"
1425     directives.
1427 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1428   mappings by Martijn Pieters.
1430 * docutils/readers/standalone.py:
1432   - Added ``--section-subtitles`` and ``--no-section-subtitles``
1433     options to activate or deactivate the SectSubTitle transform.
1435 * docutils/transforms/frontmatter.py:
1437   - Added SectSubTitle transform to promote titles of lone
1438     subsections to subtitles.
1440 * docutils/transforms/references.py:
1442   - Fixed mislocated internal targets bug, by propagating internal
1443     targets to the next node, making use of the newly added support
1444     for multiple names and IDs.
1445   - Fixed duplicate footnote label bug.
1446   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1447     transform.
1449 * docutils/writers/html4css1.py:
1451   - Fixed unencoded stylesheet reference bug (characters like "&" in
1452     stylesheet references).
1453   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1454     tags).
1455   - Added support for multiple IDs per node by creating empty ``span``
1456     tags.
1457   - Added the ``field_name_limit`` & ``option_limit`` settings &
1458     support.
1459   - Added support for table stub columns.
1460   - Added support for the ``align`` attribute on ``figure`` elements.
1461   - Added the ``cloak_email_addresses`` setting & support.
1462   - Added ``html_prolog``, ``html_head``, ``html_body``,
1463     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1464     ``docutils.core.publish_parts``.
1465   - Added support for section subtitles.
1467 * docutils/writers/latex2e.py:
1469   - Fixed tables starting with more than one multirow cell.
1470   - Improved --use-latex-docinfo so that organization/contact/address
1471     fields are lumped with the last author field and appear on the
1472     titlepage.
1473   - Made sure the titlepage is always shown with --use-latex-docinfo,
1474     even if the document has no title.
1475   - Made sure that latex doesn't fill in today's date if no date field
1476     was given.
1477   - Added support for section subtitles.
1479 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1480   (under development).
1482 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1484 * docs/api/publisher.txt:
1486   - Added "``publish_parts`` Details" section.
1488 * docutils/dev/repository.txt: Added to project; information about the
1489   Docutils Subversion repository.
1491 * docs/ref/docutils.dtd:
1493   - Added a ``stub`` attribute to the ``colspec`` element via the
1494     ``tbl.colspec.att`` parameter entity.
1495   - Allowed topic elements within sidebars
1496   - Added an ``align`` attribute to the ``figure`` element.
1498 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1499   writer.
1502 Release 0.3.7 (2004-12-24)
1503 ==========================
1505 * docutils/frontend.py:
1507   - Added options: --input-encoding-error-handler,
1508     --record-dependencies, --leave-footnote-reference-space,
1509     --strict-visitor.
1510   - Added command-line and config file support for "overrides" setting
1511     parameter.
1513 * docutils/io.py:
1515   - Added support for input encoding error handler.
1517 * docutils/nodes.py:
1519   - Added dispatch_visit and dispatch_departure methods to
1520     NodeVisitor; useful as a hook for Visitors.
1521   - Changed structure of ``line_block``; added ``line``.
1522   - Added ``compound`` node class.
1523   - Added a mechanism for Visitors to transitionally ignore new node
1524     classes.
1526 * docutils/utils.py:
1528   - Moved ``escape2null`` and ``unescape`` functions from
1529     docutils/parsers/rst/states.py.
1531 * docutils/parsers/rst/roles.py:
1533   - Added "raw" role.
1534   - Changed role function API: the "text" parameter now takes
1535     null-escaped interpreted text content.
1537 * docutils/parsers/rst/states.py:
1539   - Fixed bug where a "role" directive in a nested parse would crash
1540     the parser; the state machine's "language" attribute was not being
1541     copied over.
1542   - Added support for line block syntax.
1543   - Fixed directive parsing bug: argument-less directives didn't
1544     notice that arguments were present.
1545   - Removed error checking for transitions.
1546   - Added support for multiple classifiers in definition list items.
1547   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1548   - Changed role function API: the "text" parameter now takes
1549     null-escaped interpreted text content.
1550   - Empty sections and documents are allowed now.
1552 * docutils/parsers/rst/directives/__init__.py:
1554   - Added ``encoding`` directive option conversion function.
1555   - Allow multiple class names in class_option conversion function.
1557 * docutils/parsers/rst/directives/body.py:
1559   - Converted the line-block directive to use the new structure.
1560   - Extracted the old line-block functionality to the ``block``
1561     function (still used).
1562   - Added ``compound`` directive (thanks to Lea Wiemann).
1564 * docutils/parsers/rst/directives/misc.py:
1566   - Added "encoding" option to "include" and "raw" directives.
1567   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1568   - Allow multiple class names in the "class" directive.
1570 * docutils/parsers/rst/directives/parts.py:
1572   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1573     options.  Thanks to Lele Gaifax.
1575 * docutils/parsers/rst/directives/tables.py:
1577   - Added "encoding" directive to "csv-table" directive.
1578   - Added workaround for lack of Unicode support in csv.py, for
1579     non-ASCII CSV input.
1581 * docutils/transforms/misc.py:
1583   - Fixed bug when multiple "class" directives are applied to a single
1584     element.
1585   - Enabled multiple format names for "raw" directive.
1587 * docutils/transforms/references.py:
1589   - Added support for trimming whitespace from beside substitution
1590     references.
1592 * docutils/transforms/universal.py:
1594   - FinalChecks now checks for illegal transitions and moves
1595     transitions between sections.
1597 * docutils/writers/html4css1.py:
1599   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
1600   - "stylesheet" and "stylesheet_path" settings are now mutually
1601     exclusive.
1602   - Added support for the new line_block/line structure.
1603   - --footnote-references now overrides
1604     --trim-footnote-reference-space, if applicable.
1605   - Added support for ``compound`` elements.
1606   - Enabled multiple format names for "raw" directive.
1607   - ``<p>`` tags of a paragraph which is the only visible child of the
1608     document node are no longer stripped.
1609   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1610     new method ``should_be_compact_paragraph()``.
1611   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1612     elements.
1613   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1614     the output if they have their ``class`` attribute set.
1615   - The whole document is now surrounded by a ``<div
1616     class="document">`` element.
1617   - Body-level images are now wrapped by their own ``<div>`` elements,
1618     with image classes copied to the wrapper, and for images which
1619     have the ``:align:`` option set, the surrounding ``<div>`` now
1620     receives a class attribute (like ``class="align-left"``).
1622 * docutils/writers/latex2e.py:
1624   - no newline after depart_term.
1625   - Added translations for some Unicode quotes.
1626   - Added option "font-encoding", made package AE the default.
1627   - "stylesheet" and "stylesheet_path" settings are now mutually
1628     exclusive.
1629   - --footnote-references now overrides
1630     --trim-footnote-reference-space, if applicable.
1631   - The footnote label style now matches the footnote reference style
1632     ("brackets" or "superscript").
1633   - Added support for ``compound`` elements.
1634   - Enabled multiple format names for "raw" directive.
1636 * docs/ref/docutils.dtd:
1638   - Changed structure of the ``line_block`` element; added ``line``.
1639   - Added ``compound`` element.
1640   - Added "ltrim" and "rtrim" attributes to
1641     ``substitution_definition`` element.
1642   - Enabled multiple format names for ``raw`` element.
1643   - Enabled multiple classifiers in ``definition_list_item`` elements.
1645 * docs/ref/rst/directives.txt
1647   - Marked "line-block" as deprecated.
1648   - "Class" directive now allows multiple class names.
1649   - Added "Rationale for Class Attribute Value Conversion".
1650   - Added warning about "raw" overuse/abuse.
1652 * docs/ref/rst/restructuredtext.txt:
1654   - Added syntax for line blocks.
1655   - Definition list items may have multiple classifiers.
1657 * docs/ref/rst/roles.txt:
1659   - Added "raw" role.
1661 * tools/stylesheets/default.css:
1663   - Added support for the new line_block structure.
1664   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1667 Release 0.3.5 (2004-07-29)
1668 ==========================
1670 General:
1672 * _`Documentation cleanup/reorganization`.
1674   - Created new subdirectories of docs/:
1676     * ``docs/user/``: introductory/tutorial material for end-users
1677     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1678     * ``docs/api/``: API reference material for client-developers
1679     * ``docs/ref/``: reference material for all groups
1680     * ``docs/howto/``: for component-developers and core-developers
1681     * ``docs/peps/``: Python Enhancement Proposals
1683   - Moved ``docs/*`` to ``docs/user/``.
1684   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1685     ``spec/`` to ``docs/dev``.
1686   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1687     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1688   - Moved ``alternatives.txt``, and ``problems.txt`` from
1689     ``spec/rst/`` to ``docs/dev/rst/``.
1690   - Moved ``reStructuredText.txt``, ``directives.txt``,
1691     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1692     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
1693     ``roles.txt``, ``reStructuredText.txt`` to
1694     ``restructuredtext.txt``.
1695   - Moved ``spec/howto/`` to ``docs/howto``.
1697   In order to keep the CVS history of moved files, we supplied
1698   SourceForge with a `script for modifying the Docutils CVS
1699   repository`__.
1701   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1703   After running the cleanup script:
1705   - Added ``docs/index.txt``.
1706   - Added a ``.htaccess`` file to the ``web`` module, containing
1707     redirects for all old paths to new paths.  They'll preserve
1708     fragments (the "#name" part of a URL), and won't clutter up the
1709     file system, and will correct the URL in the user's browser.
1710   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1711     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1712     the "To Do" list itself in ``docs/dev/todo.txt``.
1713   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1714     section of ``docs/dev/todo.txt``.
1715   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1716   - Added "How To Report Bugs" to ``BUGS.txt``.
1717   - Went through all the sources and docs (including under web/) and
1718     updated links.  Mostly done by Lea Wiemann; thanks Lea!
1719     (Still need to update links in the sandboxes.)
1721 Specific:
1723 * BUGS.txt: Added to project.
1725 * THANKS.txt: Added to project.
1727 * docutils/__init__.py:
1729   - 0.3.4: Post-release.
1731 * docutils/core.py:
1733   - Added special error handling & advice for UnicodeEncodeError.
1734   - Refactored Publisher.publish (simplified exception handling &
1735     extracted debug dumps).
1736   - Renamed "enable_exit" parameter of convenience functions to
1737     "enable_exit_status".
1738   - Enabled traceback (exception propagation) by default in
1739     programmatic convenience functions.
1740   - Now publish_file and publish_cmdline convenience functions return
1741     the encoded string results in addition to their regular I/O.
1742   - Extracted common code from publish_file, publish_string, and
1743     publish_parts, into new publish_programmatically.  Extracted
1744     settings code to ``Publisher.process_programmatic_settings``.
1745   - In Publisher.publish, disabled ``settings_overrides`` when
1746     ``settings`` is supplied; redundant.
1748 * docutils/frontend.py:
1750   - Added help text for "--output-encoding-error-handler" and
1751     "--error-encoding-error-handler".
1752   - Renamed "--exit" to "--exit-status".
1753   - Simplified default-setting code.
1755 * docutils/parsers/rst/__init__.py:
1757   - Added "--pep-base-url" and "--rfc-base-url" options.
1759 * docutils/parsers/rst/states.py:
1761   - Made URI recognition more aggressive and intelligent.
1763 * docutils/parsers/rst/directives/__init__.py:
1765   - Added several directive option conversion functions.
1767 * docutils/parsers/rst/directives/body.py:
1769   - Moved "table" directive to tables.py.
1771 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1772   added to project.
1774 * docutils/writers/latex2e.py:
1776   - Added "--table-style=(standard|booktabs|nolines)"
1777   - figures get "here" option (LaTeX per default puts them at bottom),
1778     and figure content is centered.
1779   - Rowspan support for tables.
1780   - Fix: admonition titles before first section.
1781   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1782   - Replave ``_`` in literal by an underlined blank, because it has the correct
1783     width.
1784   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1785   - A few unicode replacements, if output_encoding != utf
1786   - Add "--graphicx-option".
1787   - Indent literal-blocks.
1788   - Fix: omit ``\maketitle`` when there is no document title.
1790 * docs/index.txt: "Docutils Project Documentation Overview", added to
1791   project.
1793 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1794   Tool", added to project.
1796 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1798 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1800 * docs/dev/policies.txt: Added to project (extracted from
1801   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1803 * docs/dev/release.txt: Added to project (extracted from
1804   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1806 * docs/dev/testing.txt: Added to project.
1808 * docs/dev/website.txt: Added to project (extracted from
1809   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1811 * docs/ref/rst/directives.txt:
1813   - Added directives: "table", "csv-table".
1815 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1816   added to project.  1 page for syntax, and a 1 page reference for
1817   directives and roles.  Source text to be used as-is; not meant to be
1818   converted to HTML.
1820 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1821   with a change of title.
1823 * test/functional/, contents, and test/test_functional.py: Added to
1824   project.
1826 * tools/buildhtml.py: Fixed bug with config file handling.
1828 * tools/html.py: Removed from project (duplicate of rst2html.py).
1830 * tools/pep2html.py: Removed from project (duplicate of Python's
1831   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1832   Docutils-related PEPs in docs/peps/).
1834 * tools/rst2pseudoxml.py: Renamed from publish.py.
1836 * tools/rst2xml.py: Renamed from docutils-xml.py.
1838 * tools/test.txt: Removed from project; moved to
1839   docs/user/rst/demo.txt.
1841 * setup.py: Now also installs ``rst2latex.py``.
1844 Release 0.3.3 (2004-05-09)
1845 ==========================
1847 * docutils/__init__.py:
1849   - 0.3.1: Reorganized config file format (multiple sections); see
1850     docs/config.txt.
1851   - Added unknown_reference_resolvers attribute to TransformSpec.
1852   - 0.3.2: Interpreted text reorganization.
1853   - 0.3.3: Released.
1855 * docutils/core.py:
1857   - Catch system messages to stop tracebacks from parsing errors.
1858   - Catch exceptions during processing report & exit without
1859     tracebacks, except when "--traceback" used.
1860   - Reordered components for OptionParser; application comes last.
1861   - Added "config_section" parameter to several methods and functions,
1862     allowing front ends to easily specify their config file sections.
1863   - Added publish_parts convenience function to allow access to individual
1864     parts of a document.
1866 * docutils/examples.py: Added to project; practical examples of
1867   Docutils client code, to be used as-is or as models for variations.
1869 * docutils/frontend.py:
1871   - Added "--traceback" & "--no-traceback" options ("traceback"
1872     setting).
1873   - Implemented support for config file reorganization:
1874     ``standard_config_files`` moved from ``ConfigParser`` to
1875     ``OptionParser``; added
1876     ``OptionParser.get_config_file_settings()`` and
1877     ``.get_standard_config_settings()``; support for old "[options]"
1878     section (with deprecation warning) and mapping from old to new
1879     settings.
1880   - Reimplemented setting validation.
1881   - Enabled flexible boolean values: yes/no, true/false, on/off.
1882   - Added ``Values``, a subclass of ``optparse.Values``, with support
1883     for list setting attributes.
1884   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1885     thanks to Beni Cherniavsky.
1886   - Added "--no-section-numbering" option.
1888 * docutils/io.py:
1890   - Catch IOErrors when opening source & destination files, report &
1891     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1892     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1894 * docutils/nodes.py:
1896   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1897     method definitions (via ``exec``) to dynamic assignments (via
1898     ``setattr``); thanks to Roman Suzi.
1899   - Encapsulated visitor dynamic assignments in a function; thanks to
1900     Ian Bicking.
1901   - Added indirect_reference_name attribute to the Targetable
1902     class. This attribute holds the whitespace_normalized_name
1903     (contains mixed case) of a target.
1905 * docutils/statemachine.py:
1907   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1908   - Added ``StringList.get_2D_block``.
1910 * docutils/utils.py:
1912   - Added "level" attribute to SystemMessage exceptions.
1914 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1915   Jannie Hofmeyr.
1917 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1918   Blaha.
1920 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1921   Marcelo Huerta San Martin.
1923 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1924   mappings by Lalo Martins.
1926 * docutils/languages/ru.py: Added to project; Russian mappings by
1927   Roman Suzi.
1929 * docutils/parsers/rst/roles.py: Added to project.  Contains
1930   interpreted text role functions, a registry for interpreted text
1931   roles, and an API for adding to and retrieving from the registry.
1932   Contributed by Edward Loper.
1934 * docutils/parsers/rst/states.py:
1936   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1937   - Allowed true em-dash character and "---" as block quote
1938     attribution marker.
1939   - Added support for <angle-bracketed> complex option arguments
1940     (option lists).
1941   - Fixed handling of backslashes in substitution definitions.
1942   - Fixed off-by-1 error with extra whitespace after substitution
1943     definition directive.
1944   - Added inline markup parsing to field lists' field names.
1945   - Added support for quoted (and unindented) literal blocks.
1946     Driven in part by a bribe from Frank Siebenlist (thanks!).
1947   - Parser now handles escapes in URIs correctly.
1948   - Made embedded-URIs' reference text omittable.  Idea from Beni
1949     Cherniavsky.
1950   - Refactored explicit target processing code.
1951   - Added name attribute to references containing the reference name only
1952     through whitespace_normalize_name (no case changes).
1953   - parse_target no longer returns the refname after going through
1954     normalize_name. This is now handled in make_target.
1955   - Fixed bug relating to role-less interpreted text in non-English
1956     contexts.
1957   - Reorganized interpreted text processing; moved code into the new
1958     roles.py module.  Contributed by Edward Loper.
1959   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1960     ``parse_directive_block``.
1962 * docutils/parsers/rst/tableparser.py:
1964   - Reworked for ``StringList``, to support "include" directives in
1965     table cells.
1967 * docutils/parsers/rst/directives/__init__.py:
1969   - Renamed ``unchanged()`` directive option conversion function to
1970     ``unchanged_required``, and added a new ``unchanged``.
1971   - Catch unicode value too high error; fixes bug 781766.
1972   - Beefed up directive error reporting.
1974 * docutils/parsers/rst/directives/body.py:
1976   - Added basic "table" directive.
1978 * docutils/parsers/rst/directives/images.py:
1980   - Added "target" option to "image" directive.
1981   - Added name attribute to references containing the reference name only
1982     through whitespace_normalize_name (no case changes).
1984 * docutils/parsers/rst/directives/misc.py:
1986   - Isolated the import of the ``urllib2`` module; was causing
1987     problems on SourceForge (``libssl.so.2`` unavailable?).
1988   - Added the "role" directive for declaring custom interpreted text
1989     roles.
1991 * docutils/parsers/rst/directives/parts.py:
1993   - The "contents" directive does more work up-front, creating the
1994     "topic" and "title", and leaving the "pending" node for the
1995     transform.  Allows earlier reference resolution; fixes subtle bug.
1997 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1998   mappings by Jannie Hofmeyr.
2000 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
2001   mappings by Marek Blaha.
2003 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
2004   mappings by Marcelo Huerta San Martin.
2006 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
2007   Portuguese mappings by Lalo Martins.
2009 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
2010   mappings by Roman Suzi.
2012 * docutils/transforms/parts.py:
2014   - The "contents" directive does more work up-front, creating the
2015     "topic" and "title", and leaving the "pending" node for the
2016     transform.  Allows earlier reference resolution; fixes subtle bug.
2017   - Added support for disabling of section numbering.
2019 * docutils/transforms/references.py:
2021   - Verifying that external targets are truly targets and not indirect
2022     references. This is because we are now adding a "name" attribute to
2023     references in addition to targets. Note sure if this is correct!
2024   - Added code to hook into the unknown_reference_resolvers list for a
2025     transformer in resolve_indirect_target. This allows the
2026     unknown_reference_resolvers to keep around indirect targets which
2027     docutils doesn't know about.
2028   - Added specific error message for duplicate targets.
2030 * docutils/transforms/universal.py:
2032   - Added FilterMessages transform (removes system messages below the
2033     verbosity threshold).
2034   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
2035     to FinalCheckVisitor for application-specific handling of
2036     unresolvable references.
2037   - Added specific error message for duplicate targets.
2039 * docutils/writers/__init__.py:
2041   - Added assemble_parts method to the Writer class to allow for
2042     access to a documents individual parts.
2043   - Documented & set default for ``Writer.output`` attribute.
2045 * docutils/writers/html4css1.py:
2047   - Fixed unicode handling of attribute values (bug 760673).
2048   - Prevent duplication of "class" attribute values (bug report from
2049     Kirill Lapshin).
2050   - Improved table grid/border handling (prompted by report from Bob
2051     Marshall).
2052   - Added support for table titles.
2053   - Added "<title />" for untitled docs, for XHTML conformance; thanks
2054     to Darek Suchojad.
2055   - Added functionality to keep track of individual parts of a document
2056     and store them in a dictionary as the "parts" attribute of the writer.
2057     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
2058   - Added proper support for the "scale" attribute of the "image"
2059     element.  Contributed by Brent Cook.
2060   - Added ``--initial-header-level`` option.
2061   - Fixed bug: the body_pre_docinfo segment depended on there being a
2062     docinfo; if no docinfo, the document title was incorporated into
2063     the body segment.  Adversely affected the publish_parts interface.
2065 * docutils/writers/latex2e.py:
2067   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
2068     about a missing file.
2069   - Added options and support: ``--compound-enumerators``,
2070     ``--section-prefix-for-enumerators``, and
2071     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
2072     934322).
2073   - Added option ``--use-verbatim-when-possible``, to avoid
2074     problematic characters (eg, '~' in italian) in literal blocks.
2075   - It's now possible to use four section levels in the `book` and
2076     `report` LaTeX classes.  The default `article` class still has
2077     three levels limit.
2079 * docs/config.txt: "Docutils Configuration Files", added to project.
2080   Moved config file entry descriptions from tools.txt.
2082 * docs/tools.txt:
2084   - Moved config file entry descriptions to config.txt.
2086 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
2087   Development".
2089 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
2090   Text Roles", added to project.
2092 * spec/rst/reStructuredText.txt:
2094   - Added description of support for <angle-bracketed> complex option
2095     arguments to option lists.
2096   - Added subsections for indented and quoted literal blocks.
2098 * test: Continually adding & updating tests.
2100   - Added test/test_settings.py & test/data/config_*.txt support
2101     files.
2102   - Added test/test_writers/test_htmlfragment.py.
2104 * test/DocutilsTestSupport.py:
2106   - Refactored LaTeX publisher test suite/case class names to make
2107     testing other writers easier.
2108   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
2109     to test the processing of HTML fragments which use the new
2110     publish_parts convenience function.
2112 * tools/buildhtml.py:
2114   - Added support for the "--prune" option.
2115   - Removed dependency on pep2html.py; plaintext PEPs no longer
2116     supported.
2118 * tools/docutils.conf:
2120   - Updated for configuration file reorganization.
2122 * tools/rst2html.py:
2124   - copied from tools/html.py
2126 * setup.py:
2128   - added a 'scripts' section to configuration
2129   - added 'tools/rst2html.py' to the scripts section
2132 Release 0.3 (2003-06-24)
2133 ========================
2135 General:
2137 * Renamed "attribute" to "option" for directives/extensions.
2139 * Renamed transform method "transform" to "apply".
2141 * Renamed "options" to "settings" for runtime settings (as set by
2142   command-line options).  Sometimes "option" (singular) became
2143   "settings" (plural).  Some variations below:
2145   - document.options -> document.settings (stored in other objects as
2146     well)
2147   - option_spec -> settings_spec (not directives though)
2148   - OptionSpec -> SettingsSpec
2149   - cmdline_options -> settings_spec
2150   - relative_path_options -> relative_path_settings
2151   - option_default_overrides -> settings_default_overrides
2152   - Publisher.set_options -> Publisher.get_settings
2154 Specific:
2156 * COPYING.txt: Added "Public Domain Dedication".
2158 * FAQ.txt: Frequently asked questions, added to project.
2160 * setup.py:
2162   - Updated with PyPI Trove classifiers.
2163   - Conditional installation of third-party modules.
2165 * docutils/__init__.py:
2167   - Bumped version to 0.2.1 to reflect changes to I/O classes.
2168   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
2169   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
2170   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
2171     option and its effect on the PEP template & writer.
2172   - Bumped version to 0.2.4 due to changes to the PEP template &
2173     stylesheet.
2174   - Bumped version to 0.2.5 to reflect changes to Reporter output.
2175   - Added ``TransformSpec`` class for new transform system.
2176   - Bumped version to 0.2.6 for API changes (renaming).
2177   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
2178     convenience functions.
2179   - Added ``Component.component_type`` attribute.
2180   - Bumped version to 0.2.8 because of the internal parser switch from
2181     plain lists to the docutils.statemachine.StringList objects.
2182   - Bumped version to 0.2.9 because of the frontend.py API changes.
2183   - Bumped version to 0.2.10 due to changes to the project layout
2184     (third-party modules removed from the "docutils" package), and
2185     signature changes in ``io.Input``/``io.Output``.
2186   - Changed version to 0.3.0 for release.
2188 * docutils/core.py:
2190   - Made ``publish()`` a bit more convenient.
2191   - Generalized ``Publisher.set_io``.
2192   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
2193     parameters; improved its docstring.
2194   - Added ``publish_file()`` and ``publish_string()``.
2195   - Factored ``Publisher.set_source()`` and ``.set_destination()``
2196     out of ``.set_io``.
2197   - Added support for "--dump-pseudo-xml", "--dump-settings", and
2198     "--dump-transforms" hidden options.
2199   - Added ``Publisher.apply_transforms()`` method.
2200   - Added ``Publisher.set_components()`` method; support for
2201     ``publish_*()`` conveninece functions.
2202   - Moved config file processing to docutils/frontend.py.
2203   - Added support for exit status ("exit_level" setting &
2204     ``enable_exit`` parameter for Publisher.publish() and convenience
2205     functions).
2207 * docutils/frontend.py:
2209   - Check for & exit on identical source & destination paths.
2210   - Fixed bug with absolute paths & "--config".
2211   - Set non-command-line defaults in ``OptionParser.__init__()``:
2212     ``_source`` & ``_destination``.
2213   - Distributed ``relative_path_settings`` to components; updated
2214     ``OptionParser.populate_from_components()`` to combine it all.
2215   - Require list of keys in ``make_paths_absolute`` (was implicit in
2216     global ``relative_path_settings``).
2217   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
2218     "--dump-settings", and "--dump-transforms" hidden options.
2219   - Removed nasty internals-fiddling ``ConfigParser.get_section``
2220     code, replaced with correct code.
2221   - Added validation functionality for config files.
2222   - Added "--error-encoding" option/setting, "_disable_config"
2223     internal setting.
2224   - Added encoding validation; updated "--input-encoding" and
2225     "--output-encoding"; added "--error-encoding-error-handler" and
2226     "--output-encoding-error-handler".
2227   - Moved config file processing from docutils/core.py.
2228   - Updated ``OptionParser.populate_from_components`` to handle new
2229     ``SettingsSpec.settings_defaults`` dict.
2230   - Added support for "-" => stdin/stdout.
2231   - Added "exit_level" setting ("--exit" option).
2233 * docutils/io.py:
2235   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
2236   - Added automatic closing to ``FileInput`` and ``FileOutput``.
2237   - Delayed opening of ``FileOutput`` file until ``write()`` called.
2238   - ``FileOutput.write()`` now returns the encoded output string.
2239   - Try to get path/stream name automatically in ``FileInput`` &
2240     ``FileOutput``.
2241   - Added defaults for source & destination paths.
2242   - Allow for Unicode I/O with an explicit "unicode" encoding.
2243   - Added ``Output.encode()``.
2244   - Removed dependency on runtime settings; pass encoding directly.
2245   - Recognize Unicode strings in ``Input.decode()``.
2246   - Added support for output encoding error handlers.
2248 * docutils/nodes.py:
2250   - Added "Invisible" element category class.
2251   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
2252     modification during a traversal.
2253   - Added element classes: ``line_block``, ``generated``, ``address``,
2254     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
2255     ``superscript``, ``subscript``, ``inline``
2256   - Added support for lists of nodes to ``Element.insert()``.
2257   - Fixed parent linking in ``Element.replace()``.
2258   - Added new abstract superclass ``FixedTextElement``; adds
2259     "xml:space" attribute.
2260   - Added support for "line" attribute of ``system_message`` nodes.
2261   - Added support for the observer pattern from ``utils.Reporter``.
2262     Added ``parse_messages`` and ``transform_messages`` attributes to
2263     ``document``, removed ``messages``.  Added ``note_parse_message``
2264     and ``note_transform_message`` methods.
2265   - Added support for improved diagnostics:
2267     - Added "document", "source", and "line" internal attributes to
2268       ``Node``, set by ``Node.setup_child()``.
2269     - Converted variations on ``node.parent = self`` to
2270       ``self.setup_child(node)``.
2271     - Added ``document.current_source`` & ``.current_line``
2272       attributes, and ``.note_source`` observer method.
2273     - Changed "system_message" output to GNU-Tools format.
2275   - Added a "rawsource" attribute to the ``Text`` class, for text
2276     before backslash-escape resolution.
2277   - Support for new transform system.
2278   - Reworked ``pending`` element.
2279   - Fixed XML DOM bug (SF #660611).
2280   - Removed the ``interpeted`` element class and added
2281     ``title_reference``, ``abbreviation``, ``acronym``.
2282   - Made substitutions case-sensitive-but-forgiving; moved some code
2283     from the parser.
2284   - Fixed Unicode bug on element attributes (report: William Dode).
2286 * docutils/optik.py: Removed from project; replaced with
2287   extras/optparse.py and extras/textwrap.py.  These will be installed
2288   only if they're not already present in the Python installation.
2290 * docutils/roman.py: Moved to extras/roman.py; this will be installed
2291   only if it's not already present in the Python installation.
2293 * docutils/statemachine.py:
2295   - Factored out ``State.add_initial_transitions()`` so it can be
2296     extended.
2297   - Converted whitespace-specific "blank" and "indent" transitions
2298     from special-case code to ordinary transitions: removed
2299     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
2300     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
2301     ``ws_initial_transitions`` attributes.
2302   - Removed ``State.match_transition()`` after merging it into
2303     ``.check_line()``.
2304   - Added ``StateCorrection`` exception.
2305   - Added support for ``StateCorrection`` in ``StateMachine.run()``
2306     (moved ``TransitionCorrection`` support there too.)
2307   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
2308     ``EOFError`` instead of ``IndexError``.
2309   - Added ``State.no_match`` method.
2310   - Added support for the Observer pattern, triggered by input line
2311     changes.
2312   - Added ``strip_top`` parameter to
2313     ``StateMachineWS.get_first_known_indented``.
2314   - Made ``context`` a parameter to ``StateMachine.run()``.
2315   - Added ``ViewList`` & ``StringList`` classes;
2316     ``extract_indented()`` becomes ``StringList.get_indented()``.
2317   - Added ``StateMachine.insert_input()``.
2318   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
2319     thanks to) Fred Drake.
2321 * docutils/utils.py:
2323   - Added a ``source`` attribute to Reporter instances and
2324     ``system_message`` elements.
2325   - Added an observer pattern to ``utils.Reporter`` to keep track of
2326     system messages.
2327   - Fixed bugs in ``relative_path()``.
2328   - Added support for improved diagnostics.
2329   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
2330   - Added support for encoding Reporter stderr output, and encoding
2331     error handlers.
2332   - Reporter keeps track of the highest level system message yet
2333     generated.
2335 * docutils/languages: Fixed bibliographic field language lookups.
2337 * docutils/languages/es.py: Added to project; Spanish mappings by
2338   Marcelo Huerta San Martin.
2340 * docutils/languages/fr.py: Added to project; French mappings by
2341   Stefane Fermigier.
2343 * docutils/languages/it.py: Added to project; Italian mappings by
2344   Nicola Larosa.
2346 * docutils/languages/sk.py: Added to project; Slovak mappings by
2347   Miroslav Vasko.
2349 * docutils/parser/__init__.py:
2351   - Added ``Parser.finish_parse()`` method.
2353 * docutils/parser/rst/__init__.py:
2355   - Added options: "--pep-references", "--rfc-references",
2356     "--tab-width", "--trim-footnote-reference-space".
2358 * docutils/parsers/rst/states.py:
2360   - Changed "title under/overline too short" system messages from INFO
2361     to WARNING, and fixed its insertion location.
2362   - Fixed enumerated list item parsing to allow paragraphs & section
2363     titles to begin with enumerators.
2364   - Converted system messages to use the new "line" attribute.
2365   - Fixed a substitution reference edge case.
2366   - Added support for "--pep-references" and "--rfc-references"
2367     options; reworked ``Inliner`` code to make customization easier.
2368   - Removed field argument parsing.
2369   - Added support for short section title over/underlines.
2370   - Fixed "simple reference name" regexp to ignore text like
2371     "object.__method__"; not an anonymous reference.
2372   - Added support for improved diagnostics.
2373   - Reworked directive API, based on Dethe Elza's contribution.  Added
2374     ``Body.parse_directive()``, ``.parse_directive_options()``,
2375     ``.parse_directive_arguments()`` methods.
2376   - Added ``ExtensionOptions`` class, to parse directive options
2377     without parsing field bodies.  Factored
2378     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
2379     ``ExtensionOptions``.
2380   - Improved definition list term/classifier parsing.
2381   - Added warnings for unknown directives.
2382   - Renamed ``Stuff`` to ``Struct``.
2383   - Now flagged as errors: transitions at the beginning or end of
2384     sections, empty sections (except title), and empty documents.
2385   - Updated for ``statemachine.StringList``.
2386   - Enabled recognition of schemeless email addresses in targets.
2387   - Added support for embedded URIs in hyperlink references.
2388   - Added backslash-escapes to inline markup end-string suffix.
2389   - Added support for correct interpreted text processing.
2390   - Fixed nested title parsing (topic, sidebar directives).
2391   - Added special processing of backslash-escaped whitespace (idea
2392     from David Abrahams).
2393   - Made substitutions case-sensitive-but-forgiving; moved some code
2394     to ``docutils.nodes``.
2395   - Added support for block quote attributions.
2396   - Added a kludge to work-around a conflict between the bubble-up
2397     parser strategy and short titles (<= 3 char-long over- &
2398     underlines).  Fixes SF bug #738803 "infinite loop with multiple
2399     titles" submitted by Jason Diamond.
2400   - Added explicit interpreted text roles for standard inline markup:
2401     "emphasis", "strong", "literal".
2402   - Implemented "superscript" and "subscript" interpreted text roles.
2403   - Added initial support for "abbreviation" and "acronym" roles;
2404     incomplete.
2405   - Added support for "--trim-footnote-reference-space" option.
2406   - Optional space before colons in directives & hyperlink targets.
2408 * docutils/parsers/rst/tableparser.py:
2410   - Fixed a bug that was producing unwanted empty rows in "simple"
2411     tables.
2412   - Detect bad column spans in "simple" tables.
2414 * docutils/parsers/rst/directives: Updated all directive functions to
2415   new API.
2417 * docutils/parsers/rst/directives/__init__.py:
2419   - Added ``flag()``, ``unchanged()``, ``path()``,
2420     ``nonnegative_int()``, ``choice()``, and ``class_option()``
2421     directive option helper functions.
2422   - Added warnings for unknown directives.
2423   - Return ``None`` for missing directives.
2424   - Added ``register_directive()``, thanks to William Dode and Paul
2425     Moore.
2427 * docutils/parsers/rst/directives/admonitions.py:
2429   - Added "admonition" directive.
2431 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
2432   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2433   "parsed-literal", "rubric", "epigraph", "highlights" and
2434   "pull-quote" directives.
2436 * docutils/parsers/rst/directives/images.py:
2438   - Added an "align" attribute to the "image" & "figure" directives
2439     (by Adam Chodorowski).
2440   - Added "class" option to "image", and "figclass" to "figure".
2442 * docutils/parsers/rst/directives/misc.py:
2444   - Added "include", "raw", and "replace" directives, courtesy of
2445     Dethe Elza.
2446   - Added "unicode" and "class" directives.
2448 * docutils/parsers/rst/directives/parts.py:
2450   - Added the "sectnum" directive; by Dmitry Jemerov.
2451   - Added "class" option to "contents" directive.
2453 * docutils/parsers/rst/directives/references.py: Added to project.
2454   Contains the "target-notes" directive.
2456 * docutils/parsers/rst/languages/__init__.py:
2458   - Return ``None`` from get_language() for missing language modules.
2460 * docutils/parsers/rst/languages/de.py: Added to project; German
2461   mappings by Engelbert Gruber.
2463 * docutils/parsers/rst/languages/en.py:
2465   - Added interpreted text roles mapping.
2467 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2468   mappings by Marcelo Huerta San Martin.
2470 * docutils/parsers/rst/languages/fr.py: Added to project; French
2471   mappings by William Dode.
2473 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2474   mappings by Nicola Larosa.
2476 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2477   mappings by Miroslav Vasko.
2479 * docutils/readers/__init__.py:
2481   - Added support for the observer pattern from ``utils.Reporter``, in
2482     ``Reader.parse`` and ``Reader.transform``.
2483   - Removed ``Reader.transform()`` method.
2484   - Added default parameter values to ``Reader.__init__()`` to make
2485     instantiation easier.
2486   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2488 * docutils/readers/pep.py:
2490   - Added the ``peps.TargetNotes`` transform to the Reader.
2491   - Removed PEP & RFC reference detection code; moved to
2492     parsers/rst/states.py as options (enabled here by default).
2493   - Added support for pre-acceptance PEPs (no PEP number yet).
2494   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2495     easy subclassing.
2497 * docutils/readers/python: Python Source Reader subpackage added to
2498   project, including preliminary versions of:
2500   - __init__.py
2501   - moduleparser.py: Parser for Python modules.
2503 * docutils/transforms/__init__.py:
2505   - Added ``Transformer`` class and completed transform reform.
2506   - Added unknown_reference_resolvers list for each transformer. This list holds
2507     the list of functions provided by each component of the transformer that
2508     help resolve references.
2510 * docutils/transforms/frontmatter.py:
2512   - Improved support for generic fields.
2513   - Fixed bibliographic field language lookups.
2515 * docutils/transforms/misc.py: Added to project.  Miscellaneous
2516   transforms.
2518 * docutils/transforms/parts.py:
2520   - Moved the "id" attribute from TOC list items to the references
2521     (``Contents.build_contents()``).
2522   - Added the ``SectNum`` transform; by Dmitry Jemerov.
2523   - Added "class" attribute support to ``Contents``.
2525 * docutils/transforms/peps.py:
2527   - Added ``mask_email()`` function, updating to pep2html.py's
2528     functionality.
2529   - Linked "Content-Type: text/x-rst" to PEP 12.
2530   - Added the ``TargetNotes`` PEP-specific transform.
2531   - Added ``TargetNotes.cleanup_callback``.
2532   - Added title check to ``Headers``.
2534 * docutils/transforms/references.py:
2536   - Added the ``TargetNotes`` generic transform.
2537   - Split ``Hyperlinks`` into multiple transforms.
2538   - Fixed bug with multiply-indirect references (report: Bruce Smith).
2539   - Added check for circular indirect references.
2540   - Made substitutions case-sensitive-but-forgiving.
2542 * docutils/transforms/universal.py:
2544   - Added support for the "--expose-internal-attributes" option.
2545   - Removed ``Pending`` transform classes & data.
2547 * docutils/writers/__init__.py:
2549   - Removed ``Writer.transform()`` method.
2551 * docutils/writers/docutils-xml.py:
2553   - Added XML and doctype declarations.
2554   - Added "--no-doctype" and "--no-xml-declaration" options.
2556 * docutils/writers/html4css1.py:
2558   - "name" attributes only on these tags: a, applet, form, frame,
2559     iframe, img, map.
2560   - Added "name" attribute to <a> in section titles for Netscape 4
2561     support (bug report: Pearu Peterson).
2562   - Fixed targets (names) on footnote, citation, topic title,
2563     problematic, and system_message nodes (for Netscape 4).
2564   - Changed field names from "<td>" to "<th>".
2565   - Added "@" to "&#64;" encoding to thwart address harvesters.
2566   - Improved the vertical whitespace optimization; ignore "invisible"
2567     nodes (targets, comments, etc.).
2568   - Improved inline literals with ``<span class="pre">`` around chunks
2569     of text and ``&nbsp;`` for runs of spaces.
2570   - Improved modularity of output; added ``self.body_pre_docinfo`` and
2571     ``self.docinfo`` segments.
2572   - Added support for "line_block", "address" elements.
2573   - Improved backlinks (footnotes & system_messages).
2574   - Improved system_message output.
2575   - Redefined "--stylesheet" as containing an invariant URL, used
2576     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
2577     working directory.
2578   - Added "--footnote-references" option (superscript or brackets).
2579   - Added "--compact-lists" and "--no-compact-lists" options.
2580   - Added "--embed-stylesheet" and "--link-stylesheet" options;
2581     factored out ``HTMLTranslator.get_stylesheet_reference()``.
2582   - Improved field list rendering.
2583   - Added Docutils version to "generator" meta tag.
2584   - Fixed a bug with images; they must be inline, so wrapped in <p>.
2585   - Improved layout of <pre> HTML source.
2586   - Fixed attribute typo on <colspec>.
2587   - Refined XML prologue.
2588   - Support for no stylesheet.
2589   - Removed "interpreted" element support.
2590   - Added support for "title_reference", "sidebar", "attribution",
2591     "rubric", and generic "admonition" elements.
2592   - Added "--attribution" option.
2593   - Added support for "inline", "subscript", "superscript" elements.
2594   - Added initial support for "abbreviation" and "acronym";
2595     incomplete.
2597 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2598   (from the sandbox).
2600   - Added french.
2601   - Double quotes in literal blocks (special treatment for de/ngerman).
2602   - Added '--hyperlink-color' option ('0' turns off coloring of links).
2603   - Added  "--attribution" option.
2604   - Right align attributions.
2606 * docutils/writers/pep_html.py:
2608   - Parameterized output encoding in PEP template.
2609   - Reworked substitutions from ``locals()`` into ``subs`` dict.
2610   - Redefined "--pep-stylesheet" as containing an invariant URL, used
2611     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
2612     working directory.
2613   - Added an override on the "--footnote-references" option.
2614   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2615   - Added Docutils version to "generator" meta tag.
2616   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2618 * docs/tools.txt:
2620   - Added a "silent" setting for ``buildhtml.py``.
2621   - Added a "Getting Help" section.
2622   - Rearranged the structure.
2623   - Kept up to date, with new settings, command-line options etc.
2624   - Added section for ``rst2latex.py`` (Engelbert Gruber).
2625   - Converted settings table into a definition list.
2627 * docs/rst/quickstart.txt:
2629   - Added a table of contents.
2630   - Added feedback information.
2631   - Added mention of minimum section title underline lengths.
2632   - Removed the 4-character minimum for section title underlines.
2634 * docs/rst/quickref.html:
2636   - Added a "Getting Help" section.
2637   - Added a style to make section title backlinks more subtle.
2638   - Added mention of minimum section title underline lengths.
2639   - Removed the 4-character minimum for section title underlines.
2641 * extras: Directory added to project; contains third-party modules
2642   that Docutils depends on (optparse, textwrap, roman).  These are
2643   only installed if they're not already present.
2645 * licenses: Directory added to project; contains copies of license
2646   files for non-public-domain files.
2648 * spec/doctree.txt:
2650   - Changed the focus.  It's about DTD elements:  structural
2651     relationships, semantics, and external (public) attributes.  Not
2652     about the element class library.
2653   - Moved some implementation-specific stuff into ``docutils.nodes``
2654     docstrings.
2655   - Wrote descriptions of all common attributes and parameter
2656     entities.  Filled in introductory material.
2657   - Working through the element descriptions: 55 down, 37 to go.
2658   - Removed "Representation of Horizontal Rules" to
2659     spec/rst/alternatives.txt.
2661 * spec/docutils.dtd:
2663   - Added "generated" inline element.
2664   - Added "line_block" body element.
2665   - Added "auto" attribute to "title".
2666   - Changed content models of "literal_block" and "doctest_block" to
2667     ``%text.model``.
2668   - Added ``%number;`` attribute type parameter entity.
2669   - Changed ``%structural.elements;`` to ``%section.elements``.
2670   - Updated attribute types; made more specific.
2671   - Added "address" bibliographic element.
2672   - Added "line" attribute to ``system_message`` element.
2673   - Removed "field_argument" element; "field_name" may contain
2674     multiple words and whitespace.
2675   - Changed public identifier to docutils.sf.net.
2676   - Removed "interpreted" element; added "title_reference",
2677     "abbreviation", "acronym".
2678   - Removed "refuri" attribute from "footnote_reference" and
2679     "citation_reference".
2680   - Added "sidebar", "rubric", "attribution", "admonition",
2681     "superscript", "subscript", and "inline" elements.
2683 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2685 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2687 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2689 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2690   Dallas Mahrt.
2692 * spec/transforms.txt: Added to project.
2694 * spec/howto: Added subdirectory, for developer how-to docs.
2696 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
2697   Elza, edited & extended by David Goodger.
2699 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
2700   project.
2702 * spec/rst/alternatives.txt:
2704   - Added "Doctree Representation of Transitions" from
2705     spec/doctree.txt.
2706   - Updated "Inline External Targets" & closed the debate.
2707   - Added ideas for interpreted text syntax extensions.
2708   - Added "Nested Inline Markup" section.
2710 * spec/rst/directives.txt:
2712   - Added directives: "topic", "sectnum", "target-notes",
2713     "line-block", "parsed-literal", "include", "replace", "sidebar",
2714     "admonition", "rubric", "epigraph", "highlights", "unicode" and
2715     "class".
2716   - Formalized descriptions of directive details.
2717   - Added an "align" attribute to the "image" & "figure" directives
2718     (by Adam Chodorowski).
2719   - Added "class" options to "topic", "sidebar", "line-block",
2720     "parsed-literal", "contents", and "image"; and "figclass" to
2721     "figure".
2723 * spec/rst/interpreted.txt: Added to project.  Descriptions of
2724   interpreted text roles.
2726 * spec/rst/introduction.txt:
2728   - Added pointers to material for new users.
2730 * spec/rst/reStructuredText.txt:
2732   - Disambiguated comments (just add a newline after the "::").
2733   - Updated enumerated list description; added a discussion of the
2734     second-line validity checking.
2735   - Updated directive description.
2736   - Added a note redirecting newbies to the user docs.
2737   - Expanded description of inline markup start-strings in non-markup
2738     contexts.
2739   - Removed field arguments and made field lists a generic construct.
2740   - Removed the 4-character minimum for section title underlines.
2741   - Clarified term/classifier delimiter & inline markup ambiguity
2742     (definition lists).
2743   - Added "Embedded URIs".
2744   - Updated "Interpreted Text" section.
2745   - Added "Character-Level Inline Markup" section.
2747 * test: Continually adding & updating tests.
2749   - Moved test/test_rst/ to test/test_parsers/test_rst/.
2750   - Moved test/test_pep/ to test/test_readers/test_pep/.
2751   - Added test/test_readers/test_python/.
2752   - Added test/test_writers/ (Engelbert Gruber).
2754 * tools:
2756   - Made the ``locale.setlocale()`` calls in front ends
2757     fault-tolerant.
2759 * tools/buildhtml.py:
2761   - Added "--silent" option.
2762   - Fixed bug with absolute paths & "--config".
2763   - Updated for new I/O classes.
2764   - Added some exception handling.
2765   - Separated publishers' setting defaults; prevents interference.
2766   - Updated for new ``publish_file()`` convenience function.
2768 * tools/pep-html-template:
2770   - Allow for "--embed-stylesheet".
2771   - Added Docutils version to "generator" meta tag.
2772   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2773   - Conform to XHTML spec.
2775 * tools/pep2html.py:
2777   - Made ``argv`` a parameter to ``main()``.
2778   - Added support for "Content-Type:" header & arbitrary PEP formats.
2779   - Linked "Content-Type: text/plain" to PEP 9.
2780   - Files skipped (due to an error) are not pushed onto the server.
2781   - Updated for new I/O classes.
2782   - Added ``check_requirements()`` & ``pep_type_error()``.
2783   - Added some exception handling.
2784   - Updated for new ``publish_string()`` convenience function.
2785   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2787 * tools/quicktest.py:
2789   - Added "-V"/"--version" option.
2791 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2793 * tools/unicode2rstsubs.py: Added to project.  Produces character
2794   entity files (reSructuredText substitutions) from the MathML master
2795   unicode.xml file.
2797 * tools/editors: Support code for editors, added to project.  Contains
2798   ``emacs/restructuredtext.el``.
2800 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2802   - Added style for chunks of inline literals.
2803   - Removed margin for first child of table cells.
2804   - Right-aligned field list names.
2805   - Support for auto-numbered section titles in TOCs.
2806   - Increased the size of inline literals (<tt>) in titles.
2807   - Restored the light gray background for inline literals.
2808   - Added support for "line_block" elements.
2809   - Added style for "address" elements.
2810   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2811   - Improved field list rendering.
2812   - Vertical whitespace improvements.
2813   - Removed "a.target" style.
2815 * tools/stylesheets/pep.css:
2817   - Fixed nested section margins.
2818   - Other changes parallel those of ``../default.css``.
2821 Release 0.2 (2002-07-31)
2822 ========================
2824 General:
2826 - The word "component" was being used ambiguously.  From now on,
2827   "component" will be used to mean "Docutils component", as in Reader,
2828   Writer, Parser, or Transform.  Portions of documents (Table of
2829   Contents, sections, etc.)  will be called "document parts".
2830 - Did a grand renaming: a lot of ``verylongnames`` became
2831   ``very_long_names``.
2832 - Cleaned up imports: no more relative package imports or
2833   comma-separated lists of top-level modules.
2834 - Added support for an option values object which carries default
2835   settings and overrides (from command-line options and library use).
2836 - Added internal Unicode support, and support for both input and
2837   output encodings.
2838 - Added support for the ``docutils.io.IO`` class & subclasses.
2840 Specific:
2842 * docutils/__init__.py:
2844   - Added ``ApplicationError`` and ``DataError``, for use throughout
2845     the package.
2846   - Added ``Component`` base class for Docutils components; implements
2847     the ``supports`` method.
2848   - Added ``__version__`` (thus, ``docutils.__version__``).
2850 * docutils/core.py:
2852   - Removed many keyword parameters to ``Publisher.__init__()`` and
2853     ``publish()``; bundled into an option values object.  Added
2854     "argv", "usage", "description", and "option_spec" parameters for
2855     command-line support.
2856   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2857     methods.
2858   - Reworked I/O model for ``docutils.io`` wrappers.
2859   - Updated ``Publisher.set_options()``; now returns option values
2860     object.
2861   - Added support for configuration files (/etc/docutils.conf,
2862     ./docutils.conf, ~/.docutils).
2863   - Added ``Publisher.setup_option_parser()``.
2864   - Added default usage message and description.
2866 * docutils/frontend.py: Added to project; support for front-end
2867   (command-line) scripts.  Option specifications may be augmented by
2868   components.  Requires Optik (http://optik.sf.net/) for option
2869   processing (installed locally as docutils/optik.py).
2871 * docutils/io.py: Added to project; uniform API for a variety of input
2872   output mechanisms.
2874 * docutils/nodes.py:
2876   - Added ``TreeCopyVisitor`` class.
2877   - Added a ``copy`` method to ``Node`` and subclasses.
2878   - Added a ``SkipDeparture`` exception for visitors.
2879   - Renamed ``TreePruningException`` from ``VisitorException``.
2880   - Added docstrings to ``TreePruningException``, subclasses, and
2881     ``Nodes.walk()``.
2882   - Improved docstrings.
2883   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2884   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2885     imports.
2886   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2887     ``PreDecorative`` mixin.
2888   - Reworked the name/id bookkeeping; to ``document``, removed
2889     ``explicit_targets`` and ``implicit_targets`` attributes, added
2890     ``nametypes`` attribute and ``set_name_id_map`` method.
2891   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2892     traversals.
2893   - Added ``document.has_name()`` method.
2894   - Fixed DOM generation for list-attributes.
2895   - Added category class ``Labeled`` (used by footnotes & citations).
2896   - Added ``Element.set_class()`` method (sets "class" attribute).
2898 * docutils/optik.py: Added to project.  Combined from the Optik
2899   package, with added option groups and other modifications.  The use
2900   of this module is probably only temporary.
2902 * docutils/statemachine.py:
2904   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2905   - Added underscores to improve many awkward names.
2906   - In ``string2lines()``, changed whitespace normalizing translation
2907     table to regexp; restores Python 2.0 compatibility with Unicode.
2909 * docutils/urischemes.py:
2911   - Filled in some descriptions.
2912   - Added "shttp" scheme.
2914 * docutils/utils.py:
2916   - Added ``clean_rcs_keywords`` function (moved from
2917     docutils/transforms/frontmatter.py
2918     ``DocInfo.filter_rcs_keywords``).
2919   - Added underscores to improve many awkward names.
2920   - Changed names of Reporter's thresholds:
2921     warning_level -> report_level; error_level -> halt_level.
2922   - Moved ``utils.id()`` to ``nodes.make_id()``.
2923   - Added ``relative_path(source, target)``.
2925 * docutils/languages/de.py: German mappings; added to project.  Thanks
2926   to Gunnar Schwant for the translations.
2928 * docutils/languages/en.py: Added "Dedication" bibliographic field
2929   mappings.
2931 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2932   Chodorowski.
2934 * docutils/parsers/rst/states.py:
2936   - Added underscores to improve many awkward names.
2937   - Added RFC-2822 header support.
2938   - Extracted the inline parsing code from ``RSTState`` to a separate
2939     class, ``Inliner``, which will allow easy subclassing.
2940   - Made local bindings for ``memo`` container & often-used contents
2941     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2942   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2943   - Added ``MarkupMismatch`` exception; for late corrections.
2944   - Added ``-/:`` characters to inline markup's start string prefix,
2945     ``/`` to end string suffix.
2946   - Fixed a footnote bug.
2947   - Fixed a bug with literal blocks.
2948   - Applied patch from Simon Budig: simplified regexps with symbolic
2949     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2950   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2951   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2952   - Allowed non-ASCII in "simple names" (directive names, field names,
2953     references, etc.).
2954   - Converted ``Inliner.patterns.initial`` to be dynamically built
2955     from parts with ``build_regexp()`` function.
2956   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2957   - Updated docstrings.
2958   - Changed "table" to "grid_table"; added "simple_table" support.
2960 * docutils/parsers/rst/tableparser.py:
2962   - Changed ``TableParser`` to ``GridTableParser``.
2963   - Added ``SimpleTableParser``.
2964   - Refactored naming.
2966 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2967   a fallback language for directive names.
2969 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2970   directive to use a ``pending`` element, used only by HTML writers.
2972 * docutils/parsers/rst/directives/parts.py: Renamed from
2973   components.py.
2975   - Added "backlinks" attribute to "contents" directive.
2977 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2978   project by Adam Chodorowski.
2980 * docutils/readers/__init__.py: Gave Readers more control over
2981   choosing and instantiating Parsers.
2983 * docutils/readers/pep.py: Added to project; for PEP processing.
2985 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2986   requires a ``component`` parameter.
2988 * docutils/transforms/components.py: Added to project; transforms
2989   related to Docutils components.
2991 * docutils/transforms/frontmatter.py:
2993   - In ``DocInfo.extract_authors``, check for a single "author" in an
2994     "authors" group, and convert it to a single "author" element.
2995   - Added support for "Dedication" and generic bibliographic fields.
2997 * docutils/transforms/peps.py: Added to project; PEP-specific.
2999 * docutils/transforms/parts.py: Renamed from old components.py.
3001   - Added filter for `Contents`, to use alt-text for inline images,
3002     and to remove inline markup that doesn't make sense in the ToC.
3003   - Added "name" attribute to TOC topic depending on its title.
3004   - Added support for optional TOC backlinks.
3006 * docutils/transforms/references.py: Fixed indirect target resolution
3007   in ``Hyperlinks`` transform.
3009 * docutils/transforms/universal.py:
3011   - Changed ``Messages`` transform to properly filter out system
3012     messages below the warning threshold.
3013   - Added ``Decorations`` transform (support for ``--generator``,
3014     ``--date``, ``--time``, ``--source-link`` options).
3016 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
3017   Engelbert Gruber's PDF writer.
3019 * docutils/writers/html4css1.py:
3021   - Made XHTML-compatible (switched to lowercase element & attribute
3022     names; empty tag format).
3023   - Escape double-dashes in comment text.
3024   - Improved boilerplate & modularity of output.
3025   - Exposed modular output in Writer class.
3026   - Added a "generator" meta tag to <head>.
3027   - Added support for the ``--stylesheet`` option.
3028   - Added support for ``decoration``, ``header``, and ``footer``
3029     elements.
3030   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
3031     translation table to regexp; restores Python 2.0 compatibility
3032     with Unicode.
3033   - Added the translator class as instance variable to the Writer, to
3034     make it easily subclassable.
3035   - Improved option list spacing (thanks to Richard Jones).
3036   - Modified field list output.
3037   - Added backlinks to footnotes & citations.
3038   - Added percentage widths to "<col>" tags (from colspec).
3039   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
3040     "<span>" changed to "<var>".
3041   - Inline literals: "<code>" changed to "<tt>".
3042   - Many changes to optimize vertical space: compact simple lists etc.
3043   - Add a command-line options & directive attributes to control TOC
3044     and footnote/citation backlinks.
3045   - Added support for optional footnote/citation backlinks.
3046   - Added support for generic bibliographic fields.
3047   - Identify backrefs.
3048   - Relative URLs for stylesheet links.
3050 * docutils/writers/pep_html.py: Added to project; HTML Writer for
3051   PEPs (subclass of ``html4css1.Writer``).
3053 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
3055 * docutils/writers/docutils_xml.py: Added to project; trivial writer
3056   of the Docutils internal doctree in XML.
3058 * docs/tools.txt: "Docutils Front-End Tools", added to project.
3060 * spec/doctree.txt:
3062   - Changed the title to "The Docutils Document Tree".
3063   - Added "Hyperlink Bookkeeping" section.
3065 * spec/docutils.dtd:
3067   - Added ``decoration``, ``header``, and ``footer`` elements.
3068   - Brought ``interpreted`` element in line with the parser: changed
3069     attribute "type" to "role", added "position".
3070   - Added support for generic bibliographic fields.
3072 * spec/notes.txt: Continual updates.  Added "Project Policies".
3074 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
3075   section.
3077 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
3079 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
3080   mailing list discussions.
3082 * spec/pep-0287.txt:
3084   - Renamed to "reStructuredText Docstring Format".
3085   - Minor edits.
3086   - Reworked Q&A as an enumerated list.
3087   - Converted to reStructuredText format.
3089 * spec/pysource.dtd:
3091   - Reworked structural elements, incorporating ideas from Tony Ibbs.
3093 * spec/pysource.txt: Removed from project.  Moved much of its contents
3094   to pep-0258.txt.
3096 * spec/rst/alternatives.txt:
3098   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
3099   - Added "Inline External Targets" section.
3101 * spec/rst/directives.txt:
3103   - Added "backlinks" attribute to "contents" directive.
3105 * spec/rst/problems.txt:
3107   - Updated the Enumerated List Markup discussion.
3108   - Added new alternative table markup syntaxes.
3110 * spec/rst/reStructuredText.txt:
3112   - Clarified field list usage.
3113   - Updated enumerated list description.
3114   - Clarified purpose of directives.
3115   - Added ``-/:`` characters to inline markup's start string prefix,
3116     ``/`` to end string suffix.
3117   - Updated "Authors" bibliographic field behavior.
3118   - Changed "inline hyperlink targets" to "inline internal targets".
3119   - Added "simple table" syntax to supplement the existing but
3120     newly-renamed "grid tables".
3121   - Added cautions for anonymous hyperlink use.
3122   - Added "Dedication" and generic bibliographic fields.
3124 * test: Made test modules standalone (subdirectories became packages).
3126 * test/DocutilsTestSupport.py:
3128   - Added support for PEP extensions to reStructuredText.
3129   - Added support for simple tables.
3130   - Refactored naming.
3132 * test/package_unittest.py: Renamed from UnitTestFolder.py.
3134   - Now supports true packages containing test modules
3135     (``__init__.py`` files required); fixes duplicate module name bug.
3137 * test/test_pep/: Subpackage added to project; PEP testing.
3139 * test/test_rst/test_SimpleTableParser.py: Added to project.
3141 * tools:
3143   - Updated html.py and publish.py front-end tools to use the new
3144     command-line processing facilities of ``docutils.frontend``
3145     (exposed in ``docutils.core.Publisher``), reducing each to just a
3146     few lines of code.
3147   - Added ``locale.setlocale()`` calls to front-end tools.
3149 * tools/buildhtml.py: Added to project; batch-generates .html from all
3150   the .txt files in directories and subdirectories.
3152 * tools/default.css:
3154   - Added support for ``header`` and ``footer`` elements.
3155   - Added styles for "Dedication" topics (biblio fields).
3157 * tools/docutils.conf: A configuration file; added to project.
3159 * tools/docutils-xml.py: Added to project.
3161 * tools/pep.py: Added to project; PEP to HTML front-end tool.
3163 * tools/pep-html-template: Added to project.
3165 * tools/pep2html.py: Added to project from Python (nondist/peps).
3166   Added support for Docutils (reStructuredText PEPs).
3168 * tools/quicktest.py:
3170   - Added the ``--attributes`` option, hacked a bit.
3171   - Added a second command-line argument (output file); cleaned up.
3173 * tools/stylesheets/: Subdirectory added to project.
3175 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
3178 Release 0.1 (2002-04-20)
3179 ========================
3181 This is the first release of Docutils, merged from the now inactive
3182 reStructuredText__ and `Docstring Processing System`__ projects.  For
3183 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
3184 `DPS HISTORY`__ files.
3186 __ http://structuredtext.sourceforge.net/
3187 __ http://docstring.sourceforge.net/
3188 __ http://structuredtext.sourceforge.net/HISTORY.html
3189 __ http://docstring.sourceforge.net/HISTORY.html
3191 General changes: renamed 'dps' package to 'docutils'; renamed
3192 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
3193 the test suites (reStructuredText's test/test_states renamed to
3194 test/test_rst); and all modifications required to make it all work.
3196 * docutils/parsers/rst/states.py:
3198   - Improved diagnostic system messages for missing blank lines.
3199   - Fixed substitution_reference bug.
3203    Local Variables:
3204    mode: indented-text
3205    indent-tabs-mode: nil
3206    sentence-end-double-space: t
3207    fill-column: 70
3208    End: