Do not add newline after inline math (produces unwanted whitespace).
[docutils.git] / docutils / HISTORY.txt
blob95c60f6302e92bbc65d550e2f0e12b0ef79bce20
1 .. -*- coding: utf-8 -*-
3 ==================
4  Docutils History
5 ==================
7 :Author: David Goodger; open to all Docutils developers
8 :Contact: docutils-develop@lists.sourceforge.net
9 :Date: $Date$
10 :Revision: $Revision$
11 :Web site: http://docutils.sourceforge.net/
12 :Copyright: This document has been placed in the public domain.
14 .. contents::
16 Changes Since 0.11
17 ==================
19 * docs/ref/rst/directives.txt
21   - Update "math" and "csv-table" descriptions.
23 * docutils/parsers/rst/states.py
25   - Improve error report when a non-ASCII character is specified as
26     delimiter, quote or escape character under Python 2.
27     Fixes [ 249 ] and [ 250 ].
29 * docutils/writers/html4css1/__init__.py
31   - Don't add newline after inline math.
32     Thanks to Yury G. Kudryashov for the patch.
34 * docutils/writers/latex2e/__init__.py
36   - Fix [ 239 ] Latex writer glues paragraphs with figure floats.
37   - Apply [ 116 ] by Kirill Smelkov. Don't hardcode \large for subtitle.
39 * docutils/writers/odf_odt/__init__.py
41   - Apply patch by Jakub Wilk to fix bug [ 100 ].
43 * test/test_error_reporting.py
45   - Fix [ 223 ] by removing redundant tests we do not have control over.
47 * test/test_nodes.py
49   - Apply [ 115 ] respect fixed 2to3 string literal conversion behavior.
51 Release 0.11 (2013-07-22)
52 =========================
54 * General
56   - Apply [ 2714873 ] Fix for the overwritting of document attributes.
57   - Support embedded aliases within hyperlink references.
58   - Fix [ 228 ] try local import of docutils components (reader, writer, parser,
59     language module) before global search.
61 * docutils/nodes.py
63   - Fix [ 3601607 ] node.__repr__() must return `str` instance.
65 * docutils/parsers/rst/directives/__init__.py
67   - Fix [ 3606028 ] ``assert`` is skipped with ``python -O``.
69 * docutils/parsers/rst/directives/images.py
71   - Apply [ 3599485 ] node source/line information for sphinx translation.
73 * docutils/parsers/rst/directives/tables.py
75   - Fix [ 210 ] Python 3.3 checks CVS syntax only if "strict" is True.
77 * docutils/parsers/rst/states.py
79   - Fix [ 157 ] Line block parsing doesn't like system message.
80   - Always import our local copy of roman.py (report Larry Hastings).
82 * docutils/transforms/references.py
84   - Fix [ 3607029 ] traceback with embedded alias pointing to missing target.
86 * docutils/utils/__init__.py
88   - Fix [ 3596884 ] exception importing ``docutils.io``.
90 * docutils/writers/html4css1/__init__.py
92   - Fix [ 3600051 ] for tables in a list, table cells are not compacted.
93   - New setting `stylesheet_dirs`: Comma-separated list of directories
94     where stylesheets are found. Used by `stylesheet_path` when expanding
95     relative path arguments.
96   - New default for math-output_: ``HTML math.css``.
97   - Avoid repeated class declarations in html4css1 writer
98     (modified version of patch [ 104 ]).
100 .. _math-output: docs/user/config.html#math-output
102 * docutils/writers/latex2e/__init__.py
104   - Drop the simple algorithm replacing straight double quotes with
105     English typographic ones.
106     Activate the SmartQuotes_ transform if you want this feature.
107   - Fix literal use of babel shorthands (straight quote, tilde, ...).
108   - Fix [ 3603246 ] Bug in option "--graphicx-option=auto".
109   - New setting `stylesheet_dirs`.
111 .. _SmartQuotes: docs/user/config.html#smart-quotes
113 * docutils/writers/manpage.py
115   - Fix [3607063] handle lines starting with a period.
116   - Fix option separating comma was bold (thanks to Bill Morris).
118 Release 0.10 (2012-12-16)
119 =========================
121 * General
123   - Dropped support for Python 2.3.
124   - ``docutils/math``, ``docutils/error_reporting.py``, and
125     ``docutils/urischemes.py`` moved to the utils package.
126   - Fix [3541369] Relative __import__ also with Python 3.3.
127   - Fix [3559988] and [3560841] __import__ local writer, reader, languages
128     and parsers for Python 2.7 up.
129   - Fix import of PIL.Image.
130   - Change default of "syntax highlight" option to "long",
131     basic syntax highlight styles for LaTeX and HTML.
133 * docutils/io.py
135   - FileInput/FileOutput: no system-exit on IOError.  The `handle_io_errors`
136     option is ignored and will be removed in a future release.
137   - Fix Py3k error writing to stdout with encoding differing from default.
138   - Fix opening binary files under Py3k (thanks to Dominic Fitzpatrick).
140 * docutils/parsers/rst/directives/misc.py
142   - Fix [ 3546533 ] Unicode error with `date` directive.
144 * docutils/transforms/universal.py
146   - SmartQuotes transform for typographic quotes and dashes.
148 * docutils/utils/__init__.py
150   - normalize_language_tag() now returns `BCP 47`_ conformant tags
151     with subtags separated by ``-``.
153 * docutils/writers/html4css1/__init__.py
155   - Use ``<code>`` tag for inline "code",
156     do not drop nested inline nodes (syntax highlight tokens).
157   - Customizable MathJax URL (based on patch by Dmitry Shachnev).
158   - No line break after opening inline math tag.
160 * docutils/writers/manpage.py
162   - Apply [ 3527401 ] addmonition's don't preserve indentation
163   - Apply [ 3527397 ] Add indentation to literal blocks in manpage writer.
165 , docutils/writers/xetex/__init__.py
167   - Apply [ 3555160 ] ensure order of "otherlanguages".
168   - Fix section numbering by LaTeX.
170 * docutils/writers/s5_html/__init__.py
172   - Fix [ 3556388 ] Mathjax does not work with rst2s5.
174 * docutils/writers/s5_html/docutils_xml.py
176   - Fix [ 3552403 ] Prevent broken PyXML replacing stdlibs xml module.
178 * setup.py
180   - Tag ``math.css`` stylesheet as data file (patch by Dmitry Shachnev).
182 * tools/test/test_buildhtml.py
184   - Fix [ 3521167 ] allow running in any directory.
185   - Fix [ 3521168 ] allow running with Python 3.
188 Release 0.9.1 (2012-06-17)
189 ==========================
191 * setup.py
193   - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
194     installed in the PYTHONPATH. Converted tests are now
195     stored in ``test3/``, tools no longer need conversion.
197     If you installed one of Docutils versions 0.7 ... 0.9 with
198     ``setup.py install`` under Python 3, remove the spurious
199     ``test/`` and ``tools/`` directories in the site library root.
201 * test/
203   - Make tests independent from the location of the ``test/`` directory.
204   - Use converted sources (from the ``build/`` directory) for tests under
205     Python 3.
207 * tools/
209   - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
211 * docutils/io.py
213   - Fix writing binary data to sys.stdout under Python 3 (allows
214     ``rst2odt.py`` to be used with output redirection).
216 * docutils/parsers/rst/directives/misc.py
218   - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
219     ``locale == C`` and 8-bit char in path argument of `include` directive.
221 * test/alltests.py
223   - class `Tee`: catch UnicodeError when writing to "ascii" stream or
224     file under Python 3.
226 Release 0.9 (2012-05-02)
227 ========================
229 * General:
231   - New reStructuredText "code" role and directive and "code" option
232     of the "include" directive with syntax highlighting by Pygments_.
233   - Fix parse_option_marker for option arguments containing ``=``.
234   - Fix [ 2993756 ]: import Python Imaging Library's Image module
235     via ``import PIL`` as starting with PIL 1.2,
236     "PIL lives in the PIL namespace only" (announcement__).
238 .. _Pygments: http://pygments.org/
239 __ http://mail.python.org/pipermail/image-sig/2011-January/006650.html
241 * setup.py
243   - Fix [ 2971827 ] and [ 3442827 ]
244     extras/roman.py moved to docutils/utils/roman.py
246 * docutils/frontend.py
248   - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
250 * docutils/io.py
252   - Fix [ 3395948 ] (Work around encoding problems in Py3k).
253   - `mode` argument for FileOutput avoids code replication in
254     BinaryFileOutput.
255   - New exceptions InputError and OutputError for IO errors in
256     FileInput/FileOutput.
258 * docutils/core.py:
260   - No "hard" system exit on file IO errors: catch and report them in
261     `Publisher.reportException` instead. Allows handling by a calling
262     application if the configuration setting `traceback` is True.
264 * docutils/utils.py -> docutils/utils/__init__.py
266   - docutils.utils is now a package (providing a place for sub-modules)
268   .. note:: docutils/math, docutils/error_reporting.py, and
269      docutils/urischemes.py will move to the utils package in the next
270      release, too. See RELEASE-NOTES__
272      __ RELEASE-NOTES.html
274   - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
275     errors recording non-ASCII filenames (fixes [ 3434355 ]).
277   - Fix relative_path() with source=None and `unicode` target.
279 * docutils/parsers/rst/states.py
281   - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
282     characters and "international" quotes around inline markup.
283   - Use `field_marker` pattern to look for start of a
284     directive option block (fixes [ 3484857 ]).
286 * docutils/parsers/rst/tableparser.py
288   - Fix [ 2926161 ] for simple tables.
289     (Combining chars in grid tables still contribute to cell width.)
291 * docutils/writers/latex2e/__init__.py
293   - Support the `abbreviation` and `acronym` standard roles.
294   - Record only files required to generate the LaTeX source as dependencies.
295   - Fix handling of missing stylesheets.
296   - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
297     when suppressing LaTeX section numbering.
298   - Use ``\DUtitle`` for unsupported section levels
299   - Apply [ 3512791 ] do not compare string literals with "is"
301 * docutils/writers/xetex/__init__.py
303   - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
305 * docutils/writers/html4css1/__init__.py
307   - Change default for `math-output` setting to MathJax.
308   - Fix handling of missing stylesheets.
310 * docutils/writers/docutils_xml.py
312   - Use the visitor pattern with default_visit()/default_depart() methods
313     instead of minidom to facilitate special handling of selected nodes.
314   - Support raw XML (inserted as-is inside a <raw></raw> node).
316 * docutils/writers/manpage.py
318   - Do not emit comment line with trailing blank. Problematic for VCS.
320 Release 0.8.1 (2011-08-30)
321 ==========================
323 * General:
325   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
326     and [ 3395920 ] (correct copyright info for rst.el).
328 * test/
330   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
332 * docutils/writers/latex2e/__init__.py
334   - Clean up Babel language setting. Restores Sphinx compatibility.
336 Release 0.8 (2011-07-07)
337 ========================
339 * General:
341   - Handle language codes according to `BCP 47`_.
342   - If the specified language is not supported by Docutils,
343     warn and fall back to English.
344   - Math support: reStructuredText "math" role and directive,
345     ``math`` and ``math_block`` doctree elements.
346   - Decode command line arguments with the locale's preferred encoding
347     (to allow, e.g., ``--title=Dornröschen``).
348   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
349   - New sub-module `error_reporting`: handle encoding/decoding errors
350     when reporting exceptions.
351   - Some additions to the Docutils core are released under the 2-Clause BSD
352     license, see COPYING_ for details.
354   .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
355   .. _COPYING: COPYING.html
357 * reStructuredText:
359   - Most directives now support a "name" option that attaches a
360     reference name.
362   - Directive content may start on the first line also when the directive
363     type accepts options.
365 * docs/dev/policies.txt:
367   - Recommend the 2-Clause BSD license
368     (http://www.spdx.org/licenses/BSD-2-Clause)
369     for code that is kept under the author's copyright.
371 * tools/buildhtml.py:
373   - Fix ``--local`` switch.
375 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
377 * docutils/writers/html4css1/__init__.py
379   - Set "lang" argument for objects with class argument
380     "language-<language tag>".
381   - New setting "math-output" with support for HTML, MathML, and LaTeX.
383 * docutils/writers/latex2e/__init__.py
385   - Fix [ 3043986 ] AttributeError using :local: with table of content.
386   - Place title data in the document preamble.
387   - Load `babel` package only if required.
388   - Update list of supported languages.
389   - New config setting "hyperref-options".
390     No hard-coded "unicode" hyperref option (clash with xetex).
391   - Set language for custom roles, paragraphs, block-quotes, and
392     line-quotes with class argument "language-<language tag>".
393   - Fix [ 3095603 ] wrong quotes output for russian and other languages.
394   - Convert image URI to a local file path.
395   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
396     has more than one paragraph (Wolfgang Scherer).
397   - \leavevmode before longtable only when needed (prevents spurious vspace)
398   - do not advance table counter for tables without caption
400 * docutils/writers/xetex/__init__.py
402   - New writer generating LaTeX code for compiling with ``xelatex``.
404     A separate writer (inheriting from latex2e) instead of a ``--xetex``
405     option allows separate config options for XeTeX vs. LaTeX2e.
407 * docutils/writers/manpage.py
409   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
410   - Fix: vertical space cleaning for option group ``.``.
412 * tools/editors/emacs/rst.el:
414   - Fix [ 3001100 ] does not handle spaces in filenames
415     (thanks to Jakub Wilk)
417 * docutils/utils.py:
419   - strip whitespace from stylesheet arguments
420   - exclude combining chars from column_width()
421     (partial fix for [ 2926161 ])
423 * docutils/parsers/rst/directives/misc.py:
425   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
426     nested_parse
428 * docutils/io.py:
430   - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
431     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
433 Release 0.7 (2010-07-07)
434 ========================
436 * General:
438   - Fix [ 2881769 ] setup configuration.
439   - Fix [ 2788716 ] reporting problems in included files.
441 * docutils/io.py
443   - FileInput opens files as text files with universal newline support
444     (mode "rU", configurable with the new optional argument "mode").
446 * docutils/nodes.py
448   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
450 * docutils/utils.py
452   - Fix [ 2923723 ] let decode_path() tolerate path == None
454 * docutils/writers/html4css1/__init__.py
456   - Support SVG and SWF images (thanks to Stefan Rank).
457   - Generate valid XHTML for centered images with targets.
458     Use CSS classes instead of "align" tags for image alignment.
460 * docutils/writers/latex2e/__init__.py
462   - Use `transforms.writer_aux.Admonitions` to "normalize" special
463     admonitions.
464   - Use the ``\url`` command for URLs (breaks long URLs instead of
465     writing into the margin).
466   - Preserve runs of spaces in `inline literals`__.
467   - Deprecate ``figure_footnotes`` setting.
468   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
469   - New ``latex_preamble`` setting.
470   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
471   - Fix hyperlink targets (labels) for images, figures, and tables.
472   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
473   - Apply [ 2961991 ] Call hyperref with unicode option.
474   - Drop the special `output_encoding`__ default ("latin-1").
475     The Docutils wide default (usually "UTF-8") is used instead.
476   - Render inline markup in document title and subtitle.
477   - Fix numbering depth with LaTeX section numbering.
478   - Update Unicode -> LaTeX translations.
479   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
481 __ docs/ref/restructuredtext.html#inline-literals
482 __ docs/user/config.html#docutils-footnotes
483 __ docs/user/config.html#output_encoding
485 * docutils/writers/manpage.py
487   - Fix: supported attribute (thanks to peter2108).
488   - Remove trailing blanks in code (keep in sync with mercurial version).
489   - Titles level 1, that is ``.SH``, always uppercase.
490   - Apply patch from mg: literal text should be bold in man-pages.
492 * docutils/nodes.py
494   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
495     turkish locale.
497 * setup.py:
499   - Python 3 support: copy test/ and tools/ to the build-dir
500     and convert Python sources with 2to3.
503 Release 0.6 (2009-10-11)
504 ========================
506 * General:
508   - Docutils is now compatible with Python versions from 2.3 up to 2.6
509     and convertible to 3.1 code.
511     + Node.__nonzero__ returns True instead of 1.
512     + use os.walk instead os.path.walk.
513     + minimize "types" module where possible.
514     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
515     + Text nodes now subclass unicode rather than UserString
516       (which is gone in python 3.0).
517     + 3.0 compatibility module docutils._compat
519     + Drop 2.2 compatibility workarounds.
520     + Drop extras/optparse.py and extras/textwrap.py
521       (stdlib modules since 2.3).
523   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
524   - Unix man page export: manpage writer moved from sandbox to Doctutils
525     core.
527   - Apply [ 1719345 ] Galician translation
528   - Apply [ 1905741 ] Polish translation
529   - Apply [ 1878977 ] make_id(): deaccent characters.
530   - Apply [ 2029251 ] return nonzero when tests fail.
531   - Fix [ 1692788 ] allow UTF-8 in style sheets.
532   - Fix [ 2781629 ] support non-ASCII chars in file names.
533   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
534   - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
535   - Fix [ 2821266 ] --strict option works now like --halt=info.
536   - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
537   - Fix [ 1627229 ] hyperlink references in substitutions.
539   - The "newlatex" writer is orphaned.
541 * reStructuredText:
543   - Documented Unicode characters allowed as inline markup openers,
544     closers, and delimiters.
545   - Allow units for all length specifications.
546   - Allow percent sign in "scale" argument of "figure" and "image" directives.
547   - Bugfix: The "figalign" argument of a figure now works as intended
548     (aligning the figure, not its contents).
549   - Align images with class "align-[right|center|left]"
550     (allows setting the alignment of an image in a figure).
552 * docutils/nodes.py:
554   - Added ``Element.__contains__`` method, for the in-operator.
556 * docutils/parsers/rst/states.py:
558   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
559   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
560     " " (non-breaking space), and "¡ ¿" openers.
562 * docutils/parsers/directives/misc.py:
564   - Added ``start-line`` and ``end-line`` options to "include"
565     directive to select a range of lines.
566   - Hard tabs in literal inclusions are replaced by spaces. This is
567     configurable via the new ``tab-width`` option of the "include" directive
568     (a negative tab-width prevents tab expansion).
570 * docutils/utils.py:
572   - Add ``get_stylesheet_list`` function.
573   - Apply [ 2834836 ] print info at halt
575 * docutils/transforms/universal.py:
577   - Raise default priority of StripClasses to exclude stripped classes from
578     the ToC.
580 * docutils/writers/html4css1/__init__.py:
582   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
583     separated list of stylesheets.
584   - Address [ 1938891 ] Inline literal text creates "pre" span only when
585     needed to prevent inter-word line wraps.
586   - Use `translate` method instead of repeated `replace` calls.
587   - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
588     classes to allow CSS styling that does not interfere with other
589     table-using constructs (field lists, citations, ...).
591 * docutils/writers/newlatex2e/__init__.py:
593   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
595 * docutils/writers/latex2e/__init__.py (see also
596   `<docs/user/docutils-05-compat.sty.html>`__) :
598   - Add ``--embed-stylesheet`` option.
599   - Apply [ 1474017 ] image vertical alignment is reversed.
600   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
601   - Change: has_key for dictionaries (not Nodes) to in-operator.
602   - Merge adjacent citations into one latex cite command.
603   - Failsave implementation of custom roles. LaTeX compilation now ignores
604     unknown classes instead of aborting with an error.
605   - Support custom roles based on standard roles.
606   - LaTeX packages can be used as ``--stylesheet`` arguments without
607     restriction. (A style sheet is now referenced with the ``\usepackage``
608     command, if it ends with ``.sty`` or has no extension.)
609   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
610   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
611   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
612     2005-02-04 as a configurable length unit).
613   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
614     if font-encoding is set to ''. LaTeX defaults to OT1 then.
615   - Set sub- and superscript role argument in text mode not as math.
616     Use a custom role based on sub-/superscript if you want italic shape.
617   - Shorter preamble and less dependencies: Load packages and define macros
618     only if required in the document.
619   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
620   - New custom environments and commands with optional "classes" argument.
621   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
622   - Better conformance to Docutils specifications with ``--use-latex-toc``.
623     Support for LaTeX generated ToC also with unnumbered sections.
624   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
625     section numbering by LaTeX.
626   - Use default font in admonitions and sidebar.
627   - Align of image in a figure defaults to 'center'.
628   - Bugfix: Newlines around targets and references prevent run-together
629     paragraphs.
630   - Fix internal hyperlinks.
631   - Use class defaults for page margins ('typearea' now optional).
632   - Float placement made configurable, default changed to "here definitely".
633   - Typeset generic topic as "quote block with title".
634   - Use template (file and configuration option).
635   - In the default template, load cmap.sty (fix text extraction in PDF) and
636     fixltx2e.sty (LaTeX patches, \textsubscript).
637   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
638   - Use `translate` instead of repeated `replace` calls for text encoding.
639   - Hyperlinked footnotes and support for symbol footnotes and
640     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
641   - Complete pairs of binary options
642     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
643     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
644   - New defaults:
645     - font-encoding: "T1" (formerly implicitely set by 'ae').
646     - use-latex-toc: true (ToC with page numbers).
647     - use-latex-footnotes: true (no mixup with figures).
649 * docutils/writers/manpage.py
651   - Do not print version at document end, this is done by the viewer.
652   - Do not print date at document end, this is done by the viewer.
653   - Fix storage of docinfo fields for none standard fields.
655 * docutils/tools/rst2man.py
657 Release 0.5 (2008-06-25)
658 ========================
660 * docutils/languages/he.py: Added to project: Hebrew mappings by
661   Meir Kriheli.
663 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
664   mappings by Meir Kriheli.
666 * docutils/frontend.py:
668   - Configuration files are now assumed and required to be
669     UTF-8-encoded.
670   - Paths of applied configuration files are now recorded in the
671     runtime setting ``_config_files`` (accessible via
672     ``--dump-settings``).
673   - Added ``--strip-elements-with-class`` and ``--strip-class``
674     options (``strip_elements_with_classes`` and ``strip_classes``
675     settings).
677 * docutils/io.py:
679   - Added code to determine the input encoding from data: encoding
680     declarations or the presence of byte order marks (UTF-8 & UTF-16).
681   - Added support for IronPython 1.0.
683 * docutils/nodes.py:
685   - Added ``document.__getstate__`` method, for pickling.
687 * docutils/parsers/rst/states.py:
689   - Allow ``+`` and ``:`` in reference names.
690   - Unquoted targets beginning with an underscore (``.. __target:
691     URI``) are no longer accepted.
692   - Added support for multiple attributions in a physical block quote
693     (indented text block), dividing it into multiple logical block
694     quotes.
695   - Added support for unicode bullets in bullet lists: "•", "‣", and
696     "⁃".
697   - Added support for new object-oriented directive interface,
698     retaining compatibility to the old functional interface.
699   - Added support for throwing ``DirectiveError``'s from within
700     directive code.
702 * docutils/parsers/rst/__init__.py:
704   - Added ``Directive`` base class.
705   - Added ``DirectiveError`` base class.
706   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
707     definitions.
709 * docutils/parsers/directives/:
711   - Refactored all reStructuredText directives to use the new
712     object-oriented directive interface.  Errors are now (mostly)
713     thrown using the new ``DirectiveError`` class.
715 * docutils/parsers/directives/misc.py:
717   - Added ``start-after`` and ``end-before`` options to ``include``
718     directive; thanks to Stefan Rank.
720 * docutils/transforms/universal.py:
722   - Added ``StripClassesAndElements`` transform to remove from the
723     document tree all elements with classes in
724     ``settings.strip_elements_with_classes`` and all "classes"
725     attribute values in ``self.document.settings.strip_classes``.
727 * docutils/transforms/writer_aux.py:
729   - Added ``Admonitions`` transform to transform specific admonitions
730     (like ``note``, ``warning``, etc.) into generic admonitions with a
731     localized title.
733 * docutils/writers/html4css1/__init__.py:
735   - Moved template functionality from the PEP/HTML writer here.
736   - Expanded the fragments available in the ``parts`` attribute.
737   - Moved ``id`` attributes from titles to surrounding ``div``
738     elements.
739   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
740     universally supported now).
741   - ``template.txt`` is now opened in text mode instead of binary mode
742     (to ensure Windows compatibility).
743   - ``a`` elements now have an "internal" or "external" class,
744     depending on reference type.
746 * docutils/writers/html4css1/template.txt: Added to project.
748 * docutils/writers/pep_html/:
750   - Moved template functionality to the HTML writer.
752 * docutils/writers/s5_html/__init__.py:
754   - Added ``view_mode`` & ``hidden_controls`` settings
755     (``--view-mode`` & ``--hidden-controls/--visible-controls``
756     options).
758 * docutils/writers/latex2e/__init__.py:
760   - Add ``--literal-block-env``
761   - Fix: escaping ``%`` in href urls.
762   - Move usepackage hyperref after stylesheet inclusion.
763   - Fix: scrartcl does not have chapter but scrreprt.
764   - Add newline after ``\end{verbatim}``.
765   - Merge smaller differences from latex2e_adaptive_preamble.
766   - Add ``use-part-section``.
767   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
768   - Using leavemode option_list no longer needs to check if parent
769     is a definition list.
770   - Append ``\leavemode`` to definition list terms.
771   - No longer write visit\_/depart_definition_list_item comments to
772     output.
773   - Table column width with 3 decimal places.
774   - Add table stubs support (boldfont).
775   - Add assemble_parts to writer.
776   - Add simply support for nested tables.
777   - Fix verbatim in tables if use-verbatim-when-possible.
778   - Use section commands down to subparagraph.
779   - Put ensuremath around some latin1 chars.
780   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
781   - New option ``--use-bibtex=style,db1,db2``.
782   - New option ``--reference-label`` to allow usage of LaTeX ref for
783     labels in section references.
784   - Add a label after every section to support sectionnumbers as reference
785     labels.
786   - Fix: bug# 1605376 rst2latex: bad options group list
787   - Remove inactive code for use_optionlist_for_option_list.
788   - Remove latex comments from option_list output.
789   - Fix: bug# 1612270 double qoutes in italian literal.
790   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
791   - Add option --use-latex-abstract.
792   - Image width unit ``px`` is translated to ``pt``.
793   - Add image height support.
794   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
795     bug #1457388
796   - Fix: Do not escape underscores in citation reference labels if
797     use-latex-citations is set.
798   - Use centering instead of center for figure contents, to avoid vertical
799     space.
800   - Recognize table class: borderless, nolines, booktabs, standard.
801   - Fix: Renaming contents section does not work with latex writer; SF
802     bug #1487405.
803   - Applied patch for custom roles with classes from Edward Loper.
804   - Fixed bug that caused crashes with more than 256 lists.
806 * docutils/writers/pep_html/__init__.py:
808   - Changed to support new python.org website structure and
809     pep2pyramid.py.
811 * docs/howto/security.txt: "Deploying Docutils Securely", added to
812   project.
814 * tools/buildhtml.py:
816   -- Added ``ignore`` setting to exclude a list of shell patterns
817      (default: ``.svn:CVS``).
819 * tools/editors/emacs/rst.el:
821   - Changed license to "GPL".
822   - Added ``rst-straighten-decorations`` function.
823   - The ``compile`` module is now always loaded.
824   - Added ``rst-toggle-line-block`` function.
825   - Headings consisting only of non-ASCII characters are now
826     recognized by ``rst-toc`` and ``rst-adjust``.
827   - Added font-lock support for multi-line comments where the first
828     comment line is empty.
829   - Added ``(require 'font-lock)``.
831 * setup.py:
833   - Provide descriptive error message if distutils is missing.
836 Release 0.4 (2006-01-09)
837 ========================
839 * General:
841   - Updated the project policies for trunk/branch development &
842     version numbering.
844 * docutils/__init__.py:
846   - Added ``__version_details__`` attribute to describe code source
847     (repository/snapshot/release).
848   - Replaced ``default_transforms`` attribute of TransformSpec with
849     ``get_transforms()`` method.
851 * docutils/core.py:
853   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
854     functions, for document tree extraction and reprocessing.
856 * docutils/io.py:
858   - Added ``DocTreeInput`` class, for reprocessing existing documents.
859   - Added support for non-Unicode (e.g. binary) writer output.
861 * docutils/nodes.py:
863   - Re-introduced ``Targetable.indirect_reference_name``, for
864     MoinMoin/reST compatibility (removed in r3124/r3129).
865   - Added ``serial_escape`` function; escapes string values that are
866     elements of a list, for serialization.  Modified Docutils-XML
867     writing (``Element._dom_node``) and pseudo-XML writing
868     (``Element.starttag``) to use ``serial_escape``.
869   - Added ``Node.deepcopy()`` method.
870   - Removed the internal lists ``document.substitution_refs``,
871     ``document.anonymous_refs``, and ``document.anonymous_targets``.
872   - Added a "container" element.
873   - Fixed bug where values of list-valued attributes of elements
874     originating from custom interpreted text roles (i.e., with custom
875     classes) were being shared between element instances.  Reported by
876     Shmuel Zeigerman.
878 * docutils/statemachine.py:
880   - Added trailing whitespace stripping to ``string2lines()``.
881   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
882     Asian double-width character support.
884 * docutils/utils.py:
886   - Added ``east_asian_column_width()`` for double-width character
887     support.
889 * docutils/languages/ja.py: Added to project: Japanese mappings by
890   Hisashi Morita.
892 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
893   mappings by Panjunyong.
895 * docutils/parsers/null.py: Added to project; a do-nothing parser.
897 * docutils/parsers/rst/__init__.py:
899   - Added validator to tab_width setting, with test.  Closes SF bug
900     #1212515, report from Wu Wei.
902 * docutils/parsers/rst/states.py:
904   - Fixed bug with escaped colons indicating a literal block.
905   - Fixed bug with enumerated lists (SF#1254145).
906   - Backslash-escaped colons inside of field names are now allowed.
907   - Targets (implicit and explicit), anonymous hyperlink references
908     and auto-numbered footnote references inside of substitution
909     definitions are now disallowed.
910   - Fixed bug: list items with blank first lines.
911   - Fixed bug: block quote attributions with indented second lines.
912   - Added East Asian double-width character support (Python 2.4 only).
914 * docutils/parsers/rst/tableparser.py:
916   - Added East Asian double-width character support (Python 2.4 only).
918 * docutils/parsers/rst/directives/body.py:
920   - Added the "container" directive.
922 * docutils/parsers/rst/directives/misc.py:
924   - Added the "default-role", "title", and "date" directives.
925   - Added standard data file syntax to the "include" directive.
926   - Added support for "class" directive content.
928 * docutils/parsers/rst/directives/images.py:
930   - Added ``indirect_reference_name`` support for images with a target
931     option.
932   - Added support for image width and height units.
933   - Fixed bug with image "target" options.
935 * docutils/parsers/rst/directives/references.py:
937   - Added "class" attribute to "target-notes" directive, for
938     footnote_reference classes.
940 * docutils/parsers/rst/include/: Directory added to project; contains
941   standard data files for the "include" directive.  Initial contents:
942   character entity substitution definition sets, and a set of
943   definitions for S5/HTML presentations.
945 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
946   mappings by David Goodger.
948 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
949   Simplified Chinese mappings by Panjunyong.
951 * docutils/readers/__init__.py:
953   - Added universal.Decorations and universal.ExposeInternals
954     transforms as default transforms for all readers.
955   - Added ``ReReader`` base class for readers that reread an existing
956     document tree.
958 * docutils/readers/doctree.py: Added to project; a reader for existing
959   document trees.
961 * docutils/transforms/frontmatter.py:
963   - Fixed the DocInfo transform to handle SVN-style expansion of the
964     "Date" keyword.
965   - In ``DocInfo.extract_authors``, treat the contents of "authors"
966     fields uniformly.
968 * docutils/transforms/misc.py:
970   - Added misc.Transitions transform, extracted from
971     universal.FinalChecks.
973 * docutils/transforms/references.py:
975   - Added references.DanglingReferences transform, extracted from
976     universal.FinalChecks.
977   - Fixed bug with doubly-indirect substitutions.
978   - Added footnote_reference classes attribute to "TargetNotes".
979   - Fixed bug with circular substitution definitions that put Docutils
980     into an infinite loop.
982 * docutils/transforms/universal.py:
984   - Added universal.ExposeInternals transform, extracted from
985     universal.FinalChecks.
986   - Removed universal.FinalChecks transform (logic has been moved to
987     several new transforms).
988   - Fixed bug with the "expose_internals" setting and Text nodes
989     (exposed by the "rawsource" internal attribute).
990   - Added the universal.StripComments transform, implementation of the
991     "strip_comments" setting.
993 * docutils/transforms/writer_aux.py: Added to project; auxiliary
994   transforms for writers.
996   - Added ``Compound`` transform, which flattens compound paragraphs.
998 * docutils/writers/: Several writer modules (html4css1.py) were
999   converted into packages.  Support modules and data files have been
1000   moved into the packages.  The stylesheets for the HTML writers are
1001   now installed along with the code, the code knows where to find
1002   them, and the default is to use them (actually, to embed them).
1003   Some adjustments to configuration files may be necessary.  The
1004   easiest way to obtain the new default behavior is to remove all
1005   settings whose name includes "stylesheet".
1007 * docutils/writers/__init__.py:
1009   - Added universal.Messages and universal.FilterMessages transforms
1010     as default transforms for all writers.
1011   - Added ``UnfilteredWriter`` base class for writers that pass the
1012     document tree on unchanged.
1014 * docutils/writers/docutils_xml.py:
1016   - Made ``xmlcharrefreplace`` the default output encoding error
1017     handler.
1019 * docutils/writers/html4css1/:
1021   - Added support for image width and height units.
1022   - Made ``xmlcharrefreplace`` the default output encoding error
1023     handler.
1024   - Made ``--embed-stylesheet`` the default rather than
1025     ``--link-stylesheet``.
1026   - Moved "id" attribute from container (section etc.) to title's <a>
1027     tag, to be on the same tag as "name".
1028     (!!! To be reverted in Docutils 0.5.)
1029   - Added vertical space between fields of field lists.
1030   - Added ``--compact-field-lists`` option to remove vertical space in
1031     simple field lists.
1032   - Made cloaking of email addresses with ``--cloak-email-addresses``
1033     less obtrusive.
1034   - Fixed support for centered images.
1035   - Added support for class="compact" & class="open" lists.
1037 * docutils/writers/latex2e/:
1039   - Underscores in citekeys are no longer escaped.
1041 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
1042   mapping of Unicode characters to LaTeX equivalents.
1044 * docutils/writers/s5_html/: Package added to project; writer for
1045   S5/HTML slide shows.
1047 * docs/dev/distributing.txt: Added to project; guide for distributors
1048   (package maintainers).
1050 * docs/dev/hacking.txt: Added to project; guide for developers.
1052 * docs/ref/doctree.txt:
1054   - Updated for plural attributes "classes", "ids", "names",
1055     "dupnames".
1056   - Added the "container" element.
1058 * docs/ref/docutils.dtd:
1060   - Updated for plural attributes "classes", "ids", "names",
1061     "dupnames".
1063 * docs/user/emacs.txt: Added to project; a document about Emacs
1064   support for reStructuredText and Docutils.
1066 * docs/user/links.txt: Added to project; lists of Docutils-related
1067   links.
1069 * docs/user/mailing-lists.txt: Added to project; information about
1070   Docutils-related mailing lists and how to access them.
1072 * docs/user/slide-shows.txt: Added to project; example of and docs for
1073   the S5/HTML writer (``rst2s5.py`` front end).
1075 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
1076   Files", added to project.
1078 * test/coverage.sh: Added to project; test coverage script.
1080 * test/DocutilsTestSupport.py:
1082   - Added support for specifying runtime settings at the suite level.
1084 * test/test_functional.py:
1086   - Added the ``clear_output_directory`` function.
1087   - Added support for ``_test_more`` functions in functional test
1088     config files.
1090 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
1092 * tools/rstpep2html.py: Renamed from pep.py.
1094 * tools/dev/create_unimap.py: Added to project; script to create the
1095   docutils/writers/unimap_latex.py mapping file.
1097 * tools/dev/profile_docutils.py: Added to project; profiler script.
1099 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
1101 * tools/editors/emacs/restructuredtext.el,
1102   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
1103   Removed from project; the functionality is now contained in rst.el.
1105 * tools/editors/emacs/rst.el: Added to project.  Added many features
1106   and fixed many bugs.  See docs/user/emacs.txt for details.
1108 * tools/stylesheets: Removed from project.  Stylesheets have been
1109   renamed and moved into writer packages.
1112 Release 0.3.9 (2005-05-26)
1113 ==========================
1115 * General:
1117   - Eliminated and replaced all uses of the old string attributes
1118     ``id``, ``name``, ``dupname`` and ``class`` with references to the
1119     new list attributes ``ids``, ``names``, ``dupnames`` and
1120     ``classes`` throughout the whole source tree.
1122 * docutils/core.py:
1124   - Enabled ``--dump-*`` options when ``--traceback`` specified,
1125     allowing for easier debugging.
1126   - In ``Publisher.publish()``, expanded the generic top-level
1127     exception catching.
1129 * docutils/examples.py:
1131   - Added ``internals`` function for exploration.
1133 * docutils/io.py:
1135   - Fixed ``Input.decode`` method to apply heuristics only if no
1136     encoding is explicitly given, and to provide better reporting of
1137     decoding errors.
1138   - The ``Input.decode`` method now removes byte order marks (BOMs)
1139     from input streams.
1141 * docutils/nodes.py:
1143   - ``image`` element class changed to subclass of Element, not
1144     TextElement (it's an empty element, and cannot contain text).
1145   - Added ``attr_defaults`` dictionary for default attribute values.
1146   - Added empty list as default value for the following attributes:
1147     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
1148   - Added ``document.decoration`` attribute,
1149     ``document.get_decoration`` method, and ``decoration.get_header``
1150     & ``.get_footer`` methods.
1151   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
1152     methods.
1154 * docutils/utils.py:
1156   - Removed ``docutils.utils.Reporter.categories``,
1157     ``docutils.utils.ConditionSet``, and all references to them, to
1158     simplify error reporting.
1160 * docutils/languages/nl.py: Added to project; Dutch mappings by
1161   Martijn Pieters.
1163 * docutils/parsers/rst/__init__.py:
1165   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
1167 * docutils/parsers/rst/states.py:
1169   - Added check for escaped at-mark to prevent email address recognition.
1170   - Fixed option lists to allow spaces inside ``<angle-bracketed option
1171     arguments>``.
1172   - Allowed whitespace in paths and URLs.
1173   - Added auto-enumerated list items.
1174   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
1175     followed by text.
1176   - Added support for table stub columns.
1178 * docutils/parsers/rst/directives/__init__.py:
1180   - Allowed whitespace in paths (``path`` function).
1181   - Added ``uri`` directive option conversion function.
1183 * docutils/parsers/rst/directives/body.py:
1185   - Fixed illegal context bug with "topic" directive (allowed within
1186     sidebars; not within body elements).
1188 * docutils/parsers/rst/directives/images.py:
1190   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
1191   - Added support for the ``file_insertion_enabled`` setting in the
1192     "figure" directive (disables "figwidth" option).
1193   - "image" directive: added checks for valid values of "align" option,
1194     depending on context.  "figure" directive: added specialized
1195     "align" option and attribute on "figure" element.
1196   - Made ":figwidth: image" option of "figure" directive work again.
1197   - Fixed bug with reference names containing uppercase letters
1198     (e.g. ``Name_``) in "target" option of "image" directive.
1200 * docutils/parsers/rst/directives/misc.py:
1202   - Fixed "include" and "raw" directives to catch text decoding
1203     errors.
1204   - Allowed whitespace in "include" & "raw" directive paths.
1205   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
1206     settings in "include" & "raw" directives.
1208 * docutils/parsers/rst/directives/parts.py:
1210   - Added "header" & "footer" directives.
1211   - Fixed illegal context bug with "contents" directive (topics
1212     allowed within sidebars; not within body elements).
1214 * docutils/parsers/rst/directives/tables.py:
1216   - Added "list-table" directive.
1217   - Caught empty CSV table bug.
1218   - Added support for the ``file_insertion_enabled`` setting in the
1219     "csv-table" directive.
1220   - Added ``stub-columns`` option to "csv-table" and "list-table"
1221     directives.
1223 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1224   mappings by Martijn Pieters.
1226 * docutils/readers/standalone.py:
1228   - Added ``--section-subtitles`` and ``--no-section-subtitles``
1229     options to activate or deactivate the SectSubTitle transform.
1231 * docutils/transforms/frontmatter.py:
1233   - Added SectSubTitle transform to promote titles of lone
1234     subsections to subtitles.
1236 * docutils/transforms/references.py:
1238   - Fixed mislocated internal targets bug, by propagating internal
1239     targets to the next node, making use of the newly added support
1240     for multiple names and IDs.
1241   - Fixed duplicate footnote label bug.
1242   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1243     transform.
1245 * docutils/writers/html4css1.py:
1247   - Fixed unencoded stylesheet reference bug (characters like "&" in
1248     stylesheet references).
1249   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1250     tags).
1251   - Added support for multiple IDs per node by creating empty ``span``
1252     tags.
1253   - Added the ``field_name_limit`` & ``option_limit`` settings &
1254     support.
1255   - Added support for table stub columns.
1256   - Added support for the ``align`` attribute on ``figure`` elements.
1257   - Added the ``cloak_email_addresses`` setting & support.
1258   - Added ``html_prolog``, ``html_head``, ``html_body``,
1259     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1260     ``docutils.core.publish_parts``.
1261   - Added support for section subtitles.
1263 * docutils/writers/latex2e.py:
1265   - Fixed tables starting with more than one multirow cell.
1266   - Improved --use-latex-docinfo so that organization/contact/address
1267     fields are lumped with the last author field and appear on the
1268     titlepage.
1269   - Made sure the titlepage is always shown with --use-latex-docinfo,
1270     even if the document has no title.
1271   - Made sure that latex doesn't fill in today's date if no date field
1272     was given.
1273   - Added support for section subtitles.
1275 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1276   (under development).
1278 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1280 * docs/api/publisher.txt:
1282   - Added "``publish_parts`` Details" section.
1284 * docutils/dev/repository.txt: Added to project; information about the
1285   Docutils Subversion repository.
1287 * docs/ref/docutils.dtd:
1289   - Added a ``stub`` attribute to the ``colspec`` element via the
1290     ``tbl.colspec.att`` parameter entity.
1291   - Allowed topic elements within sidebars
1292   - Added an ``align`` attribute to the ``figure`` element.
1294 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1295   writer.
1298 Release 0.3.7 (2004-12-24)
1299 ==========================
1301 * docutils/frontend.py:
1303   - Added options: --input-encoding-error-handler,
1304     --record-dependencies, --leave-footnote-reference-space,
1305     --strict-visitor.
1306   - Added command-line and config file support for "overrides" setting
1307     parameter.
1309 * docutils/io.py:
1311   - Added support for input encoding error handler.
1313 * docutils/nodes.py:
1315   - Added dispatch_visit and dispatch_departure methods to
1316     NodeVisitor; useful as a hook for Visitors.
1317   - Changed structure of ``line_block``; added ``line``.
1318   - Added ``compound`` node class.
1319   - Added a mechanism for Visitors to transitionally ignore new node
1320     classes.
1322 * docutils/utils.py:
1324   - Moved ``escape2null`` and ``unescape`` functions from
1325     docutils/parsers/rst/states.py.
1327 * docutils/parsers/rst/roles.py:
1329   - Added "raw" role.
1330   - Changed role function API: the "text" parameter now takes
1331     null-escaped interpreted text content.
1333 * docutils/parsers/rst/states.py:
1335   - Fixed bug where a "role" directive in a nested parse would crash
1336     the parser; the state machine's "language" attribute was not being
1337     copied over.
1338   - Added support for line block syntax.
1339   - Fixed directive parsing bug: argument-less directives didn't
1340     notice that arguments were present.
1341   - Removed error checking for transitions.
1342   - Added support for multiple classifiers in definition list items.
1343   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1344   - Changed role function API: the "text" parameter now takes
1345     null-escaped interpreted text content.
1346   - Empty sections and documents are allowed now.
1348 * docutils/parsers/rst/directives/__init__.py:
1350   - Added ``encoding`` directive option conversion function.
1351   - Allow multiple class names in class_option conversion function.
1353 * docutils/parsers/rst/directives/body.py:
1355   - Converted the line-block directive to use the new structure.
1356   - Extracted the old line-block functionality to the ``block``
1357     function (still used).
1358   - Added ``compound`` directive (thanks to Lea Wiemann).
1360 * docutils/parsers/rst/directives/misc.py:
1362   - Added "encoding" option to "include" and "raw" directives.
1363   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1364   - Allow multiple class names in the "class" directive.
1366 * docutils/parsers/rst/directives/parts.py:
1368   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1369     options.  Thanks to Lele Gaifax.
1371 * docutils/parsers/rst/directives/tables.py:
1373   - Added "encoding" directive to "csv-table" directive.
1374   - Added workaround for lack of Unicode support in csv.py, for
1375     non-ASCII CSV input.
1377 * docutils/transforms/misc.py:
1379   - Fixed bug when multiple "class" directives are applied to a single
1380     element.
1381   - Enabled multiple format names for "raw" directive.
1383 * docutils/transforms/references.py:
1385   - Added support for trimming whitespace from beside substitution
1386     references.
1388 * docutils/transforms/universal.py:
1390   - FinalChecks now checks for illegal transitions and moves
1391     transitions between sections.
1393 * docutils/writers/html4css1.py:
1395   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
1396   - "stylesheet" and "stylesheet_path" settings are now mutually
1397     exclusive.
1398   - Added support for the new line_block/line structure.
1399   - --footnote-references now overrides
1400     --trim-footnote-reference-space, if applicable.
1401   - Added support for ``compound`` elements.
1402   - Enabled multiple format names for "raw" directive.
1403   - ``<p>`` tags of a paragraph which is the only visible child of the
1404     document node are no longer stripped.
1405   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1406     new method ``should_be_compact_paragraph()``.
1407   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1408     elements.
1409   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1410     the output if they have their ``class`` attribute set.
1411   - The whole document is now surrounded by a ``<div
1412     class="document">`` element.
1413   - Body-level images are now wrapped by their own ``<div>`` elements,
1414     with image classes copied to the wrapper, and for images which
1415     have the ``:align:`` option set, the surrounding ``<div>`` now
1416     receives a class attribute (like ``class="align-left"``).
1418 * docutils/writers/latex2e.py:
1420   - no newline after depart_term.
1421   - Added translations for some Unicode quotes.
1422   - Added option "font-encoding", made package AE the default.
1423   - "stylesheet" and "stylesheet_path" settings are now mutually
1424     exclusive.
1425   - --footnote-references now overrides
1426     --trim-footnote-reference-space, if applicable.
1427   - The footnote label style now matches the footnote reference style
1428     ("brackets" or "superscript").
1429   - Added support for ``compound`` elements.
1430   - Enabled multiple format names for "raw" directive.
1432 * docs/ref/docutils.dtd:
1434   - Changed structure of the ``line_block`` element; added ``line``.
1435   - Added ``compound`` element.
1436   - Added "ltrim" and "rtrim" attributes to
1437     ``substitution_definition`` element.
1438   - Enabled multiple format names for ``raw`` element.
1439   - Enabled multiple classifiers in ``definition_list_item`` elements.
1441 * docs/ref/rst/directives.txt
1443   - Marked "line-block" as deprecated.
1444   - "Class" directive now allows multiple class names.
1445   - Added "Rationale for Class Attribute Value Conversion".
1446   - Added warning about "raw" overuse/abuse.
1448 * docs/ref/rst/restructuredtext.txt:
1450   - Added syntax for line blocks.
1451   - Definition list items may have multiple classifiers.
1453 * docs/ref/rst/roles.txt:
1455   - Added "raw" role.
1457 * tools/stylesheets/default.css:
1459   - Added support for the new line_block structure.
1460   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1463 Release 0.3.5 (2004-07-29)
1464 ==========================
1466 General:
1468 * _`Documentation cleanup/reorganization`.
1470   - Created new subdirectories of docs/:
1472     * ``docs/user/``: introductory/tutorial material for end-users
1473     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1474     * ``docs/api/``: API reference material for client-developers
1475     * ``docs/ref/``: reference material for all groups
1476     * ``docs/howto/``: for component-developers and core-developers
1477     * ``docs/peps/``: Python Enhancement Proposals
1479   - Moved ``docs/*`` to ``docs/user/``.
1480   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1481     ``spec/`` to ``docs/dev``.
1482   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1483     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1484   - Moved ``alternatives.txt``, and ``problems.txt`` from
1485     ``spec/rst/`` to ``docs/dev/rst/``.
1486   - Moved ``reStructuredText.txt``, ``directives.txt``,
1487     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1488     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
1489     ``roles.txt``, ``reStructuredText.txt`` to
1490     ``restructuredtext.txt``.
1491   - Moved ``spec/howto/`` to ``docs/howto``.
1493   In order to keep the CVS history of moved files, we supplied
1494   SourceForge with a `script for modifying the Docutils CVS
1495   repository`__.
1497   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1499   After running the cleanup script:
1501   - Added ``docs/index.txt``.
1502   - Added a ``.htaccess`` file to the ``web`` module, containing
1503     redirects for all old paths to new paths.  They'll preserve
1504     fragments (the "#name" part of a URL), and won't clutter up the
1505     file system, and will correct the URL in the user's browser.
1506   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1507     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1508     the "To Do" list itself in ``docs/dev/todo.txt``.
1509   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1510     section of ``docs/dev/todo.txt``.
1511   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1512   - Added "How To Report Bugs" to ``BUGS.txt``.
1513   - Went through all the sources and docs (including under web/) and
1514     updated links.  Mostly done by Lea Wiemann; thanks Lea!
1515     (Still need to update links in the sandboxes.)
1517 Specific:
1519 * BUGS.txt: Added to project.
1521 * THANKS.txt: Added to project.
1523 * docutils/__init__.py:
1525   - 0.3.4: Post-release.
1527 * docutils/core.py:
1529   - Added special error handling & advice for UnicodeEncodeError.
1530   - Refactored Publisher.publish (simplified exception handling &
1531     extracted debug dumps).
1532   - Renamed "enable_exit" parameter of convenience functions to
1533     "enable_exit_status".
1534   - Enabled traceback (exception propagation) by default in
1535     programmatic convenience functions.
1536   - Now publish_file and publish_cmdline convenience functions return
1537     the encoded string results in addition to their regular I/O.
1538   - Extracted common code from publish_file, publish_string, and
1539     publish_parts, into new publish_programmatically.  Extracted
1540     settings code to ``Publisher.process_programmatic_settings``.
1541   - In Publisher.publish, disabled ``settings_overrides`` when
1542     ``settings`` is supplied; redundant.
1544 * docutils/frontend.py:
1546   - Added help text for "--output-encoding-error-handler" and
1547     "--error-encoding-error-handler".
1548   - Renamed "--exit" to "--exit-status".
1549   - Simplified default-setting code.
1551 * docutils/parsers/rst/__init__.py:
1553   - Added "--pep-base-url" and "--rfc-base-url" options.
1555 * docutils/parsers/rst/states.py:
1557   - Made URI recognition more aggressive and intelligent.
1559 * docutils/parsers/rst/directives/__init__.py:
1561   - Added several directive option conversion functions.
1563 * docutils/parsers/rst/directives/body.py:
1565   - Moved "table" directive to tables.py.
1567 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1568   added to project.
1570 * docutils/writers/latex2e.py:
1572   - Added "--table-style=(standard|booktabs|nolines)"
1573   - figures get "here" option (LaTeX per default puts them at bottom),
1574     and figure content is centered.
1575   - Rowspan support for tables.
1576   - Fix: admonition titles before first section.
1577   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1578   - Replave ``_`` in literal by an underlined blank, because it has the correct
1579     width.
1580   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1581   - A few unicode replacements, if output_encoding != utf
1582   - Add "--graphicx-option".
1583   - Indent literal-blocks.
1584   - Fix: omit ``\maketitle`` when there is no document title.
1586 * docs/index.txt: "Docutils Project Documentation Overview", added to
1587   project.
1589 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1590   Tool", added to project.
1592 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1594 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1596 * docs/dev/policies.txt: Added to project (extracted from
1597   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1599 * docs/dev/release.txt: Added to project (extracted from
1600   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1602 * docs/dev/testing.txt: Added to project.
1604 * docs/dev/website.txt: Added to project (extracted from
1605   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1607 * docs/ref/rst/directives.txt:
1609   - Added directives: "table", "csv-table".
1611 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1612   added to project.  1 page for syntax, and a 1 page reference for
1613   directives and roles.  Source text to be used as-is; not meant to be
1614   converted to HTML.
1616 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1617   with a change of title.
1619 * test/functional/, contents, and test/test_functional.py: Added to
1620   project.
1622 * tools/buildhtml.py: Fixed bug with config file handling.
1624 * tools/html.py: Removed from project (duplicate of rst2html.py).
1626 * tools/pep2html.py: Removed from project (duplicate of Python's
1627   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1628   Docutils-related PEPs in docs/peps/).
1630 * tools/rst2pseudoxml.py: Renamed from publish.py.
1632 * tools/rst2xml.py: Renamed from docutils-xml.py.
1634 * tools/test.txt: Removed from project; moved to
1635   docs/user/rst/demo.txt.
1637 * setup.py: Now also installs ``rst2latex.py``.
1640 Release 0.3.3 (2004-05-09)
1641 ==========================
1643 * docutils/__init__.py:
1645   - 0.3.1: Reorganized config file format (multiple sections); see
1646     docs/config.txt.
1647   - Added unknown_reference_resolvers attribute to TransformSpec.
1648   - 0.3.2: Interpreted text reorganization.
1649   - 0.3.3: Released.
1651 * docutils/core.py:
1653   - Catch system messages to stop tracebacks from parsing errors.
1654   - Catch exceptions during processing report & exit without
1655     tracebacks, except when "--traceback" used.
1656   - Reordered components for OptionParser; application comes last.
1657   - Added "config_section" parameter to several methods and functions,
1658     allowing front ends to easily specify their config file sections.
1659   - Added publish_parts convenience function to allow access to individual
1660     parts of a document.
1662 * docutils/examples.py: Added to project; practical examples of
1663   Docutils client code, to be used as-is or as models for variations.
1665 * docutils/frontend.py:
1667   - Added "--traceback" & "--no-traceback" options ("traceback"
1668     setting).
1669   - Implemented support for config file reorganization:
1670     ``standard_config_files`` moved from ``ConfigParser`` to
1671     ``OptionParser``; added
1672     ``OptionParser.get_config_file_settings()`` and
1673     ``.get_standard_config_settings()``; support for old "[options]"
1674     section (with deprecation warning) and mapping from old to new
1675     settings.
1676   - Reimplemented setting validation.
1677   - Enabled flexible boolean values: yes/no, true/false, on/off.
1678   - Added ``Values``, a subclass of ``optparse.Values``, with support
1679     for list setting attributes.
1680   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1681     thanks to Beni Cherniavsky.
1682   - Added "--no-section-numbering" option.
1684 * docutils/io.py:
1686   - Catch IOErrors when opening source & destination files, report &
1687     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1688     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1690 * docutils/nodes.py:
1692   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1693     method definitions (via ``exec``) to dynamic assignments (via
1694     ``setattr``); thanks to Roman Suzi.
1695   - Encapsulated visitor dynamic assignments in a function; thanks to
1696     Ian Bicking.
1697   - Added indirect_reference_name attribute to the Targetable
1698     class. This attribute holds the whitespace_normalized_name
1699     (contains mixed case) of a target.
1701 * docutils/statemachine.py:
1703   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1704   - Added ``StringList.get_2D_block``.
1706 * docutils/utils.py:
1708   - Added "level" attribute to SystemMessage exceptions.
1710 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1711   Jannie Hofmeyr.
1713 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1714   Blaha.
1716 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1717   Marcelo Huerta San Martin.
1719 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1720   mappings by Lalo Martins.
1722 * docutils/languages/ru.py: Added to project; Russian mappings by
1723   Roman Suzi.
1725 * docutils/parsers/rst/roles.py: Added to project.  Contains
1726   interpreted text role functions, a registry for interpreted text
1727   roles, and an API for adding to and retrieving from the registry.
1728   Contributed by Edward Loper.
1730 * docutils/parsers/rst/states.py:
1732   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1733   - Allowed true em-dash character and "---" as block quote
1734     attribution marker.
1735   - Added support for <angle-bracketed> complex option arguments
1736     (option lists).
1737   - Fixed handling of backslashes in substitution definitions.
1738   - Fixed off-by-1 error with extra whitespace after substitution
1739     definition directive.
1740   - Added inline markup parsing to field lists' field names.
1741   - Added support for quoted (and unindented) literal blocks.
1742     Driven in part by a bribe from Frank Siebenlist (thanks!).
1743   - Parser now handles escapes in URIs correctly.
1744   - Made embedded-URIs' reference text omittable.  Idea from Beni
1745     Cherniavsky.
1746   - Refactored explicit target processing code.
1747   - Added name attribute to references containing the reference name only
1748     through whitespace_normalize_name (no case changes).
1749   - parse_target no longer returns the refname after going through
1750     normalize_name. This is now handled in make_target.
1751   - Fixed bug relating to role-less interpreted text in non-English
1752     contexts.
1753   - Reorganized interpreted text processing; moved code into the new
1754     roles.py module.  Contributed by Edward Loper.
1755   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1756     ``parse_directive_block``.
1758 * docutils/parsers/rst/tableparser.py:
1760   - Reworked for ``StringList``, to support "include" directives in
1761     table cells.
1763 * docutils/parsers/rst/directives/__init__.py:
1765   - Renamed ``unchanged()`` directive option conversion function to
1766     ``unchanged_required``, and added a new ``unchanged``.
1767   - Catch unicode value too high error; fixes bug 781766.
1768   - Beefed up directive error reporting.
1770 * docutils/parsers/rst/directives/body.py:
1772   - Added basic "table" directive.
1774 * docutils/parsers/rst/directives/images.py:
1776   - Added "target" option to "image" directive.
1777   - Added name attribute to references containing the reference name only
1778     through whitespace_normalize_name (no case changes).
1780 * docutils/parsers/rst/directives/misc.py:
1782   - Isolated the import of the ``urllib2`` module; was causing
1783     problems on SourceForge (``libssl.so.2`` unavailable?).
1784   - Added the "role" directive for declaring custom interpreted text
1785     roles.
1787 * docutils/parsers/rst/directives/parts.py:
1789   - The "contents" directive does more work up-front, creating the
1790     "topic" and "title", and leaving the "pending" node for the
1791     transform.  Allows earlier reference resolution; fixes subtle bug.
1793 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1794   mappings by Jannie Hofmeyr.
1796 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1797   mappings by Marek Blaha.
1799 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1800   mappings by Marcelo Huerta San Martin.
1802 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1803   Portuguese mappings by Lalo Martins.
1805 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1806   mappings by Roman Suzi.
1808 * docutils/transforms/parts.py:
1810   - The "contents" directive does more work up-front, creating the
1811     "topic" and "title", and leaving the "pending" node for the
1812     transform.  Allows earlier reference resolution; fixes subtle bug.
1813   - Added support for disabling of section numbering.
1815 * docutils/transforms/references.py:
1817   - Verifying that external targets are truly targets and not indirect
1818     references. This is because we are now adding a "name" attribute to
1819     references in addition to targets. Note sure if this is correct!
1820   - Added code to hook into the unknown_reference_resolvers list for a
1821     transformer in resolve_indirect_target. This allows the
1822     unknown_reference_resolvers to keep around indirect targets which
1823     docutils doesn't know about.
1824   - Added specific error message for duplicate targets.
1826 * docutils/transforms/universal.py:
1828   - Added FilterMessages transform (removes system messages below the
1829     verbosity threshold).
1830   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1831     to FinalCheckVisitor for application-specific handling of
1832     unresolvable references.
1833   - Added specific error message for duplicate targets.
1835 * docutils/writers/__init__.py:
1837   - Added assemble_parts method to the Writer class to allow for
1838     access to a documents individual parts.
1839   - Documented & set default for ``Writer.output`` attribute.
1841 * docutils/writers/html4css1.py:
1843   - Fixed unicode handling of attribute values (bug 760673).
1844   - Prevent duplication of "class" attribute values (bug report from
1845     Kirill Lapshin).
1846   - Improved table grid/border handling (prompted by report from Bob
1847     Marshall).
1848   - Added support for table titles.
1849   - Added "<title />" for untitled docs, for XHTML conformance; thanks
1850     to Darek Suchojad.
1851   - Added functionality to keep track of individual parts of a document
1852     and store them in a dictionary as the "parts" attribute of the writer.
1853     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1854   - Added proper support for the "scale" attribute of the "image"
1855     element.  Contributed by Brent Cook.
1856   - Added ``--initial-header-level`` option.
1857   - Fixed bug: the body_pre_docinfo segment depended on there being a
1858     docinfo; if no docinfo, the document title was incorporated into
1859     the body segment.  Adversely affected the publish_parts interface.
1861 * docutils/writers/latex2e.py:
1863   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1864     about a missing file.
1865   - Added options and support: ``--compound-enumerators``,
1866     ``--section-prefix-for-enumerators``, and
1867     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
1868     934322).
1869   - Added option ``--use-verbatim-when-possible``, to avoid
1870     problematic characters (eg, '~' in italian) in literal blocks.
1871   - It's now possible to use four section levels in the `book` and
1872     `report` LaTeX classes.  The default `article` class still has
1873     three levels limit.
1875 * docs/config.txt: "Docutils Configuration Files", added to project.
1876   Moved config file entry descriptions from tools.txt.
1878 * docs/tools.txt:
1880   - Moved config file entry descriptions to config.txt.
1882 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
1883   Development".
1885 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1886   Text Roles", added to project.
1888 * spec/rst/reStructuredText.txt:
1890   - Added description of support for <angle-bracketed> complex option
1891     arguments to option lists.
1892   - Added subsections for indented and quoted literal blocks.
1894 * test: Continually adding & updating tests.
1896   - Added test/test_settings.py & test/data/config_*.txt support
1897     files.
1898   - Added test/test_writers/test_htmlfragment.py.
1900 * test/DocutilsTestSupport.py:
1902   - Refactored LaTeX publisher test suite/case class names to make
1903     testing other writers easier.
1904   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1905     to test the processing of HTML fragments which use the new
1906     publish_parts convenience function.
1908 * tools/buildhtml.py:
1910   - Added support for the "--prune" option.
1911   - Removed dependency on pep2html.py; plaintext PEPs no longer
1912     supported.
1914 * tools/docutils.conf:
1916   - Updated for configuration file reorganization.
1918 * tools/rst2html.py:
1920   - copied from tools/html.py
1922 * setup.py:
1924   - added a 'scripts' section to configuration
1925   - added 'tools/rst2html.py' to the scripts section
1928 Release 0.3 (2003-06-24)
1929 ========================
1931 General:
1933 * Renamed "attribute" to "option" for directives/extensions.
1935 * Renamed transform method "transform" to "apply".
1937 * Renamed "options" to "settings" for runtime settings (as set by
1938   command-line options).  Sometimes "option" (singular) became
1939   "settings" (plural).  Some variations below:
1941   - document.options -> document.settings (stored in other objects as
1942     well)
1943   - option_spec -> settings_spec (not directives though)
1944   - OptionSpec -> SettingsSpec
1945   - cmdline_options -> settings_spec
1946   - relative_path_options -> relative_path_settings
1947   - option_default_overrides -> settings_default_overrides
1948   - Publisher.set_options -> Publisher.get_settings
1950 Specific:
1952 * COPYING.txt: Added "Public Domain Dedication".
1954 * FAQ.txt: Frequently asked questions, added to project.
1956 * setup.py:
1958   - Updated with PyPI Trove classifiers.
1959   - Conditional installation of third-party modules.
1961 * docutils/__init__.py:
1963   - Bumped version to 0.2.1 to reflect changes to I/O classes.
1964   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1965   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1966   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1967     option and its effect on the PEP template & writer.
1968   - Bumped version to 0.2.4 due to changes to the PEP template &
1969     stylesheet.
1970   - Bumped version to 0.2.5 to reflect changes to Reporter output.
1971   - Added ``TransformSpec`` class for new transform system.
1972   - Bumped version to 0.2.6 for API changes (renaming).
1973   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1974     convenience functions.
1975   - Added ``Component.component_type`` attribute.
1976   - Bumped version to 0.2.8 because of the internal parser switch from
1977     plain lists to the docutils.statemachine.StringList objects.
1978   - Bumped version to 0.2.9 because of the frontend.py API changes.
1979   - Bumped version to 0.2.10 due to changes to the project layout
1980     (third-party modules removed from the "docutils" package), and
1981     signature changes in ``io.Input``/``io.Output``.
1982   - Changed version to 0.3.0 for release.
1984 * docutils/core.py:
1986   - Made ``publish()`` a bit more convenient.
1987   - Generalized ``Publisher.set_io``.
1988   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1989     parameters; improved its docstring.
1990   - Added ``publish_file()`` and ``publish_string()``.
1991   - Factored ``Publisher.set_source()`` and ``.set_destination()``
1992     out of ``.set_io``.
1993   - Added support for "--dump-pseudo-xml", "--dump-settings", and
1994     "--dump-transforms" hidden options.
1995   - Added ``Publisher.apply_transforms()`` method.
1996   - Added ``Publisher.set_components()`` method; support for
1997     ``publish_*()`` conveninece functions.
1998   - Moved config file processing to docutils/frontend.py.
1999   - Added support for exit status ("exit_level" setting &
2000     ``enable_exit`` parameter for Publisher.publish() and convenience
2001     functions).
2003 * docutils/frontend.py:
2005   - Check for & exit on identical source & destination paths.
2006   - Fixed bug with absolute paths & "--config".
2007   - Set non-command-line defaults in ``OptionParser.__init__()``:
2008     ``_source`` & ``_destination``.
2009   - Distributed ``relative_path_settings`` to components; updated
2010     ``OptionParser.populate_from_components()`` to combine it all.
2011   - Require list of keys in ``make_paths_absolute`` (was implicit in
2012     global ``relative_path_settings``).
2013   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
2014     "--dump-settings", and "--dump-transforms" hidden options.
2015   - Removed nasty internals-fiddling ``ConfigParser.get_section``
2016     code, replaced with correct code.
2017   - Added validation functionality for config files.
2018   - Added "--error-encoding" option/setting, "_disable_config"
2019     internal setting.
2020   - Added encoding validation; updated "--input-encoding" and
2021     "--output-encoding"; added "--error-encoding-error-handler" and
2022     "--output-encoding-error-handler".
2023   - Moved config file processing from docutils/core.py.
2024   - Updated ``OptionParser.populate_from_components`` to handle new
2025     ``SettingsSpec.settings_defaults`` dict.
2026   - Added support for "-" => stdin/stdout.
2027   - Added "exit_level" setting ("--exit" option).
2029 * docutils/io.py:
2031   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
2032   - Added automatic closing to ``FileInput`` and ``FileOutput``.
2033   - Delayed opening of ``FileOutput`` file until ``write()`` called.
2034   - ``FileOutput.write()`` now returns the encoded output string.
2035   - Try to get path/stream name automatically in ``FileInput`` &
2036     ``FileOutput``.
2037   - Added defaults for source & destination paths.
2038   - Allow for Unicode I/O with an explicit "unicode" encoding.
2039   - Added ``Output.encode()``.
2040   - Removed dependency on runtime settings; pass encoding directly.
2041   - Recognize Unicode strings in ``Input.decode()``.
2042   - Added support for output encoding error handlers.
2044 * docutils/nodes.py:
2046   - Added "Invisible" element category class.
2047   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
2048     modification during a traversal.
2049   - Added element classes: ``line_block``, ``generated``, ``address``,
2050     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
2051     ``superscript``, ``subscript``, ``inline``
2052   - Added support for lists of nodes to ``Element.insert()``.
2053   - Fixed parent linking in ``Element.replace()``.
2054   - Added new abstract superclass ``FixedTextElement``; adds
2055     "xml:space" attribute.
2056   - Added support for "line" attribute of ``system_message`` nodes.
2057   - Added support for the observer pattern from ``utils.Reporter``.
2058     Added ``parse_messages`` and ``transform_messages`` attributes to
2059     ``document``, removed ``messages``.  Added ``note_parse_message``
2060     and ``note_transform_message`` methods.
2061   - Added support for improved diagnostics:
2063     - Added "document", "source", and "line" internal attributes to
2064       ``Node``, set by ``Node.setup_child()``.
2065     - Converted variations on ``node.parent = self`` to
2066       ``self.setup_child(node)``.
2067     - Added ``document.current_source`` & ``.current_line``
2068       attributes, and ``.note_source`` observer method.
2069     - Changed "system_message" output to GNU-Tools format.
2071   - Added a "rawsource" attribute to the ``Text`` class, for text
2072     before backslash-escape resolution.
2073   - Support for new transform system.
2074   - Reworked ``pending`` element.
2075   - Fixed XML DOM bug (SF #660611).
2076   - Removed the ``interpeted`` element class and added
2077     ``title_reference``, ``abbreviation``, ``acronym``.
2078   - Made substitutions case-sensitive-but-forgiving; moved some code
2079     from the parser.
2080   - Fixed Unicode bug on element attributes (report: William Dode).
2082 * docutils/optik.py: Removed from project; replaced with
2083   extras/optparse.py and extras/textwrap.py.  These will be installed
2084   only if they're not already present in the Python installation.
2086 * docutils/roman.py: Moved to extras/roman.py; this will be installed
2087   only if it's not already present in the Python installation.
2089 * docutils/statemachine.py:
2091   - Factored out ``State.add_initial_transitions()`` so it can be
2092     extended.
2093   - Converted whitespace-specific "blank" and "indent" transitions
2094     from special-case code to ordinary transitions: removed
2095     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
2096     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
2097     ``ws_initial_transitions`` attributes.
2098   - Removed ``State.match_transition()`` after merging it into
2099     ``.check_line()``.
2100   - Added ``StateCorrection`` exception.
2101   - Added support for ``StateCorrection`` in ``StateMachine.run()``
2102     (moved ``TransitionCorrection`` support there too.)
2103   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
2104     ``EOFError`` instead of ``IndexError``.
2105   - Added ``State.no_match`` method.
2106   - Added support for the Observer pattern, triggered by input line
2107     changes.
2108   - Added ``strip_top`` parameter to
2109     ``StateMachineWS.get_first_known_indented``.
2110   - Made ``context`` a parameter to ``StateMachine.run()``.
2111   - Added ``ViewList`` & ``StringList`` classes;
2112     ``extract_indented()`` becomes ``StringList.get_indented()``.
2113   - Added ``StateMachine.insert_input()``.
2114   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
2115     thanks to) Fred Drake.
2117 * docutils/utils.py:
2119   - Added a ``source`` attribute to Reporter instances and
2120     ``system_message`` elements.
2121   - Added an observer pattern to ``utils.Reporter`` to keep track of
2122     system messages.
2123   - Fixed bugs in ``relative_path()``.
2124   - Added support for improved diagnostics.
2125   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
2126   - Added support for encoding Reporter stderr output, and encoding
2127     error handlers.
2128   - Reporter keeps track of the highest level system message yet
2129     generated.
2131 * docutils/languages: Fixed bibliographic field language lookups.
2133 * docutils/languages/es.py: Added to project; Spanish mappings by
2134   Marcelo Huerta San Martin.
2136 * docutils/languages/fr.py: Added to project; French mappings by
2137   Stefane Fermigier.
2139 * docutils/languages/it.py: Added to project; Italian mappings by
2140   Nicola Larosa.
2142 * docutils/languages/sk.py: Added to project; Slovak mappings by
2143   Miroslav Vasko.
2145 * docutils/parser/__init__.py:
2147   - Added ``Parser.finish_parse()`` method.
2149 * docutils/parser/rst/__init__.py:
2151   - Added options: "--pep-references", "--rfc-references",
2152     "--tab-width", "--trim-footnote-reference-space".
2154 * docutils/parsers/rst/states.py:
2156   - Changed "title under/overline too short" system messages from INFO
2157     to WARNING, and fixed its insertion location.
2158   - Fixed enumerated list item parsing to allow paragraphs & section
2159     titles to begin with enumerators.
2160   - Converted system messages to use the new "line" attribute.
2161   - Fixed a substitution reference edge case.
2162   - Added support for "--pep-references" and "--rfc-references"
2163     options; reworked ``Inliner`` code to make customization easier.
2164   - Removed field argument parsing.
2165   - Added support for short section title over/underlines.
2166   - Fixed "simple reference name" regexp to ignore text like
2167     "object.__method__"; not an anonymous reference.
2168   - Added support for improved diagnostics.
2169   - Reworked directive API, based on Dethe Elza's contribution.  Added
2170     ``Body.parse_directive()``, ``.parse_directive_options()``,
2171     ``.parse_directive_arguments()`` methods.
2172   - Added ``ExtensionOptions`` class, to parse directive options
2173     without parsing field bodies.  Factored
2174     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
2175     ``ExtensionOptions``.
2176   - Improved definition list term/classifier parsing.
2177   - Added warnings for unknown directives.
2178   - Renamed ``Stuff`` to ``Struct``.
2179   - Now flagged as errors: transitions at the beginning or end of
2180     sections, empty sections (except title), and empty documents.
2181   - Updated for ``statemachine.StringList``.
2182   - Enabled recognition of schemeless email addresses in targets.
2183   - Added support for embedded URIs in hyperlink references.
2184   - Added backslash-escapes to inline markup end-string suffix.
2185   - Added support for correct interpreted text processing.
2186   - Fixed nested title parsing (topic, sidebar directives).
2187   - Added special processing of backslash-escaped whitespace (idea
2188     from David Abrahams).
2189   - Made substitutions case-sensitive-but-forgiving; moved some code
2190     to ``docutils.nodes``.
2191   - Added support for block quote attributions.
2192   - Added a kludge to work-around a conflict between the bubble-up
2193     parser strategy and short titles (<= 3 char-long over- &
2194     underlines).  Fixes SF bug #738803 "infinite loop with multiple
2195     titles" submitted by Jason Diamond.
2196   - Added explicit interpreted text roles for standard inline markup:
2197     "emphasis", "strong", "literal".
2198   - Implemented "superscript" and "subscript" interpreted text roles.
2199   - Added initial support for "abbreviation" and "acronym" roles;
2200     incomplete.
2201   - Added support for "--trim-footnote-reference-space" option.
2202   - Optional space before colons in directives & hyperlink targets.
2204 * docutils/parsers/rst/tableparser.py:
2206   - Fixed a bug that was producing unwanted empty rows in "simple"
2207     tables.
2208   - Detect bad column spans in "simple" tables.
2210 * docutils/parsers/rst/directives: Updated all directive functions to
2211   new API.
2213 * docutils/parsers/rst/directives/__init__.py:
2215   - Added ``flag()``, ``unchanged()``, ``path()``,
2216     ``nonnegative_int()``, ``choice()``, and ``class_option()``
2217     directive option helper functions.
2218   - Added warnings for unknown directives.
2219   - Return ``None`` for missing directives.
2220   - Added ``register_directive()``, thanks to William Dode and Paul
2221     Moore.
2223 * docutils/parsers/rst/directives/admonitions.py:
2225   - Added "admonition" directive.
2227 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
2228   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2229   "parsed-literal", "rubric", "epigraph", "highlights" and
2230   "pull-quote" directives.
2232 * docutils/parsers/rst/directives/images.py:
2234   - Added an "align" attribute to the "image" & "figure" directives
2235     (by Adam Chodorowski).
2236   - Added "class" option to "image", and "figclass" to "figure".
2238 * docutils/parsers/rst/directives/misc.py:
2240   - Added "include", "raw", and "replace" directives, courtesy of
2241     Dethe Elza.
2242   - Added "unicode" and "class" directives.
2244 * docutils/parsers/rst/directives/parts.py:
2246   - Added the "sectnum" directive; by Dmitry Jemerov.
2247   - Added "class" option to "contents" directive.
2249 * docutils/parsers/rst/directives/references.py: Added to project.
2250   Contains the "target-notes" directive.
2252 * docutils/parsers/rst/languages/__init__.py:
2254   - Return ``None`` from get_language() for missing language modules.
2256 * docutils/parsers/rst/languages/de.py: Added to project; German
2257   mappings by Engelbert Gruber.
2259 * docutils/parsers/rst/languages/en.py:
2261   - Added interpreted text roles mapping.
2263 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2264   mappings by Marcelo Huerta San Martin.
2266 * docutils/parsers/rst/languages/fr.py: Added to project; French
2267   mappings by William Dode.
2269 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2270   mappings by Nicola Larosa.
2272 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2273   mappings by Miroslav Vasko.
2275 * docutils/readers/__init__.py:
2277   - Added support for the observer pattern from ``utils.Reporter``, in
2278     ``Reader.parse`` and ``Reader.transform``.
2279   - Removed ``Reader.transform()`` method.
2280   - Added default parameter values to ``Reader.__init__()`` to make
2281     instantiation easier.
2282   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2284 * docutils/readers/pep.py:
2286   - Added the ``peps.TargetNotes`` transform to the Reader.
2287   - Removed PEP & RFC reference detection code; moved to
2288     parsers/rst/states.py as options (enabled here by default).
2289   - Added support for pre-acceptance PEPs (no PEP number yet).
2290   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2291     easy subclassing.
2293 * docutils/readers/python: Python Source Reader subpackage added to
2294   project, including preliminary versions of:
2296   - __init__.py
2297   - moduleparser.py: Parser for Python modules.
2299 * docutils/transforms/__init__.py:
2301   - Added ``Transformer`` class and completed transform reform.
2302   - Added unknown_reference_resolvers list for each transformer. This list holds
2303     the list of functions provided by each component of the transformer that
2304     help resolve references.
2306 * docutils/transforms/frontmatter.py:
2308   - Improved support for generic fields.
2309   - Fixed bibliographic field language lookups.
2311 * docutils/transforms/misc.py: Added to project.  Miscellaneous
2312   transforms.
2314 * docutils/transforms/parts.py:
2316   - Moved the "id" attribute from TOC list items to the references
2317     (``Contents.build_contents()``).
2318   - Added the ``SectNum`` transform; by Dmitry Jemerov.
2319   - Added "class" attribute support to ``Contents``.
2321 * docutils/transforms/peps.py:
2323   - Added ``mask_email()`` function, updating to pep2html.py's
2324     functionality.
2325   - Linked "Content-Type: text/x-rst" to PEP 12.
2326   - Added the ``TargetNotes`` PEP-specific transform.
2327   - Added ``TargetNotes.cleanup_callback``.
2328   - Added title check to ``Headers``.
2330 * docutils/transforms/references.py:
2332   - Added the ``TargetNotes`` generic transform.
2333   - Split ``Hyperlinks`` into multiple transforms.
2334   - Fixed bug with multiply-indirect references (report: Bruce Smith).
2335   - Added check for circular indirect references.
2336   - Made substitutions case-sensitive-but-forgiving.
2338 * docutils/transforms/universal.py:
2340   - Added support for the "--expose-internal-attributes" option.
2341   - Removed ``Pending`` transform classes & data.
2343 * docutils/writers/__init__.py:
2345   - Removed ``Writer.transform()`` method.
2347 * docutils/writers/docutils-xml.py:
2349   - Added XML and doctype declarations.
2350   - Added "--no-doctype" and "--no-xml-declaration" options.
2352 * docutils/writers/html4css1.py:
2354   - "name" attributes only on these tags: a, applet, form, frame,
2355     iframe, img, map.
2356   - Added "name" attribute to <a> in section titles for Netscape 4
2357     support (bug report: Pearu Peterson).
2358   - Fixed targets (names) on footnote, citation, topic title,
2359     problematic, and system_message nodes (for Netscape 4).
2360   - Changed field names from "<td>" to "<th>".
2361   - Added "@" to "&#64;" encoding to thwart address harvesters.
2362   - Improved the vertical whitespace optimization; ignore "invisible"
2363     nodes (targets, comments, etc.).
2364   - Improved inline literals with ``<span class="pre">`` around chunks
2365     of text and ``&nbsp;`` for runs of spaces.
2366   - Improved modularity of output; added ``self.body_pre_docinfo`` and
2367     ``self.docinfo`` segments.
2368   - Added support for "line_block", "address" elements.
2369   - Improved backlinks (footnotes & system_messages).
2370   - Improved system_message output.
2371   - Redefined "--stylesheet" as containing an invariant URL, used
2372     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
2373     working directory.
2374   - Added "--footnote-references" option (superscript or brackets).
2375   - Added "--compact-lists" and "--no-compact-lists" options.
2376   - Added "--embed-stylesheet" and "--link-stylesheet" options;
2377     factored out ``HTMLTranslator.get_stylesheet_reference()``.
2378   - Improved field list rendering.
2379   - Added Docutils version to "generator" meta tag.
2380   - Fixed a bug with images; they must be inline, so wrapped in <p>.
2381   - Improved layout of <pre> HTML source.
2382   - Fixed attribute typo on <colspec>.
2383   - Refined XML prologue.
2384   - Support for no stylesheet.
2385   - Removed "interpreted" element support.
2386   - Added support for "title_reference", "sidebar", "attribution",
2387     "rubric", and generic "admonition" elements.
2388   - Added "--attribution" option.
2389   - Added support for "inline", "subscript", "superscript" elements.
2390   - Added initial support for "abbreviation" and "acronym";
2391     incomplete.
2393 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2394   (from the sandbox).
2396   - Added french.
2397   - Double quotes in literal blocks (special treatment for de/ngerman).
2398   - Added '--hyperlink-color' option ('0' turns off coloring of links).
2399   - Added  "--attribution" option.
2400   - Right align attributions.
2402 * docutils/writers/pep_html.py:
2404   - Parameterized output encoding in PEP template.
2405   - Reworked substitutions from ``locals()`` into ``subs`` dict.
2406   - Redefined "--pep-stylesheet" as containing an invariant URL, used
2407     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
2408     working directory.
2409   - Added an override on the "--footnote-references" option.
2410   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2411   - Added Docutils version to "generator" meta tag.
2412   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2414 * docs/tools.txt:
2416   - Added a "silent" setting for ``buildhtml.py``.
2417   - Added a "Getting Help" section.
2418   - Rearranged the structure.
2419   - Kept up to date, with new settings, command-line options etc.
2420   - Added section for ``rst2latex.py`` (Engelbert Gruber).
2421   - Converted settings table into a definition list.
2423 * docs/rst/quickstart.txt:
2425   - Added a table of contents.
2426   - Added feedback information.
2427   - Added mention of minimum section title underline lengths.
2428   - Removed the 4-character minimum for section title underlines.
2430 * docs/rst/quickref.html:
2432   - Added a "Getting Help" section.
2433   - Added a style to make section title backlinks more subtle.
2434   - Added mention of minimum section title underline lengths.
2435   - Removed the 4-character minimum for section title underlines.
2437 * extras: Directory added to project; contains third-party modules
2438   that Docutils depends on (optparse, textwrap, roman).  These are
2439   only installed if they're not already present.
2441 * licenses: Directory added to project; contains copies of license
2442   files for non-public-domain files.
2444 * spec/doctree.txt:
2446   - Changed the focus.  It's about DTD elements:  structural
2447     relationships, semantics, and external (public) attributes.  Not
2448     about the element class library.
2449   - Moved some implementation-specific stuff into ``docutils.nodes``
2450     docstrings.
2451   - Wrote descriptions of all common attributes and parameter
2452     entities.  Filled in introductory material.
2453   - Working through the element descriptions: 55 down, 37 to go.
2454   - Removed "Representation of Horizontal Rules" to
2455     spec/rst/alternatives.txt.
2457 * spec/docutils.dtd:
2459   - Added "generated" inline element.
2460   - Added "line_block" body element.
2461   - Added "auto" attribute to "title".
2462   - Changed content models of "literal_block" and "doctest_block" to
2463     ``%text.model``.
2464   - Added ``%number;`` attribute type parameter entity.
2465   - Changed ``%structural.elements;`` to ``%section.elements``.
2466   - Updated attribute types; made more specific.
2467   - Added "address" bibliographic element.
2468   - Added "line" attribute to ``system_message`` element.
2469   - Removed "field_argument" element; "field_name" may contain
2470     multiple words and whitespace.
2471   - Changed public identifier to docutils.sf.net.
2472   - Removed "interpreted" element; added "title_reference",
2473     "abbreviation", "acronym".
2474   - Removed "refuri" attribute from "footnote_reference" and
2475     "citation_reference".
2476   - Added "sidebar", "rubric", "attribution", "admonition",
2477     "superscript", "subscript", and "inline" elements.
2479 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2481 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2483 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2485 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2486   Dallas Mahrt.
2488 * spec/transforms.txt: Added to project.
2490 * spec/howto: Added subdirectory, for developer how-to docs.
2492 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
2493   Elza, edited & extended by David Goodger.
2495 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
2496   project.
2498 * spec/rst/alternatives.txt:
2500   - Added "Doctree Representation of Transitions" from
2501     spec/doctree.txt.
2502   - Updated "Inline External Targets" & closed the debate.
2503   - Added ideas for interpreted text syntax extensions.
2504   - Added "Nested Inline Markup" section.
2506 * spec/rst/directives.txt:
2508   - Added directives: "topic", "sectnum", "target-notes",
2509     "line-block", "parsed-literal", "include", "replace", "sidebar",
2510     "admonition", "rubric", "epigraph", "highlights", "unicode" and
2511     "class".
2512   - Formalized descriptions of directive details.
2513   - Added an "align" attribute to the "image" & "figure" directives
2514     (by Adam Chodorowski).
2515   - Added "class" options to "topic", "sidebar", "line-block",
2516     "parsed-literal", "contents", and "image"; and "figclass" to
2517     "figure".
2519 * spec/rst/interpreted.txt: Added to project.  Descriptions of
2520   interpreted text roles.
2522 * spec/rst/introduction.txt:
2524   - Added pointers to material for new users.
2526 * spec/rst/reStructuredText.txt:
2528   - Disambiguated comments (just add a newline after the "::").
2529   - Updated enumerated list description; added a discussion of the
2530     second-line validity checking.
2531   - Updated directive description.
2532   - Added a note redirecting newbies to the user docs.
2533   - Expanded description of inline markup start-strings in non-markup
2534     contexts.
2535   - Removed field arguments and made field lists a generic construct.
2536   - Removed the 4-character minimum for section title underlines.
2537   - Clarified term/classifier delimiter & inline markup ambiguity
2538     (definition lists).
2539   - Added "Embedded URIs".
2540   - Updated "Interpreted Text" section.
2541   - Added "Character-Level Inline Markup" section.
2543 * test: Continually adding & updating tests.
2545   - Moved test/test_rst/ to test/test_parsers/test_rst/.
2546   - Moved test/test_pep/ to test/test_readers/test_pep/.
2547   - Added test/test_readers/test_python/.
2548   - Added test/test_writers/ (Engelbert Gruber).
2550 * tools:
2552   - Made the ``locale.setlocale()`` calls in front ends
2553     fault-tolerant.
2555 * tools/buildhtml.py:
2557   - Added "--silent" option.
2558   - Fixed bug with absolute paths & "--config".
2559   - Updated for new I/O classes.
2560   - Added some exception handling.
2561   - Separated publishers' setting defaults; prevents interference.
2562   - Updated for new ``publish_file()`` convenience function.
2564 * tools/pep-html-template:
2566   - Allow for "--embed-stylesheet".
2567   - Added Docutils version to "generator" meta tag.
2568   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2569   - Conform to XHTML spec.
2571 * tools/pep2html.py:
2573   - Made ``argv`` a parameter to ``main()``.
2574   - Added support for "Content-Type:" header & arbitrary PEP formats.
2575   - Linked "Content-Type: text/plain" to PEP 9.
2576   - Files skipped (due to an error) are not pushed onto the server.
2577   - Updated for new I/O classes.
2578   - Added ``check_requirements()`` & ``pep_type_error()``.
2579   - Added some exception handling.
2580   - Updated for new ``publish_string()`` convenience function.
2581   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2583 * tools/quicktest.py:
2585   - Added "-V"/"--version" option.
2587 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2589 * tools/unicode2rstsubs.py: Added to project.  Produces character
2590   entity files (reSructuredText substitutions) from the MathML master
2591   unicode.xml file.
2593 * tools/editors: Support code for editors, added to project.  Contains
2594   ``emacs/restructuredtext.el``.
2596 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2598   - Added style for chunks of inline literals.
2599   - Removed margin for first child of table cells.
2600   - Right-aligned field list names.
2601   - Support for auto-numbered section titles in TOCs.
2602   - Increased the size of inline literals (<tt>) in titles.
2603   - Restored the light gray background for inline literals.
2604   - Added support for "line_block" elements.
2605   - Added style for "address" elements.
2606   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2607   - Improved field list rendering.
2608   - Vertical whitespace improvements.
2609   - Removed "a.target" style.
2611 * tools/stylesheets/pep.css:
2613   - Fixed nested section margins.
2614   - Other changes parallel those of ``../default.css``.
2617 Release 0.2 (2002-07-31)
2618 ========================
2620 General:
2622 - The word "component" was being used ambiguously.  From now on,
2623   "component" will be used to mean "Docutils component", as in Reader,
2624   Writer, Parser, or Transform.  Portions of documents (Table of
2625   Contents, sections, etc.)  will be called "document parts".
2626 - Did a grand renaming: a lot of ``verylongnames`` became
2627   ``very_long_names``.
2628 - Cleaned up imports: no more relative package imports or
2629   comma-separated lists of top-level modules.
2630 - Added support for an option values object which carries default
2631   settings and overrides (from command-line options and library use).
2632 - Added internal Unicode support, and support for both input and
2633   output encodings.
2634 - Added support for the ``docutils.io.IO`` class & subclasses.
2636 Specific:
2638 * docutils/__init__.py:
2640   - Added ``ApplicationError`` and ``DataError``, for use throughout
2641     the package.
2642   - Added ``Component`` base class for Docutils components; implements
2643     the ``supports`` method.
2644   - Added ``__version__`` (thus, ``docutils.__version__``).
2646 * docutils/core.py:
2648   - Removed many keyword parameters to ``Publisher.__init__()`` and
2649     ``publish()``; bundled into an option values object.  Added
2650     "argv", "usage", "description", and "option_spec" parameters for
2651     command-line support.
2652   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2653     methods.
2654   - Reworked I/O model for ``docutils.io`` wrappers.
2655   - Updated ``Publisher.set_options()``; now returns option values
2656     object.
2657   - Added support for configuration files (/etc/docutils.conf,
2658     ./docutils.conf, ~/.docutils).
2659   - Added ``Publisher.setup_option_parser()``.
2660   - Added default usage message and description.
2662 * docutils/frontend.py: Added to project; support for front-end
2663   (command-line) scripts.  Option specifications may be augmented by
2664   components.  Requires Optik (http://optik.sf.net/) for option
2665   processing (installed locally as docutils/optik.py).
2667 * docutils/io.py: Added to project; uniform API for a variety of input
2668   output mechanisms.
2670 * docutils/nodes.py:
2672   - Added ``TreeCopyVisitor`` class.
2673   - Added a ``copy`` method to ``Node`` and subclasses.
2674   - Added a ``SkipDeparture`` exception for visitors.
2675   - Renamed ``TreePruningException`` from ``VisitorException``.
2676   - Added docstrings to ``TreePruningException``, subclasses, and
2677     ``Nodes.walk()``.
2678   - Improved docstrings.
2679   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2680   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2681     imports.
2682   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2683     ``PreDecorative`` mixin.
2684   - Reworked the name/id bookkeeping; to ``document``, removed
2685     ``explicit_targets`` and ``implicit_targets`` attributes, added
2686     ``nametypes`` attribute and ``set_name_id_map`` method.
2687   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2688     traversals.
2689   - Added ``document.has_name()`` method.
2690   - Fixed DOM generation for list-attributes.
2691   - Added category class ``Labeled`` (used by footnotes & citations).
2692   - Added ``Element.set_class()`` method (sets "class" attribute).
2694 * docutils/optik.py: Added to project.  Combined from the Optik
2695   package, with added option groups and other modifications.  The use
2696   of this module is probably only temporary.
2698 * docutils/statemachine.py:
2700   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2701   - Added underscores to improve many awkward names.
2702   - In ``string2lines()``, changed whitespace normalizing translation
2703     table to regexp; restores Python 2.0 compatibility with Unicode.
2705 * docutils/urischemes.py:
2707   - Filled in some descriptions.
2708   - Added "shttp" scheme.
2710 * docutils/utils.py:
2712   - Added ``clean_rcs_keywords`` function (moved from
2713     docutils/transforms/frontmatter.py
2714     ``DocInfo.filter_rcs_keywords``).
2715   - Added underscores to improve many awkward names.
2716   - Changed names of Reporter's thresholds:
2717     warning_level -> report_level; error_level -> halt_level.
2718   - Moved ``utils.id()`` to ``nodes.make_id()``.
2719   - Added ``relative_path(source, target)``.
2721 * docutils/languages/de.py: German mappings; added to project.  Thanks
2722   to Gunnar Schwant for the translations.
2724 * docutils/languages/en.py: Added "Dedication" bibliographic field
2725   mappings.
2727 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2728   Chodorowski.
2730 * docutils/parsers/rst/states.py:
2732   - Added underscores to improve many awkward names.
2733   - Added RFC-2822 header support.
2734   - Extracted the inline parsing code from ``RSTState`` to a separate
2735     class, ``Inliner``, which will allow easy subclassing.
2736   - Made local bindings for ``memo`` container & often-used contents
2737     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2738   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2739   - Added ``MarkupMismatch`` exception; for late corrections.
2740   - Added ``-/:`` characters to inline markup's start string prefix,
2741     ``/`` to end string suffix.
2742   - Fixed a footnote bug.
2743   - Fixed a bug with literal blocks.
2744   - Applied patch from Simon Budig: simplified regexps with symbolic
2745     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2746   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2747   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2748   - Allowed non-ASCII in "simple names" (directive names, field names,
2749     references, etc.).
2750   - Converted ``Inliner.patterns.initial`` to be dynamically built
2751     from parts with ``build_regexp()`` function.
2752   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2753   - Updated docstrings.
2754   - Changed "table" to "grid_table"; added "simple_table" support.
2756 * docutils/parsers/rst/tableparser.py:
2758   - Changed ``TableParser`` to ``GridTableParser``.
2759   - Added ``SimpleTableParser``.
2760   - Refactored naming.
2762 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2763   a fallback language for directive names.
2765 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2766   directive to use a ``pending`` element, used only by HTML writers.
2768 * docutils/parsers/rst/directives/parts.py: Renamed from
2769   components.py.
2771   - Added "backlinks" attribute to "contents" directive.
2773 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2774   project by Adam Chodorowski.
2776 * docutils/readers/__init__.py: Gave Readers more control over
2777   choosing and instantiating Parsers.
2779 * docutils/readers/pep.py: Added to project; for PEP processing.
2781 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2782   requires a ``component`` parameter.
2784 * docutils/transforms/components.py: Added to project; transforms
2785   related to Docutils components.
2787 * docutils/transforms/frontmatter.py:
2789   - In ``DocInfo.extract_authors``, check for a single "author" in an
2790     "authors" group, and convert it to a single "author" element.
2791   - Added support for "Dedication" and generic bibliographic fields.
2793 * docutils/transforms/peps.py: Added to project; PEP-specific.
2795 * docutils/transforms/parts.py: Renamed from old components.py.
2797   - Added filter for `Contents`, to use alt-text for inline images,
2798     and to remove inline markup that doesn't make sense in the ToC.
2799   - Added "name" attribute to TOC topic depending on its title.
2800   - Added support for optional TOC backlinks.
2802 * docutils/transforms/references.py: Fixed indirect target resolution
2803   in ``Hyperlinks`` transform.
2805 * docutils/transforms/universal.py:
2807   - Changed ``Messages`` transform to properly filter out system
2808     messages below the warning threshold.
2809   - Added ``Decorations`` transform (support for ``--generator``,
2810     ``--date``, ``--time``, ``--source-link`` options).
2812 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2813   Engelbert Gruber's PDF writer.
2815 * docutils/writers/html4css1.py:
2817   - Made XHTML-compatible (switched to lowercase element & attribute
2818     names; empty tag format).
2819   - Escape double-dashes in comment text.
2820   - Improved boilerplate & modularity of output.
2821   - Exposed modular output in Writer class.
2822   - Added a "generator" meta tag to <head>.
2823   - Added support for the ``--stylesheet`` option.
2824   - Added support for ``decoration``, ``header``, and ``footer``
2825     elements.
2826   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2827     translation table to regexp; restores Python 2.0 compatibility
2828     with Unicode.
2829   - Added the translator class as instance variable to the Writer, to
2830     make it easily subclassable.
2831   - Improved option list spacing (thanks to Richard Jones).
2832   - Modified field list output.
2833   - Added backlinks to footnotes & citations.
2834   - Added percentage widths to "<col>" tags (from colspec).
2835   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2836     "<span>" changed to "<var>".
2837   - Inline literals: "<code>" changed to "<tt>".
2838   - Many changes to optimize vertical space: compact simple lists etc.
2839   - Add a command-line options & directive attributes to control TOC
2840     and footnote/citation backlinks.
2841   - Added support for optional footnote/citation backlinks.
2842   - Added support for generic bibliographic fields.
2843   - Identify backrefs.
2844   - Relative URLs for stylesheet links.
2846 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2847   PEPs (subclass of ``html4css1.Writer``).
2849 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2851 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2852   of the Docutils internal doctree in XML.
2854 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2856 * spec/doctree.txt:
2858   - Changed the title to "The Docutils Document Tree".
2859   - Added "Hyperlink Bookkeeping" section.
2861 * spec/docutils.dtd:
2863   - Added ``decoration``, ``header``, and ``footer`` elements.
2864   - Brought ``interpreted`` element in line with the parser: changed
2865     attribute "type" to "role", added "position".
2866   - Added support for generic bibliographic fields.
2868 * spec/notes.txt: Continual updates.  Added "Project Policies".
2870 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
2871   section.
2873 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2875 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
2876   mailing list discussions.
2878 * spec/pep-0287.txt:
2880   - Renamed to "reStructuredText Docstring Format".
2881   - Minor edits.
2882   - Reworked Q&A as an enumerated list.
2883   - Converted to reStructuredText format.
2885 * spec/pysource.dtd:
2887   - Reworked structural elements, incorporating ideas from Tony Ibbs.
2889 * spec/pysource.txt: Removed from project.  Moved much of its contents
2890   to pep-0258.txt.
2892 * spec/rst/alternatives.txt:
2894   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2895   - Added "Inline External Targets" section.
2897 * spec/rst/directives.txt:
2899   - Added "backlinks" attribute to "contents" directive.
2901 * spec/rst/problems.txt:
2903   - Updated the Enumerated List Markup discussion.
2904   - Added new alternative table markup syntaxes.
2906 * spec/rst/reStructuredText.txt:
2908   - Clarified field list usage.
2909   - Updated enumerated list description.
2910   - Clarified purpose of directives.
2911   - Added ``-/:`` characters to inline markup's start string prefix,
2912     ``/`` to end string suffix.
2913   - Updated "Authors" bibliographic field behavior.
2914   - Changed "inline hyperlink targets" to "inline internal targets".
2915   - Added "simple table" syntax to supplement the existing but
2916     newly-renamed "grid tables".
2917   - Added cautions for anonymous hyperlink use.
2918   - Added "Dedication" and generic bibliographic fields.
2920 * test: Made test modules standalone (subdirectories became packages).
2922 * test/DocutilsTestSupport.py:
2924   - Added support for PEP extensions to reStructuredText.
2925   - Added support for simple tables.
2926   - Refactored naming.
2928 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2930   - Now supports true packages containing test modules
2931     (``__init__.py`` files required); fixes duplicate module name bug.
2933 * test/test_pep/: Subpackage added to project; PEP testing.
2935 * test/test_rst/test_SimpleTableParser.py: Added to project.
2937 * tools:
2939   - Updated html.py and publish.py front-end tools to use the new
2940     command-line processing facilities of ``docutils.frontend``
2941     (exposed in ``docutils.core.Publisher``), reducing each to just a
2942     few lines of code.
2943   - Added ``locale.setlocale()`` calls to front-end tools.
2945 * tools/buildhtml.py: Added to project; batch-generates .html from all
2946   the .txt files in directories and subdirectories.
2948 * tools/default.css:
2950   - Added support for ``header`` and ``footer`` elements.
2951   - Added styles for "Dedication" topics (biblio fields).
2953 * tools/docutils.conf: A configuration file; added to project.
2955 * tools/docutils-xml.py: Added to project.
2957 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2959 * tools/pep-html-template: Added to project.
2961 * tools/pep2html.py: Added to project from Python (nondist/peps).
2962   Added support for Docutils (reStructuredText PEPs).
2964 * tools/quicktest.py:
2966   - Added the ``--attributes`` option, hacked a bit.
2967   - Added a second command-line argument (output file); cleaned up.
2969 * tools/stylesheets/: Subdirectory added to project.
2971 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2974 Release 0.1 (2002-04-20)
2975 ========================
2977 This is the first release of Docutils, merged from the now inactive
2978 reStructuredText__ and `Docstring Processing System`__ projects.  For
2979 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2980 `DPS HISTORY`__ files.
2982 __ http://structuredtext.sourceforge.net/
2983 __ http://docstring.sourceforge.net/
2984 __ http://structuredtext.sourceforge.net/HISTORY.html
2985 __ http://docstring.sourceforge.net/HISTORY.html
2987 General changes: renamed 'dps' package to 'docutils'; renamed
2988 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2989 the test suites (reStructuredText's test/test_states renamed to
2990 test/test_rst); and all modifications required to make it all work.
2992 * docutils/parsers/rst/states.py:
2994   - Improved diagnostic system messages for missing blank lines.
2995   - Fixed substitution_reference bug.
2999    Local Variables:
3000    mode: indented-text
3001    indent-tabs-mode: nil
3002    sentence-end-double-space: t
3003    fill-column: 70
3004    End: