link to pure-python wheels
[docutils.git] / HISTORY.txt
blob1bb5a7a26bb2caaebd1b5773bd5a2a07f9f9e89e
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).
37 * docutils/writers/html_base/
39   - New HTML writer generating basic HTML (`polyglot markup`_ conforming to
40     both, `HTML 5`_ and `XHTML 1.0`_ (transitional)).
42     New stylesheet ``html-base.css`` for default layout using CSS 2.1 rules.
44     Also base for the `xhtml11` writer.
46 * docutils/writers/html4css1/__init__.py
48   - Add "docutils" to class values for "container" object to address [ 267 ].
49   - Apply patch [ 119 ] by Anatoly Techtonik: use absolute paths for
50     ``default_stylesheet_path`` and ``default_template_path``.
51   - Fix [ 266 ] creating labels/class values in description list items.
52   - Do not use <sup> and <sub> tags inside <pre> (parsed-literal blocks).
54 * docutils/writers/latex2e/__init__.py
56   - Fix [ 262 ] Use ``\linewidth`` instead of ``\textwidth`` for figures,
57     admonitions and docinfo.
59   - Use absolute path for ``default_template_path``.
61   - Removed deprecated options ``--use-latex-footnotes`` and
62     ``--figure-footnotes``.
64   - Cleaner LaTeX code for enumerations and literal blocks.
66   - Use "hyperref" package together with "bookmark" (improved hyperlinking
67     by the same author).
69 * docutils/writers/odf_odt/__init__.py
71   - remove decode.encode of filename stored in zip.
73 * docutils/writers/xetex/__init__.py
75   - LuaLaTex compatibility: do not load "xunicode".
77 * docutils/writers/xhtml11/
79   - New HTML writer generating `XHTML 1.1`_ styled with CSS2.1
80     Moved to the docutils core from sandbox/html4strict.
83 * tools/
85   - New front-ends ``rst2xhtml.py`` and ``rst2html5.py`` for the
86     corresponding writers.
88 .. _polyglot markup: http://www.w3.org/TR/html-polyglot/
89 .. _HTML 5: http://www.w3.org/TR/html5/
90 .. _XHTML 1.0: http://www.w3.org/TR/xhtml1/
91 .. _XHTML 1.1: http://www.w3.org/TR/xhtml11/
94 Release 0.12 (2014-07-06)
95 =========================
97 * docs/ref/rst/directives.txt
99   - Update "math" and "csv-table" descriptions.
101 * docutils/parsers/rst/directives/images.py
103   - Fix [ 258 ] figwidth="image" generates unitless width value.
105 * docutils/parsers/rst/states.py
107   - Improve error report when a non-ASCII character is specified as
108     delimiter, quote or escape character under Python 2.
109     Fixes [ 249 ] and [ 250 ].
111 * docutils/writers/html4css1/__init__.py
113   - Don't add newline after inline math.
114     Thanks to Yury G. Kudryashov for the patch.
116 * docutils/writers/latex2e/__init__.py
118   - Fix [ 239 ] Latex writer glues paragraphs with figure floats.
119   - Apply [ 116 ] by Kirill Smelkov. Don't hardcode \large for subtitle.
121 * docutils/writers/odf_odt/__init__.py
123   - Apply patch by Jakub Wilk to fix bug [ 100 ].
125 * test/test_error_reporting.py
127   - Fix [ 223 ] by removing redundant tests we do not have control over.
129 * test/test_nodes.py
131   - Apply [ 115 ] respect fixed 2to3 string literal conversion behavior.
133 Release 0.11 (2013-07-22)
134 =========================
136 * General
138   - Apply [ 2714873 ] Fix for the overwritting of document attributes.
139   - Support embedded aliases within hyperlink references.
140   - Fix [ 228 ] try local import of docutils components (reader, writer, parser,
141     language module) before global search.
143 * docutils/nodes.py
145   - Fix [ 3601607 ] node.__repr__() must return `str` instance.
147 * docutils/parsers/rst/directives/__init__.py
149   - Fix [ 3606028 ] ``assert`` is skipped with ``python -O``.
151 * docutils/parsers/rst/directives/images.py
153   - Apply [ 3599485 ] node source/line information for sphinx translation.
155 * docutils/parsers/rst/directives/tables.py
157   - Fix [ 210 ] Python 3.3 checks CVS syntax only if "strict" is True.
159 * docutils/parsers/rst/states.py
161   - Fix [ 157 ] Line block parsing doesn't like system message.
162   - Always import our local copy of roman.py (report Larry Hastings).
164 * docutils/transforms/references.py
166   - Fix [ 3607029 ] traceback with embedded alias pointing to missing target.
168 * docutils/utils/__init__.py
170   - Fix [ 3596884 ] exception importing ``docutils.io``.
172 * docutils/writers/html4css1/__init__.py
174   - Fix [ 3600051 ] for tables in a list, table cells are not compacted.
175   - New setting `stylesheet_dirs`: Comma-separated list of directories
176     where stylesheets are found. Used by `stylesheet_path` when expanding
177     relative path arguments.
178   - New default for math-output_: ``HTML math.css``.
179   - Avoid repeated class declarations in html4css1 writer
180     (modified version of patch [ 104 ]).
182 .. _math-output: docs/user/config.html#math-output
184 * docutils/writers/latex2e/__init__.py
186   - Drop the simple algorithm replacing straight double quotes with
187     English typographic ones.
188     Activate the SmartQuotes_ transform if you want this feature.
189   - Fix literal use of babel shorthands (straight quote, tilde, ...).
190   - Fix [ 3603246 ] Bug in option "--graphicx-option=auto".
191   - New setting `stylesheet_dirs`.
193 .. _SmartQuotes: docs/user/config.html#smart-quotes
195 * docutils/writers/manpage.py
197   - Fix [3607063] handle lines starting with a period.
198   - Fix option separating comma was bold (thanks to Bill Morris).
200 Release 0.10 (2012-12-16)
201 =========================
203 * General
205   - Dropped support for Python 2.3.
206   - ``docutils/math``, ``docutils/error_reporting.py``, and
207     ``docutils/urischemes.py`` moved to the utils package.
208   - Fix [3541369] Relative __import__ also with Python 3.3.
209   - Fix [3559988] and [3560841] __import__ local writer, reader, languages
210     and parsers for Python 2.7 up.
211   - Fix import of PIL.Image.
212   - Change default of "syntax highlight" option to "long",
213     basic syntax highlight styles for LaTeX and HTML.
215 * docutils/io.py
217   - FileInput/FileOutput: no system-exit on IOError.  The `handle_io_errors`
218     option is ignored and will be removed in a future release.
219   - Fix Py3k error writing to stdout with encoding differing from default.
220   - Fix opening binary files under Py3k (thanks to Dominic Fitzpatrick).
222 * docutils/parsers/rst/directives/misc.py
224   - Fix [ 3546533 ] Unicode error with `date` directive.
226 * docutils/transforms/universal.py
228   - SmartQuotes transform for typographic quotes and dashes.
230 * docutils/utils/__init__.py
232   - normalize_language_tag() now returns `BCP 47`_ conformant tags
233     with subtags separated by ``-``.
235 * docutils/writers/html4css1/__init__.py
237   - Use ``<code>`` tag for inline "code",
238     do not drop nested inline nodes (syntax highlight tokens).
239   - Customizable MathJax URL (based on patch by Dmitry Shachnev).
240   - No line break after opening inline math tag.
242 * docutils/writers/manpage.py
244   - Apply [ 3527401 ] addmonition's don't preserve indentation
245   - Apply [ 3527397 ] Add indentation to literal blocks in manpage writer.
247 * docutils/writers/xetex/__init__.py
249   - Apply [ 3555160 ] ensure order of "otherlanguages".
250   - Fix section numbering by LaTeX.
252 * docutils/writers/s5_html/__init__.py
254   - Fix [ 3556388 ] Mathjax does not work with rst2s5.
256 * docutils/writers/s5_html/docutils_xml.py
258   - Fix [ 3552403 ] Prevent broken PyXML replacing stdlibs xml module.
260 * setup.py
262   - Tag ``math.css`` stylesheet as data file (patch by Dmitry Shachnev).
264 * tools/test/test_buildhtml.py
266   - Fix [ 3521167 ] allow running in any directory.
267   - Fix [ 3521168 ] allow running with Python 3.
270 Release 0.9.1 (2012-06-17)
271 ==========================
273 * setup.py
275   - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
276     installed in the PYTHONPATH. Converted tests are now
277     stored in ``test3/``, tools no longer need conversion.
279     If you installed one of Docutils versions 0.7 ... 0.9 with
280     ``setup.py install`` under Python 3, remove the spurious
281     ``test/`` and ``tools/`` directories in the site library root.
283 * test/
285   - Make tests independent from the location of the ``test/`` directory.
286   - Use converted sources (from the ``build/`` directory) for tests under
287     Python 3.
289 * tools/
291   - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
293 * docutils/io.py
295   - Fix writing binary data to sys.stdout under Python 3 (allows
296     ``rst2odt.py`` to be used with output redirection).
298 * docutils/parsers/rst/directives/misc.py
300   - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
301     ``locale == C`` and 8-bit char in path argument of `include` directive.
303 * test/alltests.py
305   - class `Tee`: catch UnicodeError when writing to "ascii" stream or
306     file under Python 3.
308 Release 0.9 (2012-05-02)
309 ========================
311 * General:
313   - New reStructuredText "code" role and directive and "code" option
314     of the "include" directive with syntax highlighting by Pygments_.
315   - Fix parse_option_marker for option arguments containing ``=``.
316   - Fix [ 2993756 ]: import Python Imaging Library's Image module
317     via ``import PIL`` as starting with PIL 1.2,
318     "PIL lives in the PIL namespace only" (announcement__).
320 .. _Pygments: http://pygments.org/
321 __ http://mail.python.org/pipermail/image-sig/2011-January/006650.html
323 * setup.py
325   - Fix [ 2971827 ] and [ 3442827 ]
326     extras/roman.py moved to docutils/utils/roman.py
328 * docutils/frontend.py
330   - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
332 * docutils/io.py
334   - Fix [ 3395948 ] (Work around encoding problems in Py3k).
335   - `mode` argument for FileOutput avoids code replication in
336     BinaryFileOutput.
337   - New exceptions InputError and OutputError for IO errors in
338     FileInput/FileOutput.
340 * docutils/core.py:
342   - No "hard" system exit on file IO errors: catch and report them in
343     `Publisher.reportException` instead. Allows handling by a calling
344     application if the configuration setting `traceback` is True.
346 * docutils/utils.py -> docutils/utils/__init__.py
348   - docutils.utils is now a package (providing a place for sub-modules)
350   .. note:: docutils/math, docutils/error_reporting.py, and
351      docutils/urischemes.py will move to the utils package in the next
352      release, too. See RELEASE-NOTES__
354      __ RELEASE-NOTES.html
356   - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
357     errors recording non-ASCII filenames (fixes [ 3434355 ]).
359   - Fix relative_path() with source=None and `unicode` target.
361 * docutils/parsers/rst/states.py
363   - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
364     characters and "international" quotes around inline markup.
365   - Use `field_marker` pattern to look for start of a
366     directive option block (fixes [ 3484857 ]).
368 * docutils/parsers/rst/tableparser.py
370   - Fix [ 2926161 ] for simple tables.
371     (Combining chars in grid tables still contribute to cell width.)
373 * docutils/writers/latex2e/__init__.py
375   - Support the `abbreviation` and `acronym` standard roles.
376   - Record only files required to generate the LaTeX source as dependencies.
377   - Fix handling of missing stylesheets.
378   - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
379     when suppressing LaTeX section numbering.
380   - Use ``\DUtitle`` for unsupported section levels
381   - Apply [ 3512791 ] do not compare string literals with "is"
383 * docutils/writers/xetex/__init__.py
385   - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
387 * docutils/writers/html4css1/__init__.py
389   - Change default for `math-output` setting to MathJax.
390   - Fix handling of missing stylesheets.
392 * docutils/writers/docutils_xml.py
394   - Use the visitor pattern with default_visit()/default_depart() methods
395     instead of minidom to facilitate special handling of selected nodes.
396   - Support raw XML (inserted as-is inside a <raw></raw> node).
398 * docutils/writers/manpage.py
400   - Do not emit comment line with trailing blank. Problematic for VCS.
402 Release 0.8.1 (2011-08-30)
403 ==========================
405 * General:
407   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
408     and [ 3395920 ] (correct copyright info for rst.el).
410 * test/
412   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
414 * docutils/writers/latex2e/__init__.py
416   - Clean up Babel language setting. Restores Sphinx compatibility.
418 Release 0.8 (2011-07-07)
419 ========================
421 * General:
423   - Handle language codes according to `BCP 47`_.
424   - If the specified language is not supported by Docutils,
425     warn and fall back to English.
426   - Math support: reStructuredText "math" role and directive,
427     ``math`` and ``math_block`` doctree elements.
428   - Decode command line arguments with the locale's preferred encoding
429     (to allow, e.g., ``--title=Dornröschen``).
430   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
431   - New sub-module `error_reporting`: handle encoding/decoding errors
432     when reporting exceptions.
433   - Some additions to the Docutils core are released under the 2-Clause BSD
434     license, see COPYING_ for details.
436   .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
437   .. _COPYING: COPYING.html
439 * reStructuredText:
441   - Most directives now support a "name" option that attaches a
442     reference name.
444   - Directive content may start on the first line also when the directive
445     type accepts options.
447 * docs/dev/policies.txt:
449   - Recommend the 2-Clause BSD license
450     (http://www.spdx.org/licenses/BSD-2-Clause)
451     for code that is kept under the author's copyright.
453 * tools/buildhtml.py:
455   - Fix ``--local`` switch.
457 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
459 * docutils/writers/html4css1/__init__.py
461   - Set "lang" argument for objects with class argument
462     "language-<language tag>".
463   - New setting "math-output" with support for HTML, MathML, and LaTeX.
465 * docutils/writers/latex2e/__init__.py
467   - Fix [ 3043986 ] AttributeError using :local: with table of content.
468   - Place title data in the document preamble.
469   - Load `babel` package only if required.
470   - Update list of supported languages.
471   - New config setting "hyperref-options".
472     No hard-coded "unicode" hyperref option (clash with xetex).
473   - Set language for custom roles, paragraphs, block-quotes, and
474     line-quotes with class argument "language-<language tag>".
475   - Fix [ 3095603 ] wrong quotes output for russian and other languages.
476   - Convert image URI to a local file path.
477   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
478     has more than one paragraph (Wolfgang Scherer).
479   - \leavevmode before longtable only when needed (prevents spurious vspace)
480   - do not advance table counter for tables without caption
482 * docutils/writers/xetex/__init__.py
484   - New writer generating LaTeX code for compiling with ``xelatex``.
486     A separate writer (inheriting from latex2e) instead of a ``--xetex``
487     option allows separate config options for XeTeX vs. LaTeX2e.
489 * docutils/writers/manpage.py
491   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
492   - Fix: vertical space cleaning for option group ``.``.
494 * tools/editors/emacs/rst.el:
496   - Fix [ 3001100 ] does not handle spaces in filenames
497     (thanks to Jakub Wilk)
499 * docutils/utils.py:
501   - strip whitespace from stylesheet arguments
502   - exclude combining chars from column_width()
503     (partial fix for [ 2926161 ])
505 * docutils/parsers/rst/directives/misc.py:
507   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
508     nested_parse
510 * docutils/io.py:
512   - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
513     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
515 Release 0.7 (2010-07-07)
516 ========================
518 * General:
520   - Fix [ 2881769 ] setup configuration.
521   - Fix [ 2788716 ] reporting problems in included files.
523 * docutils/io.py
525   - FileInput opens files as text files with universal newline support
526     (mode "rU", configurable with the new optional argument "mode").
528 * docutils/nodes.py
530   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
532 * docutils/utils.py
534   - Fix [ 2923723 ] let decode_path() tolerate path == None
536 * docutils/writers/html4css1/__init__.py
538   - Support SVG and SWF images (thanks to Stefan Rank).
539   - Generate valid XHTML for centered images with targets.
540     Use CSS classes instead of "align" tags for image alignment.
542 * docutils/writers/latex2e/__init__.py
544   - Use `transforms.writer_aux.Admonitions` to "normalize" special
545     admonitions.
546   - Use the ``\url`` command for URLs (breaks long URLs instead of
547     writing into the margin).
548   - Preserve runs of spaces in `inline literals`__.
549   - Deprecate ``figure_footnotes`` setting.
550   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
551   - New ``latex_preamble`` setting.
552   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
553   - Fix hyperlink targets (labels) for images, figures, and tables.
554   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
555   - Apply [ 2961991 ] Call hyperref with unicode option.
556   - Drop the special `output_encoding`__ default ("latin-1").
557     The Docutils wide default (usually "UTF-8") is used instead.
558   - Render inline markup in document title and subtitle.
559   - Fix numbering depth with LaTeX section numbering.
560   - Update Unicode -> LaTeX translations.
561   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
563 __ docs/ref/restructuredtext.html#inline-literals
564 __ docs/user/config.html#docutils-footnotes
565 __ docs/user/config.html#output_encoding
567 * docutils/writers/manpage.py
569   - Fix: supported attribute (thanks to peter2108).
570   - Remove trailing blanks in code (keep in sync with mercurial version).
571   - Titles level 1, that is ``.SH``, always uppercase.
572   - Apply patch from mg: literal text should be bold in man-pages.
574 * docutils/nodes.py
576   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
577     turkish locale.
579 * setup.py:
581   - Python 3 support: copy test/ and tools/ to the build-dir
582     and convert Python sources with 2to3.
585 Release 0.6 (2009-10-11)
586 ========================
588 * General:
590   - Docutils is now compatible with Python versions from 2.3 up to 2.6
591     and convertible to 3.1 code.
593     + Node.__nonzero__ returns True instead of 1.
594     + use os.walk instead os.path.walk.
595     + minimize "types" module where possible.
596     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
597     + Text nodes now subclass unicode rather than UserString
598       (which is gone in python 3.0).
599     + 3.0 compatibility module docutils._compat
601     + Drop 2.2 compatibility workarounds.
602     + Drop extras/optparse.py and extras/textwrap.py
603       (stdlib modules since 2.3).
605   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
606   - Unix man page export: manpage writer moved from sandbox to Doctutils
607     core.
609   - Apply [ 1719345 ] Galician translation
610   - Apply [ 1905741 ] Polish translation
611   - Apply [ 1878977 ] make_id(): deaccent characters.
612   - Apply [ 2029251 ] return nonzero when tests fail.
613   - Fix [ 1692788 ] allow UTF-8 in style sheets.
614   - Fix [ 2781629 ] support non-ASCII chars in file names.
615   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
616   - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
617   - Fix [ 2821266 ] --strict option works now like --halt=info.
618   - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
619   - Fix [ 1627229 ] hyperlink references in substitutions.
621   - The "newlatex" writer is orphaned.
623 * reStructuredText:
625   - Documented Unicode characters allowed as inline markup openers,
626     closers, and delimiters.
627   - Allow units for all length specifications.
628   - Allow percent sign in "scale" argument of "figure" and "image" directives.
629   - Bugfix: The "figalign" argument of a figure now works as intended
630     (aligning the figure, not its contents).
631   - Align images with class "align-[right|center|left]"
632     (allows setting the alignment of an image in a figure).
634 * docutils/nodes.py:
636   - Added ``Element.__contains__`` method, for the in-operator.
638 * docutils/parsers/rst/states.py:
640   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
641   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
642     " " (non-breaking space), and "¡ ¿" openers.
644 * docutils/parsers/directives/misc.py:
646   - Added ``start-line`` and ``end-line`` options to "include"
647     directive to select a range of lines.
648   - Hard tabs in literal inclusions are replaced by spaces. This is
649     configurable via the new ``tab-width`` option of the "include" directive
650     (a negative tab-width prevents tab expansion).
652 * docutils/utils.py:
654   - Add ``get_stylesheet_list`` function.
655   - Apply [ 2834836 ] print info at halt
657 * docutils/transforms/universal.py:
659   - Raise default priority of StripClasses to exclude stripped classes from
660     the ToC.
662 * docutils/writers/html4css1/__init__.py:
664   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
665     separated list of stylesheets.
666   - Address [ 1938891 ] Inline literal text creates "pre" span only when
667     needed to prevent inter-word line wraps.
668   - Use `translate` method instead of repeated `replace` calls.
669   - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
670     classes to allow CSS styling that does not interfere with other
671     table-using constructs (field lists, citations, ...).
673 * docutils/writers/newlatex2e/__init__.py:
675   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
677 * docutils/writers/latex2e/__init__.py (see also
678   `<docs/user/docutils-05-compat.sty.html>`__) :
680   - Add ``--embed-stylesheet`` option.
681   - Apply [ 1474017 ] image vertical alignment is reversed.
682   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
683   - Change: has_key for dictionaries (not Nodes) to in-operator.
684   - Merge adjacent citations into one latex cite command.
685   - Failsave implementation of custom roles. LaTeX compilation now ignores
686     unknown classes instead of aborting with an error.
687   - Support custom roles based on standard roles.
688   - LaTeX packages can be used as ``--stylesheet`` arguments without
689     restriction. (A style sheet is now referenced with the ``\usepackage``
690     command, if it ends with ``.sty`` or has no extension.)
691   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
692   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
693   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
694     2005-02-04 as a configurable length unit).
695   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
696     if font-encoding is set to ''. LaTeX defaults to OT1 then.
697   - Set sub- and superscript role argument in text mode not as math.
698     Use a custom role based on sub-/superscript if you want italic shape.
699   - Shorter preamble and less dependencies: Load packages and define macros
700     only if required in the document.
701   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
702   - New custom environments and commands with optional "classes" argument.
703   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
704   - Better conformance to Docutils specifications with ``--use-latex-toc``.
705     Support for LaTeX generated ToC also with unnumbered sections.
706   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
707     section numbering by LaTeX.
708   - Use default font in admonitions and sidebar.
709   - Align of image in a figure defaults to 'center'.
710   - Bugfix: Newlines around targets and references prevent run-together
711     paragraphs.
712   - Fix internal hyperlinks.
713   - Use class defaults for page margins ('typearea' now optional).
714   - Float placement made configurable, default changed to "here definitely".
715   - Typeset generic topic as "quote block with title".
716   - Use template (file and configuration option).
717   - In the default template, load cmap.sty (fix text extraction in PDF) and
718     fixltx2e.sty (LaTeX patches, \textsubscript).
719   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
720   - Use `translate` instead of repeated `replace` calls for text encoding.
721   - Hyperlinked footnotes and support for symbol footnotes and
722     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
723   - Complete pairs of binary options
724     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
725     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
726   - New defaults:
727     - font-encoding: "T1" (formerly implicitely set by 'ae').
728     - use-latex-toc: true (ToC with page numbers).
729     - use-latex-footnotes: true (no mixup with figures).
731 * docutils/writers/manpage.py
733   - Do not print version at document end, this is done by the viewer.
734   - Do not print date at document end, this is done by the viewer.
735   - Fix storage of docinfo fields for none standard fields.
737 * docutils/tools/rst2man.py
739 Release 0.5 (2008-06-25)
740 ========================
742 * docutils/languages/he.py: Added to project: Hebrew mappings by
743   Meir Kriheli.
745 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
746   mappings by Meir Kriheli.
748 * docutils/frontend.py:
750   - Configuration files are now assumed and required to be
751     UTF-8-encoded.
752   - Paths of applied configuration files are now recorded in the
753     runtime setting ``_config_files`` (accessible via
754     ``--dump-settings``).
755   - Added ``--strip-elements-with-class`` and ``--strip-class``
756     options (``strip_elements_with_classes`` and ``strip_classes``
757     settings).
759 * docutils/io.py:
761   - Added code to determine the input encoding from data: encoding
762     declarations or the presence of byte order marks (UTF-8 & UTF-16).
763   - Added support for IronPython 1.0.
765 * docutils/nodes.py:
767   - Added ``document.__getstate__`` method, for pickling.
769 * docutils/parsers/rst/states.py:
771   - Allow ``+`` and ``:`` in reference names.
772   - Unquoted targets beginning with an underscore (``.. __target:
773     URI``) are no longer accepted.
774   - Added support for multiple attributions in a physical block quote
775     (indented text block), dividing it into multiple logical block
776     quotes.
777   - Added support for unicode bullets in bullet lists: "•", "‣", and
778     "⁃".
779   - Added support for new object-oriented directive interface,
780     retaining compatibility to the old functional interface.
781   - Added support for throwing ``DirectiveError``'s from within
782     directive code.
784 * docutils/parsers/rst/__init__.py:
786   - Added ``Directive`` base class.
787   - Added ``DirectiveError`` base class.
788   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
789     definitions.
791 * docutils/parsers/directives/:
793   - Refactored all reStructuredText directives to use the new
794     object-oriented directive interface.  Errors are now (mostly)
795     thrown using the new ``DirectiveError`` class.
797 * docutils/parsers/directives/misc.py:
799   - Added ``start-after`` and ``end-before`` options to ``include``
800     directive; thanks to Stefan Rank.
802 * docutils/transforms/universal.py:
804   - Added ``StripClassesAndElements`` transform to remove from the
805     document tree all elements with classes in
806     ``settings.strip_elements_with_classes`` and all "classes"
807     attribute values in ``self.document.settings.strip_classes``.
809 * docutils/transforms/writer_aux.py:
811   - Added ``Admonitions`` transform to transform specific admonitions
812     (like ``note``, ``warning``, etc.) into generic admonitions with a
813     localized title.
815 * docutils/writers/html4css1/__init__.py:
817   - Moved template functionality from the PEP/HTML writer here.
818   - Expanded the fragments available in the ``parts`` attribute.
819   - Moved ``id`` attributes from titles to surrounding ``div``
820     elements.
821   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
822     universally supported now).
823   - ``template.txt`` is now opened in text mode instead of binary mode
824     (to ensure Windows compatibility).
825   - ``a`` elements now have an "internal" or "external" class,
826     depending on reference type.
828 * docutils/writers/html4css1/template.txt: Added to project.
830 * docutils/writers/pep_html/:
832   - Moved template functionality to the HTML writer.
834 * docutils/writers/s5_html/__init__.py:
836   - Added ``view_mode`` & ``hidden_controls`` settings
837     (``--view-mode`` & ``--hidden-controls/--visible-controls``
838     options).
840 * docutils/writers/latex2e/__init__.py:
842   - Add ``--literal-block-env``
843   - Fix: escaping ``%`` in href urls.
844   - Move usepackage hyperref after stylesheet inclusion.
845   - Fix: scrartcl does not have chapter but scrreprt.
846   - Add newline after ``\end{verbatim}``.
847   - Merge smaller differences from latex2e_adaptive_preamble.
848   - Add ``use-part-section``.
849   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
850   - Using leavemode option_list no longer needs to check if parent
851     is a definition list.
852   - Append ``\leavemode`` to definition list terms.
853   - No longer write visit\_/depart_definition_list_item comments to
854     output.
855   - Table column width with 3 decimal places.
856   - Add table stubs support (boldfont).
857   - Add assemble_parts to writer.
858   - Add simply support for nested tables.
859   - Fix verbatim in tables if use-verbatim-when-possible.
860   - Use section commands down to subparagraph.
861   - Put ensuremath around some latin1 chars.
862   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
863   - New option ``--use-bibtex=style,db1,db2``.
864   - New option ``--reference-label`` to allow usage of LaTeX ref for
865     labels in section references.
866   - Add a label after every section to support sectionnumbers as reference
867     labels.
868   - Fix: bug# 1605376 rst2latex: bad options group list
869   - Remove inactive code for use_optionlist_for_option_list.
870   - Remove latex comments from option_list output.
871   - Fix: bug# 1612270 double qoutes in italian literal.
872   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
873   - Add option --use-latex-abstract.
874   - Image width unit ``px`` is translated to ``pt``.
875   - Add image height support.
876   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
877     bug #1457388
878   - Fix: Do not escape underscores in citation reference labels if
879     use-latex-citations is set.
880   - Use centering instead of center for figure contents, to avoid vertical
881     space.
882   - Recognize table class: borderless, nolines, booktabs, standard.
883   - Fix: Renaming contents section does not work with latex writer; SF
884     bug #1487405.
885   - Applied patch for custom roles with classes from Edward Loper.
886   - Fixed bug that caused crashes with more than 256 lists.
888 * docutils/writers/pep_html/__init__.py:
890   - Changed to support new python.org website structure and
891     pep2pyramid.py.
893 * docs/howto/security.txt: "Deploying Docutils Securely", added to
894   project.
896 * tools/buildhtml.py:
898   -- Added ``ignore`` setting to exclude a list of shell patterns
899      (default: ``.svn:CVS``).
901 * tools/editors/emacs/rst.el:
903   - Changed license to "GPL".
904   - Added ``rst-straighten-decorations`` function.
905   - The ``compile`` module is now always loaded.
906   - Added ``rst-toggle-line-block`` function.
907   - Headings consisting only of non-ASCII characters are now
908     recognized by ``rst-toc`` and ``rst-adjust``.
909   - Added font-lock support for multi-line comments where the first
910     comment line is empty.
911   - Added ``(require 'font-lock)``.
913 * setup.py:
915   - Provide descriptive error message if distutils is missing.
918 Release 0.4 (2006-01-09)
919 ========================
921 * General:
923   - Updated the project policies for trunk/branch development &
924     version numbering.
926 * docutils/__init__.py:
928   - Added ``__version_details__`` attribute to describe code source
929     (repository/snapshot/release).
930   - Replaced ``default_transforms`` attribute of TransformSpec with
931     ``get_transforms()`` method.
933 * docutils/core.py:
935   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
936     functions, for document tree extraction and reprocessing.
938 * docutils/io.py:
940   - Added ``DocTreeInput`` class, for reprocessing existing documents.
941   - Added support for non-Unicode (e.g. binary) writer output.
943 * docutils/nodes.py:
945   - Re-introduced ``Targetable.indirect_reference_name``, for
946     MoinMoin/reST compatibility (removed in r3124/r3129).
947   - Added ``serial_escape`` function; escapes string values that are
948     elements of a list, for serialization.  Modified Docutils-XML
949     writing (``Element._dom_node``) and pseudo-XML writing
950     (``Element.starttag``) to use ``serial_escape``.
951   - Added ``Node.deepcopy()`` method.
952   - Removed the internal lists ``document.substitution_refs``,
953     ``document.anonymous_refs``, and ``document.anonymous_targets``.
954   - Added a "container" element.
955   - Fixed bug where values of list-valued attributes of elements
956     originating from custom interpreted text roles (i.e., with custom
957     classes) were being shared between element instances.  Reported by
958     Shmuel Zeigerman.
960 * docutils/statemachine.py:
962   - Added trailing whitespace stripping to ``string2lines()``.
963   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
964     Asian double-width character support.
966 * docutils/utils.py:
968   - Added ``east_asian_column_width()`` for double-width character
969     support.
971 * docutils/languages/ja.py: Added to project: Japanese mappings by
972   Hisashi Morita.
974 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
975   mappings by Panjunyong.
977 * docutils/parsers/null.py: Added to project; a do-nothing parser.
979 * docutils/parsers/rst/__init__.py:
981   - Added validator to tab_width setting, with test.  Closes SF bug
982     #1212515, report from Wu Wei.
984 * docutils/parsers/rst/states.py:
986   - Fixed bug with escaped colons indicating a literal block.
987   - Fixed bug with enumerated lists (SF#1254145).
988   - Backslash-escaped colons inside of field names are now allowed.
989   - Targets (implicit and explicit), anonymous hyperlink references
990     and auto-numbered footnote references inside of substitution
991     definitions are now disallowed.
992   - Fixed bug: list items with blank first lines.
993   - Fixed bug: block quote attributions with indented second lines.
994   - Added East Asian double-width character support (Python 2.4 only).
996 * docutils/parsers/rst/tableparser.py:
998   - Added East Asian double-width character support (Python 2.4 only).
1000 * docutils/parsers/rst/directives/body.py:
1002   - Added the "container" directive.
1004 * docutils/parsers/rst/directives/misc.py:
1006   - Added the "default-role", "title", and "date" directives.
1007   - Added standard data file syntax to the "include" directive.
1008   - Added support for "class" directive content.
1010 * docutils/parsers/rst/directives/images.py:
1012   - Added ``indirect_reference_name`` support for images with a target
1013     option.
1014   - Added support for image width and height units.
1015   - Fixed bug with image "target" options.
1017 * docutils/parsers/rst/directives/references.py:
1019   - Added "class" attribute to "target-notes" directive, for
1020     footnote_reference classes.
1022 * docutils/parsers/rst/include/: Directory added to project; contains
1023   standard data files for the "include" directive.  Initial contents:
1024   character entity substitution definition sets, and a set of
1025   definitions for S5/HTML presentations.
1027 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
1028   mappings by David Goodger.
1030 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
1031   Simplified Chinese mappings by Panjunyong.
1033 * docutils/readers/__init__.py:
1035   - Added universal.Decorations and universal.ExposeInternals
1036     transforms as default transforms for all readers.
1037   - Added ``ReReader`` base class for readers that reread an existing
1038     document tree.
1040 * docutils/readers/doctree.py: Added to project; a reader for existing
1041   document trees.
1043 * docutils/transforms/frontmatter.py:
1045   - Fixed the DocInfo transform to handle SVN-style expansion of the
1046     "Date" keyword.
1047   - In ``DocInfo.extract_authors``, treat the contents of "authors"
1048     fields uniformly.
1050 * docutils/transforms/misc.py:
1052   - Added misc.Transitions transform, extracted from
1053     universal.FinalChecks.
1055 * docutils/transforms/references.py:
1057   - Added references.DanglingReferences transform, extracted from
1058     universal.FinalChecks.
1059   - Fixed bug with doubly-indirect substitutions.
1060   - Added footnote_reference classes attribute to "TargetNotes".
1061   - Fixed bug with circular substitution definitions that put Docutils
1062     into an infinite loop.
1064 * docutils/transforms/universal.py:
1066   - Added universal.ExposeInternals transform, extracted from
1067     universal.FinalChecks.
1068   - Removed universal.FinalChecks transform (logic has been moved to
1069     several new transforms).
1070   - Fixed bug with the "expose_internals" setting and Text nodes
1071     (exposed by the "rawsource" internal attribute).
1072   - Added the universal.StripComments transform, implementation of the
1073     "strip_comments" setting.
1075 * docutils/transforms/writer_aux.py: Added to project; auxiliary
1076   transforms for writers.
1078   - Added ``Compound`` transform, which flattens compound paragraphs.
1080 * docutils/writers/: Several writer modules (html4css1.py) were
1081   converted into packages.  Support modules and data files have been
1082   moved into the packages.  The stylesheets for the HTML writers are
1083   now installed along with the code, the code knows where to find
1084   them, and the default is to use them (actually, to embed them).
1085   Some adjustments to configuration files may be necessary.  The
1086   easiest way to obtain the new default behavior is to remove all
1087   settings whose name includes "stylesheet".
1089 * docutils/writers/__init__.py:
1091   - Added universal.Messages and universal.FilterMessages transforms
1092     as default transforms for all writers.
1093   - Added ``UnfilteredWriter`` base class for writers that pass the
1094     document tree on unchanged.
1096 * docutils/writers/docutils_xml.py:
1098   - Made ``xmlcharrefreplace`` the default output encoding error
1099     handler.
1101 * docutils/writers/html4css1/:
1103   - Added support for image width and height units.
1104   - Made ``xmlcharrefreplace`` the default output encoding error
1105     handler.
1106   - Made ``--embed-stylesheet`` the default rather than
1107     ``--link-stylesheet``.
1108   - Moved "id" attribute from container (section etc.) to title's <a>
1109     tag, to be on the same tag as "name".
1110     (!!! To be reverted in Docutils 0.5.)
1111   - Added vertical space between fields of field lists.
1112   - Added ``--compact-field-lists`` option to remove vertical space in
1113     simple field lists.
1114   - Made cloaking of email addresses with ``--cloak-email-addresses``
1115     less obtrusive.
1116   - Fixed support for centered images.
1117   - Added support for class="compact" & class="open" lists.
1119 * docutils/writers/latex2e/:
1121   - Underscores in citekeys are no longer escaped.
1123 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
1124   mapping of Unicode characters to LaTeX equivalents.
1126 * docutils/writers/s5_html/: Package added to project; writer for
1127   S5/HTML slide shows.
1129 * docs/dev/distributing.txt: Added to project; guide for distributors
1130   (package maintainers).
1132 * docs/dev/hacking.txt: Added to project; guide for developers.
1134 * docs/ref/doctree.txt:
1136   - Updated for plural attributes "classes", "ids", "names",
1137     "dupnames".
1138   - Added the "container" element.
1140 * docs/ref/docutils.dtd:
1142   - Updated for plural attributes "classes", "ids", "names",
1143     "dupnames".
1145 * docs/user/emacs.txt: Added to project; a document about Emacs
1146   support for reStructuredText and Docutils.
1148 * docs/user/links.txt: Added to project; lists of Docutils-related
1149   links.
1151 * docs/user/mailing-lists.txt: Added to project; information about
1152   Docutils-related mailing lists and how to access them.
1154 * docs/user/slide-shows.txt: Added to project; example of and docs for
1155   the S5/HTML writer (``rst2s5.py`` front end).
1157 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
1158   Files", added to project.
1160 * test/coverage.sh: Added to project; test coverage script.
1162 * test/DocutilsTestSupport.py:
1164   - Added support for specifying runtime settings at the suite level.
1166 * test/test_functional.py:
1168   - Added the ``clear_output_directory`` function.
1169   - Added support for ``_test_more`` functions in functional test
1170     config files.
1172 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
1174 * tools/rstpep2html.py: Renamed from pep.py.
1176 * tools/dev/create_unimap.py: Added to project; script to create the
1177   docutils/writers/unimap_latex.py mapping file.
1179 * tools/dev/profile_docutils.py: Added to project; profiler script.
1181 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
1183 * tools/editors/emacs/restructuredtext.el,
1184   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
1185   Removed from project; the functionality is now contained in rst.el.
1187 * tools/editors/emacs/rst.el: Added to project.  Added many features
1188   and fixed many bugs.  See docs/user/emacs.txt for details.
1190 * tools/stylesheets: Removed from project.  Stylesheets have been
1191   renamed and moved into writer packages.
1194 Release 0.3.9 (2005-05-26)
1195 ==========================
1197 * General:
1199   - Eliminated and replaced all uses of the old string attributes
1200     ``id``, ``name``, ``dupname`` and ``class`` with references to the
1201     new list attributes ``ids``, ``names``, ``dupnames`` and
1202     ``classes`` throughout the whole source tree.
1204 * docutils/core.py:
1206   - Enabled ``--dump-*`` options when ``--traceback`` specified,
1207     allowing for easier debugging.
1208   - In ``Publisher.publish()``, expanded the generic top-level
1209     exception catching.
1211 * docutils/examples.py:
1213   - Added ``internals`` function for exploration.
1215 * docutils/io.py:
1217   - Fixed ``Input.decode`` method to apply heuristics only if no
1218     encoding is explicitly given, and to provide better reporting of
1219     decoding errors.
1220   - The ``Input.decode`` method now removes byte order marks (BOMs)
1221     from input streams.
1223 * docutils/nodes.py:
1225   - ``image`` element class changed to subclass of Element, not
1226     TextElement (it's an empty element, and cannot contain text).
1227   - Added ``attr_defaults`` dictionary for default attribute values.
1228   - Added empty list as default value for the following attributes:
1229     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
1230   - Added ``document.decoration`` attribute,
1231     ``document.get_decoration`` method, and ``decoration.get_header``
1232     & ``.get_footer`` methods.
1233   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
1234     methods.
1236 * docutils/utils.py:
1238   - Removed ``docutils.utils.Reporter.categories``,
1239     ``docutils.utils.ConditionSet``, and all references to them, to
1240     simplify error reporting.
1242 * docutils/languages/nl.py: Added to project; Dutch mappings by
1243   Martijn Pieters.
1245 * docutils/parsers/rst/__init__.py:
1247   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
1249 * docutils/parsers/rst/states.py:
1251   - Added check for escaped at-mark to prevent email address recognition.
1252   - Fixed option lists to allow spaces inside ``<angle-bracketed option
1253     arguments>``.
1254   - Allowed whitespace in paths and URLs.
1255   - Added auto-enumerated list items.
1256   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
1257     followed by text.
1258   - Added support for table stub columns.
1260 * docutils/parsers/rst/directives/__init__.py:
1262   - Allowed whitespace in paths (``path`` function).
1263   - Added ``uri`` directive option conversion function.
1265 * docutils/parsers/rst/directives/body.py:
1267   - Fixed illegal context bug with "topic" directive (allowed within
1268     sidebars; not within body elements).
1270 * docutils/parsers/rst/directives/images.py:
1272   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
1273   - Added support for the ``file_insertion_enabled`` setting in the
1274     "figure" directive (disables "figwidth" option).
1275   - "image" directive: added checks for valid values of "align" option,
1276     depending on context.  "figure" directive: added specialized
1277     "align" option and attribute on "figure" element.
1278   - Made ":figwidth: image" option of "figure" directive work again.
1279   - Fixed bug with reference names containing uppercase letters
1280     (e.g. ``Name_``) in "target" option of "image" directive.
1282 * docutils/parsers/rst/directives/misc.py:
1284   - Fixed "include" and "raw" directives to catch text decoding
1285     errors.
1286   - Allowed whitespace in "include" & "raw" directive paths.
1287   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
1288     settings in "include" & "raw" directives.
1290 * docutils/parsers/rst/directives/parts.py:
1292   - Added "header" & "footer" directives.
1293   - Fixed illegal context bug with "contents" directive (topics
1294     allowed within sidebars; not within body elements).
1296 * docutils/parsers/rst/directives/tables.py:
1298   - Added "list-table" directive.
1299   - Caught empty CSV table bug.
1300   - Added support for the ``file_insertion_enabled`` setting in the
1301     "csv-table" directive.
1302   - Added ``stub-columns`` option to "csv-table" and "list-table"
1303     directives.
1305 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1306   mappings by Martijn Pieters.
1308 * docutils/readers/standalone.py:
1310   - Added ``--section-subtitles`` and ``--no-section-subtitles``
1311     options to activate or deactivate the SectSubTitle transform.
1313 * docutils/transforms/frontmatter.py:
1315   - Added SectSubTitle transform to promote titles of lone
1316     subsections to subtitles.
1318 * docutils/transforms/references.py:
1320   - Fixed mislocated internal targets bug, by propagating internal
1321     targets to the next node, making use of the newly added support
1322     for multiple names and IDs.
1323   - Fixed duplicate footnote label bug.
1324   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1325     transform.
1327 * docutils/writers/html4css1.py:
1329   - Fixed unencoded stylesheet reference bug (characters like "&" in
1330     stylesheet references).
1331   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1332     tags).
1333   - Added support for multiple IDs per node by creating empty ``span``
1334     tags.
1335   - Added the ``field_name_limit`` & ``option_limit`` settings &
1336     support.
1337   - Added support for table stub columns.
1338   - Added support for the ``align`` attribute on ``figure`` elements.
1339   - Added the ``cloak_email_addresses`` setting & support.
1340   - Added ``html_prolog``, ``html_head``, ``html_body``,
1341     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1342     ``docutils.core.publish_parts``.
1343   - Added support for section subtitles.
1345 * docutils/writers/latex2e.py:
1347   - Fixed tables starting with more than one multirow cell.
1348   - Improved --use-latex-docinfo so that organization/contact/address
1349     fields are lumped with the last author field and appear on the
1350     titlepage.
1351   - Made sure the titlepage is always shown with --use-latex-docinfo,
1352     even if the document has no title.
1353   - Made sure that latex doesn't fill in today's date if no date field
1354     was given.
1355   - Added support for section subtitles.
1357 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1358   (under development).
1360 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1362 * docs/api/publisher.txt:
1364   - Added "``publish_parts`` Details" section.
1366 * docutils/dev/repository.txt: Added to project; information about the
1367   Docutils Subversion repository.
1369 * docs/ref/docutils.dtd:
1371   - Added a ``stub`` attribute to the ``colspec`` element via the
1372     ``tbl.colspec.att`` parameter entity.
1373   - Allowed topic elements within sidebars
1374   - Added an ``align`` attribute to the ``figure`` element.
1376 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1377   writer.
1380 Release 0.3.7 (2004-12-24)
1381 ==========================
1383 * docutils/frontend.py:
1385   - Added options: --input-encoding-error-handler,
1386     --record-dependencies, --leave-footnote-reference-space,
1387     --strict-visitor.
1388   - Added command-line and config file support for "overrides" setting
1389     parameter.
1391 * docutils/io.py:
1393   - Added support for input encoding error handler.
1395 * docutils/nodes.py:
1397   - Added dispatch_visit and dispatch_departure methods to
1398     NodeVisitor; useful as a hook for Visitors.
1399   - Changed structure of ``line_block``; added ``line``.
1400   - Added ``compound`` node class.
1401   - Added a mechanism for Visitors to transitionally ignore new node
1402     classes.
1404 * docutils/utils.py:
1406   - Moved ``escape2null`` and ``unescape`` functions from
1407     docutils/parsers/rst/states.py.
1409 * docutils/parsers/rst/roles.py:
1411   - Added "raw" role.
1412   - Changed role function API: the "text" parameter now takes
1413     null-escaped interpreted text content.
1415 * docutils/parsers/rst/states.py:
1417   - Fixed bug where a "role" directive in a nested parse would crash
1418     the parser; the state machine's "language" attribute was not being
1419     copied over.
1420   - Added support for line block syntax.
1421   - Fixed directive parsing bug: argument-less directives didn't
1422     notice that arguments were present.
1423   - Removed error checking for transitions.
1424   - Added support for multiple classifiers in definition list items.
1425   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1426   - Changed role function API: the "text" parameter now takes
1427     null-escaped interpreted text content.
1428   - Empty sections and documents are allowed now.
1430 * docutils/parsers/rst/directives/__init__.py:
1432   - Added ``encoding`` directive option conversion function.
1433   - Allow multiple class names in class_option conversion function.
1435 * docutils/parsers/rst/directives/body.py:
1437   - Converted the line-block directive to use the new structure.
1438   - Extracted the old line-block functionality to the ``block``
1439     function (still used).
1440   - Added ``compound`` directive (thanks to Lea Wiemann).
1442 * docutils/parsers/rst/directives/misc.py:
1444   - Added "encoding" option to "include" and "raw" directives.
1445   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1446   - Allow multiple class names in the "class" directive.
1448 * docutils/parsers/rst/directives/parts.py:
1450   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1451     options.  Thanks to Lele Gaifax.
1453 * docutils/parsers/rst/directives/tables.py:
1455   - Added "encoding" directive to "csv-table" directive.
1456   - Added workaround for lack of Unicode support in csv.py, for
1457     non-ASCII CSV input.
1459 * docutils/transforms/misc.py:
1461   - Fixed bug when multiple "class" directives are applied to a single
1462     element.
1463   - Enabled multiple format names for "raw" directive.
1465 * docutils/transforms/references.py:
1467   - Added support for trimming whitespace from beside substitution
1468     references.
1470 * docutils/transforms/universal.py:
1472   - FinalChecks now checks for illegal transitions and moves
1473     transitions between sections.
1475 * docutils/writers/html4css1.py:
1477   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
1478   - "stylesheet" and "stylesheet_path" settings are now mutually
1479     exclusive.
1480   - Added support for the new line_block/line structure.
1481   - --footnote-references now overrides
1482     --trim-footnote-reference-space, if applicable.
1483   - Added support for ``compound`` elements.
1484   - Enabled multiple format names for "raw" directive.
1485   - ``<p>`` tags of a paragraph which is the only visible child of the
1486     document node are no longer stripped.
1487   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1488     new method ``should_be_compact_paragraph()``.
1489   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1490     elements.
1491   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1492     the output if they have their ``class`` attribute set.
1493   - The whole document is now surrounded by a ``<div
1494     class="document">`` element.
1495   - Body-level images are now wrapped by their own ``<div>`` elements,
1496     with image classes copied to the wrapper, and for images which
1497     have the ``:align:`` option set, the surrounding ``<div>`` now
1498     receives a class attribute (like ``class="align-left"``).
1500 * docutils/writers/latex2e.py:
1502   - no newline after depart_term.
1503   - Added translations for some Unicode quotes.
1504   - Added option "font-encoding", made package AE the default.
1505   - "stylesheet" and "stylesheet_path" settings are now mutually
1506     exclusive.
1507   - --footnote-references now overrides
1508     --trim-footnote-reference-space, if applicable.
1509   - The footnote label style now matches the footnote reference style
1510     ("brackets" or "superscript").
1511   - Added support for ``compound`` elements.
1512   - Enabled multiple format names for "raw" directive.
1514 * docs/ref/docutils.dtd:
1516   - Changed structure of the ``line_block`` element; added ``line``.
1517   - Added ``compound`` element.
1518   - Added "ltrim" and "rtrim" attributes to
1519     ``substitution_definition`` element.
1520   - Enabled multiple format names for ``raw`` element.
1521   - Enabled multiple classifiers in ``definition_list_item`` elements.
1523 * docs/ref/rst/directives.txt
1525   - Marked "line-block" as deprecated.
1526   - "Class" directive now allows multiple class names.
1527   - Added "Rationale for Class Attribute Value Conversion".
1528   - Added warning about "raw" overuse/abuse.
1530 * docs/ref/rst/restructuredtext.txt:
1532   - Added syntax for line blocks.
1533   - Definition list items may have multiple classifiers.
1535 * docs/ref/rst/roles.txt:
1537   - Added "raw" role.
1539 * tools/stylesheets/default.css:
1541   - Added support for the new line_block structure.
1542   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1545 Release 0.3.5 (2004-07-29)
1546 ==========================
1548 General:
1550 * _`Documentation cleanup/reorganization`.
1552   - Created new subdirectories of docs/:
1554     * ``docs/user/``: introductory/tutorial material for end-users
1555     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1556     * ``docs/api/``: API reference material for client-developers
1557     * ``docs/ref/``: reference material for all groups
1558     * ``docs/howto/``: for component-developers and core-developers
1559     * ``docs/peps/``: Python Enhancement Proposals
1561   - Moved ``docs/*`` to ``docs/user/``.
1562   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1563     ``spec/`` to ``docs/dev``.
1564   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1565     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1566   - Moved ``alternatives.txt``, and ``problems.txt`` from
1567     ``spec/rst/`` to ``docs/dev/rst/``.
1568   - Moved ``reStructuredText.txt``, ``directives.txt``,
1569     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1570     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
1571     ``roles.txt``, ``reStructuredText.txt`` to
1572     ``restructuredtext.txt``.
1573   - Moved ``spec/howto/`` to ``docs/howto``.
1575   In order to keep the CVS history of moved files, we supplied
1576   SourceForge with a `script for modifying the Docutils CVS
1577   repository`__.
1579   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1581   After running the cleanup script:
1583   - Added ``docs/index.txt``.
1584   - Added a ``.htaccess`` file to the ``web`` module, containing
1585     redirects for all old paths to new paths.  They'll preserve
1586     fragments (the "#name" part of a URL), and won't clutter up the
1587     file system, and will correct the URL in the user's browser.
1588   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1589     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1590     the "To Do" list itself in ``docs/dev/todo.txt``.
1591   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1592     section of ``docs/dev/todo.txt``.
1593   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1594   - Added "How To Report Bugs" to ``BUGS.txt``.
1595   - Went through all the sources and docs (including under web/) and
1596     updated links.  Mostly done by Lea Wiemann; thanks Lea!
1597     (Still need to update links in the sandboxes.)
1599 Specific:
1601 * BUGS.txt: Added to project.
1603 * THANKS.txt: Added to project.
1605 * docutils/__init__.py:
1607   - 0.3.4: Post-release.
1609 * docutils/core.py:
1611   - Added special error handling & advice for UnicodeEncodeError.
1612   - Refactored Publisher.publish (simplified exception handling &
1613     extracted debug dumps).
1614   - Renamed "enable_exit" parameter of convenience functions to
1615     "enable_exit_status".
1616   - Enabled traceback (exception propagation) by default in
1617     programmatic convenience functions.
1618   - Now publish_file and publish_cmdline convenience functions return
1619     the encoded string results in addition to their regular I/O.
1620   - Extracted common code from publish_file, publish_string, and
1621     publish_parts, into new publish_programmatically.  Extracted
1622     settings code to ``Publisher.process_programmatic_settings``.
1623   - In Publisher.publish, disabled ``settings_overrides`` when
1624     ``settings`` is supplied; redundant.
1626 * docutils/frontend.py:
1628   - Added help text for "--output-encoding-error-handler" and
1629     "--error-encoding-error-handler".
1630   - Renamed "--exit" to "--exit-status".
1631   - Simplified default-setting code.
1633 * docutils/parsers/rst/__init__.py:
1635   - Added "--pep-base-url" and "--rfc-base-url" options.
1637 * docutils/parsers/rst/states.py:
1639   - Made URI recognition more aggressive and intelligent.
1641 * docutils/parsers/rst/directives/__init__.py:
1643   - Added several directive option conversion functions.
1645 * docutils/parsers/rst/directives/body.py:
1647   - Moved "table" directive to tables.py.
1649 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1650   added to project.
1652 * docutils/writers/latex2e.py:
1654   - Added "--table-style=(standard|booktabs|nolines)"
1655   - figures get "here" option (LaTeX per default puts them at bottom),
1656     and figure content is centered.
1657   - Rowspan support for tables.
1658   - Fix: admonition titles before first section.
1659   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1660   - Replave ``_`` in literal by an underlined blank, because it has the correct
1661     width.
1662   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1663   - A few unicode replacements, if output_encoding != utf
1664   - Add "--graphicx-option".
1665   - Indent literal-blocks.
1666   - Fix: omit ``\maketitle`` when there is no document title.
1668 * docs/index.txt: "Docutils Project Documentation Overview", added to
1669   project.
1671 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1672   Tool", added to project.
1674 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1676 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1678 * docs/dev/policies.txt: Added to project (extracted from
1679   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1681 * docs/dev/release.txt: Added to project (extracted from
1682   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1684 * docs/dev/testing.txt: Added to project.
1686 * docs/dev/website.txt: Added to project (extracted from
1687   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1689 * docs/ref/rst/directives.txt:
1691   - Added directives: "table", "csv-table".
1693 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1694   added to project.  1 page for syntax, and a 1 page reference for
1695   directives and roles.  Source text to be used as-is; not meant to be
1696   converted to HTML.
1698 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1699   with a change of title.
1701 * test/functional/, contents, and test/test_functional.py: Added to
1702   project.
1704 * tools/buildhtml.py: Fixed bug with config file handling.
1706 * tools/html.py: Removed from project (duplicate of rst2html.py).
1708 * tools/pep2html.py: Removed from project (duplicate of Python's
1709   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1710   Docutils-related PEPs in docs/peps/).
1712 * tools/rst2pseudoxml.py: Renamed from publish.py.
1714 * tools/rst2xml.py: Renamed from docutils-xml.py.
1716 * tools/test.txt: Removed from project; moved to
1717   docs/user/rst/demo.txt.
1719 * setup.py: Now also installs ``rst2latex.py``.
1722 Release 0.3.3 (2004-05-09)
1723 ==========================
1725 * docutils/__init__.py:
1727   - 0.3.1: Reorganized config file format (multiple sections); see
1728     docs/config.txt.
1729   - Added unknown_reference_resolvers attribute to TransformSpec.
1730   - 0.3.2: Interpreted text reorganization.
1731   - 0.3.3: Released.
1733 * docutils/core.py:
1735   - Catch system messages to stop tracebacks from parsing errors.
1736   - Catch exceptions during processing report & exit without
1737     tracebacks, except when "--traceback" used.
1738   - Reordered components for OptionParser; application comes last.
1739   - Added "config_section" parameter to several methods and functions,
1740     allowing front ends to easily specify their config file sections.
1741   - Added publish_parts convenience function to allow access to individual
1742     parts of a document.
1744 * docutils/examples.py: Added to project; practical examples of
1745   Docutils client code, to be used as-is or as models for variations.
1747 * docutils/frontend.py:
1749   - Added "--traceback" & "--no-traceback" options ("traceback"
1750     setting).
1751   - Implemented support for config file reorganization:
1752     ``standard_config_files`` moved from ``ConfigParser`` to
1753     ``OptionParser``; added
1754     ``OptionParser.get_config_file_settings()`` and
1755     ``.get_standard_config_settings()``; support for old "[options]"
1756     section (with deprecation warning) and mapping from old to new
1757     settings.
1758   - Reimplemented setting validation.
1759   - Enabled flexible boolean values: yes/no, true/false, on/off.
1760   - Added ``Values``, a subclass of ``optparse.Values``, with support
1761     for list setting attributes.
1762   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1763     thanks to Beni Cherniavsky.
1764   - Added "--no-section-numbering" option.
1766 * docutils/io.py:
1768   - Catch IOErrors when opening source & destination files, report &
1769     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1770     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1772 * docutils/nodes.py:
1774   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1775     method definitions (via ``exec``) to dynamic assignments (via
1776     ``setattr``); thanks to Roman Suzi.
1777   - Encapsulated visitor dynamic assignments in a function; thanks to
1778     Ian Bicking.
1779   - Added indirect_reference_name attribute to the Targetable
1780     class. This attribute holds the whitespace_normalized_name
1781     (contains mixed case) of a target.
1783 * docutils/statemachine.py:
1785   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1786   - Added ``StringList.get_2D_block``.
1788 * docutils/utils.py:
1790   - Added "level" attribute to SystemMessage exceptions.
1792 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1793   Jannie Hofmeyr.
1795 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1796   Blaha.
1798 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1799   Marcelo Huerta San Martin.
1801 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1802   mappings by Lalo Martins.
1804 * docutils/languages/ru.py: Added to project; Russian mappings by
1805   Roman Suzi.
1807 * docutils/parsers/rst/roles.py: Added to project.  Contains
1808   interpreted text role functions, a registry for interpreted text
1809   roles, and an API for adding to and retrieving from the registry.
1810   Contributed by Edward Loper.
1812 * docutils/parsers/rst/states.py:
1814   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1815   - Allowed true em-dash character and "---" as block quote
1816     attribution marker.
1817   - Added support for <angle-bracketed> complex option arguments
1818     (option lists).
1819   - Fixed handling of backslashes in substitution definitions.
1820   - Fixed off-by-1 error with extra whitespace after substitution
1821     definition directive.
1822   - Added inline markup parsing to field lists' field names.
1823   - Added support for quoted (and unindented) literal blocks.
1824     Driven in part by a bribe from Frank Siebenlist (thanks!).
1825   - Parser now handles escapes in URIs correctly.
1826   - Made embedded-URIs' reference text omittable.  Idea from Beni
1827     Cherniavsky.
1828   - Refactored explicit target processing code.
1829   - Added name attribute to references containing the reference name only
1830     through whitespace_normalize_name (no case changes).
1831   - parse_target no longer returns the refname after going through
1832     normalize_name. This is now handled in make_target.
1833   - Fixed bug relating to role-less interpreted text in non-English
1834     contexts.
1835   - Reorganized interpreted text processing; moved code into the new
1836     roles.py module.  Contributed by Edward Loper.
1837   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1838     ``parse_directive_block``.
1840 * docutils/parsers/rst/tableparser.py:
1842   - Reworked for ``StringList``, to support "include" directives in
1843     table cells.
1845 * docutils/parsers/rst/directives/__init__.py:
1847   - Renamed ``unchanged()`` directive option conversion function to
1848     ``unchanged_required``, and added a new ``unchanged``.
1849   - Catch unicode value too high error; fixes bug 781766.
1850   - Beefed up directive error reporting.
1852 * docutils/parsers/rst/directives/body.py:
1854   - Added basic "table" directive.
1856 * docutils/parsers/rst/directives/images.py:
1858   - Added "target" option to "image" directive.
1859   - Added name attribute to references containing the reference name only
1860     through whitespace_normalize_name (no case changes).
1862 * docutils/parsers/rst/directives/misc.py:
1864   - Isolated the import of the ``urllib2`` module; was causing
1865     problems on SourceForge (``libssl.so.2`` unavailable?).
1866   - Added the "role" directive for declaring custom interpreted text
1867     roles.
1869 * docutils/parsers/rst/directives/parts.py:
1871   - The "contents" directive does more work up-front, creating the
1872     "topic" and "title", and leaving the "pending" node for the
1873     transform.  Allows earlier reference resolution; fixes subtle bug.
1875 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1876   mappings by Jannie Hofmeyr.
1878 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1879   mappings by Marek Blaha.
1881 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1882   mappings by Marcelo Huerta San Martin.
1884 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1885   Portuguese mappings by Lalo Martins.
1887 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1888   mappings by Roman Suzi.
1890 * docutils/transforms/parts.py:
1892   - The "contents" directive does more work up-front, creating the
1893     "topic" and "title", and leaving the "pending" node for the
1894     transform.  Allows earlier reference resolution; fixes subtle bug.
1895   - Added support for disabling of section numbering.
1897 * docutils/transforms/references.py:
1899   - Verifying that external targets are truly targets and not indirect
1900     references. This is because we are now adding a "name" attribute to
1901     references in addition to targets. Note sure if this is correct!
1902   - Added code to hook into the unknown_reference_resolvers list for a
1903     transformer in resolve_indirect_target. This allows the
1904     unknown_reference_resolvers to keep around indirect targets which
1905     docutils doesn't know about.
1906   - Added specific error message for duplicate targets.
1908 * docutils/transforms/universal.py:
1910   - Added FilterMessages transform (removes system messages below the
1911     verbosity threshold).
1912   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1913     to FinalCheckVisitor for application-specific handling of
1914     unresolvable references.
1915   - Added specific error message for duplicate targets.
1917 * docutils/writers/__init__.py:
1919   - Added assemble_parts method to the Writer class to allow for
1920     access to a documents individual parts.
1921   - Documented & set default for ``Writer.output`` attribute.
1923 * docutils/writers/html4css1.py:
1925   - Fixed unicode handling of attribute values (bug 760673).
1926   - Prevent duplication of "class" attribute values (bug report from
1927     Kirill Lapshin).
1928   - Improved table grid/border handling (prompted by report from Bob
1929     Marshall).
1930   - Added support for table titles.
1931   - Added "<title />" for untitled docs, for XHTML conformance; thanks
1932     to Darek Suchojad.
1933   - Added functionality to keep track of individual parts of a document
1934     and store them in a dictionary as the "parts" attribute of the writer.
1935     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1936   - Added proper support for the "scale" attribute of the "image"
1937     element.  Contributed by Brent Cook.
1938   - Added ``--initial-header-level`` option.
1939   - Fixed bug: the body_pre_docinfo segment depended on there being a
1940     docinfo; if no docinfo, the document title was incorporated into
1941     the body segment.  Adversely affected the publish_parts interface.
1943 * docutils/writers/latex2e.py:
1945   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1946     about a missing file.
1947   - Added options and support: ``--compound-enumerators``,
1948     ``--section-prefix-for-enumerators``, and
1949     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
1950     934322).
1951   - Added option ``--use-verbatim-when-possible``, to avoid
1952     problematic characters (eg, '~' in italian) in literal blocks.
1953   - It's now possible to use four section levels in the `book` and
1954     `report` LaTeX classes.  The default `article` class still has
1955     three levels limit.
1957 * docs/config.txt: "Docutils Configuration Files", added to project.
1958   Moved config file entry descriptions from tools.txt.
1960 * docs/tools.txt:
1962   - Moved config file entry descriptions to config.txt.
1964 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
1965   Development".
1967 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1968   Text Roles", added to project.
1970 * spec/rst/reStructuredText.txt:
1972   - Added description of support for <angle-bracketed> complex option
1973     arguments to option lists.
1974   - Added subsections for indented and quoted literal blocks.
1976 * test: Continually adding & updating tests.
1978   - Added test/test_settings.py & test/data/config_*.txt support
1979     files.
1980   - Added test/test_writers/test_htmlfragment.py.
1982 * test/DocutilsTestSupport.py:
1984   - Refactored LaTeX publisher test suite/case class names to make
1985     testing other writers easier.
1986   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1987     to test the processing of HTML fragments which use the new
1988     publish_parts convenience function.
1990 * tools/buildhtml.py:
1992   - Added support for the "--prune" option.
1993   - Removed dependency on pep2html.py; plaintext PEPs no longer
1994     supported.
1996 * tools/docutils.conf:
1998   - Updated for configuration file reorganization.
2000 * tools/rst2html.py:
2002   - copied from tools/html.py
2004 * setup.py:
2006   - added a 'scripts' section to configuration
2007   - added 'tools/rst2html.py' to the scripts section
2010 Release 0.3 (2003-06-24)
2011 ========================
2013 General:
2015 * Renamed "attribute" to "option" for directives/extensions.
2017 * Renamed transform method "transform" to "apply".
2019 * Renamed "options" to "settings" for runtime settings (as set by
2020   command-line options).  Sometimes "option" (singular) became
2021   "settings" (plural).  Some variations below:
2023   - document.options -> document.settings (stored in other objects as
2024     well)
2025   - option_spec -> settings_spec (not directives though)
2026   - OptionSpec -> SettingsSpec
2027   - cmdline_options -> settings_spec
2028   - relative_path_options -> relative_path_settings
2029   - option_default_overrides -> settings_default_overrides
2030   - Publisher.set_options -> Publisher.get_settings
2032 Specific:
2034 * COPYING.txt: Added "Public Domain Dedication".
2036 * FAQ.txt: Frequently asked questions, added to project.
2038 * setup.py:
2040   - Updated with PyPI Trove classifiers.
2041   - Conditional installation of third-party modules.
2043 * docutils/__init__.py:
2045   - Bumped version to 0.2.1 to reflect changes to I/O classes.
2046   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
2047   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
2048   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
2049     option and its effect on the PEP template & writer.
2050   - Bumped version to 0.2.4 due to changes to the PEP template &
2051     stylesheet.
2052   - Bumped version to 0.2.5 to reflect changes to Reporter output.
2053   - Added ``TransformSpec`` class for new transform system.
2054   - Bumped version to 0.2.6 for API changes (renaming).
2055   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
2056     convenience functions.
2057   - Added ``Component.component_type`` attribute.
2058   - Bumped version to 0.2.8 because of the internal parser switch from
2059     plain lists to the docutils.statemachine.StringList objects.
2060   - Bumped version to 0.2.9 because of the frontend.py API changes.
2061   - Bumped version to 0.2.10 due to changes to the project layout
2062     (third-party modules removed from the "docutils" package), and
2063     signature changes in ``io.Input``/``io.Output``.
2064   - Changed version to 0.3.0 for release.
2066 * docutils/core.py:
2068   - Made ``publish()`` a bit more convenient.
2069   - Generalized ``Publisher.set_io``.
2070   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
2071     parameters; improved its docstring.
2072   - Added ``publish_file()`` and ``publish_string()``.
2073   - Factored ``Publisher.set_source()`` and ``.set_destination()``
2074     out of ``.set_io``.
2075   - Added support for "--dump-pseudo-xml", "--dump-settings", and
2076     "--dump-transforms" hidden options.
2077   - Added ``Publisher.apply_transforms()`` method.
2078   - Added ``Publisher.set_components()`` method; support for
2079     ``publish_*()`` conveninece functions.
2080   - Moved config file processing to docutils/frontend.py.
2081   - Added support for exit status ("exit_level" setting &
2082     ``enable_exit`` parameter for Publisher.publish() and convenience
2083     functions).
2085 * docutils/frontend.py:
2087   - Check for & exit on identical source & destination paths.
2088   - Fixed bug with absolute paths & "--config".
2089   - Set non-command-line defaults in ``OptionParser.__init__()``:
2090     ``_source`` & ``_destination``.
2091   - Distributed ``relative_path_settings`` to components; updated
2092     ``OptionParser.populate_from_components()`` to combine it all.
2093   - Require list of keys in ``make_paths_absolute`` (was implicit in
2094     global ``relative_path_settings``).
2095   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
2096     "--dump-settings", and "--dump-transforms" hidden options.
2097   - Removed nasty internals-fiddling ``ConfigParser.get_section``
2098     code, replaced with correct code.
2099   - Added validation functionality for config files.
2100   - Added "--error-encoding" option/setting, "_disable_config"
2101     internal setting.
2102   - Added encoding validation; updated "--input-encoding" and
2103     "--output-encoding"; added "--error-encoding-error-handler" and
2104     "--output-encoding-error-handler".
2105   - Moved config file processing from docutils/core.py.
2106   - Updated ``OptionParser.populate_from_components`` to handle new
2107     ``SettingsSpec.settings_defaults`` dict.
2108   - Added support for "-" => stdin/stdout.
2109   - Added "exit_level" setting ("--exit" option).
2111 * docutils/io.py:
2113   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
2114   - Added automatic closing to ``FileInput`` and ``FileOutput``.
2115   - Delayed opening of ``FileOutput`` file until ``write()`` called.
2116   - ``FileOutput.write()`` now returns the encoded output string.
2117   - Try to get path/stream name automatically in ``FileInput`` &
2118     ``FileOutput``.
2119   - Added defaults for source & destination paths.
2120   - Allow for Unicode I/O with an explicit "unicode" encoding.
2121   - Added ``Output.encode()``.
2122   - Removed dependency on runtime settings; pass encoding directly.
2123   - Recognize Unicode strings in ``Input.decode()``.
2124   - Added support for output encoding error handlers.
2126 * docutils/nodes.py:
2128   - Added "Invisible" element category class.
2129   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
2130     modification during a traversal.
2131   - Added element classes: ``line_block``, ``generated``, ``address``,
2132     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
2133     ``superscript``, ``subscript``, ``inline``
2134   - Added support for lists of nodes to ``Element.insert()``.
2135   - Fixed parent linking in ``Element.replace()``.
2136   - Added new abstract superclass ``FixedTextElement``; adds
2137     "xml:space" attribute.
2138   - Added support for "line" attribute of ``system_message`` nodes.
2139   - Added support for the observer pattern from ``utils.Reporter``.
2140     Added ``parse_messages`` and ``transform_messages`` attributes to
2141     ``document``, removed ``messages``.  Added ``note_parse_message``
2142     and ``note_transform_message`` methods.
2143   - Added support for improved diagnostics:
2145     - Added "document", "source", and "line" internal attributes to
2146       ``Node``, set by ``Node.setup_child()``.
2147     - Converted variations on ``node.parent = self`` to
2148       ``self.setup_child(node)``.
2149     - Added ``document.current_source`` & ``.current_line``
2150       attributes, and ``.note_source`` observer method.
2151     - Changed "system_message" output to GNU-Tools format.
2153   - Added a "rawsource" attribute to the ``Text`` class, for text
2154     before backslash-escape resolution.
2155   - Support for new transform system.
2156   - Reworked ``pending`` element.
2157   - Fixed XML DOM bug (SF #660611).
2158   - Removed the ``interpeted`` element class and added
2159     ``title_reference``, ``abbreviation``, ``acronym``.
2160   - Made substitutions case-sensitive-but-forgiving; moved some code
2161     from the parser.
2162   - Fixed Unicode bug on element attributes (report: William Dode).
2164 * docutils/optik.py: Removed from project; replaced with
2165   extras/optparse.py and extras/textwrap.py.  These will be installed
2166   only if they're not already present in the Python installation.
2168 * docutils/roman.py: Moved to extras/roman.py; this will be installed
2169   only if it's not already present in the Python installation.
2171 * docutils/statemachine.py:
2173   - Factored out ``State.add_initial_transitions()`` so it can be
2174     extended.
2175   - Converted whitespace-specific "blank" and "indent" transitions
2176     from special-case code to ordinary transitions: removed
2177     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
2178     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
2179     ``ws_initial_transitions`` attributes.
2180   - Removed ``State.match_transition()`` after merging it into
2181     ``.check_line()``.
2182   - Added ``StateCorrection`` exception.
2183   - Added support for ``StateCorrection`` in ``StateMachine.run()``
2184     (moved ``TransitionCorrection`` support there too.)
2185   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
2186     ``EOFError`` instead of ``IndexError``.
2187   - Added ``State.no_match`` method.
2188   - Added support for the Observer pattern, triggered by input line
2189     changes.
2190   - Added ``strip_top`` parameter to
2191     ``StateMachineWS.get_first_known_indented``.
2192   - Made ``context`` a parameter to ``StateMachine.run()``.
2193   - Added ``ViewList`` & ``StringList`` classes;
2194     ``extract_indented()`` becomes ``StringList.get_indented()``.
2195   - Added ``StateMachine.insert_input()``.
2196   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
2197     thanks to) Fred Drake.
2199 * docutils/utils.py:
2201   - Added a ``source`` attribute to Reporter instances and
2202     ``system_message`` elements.
2203   - Added an observer pattern to ``utils.Reporter`` to keep track of
2204     system messages.
2205   - Fixed bugs in ``relative_path()``.
2206   - Added support for improved diagnostics.
2207   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
2208   - Added support for encoding Reporter stderr output, and encoding
2209     error handlers.
2210   - Reporter keeps track of the highest level system message yet
2211     generated.
2213 * docutils/languages: Fixed bibliographic field language lookups.
2215 * docutils/languages/es.py: Added to project; Spanish mappings by
2216   Marcelo Huerta San Martin.
2218 * docutils/languages/fr.py: Added to project; French mappings by
2219   Stefane Fermigier.
2221 * docutils/languages/it.py: Added to project; Italian mappings by
2222   Nicola Larosa.
2224 * docutils/languages/sk.py: Added to project; Slovak mappings by
2225   Miroslav Vasko.
2227 * docutils/parser/__init__.py:
2229   - Added ``Parser.finish_parse()`` method.
2231 * docutils/parser/rst/__init__.py:
2233   - Added options: "--pep-references", "--rfc-references",
2234     "--tab-width", "--trim-footnote-reference-space".
2236 * docutils/parsers/rst/states.py:
2238   - Changed "title under/overline too short" system messages from INFO
2239     to WARNING, and fixed its insertion location.
2240   - Fixed enumerated list item parsing to allow paragraphs & section
2241     titles to begin with enumerators.
2242   - Converted system messages to use the new "line" attribute.
2243   - Fixed a substitution reference edge case.
2244   - Added support for "--pep-references" and "--rfc-references"
2245     options; reworked ``Inliner`` code to make customization easier.
2246   - Removed field argument parsing.
2247   - Added support for short section title over/underlines.
2248   - Fixed "simple reference name" regexp to ignore text like
2249     "object.__method__"; not an anonymous reference.
2250   - Added support for improved diagnostics.
2251   - Reworked directive API, based on Dethe Elza's contribution.  Added
2252     ``Body.parse_directive()``, ``.parse_directive_options()``,
2253     ``.parse_directive_arguments()`` methods.
2254   - Added ``ExtensionOptions`` class, to parse directive options
2255     without parsing field bodies.  Factored
2256     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
2257     ``ExtensionOptions``.
2258   - Improved definition list term/classifier parsing.
2259   - Added warnings for unknown directives.
2260   - Renamed ``Stuff`` to ``Struct``.
2261   - Now flagged as errors: transitions at the beginning or end of
2262     sections, empty sections (except title), and empty documents.
2263   - Updated for ``statemachine.StringList``.
2264   - Enabled recognition of schemeless email addresses in targets.
2265   - Added support for embedded URIs in hyperlink references.
2266   - Added backslash-escapes to inline markup end-string suffix.
2267   - Added support for correct interpreted text processing.
2268   - Fixed nested title parsing (topic, sidebar directives).
2269   - Added special processing of backslash-escaped whitespace (idea
2270     from David Abrahams).
2271   - Made substitutions case-sensitive-but-forgiving; moved some code
2272     to ``docutils.nodes``.
2273   - Added support for block quote attributions.
2274   - Added a kludge to work-around a conflict between the bubble-up
2275     parser strategy and short titles (<= 3 char-long over- &
2276     underlines).  Fixes SF bug #738803 "infinite loop with multiple
2277     titles" submitted by Jason Diamond.
2278   - Added explicit interpreted text roles for standard inline markup:
2279     "emphasis", "strong", "literal".
2280   - Implemented "superscript" and "subscript" interpreted text roles.
2281   - Added initial support for "abbreviation" and "acronym" roles;
2282     incomplete.
2283   - Added support for "--trim-footnote-reference-space" option.
2284   - Optional space before colons in directives & hyperlink targets.
2286 * docutils/parsers/rst/tableparser.py:
2288   - Fixed a bug that was producing unwanted empty rows in "simple"
2289     tables.
2290   - Detect bad column spans in "simple" tables.
2292 * docutils/parsers/rst/directives: Updated all directive functions to
2293   new API.
2295 * docutils/parsers/rst/directives/__init__.py:
2297   - Added ``flag()``, ``unchanged()``, ``path()``,
2298     ``nonnegative_int()``, ``choice()``, and ``class_option()``
2299     directive option helper functions.
2300   - Added warnings for unknown directives.
2301   - Return ``None`` for missing directives.
2302   - Added ``register_directive()``, thanks to William Dode and Paul
2303     Moore.
2305 * docutils/parsers/rst/directives/admonitions.py:
2307   - Added "admonition" directive.
2309 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
2310   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2311   "parsed-literal", "rubric", "epigraph", "highlights" and
2312   "pull-quote" directives.
2314 * docutils/parsers/rst/directives/images.py:
2316   - Added an "align" attribute to the "image" & "figure" directives
2317     (by Adam Chodorowski).
2318   - Added "class" option to "image", and "figclass" to "figure".
2320 * docutils/parsers/rst/directives/misc.py:
2322   - Added "include", "raw", and "replace" directives, courtesy of
2323     Dethe Elza.
2324   - Added "unicode" and "class" directives.
2326 * docutils/parsers/rst/directives/parts.py:
2328   - Added the "sectnum" directive; by Dmitry Jemerov.
2329   - Added "class" option to "contents" directive.
2331 * docutils/parsers/rst/directives/references.py: Added to project.
2332   Contains the "target-notes" directive.
2334 * docutils/parsers/rst/languages/__init__.py:
2336   - Return ``None`` from get_language() for missing language modules.
2338 * docutils/parsers/rst/languages/de.py: Added to project; German
2339   mappings by Engelbert Gruber.
2341 * docutils/parsers/rst/languages/en.py:
2343   - Added interpreted text roles mapping.
2345 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2346   mappings by Marcelo Huerta San Martin.
2348 * docutils/parsers/rst/languages/fr.py: Added to project; French
2349   mappings by William Dode.
2351 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2352   mappings by Nicola Larosa.
2354 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2355   mappings by Miroslav Vasko.
2357 * docutils/readers/__init__.py:
2359   - Added support for the observer pattern from ``utils.Reporter``, in
2360     ``Reader.parse`` and ``Reader.transform``.
2361   - Removed ``Reader.transform()`` method.
2362   - Added default parameter values to ``Reader.__init__()`` to make
2363     instantiation easier.
2364   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2366 * docutils/readers/pep.py:
2368   - Added the ``peps.TargetNotes`` transform to the Reader.
2369   - Removed PEP & RFC reference detection code; moved to
2370     parsers/rst/states.py as options (enabled here by default).
2371   - Added support for pre-acceptance PEPs (no PEP number yet).
2372   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2373     easy subclassing.
2375 * docutils/readers/python: Python Source Reader subpackage added to
2376   project, including preliminary versions of:
2378   - __init__.py
2379   - moduleparser.py: Parser for Python modules.
2381 * docutils/transforms/__init__.py:
2383   - Added ``Transformer`` class and completed transform reform.
2384   - Added unknown_reference_resolvers list for each transformer. This list holds
2385     the list of functions provided by each component of the transformer that
2386     help resolve references.
2388 * docutils/transforms/frontmatter.py:
2390   - Improved support for generic fields.
2391   - Fixed bibliographic field language lookups.
2393 * docutils/transforms/misc.py: Added to project.  Miscellaneous
2394   transforms.
2396 * docutils/transforms/parts.py:
2398   - Moved the "id" attribute from TOC list items to the references
2399     (``Contents.build_contents()``).
2400   - Added the ``SectNum`` transform; by Dmitry Jemerov.
2401   - Added "class" attribute support to ``Contents``.
2403 * docutils/transforms/peps.py:
2405   - Added ``mask_email()`` function, updating to pep2html.py's
2406     functionality.
2407   - Linked "Content-Type: text/x-rst" to PEP 12.
2408   - Added the ``TargetNotes`` PEP-specific transform.
2409   - Added ``TargetNotes.cleanup_callback``.
2410   - Added title check to ``Headers``.
2412 * docutils/transforms/references.py:
2414   - Added the ``TargetNotes`` generic transform.
2415   - Split ``Hyperlinks`` into multiple transforms.
2416   - Fixed bug with multiply-indirect references (report: Bruce Smith).
2417   - Added check for circular indirect references.
2418   - Made substitutions case-sensitive-but-forgiving.
2420 * docutils/transforms/universal.py:
2422   - Added support for the "--expose-internal-attributes" option.
2423   - Removed ``Pending`` transform classes & data.
2425 * docutils/writers/__init__.py:
2427   - Removed ``Writer.transform()`` method.
2429 * docutils/writers/docutils-xml.py:
2431   - Added XML and doctype declarations.
2432   - Added "--no-doctype" and "--no-xml-declaration" options.
2434 * docutils/writers/html4css1.py:
2436   - "name" attributes only on these tags: a, applet, form, frame,
2437     iframe, img, map.
2438   - Added "name" attribute to <a> in section titles for Netscape 4
2439     support (bug report: Pearu Peterson).
2440   - Fixed targets (names) on footnote, citation, topic title,
2441     problematic, and system_message nodes (for Netscape 4).
2442   - Changed field names from "<td>" to "<th>".
2443   - Added "@" to "&#64;" encoding to thwart address harvesters.
2444   - Improved the vertical whitespace optimization; ignore "invisible"
2445     nodes (targets, comments, etc.).
2446   - Improved inline literals with ``<span class="pre">`` around chunks
2447     of text and ``&nbsp;`` for runs of spaces.
2448   - Improved modularity of output; added ``self.body_pre_docinfo`` and
2449     ``self.docinfo`` segments.
2450   - Added support for "line_block", "address" elements.
2451   - Improved backlinks (footnotes & system_messages).
2452   - Improved system_message output.
2453   - Redefined "--stylesheet" as containing an invariant URL, used
2454     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
2455     working directory.
2456   - Added "--footnote-references" option (superscript or brackets).
2457   - Added "--compact-lists" and "--no-compact-lists" options.
2458   - Added "--embed-stylesheet" and "--link-stylesheet" options;
2459     factored out ``HTMLTranslator.get_stylesheet_reference()``.
2460   - Improved field list rendering.
2461   - Added Docutils version to "generator" meta tag.
2462   - Fixed a bug with images; they must be inline, so wrapped in <p>.
2463   - Improved layout of <pre> HTML source.
2464   - Fixed attribute typo on <colspec>.
2465   - Refined XML prologue.
2466   - Support for no stylesheet.
2467   - Removed "interpreted" element support.
2468   - Added support for "title_reference", "sidebar", "attribution",
2469     "rubric", and generic "admonition" elements.
2470   - Added "--attribution" option.
2471   - Added support for "inline", "subscript", "superscript" elements.
2472   - Added initial support for "abbreviation" and "acronym";
2473     incomplete.
2475 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2476   (from the sandbox).
2478   - Added french.
2479   - Double quotes in literal blocks (special treatment for de/ngerman).
2480   - Added '--hyperlink-color' option ('0' turns off coloring of links).
2481   - Added  "--attribution" option.
2482   - Right align attributions.
2484 * docutils/writers/pep_html.py:
2486   - Parameterized output encoding in PEP template.
2487   - Reworked substitutions from ``locals()`` into ``subs`` dict.
2488   - Redefined "--pep-stylesheet" as containing an invariant URL, used
2489     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
2490     working directory.
2491   - Added an override on the "--footnote-references" option.
2492   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2493   - Added Docutils version to "generator" meta tag.
2494   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2496 * docs/tools.txt:
2498   - Added a "silent" setting for ``buildhtml.py``.
2499   - Added a "Getting Help" section.
2500   - Rearranged the structure.
2501   - Kept up to date, with new settings, command-line options etc.
2502   - Added section for ``rst2latex.py`` (Engelbert Gruber).
2503   - Converted settings table into a definition list.
2505 * docs/rst/quickstart.txt:
2507   - Added a table of contents.
2508   - Added feedback information.
2509   - Added mention of minimum section title underline lengths.
2510   - Removed the 4-character minimum for section title underlines.
2512 * docs/rst/quickref.html:
2514   - Added a "Getting Help" section.
2515   - Added a style to make section title backlinks more subtle.
2516   - Added mention of minimum section title underline lengths.
2517   - Removed the 4-character minimum for section title underlines.
2519 * extras: Directory added to project; contains third-party modules
2520   that Docutils depends on (optparse, textwrap, roman).  These are
2521   only installed if they're not already present.
2523 * licenses: Directory added to project; contains copies of license
2524   files for non-public-domain files.
2526 * spec/doctree.txt:
2528   - Changed the focus.  It's about DTD elements:  structural
2529     relationships, semantics, and external (public) attributes.  Not
2530     about the element class library.
2531   - Moved some implementation-specific stuff into ``docutils.nodes``
2532     docstrings.
2533   - Wrote descriptions of all common attributes and parameter
2534     entities.  Filled in introductory material.
2535   - Working through the element descriptions: 55 down, 37 to go.
2536   - Removed "Representation of Horizontal Rules" to
2537     spec/rst/alternatives.txt.
2539 * spec/docutils.dtd:
2541   - Added "generated" inline element.
2542   - Added "line_block" body element.
2543   - Added "auto" attribute to "title".
2544   - Changed content models of "literal_block" and "doctest_block" to
2545     ``%text.model``.
2546   - Added ``%number;`` attribute type parameter entity.
2547   - Changed ``%structural.elements;`` to ``%section.elements``.
2548   - Updated attribute types; made more specific.
2549   - Added "address" bibliographic element.
2550   - Added "line" attribute to ``system_message`` element.
2551   - Removed "field_argument" element; "field_name" may contain
2552     multiple words and whitespace.
2553   - Changed public identifier to docutils.sf.net.
2554   - Removed "interpreted" element; added "title_reference",
2555     "abbreviation", "acronym".
2556   - Removed "refuri" attribute from "footnote_reference" and
2557     "citation_reference".
2558   - Added "sidebar", "rubric", "attribution", "admonition",
2559     "superscript", "subscript", and "inline" elements.
2561 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2563 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2565 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2567 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2568   Dallas Mahrt.
2570 * spec/transforms.txt: Added to project.
2572 * spec/howto: Added subdirectory, for developer how-to docs.
2574 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
2575   Elza, edited & extended by David Goodger.
2577 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
2578   project.
2580 * spec/rst/alternatives.txt:
2582   - Added "Doctree Representation of Transitions" from
2583     spec/doctree.txt.
2584   - Updated "Inline External Targets" & closed the debate.
2585   - Added ideas for interpreted text syntax extensions.
2586   - Added "Nested Inline Markup" section.
2588 * spec/rst/directives.txt:
2590   - Added directives: "topic", "sectnum", "target-notes",
2591     "line-block", "parsed-literal", "include", "replace", "sidebar",
2592     "admonition", "rubric", "epigraph", "highlights", "unicode" and
2593     "class".
2594   - Formalized descriptions of directive details.
2595   - Added an "align" attribute to the "image" & "figure" directives
2596     (by Adam Chodorowski).
2597   - Added "class" options to "topic", "sidebar", "line-block",
2598     "parsed-literal", "contents", and "image"; and "figclass" to
2599     "figure".
2601 * spec/rst/interpreted.txt: Added to project.  Descriptions of
2602   interpreted text roles.
2604 * spec/rst/introduction.txt:
2606   - Added pointers to material for new users.
2608 * spec/rst/reStructuredText.txt:
2610   - Disambiguated comments (just add a newline after the "::").
2611   - Updated enumerated list description; added a discussion of the
2612     second-line validity checking.
2613   - Updated directive description.
2614   - Added a note redirecting newbies to the user docs.
2615   - Expanded description of inline markup start-strings in non-markup
2616     contexts.
2617   - Removed field arguments and made field lists a generic construct.
2618   - Removed the 4-character minimum for section title underlines.
2619   - Clarified term/classifier delimiter & inline markup ambiguity
2620     (definition lists).
2621   - Added "Embedded URIs".
2622   - Updated "Interpreted Text" section.
2623   - Added "Character-Level Inline Markup" section.
2625 * test: Continually adding & updating tests.
2627   - Moved test/test_rst/ to test/test_parsers/test_rst/.
2628   - Moved test/test_pep/ to test/test_readers/test_pep/.
2629   - Added test/test_readers/test_python/.
2630   - Added test/test_writers/ (Engelbert Gruber).
2632 * tools:
2634   - Made the ``locale.setlocale()`` calls in front ends
2635     fault-tolerant.
2637 * tools/buildhtml.py:
2639   - Added "--silent" option.
2640   - Fixed bug with absolute paths & "--config".
2641   - Updated for new I/O classes.
2642   - Added some exception handling.
2643   - Separated publishers' setting defaults; prevents interference.
2644   - Updated for new ``publish_file()`` convenience function.
2646 * tools/pep-html-template:
2648   - Allow for "--embed-stylesheet".
2649   - Added Docutils version to "generator" meta tag.
2650   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2651   - Conform to XHTML spec.
2653 * tools/pep2html.py:
2655   - Made ``argv`` a parameter to ``main()``.
2656   - Added support for "Content-Type:" header & arbitrary PEP formats.
2657   - Linked "Content-Type: text/plain" to PEP 9.
2658   - Files skipped (due to an error) are not pushed onto the server.
2659   - Updated for new I/O classes.
2660   - Added ``check_requirements()`` & ``pep_type_error()``.
2661   - Added some exception handling.
2662   - Updated for new ``publish_string()`` convenience function.
2663   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2665 * tools/quicktest.py:
2667   - Added "-V"/"--version" option.
2669 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2671 * tools/unicode2rstsubs.py: Added to project.  Produces character
2672   entity files (reSructuredText substitutions) from the MathML master
2673   unicode.xml file.
2675 * tools/editors: Support code for editors, added to project.  Contains
2676   ``emacs/restructuredtext.el``.
2678 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2680   - Added style for chunks of inline literals.
2681   - Removed margin for first child of table cells.
2682   - Right-aligned field list names.
2683   - Support for auto-numbered section titles in TOCs.
2684   - Increased the size of inline literals (<tt>) in titles.
2685   - Restored the light gray background for inline literals.
2686   - Added support for "line_block" elements.
2687   - Added style for "address" elements.
2688   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2689   - Improved field list rendering.
2690   - Vertical whitespace improvements.
2691   - Removed "a.target" style.
2693 * tools/stylesheets/pep.css:
2695   - Fixed nested section margins.
2696   - Other changes parallel those of ``../default.css``.
2699 Release 0.2 (2002-07-31)
2700 ========================
2702 General:
2704 - The word "component" was being used ambiguously.  From now on,
2705   "component" will be used to mean "Docutils component", as in Reader,
2706   Writer, Parser, or Transform.  Portions of documents (Table of
2707   Contents, sections, etc.)  will be called "document parts".
2708 - Did a grand renaming: a lot of ``verylongnames`` became
2709   ``very_long_names``.
2710 - Cleaned up imports: no more relative package imports or
2711   comma-separated lists of top-level modules.
2712 - Added support for an option values object which carries default
2713   settings and overrides (from command-line options and library use).
2714 - Added internal Unicode support, and support for both input and
2715   output encodings.
2716 - Added support for the ``docutils.io.IO`` class & subclasses.
2718 Specific:
2720 * docutils/__init__.py:
2722   - Added ``ApplicationError`` and ``DataError``, for use throughout
2723     the package.
2724   - Added ``Component`` base class for Docutils components; implements
2725     the ``supports`` method.
2726   - Added ``__version__`` (thus, ``docutils.__version__``).
2728 * docutils/core.py:
2730   - Removed many keyword parameters to ``Publisher.__init__()`` and
2731     ``publish()``; bundled into an option values object.  Added
2732     "argv", "usage", "description", and "option_spec" parameters for
2733     command-line support.
2734   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2735     methods.
2736   - Reworked I/O model for ``docutils.io`` wrappers.
2737   - Updated ``Publisher.set_options()``; now returns option values
2738     object.
2739   - Added support for configuration files (/etc/docutils.conf,
2740     ./docutils.conf, ~/.docutils).
2741   - Added ``Publisher.setup_option_parser()``.
2742   - Added default usage message and description.
2744 * docutils/frontend.py: Added to project; support for front-end
2745   (command-line) scripts.  Option specifications may be augmented by
2746   components.  Requires Optik (http://optik.sf.net/) for option
2747   processing (installed locally as docutils/optik.py).
2749 * docutils/io.py: Added to project; uniform API for a variety of input
2750   output mechanisms.
2752 * docutils/nodes.py:
2754   - Added ``TreeCopyVisitor`` class.
2755   - Added a ``copy`` method to ``Node`` and subclasses.
2756   - Added a ``SkipDeparture`` exception for visitors.
2757   - Renamed ``TreePruningException`` from ``VisitorException``.
2758   - Added docstrings to ``TreePruningException``, subclasses, and
2759     ``Nodes.walk()``.
2760   - Improved docstrings.
2761   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2762   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2763     imports.
2764   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2765     ``PreDecorative`` mixin.
2766   - Reworked the name/id bookkeeping; to ``document``, removed
2767     ``explicit_targets`` and ``implicit_targets`` attributes, added
2768     ``nametypes`` attribute and ``set_name_id_map`` method.
2769   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2770     traversals.
2771   - Added ``document.has_name()`` method.
2772   - Fixed DOM generation for list-attributes.
2773   - Added category class ``Labeled`` (used by footnotes & citations).
2774   - Added ``Element.set_class()`` method (sets "class" attribute).
2776 * docutils/optik.py: Added to project.  Combined from the Optik
2777   package, with added option groups and other modifications.  The use
2778   of this module is probably only temporary.
2780 * docutils/statemachine.py:
2782   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2783   - Added underscores to improve many awkward names.
2784   - In ``string2lines()``, changed whitespace normalizing translation
2785     table to regexp; restores Python 2.0 compatibility with Unicode.
2787 * docutils/urischemes.py:
2789   - Filled in some descriptions.
2790   - Added "shttp" scheme.
2792 * docutils/utils.py:
2794   - Added ``clean_rcs_keywords`` function (moved from
2795     docutils/transforms/frontmatter.py
2796     ``DocInfo.filter_rcs_keywords``).
2797   - Added underscores to improve many awkward names.
2798   - Changed names of Reporter's thresholds:
2799     warning_level -> report_level; error_level -> halt_level.
2800   - Moved ``utils.id()`` to ``nodes.make_id()``.
2801   - Added ``relative_path(source, target)``.
2803 * docutils/languages/de.py: German mappings; added to project.  Thanks
2804   to Gunnar Schwant for the translations.
2806 * docutils/languages/en.py: Added "Dedication" bibliographic field
2807   mappings.
2809 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2810   Chodorowski.
2812 * docutils/parsers/rst/states.py:
2814   - Added underscores to improve many awkward names.
2815   - Added RFC-2822 header support.
2816   - Extracted the inline parsing code from ``RSTState`` to a separate
2817     class, ``Inliner``, which will allow easy subclassing.
2818   - Made local bindings for ``memo`` container & often-used contents
2819     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2820   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2821   - Added ``MarkupMismatch`` exception; for late corrections.
2822   - Added ``-/:`` characters to inline markup's start string prefix,
2823     ``/`` to end string suffix.
2824   - Fixed a footnote bug.
2825   - Fixed a bug with literal blocks.
2826   - Applied patch from Simon Budig: simplified regexps with symbolic
2827     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2828   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2829   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2830   - Allowed non-ASCII in "simple names" (directive names, field names,
2831     references, etc.).
2832   - Converted ``Inliner.patterns.initial`` to be dynamically built
2833     from parts with ``build_regexp()`` function.
2834   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2835   - Updated docstrings.
2836   - Changed "table" to "grid_table"; added "simple_table" support.
2838 * docutils/parsers/rst/tableparser.py:
2840   - Changed ``TableParser`` to ``GridTableParser``.
2841   - Added ``SimpleTableParser``.
2842   - Refactored naming.
2844 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2845   a fallback language for directive names.
2847 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2848   directive to use a ``pending`` element, used only by HTML writers.
2850 * docutils/parsers/rst/directives/parts.py: Renamed from
2851   components.py.
2853   - Added "backlinks" attribute to "contents" directive.
2855 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2856   project by Adam Chodorowski.
2858 * docutils/readers/__init__.py: Gave Readers more control over
2859   choosing and instantiating Parsers.
2861 * docutils/readers/pep.py: Added to project; for PEP processing.
2863 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2864   requires a ``component`` parameter.
2866 * docutils/transforms/components.py: Added to project; transforms
2867   related to Docutils components.
2869 * docutils/transforms/frontmatter.py:
2871   - In ``DocInfo.extract_authors``, check for a single "author" in an
2872     "authors" group, and convert it to a single "author" element.
2873   - Added support for "Dedication" and generic bibliographic fields.
2875 * docutils/transforms/peps.py: Added to project; PEP-specific.
2877 * docutils/transforms/parts.py: Renamed from old components.py.
2879   - Added filter for `Contents`, to use alt-text for inline images,
2880     and to remove inline markup that doesn't make sense in the ToC.
2881   - Added "name" attribute to TOC topic depending on its title.
2882   - Added support for optional TOC backlinks.
2884 * docutils/transforms/references.py: Fixed indirect target resolution
2885   in ``Hyperlinks`` transform.
2887 * docutils/transforms/universal.py:
2889   - Changed ``Messages`` transform to properly filter out system
2890     messages below the warning threshold.
2891   - Added ``Decorations`` transform (support for ``--generator``,
2892     ``--date``, ``--time``, ``--source-link`` options).
2894 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2895   Engelbert Gruber's PDF writer.
2897 * docutils/writers/html4css1.py:
2899   - Made XHTML-compatible (switched to lowercase element & attribute
2900     names; empty tag format).
2901   - Escape double-dashes in comment text.
2902   - Improved boilerplate & modularity of output.
2903   - Exposed modular output in Writer class.
2904   - Added a "generator" meta tag to <head>.
2905   - Added support for the ``--stylesheet`` option.
2906   - Added support for ``decoration``, ``header``, and ``footer``
2907     elements.
2908   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2909     translation table to regexp; restores Python 2.0 compatibility
2910     with Unicode.
2911   - Added the translator class as instance variable to the Writer, to
2912     make it easily subclassable.
2913   - Improved option list spacing (thanks to Richard Jones).
2914   - Modified field list output.
2915   - Added backlinks to footnotes & citations.
2916   - Added percentage widths to "<col>" tags (from colspec).
2917   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2918     "<span>" changed to "<var>".
2919   - Inline literals: "<code>" changed to "<tt>".
2920   - Many changes to optimize vertical space: compact simple lists etc.
2921   - Add a command-line options & directive attributes to control TOC
2922     and footnote/citation backlinks.
2923   - Added support for optional footnote/citation backlinks.
2924   - Added support for generic bibliographic fields.
2925   - Identify backrefs.
2926   - Relative URLs for stylesheet links.
2928 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2929   PEPs (subclass of ``html4css1.Writer``).
2931 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2933 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2934   of the Docutils internal doctree in XML.
2936 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2938 * spec/doctree.txt:
2940   - Changed the title to "The Docutils Document Tree".
2941   - Added "Hyperlink Bookkeeping" section.
2943 * spec/docutils.dtd:
2945   - Added ``decoration``, ``header``, and ``footer`` elements.
2946   - Brought ``interpreted`` element in line with the parser: changed
2947     attribute "type" to "role", added "position".
2948   - Added support for generic bibliographic fields.
2950 * spec/notes.txt: Continual updates.  Added "Project Policies".
2952 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
2953   section.
2955 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2957 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
2958   mailing list discussions.
2960 * spec/pep-0287.txt:
2962   - Renamed to "reStructuredText Docstring Format".
2963   - Minor edits.
2964   - Reworked Q&A as an enumerated list.
2965   - Converted to reStructuredText format.
2967 * spec/pysource.dtd:
2969   - Reworked structural elements, incorporating ideas from Tony Ibbs.
2971 * spec/pysource.txt: Removed from project.  Moved much of its contents
2972   to pep-0258.txt.
2974 * spec/rst/alternatives.txt:
2976   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2977   - Added "Inline External Targets" section.
2979 * spec/rst/directives.txt:
2981   - Added "backlinks" attribute to "contents" directive.
2983 * spec/rst/problems.txt:
2985   - Updated the Enumerated List Markup discussion.
2986   - Added new alternative table markup syntaxes.
2988 * spec/rst/reStructuredText.txt:
2990   - Clarified field list usage.
2991   - Updated enumerated list description.
2992   - Clarified purpose of directives.
2993   - Added ``-/:`` characters to inline markup's start string prefix,
2994     ``/`` to end string suffix.
2995   - Updated "Authors" bibliographic field behavior.
2996   - Changed "inline hyperlink targets" to "inline internal targets".
2997   - Added "simple table" syntax to supplement the existing but
2998     newly-renamed "grid tables".
2999   - Added cautions for anonymous hyperlink use.
3000   - Added "Dedication" and generic bibliographic fields.
3002 * test: Made test modules standalone (subdirectories became packages).
3004 * test/DocutilsTestSupport.py:
3006   - Added support for PEP extensions to reStructuredText.
3007   - Added support for simple tables.
3008   - Refactored naming.
3010 * test/package_unittest.py: Renamed from UnitTestFolder.py.
3012   - Now supports true packages containing test modules
3013     (``__init__.py`` files required); fixes duplicate module name bug.
3015 * test/test_pep/: Subpackage added to project; PEP testing.
3017 * test/test_rst/test_SimpleTableParser.py: Added to project.
3019 * tools:
3021   - Updated html.py and publish.py front-end tools to use the new
3022     command-line processing facilities of ``docutils.frontend``
3023     (exposed in ``docutils.core.Publisher``), reducing each to just a
3024     few lines of code.
3025   - Added ``locale.setlocale()`` calls to front-end tools.
3027 * tools/buildhtml.py: Added to project; batch-generates .html from all
3028   the .txt files in directories and subdirectories.
3030 * tools/default.css:
3032   - Added support for ``header`` and ``footer`` elements.
3033   - Added styles for "Dedication" topics (biblio fields).
3035 * tools/docutils.conf: A configuration file; added to project.
3037 * tools/docutils-xml.py: Added to project.
3039 * tools/pep.py: Added to project; PEP to HTML front-end tool.
3041 * tools/pep-html-template: Added to project.
3043 * tools/pep2html.py: Added to project from Python (nondist/peps).
3044   Added support for Docutils (reStructuredText PEPs).
3046 * tools/quicktest.py:
3048   - Added the ``--attributes`` option, hacked a bit.
3049   - Added a second command-line argument (output file); cleaned up.
3051 * tools/stylesheets/: Subdirectory added to project.
3053 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
3056 Release 0.1 (2002-04-20)
3057 ========================
3059 This is the first release of Docutils, merged from the now inactive
3060 reStructuredText__ and `Docstring Processing System`__ projects.  For
3061 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
3062 `DPS HISTORY`__ files.
3064 __ http://structuredtext.sourceforge.net/
3065 __ http://docstring.sourceforge.net/
3066 __ http://structuredtext.sourceforge.net/HISTORY.html
3067 __ http://docstring.sourceforge.net/HISTORY.html
3069 General changes: renamed 'dps' package to 'docutils'; renamed
3070 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
3071 the test suites (reStructuredText's test/test_states renamed to
3072 test/test_rst); and all modifications required to make it all work.
3074 * docutils/parsers/rst/states.py:
3076   - Improved diagnostic system messages for missing blank lines.
3077   - Fixed substitution_reference bug.
3081    Local Variables:
3082    mode: indented-text
3083    indent-tabs-mode: nil
3084    sentence-end-double-space: t
3085    fill-column: 70
3086    End: