Apply [ 135 ] Language modules for Latvian by Alexander Smishlajev
[docutils.git] / docutils / HISTORY.txt
blobadae10202c7318e20b6abdf57e0a5a29d8ed10b2
1 .. -*- coding: utf-8 -*-
3 ==================
4  Docutils History
5 ==================
7 :Author: David Goodger; open to all Docutils developers
8 :Contact: docutils-develop@lists.sourceforge.net
9 :Date: $Date$
10 :Revision: $Revision$
11 :Web site: http://docutils.sourceforge.net/
12 :Copyright: This document has been placed in the public domain.
14 .. contents::
16 Changes Since 0.12
17 ==================
19 * docutils/languages/fa.py
20   docutils/parsers/rst/languages/fa.py
21   docutils/languages/la.py
22   docutils/parsers/rst/languages/la.py:
23   
24   - Apply [ 133 ] Persian mappings by Shahin Azad.
25   - Apply [ 135 ] Language modules for Latvian by Alexander Smishlajev
26   
27 * docutils/nodes.py
29   - Fix [ 253 ] Attribute key without value not allowed in XML.
31 * docutils/parsers/
33   - Apply [ 103 ] Recognize inline markups without word boundaries.
34   - Enable escaping in embedded URIs and aliases (fixes [ 284 ]).
36 * docutils/parsers/rst/__init__.py
38   - Fix [ 233 ] Change the base URL for the :rfc: role.
40 * docutils/parsers/rst/directives/tables.py
42   - Apply [ 120 ] tables accept option widths: list of relative widths, 'auto'
43     or 'grid'.
45   - Implement feature request [ 48 ]
46     Add :align: option to the table directives.
47     Thanks to Takeshi KOMIYA for the patch.
49 * docutils/parsers/rst/roles.py
51   - Fix [ 295 ] Class argument for custom role inheriting from math.
53 * docutils/parsers/rst/tableparser.py
55   - Really fix [ 159 ] Spurious table column alignment errors.
57 * docutils/transforms/frontmatter.py
59   - Add name of generic bibliographic fields as a "classes" attribute value
60     (after conversion to a valid identifier form).
62 * docutils/utils/error_reporting.py
64   - Fix [ 130 ] support streams expectiong byte-strings in ErrorOutput.
66 * docutils/utils/math/math2html.py
68   - Add ``\colon`` macro, fix spacing around colons. Fixes [ 246 ].
69   - New upstream version (additional macros, piecewise integrals and sums).
71 * docutils/writers/html_plain/
73   - New HTML writer generating clean, polyglot_ markup conforming to
74     `HTML 5`_.
76     The CSS stylesheets ``minimal.css`` and ``plain.css`` contain required
77     and recommended layout rules.
79 * docutils/writers/html4css1/__init__.py
81   - Add "docutils" to class values for "container" object to address [ 267 ].
82   - Apply patch [ 119 ] by Anatoly Techtonik: use absolute paths for
83     ``default_stylesheet_path`` and ``default_template_path``.
84   - Fix [ 266 ] creating labels/class values in description list items.
85   - Do not use <sup> and <sub> tags inside <pre> (parsed-literal blocks).
86   - Fix footnotes with content that does not start with a paragraph.
87   - Use https in default MathJax URL (report Alan G Isaac).
89 * docutils/writers/latex2e/__init__.py
91   - Fix [ 262 ] Use ``\linewidth`` instead of ``\textwidth`` for figures,
92     admonitions and docinfo.
94   - Use absolute path for ``default_template_path``.
96   - Removed deprecated options ``--use-latex-footnotes`` and
97     ``--figure-footnotes``.
99   - Cleaner LaTeX code for enumerations and literal blocks.
101   - Use "hyperref" package together with "bookmark" (improved hyperlinking
102     by the same author).
104   - Fix [ 286 ] Empty column title cause invalid latex file.
106   - Fix [ 224 ] Fix rowspan support for tables.
107   
108   - Let LaTeX determine the column widths in tables with "colwidths-auto".
109     Not suited for with multi-paragraph cells!
111 * docutils/writers/odf_odt/__init__.py
113   - remove decode.encode of filename stored in zip.
115 * docutils/writers/xetex/__init__.py
117   - LuaLaTex compatibility: do not load "xunicode".
119 * tools/
121   - New front-end ``rst2html5.py``.
123 * tox.ini
125   - Test py26, py27, py33 and py34.
127     To use, install the ``tox`` package via pip or easy_install and use
128     tox from the project root directory.
130 .. _polyglot: http://www.w3.org/TR/html-polyglot/
131 .. _HTML 5: http://www.w3.org/TR/html5/
132 .. _XHTML 1.0: http://www.w3.org/TR/xhtml1/
135 Release 0.12 (2014-07-06)
136 =========================
138 * docs/ref/rst/directives.txt
140   - Update "math" and "csv-table" descriptions.
142 * docutils/parsers/rst/directives/images.py
144   - Fix [ 258 ] figwidth="image" generates unitless width value.
146 * docutils/parsers/rst/states.py
148   - Improve error report when a non-ASCII character is specified as
149     delimiter, quote or escape character under Python 2.
150     Fixes [ 249 ] and [ 250 ].
152 * docutils/writers/html4css1/__init__.py
154   - Don't add newline after inline math.
155     Thanks to Yury G. Kudryashov for the patch.
157 * docutils/writers/latex2e/__init__.py
159   - Fix [ 239 ] Latex writer glues paragraphs with figure floats.
160   - Apply [ 116 ] by Kirill Smelkov. Don't hardcode \large for subtitle.
162 * docutils/writers/odf_odt/__init__.py
164   - Apply patch by Jakub Wilk to fix bug [ 100 ].
166 * test/test_error_reporting.py
168   - Fix [ 223 ] by removing redundant tests we do not have control over.
170 * test/test_nodes.py
172   - Apply [ 115 ] respect fixed 2to3 string literal conversion behavior.
174 Release 0.11 (2013-07-22)
175 =========================
177 * General
179   - Apply [ 2714873 ] Fix for the overwritting of document attributes.
180   - Support embedded aliases within hyperlink references.
181   - Fix [ 228 ] try local import of docutils components (reader, writer, parser,
182     language module) before global search.
184 * docutils/nodes.py
186   - Fix [ 3601607 ] node.__repr__() must return `str` instance.
188 * docutils/parsers/rst/directives/__init__.py
190   - Fix [ 3606028 ] ``assert`` is skipped with ``python -O``.
192 * docutils/parsers/rst/directives/images.py
194   - Apply [ 3599485 ] node source/line information for sphinx translation.
196 * docutils/parsers/rst/directives/tables.py
198   - Fix [ 210 ] Python 3.3 checks CVS syntax only if "strict" is True.
200 * docutils/parsers/rst/states.py
202   - Fix [ 157 ] Line block parsing doesn't like system message.
203   - Always import our local copy of roman.py (report Larry Hastings).
205 * docutils/transforms/references.py
207   - Fix [ 3607029 ] traceback with embedded alias pointing to missing target.
209 * docutils/utils/__init__.py
211   - Fix [ 3596884 ] exception importing ``docutils.io``.
213 * docutils/writers/html4css1/__init__.py
215   - Fix [ 3600051 ] for tables in a list, table cells are not compacted.
216   - New setting `stylesheet_dirs`: Comma-separated list of directories
217     where stylesheets are found. Used by `stylesheet_path` when expanding
218     relative path arguments.
219   - New default for math-output_: ``HTML math.css``.
220   - Avoid repeated class declarations in html4css1 writer
221     (modified version of patch [ 104 ]).
223 .. _math-output: docs/user/config.html#math-output
225 * docutils/writers/latex2e/__init__.py
227   - Drop the simple algorithm replacing straight double quotes with
228     English typographic ones.
229     Activate the SmartQuotes_ transform if you want this feature.
230   - Fix literal use of babel shorthands (straight quote, tilde, ...).
231   - Fix [ 3603246 ] Bug in option "--graphicx-option=auto".
232   - New setting `stylesheet_dirs`.
234 .. _SmartQuotes: docs/user/config.html#smart-quotes
236 * docutils/writers/manpage.py
238   - Fix [3607063] handle lines starting with a period.
239   - Fix option separating comma was bold (thanks to Bill Morris).
241 Release 0.10 (2012-12-16)
242 =========================
244 * General
246   - Dropped support for Python 2.3.
247   - ``docutils/math``, ``docutils/error_reporting.py``, and
248     ``docutils/urischemes.py`` moved to the utils package.
249   - Fix [3541369] Relative __import__ also with Python 3.3.
250   - Fix [3559988] and [3560841] __import__ local writer, reader, languages
251     and parsers for Python 2.7 up.
252   - Fix import of PIL.Image.
253   - Change default of "syntax highlight" option to "long",
254     basic syntax highlight styles for LaTeX and HTML.
256 * docutils/io.py
258   - FileInput/FileOutput: no system-exit on IOError.  The `handle_io_errors`
259     option is ignored and will be removed in a future release.
260   - Fix Py3k error writing to stdout with encoding differing from default.
261   - Fix opening binary files under Py3k (thanks to Dominic Fitzpatrick).
263 * docutils/parsers/rst/directives/misc.py
265   - Fix [ 3546533 ] Unicode error with `date` directive.
267 * docutils/transforms/universal.py
269   - SmartQuotes transform for typographic quotes and dashes.
271 * docutils/utils/__init__.py
273   - normalize_language_tag() now returns `BCP 47`_ conformant tags
274     with subtags separated by ``-``.
276 * docutils/writers/html4css1/__init__.py
278   - Use ``<code>`` tag for inline "code",
279     do not drop nested inline nodes (syntax highlight tokens).
280   - Customizable MathJax URL (based on patch by Dmitry Shachnev).
281   - No line break after opening inline math tag.
283 * docutils/writers/manpage.py
285   - Apply [ 3527401 ] addmonition's don't preserve indentation
286   - Apply [ 3527397 ] Add indentation to literal blocks in manpage writer.
288 * docutils/writers/xetex/__init__.py
290   - Apply [ 3555160 ] ensure order of "otherlanguages".
291   - Fix section numbering by LaTeX.
293 * docutils/writers/s5_html/__init__.py
295   - Fix [ 3556388 ] Mathjax does not work with rst2s5.
297 * docutils/writers/s5_html/docutils_xml.py
299   - Fix [ 3552403 ] Prevent broken PyXML replacing stdlibs xml module.
300   - Fix/improve output with ``--indent`` option.
302 * setup.py
304   - Tag ``math.css`` stylesheet as data file (patch by Dmitry Shachnev).
306 * tools/test/test_buildhtml.py
308   - Fix [ 3521167 ] allow running in any directory.
309   - Fix [ 3521168 ] allow running with Python 3.
312 Release 0.9.1 (2012-06-17)
313 ==========================
315 * setup.py
317   - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
318     installed in the PYTHONPATH. Converted tests are now
319     stored in ``test3/``, tools no longer need conversion.
321     If you installed one of Docutils versions 0.7 ... 0.9 with
322     ``setup.py install`` under Python 3, remove the spurious
323     ``test/`` and ``tools/`` directories in the site library root.
325 * test/
327   - Make tests independent from the location of the ``test/`` directory.
328   - Use converted sources (from the ``build/`` directory) for tests under
329     Python 3.
331 * tools/
333   - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
335 * docutils/io.py
337   - Fix writing binary data to sys.stdout under Python 3 (allows
338     ``rst2odt.py`` to be used with output redirection).
340 * docutils/parsers/rst/directives/misc.py
342   - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
343     ``locale == C`` and 8-bit char in path argument of `include` directive.
345 * test/alltests.py
347   - class `Tee`: catch UnicodeError when writing to "ascii" stream or
348     file under Python 3.
350 Release 0.9 (2012-05-02)
351 ========================
353 * General:
355   - New reStructuredText "code" role and directive and "code" option
356     of the "include" directive with syntax highlighting by Pygments_.
357   - Fix parse_option_marker for option arguments containing ``=``.
358   - Fix [ 2993756 ]: import Python Imaging Library's Image module
359     via ``import PIL`` as starting with PIL 1.2,
360     "PIL lives in the PIL namespace only" (announcement__).
362 .. _Pygments: http://pygments.org/
363 __ http://mail.python.org/pipermail/image-sig/2011-January/006650.html
365 * setup.py
367   - Fix [ 2971827 ] and [ 3442827 ]
368     extras/roman.py moved to docutils/utils/roman.py
370 * docutils/frontend.py
372   - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
374 * docutils/io.py
376   - Fix [ 3395948 ] (Work around encoding problems in Py3k).
377   - `mode` argument for FileOutput avoids code replication in
378     BinaryFileOutput.
379   - New exceptions InputError and OutputError for IO errors in
380     FileInput/FileOutput.
382 * docutils/core.py:
384   - No "hard" system exit on file IO errors: catch and report them in
385     `Publisher.reportException` instead. Allows handling by a calling
386     application if the configuration setting `traceback` is True.
388 * docutils/utils.py -> docutils/utils/__init__.py
390   - docutils.utils is now a package (providing a place for sub-modules)
392   .. note:: docutils/math, docutils/error_reporting.py, and
393      docutils/urischemes.py will move to the utils package in the next
394      release, too. See RELEASE-NOTES__
396      __ RELEASE-NOTES.html
398   - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
399     errors recording non-ASCII filenames (fixes [ 3434355 ]).
401   - Fix relative_path() with source=None and `unicode` target.
403 * docutils/parsers/rst/states.py
405   - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
406     characters and "international" quotes around inline markup.
407   - Use `field_marker` pattern to look for start of a
408     directive option block (fixes [ 3484857 ]).
410 * docutils/parsers/rst/tableparser.py
412   - Fix [ 2926161 ] for simple tables.
413     (Combining chars in grid tables still contribute to cell width.)
415 * docutils/writers/latex2e/__init__.py
417   - Support the `abbreviation` and `acronym` standard roles.
418   - Record only files required to generate the LaTeX source as dependencies.
419   - Fix handling of missing stylesheets.
420   - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
421     when suppressing LaTeX section numbering.
422   - Use ``\DUtitle`` for unsupported section levels
423   - Apply [ 3512791 ] do not compare string literals with "is"
425 * docutils/writers/xetex/__init__.py
427   - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
429 * docutils/writers/html4css1/__init__.py
431   - Change default for `math-output` setting to MathJax.
432   - Fix handling of missing stylesheets.
434 * docutils/writers/docutils_xml.py
436   - Use the visitor pattern with default_visit()/default_depart() methods
437     instead of minidom to facilitate special handling of selected nodes.
438   - Support raw XML (inserted as-is inside a <raw></raw> node).
440 * docutils/writers/manpage.py
442   - Do not emit comment line with trailing blank. Problematic for VCS.
444 Release 0.8.1 (2011-08-30)
445 ==========================
447 * General:
449   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
450     and [ 3395920 ] (correct copyright info for rst.el).
452 * test/
454   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
456 * docutils/writers/latex2e/__init__.py
458   - Clean up Babel language setting. Restores Sphinx compatibility.
460 Release 0.8 (2011-07-07)
461 ========================
463 * General:
465   - Handle language codes according to `BCP 47`_.
466   - If the specified language is not supported by Docutils,
467     warn and fall back to English.
468   - Math support: reStructuredText "math" role and directive,
469     ``math`` and ``math_block`` doctree elements.
470   - Decode command line arguments with the locale's preferred encoding
471     (to allow, e.g., ``--title=Dornröschen``).
472   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
473   - New sub-module `error_reporting`: handle encoding/decoding errors
474     when reporting exceptions.
475   - Some additions to the Docutils core are released under the 2-Clause BSD
476     license, see COPYING_ for details.
478   .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
479   .. _COPYING: COPYING.html
481 * reStructuredText:
483   - Most directives now support a "name" option that attaches a
484     reference name.
486   - Directive content may start on the first line also when the directive
487     type accepts options.
489 * docs/dev/policies.txt:
491   - Recommend the 2-Clause BSD license
492     (http://www.spdx.org/licenses/BSD-2-Clause)
493     for code that is kept under the author's copyright.
495 * tools/buildhtml.py:
497   - Fix ``--local`` switch.
499 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
501 * docutils/writers/html4css1/__init__.py
503   - Set "lang" argument for objects with class argument
504     "language-<language tag>".
505   - New setting "math-output" with support for HTML, MathML, and LaTeX.
507 * docutils/writers/latex2e/__init__.py
509   - Fix [ 3043986 ] AttributeError using :local: with table of content.
510   - Place title data in the document preamble.
511   - Load `babel` package only if required.
512   - Update list of supported languages.
513   - New config setting "hyperref-options".
514     No hard-coded "unicode" hyperref option (clash with xetex).
515   - Set language for custom roles, paragraphs, block-quotes, and
516     line-quotes with class argument "language-<language tag>".
517   - Fix [ 3095603 ] wrong quotes output for russian and other languages.
518   - Convert image URI to a local file path.
519   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
520     has more than one paragraph (Wolfgang Scherer).
521   - \leavevmode before longtable only when needed (prevents spurious vspace)
522   - do not advance table counter for tables without caption
524 * docutils/writers/xetex/__init__.py
526   - New writer generating LaTeX code for compiling with ``xelatex``.
528     A separate writer (inheriting from latex2e) instead of a ``--xetex``
529     option allows separate config options for XeTeX vs. LaTeX2e.
531 * docutils/writers/manpage.py
533   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
534   - Fix: vertical space cleaning for option group ``.``.
536 * tools/editors/emacs/rst.el:
538   - Fix [ 3001100 ] does not handle spaces in filenames
539     (thanks to Jakub Wilk)
541 * docutils/utils.py:
543   - strip whitespace from stylesheet arguments
544   - exclude combining chars from column_width()
545     (partial fix for [ 2926161 ])
547 * docutils/parsers/rst/directives/misc.py:
549   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
550     nested_parse
552 * docutils/io.py:
554   - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
555     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
557 Release 0.7 (2010-07-07)
558 ========================
560 * General:
562   - Fix [ 2881769 ] setup configuration.
563   - Fix [ 2788716 ] reporting problems in included files.
565 * docutils/io.py
567   - FileInput opens files as text files with universal newline support
568     (mode "rU", configurable with the new optional argument "mode").
570 * docutils/nodes.py
572   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
574 * docutils/utils.py
576   - Fix [ 2923723 ] let decode_path() tolerate path == None
578 * docutils/writers/html4css1/__init__.py
580   - Support SVG and SWF images (thanks to Stefan Rank).
581   - Generate valid XHTML for centered images with targets.
582     Use CSS classes instead of "align" tags for image alignment.
584 * docutils/writers/latex2e/__init__.py
586   - Use `transforms.writer_aux.Admonitions` to "normalize" special
587     admonitions.
588   - Use the ``\url`` command for URLs (breaks long URLs instead of
589     writing into the margin).
590   - Preserve runs of spaces in `inline literals`__.
591   - Deprecate ``figure_footnotes`` setting.
592   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
593   - New ``latex_preamble`` setting.
594   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
595   - Fix hyperlink targets (labels) for images, figures, and tables.
596   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
597   - Apply [ 2961991 ] Call hyperref with unicode option.
598   - Drop the special `output_encoding`__ default ("latin-1").
599     The Docutils wide default (usually "UTF-8") is used instead.
600   - Render inline markup in document title and subtitle.
601   - Fix numbering depth with LaTeX section numbering.
602   - Update Unicode -> LaTeX translations.
603   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
605 __ docs/ref/restructuredtext.html#inline-literals
606 __ docs/user/config.html#docutils-footnotes
607 __ docs/user/config.html#output_encoding
609 * docutils/writers/manpage.py
611   - Fix: supported attribute (thanks to peter2108).
612   - Remove trailing blanks in code (keep in sync with mercurial version).
613   - Titles level 1, that is ``.SH``, always uppercase.
614   - Apply patch from mg: literal text should be bold in man-pages.
616 * docutils/nodes.py
618   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
619     turkish locale.
621 * setup.py:
623   - Python 3 support: copy test/ and tools/ to the build-dir
624     and convert Python sources with 2to3.
627 Release 0.6 (2009-10-11)
628 ========================
630 * General:
632   - Docutils is now compatible with Python versions from 2.3 up to 2.6
633     and convertible to 3.1 code.
635     + Node.__nonzero__ returns True instead of 1.
636     + use os.walk instead os.path.walk.
637     + minimize "types" module where possible.
638     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
639     + Text nodes now subclass unicode rather than UserString
640       (which is gone in python 3.0).
641     + 3.0 compatibility module docutils._compat
643     + Drop 2.2 compatibility workarounds.
644     + Drop extras/optparse.py and extras/textwrap.py
645       (stdlib modules since 2.3).
647   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
648   - Unix man page export: manpage writer moved from sandbox to Doctutils
649     core.
651   - Apply [ 1719345 ] Galician translation
652   - Apply [ 1905741 ] Polish translation
653   - Apply [ 1878977 ] make_id(): deaccent characters.
654   - Apply [ 2029251 ] return nonzero when tests fail.
655   - Fix [ 1692788 ] allow UTF-8 in style sheets.
656   - Fix [ 2781629 ] support non-ASCII chars in file names.
657   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
658   - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
659   - Fix [ 2821266 ] --strict option works now like --halt=info.
660   - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
661   - Fix [ 1627229 ] hyperlink references in substitutions.
663   - The "newlatex" writer is orphaned.
665 * reStructuredText:
667   - Documented Unicode characters allowed as inline markup openers,
668     closers, and delimiters.
669   - Allow units for all length specifications.
670   - Allow percent sign in "scale" argument of "figure" and "image" directives.
671   - Bugfix: The "figalign" argument of a figure now works as intended
672     (aligning the figure, not its contents).
673   - Align images with class "align-[right|center|left]"
674     (allows setting the alignment of an image in a figure).
676 * docutils/nodes.py:
678   - Added ``Element.__contains__`` method, for the in-operator.
680 * docutils/parsers/rst/states.py:
682   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
683   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
684     " " (non-breaking space), and "¡ ¿" openers.
686 * docutils/parsers/directives/misc.py:
688   - Added ``start-line`` and ``end-line`` options to "include"
689     directive to select a range of lines.
690   - Hard tabs in literal inclusions are replaced by spaces. This is
691     configurable via the new ``tab-width`` option of the "include" directive
692     (a negative tab-width prevents tab expansion).
694 * docutils/utils.py:
696   - Add ``get_stylesheet_list`` function.
697   - Apply [ 2834836 ] print info at halt
699 * docutils/transforms/universal.py:
701   - Raise default priority of StripClasses to exclude stripped classes from
702     the ToC.
704 * docutils/writers/html4css1/__init__.py:
706   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
707     separated list of stylesheets.
708   - Address [ 1938891 ] Inline literal text creates "pre" span only when
709     needed to prevent inter-word line wraps.
710   - Use `translate` method instead of repeated `replace` calls.
711   - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
712     classes to allow CSS styling that does not interfere with other
713     table-using constructs (field lists, citations, ...).
715 * docutils/writers/newlatex2e/__init__.py:
717   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
719 * docutils/writers/latex2e/__init__.py (see also
720   `<docs/user/docutils-05-compat.sty.html>`__) :
722   - Add ``--embed-stylesheet`` option.
723   - Apply [ 1474017 ] image vertical alignment is reversed.
724   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
725   - Change: has_key for dictionaries (not Nodes) to in-operator.
726   - Merge adjacent citations into one latex cite command.
727   - Failsave implementation of custom roles. LaTeX compilation now ignores
728     unknown classes instead of aborting with an error.
729   - Support custom roles based on standard roles.
730   - LaTeX packages can be used as ``--stylesheet`` arguments without
731     restriction. (A style sheet is now referenced with the ``\usepackage``
732     command, if it ends with ``.sty`` or has no extension.)
733   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
734   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
735   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
736     2005-02-04 as a configurable length unit).
737   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
738     if font-encoding is set to ''. LaTeX defaults to OT1 then.
739   - Set sub- and superscript role argument in text mode not as math.
740     Use a custom role based on sub-/superscript if you want italic shape.
741   - Shorter preamble and less dependencies: Load packages and define macros
742     only if required in the document.
743   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
744   - New custom environments and commands with optional "classes" argument.
745   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
746   - Better conformance to Docutils specifications with ``--use-latex-toc``.
747     Support for LaTeX generated ToC also with unnumbered sections.
748   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
749     section numbering by LaTeX.
750   - Use default font in admonitions and sidebar.
751   - Align of image in a figure defaults to 'center'.
752   - Bugfix: Newlines around targets and references prevent run-together
753     paragraphs.
754   - Fix internal hyperlinks.
755   - Use class defaults for page margins ('typearea' now optional).
756   - Float placement made configurable, default changed to "here definitely".
757   - Typeset generic topic as "quote block with title".
758   - Use template (file and configuration option).
759   - In the default template, load cmap.sty (fix text extraction in PDF) and
760     fixltx2e.sty (LaTeX patches, \textsubscript).
761   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
762   - Use `translate` instead of repeated `replace` calls for text encoding.
763   - Hyperlinked footnotes and support for symbol footnotes and
764     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
765   - Complete pairs of binary options
766     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
767     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
768   - New defaults:
769     - font-encoding: "T1" (formerly implicitely set by 'ae').
770     - use-latex-toc: true (ToC with page numbers).
771     - use-latex-footnotes: true (no mixup with figures).
773 * docutils/writers/manpage.py
775   - Do not print version at document end, this is done by the viewer.
776   - Do not print date at document end, this is done by the viewer.
777   - Fix storage of docinfo fields for none standard fields.
779 * docutils/tools/rst2man.py
781 Release 0.5 (2008-06-25)
782 ========================
784 * docutils/languages/he.py: Added to project: Hebrew mappings by
785   Meir Kriheli.
787 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
788   mappings by Meir Kriheli.
790 * docutils/frontend.py:
792   - Configuration files are now assumed and required to be
793     UTF-8-encoded.
794   - Paths of applied configuration files are now recorded in the
795     runtime setting ``_config_files`` (accessible via
796     ``--dump-settings``).
797   - Added ``--strip-elements-with-class`` and ``--strip-class``
798     options (``strip_elements_with_classes`` and ``strip_classes``
799     settings).
801 * docutils/io.py:
803   - Added code to determine the input encoding from data: encoding
804     declarations or the presence of byte order marks (UTF-8 & UTF-16).
805   - Added support for IronPython 1.0.
807 * docutils/nodes.py:
809   - Added ``document.__getstate__`` method, for pickling.
811 * docutils/parsers/rst/states.py:
813   - Allow ``+`` and ``:`` in reference names.
814   - Unquoted targets beginning with an underscore (``.. __target:
815     URI``) are no longer accepted.
816   - Added support for multiple attributions in a physical block quote
817     (indented text block), dividing it into multiple logical block
818     quotes.
819   - Added support for unicode bullets in bullet lists: "•", "‣", and
820     "⁃".
821   - Added support for new object-oriented directive interface,
822     retaining compatibility to the old functional interface.
823   - Added support for throwing ``DirectiveError``'s from within
824     directive code.
826 * docutils/parsers/rst/__init__.py:
828   - Added ``Directive`` base class.
829   - Added ``DirectiveError`` base class.
830   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
831     definitions.
833 * docutils/parsers/directives/:
835   - Refactored all reStructuredText directives to use the new
836     object-oriented directive interface.  Errors are now (mostly)
837     thrown using the new ``DirectiveError`` class.
839 * docutils/parsers/directives/misc.py:
841   - Added ``start-after`` and ``end-before`` options to ``include``
842     directive; thanks to Stefan Rank.
844 * docutils/transforms/universal.py:
846   - Added ``StripClassesAndElements`` transform to remove from the
847     document tree all elements with classes in
848     ``settings.strip_elements_with_classes`` and all "classes"
849     attribute values in ``self.document.settings.strip_classes``.
851 * docutils/transforms/writer_aux.py:
853   - Added ``Admonitions`` transform to transform specific admonitions
854     (like ``note``, ``warning``, etc.) into generic admonitions with a
855     localized title.
857 * docutils/writers/html4css1/__init__.py:
859   - Moved template functionality from the PEP/HTML writer here.
860   - Expanded the fragments available in the ``parts`` attribute.
861   - Moved ``id`` attributes from titles to surrounding ``div``
862     elements.
863   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
864     universally supported now).
865   - ``template.txt`` is now opened in text mode instead of binary mode
866     (to ensure Windows compatibility).
867   - ``a`` elements now have an "internal" or "external" class,
868     depending on reference type.
870 * docutils/writers/html4css1/template.txt: Added to project.
872 * docutils/writers/pep_html/:
874   - Moved template functionality to the HTML writer.
876 * docutils/writers/s5_html/__init__.py:
878   - Added ``view_mode`` & ``hidden_controls`` settings
879     (``--view-mode`` & ``--hidden-controls/--visible-controls``
880     options).
882 * docutils/writers/latex2e/__init__.py:
884   - Add ``--literal-block-env``
885   - Fix: escaping ``%`` in href urls.
886   - Move usepackage hyperref after stylesheet inclusion.
887   - Fix: scrartcl does not have chapter but scrreprt.
888   - Add newline after ``\end{verbatim}``.
889   - Merge smaller differences from latex2e_adaptive_preamble.
890   - Add ``use-part-section``.
891   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
892   - Using leavemode option_list no longer needs to check if parent
893     is a definition list.
894   - Append ``\leavemode`` to definition list terms.
895   - No longer write visit\_/depart_definition_list_item comments to
896     output.
897   - Table column width with 3 decimal places.
898   - Add table stubs support (boldfont).
899   - Add assemble_parts to writer.
900   - Add simply support for nested tables.
901   - Fix verbatim in tables if use-verbatim-when-possible.
902   - Use section commands down to subparagraph.
903   - Put ensuremath around some latin1 chars.
904   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
905   - New option ``--use-bibtex=style,db1,db2``.
906   - New option ``--reference-label`` to allow usage of LaTeX ref for
907     labels in section references.
908   - Add a label after every section to support sectionnumbers as reference
909     labels.
910   - Fix: bug# 1605376 rst2latex: bad options group list
911   - Remove inactive code for use_optionlist_for_option_list.
912   - Remove latex comments from option_list output.
913   - Fix: bug# 1612270 double qoutes in italian literal.
914   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
915   - Add option --use-latex-abstract.
916   - Image width unit ``px`` is translated to ``pt``.
917   - Add image height support.
918   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
919     bug #1457388
920   - Fix: Do not escape underscores in citation reference labels if
921     use-latex-citations is set.
922   - Use centering instead of center for figure contents, to avoid vertical
923     space.
924   - Recognize table class: borderless, nolines, booktabs, standard.
925   - Fix: Renaming contents section does not work with latex writer; SF
926     bug #1487405.
927   - Applied patch for custom roles with classes from Edward Loper.
928   - Fixed bug that caused crashes with more than 256 lists.
930 * docutils/writers/pep_html/__init__.py:
932   - Changed to support new python.org website structure and
933     pep2pyramid.py.
935 * docs/howto/security.txt: "Deploying Docutils Securely", added to
936   project.
938 * tools/buildhtml.py:
940   -- Added ``ignore`` setting to exclude a list of shell patterns
941      (default: ``.svn:CVS``).
943 * tools/editors/emacs/rst.el:
945   - Changed license to "GPL".
946   - Added ``rst-straighten-decorations`` function.
947   - The ``compile`` module is now always loaded.
948   - Added ``rst-toggle-line-block`` function.
949   - Headings consisting only of non-ASCII characters are now
950     recognized by ``rst-toc`` and ``rst-adjust``.
951   - Added font-lock support for multi-line comments where the first
952     comment line is empty.
953   - Added ``(require 'font-lock)``.
955 * setup.py:
957   - Provide descriptive error message if distutils is missing.
960 Release 0.4 (2006-01-09)
961 ========================
963 * General:
965   - Updated the project policies for trunk/branch development &
966     version numbering.
968 * docutils/__init__.py:
970   - Added ``__version_details__`` attribute to describe code source
971     (repository/snapshot/release).
972   - Replaced ``default_transforms`` attribute of TransformSpec with
973     ``get_transforms()`` method.
975 * docutils/core.py:
977   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
978     functions, for document tree extraction and reprocessing.
980 * docutils/io.py:
982   - Added ``DocTreeInput`` class, for reprocessing existing documents.
983   - Added support for non-Unicode (e.g. binary) writer output.
985 * docutils/nodes.py:
987   - Re-introduced ``Targetable.indirect_reference_name``, for
988     MoinMoin/reST compatibility (removed in r3124/r3129).
989   - Added ``serial_escape`` function; escapes string values that are
990     elements of a list, for serialization.  Modified Docutils-XML
991     writing (``Element._dom_node``) and pseudo-XML writing
992     (``Element.starttag``) to use ``serial_escape``.
993   - Added ``Node.deepcopy()`` method.
994   - Removed the internal lists ``document.substitution_refs``,
995     ``document.anonymous_refs``, and ``document.anonymous_targets``.
996   - Added a "container" element.
997   - Fixed bug where values of list-valued attributes of elements
998     originating from custom interpreted text roles (i.e., with custom
999     classes) were being shared between element instances.  Reported by
1000     Shmuel Zeigerman.
1002 * docutils/statemachine.py:
1004   - Added trailing whitespace stripping to ``string2lines()``.
1005   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
1006     Asian double-width character support.
1008 * docutils/utils.py:
1010   - Added ``east_asian_column_width()`` for double-width character
1011     support.
1013 * docutils/languages/ja.py: Added to project: Japanese mappings by
1014   Hisashi Morita.
1016 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
1017   mappings by Panjunyong.
1019 * docutils/parsers/null.py: Added to project; a do-nothing parser.
1021 * docutils/parsers/rst/__init__.py:
1023   - Added validator to tab_width setting, with test.  Closes SF bug
1024     #1212515, report from Wu Wei.
1026 * docutils/parsers/rst/states.py:
1028   - Fixed bug with escaped colons indicating a literal block.
1029   - Fixed bug with enumerated lists (SF#1254145).
1030   - Backslash-escaped colons inside of field names are now allowed.
1031   - Targets (implicit and explicit), anonymous hyperlink references
1032     and auto-numbered footnote references inside of substitution
1033     definitions are now disallowed.
1034   - Fixed bug: list items with blank first lines.
1035   - Fixed bug: block quote attributions with indented second lines.
1036   - Added East Asian double-width character support (Python 2.4 only).
1038 * docutils/parsers/rst/tableparser.py:
1040   - Added East Asian double-width character support (Python 2.4 only).
1042 * docutils/parsers/rst/directives/body.py:
1044   - Added the "container" directive.
1046 * docutils/parsers/rst/directives/misc.py:
1048   - Added the "default-role", "title", and "date" directives.
1049   - Added standard data file syntax to the "include" directive.
1050   - Added support for "class" directive content.
1052 * docutils/parsers/rst/directives/images.py:
1054   - Added ``indirect_reference_name`` support for images with a target
1055     option.
1056   - Added support for image width and height units.
1057   - Fixed bug with image "target" options.
1059 * docutils/parsers/rst/directives/references.py:
1061   - Added "class" attribute to "target-notes" directive, for
1062     footnote_reference classes.
1064 * docutils/parsers/rst/include/: Directory added to project; contains
1065   standard data files for the "include" directive.  Initial contents:
1066   character entity substitution definition sets, and a set of
1067   definitions for S5/HTML presentations.
1069 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
1070   mappings by David Goodger.
1072 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
1073   Simplified Chinese mappings by Panjunyong.
1075 * docutils/readers/__init__.py:
1077   - Added universal.Decorations and universal.ExposeInternals
1078     transforms as default transforms for all readers.
1079   - Added ``ReReader`` base class for readers that reread an existing
1080     document tree.
1082 * docutils/readers/doctree.py: Added to project; a reader for existing
1083   document trees.
1085 * docutils/transforms/frontmatter.py:
1087   - Fixed the DocInfo transform to handle SVN-style expansion of the
1088     "Date" keyword.
1089   - In ``DocInfo.extract_authors``, treat the contents of "authors"
1090     fields uniformly.
1092 * docutils/transforms/misc.py:
1094   - Added misc.Transitions transform, extracted from
1095     universal.FinalChecks.
1097 * docutils/transforms/references.py:
1099   - Added references.DanglingReferences transform, extracted from
1100     universal.FinalChecks.
1101   - Fixed bug with doubly-indirect substitutions.
1102   - Added footnote_reference classes attribute to "TargetNotes".
1103   - Fixed bug with circular substitution definitions that put Docutils
1104     into an infinite loop.
1106 * docutils/transforms/universal.py:
1108   - Added universal.ExposeInternals transform, extracted from
1109     universal.FinalChecks.
1110   - Removed universal.FinalChecks transform (logic has been moved to
1111     several new transforms).
1112   - Fixed bug with the "expose_internals" setting and Text nodes
1113     (exposed by the "rawsource" internal attribute).
1114   - Added the universal.StripComments transform, implementation of the
1115     "strip_comments" setting.
1117 * docutils/transforms/writer_aux.py: Added to project; auxiliary
1118   transforms for writers.
1120   - Added ``Compound`` transform, which flattens compound paragraphs.
1122 * docutils/writers/: Several writer modules (html4css1.py) were
1123   converted into packages.  Support modules and data files have been
1124   moved into the packages.  The stylesheets for the HTML writers are
1125   now installed along with the code, the code knows where to find
1126   them, and the default is to use them (actually, to embed them).
1127   Some adjustments to configuration files may be necessary.  The
1128   easiest way to obtain the new default behavior is to remove all
1129   settings whose name includes "stylesheet".
1131 * docutils/writers/__init__.py:
1133   - Added universal.Messages and universal.FilterMessages transforms
1134     as default transforms for all writers.
1135   - Added ``UnfilteredWriter`` base class for writers that pass the
1136     document tree on unchanged.
1138 * docutils/writers/docutils_xml.py:
1140   - Made ``xmlcharrefreplace`` the default output encoding error
1141     handler.
1143 * docutils/writers/html4css1/:
1145   - Added support for image width and height units.
1146   - Made ``xmlcharrefreplace`` the default output encoding error
1147     handler.
1148   - Made ``--embed-stylesheet`` the default rather than
1149     ``--link-stylesheet``.
1150   - Moved "id" attribute from container (section etc.) to title's <a>
1151     tag, to be on the same tag as "name".
1152     (!!! To be reverted in Docutils 0.5.)
1153   - Added vertical space between fields of field lists.
1154   - Added ``--compact-field-lists`` option to remove vertical space in
1155     simple field lists.
1156   - Made cloaking of email addresses with ``--cloak-email-addresses``
1157     less obtrusive.
1158   - Fixed support for centered images.
1159   - Added support for class="compact" & class="open" lists.
1161 * docutils/writers/latex2e/:
1163   - Underscores in citekeys are no longer escaped.
1165 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
1166   mapping of Unicode characters to LaTeX equivalents.
1168 * docutils/writers/s5_html/: Package added to project; writer for
1169   S5/HTML slide shows.
1171 * docs/dev/distributing.txt: Added to project; guide for distributors
1172   (package maintainers).
1174 * docs/dev/hacking.txt: Added to project; guide for developers.
1176 * docs/ref/doctree.txt:
1178   - Updated for plural attributes "classes", "ids", "names",
1179     "dupnames".
1180   - Added the "container" element.
1182 * docs/ref/docutils.dtd:
1184   - Updated for plural attributes "classes", "ids", "names",
1185     "dupnames".
1187 * docs/user/emacs.txt: Added to project; a document about Emacs
1188   support for reStructuredText and Docutils.
1190 * docs/user/links.txt: Added to project; lists of Docutils-related
1191   links.
1193 * docs/user/mailing-lists.txt: Added to project; information about
1194   Docutils-related mailing lists and how to access them.
1196 * docs/user/slide-shows.txt: Added to project; example of and docs for
1197   the S5/HTML writer (``rst2s5.py`` front end).
1199 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
1200   Files", added to project.
1202 * test/coverage.sh: Added to project; test coverage script.
1204 * test/DocutilsTestSupport.py:
1206   - Added support for specifying runtime settings at the suite level.
1208 * test/test_functional.py:
1210   - Added the ``clear_output_directory`` function.
1211   - Added support for ``_test_more`` functions in functional test
1212     config files.
1214 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
1216 * tools/rstpep2html.py: Renamed from pep.py.
1218 * tools/dev/create_unimap.py: Added to project; script to create the
1219   docutils/writers/unimap_latex.py mapping file.
1221 * tools/dev/profile_docutils.py: Added to project; profiler script.
1223 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
1225 * tools/editors/emacs/restructuredtext.el,
1226   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
1227   Removed from project; the functionality is now contained in rst.el.
1229 * tools/editors/emacs/rst.el: Added to project.  Added many features
1230   and fixed many bugs.  See docs/user/emacs.txt for details.
1232 * tools/stylesheets: Removed from project.  Stylesheets have been
1233   renamed and moved into writer packages.
1236 Release 0.3.9 (2005-05-26)
1237 ==========================
1239 * General:
1241   - Eliminated and replaced all uses of the old string attributes
1242     ``id``, ``name``, ``dupname`` and ``class`` with references to the
1243     new list attributes ``ids``, ``names``, ``dupnames`` and
1244     ``classes`` throughout the whole source tree.
1246 * docutils/core.py:
1248   - Enabled ``--dump-*`` options when ``--traceback`` specified,
1249     allowing for easier debugging.
1250   - In ``Publisher.publish()``, expanded the generic top-level
1251     exception catching.
1253 * docutils/examples.py:
1255   - Added ``internals`` function for exploration.
1257 * docutils/io.py:
1259   - Fixed ``Input.decode`` method to apply heuristics only if no
1260     encoding is explicitly given, and to provide better reporting of
1261     decoding errors.
1262   - The ``Input.decode`` method now removes byte order marks (BOMs)
1263     from input streams.
1265 * docutils/nodes.py:
1267   - ``image`` element class changed to subclass of Element, not
1268     TextElement (it's an empty element, and cannot contain text).
1269   - Added ``attr_defaults`` dictionary for default attribute values.
1270   - Added empty list as default value for the following attributes:
1271     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
1272   - Added ``document.decoration`` attribute,
1273     ``document.get_decoration`` method, and ``decoration.get_header``
1274     & ``.get_footer`` methods.
1275   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
1276     methods.
1278 * docutils/utils.py:
1280   - Removed ``docutils.utils.Reporter.categories``,
1281     ``docutils.utils.ConditionSet``, and all references to them, to
1282     simplify error reporting.
1284 * docutils/languages/nl.py: Added to project; Dutch mappings by
1285   Martijn Pieters.
1287 * docutils/parsers/rst/__init__.py:
1289   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
1291 * docutils/parsers/rst/states.py:
1293   - Added check for escaped at-mark to prevent email address recognition.
1294   - Fixed option lists to allow spaces inside ``<angle-bracketed option
1295     arguments>``.
1296   - Allowed whitespace in paths and URLs.
1297   - Added auto-enumerated list items.
1298   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
1299     followed by text.
1300   - Added support for table stub columns.
1302 * docutils/parsers/rst/directives/__init__.py:
1304   - Allowed whitespace in paths (``path`` function).
1305   - Added ``uri`` directive option conversion function.
1307 * docutils/parsers/rst/directives/body.py:
1309   - Fixed illegal context bug with "topic" directive (allowed within
1310     sidebars; not within body elements).
1312 * docutils/parsers/rst/directives/images.py:
1314   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
1315   - Added support for the ``file_insertion_enabled`` setting in the
1316     "figure" directive (disables "figwidth" option).
1317   - "image" directive: added checks for valid values of "align" option,
1318     depending on context.  "figure" directive: added specialized
1319     "align" option and attribute on "figure" element.
1320   - Made ":figwidth: image" option of "figure" directive work again.
1321   - Fixed bug with reference names containing uppercase letters
1322     (e.g. ``Name_``) in "target" option of "image" directive.
1324 * docutils/parsers/rst/directives/misc.py:
1326   - Fixed "include" and "raw" directives to catch text decoding
1327     errors.
1328   - Allowed whitespace in "include" & "raw" directive paths.
1329   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
1330     settings in "include" & "raw" directives.
1332 * docutils/parsers/rst/directives/parts.py:
1334   - Added "header" & "footer" directives.
1335   - Fixed illegal context bug with "contents" directive (topics
1336     allowed within sidebars; not within body elements).
1338 * docutils/parsers/rst/directives/tables.py:
1340   - Added "list-table" directive.
1341   - Caught empty CSV table bug.
1342   - Added support for the ``file_insertion_enabled`` setting in the
1343     "csv-table" directive.
1344   - Added ``stub-columns`` option to "csv-table" and "list-table"
1345     directives.
1347 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1348   mappings by Martijn Pieters.
1350 * docutils/readers/standalone.py:
1352   - Added ``--section-subtitles`` and ``--no-section-subtitles``
1353     options to activate or deactivate the SectSubTitle transform.
1355 * docutils/transforms/frontmatter.py:
1357   - Added SectSubTitle transform to promote titles of lone
1358     subsections to subtitles.
1360 * docutils/transforms/references.py:
1362   - Fixed mislocated internal targets bug, by propagating internal
1363     targets to the next node, making use of the newly added support
1364     for multiple names and IDs.
1365   - Fixed duplicate footnote label bug.
1366   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1367     transform.
1369 * docutils/writers/html4css1.py:
1371   - Fixed unencoded stylesheet reference bug (characters like "&" in
1372     stylesheet references).
1373   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1374     tags).
1375   - Added support for multiple IDs per node by creating empty ``span``
1376     tags.
1377   - Added the ``field_name_limit`` & ``option_limit`` settings &
1378     support.
1379   - Added support for table stub columns.
1380   - Added support for the ``align`` attribute on ``figure`` elements.
1381   - Added the ``cloak_email_addresses`` setting & support.
1382   - Added ``html_prolog``, ``html_head``, ``html_body``,
1383     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1384     ``docutils.core.publish_parts``.
1385   - Added support for section subtitles.
1387 * docutils/writers/latex2e.py:
1389   - Fixed tables starting with more than one multirow cell.
1390   - Improved --use-latex-docinfo so that organization/contact/address
1391     fields are lumped with the last author field and appear on the
1392     titlepage.
1393   - Made sure the titlepage is always shown with --use-latex-docinfo,
1394     even if the document has no title.
1395   - Made sure that latex doesn't fill in today's date if no date field
1396     was given.
1397   - Added support for section subtitles.
1399 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1400   (under development).
1402 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1404 * docs/api/publisher.txt:
1406   - Added "``publish_parts`` Details" section.
1408 * docutils/dev/repository.txt: Added to project; information about the
1409   Docutils Subversion repository.
1411 * docs/ref/docutils.dtd:
1413   - Added a ``stub`` attribute to the ``colspec`` element via the
1414     ``tbl.colspec.att`` parameter entity.
1415   - Allowed topic elements within sidebars
1416   - Added an ``align`` attribute to the ``figure`` element.
1418 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1419   writer.
1422 Release 0.3.7 (2004-12-24)
1423 ==========================
1425 * docutils/frontend.py:
1427   - Added options: --input-encoding-error-handler,
1428     --record-dependencies, --leave-footnote-reference-space,
1429     --strict-visitor.
1430   - Added command-line and config file support for "overrides" setting
1431     parameter.
1433 * docutils/io.py:
1435   - Added support for input encoding error handler.
1437 * docutils/nodes.py:
1439   - Added dispatch_visit and dispatch_departure methods to
1440     NodeVisitor; useful as a hook for Visitors.
1441   - Changed structure of ``line_block``; added ``line``.
1442   - Added ``compound`` node class.
1443   - Added a mechanism for Visitors to transitionally ignore new node
1444     classes.
1446 * docutils/utils.py:
1448   - Moved ``escape2null`` and ``unescape`` functions from
1449     docutils/parsers/rst/states.py.
1451 * docutils/parsers/rst/roles.py:
1453   - Added "raw" role.
1454   - Changed role function API: the "text" parameter now takes
1455     null-escaped interpreted text content.
1457 * docutils/parsers/rst/states.py:
1459   - Fixed bug where a "role" directive in a nested parse would crash
1460     the parser; the state machine's "language" attribute was not being
1461     copied over.
1462   - Added support for line block syntax.
1463   - Fixed directive parsing bug: argument-less directives didn't
1464     notice that arguments were present.
1465   - Removed error checking for transitions.
1466   - Added support for multiple classifiers in definition list items.
1467   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1468   - Changed role function API: the "text" parameter now takes
1469     null-escaped interpreted text content.
1470   - Empty sections and documents are allowed now.
1472 * docutils/parsers/rst/directives/__init__.py:
1474   - Added ``encoding`` directive option conversion function.
1475   - Allow multiple class names in class_option conversion function.
1477 * docutils/parsers/rst/directives/body.py:
1479   - Converted the line-block directive to use the new structure.
1480   - Extracted the old line-block functionality to the ``block``
1481     function (still used).
1482   - Added ``compound`` directive (thanks to Lea Wiemann).
1484 * docutils/parsers/rst/directives/misc.py:
1486   - Added "encoding" option to "include" and "raw" directives.
1487   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1488   - Allow multiple class names in the "class" directive.
1490 * docutils/parsers/rst/directives/parts.py:
1492   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1493     options.  Thanks to Lele Gaifax.
1495 * docutils/parsers/rst/directives/tables.py:
1497   - Added "encoding" directive to "csv-table" directive.
1498   - Added workaround for lack of Unicode support in csv.py, for
1499     non-ASCII CSV input.
1501 * docutils/transforms/misc.py:
1503   - Fixed bug when multiple "class" directives are applied to a single
1504     element.
1505   - Enabled multiple format names for "raw" directive.
1507 * docutils/transforms/references.py:
1509   - Added support for trimming whitespace from beside substitution
1510     references.
1512 * docutils/transforms/universal.py:
1514   - FinalChecks now checks for illegal transitions and moves
1515     transitions between sections.
1517 * docutils/writers/html4css1.py:
1519   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
1520   - "stylesheet" and "stylesheet_path" settings are now mutually
1521     exclusive.
1522   - Added support for the new line_block/line structure.
1523   - --footnote-references now overrides
1524     --trim-footnote-reference-space, if applicable.
1525   - Added support for ``compound`` elements.
1526   - Enabled multiple format names for "raw" directive.
1527   - ``<p>`` tags of a paragraph which is the only visible child of the
1528     document node are no longer stripped.
1529   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1530     new method ``should_be_compact_paragraph()``.
1531   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1532     elements.
1533   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1534     the output if they have their ``class`` attribute set.
1535   - The whole document is now surrounded by a ``<div
1536     class="document">`` element.
1537   - Body-level images are now wrapped by their own ``<div>`` elements,
1538     with image classes copied to the wrapper, and for images which
1539     have the ``:align:`` option set, the surrounding ``<div>`` now
1540     receives a class attribute (like ``class="align-left"``).
1542 * docutils/writers/latex2e.py:
1544   - no newline after depart_term.
1545   - Added translations for some Unicode quotes.
1546   - Added option "font-encoding", made package AE the default.
1547   - "stylesheet" and "stylesheet_path" settings are now mutually
1548     exclusive.
1549   - --footnote-references now overrides
1550     --trim-footnote-reference-space, if applicable.
1551   - The footnote label style now matches the footnote reference style
1552     ("brackets" or "superscript").
1553   - Added support for ``compound`` elements.
1554   - Enabled multiple format names for "raw" directive.
1556 * docs/ref/docutils.dtd:
1558   - Changed structure of the ``line_block`` element; added ``line``.
1559   - Added ``compound`` element.
1560   - Added "ltrim" and "rtrim" attributes to
1561     ``substitution_definition`` element.
1562   - Enabled multiple format names for ``raw`` element.
1563   - Enabled multiple classifiers in ``definition_list_item`` elements.
1565 * docs/ref/rst/directives.txt
1567   - Marked "line-block" as deprecated.
1568   - "Class" directive now allows multiple class names.
1569   - Added "Rationale for Class Attribute Value Conversion".
1570   - Added warning about "raw" overuse/abuse.
1572 * docs/ref/rst/restructuredtext.txt:
1574   - Added syntax for line blocks.
1575   - Definition list items may have multiple classifiers.
1577 * docs/ref/rst/roles.txt:
1579   - Added "raw" role.
1581 * tools/stylesheets/default.css:
1583   - Added support for the new line_block structure.
1584   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1587 Release 0.3.5 (2004-07-29)
1588 ==========================
1590 General:
1592 * _`Documentation cleanup/reorganization`.
1594   - Created new subdirectories of docs/:
1596     * ``docs/user/``: introductory/tutorial material for end-users
1597     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1598     * ``docs/api/``: API reference material for client-developers
1599     * ``docs/ref/``: reference material for all groups
1600     * ``docs/howto/``: for component-developers and core-developers
1601     * ``docs/peps/``: Python Enhancement Proposals
1603   - Moved ``docs/*`` to ``docs/user/``.
1604   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1605     ``spec/`` to ``docs/dev``.
1606   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1607     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1608   - Moved ``alternatives.txt``, and ``problems.txt`` from
1609     ``spec/rst/`` to ``docs/dev/rst/``.
1610   - Moved ``reStructuredText.txt``, ``directives.txt``,
1611     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1612     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
1613     ``roles.txt``, ``reStructuredText.txt`` to
1614     ``restructuredtext.txt``.
1615   - Moved ``spec/howto/`` to ``docs/howto``.
1617   In order to keep the CVS history of moved files, we supplied
1618   SourceForge with a `script for modifying the Docutils CVS
1619   repository`__.
1621   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1623   After running the cleanup script:
1625   - Added ``docs/index.txt``.
1626   - Added a ``.htaccess`` file to the ``web`` module, containing
1627     redirects for all old paths to new paths.  They'll preserve
1628     fragments (the "#name" part of a URL), and won't clutter up the
1629     file system, and will correct the URL in the user's browser.
1630   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1631     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1632     the "To Do" list itself in ``docs/dev/todo.txt``.
1633   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1634     section of ``docs/dev/todo.txt``.
1635   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1636   - Added "How To Report Bugs" to ``BUGS.txt``.
1637   - Went through all the sources and docs (including under web/) and
1638     updated links.  Mostly done by Lea Wiemann; thanks Lea!
1639     (Still need to update links in the sandboxes.)
1641 Specific:
1643 * BUGS.txt: Added to project.
1645 * THANKS.txt: Added to project.
1647 * docutils/__init__.py:
1649   - 0.3.4: Post-release.
1651 * docutils/core.py:
1653   - Added special error handling & advice for UnicodeEncodeError.
1654   - Refactored Publisher.publish (simplified exception handling &
1655     extracted debug dumps).
1656   - Renamed "enable_exit" parameter of convenience functions to
1657     "enable_exit_status".
1658   - Enabled traceback (exception propagation) by default in
1659     programmatic convenience functions.
1660   - Now publish_file and publish_cmdline convenience functions return
1661     the encoded string results in addition to their regular I/O.
1662   - Extracted common code from publish_file, publish_string, and
1663     publish_parts, into new publish_programmatically.  Extracted
1664     settings code to ``Publisher.process_programmatic_settings``.
1665   - In Publisher.publish, disabled ``settings_overrides`` when
1666     ``settings`` is supplied; redundant.
1668 * docutils/frontend.py:
1670   - Added help text for "--output-encoding-error-handler" and
1671     "--error-encoding-error-handler".
1672   - Renamed "--exit" to "--exit-status".
1673   - Simplified default-setting code.
1675 * docutils/parsers/rst/__init__.py:
1677   - Added "--pep-base-url" and "--rfc-base-url" options.
1679 * docutils/parsers/rst/states.py:
1681   - Made URI recognition more aggressive and intelligent.
1683 * docutils/parsers/rst/directives/__init__.py:
1685   - Added several directive option conversion functions.
1687 * docutils/parsers/rst/directives/body.py:
1689   - Moved "table" directive to tables.py.
1691 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1692   added to project.
1694 * docutils/writers/latex2e.py:
1696   - Added "--table-style=(standard|booktabs|nolines)"
1697   - figures get "here" option (LaTeX per default puts them at bottom),
1698     and figure content is centered.
1699   - Rowspan support for tables.
1700   - Fix: admonition titles before first section.
1701   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1702   - Replave ``_`` in literal by an underlined blank, because it has the correct
1703     width.
1704   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1705   - A few unicode replacements, if output_encoding != utf
1706   - Add "--graphicx-option".
1707   - Indent literal-blocks.
1708   - Fix: omit ``\maketitle`` when there is no document title.
1710 * docs/index.txt: "Docutils Project Documentation Overview", added to
1711   project.
1713 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1714   Tool", added to project.
1716 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1718 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1720 * docs/dev/policies.txt: Added to project (extracted from
1721   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1723 * docs/dev/release.txt: Added to project (extracted from
1724   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1726 * docs/dev/testing.txt: Added to project.
1728 * docs/dev/website.txt: Added to project (extracted from
1729   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1731 * docs/ref/rst/directives.txt:
1733   - Added directives: "table", "csv-table".
1735 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1736   added to project.  1 page for syntax, and a 1 page reference for
1737   directives and roles.  Source text to be used as-is; not meant to be
1738   converted to HTML.
1740 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1741   with a change of title.
1743 * test/functional/, contents, and test/test_functional.py: Added to
1744   project.
1746 * tools/buildhtml.py: Fixed bug with config file handling.
1748 * tools/html.py: Removed from project (duplicate of rst2html.py).
1750 * tools/pep2html.py: Removed from project (duplicate of Python's
1751   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1752   Docutils-related PEPs in docs/peps/).
1754 * tools/rst2pseudoxml.py: Renamed from publish.py.
1756 * tools/rst2xml.py: Renamed from docutils-xml.py.
1758 * tools/test.txt: Removed from project; moved to
1759   docs/user/rst/demo.txt.
1761 * setup.py: Now also installs ``rst2latex.py``.
1764 Release 0.3.3 (2004-05-09)
1765 ==========================
1767 * docutils/__init__.py:
1769   - 0.3.1: Reorganized config file format (multiple sections); see
1770     docs/config.txt.
1771   - Added unknown_reference_resolvers attribute to TransformSpec.
1772   - 0.3.2: Interpreted text reorganization.
1773   - 0.3.3: Released.
1775 * docutils/core.py:
1777   - Catch system messages to stop tracebacks from parsing errors.
1778   - Catch exceptions during processing report & exit without
1779     tracebacks, except when "--traceback" used.
1780   - Reordered components for OptionParser; application comes last.
1781   - Added "config_section" parameter to several methods and functions,
1782     allowing front ends to easily specify their config file sections.
1783   - Added publish_parts convenience function to allow access to individual
1784     parts of a document.
1786 * docutils/examples.py: Added to project; practical examples of
1787   Docutils client code, to be used as-is or as models for variations.
1789 * docutils/frontend.py:
1791   - Added "--traceback" & "--no-traceback" options ("traceback"
1792     setting).
1793   - Implemented support for config file reorganization:
1794     ``standard_config_files`` moved from ``ConfigParser`` to
1795     ``OptionParser``; added
1796     ``OptionParser.get_config_file_settings()`` and
1797     ``.get_standard_config_settings()``; support for old "[options]"
1798     section (with deprecation warning) and mapping from old to new
1799     settings.
1800   - Reimplemented setting validation.
1801   - Enabled flexible boolean values: yes/no, true/false, on/off.
1802   - Added ``Values``, a subclass of ``optparse.Values``, with support
1803     for list setting attributes.
1804   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1805     thanks to Beni Cherniavsky.
1806   - Added "--no-section-numbering" option.
1808 * docutils/io.py:
1810   - Catch IOErrors when opening source & destination files, report &
1811     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1812     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1814 * docutils/nodes.py:
1816   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1817     method definitions (via ``exec``) to dynamic assignments (via
1818     ``setattr``); thanks to Roman Suzi.
1819   - Encapsulated visitor dynamic assignments in a function; thanks to
1820     Ian Bicking.
1821   - Added indirect_reference_name attribute to the Targetable
1822     class. This attribute holds the whitespace_normalized_name
1823     (contains mixed case) of a target.
1825 * docutils/statemachine.py:
1827   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1828   - Added ``StringList.get_2D_block``.
1830 * docutils/utils.py:
1832   - Added "level" attribute to SystemMessage exceptions.
1834 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1835   Jannie Hofmeyr.
1837 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1838   Blaha.
1840 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1841   Marcelo Huerta San Martin.
1843 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1844   mappings by Lalo Martins.
1846 * docutils/languages/ru.py: Added to project; Russian mappings by
1847   Roman Suzi.
1849 * docutils/parsers/rst/roles.py: Added to project.  Contains
1850   interpreted text role functions, a registry for interpreted text
1851   roles, and an API for adding to and retrieving from the registry.
1852   Contributed by Edward Loper.
1854 * docutils/parsers/rst/states.py:
1856   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1857   - Allowed true em-dash character and "---" as block quote
1858     attribution marker.
1859   - Added support for <angle-bracketed> complex option arguments
1860     (option lists).
1861   - Fixed handling of backslashes in substitution definitions.
1862   - Fixed off-by-1 error with extra whitespace after substitution
1863     definition directive.
1864   - Added inline markup parsing to field lists' field names.
1865   - Added support for quoted (and unindented) literal blocks.
1866     Driven in part by a bribe from Frank Siebenlist (thanks!).
1867   - Parser now handles escapes in URIs correctly.
1868   - Made embedded-URIs' reference text omittable.  Idea from Beni
1869     Cherniavsky.
1870   - Refactored explicit target processing code.
1871   - Added name attribute to references containing the reference name only
1872     through whitespace_normalize_name (no case changes).
1873   - parse_target no longer returns the refname after going through
1874     normalize_name. This is now handled in make_target.
1875   - Fixed bug relating to role-less interpreted text in non-English
1876     contexts.
1877   - Reorganized interpreted text processing; moved code into the new
1878     roles.py module.  Contributed by Edward Loper.
1879   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1880     ``parse_directive_block``.
1882 * docutils/parsers/rst/tableparser.py:
1884   - Reworked for ``StringList``, to support "include" directives in
1885     table cells.
1887 * docutils/parsers/rst/directives/__init__.py:
1889   - Renamed ``unchanged()`` directive option conversion function to
1890     ``unchanged_required``, and added a new ``unchanged``.
1891   - Catch unicode value too high error; fixes bug 781766.
1892   - Beefed up directive error reporting.
1894 * docutils/parsers/rst/directives/body.py:
1896   - Added basic "table" directive.
1898 * docutils/parsers/rst/directives/images.py:
1900   - Added "target" option to "image" directive.
1901   - Added name attribute to references containing the reference name only
1902     through whitespace_normalize_name (no case changes).
1904 * docutils/parsers/rst/directives/misc.py:
1906   - Isolated the import of the ``urllib2`` module; was causing
1907     problems on SourceForge (``libssl.so.2`` unavailable?).
1908   - Added the "role" directive for declaring custom interpreted text
1909     roles.
1911 * docutils/parsers/rst/directives/parts.py:
1913   - The "contents" directive does more work up-front, creating the
1914     "topic" and "title", and leaving the "pending" node for the
1915     transform.  Allows earlier reference resolution; fixes subtle bug.
1917 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1918   mappings by Jannie Hofmeyr.
1920 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1921   mappings by Marek Blaha.
1923 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1924   mappings by Marcelo Huerta San Martin.
1926 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1927   Portuguese mappings by Lalo Martins.
1929 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1930   mappings by Roman Suzi.
1932 * docutils/transforms/parts.py:
1934   - The "contents" directive does more work up-front, creating the
1935     "topic" and "title", and leaving the "pending" node for the
1936     transform.  Allows earlier reference resolution; fixes subtle bug.
1937   - Added support for disabling of section numbering.
1939 * docutils/transforms/references.py:
1941   - Verifying that external targets are truly targets and not indirect
1942     references. This is because we are now adding a "name" attribute to
1943     references in addition to targets. Note sure if this is correct!
1944   - Added code to hook into the unknown_reference_resolvers list for a
1945     transformer in resolve_indirect_target. This allows the
1946     unknown_reference_resolvers to keep around indirect targets which
1947     docutils doesn't know about.
1948   - Added specific error message for duplicate targets.
1950 * docutils/transforms/universal.py:
1952   - Added FilterMessages transform (removes system messages below the
1953     verbosity threshold).
1954   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1955     to FinalCheckVisitor for application-specific handling of
1956     unresolvable references.
1957   - Added specific error message for duplicate targets.
1959 * docutils/writers/__init__.py:
1961   - Added assemble_parts method to the Writer class to allow for
1962     access to a documents individual parts.
1963   - Documented & set default for ``Writer.output`` attribute.
1965 * docutils/writers/html4css1.py:
1967   - Fixed unicode handling of attribute values (bug 760673).
1968   - Prevent duplication of "class" attribute values (bug report from
1969     Kirill Lapshin).
1970   - Improved table grid/border handling (prompted by report from Bob
1971     Marshall).
1972   - Added support for table titles.
1973   - Added "<title />" for untitled docs, for XHTML conformance; thanks
1974     to Darek Suchojad.
1975   - Added functionality to keep track of individual parts of a document
1976     and store them in a dictionary as the "parts" attribute of the writer.
1977     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1978   - Added proper support for the "scale" attribute of the "image"
1979     element.  Contributed by Brent Cook.
1980   - Added ``--initial-header-level`` option.
1981   - Fixed bug: the body_pre_docinfo segment depended on there being a
1982     docinfo; if no docinfo, the document title was incorporated into
1983     the body segment.  Adversely affected the publish_parts interface.
1985 * docutils/writers/latex2e.py:
1987   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1988     about a missing file.
1989   - Added options and support: ``--compound-enumerators``,
1990     ``--section-prefix-for-enumerators``, and
1991     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
1992     934322).
1993   - Added option ``--use-verbatim-when-possible``, to avoid
1994     problematic characters (eg, '~' in italian) in literal blocks.
1995   - It's now possible to use four section levels in the `book` and
1996     `report` LaTeX classes.  The default `article` class still has
1997     three levels limit.
1999 * docs/config.txt: "Docutils Configuration Files", added to project.
2000   Moved config file entry descriptions from tools.txt.
2002 * docs/tools.txt:
2004   - Moved config file entry descriptions to config.txt.
2006 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
2007   Development".
2009 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
2010   Text Roles", added to project.
2012 * spec/rst/reStructuredText.txt:
2014   - Added description of support for <angle-bracketed> complex option
2015     arguments to option lists.
2016   - Added subsections for indented and quoted literal blocks.
2018 * test: Continually adding & updating tests.
2020   - Added test/test_settings.py & test/data/config_*.txt support
2021     files.
2022   - Added test/test_writers/test_htmlfragment.py.
2024 * test/DocutilsTestSupport.py:
2026   - Refactored LaTeX publisher test suite/case class names to make
2027     testing other writers easier.
2028   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
2029     to test the processing of HTML fragments which use the new
2030     publish_parts convenience function.
2032 * tools/buildhtml.py:
2034   - Added support for the "--prune" option.
2035   - Removed dependency on pep2html.py; plaintext PEPs no longer
2036     supported.
2038 * tools/docutils.conf:
2040   - Updated for configuration file reorganization.
2042 * tools/rst2html.py:
2044   - copied from tools/html.py
2046 * setup.py:
2048   - added a 'scripts' section to configuration
2049   - added 'tools/rst2html.py' to the scripts section
2052 Release 0.3 (2003-06-24)
2053 ========================
2055 General:
2057 * Renamed "attribute" to "option" for directives/extensions.
2059 * Renamed transform method "transform" to "apply".
2061 * Renamed "options" to "settings" for runtime settings (as set by
2062   command-line options).  Sometimes "option" (singular) became
2063   "settings" (plural).  Some variations below:
2065   - document.options -> document.settings (stored in other objects as
2066     well)
2067   - option_spec -> settings_spec (not directives though)
2068   - OptionSpec -> SettingsSpec
2069   - cmdline_options -> settings_spec
2070   - relative_path_options -> relative_path_settings
2071   - option_default_overrides -> settings_default_overrides
2072   - Publisher.set_options -> Publisher.get_settings
2074 Specific:
2076 * COPYING.txt: Added "Public Domain Dedication".
2078 * FAQ.txt: Frequently asked questions, added to project.
2080 * setup.py:
2082   - Updated with PyPI Trove classifiers.
2083   - Conditional installation of third-party modules.
2085 * docutils/__init__.py:
2087   - Bumped version to 0.2.1 to reflect changes to I/O classes.
2088   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
2089   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
2090   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
2091     option and its effect on the PEP template & writer.
2092   - Bumped version to 0.2.4 due to changes to the PEP template &
2093     stylesheet.
2094   - Bumped version to 0.2.5 to reflect changes to Reporter output.
2095   - Added ``TransformSpec`` class for new transform system.
2096   - Bumped version to 0.2.6 for API changes (renaming).
2097   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
2098     convenience functions.
2099   - Added ``Component.component_type`` attribute.
2100   - Bumped version to 0.2.8 because of the internal parser switch from
2101     plain lists to the docutils.statemachine.StringList objects.
2102   - Bumped version to 0.2.9 because of the frontend.py API changes.
2103   - Bumped version to 0.2.10 due to changes to the project layout
2104     (third-party modules removed from the "docutils" package), and
2105     signature changes in ``io.Input``/``io.Output``.
2106   - Changed version to 0.3.0 for release.
2108 * docutils/core.py:
2110   - Made ``publish()`` a bit more convenient.
2111   - Generalized ``Publisher.set_io``.
2112   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
2113     parameters; improved its docstring.
2114   - Added ``publish_file()`` and ``publish_string()``.
2115   - Factored ``Publisher.set_source()`` and ``.set_destination()``
2116     out of ``.set_io``.
2117   - Added support for "--dump-pseudo-xml", "--dump-settings", and
2118     "--dump-transforms" hidden options.
2119   - Added ``Publisher.apply_transforms()`` method.
2120   - Added ``Publisher.set_components()`` method; support for
2121     ``publish_*()`` conveninece functions.
2122   - Moved config file processing to docutils/frontend.py.
2123   - Added support for exit status ("exit_level" setting &
2124     ``enable_exit`` parameter for Publisher.publish() and convenience
2125     functions).
2127 * docutils/frontend.py:
2129   - Check for & exit on identical source & destination paths.
2130   - Fixed bug with absolute paths & "--config".
2131   - Set non-command-line defaults in ``OptionParser.__init__()``:
2132     ``_source`` & ``_destination``.
2133   - Distributed ``relative_path_settings`` to components; updated
2134     ``OptionParser.populate_from_components()`` to combine it all.
2135   - Require list of keys in ``make_paths_absolute`` (was implicit in
2136     global ``relative_path_settings``).
2137   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
2138     "--dump-settings", and "--dump-transforms" hidden options.
2139   - Removed nasty internals-fiddling ``ConfigParser.get_section``
2140     code, replaced with correct code.
2141   - Added validation functionality for config files.
2142   - Added "--error-encoding" option/setting, "_disable_config"
2143     internal setting.
2144   - Added encoding validation; updated "--input-encoding" and
2145     "--output-encoding"; added "--error-encoding-error-handler" and
2146     "--output-encoding-error-handler".
2147   - Moved config file processing from docutils/core.py.
2148   - Updated ``OptionParser.populate_from_components`` to handle new
2149     ``SettingsSpec.settings_defaults`` dict.
2150   - Added support for "-" => stdin/stdout.
2151   - Added "exit_level" setting ("--exit" option).
2153 * docutils/io.py:
2155   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
2156   - Added automatic closing to ``FileInput`` and ``FileOutput``.
2157   - Delayed opening of ``FileOutput`` file until ``write()`` called.
2158   - ``FileOutput.write()`` now returns the encoded output string.
2159   - Try to get path/stream name automatically in ``FileInput`` &
2160     ``FileOutput``.
2161   - Added defaults for source & destination paths.
2162   - Allow for Unicode I/O with an explicit "unicode" encoding.
2163   - Added ``Output.encode()``.
2164   - Removed dependency on runtime settings; pass encoding directly.
2165   - Recognize Unicode strings in ``Input.decode()``.
2166   - Added support for output encoding error handlers.
2168 * docutils/nodes.py:
2170   - Added "Invisible" element category class.
2171   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
2172     modification during a traversal.
2173   - Added element classes: ``line_block``, ``generated``, ``address``,
2174     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
2175     ``superscript``, ``subscript``, ``inline``
2176   - Added support for lists of nodes to ``Element.insert()``.
2177   - Fixed parent linking in ``Element.replace()``.
2178   - Added new abstract superclass ``FixedTextElement``; adds
2179     "xml:space" attribute.
2180   - Added support for "line" attribute of ``system_message`` nodes.
2181   - Added support for the observer pattern from ``utils.Reporter``.
2182     Added ``parse_messages`` and ``transform_messages`` attributes to
2183     ``document``, removed ``messages``.  Added ``note_parse_message``
2184     and ``note_transform_message`` methods.
2185   - Added support for improved diagnostics:
2187     - Added "document", "source", and "line" internal attributes to
2188       ``Node``, set by ``Node.setup_child()``.
2189     - Converted variations on ``node.parent = self`` to
2190       ``self.setup_child(node)``.
2191     - Added ``document.current_source`` & ``.current_line``
2192       attributes, and ``.note_source`` observer method.
2193     - Changed "system_message" output to GNU-Tools format.
2195   - Added a "rawsource" attribute to the ``Text`` class, for text
2196     before backslash-escape resolution.
2197   - Support for new transform system.
2198   - Reworked ``pending`` element.
2199   - Fixed XML DOM bug (SF #660611).
2200   - Removed the ``interpeted`` element class and added
2201     ``title_reference``, ``abbreviation``, ``acronym``.
2202   - Made substitutions case-sensitive-but-forgiving; moved some code
2203     from the parser.
2204   - Fixed Unicode bug on element attributes (report: William Dode).
2206 * docutils/optik.py: Removed from project; replaced with
2207   extras/optparse.py and extras/textwrap.py.  These will be installed
2208   only if they're not already present in the Python installation.
2210 * docutils/roman.py: Moved to extras/roman.py; this will be installed
2211   only if it's not already present in the Python installation.
2213 * docutils/statemachine.py:
2215   - Factored out ``State.add_initial_transitions()`` so it can be
2216     extended.
2217   - Converted whitespace-specific "blank" and "indent" transitions
2218     from special-case code to ordinary transitions: removed
2219     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
2220     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
2221     ``ws_initial_transitions`` attributes.
2222   - Removed ``State.match_transition()`` after merging it into
2223     ``.check_line()``.
2224   - Added ``StateCorrection`` exception.
2225   - Added support for ``StateCorrection`` in ``StateMachine.run()``
2226     (moved ``TransitionCorrection`` support there too.)
2227   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
2228     ``EOFError`` instead of ``IndexError``.
2229   - Added ``State.no_match`` method.
2230   - Added support for the Observer pattern, triggered by input line
2231     changes.
2232   - Added ``strip_top`` parameter to
2233     ``StateMachineWS.get_first_known_indented``.
2234   - Made ``context`` a parameter to ``StateMachine.run()``.
2235   - Added ``ViewList`` & ``StringList`` classes;
2236     ``extract_indented()`` becomes ``StringList.get_indented()``.
2237   - Added ``StateMachine.insert_input()``.
2238   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
2239     thanks to) Fred Drake.
2241 * docutils/utils.py:
2243   - Added a ``source`` attribute to Reporter instances and
2244     ``system_message`` elements.
2245   - Added an observer pattern to ``utils.Reporter`` to keep track of
2246     system messages.
2247   - Fixed bugs in ``relative_path()``.
2248   - Added support for improved diagnostics.
2249   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
2250   - Added support for encoding Reporter stderr output, and encoding
2251     error handlers.
2252   - Reporter keeps track of the highest level system message yet
2253     generated.
2255 * docutils/languages: Fixed bibliographic field language lookups.
2257 * docutils/languages/es.py: Added to project; Spanish mappings by
2258   Marcelo Huerta San Martin.
2260 * docutils/languages/fr.py: Added to project; French mappings by
2261   Stefane Fermigier.
2263 * docutils/languages/it.py: Added to project; Italian mappings by
2264   Nicola Larosa.
2266 * docutils/languages/sk.py: Added to project; Slovak mappings by
2267   Miroslav Vasko.
2269 * docutils/parser/__init__.py:
2271   - Added ``Parser.finish_parse()`` method.
2273 * docutils/parser/rst/__init__.py:
2275   - Added options: "--pep-references", "--rfc-references",
2276     "--tab-width", "--trim-footnote-reference-space".
2278 * docutils/parsers/rst/states.py:
2280   - Changed "title under/overline too short" system messages from INFO
2281     to WARNING, and fixed its insertion location.
2282   - Fixed enumerated list item parsing to allow paragraphs & section
2283     titles to begin with enumerators.
2284   - Converted system messages to use the new "line" attribute.
2285   - Fixed a substitution reference edge case.
2286   - Added support for "--pep-references" and "--rfc-references"
2287     options; reworked ``Inliner`` code to make customization easier.
2288   - Removed field argument parsing.
2289   - Added support for short section title over/underlines.
2290   - Fixed "simple reference name" regexp to ignore text like
2291     "object.__method__"; not an anonymous reference.
2292   - Added support for improved diagnostics.
2293   - Reworked directive API, based on Dethe Elza's contribution.  Added
2294     ``Body.parse_directive()``, ``.parse_directive_options()``,
2295     ``.parse_directive_arguments()`` methods.
2296   - Added ``ExtensionOptions`` class, to parse directive options
2297     without parsing field bodies.  Factored
2298     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
2299     ``ExtensionOptions``.
2300   - Improved definition list term/classifier parsing.
2301   - Added warnings for unknown directives.
2302   - Renamed ``Stuff`` to ``Struct``.
2303   - Now flagged as errors: transitions at the beginning or end of
2304     sections, empty sections (except title), and empty documents.
2305   - Updated for ``statemachine.StringList``.
2306   - Enabled recognition of schemeless email addresses in targets.
2307   - Added support for embedded URIs in hyperlink references.
2308   - Added backslash-escapes to inline markup end-string suffix.
2309   - Added support for correct interpreted text processing.
2310   - Fixed nested title parsing (topic, sidebar directives).
2311   - Added special processing of backslash-escaped whitespace (idea
2312     from David Abrahams).
2313   - Made substitutions case-sensitive-but-forgiving; moved some code
2314     to ``docutils.nodes``.
2315   - Added support for block quote attributions.
2316   - Added a kludge to work-around a conflict between the bubble-up
2317     parser strategy and short titles (<= 3 char-long over- &
2318     underlines).  Fixes SF bug #738803 "infinite loop with multiple
2319     titles" submitted by Jason Diamond.
2320   - Added explicit interpreted text roles for standard inline markup:
2321     "emphasis", "strong", "literal".
2322   - Implemented "superscript" and "subscript" interpreted text roles.
2323   - Added initial support for "abbreviation" and "acronym" roles;
2324     incomplete.
2325   - Added support for "--trim-footnote-reference-space" option.
2326   - Optional space before colons in directives & hyperlink targets.
2328 * docutils/parsers/rst/tableparser.py:
2330   - Fixed a bug that was producing unwanted empty rows in "simple"
2331     tables.
2332   - Detect bad column spans in "simple" tables.
2334 * docutils/parsers/rst/directives: Updated all directive functions to
2335   new API.
2337 * docutils/parsers/rst/directives/__init__.py:
2339   - Added ``flag()``, ``unchanged()``, ``path()``,
2340     ``nonnegative_int()``, ``choice()``, and ``class_option()``
2341     directive option helper functions.
2342   - Added warnings for unknown directives.
2343   - Return ``None`` for missing directives.
2344   - Added ``register_directive()``, thanks to William Dode and Paul
2345     Moore.
2347 * docutils/parsers/rst/directives/admonitions.py:
2349   - Added "admonition" directive.
2351 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
2352   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2353   "parsed-literal", "rubric", "epigraph", "highlights" and
2354   "pull-quote" directives.
2356 * docutils/parsers/rst/directives/images.py:
2358   - Added an "align" attribute to the "image" & "figure" directives
2359     (by Adam Chodorowski).
2360   - Added "class" option to "image", and "figclass" to "figure".
2362 * docutils/parsers/rst/directives/misc.py:
2364   - Added "include", "raw", and "replace" directives, courtesy of
2365     Dethe Elza.
2366   - Added "unicode" and "class" directives.
2368 * docutils/parsers/rst/directives/parts.py:
2370   - Added the "sectnum" directive; by Dmitry Jemerov.
2371   - Added "class" option to "contents" directive.
2373 * docutils/parsers/rst/directives/references.py: Added to project.
2374   Contains the "target-notes" directive.
2376 * docutils/parsers/rst/languages/__init__.py:
2378   - Return ``None`` from get_language() for missing language modules.
2380 * docutils/parsers/rst/languages/de.py: Added to project; German
2381   mappings by Engelbert Gruber.
2383 * docutils/parsers/rst/languages/en.py:
2385   - Added interpreted text roles mapping.
2387 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2388   mappings by Marcelo Huerta San Martin.
2390 * docutils/parsers/rst/languages/fr.py: Added to project; French
2391   mappings by William Dode.
2393 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2394   mappings by Nicola Larosa.
2396 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2397   mappings by Miroslav Vasko.
2399 * docutils/readers/__init__.py:
2401   - Added support for the observer pattern from ``utils.Reporter``, in
2402     ``Reader.parse`` and ``Reader.transform``.
2403   - Removed ``Reader.transform()`` method.
2404   - Added default parameter values to ``Reader.__init__()`` to make
2405     instantiation easier.
2406   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2408 * docutils/readers/pep.py:
2410   - Added the ``peps.TargetNotes`` transform to the Reader.
2411   - Removed PEP & RFC reference detection code; moved to
2412     parsers/rst/states.py as options (enabled here by default).
2413   - Added support for pre-acceptance PEPs (no PEP number yet).
2414   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2415     easy subclassing.
2417 * docutils/readers/python: Python Source Reader subpackage added to
2418   project, including preliminary versions of:
2420   - __init__.py
2421   - moduleparser.py: Parser for Python modules.
2423 * docutils/transforms/__init__.py:
2425   - Added ``Transformer`` class and completed transform reform.
2426   - Added unknown_reference_resolvers list for each transformer. This list holds
2427     the list of functions provided by each component of the transformer that
2428     help resolve references.
2430 * docutils/transforms/frontmatter.py:
2432   - Improved support for generic fields.
2433   - Fixed bibliographic field language lookups.
2435 * docutils/transforms/misc.py: Added to project.  Miscellaneous
2436   transforms.
2438 * docutils/transforms/parts.py:
2440   - Moved the "id" attribute from TOC list items to the references
2441     (``Contents.build_contents()``).
2442   - Added the ``SectNum`` transform; by Dmitry Jemerov.
2443   - Added "class" attribute support to ``Contents``.
2445 * docutils/transforms/peps.py:
2447   - Added ``mask_email()`` function, updating to pep2html.py's
2448     functionality.
2449   - Linked "Content-Type: text/x-rst" to PEP 12.
2450   - Added the ``TargetNotes`` PEP-specific transform.
2451   - Added ``TargetNotes.cleanup_callback``.
2452   - Added title check to ``Headers``.
2454 * docutils/transforms/references.py:
2456   - Added the ``TargetNotes`` generic transform.
2457   - Split ``Hyperlinks`` into multiple transforms.
2458   - Fixed bug with multiply-indirect references (report: Bruce Smith).
2459   - Added check for circular indirect references.
2460   - Made substitutions case-sensitive-but-forgiving.
2462 * docutils/transforms/universal.py:
2464   - Added support for the "--expose-internal-attributes" option.
2465   - Removed ``Pending`` transform classes & data.
2467 * docutils/writers/__init__.py:
2469   - Removed ``Writer.transform()`` method.
2471 * docutils/writers/docutils-xml.py:
2473   - Added XML and doctype declarations.
2474   - Added "--no-doctype" and "--no-xml-declaration" options.
2476 * docutils/writers/html4css1.py:
2478   - "name" attributes only on these tags: a, applet, form, frame,
2479     iframe, img, map.
2480   - Added "name" attribute to <a> in section titles for Netscape 4
2481     support (bug report: Pearu Peterson).
2482   - Fixed targets (names) on footnote, citation, topic title,
2483     problematic, and system_message nodes (for Netscape 4).
2484   - Changed field names from "<td>" to "<th>".
2485   - Added "@" to "&#64;" encoding to thwart address harvesters.
2486   - Improved the vertical whitespace optimization; ignore "invisible"
2487     nodes (targets, comments, etc.).
2488   - Improved inline literals with ``<span class="pre">`` around chunks
2489     of text and ``&nbsp;`` for runs of spaces.
2490   - Improved modularity of output; added ``self.body_pre_docinfo`` and
2491     ``self.docinfo`` segments.
2492   - Added support for "line_block", "address" elements.
2493   - Improved backlinks (footnotes & system_messages).
2494   - Improved system_message output.
2495   - Redefined "--stylesheet" as containing an invariant URL, used
2496     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
2497     working directory.
2498   - Added "--footnote-references" option (superscript or brackets).
2499   - Added "--compact-lists" and "--no-compact-lists" options.
2500   - Added "--embed-stylesheet" and "--link-stylesheet" options;
2501     factored out ``HTMLTranslator.get_stylesheet_reference()``.
2502   - Improved field list rendering.
2503   - Added Docutils version to "generator" meta tag.
2504   - Fixed a bug with images; they must be inline, so wrapped in <p>.
2505   - Improved layout of <pre> HTML source.
2506   - Fixed attribute typo on <colspec>.
2507   - Refined XML prologue.
2508   - Support for no stylesheet.
2509   - Removed "interpreted" element support.
2510   - Added support for "title_reference", "sidebar", "attribution",
2511     "rubric", and generic "admonition" elements.
2512   - Added "--attribution" option.
2513   - Added support for "inline", "subscript", "superscript" elements.
2514   - Added initial support for "abbreviation" and "acronym";
2515     incomplete.
2517 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2518   (from the sandbox).
2520   - Added french.
2521   - Double quotes in literal blocks (special treatment for de/ngerman).
2522   - Added '--hyperlink-color' option ('0' turns off coloring of links).
2523   - Added  "--attribution" option.
2524   - Right align attributions.
2526 * docutils/writers/pep_html.py:
2528   - Parameterized output encoding in PEP template.
2529   - Reworked substitutions from ``locals()`` into ``subs`` dict.
2530   - Redefined "--pep-stylesheet" as containing an invariant URL, used
2531     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
2532     working directory.
2533   - Added an override on the "--footnote-references" option.
2534   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2535   - Added Docutils version to "generator" meta tag.
2536   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2538 * docs/tools.txt:
2540   - Added a "silent" setting for ``buildhtml.py``.
2541   - Added a "Getting Help" section.
2542   - Rearranged the structure.
2543   - Kept up to date, with new settings, command-line options etc.
2544   - Added section for ``rst2latex.py`` (Engelbert Gruber).
2545   - Converted settings table into a definition list.
2547 * docs/rst/quickstart.txt:
2549   - Added a table of contents.
2550   - Added feedback information.
2551   - Added mention of minimum section title underline lengths.
2552   - Removed the 4-character minimum for section title underlines.
2554 * docs/rst/quickref.html:
2556   - Added a "Getting Help" section.
2557   - Added a style to make section title backlinks more subtle.
2558   - Added mention of minimum section title underline lengths.
2559   - Removed the 4-character minimum for section title underlines.
2561 * extras: Directory added to project; contains third-party modules
2562   that Docutils depends on (optparse, textwrap, roman).  These are
2563   only installed if they're not already present.
2565 * licenses: Directory added to project; contains copies of license
2566   files for non-public-domain files.
2568 * spec/doctree.txt:
2570   - Changed the focus.  It's about DTD elements:  structural
2571     relationships, semantics, and external (public) attributes.  Not
2572     about the element class library.
2573   - Moved some implementation-specific stuff into ``docutils.nodes``
2574     docstrings.
2575   - Wrote descriptions of all common attributes and parameter
2576     entities.  Filled in introductory material.
2577   - Working through the element descriptions: 55 down, 37 to go.
2578   - Removed "Representation of Horizontal Rules" to
2579     spec/rst/alternatives.txt.
2581 * spec/docutils.dtd:
2583   - Added "generated" inline element.
2584   - Added "line_block" body element.
2585   - Added "auto" attribute to "title".
2586   - Changed content models of "literal_block" and "doctest_block" to
2587     ``%text.model``.
2588   - Added ``%number;`` attribute type parameter entity.
2589   - Changed ``%structural.elements;`` to ``%section.elements``.
2590   - Updated attribute types; made more specific.
2591   - Added "address" bibliographic element.
2592   - Added "line" attribute to ``system_message`` element.
2593   - Removed "field_argument" element; "field_name" may contain
2594     multiple words and whitespace.
2595   - Changed public identifier to docutils.sf.net.
2596   - Removed "interpreted" element; added "title_reference",
2597     "abbreviation", "acronym".
2598   - Removed "refuri" attribute from "footnote_reference" and
2599     "citation_reference".
2600   - Added "sidebar", "rubric", "attribution", "admonition",
2601     "superscript", "subscript", and "inline" elements.
2603 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2605 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2607 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2609 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2610   Dallas Mahrt.
2612 * spec/transforms.txt: Added to project.
2614 * spec/howto: Added subdirectory, for developer how-to docs.
2616 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
2617   Elza, edited & extended by David Goodger.
2619 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
2620   project.
2622 * spec/rst/alternatives.txt:
2624   - Added "Doctree Representation of Transitions" from
2625     spec/doctree.txt.
2626   - Updated "Inline External Targets" & closed the debate.
2627   - Added ideas for interpreted text syntax extensions.
2628   - Added "Nested Inline Markup" section.
2630 * spec/rst/directives.txt:
2632   - Added directives: "topic", "sectnum", "target-notes",
2633     "line-block", "parsed-literal", "include", "replace", "sidebar",
2634     "admonition", "rubric", "epigraph", "highlights", "unicode" and
2635     "class".
2636   - Formalized descriptions of directive details.
2637   - Added an "align" attribute to the "image" & "figure" directives
2638     (by Adam Chodorowski).
2639   - Added "class" options to "topic", "sidebar", "line-block",
2640     "parsed-literal", "contents", and "image"; and "figclass" to
2641     "figure".
2643 * spec/rst/interpreted.txt: Added to project.  Descriptions of
2644   interpreted text roles.
2646 * spec/rst/introduction.txt:
2648   - Added pointers to material for new users.
2650 * spec/rst/reStructuredText.txt:
2652   - Disambiguated comments (just add a newline after the "::").
2653   - Updated enumerated list description; added a discussion of the
2654     second-line validity checking.
2655   - Updated directive description.
2656   - Added a note redirecting newbies to the user docs.
2657   - Expanded description of inline markup start-strings in non-markup
2658     contexts.
2659   - Removed field arguments and made field lists a generic construct.
2660   - Removed the 4-character minimum for section title underlines.
2661   - Clarified term/classifier delimiter & inline markup ambiguity
2662     (definition lists).
2663   - Added "Embedded URIs".
2664   - Updated "Interpreted Text" section.
2665   - Added "Character-Level Inline Markup" section.
2667 * test: Continually adding & updating tests.
2669   - Moved test/test_rst/ to test/test_parsers/test_rst/.
2670   - Moved test/test_pep/ to test/test_readers/test_pep/.
2671   - Added test/test_readers/test_python/.
2672   - Added test/test_writers/ (Engelbert Gruber).
2674 * tools:
2676   - Made the ``locale.setlocale()`` calls in front ends
2677     fault-tolerant.
2679 * tools/buildhtml.py:
2681   - Added "--silent" option.
2682   - Fixed bug with absolute paths & "--config".
2683   - Updated for new I/O classes.
2684   - Added some exception handling.
2685   - Separated publishers' setting defaults; prevents interference.
2686   - Updated for new ``publish_file()`` convenience function.
2688 * tools/pep-html-template:
2690   - Allow for "--embed-stylesheet".
2691   - Added Docutils version to "generator" meta tag.
2692   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2693   - Conform to XHTML spec.
2695 * tools/pep2html.py:
2697   - Made ``argv`` a parameter to ``main()``.
2698   - Added support for "Content-Type:" header & arbitrary PEP formats.
2699   - Linked "Content-Type: text/plain" to PEP 9.
2700   - Files skipped (due to an error) are not pushed onto the server.
2701   - Updated for new I/O classes.
2702   - Added ``check_requirements()`` & ``pep_type_error()``.
2703   - Added some exception handling.
2704   - Updated for new ``publish_string()`` convenience function.
2705   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2707 * tools/quicktest.py:
2709   - Added "-V"/"--version" option.
2711 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2713 * tools/unicode2rstsubs.py: Added to project.  Produces character
2714   entity files (reSructuredText substitutions) from the MathML master
2715   unicode.xml file.
2717 * tools/editors: Support code for editors, added to project.  Contains
2718   ``emacs/restructuredtext.el``.
2720 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2722   - Added style for chunks of inline literals.
2723   - Removed margin for first child of table cells.
2724   - Right-aligned field list names.
2725   - Support for auto-numbered section titles in TOCs.
2726   - Increased the size of inline literals (<tt>) in titles.
2727   - Restored the light gray background for inline literals.
2728   - Added support for "line_block" elements.
2729   - Added style for "address" elements.
2730   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2731   - Improved field list rendering.
2732   - Vertical whitespace improvements.
2733   - Removed "a.target" style.
2735 * tools/stylesheets/pep.css:
2737   - Fixed nested section margins.
2738   - Other changes parallel those of ``../default.css``.
2741 Release 0.2 (2002-07-31)
2742 ========================
2744 General:
2746 - The word "component" was being used ambiguously.  From now on,
2747   "component" will be used to mean "Docutils component", as in Reader,
2748   Writer, Parser, or Transform.  Portions of documents (Table of
2749   Contents, sections, etc.)  will be called "document parts".
2750 - Did a grand renaming: a lot of ``verylongnames`` became
2751   ``very_long_names``.
2752 - Cleaned up imports: no more relative package imports or
2753   comma-separated lists of top-level modules.
2754 - Added support for an option values object which carries default
2755   settings and overrides (from command-line options and library use).
2756 - Added internal Unicode support, and support for both input and
2757   output encodings.
2758 - Added support for the ``docutils.io.IO`` class & subclasses.
2760 Specific:
2762 * docutils/__init__.py:
2764   - Added ``ApplicationError`` and ``DataError``, for use throughout
2765     the package.
2766   - Added ``Component`` base class for Docutils components; implements
2767     the ``supports`` method.
2768   - Added ``__version__`` (thus, ``docutils.__version__``).
2770 * docutils/core.py:
2772   - Removed many keyword parameters to ``Publisher.__init__()`` and
2773     ``publish()``; bundled into an option values object.  Added
2774     "argv", "usage", "description", and "option_spec" parameters for
2775     command-line support.
2776   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2777     methods.
2778   - Reworked I/O model for ``docutils.io`` wrappers.
2779   - Updated ``Publisher.set_options()``; now returns option values
2780     object.
2781   - Added support for configuration files (/etc/docutils.conf,
2782     ./docutils.conf, ~/.docutils).
2783   - Added ``Publisher.setup_option_parser()``.
2784   - Added default usage message and description.
2786 * docutils/frontend.py: Added to project; support for front-end
2787   (command-line) scripts.  Option specifications may be augmented by
2788   components.  Requires Optik (http://optik.sf.net/) for option
2789   processing (installed locally as docutils/optik.py).
2791 * docutils/io.py: Added to project; uniform API for a variety of input
2792   output mechanisms.
2794 * docutils/nodes.py:
2796   - Added ``TreeCopyVisitor`` class.
2797   - Added a ``copy`` method to ``Node`` and subclasses.
2798   - Added a ``SkipDeparture`` exception for visitors.
2799   - Renamed ``TreePruningException`` from ``VisitorException``.
2800   - Added docstrings to ``TreePruningException``, subclasses, and
2801     ``Nodes.walk()``.
2802   - Improved docstrings.
2803   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2804   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2805     imports.
2806   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2807     ``PreDecorative`` mixin.
2808   - Reworked the name/id bookkeeping; to ``document``, removed
2809     ``explicit_targets`` and ``implicit_targets`` attributes, added
2810     ``nametypes`` attribute and ``set_name_id_map`` method.
2811   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2812     traversals.
2813   - Added ``document.has_name()`` method.
2814   - Fixed DOM generation for list-attributes.
2815   - Added category class ``Labeled`` (used by footnotes & citations).
2816   - Added ``Element.set_class()`` method (sets "class" attribute).
2818 * docutils/optik.py: Added to project.  Combined from the Optik
2819   package, with added option groups and other modifications.  The use
2820   of this module is probably only temporary.
2822 * docutils/statemachine.py:
2824   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2825   - Added underscores to improve many awkward names.
2826   - In ``string2lines()``, changed whitespace normalizing translation
2827     table to regexp; restores Python 2.0 compatibility with Unicode.
2829 * docutils/urischemes.py:
2831   - Filled in some descriptions.
2832   - Added "shttp" scheme.
2834 * docutils/utils.py:
2836   - Added ``clean_rcs_keywords`` function (moved from
2837     docutils/transforms/frontmatter.py
2838     ``DocInfo.filter_rcs_keywords``).
2839   - Added underscores to improve many awkward names.
2840   - Changed names of Reporter's thresholds:
2841     warning_level -> report_level; error_level -> halt_level.
2842   - Moved ``utils.id()`` to ``nodes.make_id()``.
2843   - Added ``relative_path(source, target)``.
2845 * docutils/languages/de.py: German mappings; added to project.  Thanks
2846   to Gunnar Schwant for the translations.
2848 * docutils/languages/en.py: Added "Dedication" bibliographic field
2849   mappings.
2851 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2852   Chodorowski.
2854 * docutils/parsers/rst/states.py:
2856   - Added underscores to improve many awkward names.
2857   - Added RFC-2822 header support.
2858   - Extracted the inline parsing code from ``RSTState`` to a separate
2859     class, ``Inliner``, which will allow easy subclassing.
2860   - Made local bindings for ``memo`` container & often-used contents
2861     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2862   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2863   - Added ``MarkupMismatch`` exception; for late corrections.
2864   - Added ``-/:`` characters to inline markup's start string prefix,
2865     ``/`` to end string suffix.
2866   - Fixed a footnote bug.
2867   - Fixed a bug with literal blocks.
2868   - Applied patch from Simon Budig: simplified regexps with symbolic
2869     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2870   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2871   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2872   - Allowed non-ASCII in "simple names" (directive names, field names,
2873     references, etc.).
2874   - Converted ``Inliner.patterns.initial`` to be dynamically built
2875     from parts with ``build_regexp()`` function.
2876   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2877   - Updated docstrings.
2878   - Changed "table" to "grid_table"; added "simple_table" support.
2880 * docutils/parsers/rst/tableparser.py:
2882   - Changed ``TableParser`` to ``GridTableParser``.
2883   - Added ``SimpleTableParser``.
2884   - Refactored naming.
2886 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2887   a fallback language for directive names.
2889 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2890   directive to use a ``pending`` element, used only by HTML writers.
2892 * docutils/parsers/rst/directives/parts.py: Renamed from
2893   components.py.
2895   - Added "backlinks" attribute to "contents" directive.
2897 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2898   project by Adam Chodorowski.
2900 * docutils/readers/__init__.py: Gave Readers more control over
2901   choosing and instantiating Parsers.
2903 * docutils/readers/pep.py: Added to project; for PEP processing.
2905 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2906   requires a ``component`` parameter.
2908 * docutils/transforms/components.py: Added to project; transforms
2909   related to Docutils components.
2911 * docutils/transforms/frontmatter.py:
2913   - In ``DocInfo.extract_authors``, check for a single "author" in an
2914     "authors" group, and convert it to a single "author" element.
2915   - Added support for "Dedication" and generic bibliographic fields.
2917 * docutils/transforms/peps.py: Added to project; PEP-specific.
2919 * docutils/transforms/parts.py: Renamed from old components.py.
2921   - Added filter for `Contents`, to use alt-text for inline images,
2922     and to remove inline markup that doesn't make sense in the ToC.
2923   - Added "name" attribute to TOC topic depending on its title.
2924   - Added support for optional TOC backlinks.
2926 * docutils/transforms/references.py: Fixed indirect target resolution
2927   in ``Hyperlinks`` transform.
2929 * docutils/transforms/universal.py:
2931   - Changed ``Messages`` transform to properly filter out system
2932     messages below the warning threshold.
2933   - Added ``Decorations`` transform (support for ``--generator``,
2934     ``--date``, ``--time``, ``--source-link`` options).
2936 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2937   Engelbert Gruber's PDF writer.
2939 * docutils/writers/html4css1.py:
2941   - Made XHTML-compatible (switched to lowercase element & attribute
2942     names; empty tag format).
2943   - Escape double-dashes in comment text.
2944   - Improved boilerplate & modularity of output.
2945   - Exposed modular output in Writer class.
2946   - Added a "generator" meta tag to <head>.
2947   - Added support for the ``--stylesheet`` option.
2948   - Added support for ``decoration``, ``header``, and ``footer``
2949     elements.
2950   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2951     translation table to regexp; restores Python 2.0 compatibility
2952     with Unicode.
2953   - Added the translator class as instance variable to the Writer, to
2954     make it easily subclassable.
2955   - Improved option list spacing (thanks to Richard Jones).
2956   - Modified field list output.
2957   - Added backlinks to footnotes & citations.
2958   - Added percentage widths to "<col>" tags (from colspec).
2959   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2960     "<span>" changed to "<var>".
2961   - Inline literals: "<code>" changed to "<tt>".
2962   - Many changes to optimize vertical space: compact simple lists etc.
2963   - Add a command-line options & directive attributes to control TOC
2964     and footnote/citation backlinks.
2965   - Added support for optional footnote/citation backlinks.
2966   - Added support for generic bibliographic fields.
2967   - Identify backrefs.
2968   - Relative URLs for stylesheet links.
2970 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2971   PEPs (subclass of ``html4css1.Writer``).
2973 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2975 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2976   of the Docutils internal doctree in XML.
2978 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2980 * spec/doctree.txt:
2982   - Changed the title to "The Docutils Document Tree".
2983   - Added "Hyperlink Bookkeeping" section.
2985 * spec/docutils.dtd:
2987   - Added ``decoration``, ``header``, and ``footer`` elements.
2988   - Brought ``interpreted`` element in line with the parser: changed
2989     attribute "type" to "role", added "position".
2990   - Added support for generic bibliographic fields.
2992 * spec/notes.txt: Continual updates.  Added "Project Policies".
2994 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
2995   section.
2997 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2999 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
3000   mailing list discussions.
3002 * spec/pep-0287.txt:
3004   - Renamed to "reStructuredText Docstring Format".
3005   - Minor edits.
3006   - Reworked Q&A as an enumerated list.
3007   - Converted to reStructuredText format.
3009 * spec/pysource.dtd:
3011   - Reworked structural elements, incorporating ideas from Tony Ibbs.
3013 * spec/pysource.txt: Removed from project.  Moved much of its contents
3014   to pep-0258.txt.
3016 * spec/rst/alternatives.txt:
3018   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
3019   - Added "Inline External Targets" section.
3021 * spec/rst/directives.txt:
3023   - Added "backlinks" attribute to "contents" directive.
3025 * spec/rst/problems.txt:
3027   - Updated the Enumerated List Markup discussion.
3028   - Added new alternative table markup syntaxes.
3030 * spec/rst/reStructuredText.txt:
3032   - Clarified field list usage.
3033   - Updated enumerated list description.
3034   - Clarified purpose of directives.
3035   - Added ``-/:`` characters to inline markup's start string prefix,
3036     ``/`` to end string suffix.
3037   - Updated "Authors" bibliographic field behavior.
3038   - Changed "inline hyperlink targets" to "inline internal targets".
3039   - Added "simple table" syntax to supplement the existing but
3040     newly-renamed "grid tables".
3041   - Added cautions for anonymous hyperlink use.
3042   - Added "Dedication" and generic bibliographic fields.
3044 * test: Made test modules standalone (subdirectories became packages).
3046 * test/DocutilsTestSupport.py:
3048   - Added support for PEP extensions to reStructuredText.
3049   - Added support for simple tables.
3050   - Refactored naming.
3052 * test/package_unittest.py: Renamed from UnitTestFolder.py.
3054   - Now supports true packages containing test modules
3055     (``__init__.py`` files required); fixes duplicate module name bug.
3057 * test/test_pep/: Subpackage added to project; PEP testing.
3059 * test/test_rst/test_SimpleTableParser.py: Added to project.
3061 * tools:
3063   - Updated html.py and publish.py front-end tools to use the new
3064     command-line processing facilities of ``docutils.frontend``
3065     (exposed in ``docutils.core.Publisher``), reducing each to just a
3066     few lines of code.
3067   - Added ``locale.setlocale()`` calls to front-end tools.
3069 * tools/buildhtml.py: Added to project; batch-generates .html from all
3070   the .txt files in directories and subdirectories.
3072 * tools/default.css:
3074   - Added support for ``header`` and ``footer`` elements.
3075   - Added styles for "Dedication" topics (biblio fields).
3077 * tools/docutils.conf: A configuration file; added to project.
3079 * tools/docutils-xml.py: Added to project.
3081 * tools/pep.py: Added to project; PEP to HTML front-end tool.
3083 * tools/pep-html-template: Added to project.
3085 * tools/pep2html.py: Added to project from Python (nondist/peps).
3086   Added support for Docutils (reStructuredText PEPs).
3088 * tools/quicktest.py:
3090   - Added the ``--attributes`` option, hacked a bit.
3091   - Added a second command-line argument (output file); cleaned up.
3093 * tools/stylesheets/: Subdirectory added to project.
3095 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
3098 Release 0.1 (2002-04-20)
3099 ========================
3101 This is the first release of Docutils, merged from the now inactive
3102 reStructuredText__ and `Docstring Processing System`__ projects.  For
3103 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
3104 `DPS HISTORY`__ files.
3106 __ http://structuredtext.sourceforge.net/
3107 __ http://docstring.sourceforge.net/
3108 __ http://structuredtext.sourceforge.net/HISTORY.html
3109 __ http://docstring.sourceforge.net/HISTORY.html
3111 General changes: renamed 'dps' package to 'docutils'; renamed
3112 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
3113 the test suites (reStructuredText's test/test_states renamed to
3114 test/test_rst); and all modifications required to make it all work.
3116 * docutils/parsers/rst/states.py:
3118   - Improved diagnostic system messages for missing blank lines.
3119   - Fixed substitution_reference bug.
3123    Local Variables:
3124    mode: indented-text
3125    indent-tabs-mode: nil
3126    sentence-end-double-space: t
3127    fill-column: 70
3128    End: