math update
[docutils.git] / HISTORY.txt
blob59489e4f41347c37361062af4501e8cf7152570d
1 .. -*- coding: utf-8 -*-
3 ==================
4  Docutils History
5 ==================
7 :Author: David Goodger; open to all Docutils developers
8 :Contact: goodger@python.org
9 :Date: $Date$
10 :Revision: $Revision$
11 :Web site: http://docutils.sourceforge.net/
12 :Copyright: This document has been placed in the public domain.
14 .. contents::
17 Changes Since 0.7
18 =================
20 * General:
22   - Handle language codes according to `BCP 47`_.
23   - If the specified language is not supported by Docutils,
24     warn and fall back to English.
25   - Math support: reStructuredText "math" role and directive,
26     ``math`` and ``math_block`` doctree elements.
27   - Decode command line arguments with the locale's preferred encoding
28     (to allow, e.g., ``--title=Dornröschen``).
29   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
30   - New sub-module `error_reporting`: handle encoding/decoding errors
31     when reporting exceptions.
32   - Some additions to the Docutils core are released under the 2-Clause BSD
33     license, see COPYING_ for details.
35   .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
36   .. _COPYING: COPYING.html
37   
38 * docs/dev/policies.txt:
40   - Recommend the 2-Clause BSD license
41     (http://www.spdx.org/licenses/BSD-2-Clause)
42     for code that is kept under the author's copyright.
44 * tools/buildhtml.py:
46   - Fix ``--local`` switch.
48 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
50 * docutils/writers/html4css1/__init__.py
52   - Set "lang" argument for objects with class argument
53     "language-<language tag>".
54   - New setting "math-output" with support for HTML, MathML, and LaTeX.
56 * docutils/writers/latex2e/__init__.py
58   - Fix [ 3043986 ] AttributeError using :local: with table of content.
59   - Place title data in the document preamble.
60   - Load `babel` package only if required.
61   - Update list of supported languages.
62   - New config setting "hyperref-options".
63     No hard-coded "unicode" hyperref option (clash with xetex).
64   - Set language for custom roles, paragraphs, block-quotes, and
65     line-quotes with class argument "language-<language tag>".
66   - Fix [ 3095603 ] wrong quotes output for russian and other languages.
67   - Convert image URI to a local file path.
68   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
69     has more than one paragraph (Wolfgang Scherer).
70   - \leavevmode before longtable only when needed (prevents spurious vspace)
71   - do not advance table counter for tables without caption
73 * docutils/writers/xetex/__init__.py
75   - New writer generating LaTeX code for compiling with ``xelatex``.
77     A separate writer (inheriting from latex2e) instead of a ``--xetex``
78     option allows separate config options for XeTeX vs. LaTeX2e.
80 * docutils/writers/manpage.py
82   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
83   - Fix: vertical space cleaning for option group ``.``.
85 * tools/editors/emacs/rst.el:
87   - Fix [ 3001100 ] does not handle spaces in filenames
88     (thanks to Jakub Wilk)
90 * docutils/utils.py:
92   - strip whitespace from stylesheet arguments
93   - exclude combining chars from column_width
94     (partial fix for [ 2926161 ])
96 * docutils/parsers/rst/directives/misc.py:
98   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
99     nested_parse
101 Release 0.7 (2010-07-07)
102 ========================
104 * General:
106   - Fix [ 2881769 ] setup configuration.
107   - Fix [ 2788716 ] reporting problems in included files.
109 * docutils/io.py
111   - FileInput opens files as text files with universal newline support
112     (mode "rU", configurable with the new optional argument "mode").
114 * docutils/nodes.py
116   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
118 * docutils/utils.py
120   - Fix [ 2923723 ] let decode_path() tolerate path == None
122 * docutils/writers/html4css1/__init__.py
124   - Support SVG and SWF images (thanks to Stefan Rank).
125   - Generate valid XHTML for centered images with targets.
126     Use CSS classes instead of "align" tags for image alignment.
128 * docutils/writers/latex2e/__init__.py
130   - Use `transforms.writer_aux.Admonitions` to "normalize" special
131     admonitions.
132   - Use the ``\url`` command for URLs (breaks long URLs instead of
133     writing into the margin).
134   - Preserve runs of spaces in `inline literals`__.
135   - Deprecate ``figure_footnotes`` setting.
136   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
137   - New ``latex_preamble`` setting.
138   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
139   - Fix hyperlink targets (labels) for images, figures, and tables.
140   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
141   - Apply [ 2961991 ] Call hyperref with unicode option.
142   - Drop the special `output_encoding`__ default ("latin-1").
143     The Docutils wide default (usually "UTF-8") is used instead.
144   - Render inline markup in document title and subtitle.
145   - Fix numbering depth with LaTeX section numbering.
146   - Update Unicode -> LaTeX translations.
147   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
149 __ docs/ref/restructuredtext.html#inline-literals
150 __ docs/user/config.html#docutils-footnotes
151 __ docs/user/config.html#output_encoding
153 * docutils/writers/manpage.py
155   - Fix: supported attribute (thanks to peter2108).
156   - Remove trailing blanks in code (keep in sync with mercurial version).
157   - Titles level 1, that is ``.SH``, always uppercase.
158   - Apply patch from mg: literal text should be bold in man-pages.
160 * docutils/nodes.py
162   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
163     turkish locale.
165 * setup.py:
167   - Python 3 support: copy test/ and tools/ to the build-dir
168     and convert Python sources with 2to3.
171 Release 0.6 (2009-10-11)
172 ========================
174 * General:
176   - Docutils is now compatible with Python versions from 2.3 up to 2.6
177     and convertible to 3.1 code.
179     + Node.__nonzero__ returns True instead of 1.
180     + use os.walk instead os.path.walk.
181     + minimize "types" module where possible.
182     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
183     + Text nodes now subclass unicode rather than UserString
184       (which is gone in python 3.0).
185     + 3.0 compatibility module docutils._compat
187     + Drop 2.2 compatibility workarounds.
188     + Drop extras/optparse.py and extras/textwrap.py
189       (stdlib modules since 2.3).
191   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
192   - Unix man page export: manpage writer moved from sandbox to Doctutils
193     core.
195   - Apply [ 1719345 ] Galician translation
196   - Apply [ 1905741 ] Polish translation
197   - Apply [ 1878977 ] make_id(): deaccent characters.
198   - Apply [ 2029251 ] return nonzero when tests fail.
199   - Fix [ 1692788 ] allow UTF-8 in style sheets.
200   - Fix [ 2781629 ] support non-ASCII chars in file names.
201   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
202   - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
203   - Fix [ 2821266 ] --strict option works now like --halt=info.
204   - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
205   - Fix [ 1627229 ] hyperlink references in substitutions.
207   - The "newlatex" writer is orphaned.
209 * reStructuredText:
211   - Documented Unicode characters allowed as inline markup openers,
212     closers, and delimiters.
213   - Allow units for all length specifications.
214   - Allow percent sign in "scale" argument of "figure" and "image" directives.
215   - Bugfix: The "figalign" argument of a figure now works as intended
216     (aligning the figure, not its contents).
217   - Align images with class "align-[right|center|left]"
218     (allows setting the alignment of an image in a figure).
220 * docutils/nodes.py:
222   - Added ``Element.__contains__`` method, for the in-operator.
224 * docutils/parsers/rst/states.py:
226   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
227   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
228     " " (non-breaking space), and "¡ ¿" openers.
230 * docutils/parsers/directives/misc.py:
232   - Added ``start-line`` and ``end-line`` options to "include"
233     directive to select a range of lines.
234   - Hard tabs in literal inclusions are replaced by spaces. This is
235     configurable via the new ``tab-width`` option of the "include" directive
236     (a negative tab-width prevents tab expansion).
238 * docutils/utils.py:
240   - Add ``get_stylesheet_list`` function.
241   - Apply [ 2834836 ] print info at halt
243 * docutils/transforms/universal.py:
245   - Raise default priority of StripClasses to exclude stripped classes from
246     the ToC.
248 * docutils/writers/html4css1/__init__.py:
250   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
251     separated list of stylesheets.
252   - Address [ 1938891 ] Inline literal text creates "pre" span only when
253     needed to prevent inter-word line wraps.
254   - Use `translate` method instead of repeated `replace` calls.
255   - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
256     classes to allow CSS styling that does not interfere with other
257     table-using constructs (field lists, citations, ...).
259 * docutils/writers/newlatex2e/__init__.py:
261   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
263 * docutils/writers/latex2e/__init__.py (see also
264   `<docs/user/docutils-05-compat.sty.html>`__) :
266   - Add ``--embed-stylesheet`` option.
267   - Apply [ 1474017 ] image vertical alignment is reversed.
268   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
269   - Change: has_key for dictionaries (not Nodes) to in-operator.
270   - Merge adjacent citations into one latex cite command.
271   - Failsave implementation of custom roles. LaTeX compilation now ignores
272     unknown classes instead of aborting with an error.
273   - Support custom roles based on standard roles.
274   - LaTeX packages can be used as ``--stylesheet`` arguments without
275     restriction. (A style sheet is now referenced with the ``\usepackage``
276     command, if it ends with ``.sty`` or has no extension.)
277   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
278   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
279   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
280     2005-02-04 as a configurable length unit).
281   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
282     if font-encoding is set to ''. LaTeX defaults to OT1 then.
283   - Set sub- and superscript role argument in text mode not as math.
284     Use a custom role based on sub-/superscript if you want italic shape.
285   - Shorter preamble and less dependencies: Load packages and define macros
286     only if required in the document.
287   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
288   - New custom environments and commands with optional "classes" argument.
289   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
290   - Better conformance to Docutils specifications with ``--use-latex-toc``.
291     Support for LaTeX generated ToC also with unnumbered sections.
292   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
293     section numbering by LaTeX.
294   - Use default font in admonitions and sidebar.
295   - Align of image in a figure defaults to 'center'.
296   - Bugfix: Newlines around targets and references prevent run-together
297     paragraphs.
298   - Fix internal hyperlinks.
299   - Use class defaults for page margins ('typearea' now optional).
300   - Float placement made configurable, default changed to "here definitely".
301   - Typeset generic topic as "quote block with title".
302   - Use template (file and configuration option).
303   - In the default template, load cmap.sty (fix text extraction in PDF) and
304     fixltx2e.sty (LaTeX patches, \textsubscript).
305   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
306   - Use `translate` instead of repeated `replace` calls for text encoding.
307   - Hyperlinked footnotes and support for symbol footnotes and
308     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
309   - Complete pairs of binary options
310     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
311     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
312   - New defaults:
313     - font-encoding: "T1" (formerly implicitely set by 'ae').
314     - use-latex-toc: true (ToC with page numbers).
315     - use-latex-footnotes: true (no mixup with figures).
317 * docutils/writers/manpage.py
319   - Do not print version at document end, this is done by the viewer.
320   - Do not print date at document end, this is done by the viewer.
321   - Fix storage of docinfo fields for none standard fields.
323 * docutils/tools/rst2man.py
325 Release 0.5 (2008-06-25)
326 ========================
328 * docutils/languages/he.py: Added to project: Hebrew mappings by
329   Meir Kriheli.
331 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
332   mappings by Meir Kriheli.
334 * docutils/frontend.py:
336   - Configuration files are now assumed and required to be
337     UTF-8-encoded.
338   - Paths of applied configuration files are now recorded in the
339     runtime setting ``_config_files`` (accessible via
340     ``--dump-settings``).
341   - Added ``--strip-elements-with-class`` and ``--strip-class``
342     options (``strip_elements_with_classes`` and ``strip_classes``
343     settings).
345 * docutils/io.py:
347   - Added code to determine the input encoding from data: encoding
348     declarations or the presence of byte order marks (UTF-8 & UTF-16).
349   - Added support for IronPython 1.0.
351 * docutils/nodes.py:
353   - Added ``document.__getstate__`` method, for pickling.
355 * docutils/parsers/rst/states.py:
357   - Allow ``+`` and ``:`` in reference names.
358   - Unquoted targets beginning with an underscore (``.. __target:
359     URI``) are no longer accepted.
360   - Added support for multiple attributions in a physical block quote
361     (indented text block), dividing it into multiple logical block
362     quotes.
363   - Added support for unicode bullets in bullet lists: "•", "‣", and
364     "⁃".
365   - Added support for new object-oriented directive interface,
366     retaining compatibility to the old functional interface.
367   - Added support for throwing ``DirectiveError``'s from within
368     directive code.
370 * docutils/parsers/rst/__init__.py:
372   - Added ``Directive`` base class.
373   - Added ``DirectiveError`` base class.
374   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
375     definitions.
377 * docutils/parsers/directives/:
379   - Refactored all reStructuredText directives to use the new
380     object-oriented directive interface.  Errors are now (mostly)
381     thrown using the new ``DirectiveError`` class.
383 * docutils/parsers/directives/misc.py:
385   - Added ``start-after`` and ``end-before`` options to ``include``
386     directive; thanks to Stefan Rank.
388 * docutils/transforms/universal.py:
390   - Added ``StripClassesAndElements`` transform to remove from the
391     document tree all elements with classes in
392     ``settings.strip_elements_with_classes`` and all "classes"
393     attribute values in ``self.document.settings.strip_classes``.
395 * docutils/transforms/writer_aux.py:
397   - Added ``Admonitions`` transform to transform specific admonitions
398     (like ``note``, ``warning``, etc.) into generic admonitions with a
399     localized title.
401 * docutils/writers/html4css1/__init__.py:
403   - Moved template functionality from the PEP/HTML writer here.
404   - Expanded the fragments available in the ``parts`` attribute.
405   - Moved ``id`` attributes from titles to surrounding ``div``
406     elements.
407   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
408     universally supported now).
409   - ``template.txt`` is now opened in text mode instead of binary mode
410     (to ensure Windows compatibility).
411   - ``a`` elements now have an "internal" or "external" class,
412     depending on reference type.
414 * docutils/writers/html4css1/template.txt: Added to project.
416 * docutils/writers/pep_html/:
418   - Moved template functionality to the HTML writer.
420 * docutils/writers/s5_html/__init__.py:
422   - Added ``view_mode`` & ``hidden_controls`` settings
423     (``--view-mode`` & ``--hidden-controls/--visible-controls``
424     options).
426 * docutils/writers/latex2e/__init__.py:
428   - Add ``--literal-block-env``
429   - Fix: escaping ``%`` in href urls.
430   - Move usepackage hyperref after stylesheet inclusion.
431   - Fix: scrartcl does not have chapter but scrreprt.
432   - Add newline after ``\end{verbatim}``.
433   - Merge smaller differences from latex2e_adaptive_preamble.
434   - Add ``use-part-section``.
435   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
436   - Using leavemode option_list no longer needs to check if parent
437     is a definition list.
438   - Append ``\leavemode`` to definition list terms.
439   - No longer write visit\_/depart_definition_list_item comments to
440     output.
441   - Table column width with 3 decimal places.
442   - Add table stubs support (boldfont).
443   - Add assemble_parts to writer.
444   - Add simply support for nested tables.
445   - Fix verbatim in tables if use-verbatim-when-possible.
446   - Use section commands down to subparagraph.
447   - Put ensuremath around some latin1 chars.
448   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
449   - New option ``--use-bibtex=style,db1,db2``.
450   - New option ``--reference-label`` to allow usage of LaTeX ref for
451     labels in section references.
452   - Add a label after every section to support sectionnumbers as reference
453     labels.
454   - Fix: bug# 1605376 rst2latex: bad options group list
455   - Remove inactive code for use_optionlist_for_option_list.
456   - Remove latex comments from option_list output.
457   - Fix: bug# 1612270 double qoutes in italian literal.
458   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
459   - Add option --use-latex-abstract.
460   - Image width unit ``px`` is translated to ``pt``.
461   - Add image height support.
462   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
463     bug #1457388
464   - Fix: Do not escape underscores in citation reference labels if
465     use-latex-citations is set.
466   - Use centering instead of center for figure contents, to avoid vertical
467     space.
468   - Recognize table class: borderless, nolines, booktabs, standard.
469   - Fix: Renaming contents section does not work with latex writer; SF
470     bug #1487405.
471   - Applied patch for custom roles with classes from Edward Loper.
472   - Fixed bug that caused crashes with more than 256 lists.
474 * docutils/writers/pep_html/__init__.py:
476   - Changed to support new python.org website structure and
477     pep2pyramid.py.
479 * docs/howto/security.txt: "Deploying Docutils Securely", added to
480   project.
482 * tools/buildhtml.py:
484   -- Added ``ignore`` setting to exclude a list of shell patterns
485      (default: ``.svn:CVS``).
487 * tools/editors/emacs/rst.el:
489   - Changed license to "GPL".
490   - Added ``rst-straighten-decorations`` function.
491   - The ``compile`` module is now always loaded.
492   - Added ``rst-toggle-line-block`` function.
493   - Headings consisting only of non-ASCII characters are now
494     recognized by ``rst-toc`` and ``rst-adjust``.
495   - Added font-lock support for multi-line comments where the first
496     comment line is empty.
497   - Added ``(require 'font-lock)``.
499 * setup.py:
501   - Provide descriptive error message if distutils is missing.
504 Release 0.4 (2006-01-09)
505 ========================
507 * General:
509   - Updated the project policies for trunk/branch development &
510     version numbering.
512 * docutils/__init__.py:
514   - Added ``__version_details__`` attribute to describe code source
515     (repository/snapshot/release).
516   - Replaced ``default_transforms`` attribute of TransformSpec with
517     ``get_transforms()`` method.
519 * docutils/core.py:
521   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
522     functions, for document tree extraction and reprocessing.
524 * docutils/io.py:
526   - Added ``DocTreeInput`` class, for reprocessing existing documents.
527   - Added support for non-Unicode (e.g. binary) writer output.
529 * docutils/nodes.py:
531   - Re-introduced ``Targetable.indirect_reference_name``, for
532     MoinMoin/reST compatibility (removed in r3124/r3129).
533   - Added ``serial_escape`` function; escapes string values that are
534     elements of a list, for serialization.  Modified Docutils-XML
535     writing (``Element._dom_node``) and pseudo-XML writing
536     (``Element.starttag``) to use ``serial_escape``.
537   - Added ``Node.deepcopy()`` method.
538   - Removed the internal lists ``document.substitution_refs``,
539     ``document.anonymous_refs``, and ``document.anonymous_targets``.
540   - Added a "container" element.
541   - Fixed bug where values of list-valued attributes of elements
542     originating from custom interpreted text roles (i.e., with custom
543     classes) were being shared between element instances.  Reported by
544     Shmuel Zeigerman.
546 * docutils/statemachine.py:
548   - Added trailing whitespace stripping to ``string2lines()``.
549   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
550     Asian double-width character support.
552 * docutils/utils.py:
554   - Added ``east_asian_column_width()`` for double-width character
555     support.
557 * docutils/languages/ja.py: Added to project: Japanese mappings by
558   Hisashi Morita.
560 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
561   mappings by Panjunyong.
563 * docutils/parsers/null.py: Added to project; a do-nothing parser.
565 * docutils/parsers/rst/__init__.py:
567   - Added validator to tab_width setting, with test.  Closes SF bug
568     #1212515, report from Wu Wei.
570 * docutils/parsers/rst/states.py:
572   - Fixed bug with escaped colons indicating a literal block.
573   - Fixed bug with enumerated lists (SF#1254145).
574   - Backslash-escaped colons inside of field names are now allowed.
575   - Targets (implicit and explicit), anonymous hyperlink references
576     and auto-numbered footnote references inside of substitution
577     definitions are now disallowed.
578   - Fixed bug: list items with blank first lines.
579   - Fixed bug: block quote attributions with indented second lines.
580   - Added East Asian double-width character support (Python 2.4 only).
582 * docutils/parsers/rst/tableparser.py:
584   - Added East Asian double-width character support (Python 2.4 only).
586 * docutils/parsers/rst/directives/body.py:
588   - Added the "container" directive.
590 * docutils/parsers/rst/directives/misc.py:
592   - Added the "default-role", "title", and "date" directives.
593   - Added standard data file syntax to the "include" directive.
594   - Added support for "class" directive content.
596 * docutils/parsers/rst/directives/images.py:
598   - Added ``indirect_reference_name`` support for images with a target
599     option.
600   - Added support for image width and height units.
601   - Fixed bug with image "target" options.
603 * docutils/parsers/rst/directives/references.py:
605   - Added "class" attribute to "target-notes" directive, for
606     footnote_reference classes.
608 * docutils/parsers/rst/include/: Directory added to project; contains
609   standard data files for the "include" directive.  Initial contents:
610   character entity substitution definition sets, and a set of
611   definitions for S5/HTML presentations.
613 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
614   mappings by David Goodger.
616 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
617   Simplified Chinese mappings by Panjunyong.
619 * docutils/readers/__init__.py:
621   - Added universal.Decorations and universal.ExposeInternals
622     transforms as default transforms for all readers.
623   - Added ``ReReader`` base class for readers that reread an existing
624     document tree.
626 * docutils/readers/doctree.py: Added to project; a reader for existing
627   document trees.
629 * docutils/transforms/frontmatter.py:
631   - Fixed the DocInfo transform to handle SVN-style expansion of the
632     "Date" keyword.
633   - In ``DocInfo.extract_authors``, treat the contents of "authors"
634     fields uniformly.
636 * docutils/transforms/misc.py:
638   - Added misc.Transitions transform, extracted from
639     universal.FinalChecks.
641 * docutils/transforms/references.py:
643   - Added references.DanglingReferences transform, extracted from
644     universal.FinalChecks.
645   - Fixed bug with doubly-indirect substitutions.
646   - Added footnote_reference classes attribute to "TargetNotes".
647   - Fixed bug with circular substitution definitions that put Docutils
648     into an infinite loop.
650 * docutils/transforms/universal.py:
652   - Added universal.ExposeInternals transform, extracted from
653     universal.FinalChecks.
654   - Removed universal.FinalChecks transform (logic has been moved to
655     several new transforms).
656   - Fixed bug with the "expose_internals" setting and Text nodes
657     (exposed by the "rawsource" internal attribute).
658   - Added the universal.StripComments transform, implementation of the
659     "strip_comments" setting.
661 * docutils/transforms/writer_aux.py: Added to project; auxiliary
662   transforms for writers.
664   - Added ``Compound`` transform, which flattens compound paragraphs.
666 * docutils/writers/: Several writer modules (html4css1.py) were
667   converted into packages.  Support modules and data files have been
668   moved into the packages.  The stylesheets for the HTML writers are
669   now installed along with the code, the code knows where to find
670   them, and the default is to use them (actually, to embed them).
671   Some adjustments to configuration files may be necessary.  The
672   easiest way to obtain the new default behavior is to remove all
673   settings whose name includes "stylesheet".
675 * docutils/writers/__init__.py:
677   - Added universal.Messages and universal.FilterMessages transforms
678     as default transforms for all writers.
679   - Added ``UnfilteredWriter`` base class for writers that pass the
680     document tree on unchanged.
682 * docutils/writers/docutils_xml.py:
684   - Made ``xmlcharrefreplace`` the default output encoding error
685     handler.
687 * docutils/writers/html4css1/:
689   - Added support for image width and height units.
690   - Made ``xmlcharrefreplace`` the default output encoding error
691     handler.
692   - Made ``--embed-stylesheet`` the default rather than
693     ``--link-stylesheet``.
694   - Moved "id" attribute from container (section etc.) to title's <a>
695     tag, to be on the same tag as "name".
696     (!!! To be reverted in Docutils 0.5.)
697   - Added vertical space between fields of field lists.
698   - Added ``--compact-field-lists`` option to remove vertical space in
699     simple field lists.
700   - Made cloaking of email addresses with ``--cloak-email-addresses``
701     less obtrusive.
702   - Fixed support for centered images.
703   - Added support for class="compact" & class="open" lists.
705 * docutils/writers/latex2e/:
707   - Underscores in citekeys are no longer escaped.
709 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
710   mapping of Unicode characters to LaTeX equivalents.
712 * docutils/writers/s5_html/: Package added to project; writer for
713   S5/HTML slide shows.
715 * docs/dev/distributing.txt: Added to project; guide for distributors
716   (package maintainers).
718 * docs/dev/hacking.txt: Added to project; guide for developers.
720 * docs/ref/doctree.txt:
722   - Updated for plural attributes "classes", "ids", "names",
723     "dupnames".
724   - Added the "container" element.
726 * docs/ref/docutils.dtd:
728   - Updated for plural attributes "classes", "ids", "names",
729     "dupnames".
731 * docs/user/emacs.txt: Added to project; a document about Emacs
732   support for reStructuredText and Docutils.
734 * docs/user/links.txt: Added to project; lists of Docutils-related
735   links.
737 * docs/user/mailing-lists.txt: Added to project; information about
738   Docutils-related mailing lists and how to access them.
740 * docs/user/slide-shows.txt: Added to project; example of and docs for
741   the S5/HTML writer (``rst2s5.py`` front end).
743 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
744   Files", added to project.
746 * test/coverage.sh: Added to project; test coverage script.
748 * test/DocutilsTestSupport.py:
750   - Added support for specifying runtime settings at the suite level.
752 * test/test_functional.py:
754   - Added the ``clear_output_directory`` function.
755   - Added support for ``_test_more`` functions in functional test
756     config files.
758 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
760 * tools/rstpep2html.py: Renamed from pep.py.
762 * tools/dev/create_unimap.py: Added to project; script to create the
763   docutils/writers/unimap_latex.py mapping file.
765 * tools/dev/profile_docutils.py: Added to project; profiler script.
767 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
769 * tools/editors/emacs/restructuredtext.el,
770   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
771   Removed from project; the functionality is now contained in rst.el.
773 * tools/editors/emacs/rst.el: Added to project.  Added many features
774   and fixed many bugs.  See docs/user/emacs.txt for details.
776 * tools/stylesheets: Removed from project.  Stylesheets have been
777   renamed and moved into writer packages.
780 Release 0.3.9 (2005-05-26)
781 ==========================
783 * General:
785   - Eliminated and replaced all uses of the old string attributes
786     ``id``, ``name``, ``dupname`` and ``class`` with references to the
787     new list attributes ``ids``, ``names``, ``dupnames`` and
788     ``classes`` throughout the whole source tree.
790 * docutils/core.py:
792   - Enabled ``--dump-*`` options when ``--traceback`` specified,
793     allowing for easier debugging.
794   - In ``Publisher.publish()``, expanded the generic top-level
795     exception catching.
797 * docutils/examples.py:
799   - Added ``internals`` function for exploration.
801 * docutils/io.py:
803   - Fixed ``Input.decode`` method to apply heuristics only if no
804     encoding is explicitly given, and to provide better reporting of
805     decoding errors.
806   - The ``Input.decode`` method now removes byte order marks (BOMs)
807     from input streams.
809 * docutils/nodes.py:
811   - ``image`` element class changed to subclass of Element, not
812     TextElement (it's an empty element, and cannot contain text).
813   - Added ``attr_defaults`` dictionary for default attribute values.
814   - Added empty list as default value for the following attributes:
815     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
816   - Added ``document.decoration`` attribute,
817     ``document.get_decoration`` method, and ``decoration.get_header``
818     & ``.get_footer`` methods.
819   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
820     methods.
822 * docutils/utils.py:
824   - Removed ``docutils.utils.Reporter.categories``,
825     ``docutils.utils.ConditionSet``, and all references to them, to
826     simplify error reporting.
828 * docutils/languages/nl.py: Added to project; Dutch mappings by
829   Martijn Pieters.
831 * docutils/parsers/rst/__init__.py:
833   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
835 * docutils/parsers/rst/states.py:
837   - Added check for escaped at-mark to prevent email address recognition.
838   - Fixed option lists to allow spaces inside ``<angle-bracketed option
839     arguments>``.
840   - Allowed whitespace in paths and URLs.
841   - Added auto-enumerated list items.
842   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
843     followed by text.
844   - Added support for table stub columns.
846 * docutils/parsers/rst/directives/__init__.py:
848   - Allowed whitespace in paths (``path`` function).
849   - Added ``uri`` directive option conversion function.
851 * docutils/parsers/rst/directives/body.py:
853   - Fixed illegal context bug with "topic" directive (allowed within
854     sidebars; not within body elements).
856 * docutils/parsers/rst/directives/images.py:
858   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
859   - Added support for the ``file_insertion_enabled`` setting in the
860     "figure" directive (disables "figwidth" option).
861   - "image" directive: added checks for valid values of "align" option,
862     depending on context.  "figure" directive: added specialized
863     "align" option and attribute on "figure" element.
864   - Made ":figwidth: image" option of "figure" directive work again.
865   - Fixed bug with reference names containing uppercase letters
866     (e.g. ``Name_``) in "target" option of "image" directive.
868 * docutils/parsers/rst/directives/misc.py:
870   - Fixed "include" and "raw" directives to catch text decoding
871     errors.
872   - Allowed whitespace in "include" & "raw" directive paths.
873   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
874     settings in "include" & "raw" directives.
876 * docutils/parsers/rst/directives/parts.py:
878   - Added "header" & "footer" directives.
879   - Fixed illegal context bug with "contents" directive (topics
880     allowed within sidebars; not within body elements).
882 * docutils/parsers/rst/directives/tables.py:
884   - Added "list-table" directive.
885   - Caught empty CSV table bug.
886   - Added support for the ``file_insertion_enabled`` setting in the
887     "csv-table" directive.
888   - Added ``stub-columns`` option to "csv-table" and "list-table"
889     directives.
891 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
892   mappings by Martijn Pieters.
894 * docutils/readers/standalone.py:
896   - Added ``--section-subtitles`` and ``--no-section-subtitles``
897     options to activate or deactivate the SectSubTitle transform.
899 * docutils/transforms/frontmatter.py:
901   - Added SectSubTitle transform to promote titles of lone
902     subsections to subtitles.
904 * docutils/transforms/references.py:
906   - Fixed mislocated internal targets bug, by propagating internal
907     targets to the next node, making use of the newly added support
908     for multiple names and IDs.
909   - Fixed duplicate footnote label bug.
910   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
911     transform.
913 * docutils/writers/html4css1.py:
915   - Fixed unencoded stylesheet reference bug (characters like "&" in
916     stylesheet references).
917   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
918     tags).
919   - Added support for multiple IDs per node by creating empty ``span``
920     tags.
921   - Added the ``field_name_limit`` & ``option_limit`` settings &
922     support.
923   - Added support for table stub columns.
924   - Added support for the ``align`` attribute on ``figure`` elements.
925   - Added the ``cloak_email_addresses`` setting & support.
926   - Added ``html_prolog``, ``html_head``, ``html_body``,
927     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
928     ``docutils.core.publish_parts``.
929   - Added support for section subtitles.
931 * docutils/writers/latex2e.py:
933   - Fixed tables starting with more than one multirow cell.
934   - Improved --use-latex-docinfo so that organization/contact/address
935     fields are lumped with the last author field and appear on the
936     titlepage.
937   - Made sure the titlepage is always shown with --use-latex-docinfo,
938     even if the document has no title.
939   - Made sure that latex doesn't fill in today's date if no date field
940     was given.
941   - Added support for section subtitles.
943 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
944   (under development).
946 * docutils/writers/null.py: Added to project; a do-nothing Writer.
948 * docs/api/publisher.txt:
950   - Added "``publish_parts`` Details" section.
952 * docutils/dev/repository.txt: Added to project; information about the
953   Docutils Subversion repository.
955 * docs/ref/docutils.dtd:
957   - Added a ``stub`` attribute to the ``colspec`` element via the
958     ``tbl.colspec.att`` parameter entity.
959   - Allowed topic elements within sidebars
960   - Added an ``align`` attribute to the ``figure`` element.
962 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
963   writer.
966 Release 0.3.7 (2004-12-24)
967 ==========================
969 * docutils/frontend.py:
971   - Added options: --input-encoding-error-handler,
972     --record-dependencies, --leave-footnote-reference-space,
973     --strict-visitor.
974   - Added command-line and config file support for "overrides" setting
975     parameter.
977 * docutils/io.py:
979   - Added support for input encoding error handler.
981 * docutils/nodes.py:
983   - Added dispatch_visit and dispatch_departure methods to
984     NodeVisitor; useful as a hook for Visitors.
985   - Changed structure of ``line_block``; added ``line``.
986   - Added ``compound`` node class.
987   - Added a mechanism for Visitors to transitionally ignore new node
988     classes.
990 * docutils/utils.py:
992   - Moved ``escape2null`` and ``unescape`` functions from
993     docutils/parsers/rst/states.py.
995 * docutils/parsers/rst/roles.py:
997   - Added "raw" role.
998   - Changed role function API: the "text" parameter now takes
999     null-escaped interpreted text content.
1001 * docutils/parsers/rst/states.py:
1003   - Fixed bug where a "role" directive in a nested parse would crash
1004     the parser; the state machine's "language" attribute was not being
1005     copied over.
1006   - Added support for line block syntax.
1007   - Fixed directive parsing bug: argument-less directives didn't
1008     notice that arguments were present.
1009   - Removed error checking for transitions.
1010   - Added support for multiple classifiers in definition list items.
1011   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1012   - Changed role function API: the "text" parameter now takes
1013     null-escaped interpreted text content.
1014   - Empty sections and documents are allowed now.
1016 * docutils/parsers/rst/directives/__init__.py:
1018   - Added ``encoding`` directive option conversion function.
1019   - Allow multiple class names in class_option conversion function.
1021 * docutils/parsers/rst/directives/body.py:
1023   - Converted the line-block directive to use the new structure.
1024   - Extracted the old line-block functionality to the ``block``
1025     function (still used).
1026   - Added ``compound`` directive (thanks to Lea Wiemann).
1028 * docutils/parsers/rst/directives/misc.py:
1030   - Added "encoding" option to "include" and "raw" directives.
1031   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1032   - Allow multiple class names in the "class" directive.
1034 * docutils/parsers/rst/directives/parts.py:
1036   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1037     options.  Thanks to Lele Gaifax.
1039 * docutils/parsers/rst/directives/tables.py:
1041   - Added "encoding" directive to "csv-table" directive.
1042   - Added workaround for lack of Unicode support in csv.py, for
1043     non-ASCII CSV input.
1045 * docutils/transforms/misc.py:
1047   - Fixed bug when multiple "class" directives are applied to a single
1048     element.
1049   - Enabled multiple format names for "raw" directive.
1051 * docutils/transforms/references.py:
1053   - Added support for trimming whitespace from beside substitution
1054     references.
1056 * docutils/transforms/universal.py:
1058   - FinalChecks now checks for illegal transitions and moves
1059     transitions between sections.
1061 * docutils/writers/html4css1.py:
1063   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
1064   - "stylesheet" and "stylesheet_path" settings are now mutually
1065     exclusive.
1066   - Added support for the new line_block/line structure.
1067   - --footnote-references now overrides
1068     --trim-footnote-reference-space, if applicable.
1069   - Added support for ``compound`` elements.
1070   - Enabled multiple format names for "raw" directive.
1071   - ``<p>`` tags of a paragraph which is the only visible child of the
1072     document node are no longer stripped.
1073   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1074     new method ``should_be_compact_paragraph()``.
1075   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1076     elements.
1077   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1078     the output if they have their ``class`` attribute set.
1079   - The whole document is now surrounded by a ``<div
1080     class="document">`` element.
1081   - Body-level images are now wrapped by their own ``<div>`` elements,
1082     with image classes copied to the wrapper, and for images which
1083     have the ``:align:`` option set, the surrounding ``<div>`` now
1084     receives a class attribute (like ``class="align-left"``).
1086 * docutils/writers/latex2e.py:
1088   - no newline after depart_term.
1089   - Added translations for some Unicode quotes.
1090   - Added option "font-encoding", made package AE the default.
1091   - "stylesheet" and "stylesheet_path" settings are now mutually
1092     exclusive.
1093   - --footnote-references now overrides
1094     --trim-footnote-reference-space, if applicable.
1095   - The footnote label style now matches the footnote reference style
1096     ("brackets" or "superscript").
1097   - Added support for ``compound`` elements.
1098   - Enabled multiple format names for "raw" directive.
1100 * docs/ref/docutils.dtd:
1102   - Changed structure of the ``line_block`` element; added ``line``.
1103   - Added ``compound`` element.
1104   - Added "ltrim" and "rtrim" attributes to
1105     ``substitution_definition`` element.
1106   - Enabled multiple format names for ``raw`` element.
1107   - Enabled multiple classifiers in ``definition_list_item`` elements.
1109 * docs/ref/rst/directives.txt
1111   - Marked "line-block" as deprecated.
1112   - "Class" directive now allows multiple class names.
1113   - Added "Rationale for Class Attribute Value Conversion".
1114   - Added warning about "raw" overuse/abuse.
1116 * docs/ref/rst/restructuredtext.txt:
1118   - Added syntax for line blocks.
1119   - Definition list items may have multiple classifiers.
1121 * docs/ref/rst/roles.txt:
1123   - Added "raw" role.
1125 * tools/stylesheets/default.css:
1127   - Added support for the new line_block structure.
1128   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1131 Release 0.3.5 (2004-07-29)
1132 ==========================
1134 General:
1136 * _`Documentation cleanup/reorganization`.
1138   - Created new subdirectories of docs/:
1140     * ``docs/user/``: introductory/tutorial material for end-users
1141     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1142     * ``docs/api/``: API reference material for client-developers
1143     * ``docs/ref/``: reference material for all groups
1144     * ``docs/howto/``: for component-developers and core-developers
1145     * ``docs/peps/``: Python Enhancement Proposals
1147   - Moved ``docs/*`` to ``docs/user/``.
1148   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1149     ``spec/`` to ``docs/dev``.
1150   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1151     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1152   - Moved ``alternatives.txt``, and ``problems.txt`` from
1153     ``spec/rst/`` to ``docs/dev/rst/``.
1154   - Moved ``reStructuredText.txt``, ``directives.txt``,
1155     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1156     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
1157     ``roles.txt``, ``reStructuredText.txt`` to
1158     ``restructuredtext.txt``.
1159   - Moved ``spec/howto/`` to ``docs/howto``.
1161   In order to keep the CVS history of moved files, we supplied
1162   SourceForge with a `script for modifying the Docutils CVS
1163   repository`__.
1165   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1167   After running the cleanup script:
1169   - Added ``docs/index.txt``.
1170   - Added a ``.htaccess`` file to the ``web`` module, containing
1171     redirects for all old paths to new paths.  They'll preserve
1172     fragments (the "#name" part of a URL), and won't clutter up the
1173     file system, and will correct the URL in the user's browser.
1174   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1175     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1176     the "To Do" list itself in ``docs/dev/todo.txt``.
1177   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1178     section of ``docs/dev/todo.txt``.
1179   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1180   - Added "How To Report Bugs" to ``BUGS.txt``.
1181   - Went through all the sources and docs (including under web/) and
1182     updated links.  Mostly done by Lea Wiemann; thanks Lea!
1183     (Still need to update links in the sandboxes.)
1185 Specific:
1187 * BUGS.txt: Added to project.
1189 * THANKS.txt: Added to project.
1191 * docutils/__init__.py:
1193   - 0.3.4: Post-release.
1195 * docutils/core.py:
1197   - Added special error handling & advice for UnicodeEncodeError.
1198   - Refactored Publisher.publish (simplified exception handling &
1199     extracted debug dumps).
1200   - Renamed "enable_exit" parameter of convenience functions to
1201     "enable_exit_status".
1202   - Enabled traceback (exception propagation) by default in
1203     programmatic convenience functions.
1204   - Now publish_file and publish_cmdline convenience functions return
1205     the encoded string results in addition to their regular I/O.
1206   - Extracted common code from publish_file, publish_string, and
1207     publish_parts, into new publish_programmatically.  Extracted
1208     settings code to ``Publisher.process_programmatic_settings``.
1209   - In Publisher.publish, disabled ``settings_overrides`` when
1210     ``settings`` is supplied; redundant.
1212 * docutils/frontend.py:
1214   - Added help text for "--output-encoding-error-handler" and
1215     "--error-encoding-error-handler".
1216   - Renamed "--exit" to "--exit-status".
1217   - Simplified default-setting code.
1219 * docutils/parsers/rst/__init__.py:
1221   - Added "--pep-base-url" and "--rfc-base-url" options.
1223 * docutils/parsers/rst/states.py:
1225   - Made URI recognition more aggressive and intelligent.
1227 * docutils/parsers/rst/directives/__init__.py:
1229   - Added several directive option conversion functions.
1231 * docutils/parsers/rst/directives/body.py:
1233   - Moved "table" directive to tables.py.
1235 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1236   added to project.
1238 * docutils/writers/latex2e.py:
1240   - Added "--table-style=(standard|booktabs|nolines)"
1241   - figures get "here" option (LaTeX per default puts them at bottom),
1242     and figure content is centered.
1243   - Rowspan support for tables.
1244   - Fix: admonition titles before first section.
1245   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1246   - Replave ``_`` in literal by an underlined blank, because it has the correct
1247     width.
1248   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1249   - A few unicode replacements, if output_encoding != utf
1250   - Add "--graphicx-option".
1251   - Indent literal-blocks.
1252   - Fix: omit ``\maketitle`` when there is no document title.
1254 * docs/index.txt: "Docutils Project Documentation Overview", added to
1255   project.
1257 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1258   Tool", added to project.
1260 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1262 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1264 * docs/dev/policies.txt: Added to project (extracted from
1265   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1267 * docs/dev/release.txt: Added to project (extracted from
1268   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1270 * docs/dev/testing.txt: Added to project.
1272 * docs/dev/website.txt: Added to project (extracted from
1273   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1275 * docs/ref/rst/directives.txt:
1277   - Added directives: "table", "csv-table".
1279 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1280   added to project.  1 page for syntax, and a 1 page reference for
1281   directives and roles.  Source text to be used as-is; not meant to be
1282   converted to HTML.
1284 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1285   with a change of title.
1287 * test/functional/, contents, and test/test_functional.py: Added to
1288   project.
1290 * tools/buildhtml.py: Fixed bug with config file handling.
1292 * tools/html.py: Removed from project (duplicate of rst2html.py).
1294 * tools/pep2html.py: Removed from project (duplicate of Python's
1295   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1296   Docutils-related PEPs in docs/peps/).
1298 * tools/rst2pseudoxml.py: Renamed from publish.py.
1300 * tools/rst2xml.py: Renamed from docutils-xml.py.
1302 * tools/test.txt: Removed from project; moved to
1303   docs/user/rst/demo.txt.
1305 * setup.py: Now also installs ``rst2latex.py``.
1308 Release 0.3.3 (2004-05-09)
1309 ==========================
1311 * docutils/__init__.py:
1313   - 0.3.1: Reorganized config file format (multiple sections); see
1314     docs/config.txt.
1315   - Added unknown_reference_resolvers attribute to TransformSpec.
1316   - 0.3.2: Interpreted text reorganization.
1317   - 0.3.3: Released.
1319 * docutils/core.py:
1321   - Catch system messages to stop tracebacks from parsing errors.
1322   - Catch exceptions during processing report & exit without
1323     tracebacks, except when "--traceback" used.
1324   - Reordered components for OptionParser; application comes last.
1325   - Added "config_section" parameter to several methods and functions,
1326     allowing front ends to easily specify their config file sections.
1327   - Added publish_parts convenience function to allow access to individual
1328     parts of a document.
1330 * docutils/examples.py: Added to project; practical examples of
1331   Docutils client code, to be used as-is or as models for variations.
1333 * docutils/frontend.py:
1335   - Added "--traceback" & "--no-traceback" options ("traceback"
1336     setting).
1337   - Implemented support for config file reorganization:
1338     ``standard_config_files`` moved from ``ConfigParser`` to
1339     ``OptionParser``; added
1340     ``OptionParser.get_config_file_settings()`` and
1341     ``.get_standard_config_settings()``; support for old "[options]"
1342     section (with deprecation warning) and mapping from old to new
1343     settings.
1344   - Reimplemented setting validation.
1345   - Enabled flexible boolean values: yes/no, true/false, on/off.
1346   - Added ``Values``, a subclass of ``optparse.Values``, with support
1347     for list setting attributes.
1348   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1349     thanks to Beni Cherniavsky.
1350   - Added "--no-section-numbering" option.
1352 * docutils/io.py:
1354   - Catch IOErrors when opening source & destination files, report &
1355     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1356     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1358 * docutils/nodes.py:
1360   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1361     method definitions (via ``exec``) to dynamic assignments (via
1362     ``setattr``); thanks to Roman Suzi.
1363   - Encapsulated visitor dynamic assignments in a function; thanks to
1364     Ian Bicking.
1365   - Added indirect_reference_name attribute to the Targetable
1366     class. This attribute holds the whitespace_normalized_name
1367     (contains mixed case) of a target.
1369 * docutils/statemachine.py:
1371   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1372   - Added ``StringList.get_2D_block``.
1374 * docutils/utils.py:
1376   - Added "level" attribute to SystemMessage exceptions.
1378 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1379   Jannie Hofmeyr.
1381 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1382   Blaha.
1384 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1385   Marcelo Huerta San Martin.
1387 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1388   mappings by Lalo Martins.
1390 * docutils/languages/ru.py: Added to project; Russian mappings by
1391   Roman Suzi.
1393 * docutils/parsers/rst/roles.py: Added to project.  Contains
1394   interpreted text role functions, a registry for interpreted text
1395   roles, and an API for adding to and retrieving from the registry.
1396   Contributed by Edward Loper.
1398 * docutils/parsers/rst/states.py:
1400   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1401   - Allowed true em-dash character and "---" as block quote
1402     attribution marker.
1403   - Added support for <angle-bracketed> complex option arguments
1404     (option lists).
1405   - Fixed handling of backslashes in substitution definitions.
1406   - Fixed off-by-1 error with extra whitespace after substitution
1407     definition directive.
1408   - Added inline markup parsing to field lists' field names.
1409   - Added support for quoted (and unindented) literal blocks.
1410     Driven in part by a bribe from Frank Siebenlist (thanks!).
1411   - Parser now handles escapes in URIs correctly.
1412   - Made embedded-URIs' reference text omittable.  Idea from Beni
1413     Cherniavsky.
1414   - Refactored explicit target processing code.
1415   - Added name attribute to references containing the reference name only
1416     through whitespace_normalize_name (no case changes).
1417   - parse_target no longer returns the refname after going through
1418     normalize_name. This is now handled in make_target.
1419   - Fixed bug relating to role-less interpreted text in non-English
1420     contexts.
1421   - Reorganized interpreted text processing; moved code into the new
1422     roles.py module.  Contributed by Edward Loper.
1423   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1424     ``parse_directive_block``.
1426 * docutils/parsers/rst/tableparser.py:
1428   - Reworked for ``StringList``, to support "include" directives in
1429     table cells.
1431 * docutils/parsers/rst/directives/__init__.py:
1433   - Renamed ``unchanged()`` directive option conversion function to
1434     ``unchanged_required``, and added a new ``unchanged``.
1435   - Catch unicode value too high error; fixes bug 781766.
1436   - Beefed up directive error reporting.
1438 * docutils/parsers/rst/directives/body.py:
1440   - Added basic "table" directive.
1442 * docutils/parsers/rst/directives/images.py:
1444   - Added "target" option to "image" directive.
1445   - Added name attribute to references containing the reference name only
1446     through whitespace_normalize_name (no case changes).
1448 * docutils/parsers/rst/directives/misc.py:
1450   - Isolated the import of the ``urllib2`` module; was causing
1451     problems on SourceForge (``libssl.so.2`` unavailable?).
1452   - Added the "role" directive for declaring custom interpreted text
1453     roles.
1455 * docutils/parsers/rst/directives/parts.py:
1457   - The "contents" directive does more work up-front, creating the
1458     "topic" and "title", and leaving the "pending" node for the
1459     transform.  Allows earlier reference resolution; fixes subtle bug.
1461 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1462   mappings by Jannie Hofmeyr.
1464 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1465   mappings by Marek Blaha.
1467 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1468   mappings by Marcelo Huerta San Martin.
1470 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1471   Portuguese mappings by Lalo Martins.
1473 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1474   mappings by Roman Suzi.
1476 * docutils/transforms/parts.py:
1478   - The "contents" directive does more work up-front, creating the
1479     "topic" and "title", and leaving the "pending" node for the
1480     transform.  Allows earlier reference resolution; fixes subtle bug.
1481   - Added support for disabling of section numbering.
1483 * docutils/transforms/references.py:
1485   - Verifying that external targets are truly targets and not indirect
1486     references. This is because we are now adding a "name" attribute to
1487     references in addition to targets. Note sure if this is correct!
1488   - Added code to hook into the unknown_reference_resolvers list for a
1489     transformer in resolve_indirect_target. This allows the
1490     unknown_reference_resolvers to keep around indirect targets which
1491     docutils doesn't know about.
1492   - Added specific error message for duplicate targets.
1494 * docutils/transforms/universal.py:
1496   - Added FilterMessages transform (removes system messages below the
1497     verbosity threshold).
1498   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1499     to FinalCheckVisitor for application-specific handling of
1500     unresolvable references.
1501   - Added specific error message for duplicate targets.
1503 * docutils/writers/__init__.py:
1505   - Added assemble_parts method to the Writer class to allow for
1506     access to a documents individual parts.
1507   - Documented & set default for ``Writer.output`` attribute.
1509 * docutils/writers/html4css1.py:
1511   - Fixed unicode handling of attribute values (bug 760673).
1512   - Prevent duplication of "class" attribute values (bug report from
1513     Kirill Lapshin).
1514   - Improved table grid/border handling (prompted by report from Bob
1515     Marshall).
1516   - Added support for table titles.
1517   - Added "<title />" for untitled docs, for XHTML conformance; thanks
1518     to Darek Suchojad.
1519   - Added functionality to keep track of individual parts of a document
1520     and store them in a dictionary as the "parts" attribute of the writer.
1521     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1522   - Added proper support for the "scale" attribute of the "image"
1523     element.  Contributed by Brent Cook.
1524   - Added ``--initial-header-level`` option.
1525   - Fixed bug: the body_pre_docinfo segment depended on there being a
1526     docinfo; if no docinfo, the document title was incorporated into
1527     the body segment.  Adversely affected the publish_parts interface.
1529 * docutils/writers/latex2e.py:
1531   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1532     about a missing file.
1533   - Added options and support: ``--compound-enumerators``,
1534     ``--section-prefix-for-enumerators``, and
1535     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
1536     934322).
1537   - Added option ``--use-verbatim-when-possible``, to avoid
1538     problematic characters (eg, '~' in italian) in literal blocks.
1539   - It's now possible to use four section levels in the `book` and
1540     `report` LaTeX classes.  The default `article` class still has
1541     three levels limit.
1543 * docs/config.txt: "Docutils Configuration Files", added to project.
1544   Moved config file entry descriptions from tools.txt.
1546 * docs/tools.txt:
1548   - Moved config file entry descriptions to config.txt.
1550 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
1551   Development".
1553 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1554   Text Roles", added to project.
1556 * spec/rst/reStructuredText.txt:
1558   - Added description of support for <angle-bracketed> complex option
1559     arguments to option lists.
1560   - Added subsections for indented and quoted literal blocks.
1562 * test: Continually adding & updating tests.
1564   - Added test/test_settings.py & test/data/config_*.txt support
1565     files.
1566   - Added test/test_writers/test_htmlfragment.py.
1568 * test/DocutilsTestSupport.py:
1570   - Refactored LaTeX publisher test suite/case class names to make
1571     testing other writers easier.
1572   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1573     to test the processing of HTML fragments which use the new
1574     publish_parts convenience function.
1576 * tools/buildhtml.py:
1578   - Added support for the "--prune" option.
1579   - Removed dependency on pep2html.py; plaintext PEPs no longer
1580     supported.
1582 * tools/docutils.conf:
1584   - Updated for configuration file reorganization.
1586 * tools/rst2html.py:
1588   - copied from tools/html.py
1590 * setup.py:
1592   - added a 'scripts' section to configuration
1593   - added 'tools/rst2html.py' to the scripts section
1596 Release 0.3 (2003-06-24)
1597 ========================
1599 General:
1601 * Renamed "attribute" to "option" for directives/extensions.
1603 * Renamed transform method "transform" to "apply".
1605 * Renamed "options" to "settings" for runtime settings (as set by
1606   command-line options).  Sometimes "option" (singular) became
1607   "settings" (plural).  Some variations below:
1609   - document.options -> document.settings (stored in other objects as
1610     well)
1611   - option_spec -> settings_spec (not directives though)
1612   - OptionSpec -> SettingsSpec
1613   - cmdline_options -> settings_spec
1614   - relative_path_options -> relative_path_settings
1615   - option_default_overrides -> settings_default_overrides
1616   - Publisher.set_options -> Publisher.get_settings
1618 Specific:
1620 * COPYING.txt: Added "Public Domain Dedication".
1622 * FAQ.txt: Frequently asked questions, added to project.
1624 * setup.py:
1626   - Updated with PyPI Trove classifiers.
1627   - Conditional installation of third-party modules.
1629 * docutils/__init__.py:
1631   - Bumped version to 0.2.1 to reflect changes to I/O classes.
1632   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1633   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1634   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1635     option and its effect on the PEP template & writer.
1636   - Bumped version to 0.2.4 due to changes to the PEP template &
1637     stylesheet.
1638   - Bumped version to 0.2.5 to reflect changes to Reporter output.
1639   - Added ``TransformSpec`` class for new transform system.
1640   - Bumped version to 0.2.6 for API changes (renaming).
1641   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1642     convenience functions.
1643   - Added ``Component.component_type`` attribute.
1644   - Bumped version to 0.2.8 because of the internal parser switch from
1645     plain lists to the docutils.statemachine.StringList objects.
1646   - Bumped version to 0.2.9 because of the frontend.py API changes.
1647   - Bumped version to 0.2.10 due to changes to the project layout
1648     (third-party modules removed from the "docutils" package), and
1649     signature changes in ``io.Input``/``io.Output``.
1650   - Changed version to 0.3.0 for release.
1652 * docutils/core.py:
1654   - Made ``publish()`` a bit more convenient.
1655   - Generalized ``Publisher.set_io``.
1656   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1657     parameters; improved its docstring.
1658   - Added ``publish_file()`` and ``publish_string()``.
1659   - Factored ``Publisher.set_source()`` and ``.set_destination()``
1660     out of ``.set_io``.
1661   - Added support for "--dump-pseudo-xml", "--dump-settings", and
1662     "--dump-transforms" hidden options.
1663   - Added ``Publisher.apply_transforms()`` method.
1664   - Added ``Publisher.set_components()`` method; support for
1665     ``publish_*()`` conveninece functions.
1666   - Moved config file processing to docutils/frontend.py.
1667   - Added support for exit status ("exit_level" setting &
1668     ``enable_exit`` parameter for Publisher.publish() and convenience
1669     functions).
1671 * docutils/frontend.py:
1673   - Check for & exit on identical source & destination paths.
1674   - Fixed bug with absolute paths & "--config".
1675   - Set non-command-line defaults in ``OptionParser.__init__()``:
1676     ``_source`` & ``_destination``.
1677   - Distributed ``relative_path_settings`` to components; updated
1678     ``OptionParser.populate_from_components()`` to combine it all.
1679   - Require list of keys in ``make_paths_absolute`` (was implicit in
1680     global ``relative_path_settings``).
1681   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1682     "--dump-settings", and "--dump-transforms" hidden options.
1683   - Removed nasty internals-fiddling ``ConfigParser.get_section``
1684     code, replaced with correct code.
1685   - Added validation functionality for config files.
1686   - Added "--error-encoding" option/setting, "_disable_config"
1687     internal setting.
1688   - Added encoding validation; updated "--input-encoding" and
1689     "--output-encoding"; added "--error-encoding-error-handler" and
1690     "--output-encoding-error-handler".
1691   - Moved config file processing from docutils/core.py.
1692   - Updated ``OptionParser.populate_from_components`` to handle new
1693     ``SettingsSpec.settings_defaults`` dict.
1694   - Added support for "-" => stdin/stdout.
1695   - Added "exit_level" setting ("--exit" option).
1697 * docutils/io.py:
1699   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1700   - Added automatic closing to ``FileInput`` and ``FileOutput``.
1701   - Delayed opening of ``FileOutput`` file until ``write()`` called.
1702   - ``FileOutput.write()`` now returns the encoded output string.
1703   - Try to get path/stream name automatically in ``FileInput`` &
1704     ``FileOutput``.
1705   - Added defaults for source & destination paths.
1706   - Allow for Unicode I/O with an explicit "unicode" encoding.
1707   - Added ``Output.encode()``.
1708   - Removed dependency on runtime settings; pass encoding directly.
1709   - Recognize Unicode strings in ``Input.decode()``.
1710   - Added support for output encoding error handlers.
1712 * docutils/nodes.py:
1714   - Added "Invisible" element category class.
1715   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1716     modification during a traversal.
1717   - Added element classes: ``line_block``, ``generated``, ``address``,
1718     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1719     ``superscript``, ``subscript``, ``inline``
1720   - Added support for lists of nodes to ``Element.insert()``.
1721   - Fixed parent linking in ``Element.replace()``.
1722   - Added new abstract superclass ``FixedTextElement``; adds
1723     "xml:space" attribute.
1724   - Added support for "line" attribute of ``system_message`` nodes.
1725   - Added support for the observer pattern from ``utils.Reporter``.
1726     Added ``parse_messages`` and ``transform_messages`` attributes to
1727     ``document``, removed ``messages``.  Added ``note_parse_message``
1728     and ``note_transform_message`` methods.
1729   - Added support for improved diagnostics:
1731     - Added "document", "source", and "line" internal attributes to
1732       ``Node``, set by ``Node.setup_child()``.
1733     - Converted variations on ``node.parent = self`` to
1734       ``self.setup_child(node)``.
1735     - Added ``document.current_source`` & ``.current_line``
1736       attributes, and ``.note_source`` observer method.
1737     - Changed "system_message" output to GNU-Tools format.
1739   - Added a "rawsource" attribute to the ``Text`` class, for text
1740     before backslash-escape resolution.
1741   - Support for new transform system.
1742   - Reworked ``pending`` element.
1743   - Fixed XML DOM bug (SF #660611).
1744   - Removed the ``interpeted`` element class and added
1745     ``title_reference``, ``abbreviation``, ``acronym``.
1746   - Made substitutions case-sensitive-but-forgiving; moved some code
1747     from the parser.
1748   - Fixed Unicode bug on element attributes (report: William Dode).
1750 * docutils/optik.py: Removed from project; replaced with
1751   extras/optparse.py and extras/textwrap.py.  These will be installed
1752   only if they're not already present in the Python installation.
1754 * docutils/roman.py: Moved to extras/roman.py; this will be installed
1755   only if it's not already present in the Python installation.
1757 * docutils/statemachine.py:
1759   - Factored out ``State.add_initial_transitions()`` so it can be
1760     extended.
1761   - Converted whitespace-specific "blank" and "indent" transitions
1762     from special-case code to ordinary transitions: removed
1763     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
1764     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
1765     ``ws_initial_transitions`` attributes.
1766   - Removed ``State.match_transition()`` after merging it into
1767     ``.check_line()``.
1768   - Added ``StateCorrection`` exception.
1769   - Added support for ``StateCorrection`` in ``StateMachine.run()``
1770     (moved ``TransitionCorrection`` support there too.)
1771   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
1772     ``EOFError`` instead of ``IndexError``.
1773   - Added ``State.no_match`` method.
1774   - Added support for the Observer pattern, triggered by input line
1775     changes.
1776   - Added ``strip_top`` parameter to
1777     ``StateMachineWS.get_first_known_indented``.
1778   - Made ``context`` a parameter to ``StateMachine.run()``.
1779   - Added ``ViewList`` & ``StringList`` classes;
1780     ``extract_indented()`` becomes ``StringList.get_indented()``.
1781   - Added ``StateMachine.insert_input()``.
1782   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
1783     thanks to) Fred Drake.
1785 * docutils/utils.py:
1787   - Added a ``source`` attribute to Reporter instances and
1788     ``system_message`` elements.
1789   - Added an observer pattern to ``utils.Reporter`` to keep track of
1790     system messages.
1791   - Fixed bugs in ``relative_path()``.
1792   - Added support for improved diagnostics.
1793   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
1794   - Added support for encoding Reporter stderr output, and encoding
1795     error handlers.
1796   - Reporter keeps track of the highest level system message yet
1797     generated.
1799 * docutils/languages: Fixed bibliographic field language lookups.
1801 * docutils/languages/es.py: Added to project; Spanish mappings by
1802   Marcelo Huerta San Martin.
1804 * docutils/languages/fr.py: Added to project; French mappings by
1805   Stefane Fermigier.
1807 * docutils/languages/it.py: Added to project; Italian mappings by
1808   Nicola Larosa.
1810 * docutils/languages/sk.py: Added to project; Slovak mappings by
1811   Miroslav Vasko.
1813 * docutils/parser/__init__.py:
1815   - Added ``Parser.finish_parse()`` method.
1817 * docutils/parser/rst/__init__.py:
1819   - Added options: "--pep-references", "--rfc-references",
1820     "--tab-width", "--trim-footnote-reference-space".
1822 * docutils/parsers/rst/states.py:
1824   - Changed "title under/overline too short" system messages from INFO
1825     to WARNING, and fixed its insertion location.
1826   - Fixed enumerated list item parsing to allow paragraphs & section
1827     titles to begin with enumerators.
1828   - Converted system messages to use the new "line" attribute.
1829   - Fixed a substitution reference edge case.
1830   - Added support for "--pep-references" and "--rfc-references"
1831     options; reworked ``Inliner`` code to make customization easier.
1832   - Removed field argument parsing.
1833   - Added support for short section title over/underlines.
1834   - Fixed "simple reference name" regexp to ignore text like
1835     "object.__method__"; not an anonymous reference.
1836   - Added support for improved diagnostics.
1837   - Reworked directive API, based on Dethe Elza's contribution.  Added
1838     ``Body.parse_directive()``, ``.parse_directive_options()``,
1839     ``.parse_directive_arguments()`` methods.
1840   - Added ``ExtensionOptions`` class, to parse directive options
1841     without parsing field bodies.  Factored
1842     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
1843     ``ExtensionOptions``.
1844   - Improved definition list term/classifier parsing.
1845   - Added warnings for unknown directives.
1846   - Renamed ``Stuff`` to ``Struct``.
1847   - Now flagged as errors: transitions at the beginning or end of
1848     sections, empty sections (except title), and empty documents.
1849   - Updated for ``statemachine.StringList``.
1850   - Enabled recognition of schemeless email addresses in targets.
1851   - Added support for embedded URIs in hyperlink references.
1852   - Added backslash-escapes to inline markup end-string suffix.
1853   - Added support for correct interpreted text processing.
1854   - Fixed nested title parsing (topic, sidebar directives).
1855   - Added special processing of backslash-escaped whitespace (idea
1856     from David Abrahams).
1857   - Made substitutions case-sensitive-but-forgiving; moved some code
1858     to ``docutils.nodes``.
1859   - Added support for block quote attributions.
1860   - Added a kludge to work-around a conflict between the bubble-up
1861     parser strategy and short titles (<= 3 char-long over- &
1862     underlines).  Fixes SF bug #738803 "infinite loop with multiple
1863     titles" submitted by Jason Diamond.
1864   - Added explicit interpreted text roles for standard inline markup:
1865     "emphasis", "strong", "literal".
1866   - Implemented "superscript" and "subscript" interpreted text roles.
1867   - Added initial support for "abbreviation" and "acronym" roles;
1868     incomplete.
1869   - Added support for "--trim-footnote-reference-space" option.
1870   - Optional space before colons in directives & hyperlink targets.
1872 * docutils/parsers/rst/tableparser.py:
1874   - Fixed a bug that was producing unwanted empty rows in "simple"
1875     tables.
1876   - Detect bad column spans in "simple" tables.
1878 * docutils/parsers/rst/directives: Updated all directive functions to
1879   new API.
1881 * docutils/parsers/rst/directives/__init__.py:
1883   - Added ``flag()``, ``unchanged()``, ``path()``,
1884     ``nonnegative_int()``, ``choice()``, and ``class_option()``
1885     directive option helper functions.
1886   - Added warnings for unknown directives.
1887   - Return ``None`` for missing directives.
1888   - Added ``register_directive()``, thanks to William Dode and Paul
1889     Moore.
1891 * docutils/parsers/rst/directives/admonitions.py:
1893   - Added "admonition" directive.
1895 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
1896   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
1897   "parsed-literal", "rubric", "epigraph", "highlights" and
1898   "pull-quote" directives.
1900 * docutils/parsers/rst/directives/images.py:
1902   - Added an "align" attribute to the "image" & "figure" directives
1903     (by Adam Chodorowski).
1904   - Added "class" option to "image", and "figclass" to "figure".
1906 * docutils/parsers/rst/directives/misc.py:
1908   - Added "include", "raw", and "replace" directives, courtesy of
1909     Dethe Elza.
1910   - Added "unicode" and "class" directives.
1912 * docutils/parsers/rst/directives/parts.py:
1914   - Added the "sectnum" directive; by Dmitry Jemerov.
1915   - Added "class" option to "contents" directive.
1917 * docutils/parsers/rst/directives/references.py: Added to project.
1918   Contains the "target-notes" directive.
1920 * docutils/parsers/rst/languages/__init__.py:
1922   - Return ``None`` from get_language() for missing language modules.
1924 * docutils/parsers/rst/languages/de.py: Added to project; German
1925   mappings by Engelbert Gruber.
1927 * docutils/parsers/rst/languages/en.py:
1929   - Added interpreted text roles mapping.
1931 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
1932   mappings by Marcelo Huerta San Martin.
1934 * docutils/parsers/rst/languages/fr.py: Added to project; French
1935   mappings by William Dode.
1937 * docutils/parsers/rst/languages/it.py: Added to project; Italian
1938   mappings by Nicola Larosa.
1940 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
1941   mappings by Miroslav Vasko.
1943 * docutils/readers/__init__.py:
1945   - Added support for the observer pattern from ``utils.Reporter``, in
1946     ``Reader.parse`` and ``Reader.transform``.
1947   - Removed ``Reader.transform()`` method.
1948   - Added default parameter values to ``Reader.__init__()`` to make
1949     instantiation easier.
1950   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
1952 * docutils/readers/pep.py:
1954   - Added the ``peps.TargetNotes`` transform to the Reader.
1955   - Removed PEP & RFC reference detection code; moved to
1956     parsers/rst/states.py as options (enabled here by default).
1957   - Added support for pre-acceptance PEPs (no PEP number yet).
1958   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
1959     easy subclassing.
1961 * docutils/readers/python: Python Source Reader subpackage added to
1962   project, including preliminary versions of:
1964   - __init__.py
1965   - moduleparser.py: Parser for Python modules.
1967 * docutils/transforms/__init__.py:
1969   - Added ``Transformer`` class and completed transform reform.
1970   - Added unknown_reference_resolvers list for each transformer. This list holds
1971     the list of functions provided by each component of the transformer that
1972     help resolve references.
1974 * docutils/transforms/frontmatter.py:
1976   - Improved support for generic fields.
1977   - Fixed bibliographic field language lookups.
1979 * docutils/transforms/misc.py: Added to project.  Miscellaneous
1980   transforms.
1982 * docutils/transforms/parts.py:
1984   - Moved the "id" attribute from TOC list items to the references
1985     (``Contents.build_contents()``).
1986   - Added the ``SectNum`` transform; by Dmitry Jemerov.
1987   - Added "class" attribute support to ``Contents``.
1989 * docutils/transforms/peps.py:
1991   - Added ``mask_email()`` function, updating to pep2html.py's
1992     functionality.
1993   - Linked "Content-Type: text/x-rst" to PEP 12.
1994   - Added the ``TargetNotes`` PEP-specific transform.
1995   - Added ``TargetNotes.cleanup_callback``.
1996   - Added title check to ``Headers``.
1998 * docutils/transforms/references.py:
2000   - Added the ``TargetNotes`` generic transform.
2001   - Split ``Hyperlinks`` into multiple transforms.
2002   - Fixed bug with multiply-indirect references (report: Bruce Smith).
2003   - Added check for circular indirect references.
2004   - Made substitutions case-sensitive-but-forgiving.
2006 * docutils/transforms/universal.py:
2008   - Added support for the "--expose-internal-attributes" option.
2009   - Removed ``Pending`` transform classes & data.
2011 * docutils/writers/__init__.py:
2013   - Removed ``Writer.transform()`` method.
2015 * docutils/writers/docutils-xml.py:
2017   - Added XML and doctype declarations.
2018   - Added "--no-doctype" and "--no-xml-declaration" options.
2020 * docutils/writers/html4css1.py:
2022   - "name" attributes only on these tags: a, applet, form, frame,
2023     iframe, img, map.
2024   - Added "name" attribute to <a> in section titles for Netscape 4
2025     support (bug report: Pearu Peterson).
2026   - Fixed targets (names) on footnote, citation, topic title,
2027     problematic, and system_message nodes (for Netscape 4).
2028   - Changed field names from "<td>" to "<th>".
2029   - Added "@" to "&#64;" encoding to thwart address harvesters.
2030   - Improved the vertical whitespace optimization; ignore "invisible"
2031     nodes (targets, comments, etc.).
2032   - Improved inline literals with ``<span class="pre">`` around chunks
2033     of text and ``&nbsp;`` for runs of spaces.
2034   - Improved modularity of output; added ``self.body_pre_docinfo`` and
2035     ``self.docinfo`` segments.
2036   - Added support for "line_block", "address" elements.
2037   - Improved backlinks (footnotes & system_messages).
2038   - Improved system_message output.
2039   - Redefined "--stylesheet" as containing an invariant URL, used
2040     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
2041     working directory.
2042   - Added "--footnote-references" option (superscript or brackets).
2043   - Added "--compact-lists" and "--no-compact-lists" options.
2044   - Added "--embed-stylesheet" and "--link-stylesheet" options;
2045     factored out ``HTMLTranslator.get_stylesheet_reference()``.
2046   - Improved field list rendering.
2047   - Added Docutils version to "generator" meta tag.
2048   - Fixed a bug with images; they must be inline, so wrapped in <p>.
2049   - Improved layout of <pre> HTML source.
2050   - Fixed attribute typo on <colspec>.
2051   - Refined XML prologue.
2052   - Support for no stylesheet.
2053   - Removed "interpreted" element support.
2054   - Added support for "title_reference", "sidebar", "attribution",
2055     "rubric", and generic "admonition" elements.
2056   - Added "--attribution" option.
2057   - Added support for "inline", "subscript", "superscript" elements.
2058   - Added initial support for "abbreviation" and "acronym";
2059     incomplete.
2061 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2062   (from the sandbox).
2064   - Added french.
2065   - Double quotes in literal blocks (special treatment for de/ngerman).
2066   - Added '--hyperlink-color' option ('0' turns off coloring of links).
2067   - Added  "--attribution" option.
2068   - Right align attributions.
2070 * docutils/writers/pep_html.py:
2072   - Parameterized output encoding in PEP template.
2073   - Reworked substitutions from ``locals()`` into ``subs`` dict.
2074   - Redefined "--pep-stylesheet" as containing an invariant URL, used
2075     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
2076     working directory.
2077   - Added an override on the "--footnote-references" option.
2078   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2079   - Added Docutils version to "generator" meta tag.
2080   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2082 * docs/tools.txt:
2084   - Added a "silent" setting for ``buildhtml.py``.
2085   - Added a "Getting Help" section.
2086   - Rearranged the structure.
2087   - Kept up to date, with new settings, command-line options etc.
2088   - Added section for ``rst2latex.py`` (Engelbert Gruber).
2089   - Converted settings table into a definition list.
2091 * docs/rst/quickstart.txt:
2093   - Added a table of contents.
2094   - Added feedback information.
2095   - Added mention of minimum section title underline lengths.
2096   - Removed the 4-character minimum for section title underlines.
2098 * docs/rst/quickref.html:
2100   - Added a "Getting Help" section.
2101   - Added a style to make section title backlinks more subtle.
2102   - Added mention of minimum section title underline lengths.
2103   - Removed the 4-character minimum for section title underlines.
2105 * extras: Directory added to project; contains third-party modules
2106   that Docutils depends on (optparse, textwrap, roman).  These are
2107   only installed if they're not already present.
2109 * licenses: Directory added to project; contains copies of license
2110   files for non-public-domain files.
2112 * spec/doctree.txt:
2114   - Changed the focus.  It's about DTD elements:  structural
2115     relationships, semantics, and external (public) attributes.  Not
2116     about the element class library.
2117   - Moved some implementation-specific stuff into ``docutils.nodes``
2118     docstrings.
2119   - Wrote descriptions of all common attributes and parameter
2120     entities.  Filled in introductory material.
2121   - Working through the element descriptions: 55 down, 37 to go.
2122   - Removed "Representation of Horizontal Rules" to
2123     spec/rst/alternatives.txt.
2125 * spec/docutils.dtd:
2127   - Added "generated" inline element.
2128   - Added "line_block" body element.
2129   - Added "auto" attribute to "title".
2130   - Changed content models of "literal_block" and "doctest_block" to
2131     ``%text.model``.
2132   - Added ``%number;`` attribute type parameter entity.
2133   - Changed ``%structural.elements;`` to ``%section.elements``.
2134   - Updated attribute types; made more specific.
2135   - Added "address" bibliographic element.
2136   - Added "line" attribute to ``system_message`` element.
2137   - Removed "field_argument" element; "field_name" may contain
2138     multiple words and whitespace.
2139   - Changed public identifier to docutils.sf.net.
2140   - Removed "interpreted" element; added "title_reference",
2141     "abbreviation", "acronym".
2142   - Removed "refuri" attribute from "footnote_reference" and
2143     "citation_reference".
2144   - Added "sidebar", "rubric", "attribution", "admonition",
2145     "superscript", "subscript", and "inline" elements.
2147 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2149 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2151 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2153 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2154   Dallas Mahrt.
2156 * spec/transforms.txt: Added to project.
2158 * spec/howto: Added subdirectory, for developer how-to docs.
2160 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
2161   Elza, edited & extended by David Goodger.
2163 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
2164   project.
2166 * spec/rst/alternatives.txt:
2168   - Added "Doctree Representation of Transitions" from
2169     spec/doctree.txt.
2170   - Updated "Inline External Targets" & closed the debate.
2171   - Added ideas for interpreted text syntax extensions.
2172   - Added "Nested Inline Markup" section.
2174 * spec/rst/directives.txt:
2176   - Added directives: "topic", "sectnum", "target-notes",
2177     "line-block", "parsed-literal", "include", "replace", "sidebar",
2178     "admonition", "rubric", "epigraph", "highlights", "unicode" and
2179     "class".
2180   - Formalized descriptions of directive details.
2181   - Added an "align" attribute to the "image" & "figure" directives
2182     (by Adam Chodorowski).
2183   - Added "class" options to "topic", "sidebar", "line-block",
2184     "parsed-literal", "contents", and "image"; and "figclass" to
2185     "figure".
2187 * spec/rst/interpreted.txt: Added to project.  Descriptions of
2188   interpreted text roles.
2190 * spec/rst/introduction.txt:
2192   - Added pointers to material for new users.
2194 * spec/rst/reStructuredText.txt:
2196   - Disambiguated comments (just add a newline after the "::").
2197   - Updated enumerated list description; added a discussion of the
2198     second-line validity checking.
2199   - Updated directive description.
2200   - Added a note redirecting newbies to the user docs.
2201   - Expanded description of inline markup start-strings in non-markup
2202     contexts.
2203   - Removed field arguments and made field lists a generic construct.
2204   - Removed the 4-character minimum for section title underlines.
2205   - Clarified term/classifier delimiter & inline markup ambiguity
2206     (definition lists).
2207   - Added "Embedded URIs".
2208   - Updated "Interpreted Text" section.
2209   - Added "Character-Level Inline Markup" section.
2211 * test: Continually adding & updating tests.
2213   - Moved test/test_rst/ to test/test_parsers/test_rst/.
2214   - Moved test/test_pep/ to test/test_readers/test_pep/.
2215   - Added test/test_readers/test_python/.
2216   - Added test/test_writers/ (Engelbert Gruber).
2218 * tools:
2220   - Made the ``locale.setlocale()`` calls in front ends
2221     fault-tolerant.
2223 * tools/buildhtml.py:
2225   - Added "--silent" option.
2226   - Fixed bug with absolute paths & "--config".
2227   - Updated for new I/O classes.
2228   - Added some exception handling.
2229   - Separated publishers' setting defaults; prevents interference.
2230   - Updated for new ``publish_file()`` convenience function.
2232 * tools/pep-html-template:
2234   - Allow for "--embed-stylesheet".
2235   - Added Docutils version to "generator" meta tag.
2236   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2237   - Conform to XHTML spec.
2239 * tools/pep2html.py:
2241   - Made ``argv`` a parameter to ``main()``.
2242   - Added support for "Content-Type:" header & arbitrary PEP formats.
2243   - Linked "Content-Type: text/plain" to PEP 9.
2244   - Files skipped (due to an error) are not pushed onto the server.
2245   - Updated for new I/O classes.
2246   - Added ``check_requirements()`` & ``pep_type_error()``.
2247   - Added some exception handling.
2248   - Updated for new ``publish_string()`` convenience function.
2249   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2251 * tools/quicktest.py:
2253   - Added "-V"/"--version" option.
2255 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2257 * tools/unicode2rstsubs.py: Added to project.  Produces character
2258   entity files (reSructuredText substitutions) from the MathML master
2259   unicode.xml file.
2261 * tools/editors: Support code for editors, added to project.  Contains
2262   ``emacs/restructuredtext.el``.
2264 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2266   - Added style for chunks of inline literals.
2267   - Removed margin for first child of table cells.
2268   - Right-aligned field list names.
2269   - Support for auto-numbered section titles in TOCs.
2270   - Increased the size of inline literals (<tt>) in titles.
2271   - Restored the light gray background for inline literals.
2272   - Added support for "line_block" elements.
2273   - Added style for "address" elements.
2274   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2275   - Improved field list rendering.
2276   - Vertical whitespace improvements.
2277   - Removed "a.target" style.
2279 * tools/stylesheets/pep.css:
2281   - Fixed nested section margins.
2282   - Other changes parallel those of ``../default.css``.
2285 Release 0.2 (2002-07-31)
2286 ========================
2288 General:
2290 - The word "component" was being used ambiguously.  From now on,
2291   "component" will be used to mean "Docutils component", as in Reader,
2292   Writer, Parser, or Transform.  Portions of documents (Table of
2293   Contents, sections, etc.)  will be called "document parts".
2294 - Did a grand renaming: a lot of ``verylongnames`` became
2295   ``very_long_names``.
2296 - Cleaned up imports: no more relative package imports or
2297   comma-separated lists of top-level modules.
2298 - Added support for an option values object which carries default
2299   settings and overrides (from command-line options and library use).
2300 - Added internal Unicode support, and support for both input and
2301   output encodings.
2302 - Added support for the ``docutils.io.IO`` class & subclasses.
2304 Specific:
2306 * docutils/__init__.py:
2308   - Added ``ApplicationError`` and ``DataError``, for use throughout
2309     the package.
2310   - Added ``Component`` base class for Docutils components; implements
2311     the ``supports`` method.
2312   - Added ``__version__`` (thus, ``docutils.__version__``).
2314 * docutils/core.py:
2316   - Removed many keyword parameters to ``Publisher.__init__()`` and
2317     ``publish()``; bundled into an option values object.  Added
2318     "argv", "usage", "description", and "option_spec" parameters for
2319     command-line support.
2320   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2321     methods.
2322   - Reworked I/O model for ``docutils.io`` wrappers.
2323   - Updated ``Publisher.set_options()``; now returns option values
2324     object.
2325   - Added support for configuration files (/etc/docutils.conf,
2326     ./docutils.conf, ~/.docutils).
2327   - Added ``Publisher.setup_option_parser()``.
2328   - Added default usage message and description.
2330 * docutils/frontend.py: Added to project; support for front-end
2331   (command-line) scripts.  Option specifications may be augmented by
2332   components.  Requires Optik (http://optik.sf.net/) for option
2333   processing (installed locally as docutils/optik.py).
2335 * docutils/io.py: Added to project; uniform API for a variety of input
2336   output mechanisms.
2338 * docutils/nodes.py:
2340   - Added ``TreeCopyVisitor`` class.
2341   - Added a ``copy`` method to ``Node`` and subclasses.
2342   - Added a ``SkipDeparture`` exception for visitors.
2343   - Renamed ``TreePruningException`` from ``VisitorException``.
2344   - Added docstrings to ``TreePruningException``, subclasses, and
2345     ``Nodes.walk()``.
2346   - Improved docstrings.
2347   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2348   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2349     imports.
2350   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2351     ``PreDecorative`` mixin.
2352   - Reworked the name/id bookkeeping; to ``document``, removed
2353     ``explicit_targets`` and ``implicit_targets`` attributes, added
2354     ``nametypes`` attribute and ``set_name_id_map`` method.
2355   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2356     traversals.
2357   - Added ``document.has_name()`` method.
2358   - Fixed DOM generation for list-attributes.
2359   - Added category class ``Labeled`` (used by footnotes & citations).
2360   - Added ``Element.set_class()`` method (sets "class" attribute).
2362 * docutils/optik.py: Added to project.  Combined from the Optik
2363   package, with added option groups and other modifications.  The use
2364   of this module is probably only temporary.
2366 * docutils/statemachine.py:
2368   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2369   - Added underscores to improve many awkward names.
2370   - In ``string2lines()``, changed whitespace normalizing translation
2371     table to regexp; restores Python 2.0 compatibility with Unicode.
2373 * docutils/urischemes.py:
2375   - Filled in some descriptions.
2376   - Added "shttp" scheme.
2378 * docutils/utils.py:
2380   - Added ``clean_rcs_keywords`` function (moved from
2381     docutils/transforms/frontmatter.py
2382     ``DocInfo.filter_rcs_keywords``).
2383   - Added underscores to improve many awkward names.
2384   - Changed names of Reporter's thresholds:
2385     warning_level -> report_level; error_level -> halt_level.
2386   - Moved ``utils.id()`` to ``nodes.make_id()``.
2387   - Added ``relative_path(source, target)``.
2389 * docutils/languages/de.py: German mappings; added to project.  Thanks
2390   to Gunnar Schwant for the translations.
2392 * docutils/languages/en.py: Added "Dedication" bibliographic field
2393   mappings.
2395 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2396   Chodorowski.
2398 * docutils/parsers/rst/states.py:
2400   - Added underscores to improve many awkward names.
2401   - Added RFC-2822 header support.
2402   - Extracted the inline parsing code from ``RSTState`` to a separate
2403     class, ``Inliner``, which will allow easy subclassing.
2404   - Made local bindings for ``memo`` container & often-used contents
2405     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2406   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2407   - Added ``MarkupMismatch`` exception; for late corrections.
2408   - Added ``-/:`` characters to inline markup's start string prefix,
2409     ``/`` to end string suffix.
2410   - Fixed a footnote bug.
2411   - Fixed a bug with literal blocks.
2412   - Applied patch from Simon Budig: simplified regexps with symbolic
2413     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2414   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2415   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2416   - Allowed non-ASCII in "simple names" (directive names, field names,
2417     references, etc.).
2418   - Converted ``Inliner.patterns.initial`` to be dynamically built
2419     from parts with ``build_regexp()`` function.
2420   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2421   - Updated docstrings.
2422   - Changed "table" to "grid_table"; added "simple_table" support.
2424 * docutils/parsers/rst/tableparser.py:
2426   - Changed ``TableParser`` to ``GridTableParser``.
2427   - Added ``SimpleTableParser``.
2428   - Refactored naming.
2430 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2431   a fallback language for directive names.
2433 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2434   directive to use a ``pending`` element, used only by HTML writers.
2436 * docutils/parsers/rst/directives/parts.py: Renamed from
2437   components.py.
2439   - Added "backlinks" attribute to "contents" directive.
2441 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2442   project by Adam Chodorowski.
2444 * docutils/readers/__init__.py: Gave Readers more control over
2445   choosing and instantiating Parsers.
2447 * docutils/readers/pep.py: Added to project; for PEP processing.
2449 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2450   requires a ``component`` parameter.
2452 * docutils/transforms/components.py: Added to project; transforms
2453   related to Docutils components.
2455 * docutils/transforms/frontmatter.py:
2457   - In ``DocInfo.extract_authors``, check for a single "author" in an
2458     "authors" group, and convert it to a single "author" element.
2459   - Added support for "Dedication" and generic bibliographic fields.
2461 * docutils/transforms/peps.py: Added to project; PEP-specific.
2463 * docutils/transforms/parts.py: Renamed from old components.py.
2465   - Added filter for `Contents`, to use alt-text for inline images,
2466     and to remove inline markup that doesn't make sense in the ToC.
2467   - Added "name" attribute to TOC topic depending on its title.
2468   - Added support for optional TOC backlinks.
2470 * docutils/transforms/references.py: Fixed indirect target resolution
2471   in ``Hyperlinks`` transform.
2473 * docutils/transforms/universal.py:
2475   - Changed ``Messages`` transform to properly filter out system
2476     messages below the warning threshold.
2477   - Added ``Decorations`` transform (support for ``--generator``,
2478     ``--date``, ``--time``, ``--source-link`` options).
2480 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2481   Engelbert Gruber's PDF writer.
2483 * docutils/writers/html4css1.py:
2485   - Made XHTML-compatible (switched to lowercase element & attribute
2486     names; empty tag format).
2487   - Escape double-dashes in comment text.
2488   - Improved boilerplate & modularity of output.
2489   - Exposed modular output in Writer class.
2490   - Added a "generator" meta tag to <head>.
2491   - Added support for the ``--stylesheet`` option.
2492   - Added support for ``decoration``, ``header``, and ``footer``
2493     elements.
2494   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2495     translation table to regexp; restores Python 2.0 compatibility
2496     with Unicode.
2497   - Added the translator class as instance variable to the Writer, to
2498     make it easily subclassable.
2499   - Improved option list spacing (thanks to Richard Jones).
2500   - Modified field list output.
2501   - Added backlinks to footnotes & citations.
2502   - Added percentage widths to "<col>" tags (from colspec).
2503   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2504     "<span>" changed to "<var>".
2505   - Inline literals: "<code>" changed to "<tt>".
2506   - Many changes to optimize vertical space: compact simple lists etc.
2507   - Add a command-line options & directive attributes to control TOC
2508     and footnote/citation backlinks.
2509   - Added support for optional footnote/citation backlinks.
2510   - Added support for generic bibliographic fields.
2511   - Identify backrefs.
2512   - Relative URLs for stylesheet links.
2514 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2515   PEPs (subclass of ``html4css1.Writer``).
2517 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2519 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2520   of the Docutils internal doctree in XML.
2522 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2524 * spec/doctree.txt:
2526   - Changed the title to "The Docutils Document Tree".
2527   - Added "Hyperlink Bookkeeping" section.
2529 * spec/docutils.dtd:
2531   - Added ``decoration``, ``header``, and ``footer`` elements.
2532   - Brought ``interpreted`` element in line with the parser: changed
2533     attribute "type" to "role", added "position".
2534   - Added support for generic bibliographic fields.
2536 * spec/notes.txt: Continual updates.  Added "Project Policies".
2538 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
2539   section.
2541 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2543 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
2544   mailing list discussions.
2546 * spec/pep-0287.txt:
2548   - Renamed to "reStructuredText Docstring Format".
2549   - Minor edits.
2550   - Reworked Q&A as an enumerated list.
2551   - Converted to reStructuredText format.
2553 * spec/pysource.dtd:
2555   - Reworked structural elements, incorporating ideas from Tony Ibbs.
2557 * spec/pysource.txt: Removed from project.  Moved much of its contents
2558   to pep-0258.txt.
2560 * spec/rst/alternatives.txt:
2562   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2563   - Added "Inline External Targets" section.
2565 * spec/rst/directives.txt:
2567   - Added "backlinks" attribute to "contents" directive.
2569 * spec/rst/problems.txt:
2571   - Updated the Enumerated List Markup discussion.
2572   - Added new alternative table markup syntaxes.
2574 * spec/rst/reStructuredText.txt:
2576   - Clarified field list usage.
2577   - Updated enumerated list description.
2578   - Clarified purpose of directives.
2579   - Added ``-/:`` characters to inline markup's start string prefix,
2580     ``/`` to end string suffix.
2581   - Updated "Authors" bibliographic field behavior.
2582   - Changed "inline hyperlink targets" to "inline internal targets".
2583   - Added "simple table" syntax to supplement the existing but
2584     newly-renamed "grid tables".
2585   - Added cautions for anonymous hyperlink use.
2586   - Added "Dedication" and generic bibliographic fields.
2588 * test: Made test modules standalone (subdirectories became packages).
2590 * test/DocutilsTestSupport.py:
2592   - Added support for PEP extensions to reStructuredText.
2593   - Added support for simple tables.
2594   - Refactored naming.
2596 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2598   - Now supports true packages containing test modules
2599     (``__init__.py`` files required); fixes duplicate module name bug.
2601 * test/test_pep/: Subpackage added to project; PEP testing.
2603 * test/test_rst/test_SimpleTableParser.py: Added to project.
2605 * tools:
2607   - Updated html.py and publish.py front-end tools to use the new
2608     command-line processing facilities of ``docutils.frontend``
2609     (exposed in ``docutils.core.Publisher``), reducing each to just a
2610     few lines of code.
2611   - Added ``locale.setlocale()`` calls to front-end tools.
2613 * tools/buildhtml.py: Added to project; batch-generates .html from all
2614   the .txt files in directories and subdirectories.
2616 * tools/default.css:
2618   - Added support for ``header`` and ``footer`` elements.
2619   - Added styles for "Dedication" topics (biblio fields).
2621 * tools/docutils.conf: A configuration file; added to project.
2623 * tools/docutils-xml.py: Added to project.
2625 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2627 * tools/pep-html-template: Added to project.
2629 * tools/pep2html.py: Added to project from Python (nondist/peps).
2630   Added support for Docutils (reStructuredText PEPs).
2632 * tools/quicktest.py:
2634   - Added the ``--attributes`` option, hacked a bit.
2635   - Added a second command-line argument (output file); cleaned up.
2637 * tools/stylesheets/: Subdirectory added to project.
2639 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2642 Release 0.1 (2002-04-20)
2643 ========================
2645 This is the first release of Docutils, merged from the now inactive
2646 reStructuredText__ and `Docstring Processing System`__ projects.  For
2647 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2648 `DPS HISTORY`__ files.
2650 __ http://structuredtext.sourceforge.net/
2651 __ http://docstring.sourceforge.net/
2652 __ http://structuredtext.sourceforge.net/HISTORY.html
2653 __ http://docstring.sourceforge.net/HISTORY.html
2655 General changes: renamed 'dps' package to 'docutils'; renamed
2656 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2657 the test suites (reStructuredText's test/test_states renamed to
2658 test/test_rst); and all modifications required to make it all work.
2660 * docutils/parsers/rst/states.py:
2662   - Improved diagnostic system messages for missing blank lines.
2663   - Fixed substitution_reference bug.
2667    Local Variables:
2668    mode: indented-text
2669    indent-tabs-mode: nil
2670    sentence-end-double-space: t
2671    fill-column: 70
2672    End: