New upstream version (additional macros, piecewise integrals and sums).
[docutils.git] / HISTORY.txt
blob0b73bd5af2dc523f3f128261e0ce1bb649820b99
1 .. -*- coding: utf-8 -*-
3 ==================
4  Docutils History
5 ==================
7 :Author: David Goodger; open to all Docutils developers
8 :Contact: docutils-develop@lists.sourceforge.net
9 :Date: $Date$
10 :Revision: $Revision$
11 :Web site: http://docutils.sourceforge.net/
12 :Copyright: This document has been placed in the public domain.
14 .. contents::
16 Changes Since 0.12
17 ==================
19 * docutils/nodes.py
21   - Fix [ 253 ] Attribute key without value not allowed in XML.
23 * docutils/parsers/rst/__init__.py
25   - Fix [ 233 ] Change the base URL for the :rfc: role.
27 * docutils/parsers/rst/directives/tables.py
29   - Patch [ 120 ] tables accept option widths: list of relative widths, 'auto'
30     or 'grid'.
32 * docutils/utils/math/math2html.py
34   - Add ``\colon`` macro, fix spacing around colons. Fixes [ 246 ].
35   - New upstream version (additional macros, piecewise integrals and sums).
36   
37 * docutils/writers/html4css1/__init__.py
39   - Add "docutils" to class values for "container" object to address [ 267 ].
40   - Apply patch [ 119 ] by Anatoly Techtonik: use absolute paths for
41     ``default_stylesheet_path`` and ``default_template_path``.
42   - Fix [ 266 ] creating labels/class values in description list items.
44 * docutils/writers/xhtml11/
46   - New HTML writer generating `XHTML1.1`_ styled with CSS2.
47     Moved to the docutils core from sandbox/html4strict.
49   - Wrap SVG images in <img> tags not <object>.
50     Addresses bug [ 247 ], but rendering problems remain
51     (see test/functional/expected/standalone_rst_xhtml11.xhtml),
52     so we might need a config setting.
54   .. _XHTML1.1: http://www.w3.org/TR/xhtml11/
56 * docutils/writers/latex2e/__init__.py
58   - use absolute path for ``default_template_path``.
60 * docutils/writers/odf_odt/__init__.py
62   - remove decode.encode of filename stored in zip.
64 * docutils/writers/latex2e/__init__.py
66   - Fix [ 262 ] Use ``\linewidth`` instead of ``\textwidth`` for figures,
67     admonitions and docinfo.
69 Release 0.12 (2014-07-06)
70 =========================
72 * docs/ref/rst/directives.txt
74   - Update "math" and "csv-table" descriptions.
76 * docutils/parsers/rst/directives/images.py
78   - Fix [ 258 ] figwidth="image" generates unitless width value.
80 * docutils/parsers/rst/states.py
82   - Improve error report when a non-ASCII character is specified as
83     delimiter, quote or escape character under Python 2.
84     Fixes [ 249 ] and [ 250 ].
86 * docutils/writers/html4css1/__init__.py
88   - Don't add newline after inline math.
89     Thanks to Yury G. Kudryashov for the patch.
91 * docutils/writers/latex2e/__init__.py
93   - Fix [ 239 ] Latex writer glues paragraphs with figure floats.
94   - Apply [ 116 ] by Kirill Smelkov. Don't hardcode \large for subtitle.
96 * docutils/writers/odf_odt/__init__.py
98   - Apply patch by Jakub Wilk to fix bug [ 100 ].
100 * test/test_error_reporting.py
102   - Fix [ 223 ] by removing redundant tests we do not have control over.
104 * test/test_nodes.py
106   - Apply [ 115 ] respect fixed 2to3 string literal conversion behavior.
108 Release 0.11 (2013-07-22)
109 =========================
111 * General
113   - Apply [ 2714873 ] Fix for the overwritting of document attributes.
114   - Support embedded aliases within hyperlink references.
115   - Fix [ 228 ] try local import of docutils components (reader, writer, parser,
116     language module) before global search.
118 * docutils/nodes.py
120   - Fix [ 3601607 ] node.__repr__() must return `str` instance.
122 * docutils/parsers/rst/directives/__init__.py
124   - Fix [ 3606028 ] ``assert`` is skipped with ``python -O``.
126 * docutils/parsers/rst/directives/images.py
128   - Apply [ 3599485 ] node source/line information for sphinx translation.
130 * docutils/parsers/rst/directives/tables.py
132   - Fix [ 210 ] Python 3.3 checks CVS syntax only if "strict" is True.
134 * docutils/parsers/rst/states.py
136   - Fix [ 157 ] Line block parsing doesn't like system message.
137   - Always import our local copy of roman.py (report Larry Hastings).
139 * docutils/transforms/references.py
141   - Fix [ 3607029 ] traceback with embedded alias pointing to missing target.
143 * docutils/utils/__init__.py
145   - Fix [ 3596884 ] exception importing ``docutils.io``.
147 * docutils/writers/html4css1/__init__.py
149   - Fix [ 3600051 ] for tables in a list, table cells are not compacted.
150   - New setting `stylesheet_dirs`: Comma-separated list of directories
151     where stylesheets are found. Used by `stylesheet_path` when expanding
152     relative path arguments.
153   - New default for math-output_: ``HTML math.css``.
154   - Avoid repeated class declarations in html4css1 writer
155     (modified version of patch [ 104 ]).
157 .. _math-output: docs/user/config.html#math-output
159 * docutils/writers/latex2e/__init__.py
161   - Drop the simple algorithm replacing straight double quotes with
162     English typographic ones.
163     Activate the SmartQuotes_ transform if you want this feature.
164   - Fix literal use of babel shorthands (straight quote, tilde, ...).
165   - Fix [ 3603246 ] Bug in option "--graphicx-option=auto".
166   - New setting `stylesheet_dirs`.
168 .. _SmartQuotes: docs/user/config.html#smart-quotes
170 * docutils/writers/manpage.py
172   - Fix [3607063] handle lines starting with a period.
173   - Fix option separating comma was bold (thanks to Bill Morris).
175 Release 0.10 (2012-12-16)
176 =========================
178 * General
180   - Dropped support for Python 2.3.
181   - ``docutils/math``, ``docutils/error_reporting.py``, and
182     ``docutils/urischemes.py`` moved to the utils package.
183   - Fix [3541369] Relative __import__ also with Python 3.3.
184   - Fix [3559988] and [3560841] __import__ local writer, reader, languages
185     and parsers for Python 2.7 up.
186   - Fix import of PIL.Image.
187   - Change default of "syntax highlight" option to "long",
188     basic syntax highlight styles for LaTeX and HTML.
190 * docutils/io.py
192   - FileInput/FileOutput: no system-exit on IOError.  The `handle_io_errors`
193     option is ignored and will be removed in a future release.
194   - Fix Py3k error writing to stdout with encoding differing from default.
195   - Fix opening binary files under Py3k (thanks to Dominic Fitzpatrick).
197 * docutils/parsers/rst/directives/misc.py
199   - Fix [ 3546533 ] Unicode error with `date` directive.
201 * docutils/transforms/universal.py
203   - SmartQuotes transform for typographic quotes and dashes.
205 * docutils/utils/__init__.py
207   - normalize_language_tag() now returns `BCP 47`_ conformant tags
208     with subtags separated by ``-``.
210 * docutils/writers/html4css1/__init__.py
212   - Use ``<code>`` tag for inline "code",
213     do not drop nested inline nodes (syntax highlight tokens).
214   - Customizable MathJax URL (based on patch by Dmitry Shachnev).
215   - No line break after opening inline math tag.
217 * docutils/writers/manpage.py
219   - Apply [ 3527401 ] addmonition's don't preserve indentation
220   - Apply [ 3527397 ] Add indentation to literal blocks in manpage writer.
222 , docutils/writers/xetex/__init__.py
224   - Apply [ 3555160 ] ensure order of "otherlanguages".
225   - Fix section numbering by LaTeX.
227 * docutils/writers/s5_html/__init__.py
229   - Fix [ 3556388 ] Mathjax does not work with rst2s5.
231 * docutils/writers/s5_html/docutils_xml.py
233   - Fix [ 3552403 ] Prevent broken PyXML replacing stdlibs xml module.
235 * setup.py
237   - Tag ``math.css`` stylesheet as data file (patch by Dmitry Shachnev).
239 * tools/test/test_buildhtml.py
241   - Fix [ 3521167 ] allow running in any directory.
242   - Fix [ 3521168 ] allow running with Python 3.
245 Release 0.9.1 (2012-06-17)
246 ==========================
248 * setup.py
250   - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
251     installed in the PYTHONPATH. Converted tests are now
252     stored in ``test3/``, tools no longer need conversion.
254     If you installed one of Docutils versions 0.7 ... 0.9 with
255     ``setup.py install`` under Python 3, remove the spurious
256     ``test/`` and ``tools/`` directories in the site library root.
258 * test/
260   - Make tests independent from the location of the ``test/`` directory.
261   - Use converted sources (from the ``build/`` directory) for tests under
262     Python 3.
264 * tools/
266   - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
268 * docutils/io.py
270   - Fix writing binary data to sys.stdout under Python 3 (allows
271     ``rst2odt.py`` to be used with output redirection).
273 * docutils/parsers/rst/directives/misc.py
275   - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
276     ``locale == C`` and 8-bit char in path argument of `include` directive.
278 * test/alltests.py
280   - class `Tee`: catch UnicodeError when writing to "ascii" stream or
281     file under Python 3.
283 Release 0.9 (2012-05-02)
284 ========================
286 * General:
288   - New reStructuredText "code" role and directive and "code" option
289     of the "include" directive with syntax highlighting by Pygments_.
290   - Fix parse_option_marker for option arguments containing ``=``.
291   - Fix [ 2993756 ]: import Python Imaging Library's Image module
292     via ``import PIL`` as starting with PIL 1.2,
293     "PIL lives in the PIL namespace only" (announcement__).
295 .. _Pygments: http://pygments.org/
296 __ http://mail.python.org/pipermail/image-sig/2011-January/006650.html
298 * setup.py
300   - Fix [ 2971827 ] and [ 3442827 ]
301     extras/roman.py moved to docutils/utils/roman.py
303 * docutils/frontend.py
305   - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
307 * docutils/io.py
309   - Fix [ 3395948 ] (Work around encoding problems in Py3k).
310   - `mode` argument for FileOutput avoids code replication in
311     BinaryFileOutput.
312   - New exceptions InputError and OutputError for IO errors in
313     FileInput/FileOutput.
315 * docutils/core.py:
317   - No "hard" system exit on file IO errors: catch and report them in
318     `Publisher.reportException` instead. Allows handling by a calling
319     application if the configuration setting `traceback` is True.
321 * docutils/utils.py -> docutils/utils/__init__.py
323   - docutils.utils is now a package (providing a place for sub-modules)
325   .. note:: docutils/math, docutils/error_reporting.py, and
326      docutils/urischemes.py will move to the utils package in the next
327      release, too. See RELEASE-NOTES__
329      __ RELEASE-NOTES.html
331   - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
332     errors recording non-ASCII filenames (fixes [ 3434355 ]).
334   - Fix relative_path() with source=None and `unicode` target.
336 * docutils/parsers/rst/states.py
338   - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
339     characters and "international" quotes around inline markup.
340   - Use `field_marker` pattern to look for start of a
341     directive option block (fixes [ 3484857 ]).
343 * docutils/parsers/rst/tableparser.py
345   - Fix [ 2926161 ] for simple tables.
346     (Combining chars in grid tables still contribute to cell width.)
348 * docutils/writers/latex2e/__init__.py
350   - Support the `abbreviation` and `acronym` standard roles.
351   - Record only files required to generate the LaTeX source as dependencies.
352   - Fix handling of missing stylesheets.
353   - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
354     when suppressing LaTeX section numbering.
355   - Use ``\DUtitle`` for unsupported section levels
356   - Apply [ 3512791 ] do not compare string literals with "is"
358 * docutils/writers/xetex/__init__.py
360   - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
362 * docutils/writers/html4css1/__init__.py
364   - Change default for `math-output` setting to MathJax.
365   - Fix handling of missing stylesheets.
367 * docutils/writers/docutils_xml.py
369   - Use the visitor pattern with default_visit()/default_depart() methods
370     instead of minidom to facilitate special handling of selected nodes.
371   - Support raw XML (inserted as-is inside a <raw></raw> node).
373 * docutils/writers/manpage.py
375   - Do not emit comment line with trailing blank. Problematic for VCS.
377 Release 0.8.1 (2011-08-30)
378 ==========================
380 * General:
382   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
383     and [ 3395920 ] (correct copyright info for rst.el).
385 * test/
387   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
389 * docutils/writers/latex2e/__init__.py
391   - Clean up Babel language setting. Restores Sphinx compatibility.
393 Release 0.8 (2011-07-07)
394 ========================
396 * General:
398   - Handle language codes according to `BCP 47`_.
399   - If the specified language is not supported by Docutils,
400     warn and fall back to English.
401   - Math support: reStructuredText "math" role and directive,
402     ``math`` and ``math_block`` doctree elements.
403   - Decode command line arguments with the locale's preferred encoding
404     (to allow, e.g., ``--title=Dornröschen``).
405   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
406   - New sub-module `error_reporting`: handle encoding/decoding errors
407     when reporting exceptions.
408   - Some additions to the Docutils core are released under the 2-Clause BSD
409     license, see COPYING_ for details.
411   .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
412   .. _COPYING: COPYING.html
414 * reStructuredText:
416   - Most directives now support a "name" option that attaches a
417     reference name.
419   - Directive content may start on the first line also when the directive
420     type accepts options.
422 * docs/dev/policies.txt:
424   - Recommend the 2-Clause BSD license
425     (http://www.spdx.org/licenses/BSD-2-Clause)
426     for code that is kept under the author's copyright.
428 * tools/buildhtml.py:
430   - Fix ``--local`` switch.
432 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
434 * docutils/writers/html4css1/__init__.py
436   - Set "lang" argument for objects with class argument
437     "language-<language tag>".
438   - New setting "math-output" with support for HTML, MathML, and LaTeX.
440 * docutils/writers/latex2e/__init__.py
442   - Fix [ 3043986 ] AttributeError using :local: with table of content.
443   - Place title data in the document preamble.
444   - Load `babel` package only if required.
445   - Update list of supported languages.
446   - New config setting "hyperref-options".
447     No hard-coded "unicode" hyperref option (clash with xetex).
448   - Set language for custom roles, paragraphs, block-quotes, and
449     line-quotes with class argument "language-<language tag>".
450   - Fix [ 3095603 ] wrong quotes output for russian and other languages.
451   - Convert image URI to a local file path.
452   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
453     has more than one paragraph (Wolfgang Scherer).
454   - \leavevmode before longtable only when needed (prevents spurious vspace)
455   - do not advance table counter for tables without caption
457 * docutils/writers/xetex/__init__.py
459   - New writer generating LaTeX code for compiling with ``xelatex``.
461     A separate writer (inheriting from latex2e) instead of a ``--xetex``
462     option allows separate config options for XeTeX vs. LaTeX2e.
464 * docutils/writers/manpage.py
466   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
467   - Fix: vertical space cleaning for option group ``.``.
469 * tools/editors/emacs/rst.el:
471   - Fix [ 3001100 ] does not handle spaces in filenames
472     (thanks to Jakub Wilk)
474 * docutils/utils.py:
476   - strip whitespace from stylesheet arguments
477   - exclude combining chars from column_width()
478     (partial fix for [ 2926161 ])
480 * docutils/parsers/rst/directives/misc.py:
482   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
483     nested_parse
485 * docutils/io.py:
487   - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
488     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
490 Release 0.7 (2010-07-07)
491 ========================
493 * General:
495   - Fix [ 2881769 ] setup configuration.
496   - Fix [ 2788716 ] reporting problems in included files.
498 * docutils/io.py
500   - FileInput opens files as text files with universal newline support
501     (mode "rU", configurable with the new optional argument "mode").
503 * docutils/nodes.py
505   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
507 * docutils/utils.py
509   - Fix [ 2923723 ] let decode_path() tolerate path == None
511 * docutils/writers/html4css1/__init__.py
513   - Support SVG and SWF images (thanks to Stefan Rank).
514   - Generate valid XHTML for centered images with targets.
515     Use CSS classes instead of "align" tags for image alignment.
517 * docutils/writers/latex2e/__init__.py
519   - Use `transforms.writer_aux.Admonitions` to "normalize" special
520     admonitions.
521   - Use the ``\url`` command for URLs (breaks long URLs instead of
522     writing into the margin).
523   - Preserve runs of spaces in `inline literals`__.
524   - Deprecate ``figure_footnotes`` setting.
525   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
526   - New ``latex_preamble`` setting.
527   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
528   - Fix hyperlink targets (labels) for images, figures, and tables.
529   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
530   - Apply [ 2961991 ] Call hyperref with unicode option.
531   - Drop the special `output_encoding`__ default ("latin-1").
532     The Docutils wide default (usually "UTF-8") is used instead.
533   - Render inline markup in document title and subtitle.
534   - Fix numbering depth with LaTeX section numbering.
535   - Update Unicode -> LaTeX translations.
536   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
538 __ docs/ref/restructuredtext.html#inline-literals
539 __ docs/user/config.html#docutils-footnotes
540 __ docs/user/config.html#output_encoding
542 * docutils/writers/manpage.py
544   - Fix: supported attribute (thanks to peter2108).
545   - Remove trailing blanks in code (keep in sync with mercurial version).
546   - Titles level 1, that is ``.SH``, always uppercase.
547   - Apply patch from mg: literal text should be bold in man-pages.
549 * docutils/nodes.py
551   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
552     turkish locale.
554 * setup.py:
556   - Python 3 support: copy test/ and tools/ to the build-dir
557     and convert Python sources with 2to3.
560 Release 0.6 (2009-10-11)
561 ========================
563 * General:
565   - Docutils is now compatible with Python versions from 2.3 up to 2.6
566     and convertible to 3.1 code.
568     + Node.__nonzero__ returns True instead of 1.
569     + use os.walk instead os.path.walk.
570     + minimize "types" module where possible.
571     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
572     + Text nodes now subclass unicode rather than UserString
573       (which is gone in python 3.0).
574     + 3.0 compatibility module docutils._compat
576     + Drop 2.2 compatibility workarounds.
577     + Drop extras/optparse.py and extras/textwrap.py
578       (stdlib modules since 2.3).
580   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
581   - Unix man page export: manpage writer moved from sandbox to Doctutils
582     core.
584   - Apply [ 1719345 ] Galician translation
585   - Apply [ 1905741 ] Polish translation
586   - Apply [ 1878977 ] make_id(): deaccent characters.
587   - Apply [ 2029251 ] return nonzero when tests fail.
588   - Fix [ 1692788 ] allow UTF-8 in style sheets.
589   - Fix [ 2781629 ] support non-ASCII chars in file names.
590   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
591   - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
592   - Fix [ 2821266 ] --strict option works now like --halt=info.
593   - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
594   - Fix [ 1627229 ] hyperlink references in substitutions.
596   - The "newlatex" writer is orphaned.
598 * reStructuredText:
600   - Documented Unicode characters allowed as inline markup openers,
601     closers, and delimiters.
602   - Allow units for all length specifications.
603   - Allow percent sign in "scale" argument of "figure" and "image" directives.
604   - Bugfix: The "figalign" argument of a figure now works as intended
605     (aligning the figure, not its contents).
606   - Align images with class "align-[right|center|left]"
607     (allows setting the alignment of an image in a figure).
609 * docutils/nodes.py:
611   - Added ``Element.__contains__`` method, for the in-operator.
613 * docutils/parsers/rst/states.py:
615   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
616   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
617     " " (non-breaking space), and "¡ ¿" openers.
619 * docutils/parsers/directives/misc.py:
621   - Added ``start-line`` and ``end-line`` options to "include"
622     directive to select a range of lines.
623   - Hard tabs in literal inclusions are replaced by spaces. This is
624     configurable via the new ``tab-width`` option of the "include" directive
625     (a negative tab-width prevents tab expansion).
627 * docutils/utils.py:
629   - Add ``get_stylesheet_list`` function.
630   - Apply [ 2834836 ] print info at halt
632 * docutils/transforms/universal.py:
634   - Raise default priority of StripClasses to exclude stripped classes from
635     the ToC.
637 * docutils/writers/html4css1/__init__.py:
639   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
640     separated list of stylesheets.
641   - Address [ 1938891 ] Inline literal text creates "pre" span only when
642     needed to prevent inter-word line wraps.
643   - Use `translate` method instead of repeated `replace` calls.
644   - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
645     classes to allow CSS styling that does not interfere with other
646     table-using constructs (field lists, citations, ...).
648 * docutils/writers/newlatex2e/__init__.py:
650   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
652 * docutils/writers/latex2e/__init__.py (see also
653   `<docs/user/docutils-05-compat.sty.html>`__) :
655   - Add ``--embed-stylesheet`` option.
656   - Apply [ 1474017 ] image vertical alignment is reversed.
657   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
658   - Change: has_key for dictionaries (not Nodes) to in-operator.
659   - Merge adjacent citations into one latex cite command.
660   - Failsave implementation of custom roles. LaTeX compilation now ignores
661     unknown classes instead of aborting with an error.
662   - Support custom roles based on standard roles.
663   - LaTeX packages can be used as ``--stylesheet`` arguments without
664     restriction. (A style sheet is now referenced with the ``\usepackage``
665     command, if it ends with ``.sty`` or has no extension.)
666   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
667   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
668   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
669     2005-02-04 as a configurable length unit).
670   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
671     if font-encoding is set to ''. LaTeX defaults to OT1 then.
672   - Set sub- and superscript role argument in text mode not as math.
673     Use a custom role based on sub-/superscript if you want italic shape.
674   - Shorter preamble and less dependencies: Load packages and define macros
675     only if required in the document.
676   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
677   - New custom environments and commands with optional "classes" argument.
678   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
679   - Better conformance to Docutils specifications with ``--use-latex-toc``.
680     Support for LaTeX generated ToC also with unnumbered sections.
681   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
682     section numbering by LaTeX.
683   - Use default font in admonitions and sidebar.
684   - Align of image in a figure defaults to 'center'.
685   - Bugfix: Newlines around targets and references prevent run-together
686     paragraphs.
687   - Fix internal hyperlinks.
688   - Use class defaults for page margins ('typearea' now optional).
689   - Float placement made configurable, default changed to "here definitely".
690   - Typeset generic topic as "quote block with title".
691   - Use template (file and configuration option).
692   - In the default template, load cmap.sty (fix text extraction in PDF) and
693     fixltx2e.sty (LaTeX patches, \textsubscript).
694   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
695   - Use `translate` instead of repeated `replace` calls for text encoding.
696   - Hyperlinked footnotes and support for symbol footnotes and
697     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
698   - Complete pairs of binary options
699     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
700     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
701   - New defaults:
702     - font-encoding: "T1" (formerly implicitely set by 'ae').
703     - use-latex-toc: true (ToC with page numbers).
704     - use-latex-footnotes: true (no mixup with figures).
706 * docutils/writers/manpage.py
708   - Do not print version at document end, this is done by the viewer.
709   - Do not print date at document end, this is done by the viewer.
710   - Fix storage of docinfo fields for none standard fields.
712 * docutils/tools/rst2man.py
714 Release 0.5 (2008-06-25)
715 ========================
717 * docutils/languages/he.py: Added to project: Hebrew mappings by
718   Meir Kriheli.
720 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
721   mappings by Meir Kriheli.
723 * docutils/frontend.py:
725   - Configuration files are now assumed and required to be
726     UTF-8-encoded.
727   - Paths of applied configuration files are now recorded in the
728     runtime setting ``_config_files`` (accessible via
729     ``--dump-settings``).
730   - Added ``--strip-elements-with-class`` and ``--strip-class``
731     options (``strip_elements_with_classes`` and ``strip_classes``
732     settings).
734 * docutils/io.py:
736   - Added code to determine the input encoding from data: encoding
737     declarations or the presence of byte order marks (UTF-8 & UTF-16).
738   - Added support for IronPython 1.0.
740 * docutils/nodes.py:
742   - Added ``document.__getstate__`` method, for pickling.
744 * docutils/parsers/rst/states.py:
746   - Allow ``+`` and ``:`` in reference names.
747   - Unquoted targets beginning with an underscore (``.. __target:
748     URI``) are no longer accepted.
749   - Added support for multiple attributions in a physical block quote
750     (indented text block), dividing it into multiple logical block
751     quotes.
752   - Added support for unicode bullets in bullet lists: "•", "‣", and
753     "⁃".
754   - Added support for new object-oriented directive interface,
755     retaining compatibility to the old functional interface.
756   - Added support for throwing ``DirectiveError``'s from within
757     directive code.
759 * docutils/parsers/rst/__init__.py:
761   - Added ``Directive`` base class.
762   - Added ``DirectiveError`` base class.
763   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
764     definitions.
766 * docutils/parsers/directives/:
768   - Refactored all reStructuredText directives to use the new
769     object-oriented directive interface.  Errors are now (mostly)
770     thrown using the new ``DirectiveError`` class.
772 * docutils/parsers/directives/misc.py:
774   - Added ``start-after`` and ``end-before`` options to ``include``
775     directive; thanks to Stefan Rank.
777 * docutils/transforms/universal.py:
779   - Added ``StripClassesAndElements`` transform to remove from the
780     document tree all elements with classes in
781     ``settings.strip_elements_with_classes`` and all "classes"
782     attribute values in ``self.document.settings.strip_classes``.
784 * docutils/transforms/writer_aux.py:
786   - Added ``Admonitions`` transform to transform specific admonitions
787     (like ``note``, ``warning``, etc.) into generic admonitions with a
788     localized title.
790 * docutils/writers/html4css1/__init__.py:
792   - Moved template functionality from the PEP/HTML writer here.
793   - Expanded the fragments available in the ``parts`` attribute.
794   - Moved ``id`` attributes from titles to surrounding ``div``
795     elements.
796   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
797     universally supported now).
798   - ``template.txt`` is now opened in text mode instead of binary mode
799     (to ensure Windows compatibility).
800   - ``a`` elements now have an "internal" or "external" class,
801     depending on reference type.
803 * docutils/writers/html4css1/template.txt: Added to project.
805 * docutils/writers/pep_html/:
807   - Moved template functionality to the HTML writer.
809 * docutils/writers/s5_html/__init__.py:
811   - Added ``view_mode`` & ``hidden_controls`` settings
812     (``--view-mode`` & ``--hidden-controls/--visible-controls``
813     options).
815 * docutils/writers/latex2e/__init__.py:
817   - Add ``--literal-block-env``
818   - Fix: escaping ``%`` in href urls.
819   - Move usepackage hyperref after stylesheet inclusion.
820   - Fix: scrartcl does not have chapter but scrreprt.
821   - Add newline after ``\end{verbatim}``.
822   - Merge smaller differences from latex2e_adaptive_preamble.
823   - Add ``use-part-section``.
824   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
825   - Using leavemode option_list no longer needs to check if parent
826     is a definition list.
827   - Append ``\leavemode`` to definition list terms.
828   - No longer write visit\_/depart_definition_list_item comments to
829     output.
830   - Table column width with 3 decimal places.
831   - Add table stubs support (boldfont).
832   - Add assemble_parts to writer.
833   - Add simply support for nested tables.
834   - Fix verbatim in tables if use-verbatim-when-possible.
835   - Use section commands down to subparagraph.
836   - Put ensuremath around some latin1 chars.
837   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
838   - New option ``--use-bibtex=style,db1,db2``.
839   - New option ``--reference-label`` to allow usage of LaTeX ref for
840     labels in section references.
841   - Add a label after every section to support sectionnumbers as reference
842     labels.
843   - Fix: bug# 1605376 rst2latex: bad options group list
844   - Remove inactive code for use_optionlist_for_option_list.
845   - Remove latex comments from option_list output.
846   - Fix: bug# 1612270 double qoutes in italian literal.
847   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
848   - Add option --use-latex-abstract.
849   - Image width unit ``px`` is translated to ``pt``.
850   - Add image height support.
851   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
852     bug #1457388
853   - Fix: Do not escape underscores in citation reference labels if
854     use-latex-citations is set.
855   - Use centering instead of center for figure contents, to avoid vertical
856     space.
857   - Recognize table class: borderless, nolines, booktabs, standard.
858   - Fix: Renaming contents section does not work with latex writer; SF
859     bug #1487405.
860   - Applied patch for custom roles with classes from Edward Loper.
861   - Fixed bug that caused crashes with more than 256 lists.
863 * docutils/writers/pep_html/__init__.py:
865   - Changed to support new python.org website structure and
866     pep2pyramid.py.
868 * docs/howto/security.txt: "Deploying Docutils Securely", added to
869   project.
871 * tools/buildhtml.py:
873   -- Added ``ignore`` setting to exclude a list of shell patterns
874      (default: ``.svn:CVS``).
876 * tools/editors/emacs/rst.el:
878   - Changed license to "GPL".
879   - Added ``rst-straighten-decorations`` function.
880   - The ``compile`` module is now always loaded.
881   - Added ``rst-toggle-line-block`` function.
882   - Headings consisting only of non-ASCII characters are now
883     recognized by ``rst-toc`` and ``rst-adjust``.
884   - Added font-lock support for multi-line comments where the first
885     comment line is empty.
886   - Added ``(require 'font-lock)``.
888 * setup.py:
890   - Provide descriptive error message if distutils is missing.
893 Release 0.4 (2006-01-09)
894 ========================
896 * General:
898   - Updated the project policies for trunk/branch development &
899     version numbering.
901 * docutils/__init__.py:
903   - Added ``__version_details__`` attribute to describe code source
904     (repository/snapshot/release).
905   - Replaced ``default_transforms`` attribute of TransformSpec with
906     ``get_transforms()`` method.
908 * docutils/core.py:
910   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
911     functions, for document tree extraction and reprocessing.
913 * docutils/io.py:
915   - Added ``DocTreeInput`` class, for reprocessing existing documents.
916   - Added support for non-Unicode (e.g. binary) writer output.
918 * docutils/nodes.py:
920   - Re-introduced ``Targetable.indirect_reference_name``, for
921     MoinMoin/reST compatibility (removed in r3124/r3129).
922   - Added ``serial_escape`` function; escapes string values that are
923     elements of a list, for serialization.  Modified Docutils-XML
924     writing (``Element._dom_node``) and pseudo-XML writing
925     (``Element.starttag``) to use ``serial_escape``.
926   - Added ``Node.deepcopy()`` method.
927   - Removed the internal lists ``document.substitution_refs``,
928     ``document.anonymous_refs``, and ``document.anonymous_targets``.
929   - Added a "container" element.
930   - Fixed bug where values of list-valued attributes of elements
931     originating from custom interpreted text roles (i.e., with custom
932     classes) were being shared between element instances.  Reported by
933     Shmuel Zeigerman.
935 * docutils/statemachine.py:
937   - Added trailing whitespace stripping to ``string2lines()``.
938   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
939     Asian double-width character support.
941 * docutils/utils.py:
943   - Added ``east_asian_column_width()`` for double-width character
944     support.
946 * docutils/languages/ja.py: Added to project: Japanese mappings by
947   Hisashi Morita.
949 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
950   mappings by Panjunyong.
952 * docutils/parsers/null.py: Added to project; a do-nothing parser.
954 * docutils/parsers/rst/__init__.py:
956   - Added validator to tab_width setting, with test.  Closes SF bug
957     #1212515, report from Wu Wei.
959 * docutils/parsers/rst/states.py:
961   - Fixed bug with escaped colons indicating a literal block.
962   - Fixed bug with enumerated lists (SF#1254145).
963   - Backslash-escaped colons inside of field names are now allowed.
964   - Targets (implicit and explicit), anonymous hyperlink references
965     and auto-numbered footnote references inside of substitution
966     definitions are now disallowed.
967   - Fixed bug: list items with blank first lines.
968   - Fixed bug: block quote attributions with indented second lines.
969   - Added East Asian double-width character support (Python 2.4 only).
971 * docutils/parsers/rst/tableparser.py:
973   - Added East Asian double-width character support (Python 2.4 only).
975 * docutils/parsers/rst/directives/body.py:
977   - Added the "container" directive.
979 * docutils/parsers/rst/directives/misc.py:
981   - Added the "default-role", "title", and "date" directives.
982   - Added standard data file syntax to the "include" directive.
983   - Added support for "class" directive content.
985 * docutils/parsers/rst/directives/images.py:
987   - Added ``indirect_reference_name`` support for images with a target
988     option.
989   - Added support for image width and height units.
990   - Fixed bug with image "target" options.
992 * docutils/parsers/rst/directives/references.py:
994   - Added "class" attribute to "target-notes" directive, for
995     footnote_reference classes.
997 * docutils/parsers/rst/include/: Directory added to project; contains
998   standard data files for the "include" directive.  Initial contents:
999   character entity substitution definition sets, and a set of
1000   definitions for S5/HTML presentations.
1002 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
1003   mappings by David Goodger.
1005 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
1006   Simplified Chinese mappings by Panjunyong.
1008 * docutils/readers/__init__.py:
1010   - Added universal.Decorations and universal.ExposeInternals
1011     transforms as default transforms for all readers.
1012   - Added ``ReReader`` base class for readers that reread an existing
1013     document tree.
1015 * docutils/readers/doctree.py: Added to project; a reader for existing
1016   document trees.
1018 * docutils/transforms/frontmatter.py:
1020   - Fixed the DocInfo transform to handle SVN-style expansion of the
1021     "Date" keyword.
1022   - In ``DocInfo.extract_authors``, treat the contents of "authors"
1023     fields uniformly.
1025 * docutils/transforms/misc.py:
1027   - Added misc.Transitions transform, extracted from
1028     universal.FinalChecks.
1030 * docutils/transforms/references.py:
1032   - Added references.DanglingReferences transform, extracted from
1033     universal.FinalChecks.
1034   - Fixed bug with doubly-indirect substitutions.
1035   - Added footnote_reference classes attribute to "TargetNotes".
1036   - Fixed bug with circular substitution definitions that put Docutils
1037     into an infinite loop.
1039 * docutils/transforms/universal.py:
1041   - Added universal.ExposeInternals transform, extracted from
1042     universal.FinalChecks.
1043   - Removed universal.FinalChecks transform (logic has been moved to
1044     several new transforms).
1045   - Fixed bug with the "expose_internals" setting and Text nodes
1046     (exposed by the "rawsource" internal attribute).
1047   - Added the universal.StripComments transform, implementation of the
1048     "strip_comments" setting.
1050 * docutils/transforms/writer_aux.py: Added to project; auxiliary
1051   transforms for writers.
1053   - Added ``Compound`` transform, which flattens compound paragraphs.
1055 * docutils/writers/: Several writer modules (html4css1.py) were
1056   converted into packages.  Support modules and data files have been
1057   moved into the packages.  The stylesheets for the HTML writers are
1058   now installed along with the code, the code knows where to find
1059   them, and the default is to use them (actually, to embed them).
1060   Some adjustments to configuration files may be necessary.  The
1061   easiest way to obtain the new default behavior is to remove all
1062   settings whose name includes "stylesheet".
1064 * docutils/writers/__init__.py:
1066   - Added universal.Messages and universal.FilterMessages transforms
1067     as default transforms for all writers.
1068   - Added ``UnfilteredWriter`` base class for writers that pass the
1069     document tree on unchanged.
1071 * docutils/writers/docutils_xml.py:
1073   - Made ``xmlcharrefreplace`` the default output encoding error
1074     handler.
1076 * docutils/writers/html4css1/:
1078   - Added support for image width and height units.
1079   - Made ``xmlcharrefreplace`` the default output encoding error
1080     handler.
1081   - Made ``--embed-stylesheet`` the default rather than
1082     ``--link-stylesheet``.
1083   - Moved "id" attribute from container (section etc.) to title's <a>
1084     tag, to be on the same tag as "name".
1085     (!!! To be reverted in Docutils 0.5.)
1086   - Added vertical space between fields of field lists.
1087   - Added ``--compact-field-lists`` option to remove vertical space in
1088     simple field lists.
1089   - Made cloaking of email addresses with ``--cloak-email-addresses``
1090     less obtrusive.
1091   - Fixed support for centered images.
1092   - Added support for class="compact" & class="open" lists.
1094 * docutils/writers/latex2e/:
1096   - Underscores in citekeys are no longer escaped.
1098 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
1099   mapping of Unicode characters to LaTeX equivalents.
1101 * docutils/writers/s5_html/: Package added to project; writer for
1102   S5/HTML slide shows.
1104 * docs/dev/distributing.txt: Added to project; guide for distributors
1105   (package maintainers).
1107 * docs/dev/hacking.txt: Added to project; guide for developers.
1109 * docs/ref/doctree.txt:
1111   - Updated for plural attributes "classes", "ids", "names",
1112     "dupnames".
1113   - Added the "container" element.
1115 * docs/ref/docutils.dtd:
1117   - Updated for plural attributes "classes", "ids", "names",
1118     "dupnames".
1120 * docs/user/emacs.txt: Added to project; a document about Emacs
1121   support for reStructuredText and Docutils.
1123 * docs/user/links.txt: Added to project; lists of Docutils-related
1124   links.
1126 * docs/user/mailing-lists.txt: Added to project; information about
1127   Docutils-related mailing lists and how to access them.
1129 * docs/user/slide-shows.txt: Added to project; example of and docs for
1130   the S5/HTML writer (``rst2s5.py`` front end).
1132 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
1133   Files", added to project.
1135 * test/coverage.sh: Added to project; test coverage script.
1137 * test/DocutilsTestSupport.py:
1139   - Added support for specifying runtime settings at the suite level.
1141 * test/test_functional.py:
1143   - Added the ``clear_output_directory`` function.
1144   - Added support for ``_test_more`` functions in functional test
1145     config files.
1147 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
1149 * tools/rstpep2html.py: Renamed from pep.py.
1151 * tools/dev/create_unimap.py: Added to project; script to create the
1152   docutils/writers/unimap_latex.py mapping file.
1154 * tools/dev/profile_docutils.py: Added to project; profiler script.
1156 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
1158 * tools/editors/emacs/restructuredtext.el,
1159   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
1160   Removed from project; the functionality is now contained in rst.el.
1162 * tools/editors/emacs/rst.el: Added to project.  Added many features
1163   and fixed many bugs.  See docs/user/emacs.txt for details.
1165 * tools/stylesheets: Removed from project.  Stylesheets have been
1166   renamed and moved into writer packages.
1169 Release 0.3.9 (2005-05-26)
1170 ==========================
1172 * General:
1174   - Eliminated and replaced all uses of the old string attributes
1175     ``id``, ``name``, ``dupname`` and ``class`` with references to the
1176     new list attributes ``ids``, ``names``, ``dupnames`` and
1177     ``classes`` throughout the whole source tree.
1179 * docutils/core.py:
1181   - Enabled ``--dump-*`` options when ``--traceback`` specified,
1182     allowing for easier debugging.
1183   - In ``Publisher.publish()``, expanded the generic top-level
1184     exception catching.
1186 * docutils/examples.py:
1188   - Added ``internals`` function for exploration.
1190 * docutils/io.py:
1192   - Fixed ``Input.decode`` method to apply heuristics only if no
1193     encoding is explicitly given, and to provide better reporting of
1194     decoding errors.
1195   - The ``Input.decode`` method now removes byte order marks (BOMs)
1196     from input streams.
1198 * docutils/nodes.py:
1200   - ``image`` element class changed to subclass of Element, not
1201     TextElement (it's an empty element, and cannot contain text).
1202   - Added ``attr_defaults`` dictionary for default attribute values.
1203   - Added empty list as default value for the following attributes:
1204     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
1205   - Added ``document.decoration`` attribute,
1206     ``document.get_decoration`` method, and ``decoration.get_header``
1207     & ``.get_footer`` methods.
1208   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
1209     methods.
1211 * docutils/utils.py:
1213   - Removed ``docutils.utils.Reporter.categories``,
1214     ``docutils.utils.ConditionSet``, and all references to them, to
1215     simplify error reporting.
1217 * docutils/languages/nl.py: Added to project; Dutch mappings by
1218   Martijn Pieters.
1220 * docutils/parsers/rst/__init__.py:
1222   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
1224 * docutils/parsers/rst/states.py:
1226   - Added check for escaped at-mark to prevent email address recognition.
1227   - Fixed option lists to allow spaces inside ``<angle-bracketed option
1228     arguments>``.
1229   - Allowed whitespace in paths and URLs.
1230   - Added auto-enumerated list items.
1231   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
1232     followed by text.
1233   - Added support for table stub columns.
1235 * docutils/parsers/rst/directives/__init__.py:
1237   - Allowed whitespace in paths (``path`` function).
1238   - Added ``uri`` directive option conversion function.
1240 * docutils/parsers/rst/directives/body.py:
1242   - Fixed illegal context bug with "topic" directive (allowed within
1243     sidebars; not within body elements).
1245 * docutils/parsers/rst/directives/images.py:
1247   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
1248   - Added support for the ``file_insertion_enabled`` setting in the
1249     "figure" directive (disables "figwidth" option).
1250   - "image" directive: added checks for valid values of "align" option,
1251     depending on context.  "figure" directive: added specialized
1252     "align" option and attribute on "figure" element.
1253   - Made ":figwidth: image" option of "figure" directive work again.
1254   - Fixed bug with reference names containing uppercase letters
1255     (e.g. ``Name_``) in "target" option of "image" directive.
1257 * docutils/parsers/rst/directives/misc.py:
1259   - Fixed "include" and "raw" directives to catch text decoding
1260     errors.
1261   - Allowed whitespace in "include" & "raw" directive paths.
1262   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
1263     settings in "include" & "raw" directives.
1265 * docutils/parsers/rst/directives/parts.py:
1267   - Added "header" & "footer" directives.
1268   - Fixed illegal context bug with "contents" directive (topics
1269     allowed within sidebars; not within body elements).
1271 * docutils/parsers/rst/directives/tables.py:
1273   - Added "list-table" directive.
1274   - Caught empty CSV table bug.
1275   - Added support for the ``file_insertion_enabled`` setting in the
1276     "csv-table" directive.
1277   - Added ``stub-columns`` option to "csv-table" and "list-table"
1278     directives.
1280 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1281   mappings by Martijn Pieters.
1283 * docutils/readers/standalone.py:
1285   - Added ``--section-subtitles`` and ``--no-section-subtitles``
1286     options to activate or deactivate the SectSubTitle transform.
1288 * docutils/transforms/frontmatter.py:
1290   - Added SectSubTitle transform to promote titles of lone
1291     subsections to subtitles.
1293 * docutils/transforms/references.py:
1295   - Fixed mislocated internal targets bug, by propagating internal
1296     targets to the next node, making use of the newly added support
1297     for multiple names and IDs.
1298   - Fixed duplicate footnote label bug.
1299   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1300     transform.
1302 * docutils/writers/html4css1.py:
1304   - Fixed unencoded stylesheet reference bug (characters like "&" in
1305     stylesheet references).
1306   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1307     tags).
1308   - Added support for multiple IDs per node by creating empty ``span``
1309     tags.
1310   - Added the ``field_name_limit`` & ``option_limit`` settings &
1311     support.
1312   - Added support for table stub columns.
1313   - Added support for the ``align`` attribute on ``figure`` elements.
1314   - Added the ``cloak_email_addresses`` setting & support.
1315   - Added ``html_prolog``, ``html_head``, ``html_body``,
1316     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1317     ``docutils.core.publish_parts``.
1318   - Added support for section subtitles.
1320 * docutils/writers/latex2e.py:
1322   - Fixed tables starting with more than one multirow cell.
1323   - Improved --use-latex-docinfo so that organization/contact/address
1324     fields are lumped with the last author field and appear on the
1325     titlepage.
1326   - Made sure the titlepage is always shown with --use-latex-docinfo,
1327     even if the document has no title.
1328   - Made sure that latex doesn't fill in today's date if no date field
1329     was given.
1330   - Added support for section subtitles.
1332 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1333   (under development).
1335 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1337 * docs/api/publisher.txt:
1339   - Added "``publish_parts`` Details" section.
1341 * docutils/dev/repository.txt: Added to project; information about the
1342   Docutils Subversion repository.
1344 * docs/ref/docutils.dtd:
1346   - Added a ``stub`` attribute to the ``colspec`` element via the
1347     ``tbl.colspec.att`` parameter entity.
1348   - Allowed topic elements within sidebars
1349   - Added an ``align`` attribute to the ``figure`` element.
1351 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1352   writer.
1355 Release 0.3.7 (2004-12-24)
1356 ==========================
1358 * docutils/frontend.py:
1360   - Added options: --input-encoding-error-handler,
1361     --record-dependencies, --leave-footnote-reference-space,
1362     --strict-visitor.
1363   - Added command-line and config file support for "overrides" setting
1364     parameter.
1366 * docutils/io.py:
1368   - Added support for input encoding error handler.
1370 * docutils/nodes.py:
1372   - Added dispatch_visit and dispatch_departure methods to
1373     NodeVisitor; useful as a hook for Visitors.
1374   - Changed structure of ``line_block``; added ``line``.
1375   - Added ``compound`` node class.
1376   - Added a mechanism for Visitors to transitionally ignore new node
1377     classes.
1379 * docutils/utils.py:
1381   - Moved ``escape2null`` and ``unescape`` functions from
1382     docutils/parsers/rst/states.py.
1384 * docutils/parsers/rst/roles.py:
1386   - Added "raw" role.
1387   - Changed role function API: the "text" parameter now takes
1388     null-escaped interpreted text content.
1390 * docutils/parsers/rst/states.py:
1392   - Fixed bug where a "role" directive in a nested parse would crash
1393     the parser; the state machine's "language" attribute was not being
1394     copied over.
1395   - Added support for line block syntax.
1396   - Fixed directive parsing bug: argument-less directives didn't
1397     notice that arguments were present.
1398   - Removed error checking for transitions.
1399   - Added support for multiple classifiers in definition list items.
1400   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1401   - Changed role function API: the "text" parameter now takes
1402     null-escaped interpreted text content.
1403   - Empty sections and documents are allowed now.
1405 * docutils/parsers/rst/directives/__init__.py:
1407   - Added ``encoding`` directive option conversion function.
1408   - Allow multiple class names in class_option conversion function.
1410 * docutils/parsers/rst/directives/body.py:
1412   - Converted the line-block directive to use the new structure.
1413   - Extracted the old line-block functionality to the ``block``
1414     function (still used).
1415   - Added ``compound`` directive (thanks to Lea Wiemann).
1417 * docutils/parsers/rst/directives/misc.py:
1419   - Added "encoding" option to "include" and "raw" directives.
1420   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1421   - Allow multiple class names in the "class" directive.
1423 * docutils/parsers/rst/directives/parts.py:
1425   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1426     options.  Thanks to Lele Gaifax.
1428 * docutils/parsers/rst/directives/tables.py:
1430   - Added "encoding" directive to "csv-table" directive.
1431   - Added workaround for lack of Unicode support in csv.py, for
1432     non-ASCII CSV input.
1434 * docutils/transforms/misc.py:
1436   - Fixed bug when multiple "class" directives are applied to a single
1437     element.
1438   - Enabled multiple format names for "raw" directive.
1440 * docutils/transforms/references.py:
1442   - Added support for trimming whitespace from beside substitution
1443     references.
1445 * docutils/transforms/universal.py:
1447   - FinalChecks now checks for illegal transitions and moves
1448     transitions between sections.
1450 * docutils/writers/html4css1.py:
1452   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
1453   - "stylesheet" and "stylesheet_path" settings are now mutually
1454     exclusive.
1455   - Added support for the new line_block/line structure.
1456   - --footnote-references now overrides
1457     --trim-footnote-reference-space, if applicable.
1458   - Added support for ``compound`` elements.
1459   - Enabled multiple format names for "raw" directive.
1460   - ``<p>`` tags of a paragraph which is the only visible child of the
1461     document node are no longer stripped.
1462   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1463     new method ``should_be_compact_paragraph()``.
1464   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1465     elements.
1466   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1467     the output if they have their ``class`` attribute set.
1468   - The whole document is now surrounded by a ``<div
1469     class="document">`` element.
1470   - Body-level images are now wrapped by their own ``<div>`` elements,
1471     with image classes copied to the wrapper, and for images which
1472     have the ``:align:`` option set, the surrounding ``<div>`` now
1473     receives a class attribute (like ``class="align-left"``).
1475 * docutils/writers/latex2e.py:
1477   - no newline after depart_term.
1478   - Added translations for some Unicode quotes.
1479   - Added option "font-encoding", made package AE the default.
1480   - "stylesheet" and "stylesheet_path" settings are now mutually
1481     exclusive.
1482   - --footnote-references now overrides
1483     --trim-footnote-reference-space, if applicable.
1484   - The footnote label style now matches the footnote reference style
1485     ("brackets" or "superscript").
1486   - Added support for ``compound`` elements.
1487   - Enabled multiple format names for "raw" directive.
1489 * docs/ref/docutils.dtd:
1491   - Changed structure of the ``line_block`` element; added ``line``.
1492   - Added ``compound`` element.
1493   - Added "ltrim" and "rtrim" attributes to
1494     ``substitution_definition`` element.
1495   - Enabled multiple format names for ``raw`` element.
1496   - Enabled multiple classifiers in ``definition_list_item`` elements.
1498 * docs/ref/rst/directives.txt
1500   - Marked "line-block" as deprecated.
1501   - "Class" directive now allows multiple class names.
1502   - Added "Rationale for Class Attribute Value Conversion".
1503   - Added warning about "raw" overuse/abuse.
1505 * docs/ref/rst/restructuredtext.txt:
1507   - Added syntax for line blocks.
1508   - Definition list items may have multiple classifiers.
1510 * docs/ref/rst/roles.txt:
1512   - Added "raw" role.
1514 * tools/stylesheets/default.css:
1516   - Added support for the new line_block structure.
1517   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1520 Release 0.3.5 (2004-07-29)
1521 ==========================
1523 General:
1525 * _`Documentation cleanup/reorganization`.
1527   - Created new subdirectories of docs/:
1529     * ``docs/user/``: introductory/tutorial material for end-users
1530     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1531     * ``docs/api/``: API reference material for client-developers
1532     * ``docs/ref/``: reference material for all groups
1533     * ``docs/howto/``: for component-developers and core-developers
1534     * ``docs/peps/``: Python Enhancement Proposals
1536   - Moved ``docs/*`` to ``docs/user/``.
1537   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1538     ``spec/`` to ``docs/dev``.
1539   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1540     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1541   - Moved ``alternatives.txt``, and ``problems.txt`` from
1542     ``spec/rst/`` to ``docs/dev/rst/``.
1543   - Moved ``reStructuredText.txt``, ``directives.txt``,
1544     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1545     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
1546     ``roles.txt``, ``reStructuredText.txt`` to
1547     ``restructuredtext.txt``.
1548   - Moved ``spec/howto/`` to ``docs/howto``.
1550   In order to keep the CVS history of moved files, we supplied
1551   SourceForge with a `script for modifying the Docutils CVS
1552   repository`__.
1554   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1556   After running the cleanup script:
1558   - Added ``docs/index.txt``.
1559   - Added a ``.htaccess`` file to the ``web`` module, containing
1560     redirects for all old paths to new paths.  They'll preserve
1561     fragments (the "#name" part of a URL), and won't clutter up the
1562     file system, and will correct the URL in the user's browser.
1563   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1564     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1565     the "To Do" list itself in ``docs/dev/todo.txt``.
1566   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1567     section of ``docs/dev/todo.txt``.
1568   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1569   - Added "How To Report Bugs" to ``BUGS.txt``.
1570   - Went through all the sources and docs (including under web/) and
1571     updated links.  Mostly done by Lea Wiemann; thanks Lea!
1572     (Still need to update links in the sandboxes.)
1574 Specific:
1576 * BUGS.txt: Added to project.
1578 * THANKS.txt: Added to project.
1580 * docutils/__init__.py:
1582   - 0.3.4: Post-release.
1584 * docutils/core.py:
1586   - Added special error handling & advice for UnicodeEncodeError.
1587   - Refactored Publisher.publish (simplified exception handling &
1588     extracted debug dumps).
1589   - Renamed "enable_exit" parameter of convenience functions to
1590     "enable_exit_status".
1591   - Enabled traceback (exception propagation) by default in
1592     programmatic convenience functions.
1593   - Now publish_file and publish_cmdline convenience functions return
1594     the encoded string results in addition to their regular I/O.
1595   - Extracted common code from publish_file, publish_string, and
1596     publish_parts, into new publish_programmatically.  Extracted
1597     settings code to ``Publisher.process_programmatic_settings``.
1598   - In Publisher.publish, disabled ``settings_overrides`` when
1599     ``settings`` is supplied; redundant.
1601 * docutils/frontend.py:
1603   - Added help text for "--output-encoding-error-handler" and
1604     "--error-encoding-error-handler".
1605   - Renamed "--exit" to "--exit-status".
1606   - Simplified default-setting code.
1608 * docutils/parsers/rst/__init__.py:
1610   - Added "--pep-base-url" and "--rfc-base-url" options.
1612 * docutils/parsers/rst/states.py:
1614   - Made URI recognition more aggressive and intelligent.
1616 * docutils/parsers/rst/directives/__init__.py:
1618   - Added several directive option conversion functions.
1620 * docutils/parsers/rst/directives/body.py:
1622   - Moved "table" directive to tables.py.
1624 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1625   added to project.
1627 * docutils/writers/latex2e.py:
1629   - Added "--table-style=(standard|booktabs|nolines)"
1630   - figures get "here" option (LaTeX per default puts them at bottom),
1631     and figure content is centered.
1632   - Rowspan support for tables.
1633   - Fix: admonition titles before first section.
1634   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1635   - Replave ``_`` in literal by an underlined blank, because it has the correct
1636     width.
1637   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1638   - A few unicode replacements, if output_encoding != utf
1639   - Add "--graphicx-option".
1640   - Indent literal-blocks.
1641   - Fix: omit ``\maketitle`` when there is no document title.
1643 * docs/index.txt: "Docutils Project Documentation Overview", added to
1644   project.
1646 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1647   Tool", added to project.
1649 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1651 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1653 * docs/dev/policies.txt: Added to project (extracted from
1654   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1656 * docs/dev/release.txt: Added to project (extracted from
1657   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1659 * docs/dev/testing.txt: Added to project.
1661 * docs/dev/website.txt: Added to project (extracted from
1662   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1664 * docs/ref/rst/directives.txt:
1666   - Added directives: "table", "csv-table".
1668 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1669   added to project.  1 page for syntax, and a 1 page reference for
1670   directives and roles.  Source text to be used as-is; not meant to be
1671   converted to HTML.
1673 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1674   with a change of title.
1676 * test/functional/, contents, and test/test_functional.py: Added to
1677   project.
1679 * tools/buildhtml.py: Fixed bug with config file handling.
1681 * tools/html.py: Removed from project (duplicate of rst2html.py).
1683 * tools/pep2html.py: Removed from project (duplicate of Python's
1684   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1685   Docutils-related PEPs in docs/peps/).
1687 * tools/rst2pseudoxml.py: Renamed from publish.py.
1689 * tools/rst2xml.py: Renamed from docutils-xml.py.
1691 * tools/test.txt: Removed from project; moved to
1692   docs/user/rst/demo.txt.
1694 * setup.py: Now also installs ``rst2latex.py``.
1697 Release 0.3.3 (2004-05-09)
1698 ==========================
1700 * docutils/__init__.py:
1702   - 0.3.1: Reorganized config file format (multiple sections); see
1703     docs/config.txt.
1704   - Added unknown_reference_resolvers attribute to TransformSpec.
1705   - 0.3.2: Interpreted text reorganization.
1706   - 0.3.3: Released.
1708 * docutils/core.py:
1710   - Catch system messages to stop tracebacks from parsing errors.
1711   - Catch exceptions during processing report & exit without
1712     tracebacks, except when "--traceback" used.
1713   - Reordered components for OptionParser; application comes last.
1714   - Added "config_section" parameter to several methods and functions,
1715     allowing front ends to easily specify their config file sections.
1716   - Added publish_parts convenience function to allow access to individual
1717     parts of a document.
1719 * docutils/examples.py: Added to project; practical examples of
1720   Docutils client code, to be used as-is or as models for variations.
1722 * docutils/frontend.py:
1724   - Added "--traceback" & "--no-traceback" options ("traceback"
1725     setting).
1726   - Implemented support for config file reorganization:
1727     ``standard_config_files`` moved from ``ConfigParser`` to
1728     ``OptionParser``; added
1729     ``OptionParser.get_config_file_settings()`` and
1730     ``.get_standard_config_settings()``; support for old "[options]"
1731     section (with deprecation warning) and mapping from old to new
1732     settings.
1733   - Reimplemented setting validation.
1734   - Enabled flexible boolean values: yes/no, true/false, on/off.
1735   - Added ``Values``, a subclass of ``optparse.Values``, with support
1736     for list setting attributes.
1737   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1738     thanks to Beni Cherniavsky.
1739   - Added "--no-section-numbering" option.
1741 * docutils/io.py:
1743   - Catch IOErrors when opening source & destination files, report &
1744     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1745     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1747 * docutils/nodes.py:
1749   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1750     method definitions (via ``exec``) to dynamic assignments (via
1751     ``setattr``); thanks to Roman Suzi.
1752   - Encapsulated visitor dynamic assignments in a function; thanks to
1753     Ian Bicking.
1754   - Added indirect_reference_name attribute to the Targetable
1755     class. This attribute holds the whitespace_normalized_name
1756     (contains mixed case) of a target.
1758 * docutils/statemachine.py:
1760   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1761   - Added ``StringList.get_2D_block``.
1763 * docutils/utils.py:
1765   - Added "level" attribute to SystemMessage exceptions.
1767 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1768   Jannie Hofmeyr.
1770 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1771   Blaha.
1773 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1774   Marcelo Huerta San Martin.
1776 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1777   mappings by Lalo Martins.
1779 * docutils/languages/ru.py: Added to project; Russian mappings by
1780   Roman Suzi.
1782 * docutils/parsers/rst/roles.py: Added to project.  Contains
1783   interpreted text role functions, a registry for interpreted text
1784   roles, and an API for adding to and retrieving from the registry.
1785   Contributed by Edward Loper.
1787 * docutils/parsers/rst/states.py:
1789   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1790   - Allowed true em-dash character and "---" as block quote
1791     attribution marker.
1792   - Added support for <angle-bracketed> complex option arguments
1793     (option lists).
1794   - Fixed handling of backslashes in substitution definitions.
1795   - Fixed off-by-1 error with extra whitespace after substitution
1796     definition directive.
1797   - Added inline markup parsing to field lists' field names.
1798   - Added support for quoted (and unindented) literal blocks.
1799     Driven in part by a bribe from Frank Siebenlist (thanks!).
1800   - Parser now handles escapes in URIs correctly.
1801   - Made embedded-URIs' reference text omittable.  Idea from Beni
1802     Cherniavsky.
1803   - Refactored explicit target processing code.
1804   - Added name attribute to references containing the reference name only
1805     through whitespace_normalize_name (no case changes).
1806   - parse_target no longer returns the refname after going through
1807     normalize_name. This is now handled in make_target.
1808   - Fixed bug relating to role-less interpreted text in non-English
1809     contexts.
1810   - Reorganized interpreted text processing; moved code into the new
1811     roles.py module.  Contributed by Edward Loper.
1812   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1813     ``parse_directive_block``.
1815 * docutils/parsers/rst/tableparser.py:
1817   - Reworked for ``StringList``, to support "include" directives in
1818     table cells.
1820 * docutils/parsers/rst/directives/__init__.py:
1822   - Renamed ``unchanged()`` directive option conversion function to
1823     ``unchanged_required``, and added a new ``unchanged``.
1824   - Catch unicode value too high error; fixes bug 781766.
1825   - Beefed up directive error reporting.
1827 * docutils/parsers/rst/directives/body.py:
1829   - Added basic "table" directive.
1831 * docutils/parsers/rst/directives/images.py:
1833   - Added "target" option to "image" directive.
1834   - Added name attribute to references containing the reference name only
1835     through whitespace_normalize_name (no case changes).
1837 * docutils/parsers/rst/directives/misc.py:
1839   - Isolated the import of the ``urllib2`` module; was causing
1840     problems on SourceForge (``libssl.so.2`` unavailable?).
1841   - Added the "role" directive for declaring custom interpreted text
1842     roles.
1844 * docutils/parsers/rst/directives/parts.py:
1846   - The "contents" directive does more work up-front, creating the
1847     "topic" and "title", and leaving the "pending" node for the
1848     transform.  Allows earlier reference resolution; fixes subtle bug.
1850 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1851   mappings by Jannie Hofmeyr.
1853 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1854   mappings by Marek Blaha.
1856 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1857   mappings by Marcelo Huerta San Martin.
1859 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1860   Portuguese mappings by Lalo Martins.
1862 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1863   mappings by Roman Suzi.
1865 * docutils/transforms/parts.py:
1867   - The "contents" directive does more work up-front, creating the
1868     "topic" and "title", and leaving the "pending" node for the
1869     transform.  Allows earlier reference resolution; fixes subtle bug.
1870   - Added support for disabling of section numbering.
1872 * docutils/transforms/references.py:
1874   - Verifying that external targets are truly targets and not indirect
1875     references. This is because we are now adding a "name" attribute to
1876     references in addition to targets. Note sure if this is correct!
1877   - Added code to hook into the unknown_reference_resolvers list for a
1878     transformer in resolve_indirect_target. This allows the
1879     unknown_reference_resolvers to keep around indirect targets which
1880     docutils doesn't know about.
1881   - Added specific error message for duplicate targets.
1883 * docutils/transforms/universal.py:
1885   - Added FilterMessages transform (removes system messages below the
1886     verbosity threshold).
1887   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1888     to FinalCheckVisitor for application-specific handling of
1889     unresolvable references.
1890   - Added specific error message for duplicate targets.
1892 * docutils/writers/__init__.py:
1894   - Added assemble_parts method to the Writer class to allow for
1895     access to a documents individual parts.
1896   - Documented & set default for ``Writer.output`` attribute.
1898 * docutils/writers/html4css1.py:
1900   - Fixed unicode handling of attribute values (bug 760673).
1901   - Prevent duplication of "class" attribute values (bug report from
1902     Kirill Lapshin).
1903   - Improved table grid/border handling (prompted by report from Bob
1904     Marshall).
1905   - Added support for table titles.
1906   - Added "<title />" for untitled docs, for XHTML conformance; thanks
1907     to Darek Suchojad.
1908   - Added functionality to keep track of individual parts of a document
1909     and store them in a dictionary as the "parts" attribute of the writer.
1910     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1911   - Added proper support for the "scale" attribute of the "image"
1912     element.  Contributed by Brent Cook.
1913   - Added ``--initial-header-level`` option.
1914   - Fixed bug: the body_pre_docinfo segment depended on there being a
1915     docinfo; if no docinfo, the document title was incorporated into
1916     the body segment.  Adversely affected the publish_parts interface.
1918 * docutils/writers/latex2e.py:
1920   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1921     about a missing file.
1922   - Added options and support: ``--compound-enumerators``,
1923     ``--section-prefix-for-enumerators``, and
1924     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
1925     934322).
1926   - Added option ``--use-verbatim-when-possible``, to avoid
1927     problematic characters (eg, '~' in italian) in literal blocks.
1928   - It's now possible to use four section levels in the `book` and
1929     `report` LaTeX classes.  The default `article` class still has
1930     three levels limit.
1932 * docs/config.txt: "Docutils Configuration Files", added to project.
1933   Moved config file entry descriptions from tools.txt.
1935 * docs/tools.txt:
1937   - Moved config file entry descriptions to config.txt.
1939 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
1940   Development".
1942 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1943   Text Roles", added to project.
1945 * spec/rst/reStructuredText.txt:
1947   - Added description of support for <angle-bracketed> complex option
1948     arguments to option lists.
1949   - Added subsections for indented and quoted literal blocks.
1951 * test: Continually adding & updating tests.
1953   - Added test/test_settings.py & test/data/config_*.txt support
1954     files.
1955   - Added test/test_writers/test_htmlfragment.py.
1957 * test/DocutilsTestSupport.py:
1959   - Refactored LaTeX publisher test suite/case class names to make
1960     testing other writers easier.
1961   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1962     to test the processing of HTML fragments which use the new
1963     publish_parts convenience function.
1965 * tools/buildhtml.py:
1967   - Added support for the "--prune" option.
1968   - Removed dependency on pep2html.py; plaintext PEPs no longer
1969     supported.
1971 * tools/docutils.conf:
1973   - Updated for configuration file reorganization.
1975 * tools/rst2html.py:
1977   - copied from tools/html.py
1979 * setup.py:
1981   - added a 'scripts' section to configuration
1982   - added 'tools/rst2html.py' to the scripts section
1985 Release 0.3 (2003-06-24)
1986 ========================
1988 General:
1990 * Renamed "attribute" to "option" for directives/extensions.
1992 * Renamed transform method "transform" to "apply".
1994 * Renamed "options" to "settings" for runtime settings (as set by
1995   command-line options).  Sometimes "option" (singular) became
1996   "settings" (plural).  Some variations below:
1998   - document.options -> document.settings (stored in other objects as
1999     well)
2000   - option_spec -> settings_spec (not directives though)
2001   - OptionSpec -> SettingsSpec
2002   - cmdline_options -> settings_spec
2003   - relative_path_options -> relative_path_settings
2004   - option_default_overrides -> settings_default_overrides
2005   - Publisher.set_options -> Publisher.get_settings
2007 Specific:
2009 * COPYING.txt: Added "Public Domain Dedication".
2011 * FAQ.txt: Frequently asked questions, added to project.
2013 * setup.py:
2015   - Updated with PyPI Trove classifiers.
2016   - Conditional installation of third-party modules.
2018 * docutils/__init__.py:
2020   - Bumped version to 0.2.1 to reflect changes to I/O classes.
2021   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
2022   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
2023   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
2024     option and its effect on the PEP template & writer.
2025   - Bumped version to 0.2.4 due to changes to the PEP template &
2026     stylesheet.
2027   - Bumped version to 0.2.5 to reflect changes to Reporter output.
2028   - Added ``TransformSpec`` class for new transform system.
2029   - Bumped version to 0.2.6 for API changes (renaming).
2030   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
2031     convenience functions.
2032   - Added ``Component.component_type`` attribute.
2033   - Bumped version to 0.2.8 because of the internal parser switch from
2034     plain lists to the docutils.statemachine.StringList objects.
2035   - Bumped version to 0.2.9 because of the frontend.py API changes.
2036   - Bumped version to 0.2.10 due to changes to the project layout
2037     (third-party modules removed from the "docutils" package), and
2038     signature changes in ``io.Input``/``io.Output``.
2039   - Changed version to 0.3.0 for release.
2041 * docutils/core.py:
2043   - Made ``publish()`` a bit more convenient.
2044   - Generalized ``Publisher.set_io``.
2045   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
2046     parameters; improved its docstring.
2047   - Added ``publish_file()`` and ``publish_string()``.
2048   - Factored ``Publisher.set_source()`` and ``.set_destination()``
2049     out of ``.set_io``.
2050   - Added support for "--dump-pseudo-xml", "--dump-settings", and
2051     "--dump-transforms" hidden options.
2052   - Added ``Publisher.apply_transforms()`` method.
2053   - Added ``Publisher.set_components()`` method; support for
2054     ``publish_*()`` conveninece functions.
2055   - Moved config file processing to docutils/frontend.py.
2056   - Added support for exit status ("exit_level" setting &
2057     ``enable_exit`` parameter for Publisher.publish() and convenience
2058     functions).
2060 * docutils/frontend.py:
2062   - Check for & exit on identical source & destination paths.
2063   - Fixed bug with absolute paths & "--config".
2064   - Set non-command-line defaults in ``OptionParser.__init__()``:
2065     ``_source`` & ``_destination``.
2066   - Distributed ``relative_path_settings`` to components; updated
2067     ``OptionParser.populate_from_components()`` to combine it all.
2068   - Require list of keys in ``make_paths_absolute`` (was implicit in
2069     global ``relative_path_settings``).
2070   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
2071     "--dump-settings", and "--dump-transforms" hidden options.
2072   - Removed nasty internals-fiddling ``ConfigParser.get_section``
2073     code, replaced with correct code.
2074   - Added validation functionality for config files.
2075   - Added "--error-encoding" option/setting, "_disable_config"
2076     internal setting.
2077   - Added encoding validation; updated "--input-encoding" and
2078     "--output-encoding"; added "--error-encoding-error-handler" and
2079     "--output-encoding-error-handler".
2080   - Moved config file processing from docutils/core.py.
2081   - Updated ``OptionParser.populate_from_components`` to handle new
2082     ``SettingsSpec.settings_defaults`` dict.
2083   - Added support for "-" => stdin/stdout.
2084   - Added "exit_level" setting ("--exit" option).
2086 * docutils/io.py:
2088   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
2089   - Added automatic closing to ``FileInput`` and ``FileOutput``.
2090   - Delayed opening of ``FileOutput`` file until ``write()`` called.
2091   - ``FileOutput.write()`` now returns the encoded output string.
2092   - Try to get path/stream name automatically in ``FileInput`` &
2093     ``FileOutput``.
2094   - Added defaults for source & destination paths.
2095   - Allow for Unicode I/O with an explicit "unicode" encoding.
2096   - Added ``Output.encode()``.
2097   - Removed dependency on runtime settings; pass encoding directly.
2098   - Recognize Unicode strings in ``Input.decode()``.
2099   - Added support for output encoding error handlers.
2101 * docutils/nodes.py:
2103   - Added "Invisible" element category class.
2104   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
2105     modification during a traversal.
2106   - Added element classes: ``line_block``, ``generated``, ``address``,
2107     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
2108     ``superscript``, ``subscript``, ``inline``
2109   - Added support for lists of nodes to ``Element.insert()``.
2110   - Fixed parent linking in ``Element.replace()``.
2111   - Added new abstract superclass ``FixedTextElement``; adds
2112     "xml:space" attribute.
2113   - Added support for "line" attribute of ``system_message`` nodes.
2114   - Added support for the observer pattern from ``utils.Reporter``.
2115     Added ``parse_messages`` and ``transform_messages`` attributes to
2116     ``document``, removed ``messages``.  Added ``note_parse_message``
2117     and ``note_transform_message`` methods.
2118   - Added support for improved diagnostics:
2120     - Added "document", "source", and "line" internal attributes to
2121       ``Node``, set by ``Node.setup_child()``.
2122     - Converted variations on ``node.parent = self`` to
2123       ``self.setup_child(node)``.
2124     - Added ``document.current_source`` & ``.current_line``
2125       attributes, and ``.note_source`` observer method.
2126     - Changed "system_message" output to GNU-Tools format.
2128   - Added a "rawsource" attribute to the ``Text`` class, for text
2129     before backslash-escape resolution.
2130   - Support for new transform system.
2131   - Reworked ``pending`` element.
2132   - Fixed XML DOM bug (SF #660611).
2133   - Removed the ``interpeted`` element class and added
2134     ``title_reference``, ``abbreviation``, ``acronym``.
2135   - Made substitutions case-sensitive-but-forgiving; moved some code
2136     from the parser.
2137   - Fixed Unicode bug on element attributes (report: William Dode).
2139 * docutils/optik.py: Removed from project; replaced with
2140   extras/optparse.py and extras/textwrap.py.  These will be installed
2141   only if they're not already present in the Python installation.
2143 * docutils/roman.py: Moved to extras/roman.py; this will be installed
2144   only if it's not already present in the Python installation.
2146 * docutils/statemachine.py:
2148   - Factored out ``State.add_initial_transitions()`` so it can be
2149     extended.
2150   - Converted whitespace-specific "blank" and "indent" transitions
2151     from special-case code to ordinary transitions: removed
2152     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
2153     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
2154     ``ws_initial_transitions`` attributes.
2155   - Removed ``State.match_transition()`` after merging it into
2156     ``.check_line()``.
2157   - Added ``StateCorrection`` exception.
2158   - Added support for ``StateCorrection`` in ``StateMachine.run()``
2159     (moved ``TransitionCorrection`` support there too.)
2160   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
2161     ``EOFError`` instead of ``IndexError``.
2162   - Added ``State.no_match`` method.
2163   - Added support for the Observer pattern, triggered by input line
2164     changes.
2165   - Added ``strip_top`` parameter to
2166     ``StateMachineWS.get_first_known_indented``.
2167   - Made ``context`` a parameter to ``StateMachine.run()``.
2168   - Added ``ViewList`` & ``StringList`` classes;
2169     ``extract_indented()`` becomes ``StringList.get_indented()``.
2170   - Added ``StateMachine.insert_input()``.
2171   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
2172     thanks to) Fred Drake.
2174 * docutils/utils.py:
2176   - Added a ``source`` attribute to Reporter instances and
2177     ``system_message`` elements.
2178   - Added an observer pattern to ``utils.Reporter`` to keep track of
2179     system messages.
2180   - Fixed bugs in ``relative_path()``.
2181   - Added support for improved diagnostics.
2182   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
2183   - Added support for encoding Reporter stderr output, and encoding
2184     error handlers.
2185   - Reporter keeps track of the highest level system message yet
2186     generated.
2188 * docutils/languages: Fixed bibliographic field language lookups.
2190 * docutils/languages/es.py: Added to project; Spanish mappings by
2191   Marcelo Huerta San Martin.
2193 * docutils/languages/fr.py: Added to project; French mappings by
2194   Stefane Fermigier.
2196 * docutils/languages/it.py: Added to project; Italian mappings by
2197   Nicola Larosa.
2199 * docutils/languages/sk.py: Added to project; Slovak mappings by
2200   Miroslav Vasko.
2202 * docutils/parser/__init__.py:
2204   - Added ``Parser.finish_parse()`` method.
2206 * docutils/parser/rst/__init__.py:
2208   - Added options: "--pep-references", "--rfc-references",
2209     "--tab-width", "--trim-footnote-reference-space".
2211 * docutils/parsers/rst/states.py:
2213   - Changed "title under/overline too short" system messages from INFO
2214     to WARNING, and fixed its insertion location.
2215   - Fixed enumerated list item parsing to allow paragraphs & section
2216     titles to begin with enumerators.
2217   - Converted system messages to use the new "line" attribute.
2218   - Fixed a substitution reference edge case.
2219   - Added support for "--pep-references" and "--rfc-references"
2220     options; reworked ``Inliner`` code to make customization easier.
2221   - Removed field argument parsing.
2222   - Added support for short section title over/underlines.
2223   - Fixed "simple reference name" regexp to ignore text like
2224     "object.__method__"; not an anonymous reference.
2225   - Added support for improved diagnostics.
2226   - Reworked directive API, based on Dethe Elza's contribution.  Added
2227     ``Body.parse_directive()``, ``.parse_directive_options()``,
2228     ``.parse_directive_arguments()`` methods.
2229   - Added ``ExtensionOptions`` class, to parse directive options
2230     without parsing field bodies.  Factored
2231     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
2232     ``ExtensionOptions``.
2233   - Improved definition list term/classifier parsing.
2234   - Added warnings for unknown directives.
2235   - Renamed ``Stuff`` to ``Struct``.
2236   - Now flagged as errors: transitions at the beginning or end of
2237     sections, empty sections (except title), and empty documents.
2238   - Updated for ``statemachine.StringList``.
2239   - Enabled recognition of schemeless email addresses in targets.
2240   - Added support for embedded URIs in hyperlink references.
2241   - Added backslash-escapes to inline markup end-string suffix.
2242   - Added support for correct interpreted text processing.
2243   - Fixed nested title parsing (topic, sidebar directives).
2244   - Added special processing of backslash-escaped whitespace (idea
2245     from David Abrahams).
2246   - Made substitutions case-sensitive-but-forgiving; moved some code
2247     to ``docutils.nodes``.
2248   - Added support for block quote attributions.
2249   - Added a kludge to work-around a conflict between the bubble-up
2250     parser strategy and short titles (<= 3 char-long over- &
2251     underlines).  Fixes SF bug #738803 "infinite loop with multiple
2252     titles" submitted by Jason Diamond.
2253   - Added explicit interpreted text roles for standard inline markup:
2254     "emphasis", "strong", "literal".
2255   - Implemented "superscript" and "subscript" interpreted text roles.
2256   - Added initial support for "abbreviation" and "acronym" roles;
2257     incomplete.
2258   - Added support for "--trim-footnote-reference-space" option.
2259   - Optional space before colons in directives & hyperlink targets.
2261 * docutils/parsers/rst/tableparser.py:
2263   - Fixed a bug that was producing unwanted empty rows in "simple"
2264     tables.
2265   - Detect bad column spans in "simple" tables.
2267 * docutils/parsers/rst/directives: Updated all directive functions to
2268   new API.
2270 * docutils/parsers/rst/directives/__init__.py:
2272   - Added ``flag()``, ``unchanged()``, ``path()``,
2273     ``nonnegative_int()``, ``choice()``, and ``class_option()``
2274     directive option helper functions.
2275   - Added warnings for unknown directives.
2276   - Return ``None`` for missing directives.
2277   - Added ``register_directive()``, thanks to William Dode and Paul
2278     Moore.
2280 * docutils/parsers/rst/directives/admonitions.py:
2282   - Added "admonition" directive.
2284 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
2285   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2286   "parsed-literal", "rubric", "epigraph", "highlights" and
2287   "pull-quote" directives.
2289 * docutils/parsers/rst/directives/images.py:
2291   - Added an "align" attribute to the "image" & "figure" directives
2292     (by Adam Chodorowski).
2293   - Added "class" option to "image", and "figclass" to "figure".
2295 * docutils/parsers/rst/directives/misc.py:
2297   - Added "include", "raw", and "replace" directives, courtesy of
2298     Dethe Elza.
2299   - Added "unicode" and "class" directives.
2301 * docutils/parsers/rst/directives/parts.py:
2303   - Added the "sectnum" directive; by Dmitry Jemerov.
2304   - Added "class" option to "contents" directive.
2306 * docutils/parsers/rst/directives/references.py: Added to project.
2307   Contains the "target-notes" directive.
2309 * docutils/parsers/rst/languages/__init__.py:
2311   - Return ``None`` from get_language() for missing language modules.
2313 * docutils/parsers/rst/languages/de.py: Added to project; German
2314   mappings by Engelbert Gruber.
2316 * docutils/parsers/rst/languages/en.py:
2318   - Added interpreted text roles mapping.
2320 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2321   mappings by Marcelo Huerta San Martin.
2323 * docutils/parsers/rst/languages/fr.py: Added to project; French
2324   mappings by William Dode.
2326 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2327   mappings by Nicola Larosa.
2329 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2330   mappings by Miroslav Vasko.
2332 * docutils/readers/__init__.py:
2334   - Added support for the observer pattern from ``utils.Reporter``, in
2335     ``Reader.parse`` and ``Reader.transform``.
2336   - Removed ``Reader.transform()`` method.
2337   - Added default parameter values to ``Reader.__init__()`` to make
2338     instantiation easier.
2339   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2341 * docutils/readers/pep.py:
2343   - Added the ``peps.TargetNotes`` transform to the Reader.
2344   - Removed PEP & RFC reference detection code; moved to
2345     parsers/rst/states.py as options (enabled here by default).
2346   - Added support for pre-acceptance PEPs (no PEP number yet).
2347   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2348     easy subclassing.
2350 * docutils/readers/python: Python Source Reader subpackage added to
2351   project, including preliminary versions of:
2353   - __init__.py
2354   - moduleparser.py: Parser for Python modules.
2356 * docutils/transforms/__init__.py:
2358   - Added ``Transformer`` class and completed transform reform.
2359   - Added unknown_reference_resolvers list for each transformer. This list holds
2360     the list of functions provided by each component of the transformer that
2361     help resolve references.
2363 * docutils/transforms/frontmatter.py:
2365   - Improved support for generic fields.
2366   - Fixed bibliographic field language lookups.
2368 * docutils/transforms/misc.py: Added to project.  Miscellaneous
2369   transforms.
2371 * docutils/transforms/parts.py:
2373   - Moved the "id" attribute from TOC list items to the references
2374     (``Contents.build_contents()``).
2375   - Added the ``SectNum`` transform; by Dmitry Jemerov.
2376   - Added "class" attribute support to ``Contents``.
2378 * docutils/transforms/peps.py:
2380   - Added ``mask_email()`` function, updating to pep2html.py's
2381     functionality.
2382   - Linked "Content-Type: text/x-rst" to PEP 12.
2383   - Added the ``TargetNotes`` PEP-specific transform.
2384   - Added ``TargetNotes.cleanup_callback``.
2385   - Added title check to ``Headers``.
2387 * docutils/transforms/references.py:
2389   - Added the ``TargetNotes`` generic transform.
2390   - Split ``Hyperlinks`` into multiple transforms.
2391   - Fixed bug with multiply-indirect references (report: Bruce Smith).
2392   - Added check for circular indirect references.
2393   - Made substitutions case-sensitive-but-forgiving.
2395 * docutils/transforms/universal.py:
2397   - Added support for the "--expose-internal-attributes" option.
2398   - Removed ``Pending`` transform classes & data.
2400 * docutils/writers/__init__.py:
2402   - Removed ``Writer.transform()`` method.
2404 * docutils/writers/docutils-xml.py:
2406   - Added XML and doctype declarations.
2407   - Added "--no-doctype" and "--no-xml-declaration" options.
2409 * docutils/writers/html4css1.py:
2411   - "name" attributes only on these tags: a, applet, form, frame,
2412     iframe, img, map.
2413   - Added "name" attribute to <a> in section titles for Netscape 4
2414     support (bug report: Pearu Peterson).
2415   - Fixed targets (names) on footnote, citation, topic title,
2416     problematic, and system_message nodes (for Netscape 4).
2417   - Changed field names from "<td>" to "<th>".
2418   - Added "@" to "&#64;" encoding to thwart address harvesters.
2419   - Improved the vertical whitespace optimization; ignore "invisible"
2420     nodes (targets, comments, etc.).
2421   - Improved inline literals with ``<span class="pre">`` around chunks
2422     of text and ``&nbsp;`` for runs of spaces.
2423   - Improved modularity of output; added ``self.body_pre_docinfo`` and
2424     ``self.docinfo`` segments.
2425   - Added support for "line_block", "address" elements.
2426   - Improved backlinks (footnotes & system_messages).
2427   - Improved system_message output.
2428   - Redefined "--stylesheet" as containing an invariant URL, used
2429     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
2430     working directory.
2431   - Added "--footnote-references" option (superscript or brackets).
2432   - Added "--compact-lists" and "--no-compact-lists" options.
2433   - Added "--embed-stylesheet" and "--link-stylesheet" options;
2434     factored out ``HTMLTranslator.get_stylesheet_reference()``.
2435   - Improved field list rendering.
2436   - Added Docutils version to "generator" meta tag.
2437   - Fixed a bug with images; they must be inline, so wrapped in <p>.
2438   - Improved layout of <pre> HTML source.
2439   - Fixed attribute typo on <colspec>.
2440   - Refined XML prologue.
2441   - Support for no stylesheet.
2442   - Removed "interpreted" element support.
2443   - Added support for "title_reference", "sidebar", "attribution",
2444     "rubric", and generic "admonition" elements.
2445   - Added "--attribution" option.
2446   - Added support for "inline", "subscript", "superscript" elements.
2447   - Added initial support for "abbreviation" and "acronym";
2448     incomplete.
2450 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2451   (from the sandbox).
2453   - Added french.
2454   - Double quotes in literal blocks (special treatment for de/ngerman).
2455   - Added '--hyperlink-color' option ('0' turns off coloring of links).
2456   - Added  "--attribution" option.
2457   - Right align attributions.
2459 * docutils/writers/pep_html.py:
2461   - Parameterized output encoding in PEP template.
2462   - Reworked substitutions from ``locals()`` into ``subs`` dict.
2463   - Redefined "--pep-stylesheet" as containing an invariant URL, used
2464     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
2465     working directory.
2466   - Added an override on the "--footnote-references" option.
2467   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2468   - Added Docutils version to "generator" meta tag.
2469   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2471 * docs/tools.txt:
2473   - Added a "silent" setting for ``buildhtml.py``.
2474   - Added a "Getting Help" section.
2475   - Rearranged the structure.
2476   - Kept up to date, with new settings, command-line options etc.
2477   - Added section for ``rst2latex.py`` (Engelbert Gruber).
2478   - Converted settings table into a definition list.
2480 * docs/rst/quickstart.txt:
2482   - Added a table of contents.
2483   - Added feedback information.
2484   - Added mention of minimum section title underline lengths.
2485   - Removed the 4-character minimum for section title underlines.
2487 * docs/rst/quickref.html:
2489   - Added a "Getting Help" section.
2490   - Added a style to make section title backlinks more subtle.
2491   - Added mention of minimum section title underline lengths.
2492   - Removed the 4-character minimum for section title underlines.
2494 * extras: Directory added to project; contains third-party modules
2495   that Docutils depends on (optparse, textwrap, roman).  These are
2496   only installed if they're not already present.
2498 * licenses: Directory added to project; contains copies of license
2499   files for non-public-domain files.
2501 * spec/doctree.txt:
2503   - Changed the focus.  It's about DTD elements:  structural
2504     relationships, semantics, and external (public) attributes.  Not
2505     about the element class library.
2506   - Moved some implementation-specific stuff into ``docutils.nodes``
2507     docstrings.
2508   - Wrote descriptions of all common attributes and parameter
2509     entities.  Filled in introductory material.
2510   - Working through the element descriptions: 55 down, 37 to go.
2511   - Removed "Representation of Horizontal Rules" to
2512     spec/rst/alternatives.txt.
2514 * spec/docutils.dtd:
2516   - Added "generated" inline element.
2517   - Added "line_block" body element.
2518   - Added "auto" attribute to "title".
2519   - Changed content models of "literal_block" and "doctest_block" to
2520     ``%text.model``.
2521   - Added ``%number;`` attribute type parameter entity.
2522   - Changed ``%structural.elements;`` to ``%section.elements``.
2523   - Updated attribute types; made more specific.
2524   - Added "address" bibliographic element.
2525   - Added "line" attribute to ``system_message`` element.
2526   - Removed "field_argument" element; "field_name" may contain
2527     multiple words and whitespace.
2528   - Changed public identifier to docutils.sf.net.
2529   - Removed "interpreted" element; added "title_reference",
2530     "abbreviation", "acronym".
2531   - Removed "refuri" attribute from "footnote_reference" and
2532     "citation_reference".
2533   - Added "sidebar", "rubric", "attribution", "admonition",
2534     "superscript", "subscript", and "inline" elements.
2536 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2538 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2540 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2542 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2543   Dallas Mahrt.
2545 * spec/transforms.txt: Added to project.
2547 * spec/howto: Added subdirectory, for developer how-to docs.
2549 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
2550   Elza, edited & extended by David Goodger.
2552 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
2553   project.
2555 * spec/rst/alternatives.txt:
2557   - Added "Doctree Representation of Transitions" from
2558     spec/doctree.txt.
2559   - Updated "Inline External Targets" & closed the debate.
2560   - Added ideas for interpreted text syntax extensions.
2561   - Added "Nested Inline Markup" section.
2563 * spec/rst/directives.txt:
2565   - Added directives: "topic", "sectnum", "target-notes",
2566     "line-block", "parsed-literal", "include", "replace", "sidebar",
2567     "admonition", "rubric", "epigraph", "highlights", "unicode" and
2568     "class".
2569   - Formalized descriptions of directive details.
2570   - Added an "align" attribute to the "image" & "figure" directives
2571     (by Adam Chodorowski).
2572   - Added "class" options to "topic", "sidebar", "line-block",
2573     "parsed-literal", "contents", and "image"; and "figclass" to
2574     "figure".
2576 * spec/rst/interpreted.txt: Added to project.  Descriptions of
2577   interpreted text roles.
2579 * spec/rst/introduction.txt:
2581   - Added pointers to material for new users.
2583 * spec/rst/reStructuredText.txt:
2585   - Disambiguated comments (just add a newline after the "::").
2586   - Updated enumerated list description; added a discussion of the
2587     second-line validity checking.
2588   - Updated directive description.
2589   - Added a note redirecting newbies to the user docs.
2590   - Expanded description of inline markup start-strings in non-markup
2591     contexts.
2592   - Removed field arguments and made field lists a generic construct.
2593   - Removed the 4-character minimum for section title underlines.
2594   - Clarified term/classifier delimiter & inline markup ambiguity
2595     (definition lists).
2596   - Added "Embedded URIs".
2597   - Updated "Interpreted Text" section.
2598   - Added "Character-Level Inline Markup" section.
2600 * test: Continually adding & updating tests.
2602   - Moved test/test_rst/ to test/test_parsers/test_rst/.
2603   - Moved test/test_pep/ to test/test_readers/test_pep/.
2604   - Added test/test_readers/test_python/.
2605   - Added test/test_writers/ (Engelbert Gruber).
2607 * tools:
2609   - Made the ``locale.setlocale()`` calls in front ends
2610     fault-tolerant.
2612 * tools/buildhtml.py:
2614   - Added "--silent" option.
2615   - Fixed bug with absolute paths & "--config".
2616   - Updated for new I/O classes.
2617   - Added some exception handling.
2618   - Separated publishers' setting defaults; prevents interference.
2619   - Updated for new ``publish_file()`` convenience function.
2621 * tools/pep-html-template:
2623   - Allow for "--embed-stylesheet".
2624   - Added Docutils version to "generator" meta tag.
2625   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2626   - Conform to XHTML spec.
2628 * tools/pep2html.py:
2630   - Made ``argv`` a parameter to ``main()``.
2631   - Added support for "Content-Type:" header & arbitrary PEP formats.
2632   - Linked "Content-Type: text/plain" to PEP 9.
2633   - Files skipped (due to an error) are not pushed onto the server.
2634   - Updated for new I/O classes.
2635   - Added ``check_requirements()`` & ``pep_type_error()``.
2636   - Added some exception handling.
2637   - Updated for new ``publish_string()`` convenience function.
2638   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2640 * tools/quicktest.py:
2642   - Added "-V"/"--version" option.
2644 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2646 * tools/unicode2rstsubs.py: Added to project.  Produces character
2647   entity files (reSructuredText substitutions) from the MathML master
2648   unicode.xml file.
2650 * tools/editors: Support code for editors, added to project.  Contains
2651   ``emacs/restructuredtext.el``.
2653 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2655   - Added style for chunks of inline literals.
2656   - Removed margin for first child of table cells.
2657   - Right-aligned field list names.
2658   - Support for auto-numbered section titles in TOCs.
2659   - Increased the size of inline literals (<tt>) in titles.
2660   - Restored the light gray background for inline literals.
2661   - Added support for "line_block" elements.
2662   - Added style for "address" elements.
2663   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2664   - Improved field list rendering.
2665   - Vertical whitespace improvements.
2666   - Removed "a.target" style.
2668 * tools/stylesheets/pep.css:
2670   - Fixed nested section margins.
2671   - Other changes parallel those of ``../default.css``.
2674 Release 0.2 (2002-07-31)
2675 ========================
2677 General:
2679 - The word "component" was being used ambiguously.  From now on,
2680   "component" will be used to mean "Docutils component", as in Reader,
2681   Writer, Parser, or Transform.  Portions of documents (Table of
2682   Contents, sections, etc.)  will be called "document parts".
2683 - Did a grand renaming: a lot of ``verylongnames`` became
2684   ``very_long_names``.
2685 - Cleaned up imports: no more relative package imports or
2686   comma-separated lists of top-level modules.
2687 - Added support for an option values object which carries default
2688   settings and overrides (from command-line options and library use).
2689 - Added internal Unicode support, and support for both input and
2690   output encodings.
2691 - Added support for the ``docutils.io.IO`` class & subclasses.
2693 Specific:
2695 * docutils/__init__.py:
2697   - Added ``ApplicationError`` and ``DataError``, for use throughout
2698     the package.
2699   - Added ``Component`` base class for Docutils components; implements
2700     the ``supports`` method.
2701   - Added ``__version__`` (thus, ``docutils.__version__``).
2703 * docutils/core.py:
2705   - Removed many keyword parameters to ``Publisher.__init__()`` and
2706     ``publish()``; bundled into an option values object.  Added
2707     "argv", "usage", "description", and "option_spec" parameters for
2708     command-line support.
2709   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2710     methods.
2711   - Reworked I/O model for ``docutils.io`` wrappers.
2712   - Updated ``Publisher.set_options()``; now returns option values
2713     object.
2714   - Added support for configuration files (/etc/docutils.conf,
2715     ./docutils.conf, ~/.docutils).
2716   - Added ``Publisher.setup_option_parser()``.
2717   - Added default usage message and description.
2719 * docutils/frontend.py: Added to project; support for front-end
2720   (command-line) scripts.  Option specifications may be augmented by
2721   components.  Requires Optik (http://optik.sf.net/) for option
2722   processing (installed locally as docutils/optik.py).
2724 * docutils/io.py: Added to project; uniform API for a variety of input
2725   output mechanisms.
2727 * docutils/nodes.py:
2729   - Added ``TreeCopyVisitor`` class.
2730   - Added a ``copy`` method to ``Node`` and subclasses.
2731   - Added a ``SkipDeparture`` exception for visitors.
2732   - Renamed ``TreePruningException`` from ``VisitorException``.
2733   - Added docstrings to ``TreePruningException``, subclasses, and
2734     ``Nodes.walk()``.
2735   - Improved docstrings.
2736   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2737   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2738     imports.
2739   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2740     ``PreDecorative`` mixin.
2741   - Reworked the name/id bookkeeping; to ``document``, removed
2742     ``explicit_targets`` and ``implicit_targets`` attributes, added
2743     ``nametypes`` attribute and ``set_name_id_map`` method.
2744   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2745     traversals.
2746   - Added ``document.has_name()`` method.
2747   - Fixed DOM generation for list-attributes.
2748   - Added category class ``Labeled`` (used by footnotes & citations).
2749   - Added ``Element.set_class()`` method (sets "class" attribute).
2751 * docutils/optik.py: Added to project.  Combined from the Optik
2752   package, with added option groups and other modifications.  The use
2753   of this module is probably only temporary.
2755 * docutils/statemachine.py:
2757   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2758   - Added underscores to improve many awkward names.
2759   - In ``string2lines()``, changed whitespace normalizing translation
2760     table to regexp; restores Python 2.0 compatibility with Unicode.
2762 * docutils/urischemes.py:
2764   - Filled in some descriptions.
2765   - Added "shttp" scheme.
2767 * docutils/utils.py:
2769   - Added ``clean_rcs_keywords`` function (moved from
2770     docutils/transforms/frontmatter.py
2771     ``DocInfo.filter_rcs_keywords``).
2772   - Added underscores to improve many awkward names.
2773   - Changed names of Reporter's thresholds:
2774     warning_level -> report_level; error_level -> halt_level.
2775   - Moved ``utils.id()`` to ``nodes.make_id()``.
2776   - Added ``relative_path(source, target)``.
2778 * docutils/languages/de.py: German mappings; added to project.  Thanks
2779   to Gunnar Schwant for the translations.
2781 * docutils/languages/en.py: Added "Dedication" bibliographic field
2782   mappings.
2784 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2785   Chodorowski.
2787 * docutils/parsers/rst/states.py:
2789   - Added underscores to improve many awkward names.
2790   - Added RFC-2822 header support.
2791   - Extracted the inline parsing code from ``RSTState`` to a separate
2792     class, ``Inliner``, which will allow easy subclassing.
2793   - Made local bindings for ``memo`` container & often-used contents
2794     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2795   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2796   - Added ``MarkupMismatch`` exception; for late corrections.
2797   - Added ``-/:`` characters to inline markup's start string prefix,
2798     ``/`` to end string suffix.
2799   - Fixed a footnote bug.
2800   - Fixed a bug with literal blocks.
2801   - Applied patch from Simon Budig: simplified regexps with symbolic
2802     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2803   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2804   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2805   - Allowed non-ASCII in "simple names" (directive names, field names,
2806     references, etc.).
2807   - Converted ``Inliner.patterns.initial`` to be dynamically built
2808     from parts with ``build_regexp()`` function.
2809   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2810   - Updated docstrings.
2811   - Changed "table" to "grid_table"; added "simple_table" support.
2813 * docutils/parsers/rst/tableparser.py:
2815   - Changed ``TableParser`` to ``GridTableParser``.
2816   - Added ``SimpleTableParser``.
2817   - Refactored naming.
2819 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2820   a fallback language for directive names.
2822 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2823   directive to use a ``pending`` element, used only by HTML writers.
2825 * docutils/parsers/rst/directives/parts.py: Renamed from
2826   components.py.
2828   - Added "backlinks" attribute to "contents" directive.
2830 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2831   project by Adam Chodorowski.
2833 * docutils/readers/__init__.py: Gave Readers more control over
2834   choosing and instantiating Parsers.
2836 * docutils/readers/pep.py: Added to project; for PEP processing.
2838 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2839   requires a ``component`` parameter.
2841 * docutils/transforms/components.py: Added to project; transforms
2842   related to Docutils components.
2844 * docutils/transforms/frontmatter.py:
2846   - In ``DocInfo.extract_authors``, check for a single "author" in an
2847     "authors" group, and convert it to a single "author" element.
2848   - Added support for "Dedication" and generic bibliographic fields.
2850 * docutils/transforms/peps.py: Added to project; PEP-specific.
2852 * docutils/transforms/parts.py: Renamed from old components.py.
2854   - Added filter for `Contents`, to use alt-text for inline images,
2855     and to remove inline markup that doesn't make sense in the ToC.
2856   - Added "name" attribute to TOC topic depending on its title.
2857   - Added support for optional TOC backlinks.
2859 * docutils/transforms/references.py: Fixed indirect target resolution
2860   in ``Hyperlinks`` transform.
2862 * docutils/transforms/universal.py:
2864   - Changed ``Messages`` transform to properly filter out system
2865     messages below the warning threshold.
2866   - Added ``Decorations`` transform (support for ``--generator``,
2867     ``--date``, ``--time``, ``--source-link`` options).
2869 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2870   Engelbert Gruber's PDF writer.
2872 * docutils/writers/html4css1.py:
2874   - Made XHTML-compatible (switched to lowercase element & attribute
2875     names; empty tag format).
2876   - Escape double-dashes in comment text.
2877   - Improved boilerplate & modularity of output.
2878   - Exposed modular output in Writer class.
2879   - Added a "generator" meta tag to <head>.
2880   - Added support for the ``--stylesheet`` option.
2881   - Added support for ``decoration``, ``header``, and ``footer``
2882     elements.
2883   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2884     translation table to regexp; restores Python 2.0 compatibility
2885     with Unicode.
2886   - Added the translator class as instance variable to the Writer, to
2887     make it easily subclassable.
2888   - Improved option list spacing (thanks to Richard Jones).
2889   - Modified field list output.
2890   - Added backlinks to footnotes & citations.
2891   - Added percentage widths to "<col>" tags (from colspec).
2892   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2893     "<span>" changed to "<var>".
2894   - Inline literals: "<code>" changed to "<tt>".
2895   - Many changes to optimize vertical space: compact simple lists etc.
2896   - Add a command-line options & directive attributes to control TOC
2897     and footnote/citation backlinks.
2898   - Added support for optional footnote/citation backlinks.
2899   - Added support for generic bibliographic fields.
2900   - Identify backrefs.
2901   - Relative URLs for stylesheet links.
2903 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2904   PEPs (subclass of ``html4css1.Writer``).
2906 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2908 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2909   of the Docutils internal doctree in XML.
2911 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2913 * spec/doctree.txt:
2915   - Changed the title to "The Docutils Document Tree".
2916   - Added "Hyperlink Bookkeeping" section.
2918 * spec/docutils.dtd:
2920   - Added ``decoration``, ``header``, and ``footer`` elements.
2921   - Brought ``interpreted`` element in line with the parser: changed
2922     attribute "type" to "role", added "position".
2923   - Added support for generic bibliographic fields.
2925 * spec/notes.txt: Continual updates.  Added "Project Policies".
2927 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
2928   section.
2930 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2932 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
2933   mailing list discussions.
2935 * spec/pep-0287.txt:
2937   - Renamed to "reStructuredText Docstring Format".
2938   - Minor edits.
2939   - Reworked Q&A as an enumerated list.
2940   - Converted to reStructuredText format.
2942 * spec/pysource.dtd:
2944   - Reworked structural elements, incorporating ideas from Tony Ibbs.
2946 * spec/pysource.txt: Removed from project.  Moved much of its contents
2947   to pep-0258.txt.
2949 * spec/rst/alternatives.txt:
2951   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2952   - Added "Inline External Targets" section.
2954 * spec/rst/directives.txt:
2956   - Added "backlinks" attribute to "contents" directive.
2958 * spec/rst/problems.txt:
2960   - Updated the Enumerated List Markup discussion.
2961   - Added new alternative table markup syntaxes.
2963 * spec/rst/reStructuredText.txt:
2965   - Clarified field list usage.
2966   - Updated enumerated list description.
2967   - Clarified purpose of directives.
2968   - Added ``-/:`` characters to inline markup's start string prefix,
2969     ``/`` to end string suffix.
2970   - Updated "Authors" bibliographic field behavior.
2971   - Changed "inline hyperlink targets" to "inline internal targets".
2972   - Added "simple table" syntax to supplement the existing but
2973     newly-renamed "grid tables".
2974   - Added cautions for anonymous hyperlink use.
2975   - Added "Dedication" and generic bibliographic fields.
2977 * test: Made test modules standalone (subdirectories became packages).
2979 * test/DocutilsTestSupport.py:
2981   - Added support for PEP extensions to reStructuredText.
2982   - Added support for simple tables.
2983   - Refactored naming.
2985 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2987   - Now supports true packages containing test modules
2988     (``__init__.py`` files required); fixes duplicate module name bug.
2990 * test/test_pep/: Subpackage added to project; PEP testing.
2992 * test/test_rst/test_SimpleTableParser.py: Added to project.
2994 * tools:
2996   - Updated html.py and publish.py front-end tools to use the new
2997     command-line processing facilities of ``docutils.frontend``
2998     (exposed in ``docutils.core.Publisher``), reducing each to just a
2999     few lines of code.
3000   - Added ``locale.setlocale()`` calls to front-end tools.
3002 * tools/buildhtml.py: Added to project; batch-generates .html from all
3003   the .txt files in directories and subdirectories.
3005 * tools/default.css:
3007   - Added support for ``header`` and ``footer`` elements.
3008   - Added styles for "Dedication" topics (biblio fields).
3010 * tools/docutils.conf: A configuration file; added to project.
3012 * tools/docutils-xml.py: Added to project.
3014 * tools/pep.py: Added to project; PEP to HTML front-end tool.
3016 * tools/pep-html-template: Added to project.
3018 * tools/pep2html.py: Added to project from Python (nondist/peps).
3019   Added support for Docutils (reStructuredText PEPs).
3021 * tools/quicktest.py:
3023   - Added the ``--attributes`` option, hacked a bit.
3024   - Added a second command-line argument (output file); cleaned up.
3026 * tools/stylesheets/: Subdirectory added to project.
3028 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
3031 Release 0.1 (2002-04-20)
3032 ========================
3034 This is the first release of Docutils, merged from the now inactive
3035 reStructuredText__ and `Docstring Processing System`__ projects.  For
3036 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
3037 `DPS HISTORY`__ files.
3039 __ http://structuredtext.sourceforge.net/
3040 __ http://docstring.sourceforge.net/
3041 __ http://structuredtext.sourceforge.net/HISTORY.html
3042 __ http://docstring.sourceforge.net/HISTORY.html
3044 General changes: renamed 'dps' package to 'docutils'; renamed
3045 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
3046 the test suites (reStructuredText's test/test_states renamed to
3047 test/test_rst); and all modifications required to make it all work.
3049 * docutils/parsers/rst/states.py:
3051   - Improved diagnostic system messages for missing blank lines.
3052   - Fixed substitution_reference bug.
3056    Local Variables:
3057    mode: indented-text
3058    indent-tabs-mode: nil
3059    sentence-end-double-space: t
3060    fill-column: 70
3061    End: