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