Smartquotes: correct "educating" of quotes around inline markup.
[docutils.git] / HISTORY.txt
blob20730689c79b00e646fa80730d189d7c93f2cd7a
1 .. -*- coding: utf-8 -*-
3 ==================
4  Docutils History
5 ==================
7 :Author: David Goodger; open to all Docutils developers
8 :Contact: goodger@python.org
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.9.1
17 ===================
19 * General
20   
21   - Dropped support for Python 2.3.
22   - ``docutils/math``, ``docutils/error_reporting.py``, and
23     ``docutils/urischemes.py`` moved to the utils package.
24   - Fix [3541369] Relative __import__ also with Python 3.3.
25   - Fix [3559988] and [3560841] __import__ local writer, reader, languages 
26     and parsers for Python 2.7 up.
27   - Fix import of PIL.Image.
28   - Change default of "syntax highlight" option to "long", 
29     basic syntax highlight styles for LaTeX and HTML.
31 * docutils/io.py
33   - FileInput/FileOutput: no system-exit on IOError.  The `handle_io_errors`
34     option is ignored and will be removed in a future release.
35   - Fix Py3k error writing to stdout with encoding differing from default.
36   - Fix opening binary files under Py3k (thanks to Dominic Fitzpatrick).
38 * docutils/parsers/rst/directives/misc.py
40   - Fix [ 3546533 ] Unicode error with `date` directive.
42 * docutils/transforms/universal.py
44   - Add SmartQuotes transform for typographic quotes and dashes.
46 * docutils/writers/html4css1/__init__.py
48   - Use ``<code>`` tag for inline "code",
49     do not drop nested inline nodes (syntax highlight tokens).
50   - Customizable MathJax URL (based on patch by Dmitry Shachnev).
51   - No line break after opening inline math tag.
53 * docutils/writers/manpage.py
55   - Apply [ 3527401 ] addmonition's don't preserve indentation
56   - Apply [ 3527397 ] Add indentation to literal blocks in manpage writer.
58 * docutils/writers/latex2e/__init__.py, docutils/writers/xetex/__init__.py
60   - Apply [ 3555160 ] ensure order of "otherlanguages".
61   - Fix section numbering by LaTeX.
63 * docutils/writers/s5_html/__init__.py
65   - Fix [ 3556388 ] Mathjax does not work with rst2s5.
67 * docutils/writers/s5_html/docutils_xml.py
69   - Fix [ 3552403 ] Prevent broken PyXML replacing stdlibs xml module.
71 * setup.py
73   - Tag ``math.css`` stylesheet as data file (patch by Dmitry Shachnev).
75 * tools/test/test_buildhtml.py
77   - Fix [ 3521167 ] allow running in any directory.
78   - Fix [ 3521168 ] allow running with Python 3.
81 Release 0.9.1 (2012-06-17)
82 ==========================
84 * setup.py
86   - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
87     installed in the PYTHONPATH. Converted tests are now
88     stored in ``test3/``, tools no longer need conversion.
90     If you installed one of Docutils versions 0.7 ... 0.9 with
91     ``setup.py install`` under Python 3, remove the spurious
92     ``test/`` and ``tools/`` directories in the site library root.
94 * test/
96   - Make tests independent from the location of the ``test/`` directory.
97   - Use converted sources (from the ``build/`` directory) for tests under
98     Python 3.
100 * tools/
102   - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
104 * docutils/io.py
106   - Fix writing binary data to sys.stdout under Python 3 (allows
107     ``rst2odt.py`` to be used with output redirection).
109 * docutils/parsers/rst/directives/misc.py
111   - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
112     ``locale == C`` and 8-bit char in path argument of `include` directive.
114 * test/alltests.py
116   - class `Tee`: catch UnicodeError when writing to "ascii" stream or
117     file under Python 3.
119 Release 0.9 (2012-05-02)
120 ========================
122 * General:
124   - New reStructuredText "code" role and directive and "code" option
125     of the "include" directive with syntax highlighting by Pygments_.
126   - Fix parse_option_marker for option arguments containing ``=``.
127   - Fix [ 2993756 ]: import Python Imaging Library's Image module
128     via ``import PIL`` as starting with PIL 1.2,
129     "PIL lives in the PIL namespace only" (announcement__).
131 .. _Pygments: http://pygments.org/
132 __ http://mail.python.org/pipermail/image-sig/2011-January/006650.html
134 * setup.py
136   - Fix [ 2971827 ] and [ 3442827 ]
137     extras/roman.py moved to docutils/utils/roman.py
139 * docutils/frontend.py
141   - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
143 * docutils/io.py
145   - Fix [ 3395948 ] (Work around encoding problems in Py3k).
146   - `mode` argument for FileOutput avoids code replication in
147     BinaryFileOutput.
148   - New exceptions InputError and OutputError for IO errors in
149     FileInput/FileOutput.
151 * docutils/core.py:
153   - No "hard" system exit on file IO errors: catch and report them in
154     `Publisher.reportException` instead. Allows handling by a calling
155     application if the configuration setting `traceback` is True.
157 * docutils/utils.py -> docutils/utils/__init__.py
159   - docutils.utils is now a package (providing a place for sub-modules)
161   .. note:: docutils/math, docutils/error_reporting.py, and
162      docutils/urischemes.py will move to the utils package in the next
163      release, too. See RELEASE-NOTES__
165      __ RELEASE-NOTES.html
167   - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
168     errors recording non-ASCII filenames (fixes [ 3434355 ]).
170   - Fix relative_path() with source=None and `unicode` target.
172 * docutils/parsers/rst/states.py
174   - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
175     characters and "international" quotes around inline markup.
176   - Use `field_marker` pattern to look for start of a
177     directive option block (fixes [ 3484857 ]).
179 * docutils/parsers/rst/tableparser.py
181   - Fix [ 2926161 ] for simple tables.
182     (Combining chars in grid tables still contribute to cell width.)
184 * docutils/writers/latex2e/__init__.py
186   - Support the `abbreviation` and `acronym` standard roles.
187   - Record only files required to generate the LaTeX source as dependencies.
188   - Fix handling of missing stylesheets.
189   - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
190     when suppressing LaTeX section numbering.
191   - Use ``\DUtitle`` for unsupported section levels
192   - Apply [ 3512791 ] do not compare string literals with "is"
194 * docutils/writers/xetex/__init__.py
196   - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
198 * docutils/writers/html4css1/__init__.py
200   - Change default for `math-output` setting to MathJax.
201   - Fix handling of missing stylesheets.
203 * docutils/writers/docutils_xml.py
205   - Use the visitor pattern with default_visit()/default_depart() methods
206     instead of minidom to facilitate special handling of selected nodes.
207   - Support raw XML (inserted as-is inside a <raw></raw> node).
209 * docutils/writers/manpage.py
211   - Do not emit comment line with trailing blank. Problematic for VCS.
213 Release 0.8.1 (2011-08-30)
214 ==========================
216 * General:
218   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
219     and [ 3395920 ] (correct copyright info for rst.el).
221 * test/
223   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
225 * docutils/writers/latex2e/__init__.py
227   - Clean up Babel language setting. Restores Sphinx compatibility.
229 Release 0.8 (2011-07-07)
230 ========================
232 * General:
234   - Handle language codes according to `BCP 47`_.
235   - If the specified language is not supported by Docutils,
236     warn and fall back to English.
237   - Math support: reStructuredText "math" role and directive,
238     ``math`` and ``math_block`` doctree elements.
239   - Decode command line arguments with the locale's preferred encoding
240     (to allow, e.g., ``--title=Dornröschen``).
241   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
242   - New sub-module `error_reporting`: handle encoding/decoding errors
243     when reporting exceptions.
244   - Some additions to the Docutils core are released under the 2-Clause BSD
245     license, see COPYING_ for details.
247   .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
248   .. _COPYING: COPYING.html
250 * reStructuredText:
252   - Most directives now support a "name" option that attaches a
253     reference name.
255   - Directive content may start on the first line also when the directive
256     type accepts options.
258 * docs/dev/policies.txt:
260   - Recommend the 2-Clause BSD license
261     (http://www.spdx.org/licenses/BSD-2-Clause)
262     for code that is kept under the author's copyright.
264 * tools/buildhtml.py:
266   - Fix ``--local`` switch.
268 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
270 * docutils/writers/html4css1/__init__.py
272   - Set "lang" argument for objects with class argument
273     "language-<language tag>".
274   - New setting "math-output" with support for HTML, MathML, and LaTeX.
276 * docutils/writers/latex2e/__init__.py
278   - Fix [ 3043986 ] AttributeError using :local: with table of content.
279   - Place title data in the document preamble.
280   - Load `babel` package only if required.
281   - Update list of supported languages.
282   - New config setting "hyperref-options".
283     No hard-coded "unicode" hyperref option (clash with xetex).
284   - Set language for custom roles, paragraphs, block-quotes, and
285     line-quotes with class argument "language-<language tag>".
286   - Fix [ 3095603 ] wrong quotes output for russian and other languages.
287   - Convert image URI to a local file path.
288   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
289     has more than one paragraph (Wolfgang Scherer).
290   - \leavevmode before longtable only when needed (prevents spurious vspace)
291   - do not advance table counter for tables without caption
293 * docutils/writers/xetex/__init__.py
295   - New writer generating LaTeX code for compiling with ``xelatex``.
297     A separate writer (inheriting from latex2e) instead of a ``--xetex``
298     option allows separate config options for XeTeX vs. LaTeX2e.
300 * docutils/writers/manpage.py
302   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
303   - Fix: vertical space cleaning for option group ``.``.
305 * tools/editors/emacs/rst.el:
307   - Fix [ 3001100 ] does not handle spaces in filenames
308     (thanks to Jakub Wilk)
310 * docutils/utils.py:
312   - strip whitespace from stylesheet arguments
313   - exclude combining chars from column_width()
314     (partial fix for [ 2926161 ])
316 * docutils/parsers/rst/directives/misc.py:
318   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
319     nested_parse
321 * docutils/io.py:
323   - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
324     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
326 Release 0.7 (2010-07-07)
327 ========================
329 * General:
331   - Fix [ 2881769 ] setup configuration.
332   - Fix [ 2788716 ] reporting problems in included files.
334 * docutils/io.py
336   - FileInput opens files as text files with universal newline support
337     (mode "rU", configurable with the new optional argument "mode").
339 * docutils/nodes.py
341   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
343 * docutils/utils.py
345   - Fix [ 2923723 ] let decode_path() tolerate path == None
347 * docutils/writers/html4css1/__init__.py
349   - Support SVG and SWF images (thanks to Stefan Rank).
350   - Generate valid XHTML for centered images with targets.
351     Use CSS classes instead of "align" tags for image alignment.
353 * docutils/writers/latex2e/__init__.py
355   - Use `transforms.writer_aux.Admonitions` to "normalize" special
356     admonitions.
357   - Use the ``\url`` command for URLs (breaks long URLs instead of
358     writing into the margin).
359   - Preserve runs of spaces in `inline literals`__.
360   - Deprecate ``figure_footnotes`` setting.
361   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
362   - New ``latex_preamble`` setting.
363   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
364   - Fix hyperlink targets (labels) for images, figures, and tables.
365   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
366   - Apply [ 2961991 ] Call hyperref with unicode option.
367   - Drop the special `output_encoding`__ default ("latin-1").
368     The Docutils wide default (usually "UTF-8") is used instead.
369   - Render inline markup in document title and subtitle.
370   - Fix numbering depth with LaTeX section numbering.
371   - Update Unicode -> LaTeX translations.
372   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
374 __ docs/ref/restructuredtext.html#inline-literals
375 __ docs/user/config.html#docutils-footnotes
376 __ docs/user/config.html#output_encoding
378 * docutils/writers/manpage.py
380   - Fix: supported attribute (thanks to peter2108).
381   - Remove trailing blanks in code (keep in sync with mercurial version).
382   - Titles level 1, that is ``.SH``, always uppercase.
383   - Apply patch from mg: literal text should be bold in man-pages.
385 * docutils/nodes.py
387   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
388     turkish locale.
390 * setup.py:
392   - Python 3 support: copy test/ and tools/ to the build-dir
393     and convert Python sources with 2to3.
396 Release 0.6 (2009-10-11)
397 ========================
399 * General:
401   - Docutils is now compatible with Python versions from 2.3 up to 2.6
402     and convertible to 3.1 code.
404     + Node.__nonzero__ returns True instead of 1.
405     + use os.walk instead os.path.walk.
406     + minimize "types" module where possible.
407     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
408     + Text nodes now subclass unicode rather than UserString
409       (which is gone in python 3.0).
410     + 3.0 compatibility module docutils._compat
412     + Drop 2.2 compatibility workarounds.
413     + Drop extras/optparse.py and extras/textwrap.py
414       (stdlib modules since 2.3).
416   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
417   - Unix man page export: manpage writer moved from sandbox to Doctutils
418     core.
420   - Apply [ 1719345 ] Galician translation
421   - Apply [ 1905741 ] Polish translation
422   - Apply [ 1878977 ] make_id(): deaccent characters.
423   - Apply [ 2029251 ] return nonzero when tests fail.
424   - Fix [ 1692788 ] allow UTF-8 in style sheets.
425   - Fix [ 2781629 ] support non-ASCII chars in file names.
426   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
427   - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
428   - Fix [ 2821266 ] --strict option works now like --halt=info.
429   - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
430   - Fix [ 1627229 ] hyperlink references in substitutions.
432   - The "newlatex" writer is orphaned.
434 * reStructuredText:
436   - Documented Unicode characters allowed as inline markup openers,
437     closers, and delimiters.
438   - Allow units for all length specifications.
439   - Allow percent sign in "scale" argument of "figure" and "image" directives.
440   - Bugfix: The "figalign" argument of a figure now works as intended
441     (aligning the figure, not its contents).
442   - Align images with class "align-[right|center|left]"
443     (allows setting the alignment of an image in a figure).
445 * docutils/nodes.py:
447   - Added ``Element.__contains__`` method, for the in-operator.
449 * docutils/parsers/rst/states.py:
451   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
452   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
453     " " (non-breaking space), and "¡ ¿" openers.
455 * docutils/parsers/directives/misc.py:
457   - Added ``start-line`` and ``end-line`` options to "include"
458     directive to select a range of lines.
459   - Hard tabs in literal inclusions are replaced by spaces. This is
460     configurable via the new ``tab-width`` option of the "include" directive
461     (a negative tab-width prevents tab expansion).
463 * docutils/utils.py:
465   - Add ``get_stylesheet_list`` function.
466   - Apply [ 2834836 ] print info at halt
468 * docutils/transforms/universal.py:
470   - Raise default priority of StripClasses to exclude stripped classes from
471     the ToC.
473 * docutils/writers/html4css1/__init__.py:
475   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
476     separated list of stylesheets.
477   - Address [ 1938891 ] Inline literal text creates "pre" span only when
478     needed to prevent inter-word line wraps.
479   - Use `translate` method instead of repeated `replace` calls.
480   - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
481     classes to allow CSS styling that does not interfere with other
482     table-using constructs (field lists, citations, ...).
484 * docutils/writers/newlatex2e/__init__.py:
486   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
488 * docutils/writers/latex2e/__init__.py (see also
489   `<docs/user/docutils-05-compat.sty.html>`__) :
491   - Add ``--embed-stylesheet`` option.
492   - Apply [ 1474017 ] image vertical alignment is reversed.
493   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
494   - Change: has_key for dictionaries (not Nodes) to in-operator.
495   - Merge adjacent citations into one latex cite command.
496   - Failsave implementation of custom roles. LaTeX compilation now ignores
497     unknown classes instead of aborting with an error.
498   - Support custom roles based on standard roles.
499   - LaTeX packages can be used as ``--stylesheet`` arguments without
500     restriction. (A style sheet is now referenced with the ``\usepackage``
501     command, if it ends with ``.sty`` or has no extension.)
502   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
503   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
504   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
505     2005-02-04 as a configurable length unit).
506   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
507     if font-encoding is set to ''. LaTeX defaults to OT1 then.
508   - Set sub- and superscript role argument in text mode not as math.
509     Use a custom role based on sub-/superscript if you want italic shape.
510   - Shorter preamble and less dependencies: Load packages and define macros
511     only if required in the document.
512   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
513   - New custom environments and commands with optional "classes" argument.
514   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
515   - Better conformance to Docutils specifications with ``--use-latex-toc``.
516     Support for LaTeX generated ToC also with unnumbered sections.
517   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
518     section numbering by LaTeX.
519   - Use default font in admonitions and sidebar.
520   - Align of image in a figure defaults to 'center'.
521   - Bugfix: Newlines around targets and references prevent run-together
522     paragraphs.
523   - Fix internal hyperlinks.
524   - Use class defaults for page margins ('typearea' now optional).
525   - Float placement made configurable, default changed to "here definitely".
526   - Typeset generic topic as "quote block with title".
527   - Use template (file and configuration option).
528   - In the default template, load cmap.sty (fix text extraction in PDF) and
529     fixltx2e.sty (LaTeX patches, \textsubscript).
530   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
531   - Use `translate` instead of repeated `replace` calls for text encoding.
532   - Hyperlinked footnotes and support for symbol footnotes and
533     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
534   - Complete pairs of binary options
535     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
536     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
537   - New defaults:
538     - font-encoding: "T1" (formerly implicitely set by 'ae').
539     - use-latex-toc: true (ToC with page numbers).
540     - use-latex-footnotes: true (no mixup with figures).
542 * docutils/writers/manpage.py
544   - Do not print version at document end, this is done by the viewer.
545   - Do not print date at document end, this is done by the viewer.
546   - Fix storage of docinfo fields for none standard fields.
548 * docutils/tools/rst2man.py
550 Release 0.5 (2008-06-25)
551 ========================
553 * docutils/languages/he.py: Added to project: Hebrew mappings by
554   Meir Kriheli.
556 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
557   mappings by Meir Kriheli.
559 * docutils/frontend.py:
561   - Configuration files are now assumed and required to be
562     UTF-8-encoded.
563   - Paths of applied configuration files are now recorded in the
564     runtime setting ``_config_files`` (accessible via
565     ``--dump-settings``).
566   - Added ``--strip-elements-with-class`` and ``--strip-class``
567     options (``strip_elements_with_classes`` and ``strip_classes``
568     settings).
570 * docutils/io.py:
572   - Added code to determine the input encoding from data: encoding
573     declarations or the presence of byte order marks (UTF-8 & UTF-16).
574   - Added support for IronPython 1.0.
576 * docutils/nodes.py:
578   - Added ``document.__getstate__`` method, for pickling.
580 * docutils/parsers/rst/states.py:
582   - Allow ``+`` and ``:`` in reference names.
583   - Unquoted targets beginning with an underscore (``.. __target:
584     URI``) are no longer accepted.
585   - Added support for multiple attributions in a physical block quote
586     (indented text block), dividing it into multiple logical block
587     quotes.
588   - Added support for unicode bullets in bullet lists: "•", "‣", and
589     "⁃".
590   - Added support for new object-oriented directive interface,
591     retaining compatibility to the old functional interface.
592   - Added support for throwing ``DirectiveError``'s from within
593     directive code.
595 * docutils/parsers/rst/__init__.py:
597   - Added ``Directive`` base class.
598   - Added ``DirectiveError`` base class.
599   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
600     definitions.
602 * docutils/parsers/directives/:
604   - Refactored all reStructuredText directives to use the new
605     object-oriented directive interface.  Errors are now (mostly)
606     thrown using the new ``DirectiveError`` class.
608 * docutils/parsers/directives/misc.py:
610   - Added ``start-after`` and ``end-before`` options to ``include``
611     directive; thanks to Stefan Rank.
613 * docutils/transforms/universal.py:
615   - Added ``StripClassesAndElements`` transform to remove from the
616     document tree all elements with classes in
617     ``settings.strip_elements_with_classes`` and all "classes"
618     attribute values in ``self.document.settings.strip_classes``.
620 * docutils/transforms/writer_aux.py:
622   - Added ``Admonitions`` transform to transform specific admonitions
623     (like ``note``, ``warning``, etc.) into generic admonitions with a
624     localized title.
626 * docutils/writers/html4css1/__init__.py:
628   - Moved template functionality from the PEP/HTML writer here.
629   - Expanded the fragments available in the ``parts`` attribute.
630   - Moved ``id`` attributes from titles to surrounding ``div``
631     elements.
632   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
633     universally supported now).
634   - ``template.txt`` is now opened in text mode instead of binary mode
635     (to ensure Windows compatibility).
636   - ``a`` elements now have an "internal" or "external" class,
637     depending on reference type.
639 * docutils/writers/html4css1/template.txt: Added to project.
641 * docutils/writers/pep_html/:
643   - Moved template functionality to the HTML writer.
645 * docutils/writers/s5_html/__init__.py:
647   - Added ``view_mode`` & ``hidden_controls`` settings
648     (``--view-mode`` & ``--hidden-controls/--visible-controls``
649     options).
651 * docutils/writers/latex2e/__init__.py:
653   - Add ``--literal-block-env``
654   - Fix: escaping ``%`` in href urls.
655   - Move usepackage hyperref after stylesheet inclusion.
656   - Fix: scrartcl does not have chapter but scrreprt.
657   - Add newline after ``\end{verbatim}``.
658   - Merge smaller differences from latex2e_adaptive_preamble.
659   - Add ``use-part-section``.
660   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
661   - Using leavemode option_list no longer needs to check if parent
662     is a definition list.
663   - Append ``\leavemode`` to definition list terms.
664   - No longer write visit\_/depart_definition_list_item comments to
665     output.
666   - Table column width with 3 decimal places.
667   - Add table stubs support (boldfont).
668   - Add assemble_parts to writer.
669   - Add simply support for nested tables.
670   - Fix verbatim in tables if use-verbatim-when-possible.
671   - Use section commands down to subparagraph.
672   - Put ensuremath around some latin1 chars.
673   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
674   - New option ``--use-bibtex=style,db1,db2``.
675   - New option ``--reference-label`` to allow usage of LaTeX ref for
676     labels in section references.
677   - Add a label after every section to support sectionnumbers as reference
678     labels.
679   - Fix: bug# 1605376 rst2latex: bad options group list
680   - Remove inactive code for use_optionlist_for_option_list.
681   - Remove latex comments from option_list output.
682   - Fix: bug# 1612270 double qoutes in italian literal.
683   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
684   - Add option --use-latex-abstract.
685   - Image width unit ``px`` is translated to ``pt``.
686   - Add image height support.
687   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
688     bug #1457388
689   - Fix: Do not escape underscores in citation reference labels if
690     use-latex-citations is set.
691   - Use centering instead of center for figure contents, to avoid vertical
692     space.
693   - Recognize table class: borderless, nolines, booktabs, standard.
694   - Fix: Renaming contents section does not work with latex writer; SF
695     bug #1487405.
696   - Applied patch for custom roles with classes from Edward Loper.
697   - Fixed bug that caused crashes with more than 256 lists.
699 * docutils/writers/pep_html/__init__.py:
701   - Changed to support new python.org website structure and
702     pep2pyramid.py.
704 * docs/howto/security.txt: "Deploying Docutils Securely", added to
705   project.
707 * tools/buildhtml.py:
709   -- Added ``ignore`` setting to exclude a list of shell patterns
710      (default: ``.svn:CVS``).
712 * tools/editors/emacs/rst.el:
714   - Changed license to "GPL".
715   - Added ``rst-straighten-decorations`` function.
716   - The ``compile`` module is now always loaded.
717   - Added ``rst-toggle-line-block`` function.
718   - Headings consisting only of non-ASCII characters are now
719     recognized by ``rst-toc`` and ``rst-adjust``.
720   - Added font-lock support for multi-line comments where the first
721     comment line is empty.
722   - Added ``(require 'font-lock)``.
724 * setup.py:
726   - Provide descriptive error message if distutils is missing.
729 Release 0.4 (2006-01-09)
730 ========================
732 * General:
734   - Updated the project policies for trunk/branch development &
735     version numbering.
737 * docutils/__init__.py:
739   - Added ``__version_details__`` attribute to describe code source
740     (repository/snapshot/release).
741   - Replaced ``default_transforms`` attribute of TransformSpec with
742     ``get_transforms()`` method.
744 * docutils/core.py:
746   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
747     functions, for document tree extraction and reprocessing.
749 * docutils/io.py:
751   - Added ``DocTreeInput`` class, for reprocessing existing documents.
752   - Added support for non-Unicode (e.g. binary) writer output.
754 * docutils/nodes.py:
756   - Re-introduced ``Targetable.indirect_reference_name``, for
757     MoinMoin/reST compatibility (removed in r3124/r3129).
758   - Added ``serial_escape`` function; escapes string values that are
759     elements of a list, for serialization.  Modified Docutils-XML
760     writing (``Element._dom_node``) and pseudo-XML writing
761     (``Element.starttag``) to use ``serial_escape``.
762   - Added ``Node.deepcopy()`` method.
763   - Removed the internal lists ``document.substitution_refs``,
764     ``document.anonymous_refs``, and ``document.anonymous_targets``.
765   - Added a "container" element.
766   - Fixed bug where values of list-valued attributes of elements
767     originating from custom interpreted text roles (i.e., with custom
768     classes) were being shared between element instances.  Reported by
769     Shmuel Zeigerman.
771 * docutils/statemachine.py:
773   - Added trailing whitespace stripping to ``string2lines()``.
774   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
775     Asian double-width character support.
777 * docutils/utils.py:
779   - Added ``east_asian_column_width()`` for double-width character
780     support.
782 * docutils/languages/ja.py: Added to project: Japanese mappings by
783   Hisashi Morita.
785 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
786   mappings by Panjunyong.
788 * docutils/parsers/null.py: Added to project; a do-nothing parser.
790 * docutils/parsers/rst/__init__.py:
792   - Added validator to tab_width setting, with test.  Closes SF bug
793     #1212515, report from Wu Wei.
795 * docutils/parsers/rst/states.py:
797   - Fixed bug with escaped colons indicating a literal block.
798   - Fixed bug with enumerated lists (SF#1254145).
799   - Backslash-escaped colons inside of field names are now allowed.
800   - Targets (implicit and explicit), anonymous hyperlink references
801     and auto-numbered footnote references inside of substitution
802     definitions are now disallowed.
803   - Fixed bug: list items with blank first lines.
804   - Fixed bug: block quote attributions with indented second lines.
805   - Added East Asian double-width character support (Python 2.4 only).
807 * docutils/parsers/rst/tableparser.py:
809   - Added East Asian double-width character support (Python 2.4 only).
811 * docutils/parsers/rst/directives/body.py:
813   - Added the "container" directive.
815 * docutils/parsers/rst/directives/misc.py:
817   - Added the "default-role", "title", and "date" directives.
818   - Added standard data file syntax to the "include" directive.
819   - Added support for "class" directive content.
821 * docutils/parsers/rst/directives/images.py:
823   - Added ``indirect_reference_name`` support for images with a target
824     option.
825   - Added support for image width and height units.
826   - Fixed bug with image "target" options.
828 * docutils/parsers/rst/directives/references.py:
830   - Added "class" attribute to "target-notes" directive, for
831     footnote_reference classes.
833 * docutils/parsers/rst/include/: Directory added to project; contains
834   standard data files for the "include" directive.  Initial contents:
835   character entity substitution definition sets, and a set of
836   definitions for S5/HTML presentations.
838 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
839   mappings by David Goodger.
841 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
842   Simplified Chinese mappings by Panjunyong.
844 * docutils/readers/__init__.py:
846   - Added universal.Decorations and universal.ExposeInternals
847     transforms as default transforms for all readers.
848   - Added ``ReReader`` base class for readers that reread an existing
849     document tree.
851 * docutils/readers/doctree.py: Added to project; a reader for existing
852   document trees.
854 * docutils/transforms/frontmatter.py:
856   - Fixed the DocInfo transform to handle SVN-style expansion of the
857     "Date" keyword.
858   - In ``DocInfo.extract_authors``, treat the contents of "authors"
859     fields uniformly.
861 * docutils/transforms/misc.py:
863   - Added misc.Transitions transform, extracted from
864     universal.FinalChecks.
866 * docutils/transforms/references.py:
868   - Added references.DanglingReferences transform, extracted from
869     universal.FinalChecks.
870   - Fixed bug with doubly-indirect substitutions.
871   - Added footnote_reference classes attribute to "TargetNotes".
872   - Fixed bug with circular substitution definitions that put Docutils
873     into an infinite loop.
875 * docutils/transforms/universal.py:
877   - Added universal.ExposeInternals transform, extracted from
878     universal.FinalChecks.
879   - Removed universal.FinalChecks transform (logic has been moved to
880     several new transforms).
881   - Fixed bug with the "expose_internals" setting and Text nodes
882     (exposed by the "rawsource" internal attribute).
883   - Added the universal.StripComments transform, implementation of the
884     "strip_comments" setting.
886 * docutils/transforms/writer_aux.py: Added to project; auxiliary
887   transforms for writers.
889   - Added ``Compound`` transform, which flattens compound paragraphs.
891 * docutils/writers/: Several writer modules (html4css1.py) were
892   converted into packages.  Support modules and data files have been
893   moved into the packages.  The stylesheets for the HTML writers are
894   now installed along with the code, the code knows where to find
895   them, and the default is to use them (actually, to embed them).
896   Some adjustments to configuration files may be necessary.  The
897   easiest way to obtain the new default behavior is to remove all
898   settings whose name includes "stylesheet".
900 * docutils/writers/__init__.py:
902   - Added universal.Messages and universal.FilterMessages transforms
903     as default transforms for all writers.
904   - Added ``UnfilteredWriter`` base class for writers that pass the
905     document tree on unchanged.
907 * docutils/writers/docutils_xml.py:
909   - Made ``xmlcharrefreplace`` the default output encoding error
910     handler.
912 * docutils/writers/html4css1/:
914   - Added support for image width and height units.
915   - Made ``xmlcharrefreplace`` the default output encoding error
916     handler.
917   - Made ``--embed-stylesheet`` the default rather than
918     ``--link-stylesheet``.
919   - Moved "id" attribute from container (section etc.) to title's <a>
920     tag, to be on the same tag as "name".
921     (!!! To be reverted in Docutils 0.5.)
922   - Added vertical space between fields of field lists.
923   - Added ``--compact-field-lists`` option to remove vertical space in
924     simple field lists.
925   - Made cloaking of email addresses with ``--cloak-email-addresses``
926     less obtrusive.
927   - Fixed support for centered images.
928   - Added support for class="compact" & class="open" lists.
930 * docutils/writers/latex2e/:
932   - Underscores in citekeys are no longer escaped.
934 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
935   mapping of Unicode characters to LaTeX equivalents.
937 * docutils/writers/s5_html/: Package added to project; writer for
938   S5/HTML slide shows.
940 * docs/dev/distributing.txt: Added to project; guide for distributors
941   (package maintainers).
943 * docs/dev/hacking.txt: Added to project; guide for developers.
945 * docs/ref/doctree.txt:
947   - Updated for plural attributes "classes", "ids", "names",
948     "dupnames".
949   - Added the "container" element.
951 * docs/ref/docutils.dtd:
953   - Updated for plural attributes "classes", "ids", "names",
954     "dupnames".
956 * docs/user/emacs.txt: Added to project; a document about Emacs
957   support for reStructuredText and Docutils.
959 * docs/user/links.txt: Added to project; lists of Docutils-related
960   links.
962 * docs/user/mailing-lists.txt: Added to project; information about
963   Docutils-related mailing lists and how to access them.
965 * docs/user/slide-shows.txt: Added to project; example of and docs for
966   the S5/HTML writer (``rst2s5.py`` front end).
968 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
969   Files", added to project.
971 * test/coverage.sh: Added to project; test coverage script.
973 * test/DocutilsTestSupport.py:
975   - Added support for specifying runtime settings at the suite level.
977 * test/test_functional.py:
979   - Added the ``clear_output_directory`` function.
980   - Added support for ``_test_more`` functions in functional test
981     config files.
983 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
985 * tools/rstpep2html.py: Renamed from pep.py.
987 * tools/dev/create_unimap.py: Added to project; script to create the
988   docutils/writers/unimap_latex.py mapping file.
990 * tools/dev/profile_docutils.py: Added to project; profiler script.
992 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
994 * tools/editors/emacs/restructuredtext.el,
995   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
996   Removed from project; the functionality is now contained in rst.el.
998 * tools/editors/emacs/rst.el: Added to project.  Added many features
999   and fixed many bugs.  See docs/user/emacs.txt for details.
1001 * tools/stylesheets: Removed from project.  Stylesheets have been
1002   renamed and moved into writer packages.
1005 Release 0.3.9 (2005-05-26)
1006 ==========================
1008 * General:
1010   - Eliminated and replaced all uses of the old string attributes
1011     ``id``, ``name``, ``dupname`` and ``class`` with references to the
1012     new list attributes ``ids``, ``names``, ``dupnames`` and
1013     ``classes`` throughout the whole source tree.
1015 * docutils/core.py:
1017   - Enabled ``--dump-*`` options when ``--traceback`` specified,
1018     allowing for easier debugging.
1019   - In ``Publisher.publish()``, expanded the generic top-level
1020     exception catching.
1022 * docutils/examples.py:
1024   - Added ``internals`` function for exploration.
1026 * docutils/io.py:
1028   - Fixed ``Input.decode`` method to apply heuristics only if no
1029     encoding is explicitly given, and to provide better reporting of
1030     decoding errors.
1031   - The ``Input.decode`` method now removes byte order marks (BOMs)
1032     from input streams.
1034 * docutils/nodes.py:
1036   - ``image`` element class changed to subclass of Element, not
1037     TextElement (it's an empty element, and cannot contain text).
1038   - Added ``attr_defaults`` dictionary for default attribute values.
1039   - Added empty list as default value for the following attributes:
1040     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
1041   - Added ``document.decoration`` attribute,
1042     ``document.get_decoration`` method, and ``decoration.get_header``
1043     & ``.get_footer`` methods.
1044   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
1045     methods.
1047 * docutils/utils.py:
1049   - Removed ``docutils.utils.Reporter.categories``,
1050     ``docutils.utils.ConditionSet``, and all references to them, to
1051     simplify error reporting.
1053 * docutils/languages/nl.py: Added to project; Dutch mappings by
1054   Martijn Pieters.
1056 * docutils/parsers/rst/__init__.py:
1058   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
1060 * docutils/parsers/rst/states.py:
1062   - Added check for escaped at-mark to prevent email address recognition.
1063   - Fixed option lists to allow spaces inside ``<angle-bracketed option
1064     arguments>``.
1065   - Allowed whitespace in paths and URLs.
1066   - Added auto-enumerated list items.
1067   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
1068     followed by text.
1069   - Added support for table stub columns.
1071 * docutils/parsers/rst/directives/__init__.py:
1073   - Allowed whitespace in paths (``path`` function).
1074   - Added ``uri`` directive option conversion function.
1076 * docutils/parsers/rst/directives/body.py:
1078   - Fixed illegal context bug with "topic" directive (allowed within
1079     sidebars; not within body elements).
1081 * docutils/parsers/rst/directives/images.py:
1083   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
1084   - Added support for the ``file_insertion_enabled`` setting in the
1085     "figure" directive (disables "figwidth" option).
1086   - "image" directive: added checks for valid values of "align" option,
1087     depending on context.  "figure" directive: added specialized
1088     "align" option and attribute on "figure" element.
1089   - Made ":figwidth: image" option of "figure" directive work again.
1090   - Fixed bug with reference names containing uppercase letters
1091     (e.g. ``Name_``) in "target" option of "image" directive.
1093 * docutils/parsers/rst/directives/misc.py:
1095   - Fixed "include" and "raw" directives to catch text decoding
1096     errors.
1097   - Allowed whitespace in "include" & "raw" directive paths.
1098   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
1099     settings in "include" & "raw" directives.
1101 * docutils/parsers/rst/directives/parts.py:
1103   - Added "header" & "footer" directives.
1104   - Fixed illegal context bug with "contents" directive (topics
1105     allowed within sidebars; not within body elements).
1107 * docutils/parsers/rst/directives/tables.py:
1109   - Added "list-table" directive.
1110   - Caught empty CSV table bug.
1111   - Added support for the ``file_insertion_enabled`` setting in the
1112     "csv-table" directive.
1113   - Added ``stub-columns`` option to "csv-table" and "list-table"
1114     directives.
1116 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1117   mappings by Martijn Pieters.
1119 * docutils/readers/standalone.py:
1121   - Added ``--section-subtitles`` and ``--no-section-subtitles``
1122     options to activate or deactivate the SectSubTitle transform.
1124 * docutils/transforms/frontmatter.py:
1126   - Added SectSubTitle transform to promote titles of lone
1127     subsections to subtitles.
1129 * docutils/transforms/references.py:
1131   - Fixed mislocated internal targets bug, by propagating internal
1132     targets to the next node, making use of the newly added support
1133     for multiple names and IDs.
1134   - Fixed duplicate footnote label bug.
1135   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1136     transform.
1138 * docutils/writers/html4css1.py:
1140   - Fixed unencoded stylesheet reference bug (characters like "&" in
1141     stylesheet references).
1142   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1143     tags).
1144   - Added support for multiple IDs per node by creating empty ``span``
1145     tags.
1146   - Added the ``field_name_limit`` & ``option_limit`` settings &
1147     support.
1148   - Added support for table stub columns.
1149   - Added support for the ``align`` attribute on ``figure`` elements.
1150   - Added the ``cloak_email_addresses`` setting & support.
1151   - Added ``html_prolog``, ``html_head``, ``html_body``,
1152     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1153     ``docutils.core.publish_parts``.
1154   - Added support for section subtitles.
1156 * docutils/writers/latex2e.py:
1158   - Fixed tables starting with more than one multirow cell.
1159   - Improved --use-latex-docinfo so that organization/contact/address
1160     fields are lumped with the last author field and appear on the
1161     titlepage.
1162   - Made sure the titlepage is always shown with --use-latex-docinfo,
1163     even if the document has no title.
1164   - Made sure that latex doesn't fill in today's date if no date field
1165     was given.
1166   - Added support for section subtitles.
1168 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1169   (under development).
1171 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1173 * docs/api/publisher.txt:
1175   - Added "``publish_parts`` Details" section.
1177 * docutils/dev/repository.txt: Added to project; information about the
1178   Docutils Subversion repository.
1180 * docs/ref/docutils.dtd:
1182   - Added a ``stub`` attribute to the ``colspec`` element via the
1183     ``tbl.colspec.att`` parameter entity.
1184   - Allowed topic elements within sidebars
1185   - Added an ``align`` attribute to the ``figure`` element.
1187 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1188   writer.
1191 Release 0.3.7 (2004-12-24)
1192 ==========================
1194 * docutils/frontend.py:
1196   - Added options: --input-encoding-error-handler,
1197     --record-dependencies, --leave-footnote-reference-space,
1198     --strict-visitor.
1199   - Added command-line and config file support for "overrides" setting
1200     parameter.
1202 * docutils/io.py:
1204   - Added support for input encoding error handler.
1206 * docutils/nodes.py:
1208   - Added dispatch_visit and dispatch_departure methods to
1209     NodeVisitor; useful as a hook for Visitors.
1210   - Changed structure of ``line_block``; added ``line``.
1211   - Added ``compound`` node class.
1212   - Added a mechanism for Visitors to transitionally ignore new node
1213     classes.
1215 * docutils/utils.py:
1217   - Moved ``escape2null`` and ``unescape`` functions from
1218     docutils/parsers/rst/states.py.
1220 * docutils/parsers/rst/roles.py:
1222   - Added "raw" role.
1223   - Changed role function API: the "text" parameter now takes
1224     null-escaped interpreted text content.
1226 * docutils/parsers/rst/states.py:
1228   - Fixed bug where a "role" directive in a nested parse would crash
1229     the parser; the state machine's "language" attribute was not being
1230     copied over.
1231   - Added support for line block syntax.
1232   - Fixed directive parsing bug: argument-less directives didn't
1233     notice that arguments were present.
1234   - Removed error checking for transitions.
1235   - Added support for multiple classifiers in definition list items.
1236   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1237   - Changed role function API: the "text" parameter now takes
1238     null-escaped interpreted text content.
1239   - Empty sections and documents are allowed now.
1241 * docutils/parsers/rst/directives/__init__.py:
1243   - Added ``encoding`` directive option conversion function.
1244   - Allow multiple class names in class_option conversion function.
1246 * docutils/parsers/rst/directives/body.py:
1248   - Converted the line-block directive to use the new structure.
1249   - Extracted the old line-block functionality to the ``block``
1250     function (still used).
1251   - Added ``compound`` directive (thanks to Lea Wiemann).
1253 * docutils/parsers/rst/directives/misc.py:
1255   - Added "encoding" option to "include" and "raw" directives.
1256   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1257   - Allow multiple class names in the "class" directive.
1259 * docutils/parsers/rst/directives/parts.py:
1261   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1262     options.  Thanks to Lele Gaifax.
1264 * docutils/parsers/rst/directives/tables.py:
1266   - Added "encoding" directive to "csv-table" directive.
1267   - Added workaround for lack of Unicode support in csv.py, for
1268     non-ASCII CSV input.
1270 * docutils/transforms/misc.py:
1272   - Fixed bug when multiple "class" directives are applied to a single
1273     element.
1274   - Enabled multiple format names for "raw" directive.
1276 * docutils/transforms/references.py:
1278   - Added support for trimming whitespace from beside substitution
1279     references.
1281 * docutils/transforms/universal.py:
1283   - FinalChecks now checks for illegal transitions and moves
1284     transitions between sections.
1286 * docutils/writers/html4css1.py:
1288   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
1289   - "stylesheet" and "stylesheet_path" settings are now mutually
1290     exclusive.
1291   - Added support for the new line_block/line structure.
1292   - --footnote-references now overrides
1293     --trim-footnote-reference-space, if applicable.
1294   - Added support for ``compound`` elements.
1295   - Enabled multiple format names for "raw" directive.
1296   - ``<p>`` tags of a paragraph which is the only visible child of the
1297     document node are no longer stripped.
1298   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1299     new method ``should_be_compact_paragraph()``.
1300   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1301     elements.
1302   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1303     the output if they have their ``class`` attribute set.
1304   - The whole document is now surrounded by a ``<div
1305     class="document">`` element.
1306   - Body-level images are now wrapped by their own ``<div>`` elements,
1307     with image classes copied to the wrapper, and for images which
1308     have the ``:align:`` option set, the surrounding ``<div>`` now
1309     receives a class attribute (like ``class="align-left"``).
1311 * docutils/writers/latex2e.py:
1313   - no newline after depart_term.
1314   - Added translations for some Unicode quotes.
1315   - Added option "font-encoding", made package AE the default.
1316   - "stylesheet" and "stylesheet_path" settings are now mutually
1317     exclusive.
1318   - --footnote-references now overrides
1319     --trim-footnote-reference-space, if applicable.
1320   - The footnote label style now matches the footnote reference style
1321     ("brackets" or "superscript").
1322   - Added support for ``compound`` elements.
1323   - Enabled multiple format names for "raw" directive.
1325 * docs/ref/docutils.dtd:
1327   - Changed structure of the ``line_block`` element; added ``line``.
1328   - Added ``compound`` element.
1329   - Added "ltrim" and "rtrim" attributes to
1330     ``substitution_definition`` element.
1331   - Enabled multiple format names for ``raw`` element.
1332   - Enabled multiple classifiers in ``definition_list_item`` elements.
1334 * docs/ref/rst/directives.txt
1336   - Marked "line-block" as deprecated.
1337   - "Class" directive now allows multiple class names.
1338   - Added "Rationale for Class Attribute Value Conversion".
1339   - Added warning about "raw" overuse/abuse.
1341 * docs/ref/rst/restructuredtext.txt:
1343   - Added syntax for line blocks.
1344   - Definition list items may have multiple classifiers.
1346 * docs/ref/rst/roles.txt:
1348   - Added "raw" role.
1350 * tools/stylesheets/default.css:
1352   - Added support for the new line_block structure.
1353   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1356 Release 0.3.5 (2004-07-29)
1357 ==========================
1359 General:
1361 * _`Documentation cleanup/reorganization`.
1363   - Created new subdirectories of docs/:
1365     * ``docs/user/``: introductory/tutorial material for end-users
1366     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1367     * ``docs/api/``: API reference material for client-developers
1368     * ``docs/ref/``: reference material for all groups
1369     * ``docs/howto/``: for component-developers and core-developers
1370     * ``docs/peps/``: Python Enhancement Proposals
1372   - Moved ``docs/*`` to ``docs/user/``.
1373   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1374     ``spec/`` to ``docs/dev``.
1375   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1376     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1377   - Moved ``alternatives.txt``, and ``problems.txt`` from
1378     ``spec/rst/`` to ``docs/dev/rst/``.
1379   - Moved ``reStructuredText.txt``, ``directives.txt``,
1380     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1381     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
1382     ``roles.txt``, ``reStructuredText.txt`` to
1383     ``restructuredtext.txt``.
1384   - Moved ``spec/howto/`` to ``docs/howto``.
1386   In order to keep the CVS history of moved files, we supplied
1387   SourceForge with a `script for modifying the Docutils CVS
1388   repository`__.
1390   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1392   After running the cleanup script:
1394   - Added ``docs/index.txt``.
1395   - Added a ``.htaccess`` file to the ``web`` module, containing
1396     redirects for all old paths to new paths.  They'll preserve
1397     fragments (the "#name" part of a URL), and won't clutter up the
1398     file system, and will correct the URL in the user's browser.
1399   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1400     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1401     the "To Do" list itself in ``docs/dev/todo.txt``.
1402   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1403     section of ``docs/dev/todo.txt``.
1404   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1405   - Added "How To Report Bugs" to ``BUGS.txt``.
1406   - Went through all the sources and docs (including under web/) and
1407     updated links.  Mostly done by Lea Wiemann; thanks Lea!
1408     (Still need to update links in the sandboxes.)
1410 Specific:
1412 * BUGS.txt: Added to project.
1414 * THANKS.txt: Added to project.
1416 * docutils/__init__.py:
1418   - 0.3.4: Post-release.
1420 * docutils/core.py:
1422   - Added special error handling & advice for UnicodeEncodeError.
1423   - Refactored Publisher.publish (simplified exception handling &
1424     extracted debug dumps).
1425   - Renamed "enable_exit" parameter of convenience functions to
1426     "enable_exit_status".
1427   - Enabled traceback (exception propagation) by default in
1428     programmatic convenience functions.
1429   - Now publish_file and publish_cmdline convenience functions return
1430     the encoded string results in addition to their regular I/O.
1431   - Extracted common code from publish_file, publish_string, and
1432     publish_parts, into new publish_programmatically.  Extracted
1433     settings code to ``Publisher.process_programmatic_settings``.
1434   - In Publisher.publish, disabled ``settings_overrides`` when
1435     ``settings`` is supplied; redundant.
1437 * docutils/frontend.py:
1439   - Added help text for "--output-encoding-error-handler" and
1440     "--error-encoding-error-handler".
1441   - Renamed "--exit" to "--exit-status".
1442   - Simplified default-setting code.
1444 * docutils/parsers/rst/__init__.py:
1446   - Added "--pep-base-url" and "--rfc-base-url" options.
1448 * docutils/parsers/rst/states.py:
1450   - Made URI recognition more aggressive and intelligent.
1452 * docutils/parsers/rst/directives/__init__.py:
1454   - Added several directive option conversion functions.
1456 * docutils/parsers/rst/directives/body.py:
1458   - Moved "table" directive to tables.py.
1460 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1461   added to project.
1463 * docutils/writers/latex2e.py:
1465   - Added "--table-style=(standard|booktabs|nolines)"
1466   - figures get "here" option (LaTeX per default puts them at bottom),
1467     and figure content is centered.
1468   - Rowspan support for tables.
1469   - Fix: admonition titles before first section.
1470   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1471   - Replave ``_`` in literal by an underlined blank, because it has the correct
1472     width.
1473   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1474   - A few unicode replacements, if output_encoding != utf
1475   - Add "--graphicx-option".
1476   - Indent literal-blocks.
1477   - Fix: omit ``\maketitle`` when there is no document title.
1479 * docs/index.txt: "Docutils Project Documentation Overview", added to
1480   project.
1482 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1483   Tool", added to project.
1485 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1487 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1489 * docs/dev/policies.txt: Added to project (extracted from
1490   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1492 * docs/dev/release.txt: Added to project (extracted from
1493   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1495 * docs/dev/testing.txt: Added to project.
1497 * docs/dev/website.txt: Added to project (extracted from
1498   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1500 * docs/ref/rst/directives.txt:
1502   - Added directives: "table", "csv-table".
1504 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1505   added to project.  1 page for syntax, and a 1 page reference for
1506   directives and roles.  Source text to be used as-is; not meant to be
1507   converted to HTML.
1509 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1510   with a change of title.
1512 * test/functional/, contents, and test/test_functional.py: Added to
1513   project.
1515 * tools/buildhtml.py: Fixed bug with config file handling.
1517 * tools/html.py: Removed from project (duplicate of rst2html.py).
1519 * tools/pep2html.py: Removed from project (duplicate of Python's
1520   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1521   Docutils-related PEPs in docs/peps/).
1523 * tools/rst2pseudoxml.py: Renamed from publish.py.
1525 * tools/rst2xml.py: Renamed from docutils-xml.py.
1527 * tools/test.txt: Removed from project; moved to
1528   docs/user/rst/demo.txt.
1530 * setup.py: Now also installs ``rst2latex.py``.
1533 Release 0.3.3 (2004-05-09)
1534 ==========================
1536 * docutils/__init__.py:
1538   - 0.3.1: Reorganized config file format (multiple sections); see
1539     docs/config.txt.
1540   - Added unknown_reference_resolvers attribute to TransformSpec.
1541   - 0.3.2: Interpreted text reorganization.
1542   - 0.3.3: Released.
1544 * docutils/core.py:
1546   - Catch system messages to stop tracebacks from parsing errors.
1547   - Catch exceptions during processing report & exit without
1548     tracebacks, except when "--traceback" used.
1549   - Reordered components for OptionParser; application comes last.
1550   - Added "config_section" parameter to several methods and functions,
1551     allowing front ends to easily specify their config file sections.
1552   - Added publish_parts convenience function to allow access to individual
1553     parts of a document.
1555 * docutils/examples.py: Added to project; practical examples of
1556   Docutils client code, to be used as-is or as models for variations.
1558 * docutils/frontend.py:
1560   - Added "--traceback" & "--no-traceback" options ("traceback"
1561     setting).
1562   - Implemented support for config file reorganization:
1563     ``standard_config_files`` moved from ``ConfigParser`` to
1564     ``OptionParser``; added
1565     ``OptionParser.get_config_file_settings()`` and
1566     ``.get_standard_config_settings()``; support for old "[options]"
1567     section (with deprecation warning) and mapping from old to new
1568     settings.
1569   - Reimplemented setting validation.
1570   - Enabled flexible boolean values: yes/no, true/false, on/off.
1571   - Added ``Values``, a subclass of ``optparse.Values``, with support
1572     for list setting attributes.
1573   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1574     thanks to Beni Cherniavsky.
1575   - Added "--no-section-numbering" option.
1577 * docutils/io.py:
1579   - Catch IOErrors when opening source & destination files, report &
1580     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1581     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1583 * docutils/nodes.py:
1585   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1586     method definitions (via ``exec``) to dynamic assignments (via
1587     ``setattr``); thanks to Roman Suzi.
1588   - Encapsulated visitor dynamic assignments in a function; thanks to
1589     Ian Bicking.
1590   - Added indirect_reference_name attribute to the Targetable
1591     class. This attribute holds the whitespace_normalized_name
1592     (contains mixed case) of a target.
1594 * docutils/statemachine.py:
1596   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1597   - Added ``StringList.get_2D_block``.
1599 * docutils/utils.py:
1601   - Added "level" attribute to SystemMessage exceptions.
1603 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1604   Jannie Hofmeyr.
1606 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1607   Blaha.
1609 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1610   Marcelo Huerta San Martin.
1612 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1613   mappings by Lalo Martins.
1615 * docutils/languages/ru.py: Added to project; Russian mappings by
1616   Roman Suzi.
1618 * docutils/parsers/rst/roles.py: Added to project.  Contains
1619   interpreted text role functions, a registry for interpreted text
1620   roles, and an API for adding to and retrieving from the registry.
1621   Contributed by Edward Loper.
1623 * docutils/parsers/rst/states.py:
1625   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1626   - Allowed true em-dash character and "---" as block quote
1627     attribution marker.
1628   - Added support for <angle-bracketed> complex option arguments
1629     (option lists).
1630   - Fixed handling of backslashes in substitution definitions.
1631   - Fixed off-by-1 error with extra whitespace after substitution
1632     definition directive.
1633   - Added inline markup parsing to field lists' field names.
1634   - Added support for quoted (and unindented) literal blocks.
1635     Driven in part by a bribe from Frank Siebenlist (thanks!).
1636   - Parser now handles escapes in URIs correctly.
1637   - Made embedded-URIs' reference text omittable.  Idea from Beni
1638     Cherniavsky.
1639   - Refactored explicit target processing code.
1640   - Added name attribute to references containing the reference name only
1641     through whitespace_normalize_name (no case changes).
1642   - parse_target no longer returns the refname after going through
1643     normalize_name. This is now handled in make_target.
1644   - Fixed bug relating to role-less interpreted text in non-English
1645     contexts.
1646   - Reorganized interpreted text processing; moved code into the new
1647     roles.py module.  Contributed by Edward Loper.
1648   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1649     ``parse_directive_block``.
1651 * docutils/parsers/rst/tableparser.py:
1653   - Reworked for ``StringList``, to support "include" directives in
1654     table cells.
1656 * docutils/parsers/rst/directives/__init__.py:
1658   - Renamed ``unchanged()`` directive option conversion function to
1659     ``unchanged_required``, and added a new ``unchanged``.
1660   - Catch unicode value too high error; fixes bug 781766.
1661   - Beefed up directive error reporting.
1663 * docutils/parsers/rst/directives/body.py:
1665   - Added basic "table" directive.
1667 * docutils/parsers/rst/directives/images.py:
1669   - Added "target" option to "image" directive.
1670   - Added name attribute to references containing the reference name only
1671     through whitespace_normalize_name (no case changes).
1673 * docutils/parsers/rst/directives/misc.py:
1675   - Isolated the import of the ``urllib2`` module; was causing
1676     problems on SourceForge (``libssl.so.2`` unavailable?).
1677   - Added the "role" directive for declaring custom interpreted text
1678     roles.
1680 * docutils/parsers/rst/directives/parts.py:
1682   - The "contents" directive does more work up-front, creating the
1683     "topic" and "title", and leaving the "pending" node for the
1684     transform.  Allows earlier reference resolution; fixes subtle bug.
1686 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1687   mappings by Jannie Hofmeyr.
1689 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1690   mappings by Marek Blaha.
1692 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1693   mappings by Marcelo Huerta San Martin.
1695 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1696   Portuguese mappings by Lalo Martins.
1698 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1699   mappings by Roman Suzi.
1701 * docutils/transforms/parts.py:
1703   - The "contents" directive does more work up-front, creating the
1704     "topic" and "title", and leaving the "pending" node for the
1705     transform.  Allows earlier reference resolution; fixes subtle bug.
1706   - Added support for disabling of section numbering.
1708 * docutils/transforms/references.py:
1710   - Verifying that external targets are truly targets and not indirect
1711     references. This is because we are now adding a "name" attribute to
1712     references in addition to targets. Note sure if this is correct!
1713   - Added code to hook into the unknown_reference_resolvers list for a
1714     transformer in resolve_indirect_target. This allows the
1715     unknown_reference_resolvers to keep around indirect targets which
1716     docutils doesn't know about.
1717   - Added specific error message for duplicate targets.
1719 * docutils/transforms/universal.py:
1721   - Added FilterMessages transform (removes system messages below the
1722     verbosity threshold).
1723   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1724     to FinalCheckVisitor for application-specific handling of
1725     unresolvable references.
1726   - Added specific error message for duplicate targets.
1728 * docutils/writers/__init__.py:
1730   - Added assemble_parts method to the Writer class to allow for
1731     access to a documents individual parts.
1732   - Documented & set default for ``Writer.output`` attribute.
1734 * docutils/writers/html4css1.py:
1736   - Fixed unicode handling of attribute values (bug 760673).
1737   - Prevent duplication of "class" attribute values (bug report from
1738     Kirill Lapshin).
1739   - Improved table grid/border handling (prompted by report from Bob
1740     Marshall).
1741   - Added support for table titles.
1742   - Added "<title />" for untitled docs, for XHTML conformance; thanks
1743     to Darek Suchojad.
1744   - Added functionality to keep track of individual parts of a document
1745     and store them in a dictionary as the "parts" attribute of the writer.
1746     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1747   - Added proper support for the "scale" attribute of the "image"
1748     element.  Contributed by Brent Cook.
1749   - Added ``--initial-header-level`` option.
1750   - Fixed bug: the body_pre_docinfo segment depended on there being a
1751     docinfo; if no docinfo, the document title was incorporated into
1752     the body segment.  Adversely affected the publish_parts interface.
1754 * docutils/writers/latex2e.py:
1756   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1757     about a missing file.
1758   - Added options and support: ``--compound-enumerators``,
1759     ``--section-prefix-for-enumerators``, and
1760     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
1761     934322).
1762   - Added option ``--use-verbatim-when-possible``, to avoid
1763     problematic characters (eg, '~' in italian) in literal blocks.
1764   - It's now possible to use four section levels in the `book` and
1765     `report` LaTeX classes.  The default `article` class still has
1766     three levels limit.
1768 * docs/config.txt: "Docutils Configuration Files", added to project.
1769   Moved config file entry descriptions from tools.txt.
1771 * docs/tools.txt:
1773   - Moved config file entry descriptions to config.txt.
1775 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
1776   Development".
1778 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1779   Text Roles", added to project.
1781 * spec/rst/reStructuredText.txt:
1783   - Added description of support for <angle-bracketed> complex option
1784     arguments to option lists.
1785   - Added subsections for indented and quoted literal blocks.
1787 * test: Continually adding & updating tests.
1789   - Added test/test_settings.py & test/data/config_*.txt support
1790     files.
1791   - Added test/test_writers/test_htmlfragment.py.
1793 * test/DocutilsTestSupport.py:
1795   - Refactored LaTeX publisher test suite/case class names to make
1796     testing other writers easier.
1797   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1798     to test the processing of HTML fragments which use the new
1799     publish_parts convenience function.
1801 * tools/buildhtml.py:
1803   - Added support for the "--prune" option.
1804   - Removed dependency on pep2html.py; plaintext PEPs no longer
1805     supported.
1807 * tools/docutils.conf:
1809   - Updated for configuration file reorganization.
1811 * tools/rst2html.py:
1813   - copied from tools/html.py
1815 * setup.py:
1817   - added a 'scripts' section to configuration
1818   - added 'tools/rst2html.py' to the scripts section
1821 Release 0.3 (2003-06-24)
1822 ========================
1824 General:
1826 * Renamed "attribute" to "option" for directives/extensions.
1828 * Renamed transform method "transform" to "apply".
1830 * Renamed "options" to "settings" for runtime settings (as set by
1831   command-line options).  Sometimes "option" (singular) became
1832   "settings" (plural).  Some variations below:
1834   - document.options -> document.settings (stored in other objects as
1835     well)
1836   - option_spec -> settings_spec (not directives though)
1837   - OptionSpec -> SettingsSpec
1838   - cmdline_options -> settings_spec
1839   - relative_path_options -> relative_path_settings
1840   - option_default_overrides -> settings_default_overrides
1841   - Publisher.set_options -> Publisher.get_settings
1843 Specific:
1845 * COPYING.txt: Added "Public Domain Dedication".
1847 * FAQ.txt: Frequently asked questions, added to project.
1849 * setup.py:
1851   - Updated with PyPI Trove classifiers.
1852   - Conditional installation of third-party modules.
1854 * docutils/__init__.py:
1856   - Bumped version to 0.2.1 to reflect changes to I/O classes.
1857   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1858   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1859   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1860     option and its effect on the PEP template & writer.
1861   - Bumped version to 0.2.4 due to changes to the PEP template &
1862     stylesheet.
1863   - Bumped version to 0.2.5 to reflect changes to Reporter output.
1864   - Added ``TransformSpec`` class for new transform system.
1865   - Bumped version to 0.2.6 for API changes (renaming).
1866   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1867     convenience functions.
1868   - Added ``Component.component_type`` attribute.
1869   - Bumped version to 0.2.8 because of the internal parser switch from
1870     plain lists to the docutils.statemachine.StringList objects.
1871   - Bumped version to 0.2.9 because of the frontend.py API changes.
1872   - Bumped version to 0.2.10 due to changes to the project layout
1873     (third-party modules removed from the "docutils" package), and
1874     signature changes in ``io.Input``/``io.Output``.
1875   - Changed version to 0.3.0 for release.
1877 * docutils/core.py:
1879   - Made ``publish()`` a bit more convenient.
1880   - Generalized ``Publisher.set_io``.
1881   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1882     parameters; improved its docstring.
1883   - Added ``publish_file()`` and ``publish_string()``.
1884   - Factored ``Publisher.set_source()`` and ``.set_destination()``
1885     out of ``.set_io``.
1886   - Added support for "--dump-pseudo-xml", "--dump-settings", and
1887     "--dump-transforms" hidden options.
1888   - Added ``Publisher.apply_transforms()`` method.
1889   - Added ``Publisher.set_components()`` method; support for
1890     ``publish_*()`` conveninece functions.
1891   - Moved config file processing to docutils/frontend.py.
1892   - Added support for exit status ("exit_level" setting &
1893     ``enable_exit`` parameter for Publisher.publish() and convenience
1894     functions).
1896 * docutils/frontend.py:
1898   - Check for & exit on identical source & destination paths.
1899   - Fixed bug with absolute paths & "--config".
1900   - Set non-command-line defaults in ``OptionParser.__init__()``:
1901     ``_source`` & ``_destination``.
1902   - Distributed ``relative_path_settings`` to components; updated
1903     ``OptionParser.populate_from_components()`` to combine it all.
1904   - Require list of keys in ``make_paths_absolute`` (was implicit in
1905     global ``relative_path_settings``).
1906   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1907     "--dump-settings", and "--dump-transforms" hidden options.
1908   - Removed nasty internals-fiddling ``ConfigParser.get_section``
1909     code, replaced with correct code.
1910   - Added validation functionality for config files.
1911   - Added "--error-encoding" option/setting, "_disable_config"
1912     internal setting.
1913   - Added encoding validation; updated "--input-encoding" and
1914     "--output-encoding"; added "--error-encoding-error-handler" and
1915     "--output-encoding-error-handler".
1916   - Moved config file processing from docutils/core.py.
1917   - Updated ``OptionParser.populate_from_components`` to handle new
1918     ``SettingsSpec.settings_defaults`` dict.
1919   - Added support for "-" => stdin/stdout.
1920   - Added "exit_level" setting ("--exit" option).
1922 * docutils/io.py:
1924   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1925   - Added automatic closing to ``FileInput`` and ``FileOutput``.
1926   - Delayed opening of ``FileOutput`` file until ``write()`` called.
1927   - ``FileOutput.write()`` now returns the encoded output string.
1928   - Try to get path/stream name automatically in ``FileInput`` &
1929     ``FileOutput``.
1930   - Added defaults for source & destination paths.
1931   - Allow for Unicode I/O with an explicit "unicode" encoding.
1932   - Added ``Output.encode()``.
1933   - Removed dependency on runtime settings; pass encoding directly.
1934   - Recognize Unicode strings in ``Input.decode()``.
1935   - Added support for output encoding error handlers.
1937 * docutils/nodes.py:
1939   - Added "Invisible" element category class.
1940   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1941     modification during a traversal.
1942   - Added element classes: ``line_block``, ``generated``, ``address``,
1943     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1944     ``superscript``, ``subscript``, ``inline``
1945   - Added support for lists of nodes to ``Element.insert()``.
1946   - Fixed parent linking in ``Element.replace()``.
1947   - Added new abstract superclass ``FixedTextElement``; adds
1948     "xml:space" attribute.
1949   - Added support for "line" attribute of ``system_message`` nodes.
1950   - Added support for the observer pattern from ``utils.Reporter``.
1951     Added ``parse_messages`` and ``transform_messages`` attributes to
1952     ``document``, removed ``messages``.  Added ``note_parse_message``
1953     and ``note_transform_message`` methods.
1954   - Added support for improved diagnostics:
1956     - Added "document", "source", and "line" internal attributes to
1957       ``Node``, set by ``Node.setup_child()``.
1958     - Converted variations on ``node.parent = self`` to
1959       ``self.setup_child(node)``.
1960     - Added ``document.current_source`` & ``.current_line``
1961       attributes, and ``.note_source`` observer method.
1962     - Changed "system_message" output to GNU-Tools format.
1964   - Added a "rawsource" attribute to the ``Text`` class, for text
1965     before backslash-escape resolution.
1966   - Support for new transform system.
1967   - Reworked ``pending`` element.
1968   - Fixed XML DOM bug (SF #660611).
1969   - Removed the ``interpeted`` element class and added
1970     ``title_reference``, ``abbreviation``, ``acronym``.
1971   - Made substitutions case-sensitive-but-forgiving; moved some code
1972     from the parser.
1973   - Fixed Unicode bug on element attributes (report: William Dode).
1975 * docutils/optik.py: Removed from project; replaced with
1976   extras/optparse.py and extras/textwrap.py.  These will be installed
1977   only if they're not already present in the Python installation.
1979 * docutils/roman.py: Moved to extras/roman.py; this will be installed
1980   only if it's not already present in the Python installation.
1982 * docutils/statemachine.py:
1984   - Factored out ``State.add_initial_transitions()`` so it can be
1985     extended.
1986   - Converted whitespace-specific "blank" and "indent" transitions
1987     from special-case code to ordinary transitions: removed
1988     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
1989     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
1990     ``ws_initial_transitions`` attributes.
1991   - Removed ``State.match_transition()`` after merging it into
1992     ``.check_line()``.
1993   - Added ``StateCorrection`` exception.
1994   - Added support for ``StateCorrection`` in ``StateMachine.run()``
1995     (moved ``TransitionCorrection`` support there too.)
1996   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
1997     ``EOFError`` instead of ``IndexError``.
1998   - Added ``State.no_match`` method.
1999   - Added support for the Observer pattern, triggered by input line
2000     changes.
2001   - Added ``strip_top`` parameter to
2002     ``StateMachineWS.get_first_known_indented``.
2003   - Made ``context`` a parameter to ``StateMachine.run()``.
2004   - Added ``ViewList`` & ``StringList`` classes;
2005     ``extract_indented()`` becomes ``StringList.get_indented()``.
2006   - Added ``StateMachine.insert_input()``.
2007   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
2008     thanks to) Fred Drake.
2010 * docutils/utils.py:
2012   - Added a ``source`` attribute to Reporter instances and
2013     ``system_message`` elements.
2014   - Added an observer pattern to ``utils.Reporter`` to keep track of
2015     system messages.
2016   - Fixed bugs in ``relative_path()``.
2017   - Added support for improved diagnostics.
2018   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
2019   - Added support for encoding Reporter stderr output, and encoding
2020     error handlers.
2021   - Reporter keeps track of the highest level system message yet
2022     generated.
2024 * docutils/languages: Fixed bibliographic field language lookups.
2026 * docutils/languages/es.py: Added to project; Spanish mappings by
2027   Marcelo Huerta San Martin.
2029 * docutils/languages/fr.py: Added to project; French mappings by
2030   Stefane Fermigier.
2032 * docutils/languages/it.py: Added to project; Italian mappings by
2033   Nicola Larosa.
2035 * docutils/languages/sk.py: Added to project; Slovak mappings by
2036   Miroslav Vasko.
2038 * docutils/parser/__init__.py:
2040   - Added ``Parser.finish_parse()`` method.
2042 * docutils/parser/rst/__init__.py:
2044   - Added options: "--pep-references", "--rfc-references",
2045     "--tab-width", "--trim-footnote-reference-space".
2047 * docutils/parsers/rst/states.py:
2049   - Changed "title under/overline too short" system messages from INFO
2050     to WARNING, and fixed its insertion location.
2051   - Fixed enumerated list item parsing to allow paragraphs & section
2052     titles to begin with enumerators.
2053   - Converted system messages to use the new "line" attribute.
2054   - Fixed a substitution reference edge case.
2055   - Added support for "--pep-references" and "--rfc-references"
2056     options; reworked ``Inliner`` code to make customization easier.
2057   - Removed field argument parsing.
2058   - Added support for short section title over/underlines.
2059   - Fixed "simple reference name" regexp to ignore text like
2060     "object.__method__"; not an anonymous reference.
2061   - Added support for improved diagnostics.
2062   - Reworked directive API, based on Dethe Elza's contribution.  Added
2063     ``Body.parse_directive()``, ``.parse_directive_options()``,
2064     ``.parse_directive_arguments()`` methods.
2065   - Added ``ExtensionOptions`` class, to parse directive options
2066     without parsing field bodies.  Factored
2067     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
2068     ``ExtensionOptions``.
2069   - Improved definition list term/classifier parsing.
2070   - Added warnings for unknown directives.
2071   - Renamed ``Stuff`` to ``Struct``.
2072   - Now flagged as errors: transitions at the beginning or end of
2073     sections, empty sections (except title), and empty documents.
2074   - Updated for ``statemachine.StringList``.
2075   - Enabled recognition of schemeless email addresses in targets.
2076   - Added support for embedded URIs in hyperlink references.
2077   - Added backslash-escapes to inline markup end-string suffix.
2078   - Added support for correct interpreted text processing.
2079   - Fixed nested title parsing (topic, sidebar directives).
2080   - Added special processing of backslash-escaped whitespace (idea
2081     from David Abrahams).
2082   - Made substitutions case-sensitive-but-forgiving; moved some code
2083     to ``docutils.nodes``.
2084   - Added support for block quote attributions.
2085   - Added a kludge to work-around a conflict between the bubble-up
2086     parser strategy and short titles (<= 3 char-long over- &
2087     underlines).  Fixes SF bug #738803 "infinite loop with multiple
2088     titles" submitted by Jason Diamond.
2089   - Added explicit interpreted text roles for standard inline markup:
2090     "emphasis", "strong", "literal".
2091   - Implemented "superscript" and "subscript" interpreted text roles.
2092   - Added initial support for "abbreviation" and "acronym" roles;
2093     incomplete.
2094   - Added support for "--trim-footnote-reference-space" option.
2095   - Optional space before colons in directives & hyperlink targets.
2097 * docutils/parsers/rst/tableparser.py:
2099   - Fixed a bug that was producing unwanted empty rows in "simple"
2100     tables.
2101   - Detect bad column spans in "simple" tables.
2103 * docutils/parsers/rst/directives: Updated all directive functions to
2104   new API.
2106 * docutils/parsers/rst/directives/__init__.py:
2108   - Added ``flag()``, ``unchanged()``, ``path()``,
2109     ``nonnegative_int()``, ``choice()``, and ``class_option()``
2110     directive option helper functions.
2111   - Added warnings for unknown directives.
2112   - Return ``None`` for missing directives.
2113   - Added ``register_directive()``, thanks to William Dode and Paul
2114     Moore.
2116 * docutils/parsers/rst/directives/admonitions.py:
2118   - Added "admonition" directive.
2120 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
2121   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2122   "parsed-literal", "rubric", "epigraph", "highlights" and
2123   "pull-quote" directives.
2125 * docutils/parsers/rst/directives/images.py:
2127   - Added an "align" attribute to the "image" & "figure" directives
2128     (by Adam Chodorowski).
2129   - Added "class" option to "image", and "figclass" to "figure".
2131 * docutils/parsers/rst/directives/misc.py:
2133   - Added "include", "raw", and "replace" directives, courtesy of
2134     Dethe Elza.
2135   - Added "unicode" and "class" directives.
2137 * docutils/parsers/rst/directives/parts.py:
2139   - Added the "sectnum" directive; by Dmitry Jemerov.
2140   - Added "class" option to "contents" directive.
2142 * docutils/parsers/rst/directives/references.py: Added to project.
2143   Contains the "target-notes" directive.
2145 * docutils/parsers/rst/languages/__init__.py:
2147   - Return ``None`` from get_language() for missing language modules.
2149 * docutils/parsers/rst/languages/de.py: Added to project; German
2150   mappings by Engelbert Gruber.
2152 * docutils/parsers/rst/languages/en.py:
2154   - Added interpreted text roles mapping.
2156 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2157   mappings by Marcelo Huerta San Martin.
2159 * docutils/parsers/rst/languages/fr.py: Added to project; French
2160   mappings by William Dode.
2162 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2163   mappings by Nicola Larosa.
2165 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2166   mappings by Miroslav Vasko.
2168 * docutils/readers/__init__.py:
2170   - Added support for the observer pattern from ``utils.Reporter``, in
2171     ``Reader.parse`` and ``Reader.transform``.
2172   - Removed ``Reader.transform()`` method.
2173   - Added default parameter values to ``Reader.__init__()`` to make
2174     instantiation easier.
2175   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2177 * docutils/readers/pep.py:
2179   - Added the ``peps.TargetNotes`` transform to the Reader.
2180   - Removed PEP & RFC reference detection code; moved to
2181     parsers/rst/states.py as options (enabled here by default).
2182   - Added support for pre-acceptance PEPs (no PEP number yet).
2183   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2184     easy subclassing.
2186 * docutils/readers/python: Python Source Reader subpackage added to
2187   project, including preliminary versions of:
2189   - __init__.py
2190   - moduleparser.py: Parser for Python modules.
2192 * docutils/transforms/__init__.py:
2194   - Added ``Transformer`` class and completed transform reform.
2195   - Added unknown_reference_resolvers list for each transformer. This list holds
2196     the list of functions provided by each component of the transformer that
2197     help resolve references.
2199 * docutils/transforms/frontmatter.py:
2201   - Improved support for generic fields.
2202   - Fixed bibliographic field language lookups.
2204 * docutils/transforms/misc.py: Added to project.  Miscellaneous
2205   transforms.
2207 * docutils/transforms/parts.py:
2209   - Moved the "id" attribute from TOC list items to the references
2210     (``Contents.build_contents()``).
2211   - Added the ``SectNum`` transform; by Dmitry Jemerov.
2212   - Added "class" attribute support to ``Contents``.
2214 * docutils/transforms/peps.py:
2216   - Added ``mask_email()`` function, updating to pep2html.py's
2217     functionality.
2218   - Linked "Content-Type: text/x-rst" to PEP 12.
2219   - Added the ``TargetNotes`` PEP-specific transform.
2220   - Added ``TargetNotes.cleanup_callback``.
2221   - Added title check to ``Headers``.
2223 * docutils/transforms/references.py:
2225   - Added the ``TargetNotes`` generic transform.
2226   - Split ``Hyperlinks`` into multiple transforms.
2227   - Fixed bug with multiply-indirect references (report: Bruce Smith).
2228   - Added check for circular indirect references.
2229   - Made substitutions case-sensitive-but-forgiving.
2231 * docutils/transforms/universal.py:
2233   - Added support for the "--expose-internal-attributes" option.
2234   - Removed ``Pending`` transform classes & data.
2236 * docutils/writers/__init__.py:
2238   - Removed ``Writer.transform()`` method.
2240 * docutils/writers/docutils-xml.py:
2242   - Added XML and doctype declarations.
2243   - Added "--no-doctype" and "--no-xml-declaration" options.
2245 * docutils/writers/html4css1.py:
2247   - "name" attributes only on these tags: a, applet, form, frame,
2248     iframe, img, map.
2249   - Added "name" attribute to <a> in section titles for Netscape 4
2250     support (bug report: Pearu Peterson).
2251   - Fixed targets (names) on footnote, citation, topic title,
2252     problematic, and system_message nodes (for Netscape 4).
2253   - Changed field names from "<td>" to "<th>".
2254   - Added "@" to "&#64;" encoding to thwart address harvesters.
2255   - Improved the vertical whitespace optimization; ignore "invisible"
2256     nodes (targets, comments, etc.).
2257   - Improved inline literals with ``<span class="pre">`` around chunks
2258     of text and ``&nbsp;`` for runs of spaces.
2259   - Improved modularity of output; added ``self.body_pre_docinfo`` and
2260     ``self.docinfo`` segments.
2261   - Added support for "line_block", "address" elements.
2262   - Improved backlinks (footnotes & system_messages).
2263   - Improved system_message output.
2264   - Redefined "--stylesheet" as containing an invariant URL, used
2265     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
2266     working directory.
2267   - Added "--footnote-references" option (superscript or brackets).
2268   - Added "--compact-lists" and "--no-compact-lists" options.
2269   - Added "--embed-stylesheet" and "--link-stylesheet" options;
2270     factored out ``HTMLTranslator.get_stylesheet_reference()``.
2271   - Improved field list rendering.
2272   - Added Docutils version to "generator" meta tag.
2273   - Fixed a bug with images; they must be inline, so wrapped in <p>.
2274   - Improved layout of <pre> HTML source.
2275   - Fixed attribute typo on <colspec>.
2276   - Refined XML prologue.
2277   - Support for no stylesheet.
2278   - Removed "interpreted" element support.
2279   - Added support for "title_reference", "sidebar", "attribution",
2280     "rubric", and generic "admonition" elements.
2281   - Added "--attribution" option.
2282   - Added support for "inline", "subscript", "superscript" elements.
2283   - Added initial support for "abbreviation" and "acronym";
2284     incomplete.
2286 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2287   (from the sandbox).
2289   - Added french.
2290   - Double quotes in literal blocks (special treatment for de/ngerman).
2291   - Added '--hyperlink-color' option ('0' turns off coloring of links).
2292   - Added  "--attribution" option.
2293   - Right align attributions.
2295 * docutils/writers/pep_html.py:
2297   - Parameterized output encoding in PEP template.
2298   - Reworked substitutions from ``locals()`` into ``subs`` dict.
2299   - Redefined "--pep-stylesheet" as containing an invariant URL, used
2300     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
2301     working directory.
2302   - Added an override on the "--footnote-references" option.
2303   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2304   - Added Docutils version to "generator" meta tag.
2305   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2307 * docs/tools.txt:
2309   - Added a "silent" setting for ``buildhtml.py``.
2310   - Added a "Getting Help" section.
2311   - Rearranged the structure.
2312   - Kept up to date, with new settings, command-line options etc.
2313   - Added section for ``rst2latex.py`` (Engelbert Gruber).
2314   - Converted settings table into a definition list.
2316 * docs/rst/quickstart.txt:
2318   - Added a table of contents.
2319   - Added feedback information.
2320   - Added mention of minimum section title underline lengths.
2321   - Removed the 4-character minimum for section title underlines.
2323 * docs/rst/quickref.html:
2325   - Added a "Getting Help" section.
2326   - Added a style to make section title backlinks more subtle.
2327   - Added mention of minimum section title underline lengths.
2328   - Removed the 4-character minimum for section title underlines.
2330 * extras: Directory added to project; contains third-party modules
2331   that Docutils depends on (optparse, textwrap, roman).  These are
2332   only installed if they're not already present.
2334 * licenses: Directory added to project; contains copies of license
2335   files for non-public-domain files.
2337 * spec/doctree.txt:
2339   - Changed the focus.  It's about DTD elements:  structural
2340     relationships, semantics, and external (public) attributes.  Not
2341     about the element class library.
2342   - Moved some implementation-specific stuff into ``docutils.nodes``
2343     docstrings.
2344   - Wrote descriptions of all common attributes and parameter
2345     entities.  Filled in introductory material.
2346   - Working through the element descriptions: 55 down, 37 to go.
2347   - Removed "Representation of Horizontal Rules" to
2348     spec/rst/alternatives.txt.
2350 * spec/docutils.dtd:
2352   - Added "generated" inline element.
2353   - Added "line_block" body element.
2354   - Added "auto" attribute to "title".
2355   - Changed content models of "literal_block" and "doctest_block" to
2356     ``%text.model``.
2357   - Added ``%number;`` attribute type parameter entity.
2358   - Changed ``%structural.elements;`` to ``%section.elements``.
2359   - Updated attribute types; made more specific.
2360   - Added "address" bibliographic element.
2361   - Added "line" attribute to ``system_message`` element.
2362   - Removed "field_argument" element; "field_name" may contain
2363     multiple words and whitespace.
2364   - Changed public identifier to docutils.sf.net.
2365   - Removed "interpreted" element; added "title_reference",
2366     "abbreviation", "acronym".
2367   - Removed "refuri" attribute from "footnote_reference" and
2368     "citation_reference".
2369   - Added "sidebar", "rubric", "attribution", "admonition",
2370     "superscript", "subscript", and "inline" elements.
2372 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2374 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2376 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2378 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2379   Dallas Mahrt.
2381 * spec/transforms.txt: Added to project.
2383 * spec/howto: Added subdirectory, for developer how-to docs.
2385 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
2386   Elza, edited & extended by David Goodger.
2388 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
2389   project.
2391 * spec/rst/alternatives.txt:
2393   - Added "Doctree Representation of Transitions" from
2394     spec/doctree.txt.
2395   - Updated "Inline External Targets" & closed the debate.
2396   - Added ideas for interpreted text syntax extensions.
2397   - Added "Nested Inline Markup" section.
2399 * spec/rst/directives.txt:
2401   - Added directives: "topic", "sectnum", "target-notes",
2402     "line-block", "parsed-literal", "include", "replace", "sidebar",
2403     "admonition", "rubric", "epigraph", "highlights", "unicode" and
2404     "class".
2405   - Formalized descriptions of directive details.
2406   - Added an "align" attribute to the "image" & "figure" directives
2407     (by Adam Chodorowski).
2408   - Added "class" options to "topic", "sidebar", "line-block",
2409     "parsed-literal", "contents", and "image"; and "figclass" to
2410     "figure".
2412 * spec/rst/interpreted.txt: Added to project.  Descriptions of
2413   interpreted text roles.
2415 * spec/rst/introduction.txt:
2417   - Added pointers to material for new users.
2419 * spec/rst/reStructuredText.txt:
2421   - Disambiguated comments (just add a newline after the "::").
2422   - Updated enumerated list description; added a discussion of the
2423     second-line validity checking.
2424   - Updated directive description.
2425   - Added a note redirecting newbies to the user docs.
2426   - Expanded description of inline markup start-strings in non-markup
2427     contexts.
2428   - Removed field arguments and made field lists a generic construct.
2429   - Removed the 4-character minimum for section title underlines.
2430   - Clarified term/classifier delimiter & inline markup ambiguity
2431     (definition lists).
2432   - Added "Embedded URIs".
2433   - Updated "Interpreted Text" section.
2434   - Added "Character-Level Inline Markup" section.
2436 * test: Continually adding & updating tests.
2438   - Moved test/test_rst/ to test/test_parsers/test_rst/.
2439   - Moved test/test_pep/ to test/test_readers/test_pep/.
2440   - Added test/test_readers/test_python/.
2441   - Added test/test_writers/ (Engelbert Gruber).
2443 * tools:
2445   - Made the ``locale.setlocale()`` calls in front ends
2446     fault-tolerant.
2448 * tools/buildhtml.py:
2450   - Added "--silent" option.
2451   - Fixed bug with absolute paths & "--config".
2452   - Updated for new I/O classes.
2453   - Added some exception handling.
2454   - Separated publishers' setting defaults; prevents interference.
2455   - Updated for new ``publish_file()`` convenience function.
2457 * tools/pep-html-template:
2459   - Allow for "--embed-stylesheet".
2460   - Added Docutils version to "generator" meta tag.
2461   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2462   - Conform to XHTML spec.
2464 * tools/pep2html.py:
2466   - Made ``argv`` a parameter to ``main()``.
2467   - Added support for "Content-Type:" header & arbitrary PEP formats.
2468   - Linked "Content-Type: text/plain" to PEP 9.
2469   - Files skipped (due to an error) are not pushed onto the server.
2470   - Updated for new I/O classes.
2471   - Added ``check_requirements()`` & ``pep_type_error()``.
2472   - Added some exception handling.
2473   - Updated for new ``publish_string()`` convenience function.
2474   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2476 * tools/quicktest.py:
2478   - Added "-V"/"--version" option.
2480 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2482 * tools/unicode2rstsubs.py: Added to project.  Produces character
2483   entity files (reSructuredText substitutions) from the MathML master
2484   unicode.xml file.
2486 * tools/editors: Support code for editors, added to project.  Contains
2487   ``emacs/restructuredtext.el``.
2489 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2491   - Added style for chunks of inline literals.
2492   - Removed margin for first child of table cells.
2493   - Right-aligned field list names.
2494   - Support for auto-numbered section titles in TOCs.
2495   - Increased the size of inline literals (<tt>) in titles.
2496   - Restored the light gray background for inline literals.
2497   - Added support for "line_block" elements.
2498   - Added style for "address" elements.
2499   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2500   - Improved field list rendering.
2501   - Vertical whitespace improvements.
2502   - Removed "a.target" style.
2504 * tools/stylesheets/pep.css:
2506   - Fixed nested section margins.
2507   - Other changes parallel those of ``../default.css``.
2510 Release 0.2 (2002-07-31)
2511 ========================
2513 General:
2515 - The word "component" was being used ambiguously.  From now on,
2516   "component" will be used to mean "Docutils component", as in Reader,
2517   Writer, Parser, or Transform.  Portions of documents (Table of
2518   Contents, sections, etc.)  will be called "document parts".
2519 - Did a grand renaming: a lot of ``verylongnames`` became
2520   ``very_long_names``.
2521 - Cleaned up imports: no more relative package imports or
2522   comma-separated lists of top-level modules.
2523 - Added support for an option values object which carries default
2524   settings and overrides (from command-line options and library use).
2525 - Added internal Unicode support, and support for both input and
2526   output encodings.
2527 - Added support for the ``docutils.io.IO`` class & subclasses.
2529 Specific:
2531 * docutils/__init__.py:
2533   - Added ``ApplicationError`` and ``DataError``, for use throughout
2534     the package.
2535   - Added ``Component`` base class for Docutils components; implements
2536     the ``supports`` method.
2537   - Added ``__version__`` (thus, ``docutils.__version__``).
2539 * docutils/core.py:
2541   - Removed many keyword parameters to ``Publisher.__init__()`` and
2542     ``publish()``; bundled into an option values object.  Added
2543     "argv", "usage", "description", and "option_spec" parameters for
2544     command-line support.
2545   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2546     methods.
2547   - Reworked I/O model for ``docutils.io`` wrappers.
2548   - Updated ``Publisher.set_options()``; now returns option values
2549     object.
2550   - Added support for configuration files (/etc/docutils.conf,
2551     ./docutils.conf, ~/.docutils).
2552   - Added ``Publisher.setup_option_parser()``.
2553   - Added default usage message and description.
2555 * docutils/frontend.py: Added to project; support for front-end
2556   (command-line) scripts.  Option specifications may be augmented by
2557   components.  Requires Optik (http://optik.sf.net/) for option
2558   processing (installed locally as docutils/optik.py).
2560 * docutils/io.py: Added to project; uniform API for a variety of input
2561   output mechanisms.
2563 * docutils/nodes.py:
2565   - Added ``TreeCopyVisitor`` class.
2566   - Added a ``copy`` method to ``Node`` and subclasses.
2567   - Added a ``SkipDeparture`` exception for visitors.
2568   - Renamed ``TreePruningException`` from ``VisitorException``.
2569   - Added docstrings to ``TreePruningException``, subclasses, and
2570     ``Nodes.walk()``.
2571   - Improved docstrings.
2572   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2573   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2574     imports.
2575   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2576     ``PreDecorative`` mixin.
2577   - Reworked the name/id bookkeeping; to ``document``, removed
2578     ``explicit_targets`` and ``implicit_targets`` attributes, added
2579     ``nametypes`` attribute and ``set_name_id_map`` method.
2580   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2581     traversals.
2582   - Added ``document.has_name()`` method.
2583   - Fixed DOM generation for list-attributes.
2584   - Added category class ``Labeled`` (used by footnotes & citations).
2585   - Added ``Element.set_class()`` method (sets "class" attribute).
2587 * docutils/optik.py: Added to project.  Combined from the Optik
2588   package, with added option groups and other modifications.  The use
2589   of this module is probably only temporary.
2591 * docutils/statemachine.py:
2593   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2594   - Added underscores to improve many awkward names.
2595   - In ``string2lines()``, changed whitespace normalizing translation
2596     table to regexp; restores Python 2.0 compatibility with Unicode.
2598 * docutils/urischemes.py:
2600   - Filled in some descriptions.
2601   - Added "shttp" scheme.
2603 * docutils/utils.py:
2605   - Added ``clean_rcs_keywords`` function (moved from
2606     docutils/transforms/frontmatter.py
2607     ``DocInfo.filter_rcs_keywords``).
2608   - Added underscores to improve many awkward names.
2609   - Changed names of Reporter's thresholds:
2610     warning_level -> report_level; error_level -> halt_level.
2611   - Moved ``utils.id()`` to ``nodes.make_id()``.
2612   - Added ``relative_path(source, target)``.
2614 * docutils/languages/de.py: German mappings; added to project.  Thanks
2615   to Gunnar Schwant for the translations.
2617 * docutils/languages/en.py: Added "Dedication" bibliographic field
2618   mappings.
2620 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2621   Chodorowski.
2623 * docutils/parsers/rst/states.py:
2625   - Added underscores to improve many awkward names.
2626   - Added RFC-2822 header support.
2627   - Extracted the inline parsing code from ``RSTState`` to a separate
2628     class, ``Inliner``, which will allow easy subclassing.
2629   - Made local bindings for ``memo`` container & often-used contents
2630     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2631   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2632   - Added ``MarkupMismatch`` exception; for late corrections.
2633   - Added ``-/:`` characters to inline markup's start string prefix,
2634     ``/`` to end string suffix.
2635   - Fixed a footnote bug.
2636   - Fixed a bug with literal blocks.
2637   - Applied patch from Simon Budig: simplified regexps with symbolic
2638     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2639   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2640   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2641   - Allowed non-ASCII in "simple names" (directive names, field names,
2642     references, etc.).
2643   - Converted ``Inliner.patterns.initial`` to be dynamically built
2644     from parts with ``build_regexp()`` function.
2645   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2646   - Updated docstrings.
2647   - Changed "table" to "grid_table"; added "simple_table" support.
2649 * docutils/parsers/rst/tableparser.py:
2651   - Changed ``TableParser`` to ``GridTableParser``.
2652   - Added ``SimpleTableParser``.
2653   - Refactored naming.
2655 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2656   a fallback language for directive names.
2658 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2659   directive to use a ``pending`` element, used only by HTML writers.
2661 * docutils/parsers/rst/directives/parts.py: Renamed from
2662   components.py.
2664   - Added "backlinks" attribute to "contents" directive.
2666 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2667   project by Adam Chodorowski.
2669 * docutils/readers/__init__.py: Gave Readers more control over
2670   choosing and instantiating Parsers.
2672 * docutils/readers/pep.py: Added to project; for PEP processing.
2674 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2675   requires a ``component`` parameter.
2677 * docutils/transforms/components.py: Added to project; transforms
2678   related to Docutils components.
2680 * docutils/transforms/frontmatter.py:
2682   - In ``DocInfo.extract_authors``, check for a single "author" in an
2683     "authors" group, and convert it to a single "author" element.
2684   - Added support for "Dedication" and generic bibliographic fields.
2686 * docutils/transforms/peps.py: Added to project; PEP-specific.
2688 * docutils/transforms/parts.py: Renamed from old components.py.
2690   - Added filter for `Contents`, to use alt-text for inline images,
2691     and to remove inline markup that doesn't make sense in the ToC.
2692   - Added "name" attribute to TOC topic depending on its title.
2693   - Added support for optional TOC backlinks.
2695 * docutils/transforms/references.py: Fixed indirect target resolution
2696   in ``Hyperlinks`` transform.
2698 * docutils/transforms/universal.py:
2700   - Changed ``Messages`` transform to properly filter out system
2701     messages below the warning threshold.
2702   - Added ``Decorations`` transform (support for ``--generator``,
2703     ``--date``, ``--time``, ``--source-link`` options).
2705 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2706   Engelbert Gruber's PDF writer.
2708 * docutils/writers/html4css1.py:
2710   - Made XHTML-compatible (switched to lowercase element & attribute
2711     names; empty tag format).
2712   - Escape double-dashes in comment text.
2713   - Improved boilerplate & modularity of output.
2714   - Exposed modular output in Writer class.
2715   - Added a "generator" meta tag to <head>.
2716   - Added support for the ``--stylesheet`` option.
2717   - Added support for ``decoration``, ``header``, and ``footer``
2718     elements.
2719   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2720     translation table to regexp; restores Python 2.0 compatibility
2721     with Unicode.
2722   - Added the translator class as instance variable to the Writer, to
2723     make it easily subclassable.
2724   - Improved option list spacing (thanks to Richard Jones).
2725   - Modified field list output.
2726   - Added backlinks to footnotes & citations.
2727   - Added percentage widths to "<col>" tags (from colspec).
2728   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2729     "<span>" changed to "<var>".
2730   - Inline literals: "<code>" changed to "<tt>".
2731   - Many changes to optimize vertical space: compact simple lists etc.
2732   - Add a command-line options & directive attributes to control TOC
2733     and footnote/citation backlinks.
2734   - Added support for optional footnote/citation backlinks.
2735   - Added support for generic bibliographic fields.
2736   - Identify backrefs.
2737   - Relative URLs for stylesheet links.
2739 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2740   PEPs (subclass of ``html4css1.Writer``).
2742 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2744 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2745   of the Docutils internal doctree in XML.
2747 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2749 * spec/doctree.txt:
2751   - Changed the title to "The Docutils Document Tree".
2752   - Added "Hyperlink Bookkeeping" section.
2754 * spec/docutils.dtd:
2756   - Added ``decoration``, ``header``, and ``footer`` elements.
2757   - Brought ``interpreted`` element in line with the parser: changed
2758     attribute "type" to "role", added "position".
2759   - Added support for generic bibliographic fields.
2761 * spec/notes.txt: Continual updates.  Added "Project Policies".
2763 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
2764   section.
2766 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2768 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
2769   mailing list discussions.
2771 * spec/pep-0287.txt:
2773   - Renamed to "reStructuredText Docstring Format".
2774   - Minor edits.
2775   - Reworked Q&A as an enumerated list.
2776   - Converted to reStructuredText format.
2778 * spec/pysource.dtd:
2780   - Reworked structural elements, incorporating ideas from Tony Ibbs.
2782 * spec/pysource.txt: Removed from project.  Moved much of its contents
2783   to pep-0258.txt.
2785 * spec/rst/alternatives.txt:
2787   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2788   - Added "Inline External Targets" section.
2790 * spec/rst/directives.txt:
2792   - Added "backlinks" attribute to "contents" directive.
2794 * spec/rst/problems.txt:
2796   - Updated the Enumerated List Markup discussion.
2797   - Added new alternative table markup syntaxes.
2799 * spec/rst/reStructuredText.txt:
2801   - Clarified field list usage.
2802   - Updated enumerated list description.
2803   - Clarified purpose of directives.
2804   - Added ``-/:`` characters to inline markup's start string prefix,
2805     ``/`` to end string suffix.
2806   - Updated "Authors" bibliographic field behavior.
2807   - Changed "inline hyperlink targets" to "inline internal targets".
2808   - Added "simple table" syntax to supplement the existing but
2809     newly-renamed "grid tables".
2810   - Added cautions for anonymous hyperlink use.
2811   - Added "Dedication" and generic bibliographic fields.
2813 * test: Made test modules standalone (subdirectories became packages).
2815 * test/DocutilsTestSupport.py:
2817   - Added support for PEP extensions to reStructuredText.
2818   - Added support for simple tables.
2819   - Refactored naming.
2821 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2823   - Now supports true packages containing test modules
2824     (``__init__.py`` files required); fixes duplicate module name bug.
2826 * test/test_pep/: Subpackage added to project; PEP testing.
2828 * test/test_rst/test_SimpleTableParser.py: Added to project.
2830 * tools:
2832   - Updated html.py and publish.py front-end tools to use the new
2833     command-line processing facilities of ``docutils.frontend``
2834     (exposed in ``docutils.core.Publisher``), reducing each to just a
2835     few lines of code.
2836   - Added ``locale.setlocale()`` calls to front-end tools.
2838 * tools/buildhtml.py: Added to project; batch-generates .html from all
2839   the .txt files in directories and subdirectories.
2841 * tools/default.css:
2843   - Added support for ``header`` and ``footer`` elements.
2844   - Added styles for "Dedication" topics (biblio fields).
2846 * tools/docutils.conf: A configuration file; added to project.
2848 * tools/docutils-xml.py: Added to project.
2850 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2852 * tools/pep-html-template: Added to project.
2854 * tools/pep2html.py: Added to project from Python (nondist/peps).
2855   Added support for Docutils (reStructuredText PEPs).
2857 * tools/quicktest.py:
2859   - Added the ``--attributes`` option, hacked a bit.
2860   - Added a second command-line argument (output file); cleaned up.
2862 * tools/stylesheets/: Subdirectory added to project.
2864 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2867 Release 0.1 (2002-04-20)
2868 ========================
2870 This is the first release of Docutils, merged from the now inactive
2871 reStructuredText__ and `Docstring Processing System`__ projects.  For
2872 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2873 `DPS HISTORY`__ files.
2875 __ http://structuredtext.sourceforge.net/
2876 __ http://docstring.sourceforge.net/
2877 __ http://structuredtext.sourceforge.net/HISTORY.html
2878 __ http://docstring.sourceforge.net/HISTORY.html
2880 General changes: renamed 'dps' package to 'docutils'; renamed
2881 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2882 the test suites (reStructuredText's test/test_states renamed to
2883 test/test_rst); and all modifications required to make it all work.
2885 * docutils/parsers/rst/states.py:
2887   - Improved diagnostic system messages for missing blank lines.
2888   - Fixed substitution_reference bug.
2892    Local Variables:
2893    mode: indented-text
2894    indent-tabs-mode: nil
2895    sentence-end-double-space: t
2896    fill-column: 70
2897    End: