Put leavevmode before longtable to avoid having it moved before sub/pargraph.
[docutils.git] / HISTORY.txt
blobdbc0b52c0c34a8c716ca7118bb872a393d7e0d08
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.4
18 =================
20 * docutils/languages/he.py: Added to project: Hebrew mappings by
21   Meir Kriheli.
23 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew 
24   mappings by Meir Kriheli.
26 * docutils/frontend.py:
28   - Configuration files are now assumed and required to be
29     UTF-8-encoded.
30   - Paths of applied configuration files are now recorded in the
31     runtime setting ``_config_files`` (accessible via
32     ``--dump-settings``).
33   - Added ``--strip-elements-with-class`` and ``--strip-class``
34     options (``strip_elements_with_classes`` and ``strip_classes``
35     settings).
37 * docutils/io.py:
39   - Added code to determine the input encoding from data: encoding
40     declarations or the presence of byte order marks (UTF-8 & UTF-16).
41   - Added support for IronPython 1.0.
43 * docutils/nodes.py:
45   - Added ``document.__getstate__`` method, for pickling.
47 * docutils/parsers/rst/states.py:
49   - Unquoted targets beginning with an underscore (``.. __target:
50     URI``) are no longer accepted.
51   - Added support for multiple attributions in a physical block quote
52     (indented text block), dividing it into multiple logical block
53     quotes.
54   - Added support for unicode bullets in bullet lists: "•", "‣", and
55     "⁃".
56   - Added support for new object-oriented directive interface,
57     retaining compatibility to the old functional interface.
58   - Added support for throwing ``DirectiveError``'s from within
59     directive code.
61 * docutils/parsers/rst/__init__.py:
63   - Added ``Directive`` base class.
64   - Added ``DirectiveError`` base class.
65   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
66     definitions.
68 * docutils/parsers/directives/:
70   - Refactored all reStructuredText directives to use the new
71     object-oriented directive interface.  Errors are now (mostly)
72     thrown using the new ``DirectiveError`` class.
74 * docutils/parsers/directives/misc.py:
76   - Added ``start-after`` and ``end-before`` options to ``include``
77     directive; thanks to Stefan Rank.
79 * docutils/transforms/universal.py:
81   - Added ``StripClassesAndElements`` transform to remove from the
82     document tree all elements with classes in
83     ``settings.strip_elements_with_classes`` and all "classes"
84     attribute values in ``self.document.settings.strip_classes``.
86 * docutils/transforms/writer_aux.py:
88   - Added ``Admonitions`` transform to transform specific admonitions
89     (like ``note``, ``warning``, etc.) into generic admonitions with a
90     localized title.
92 * docutils/writers/html4css1/__init__.py:
94   - Moved template functionality from the PEP/HTML writer here.
95   - Expanded the fragments available in the ``parts`` attribute.
96   - Moved ``id`` attributes from titles to surrounding ``div``
97     elements.
98   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
99     universally supported now).
100   - ``template.txt`` is now opened in text mode instead of binary mode
101     (to ensure Windows compatibility).
102   - ``a`` elements now have an "internal" or "external" class,
103     depending on reference type.
105 * docutils/writers/html4css1/template.txt: Added to project.
107 * docutils/writers/pep_html/:
109   - Moved template functionality to the HTML writer.
111 * docutils/writers/s5_html/__init__.py:
113   - Added ``view_mode`` & ``hidden_controls`` settings
114     (``--view-mode`` & ``--hidden-controls/--visible-controls``
115     options).
117 * docutils/writers/latex2e/__init__.py:
119   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
120   - Using leavemode optoin_list no longer needs to check if parent
121     is a definition list.
122   - Append ``\leavemode`` to definition list terms.
123   - No longer write visit\_/depart_definition_list_item comments to
124     output.
125   - Table column width with 3 decimal places.
126   - Add table stubs support (boldfont).
127   - Add assemble_parts to writer.
128   - Add simply support for nested tables.
129   - Fix verbatim in tables if use-verbatim-when-possible.
130   - Use section commands down to subparagraph.
131   - Put ensuremath around some latin1 chars.
132   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
133   - New option ``--use-bibtex=style,db1,db2``.
134   - New option ``--reference-label`` to allow usage of LaTeX ref for 
135     labels in section references.
136   - Add a label after every section to support sectionnumbers as reference
137     labels.
138   - Fix: bug# 1605376 rst2latex: bad options group list
139   - Remove inactive code for use_optionlist_for_option_list.
140   - Remove latex comments from option_list output.
141   - Fix: bug# 1612270 double qoutes in italian literal.
142   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target. 
143   - Add option --use-latex-abstract.
144   - Image width unit ``px`` is translated to ``pt``.
145   - Add image height support.
146   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
147     bug #1457388
148   - Fix: Do not escape underscores in citation reference labels if
149     use-latex-citations is set.
150   - Use centering instead of center for figure contents, to avoid vertical
151     space.
152   - Recognize table class: borderless, nolines, booktabs, standard.
153   - Fix: Renaming contents section does not work with latex writer; SF
154     bug #1487405.
155   - Applied patch for custom roles with classes from Edward Loper.
156   - Fixed bug that caused crashes with more than 256 lists.
158 * docutils/writers/pep_html/__init__.py:
160   - Changed to support new python.org website structure and
161     pep2pyramid.py.
163 * docs/howto/security.txt: "Deploying Docutils Securely", added to
164   project.
166 * tools/buildhtml.py:
168   -- Added ``ignore`` setting to exclude a list of shell patterns
169      (default: ``.svn:CVS``).
171 * tools/editors/emacs/rst.el:
173   - Changed license to "GPL".
174   - Added ``rst-straighten-decorations`` function.
175   - The ``compile`` module is now always loaded.
176   - Added ``rst-toggle-line-block`` function.
177   - Headings consisting only of non-ASCII characters are now
178     recognized by ``rst-toc`` and ``rst-adjust``.
179   - Added font-lock support for multi-line comments where the first
180     comment line is empty.
181   - Added ``(require 'font-lock)``.
183 * setup.py:
185   - Provide descriptive error message if distutils is missing.
188 Release 0.4 (2006-01-09)
189 ========================
191 * General:
193   - Updated the project policies for trunk/branch development &
194     version numbering.
196 * docutils/__init__.py:
198   - Added ``__version_details__`` attribute to describe code source
199     (repository/snapshot/release).
200   - Replaced ``default_transforms`` attribute of TransformSpec with
201     ``get_transforms()`` method.
203 * docutils/core.py:
205   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
206     functions, for document tree extraction and reprocessing.
208 * docutils/io.py:
210   - Added ``DocTreeInput`` class, for reprocessing existing documents.
211   - Added support for non-Unicode (e.g. binary) writer output.
213 * docutils/nodes.py:
215   - Re-introduced ``Targetable.indirect_reference_name``, for
216     MoinMoin/reST compatibility (removed in r3124/r3129).
217   - Added ``serial_escape`` function; escapes string values that are
218     elements of a list, for serialization.  Modified Docutils-XML
219     writing (``Element._dom_node``) and pseudo-XML writing
220     (``Element.starttag``) to use ``serial_escape``.
221   - Added ``Node.deepcopy()`` method.
222   - Removed the internal lists ``document.substitution_refs``,
223     ``document.anonymous_refs``, and ``document.anonymous_targets``.
224   - Added a "container" element.
225   - Fixed bug where values of list-valued attributes of elements
226     originating from custom interpreted text roles (i.e., with custom
227     classes) were being shared between element instances.  Reported by
228     Shmuel Zeigerman.
230 * docutils/statemachine.py:
232   - Added trailing whitespace stripping to ``string2lines()``.
233   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
234     Asian double-width character support.
236 * docutils/utils.py:
238   - Added ``east_asian_column_width()`` for double-width character
239     support.
241 * docutils/languages/ja.py: Added to project: Japanese mappings by
242   Hisashi Morita.
244 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
245   mappings by Panjunyong.
247 * docutils/parsers/null.py: Added to project; a do-nothing parser.
249 * docutils/parsers/rst/__init__.py:
251   - Added validator to tab_width setting, with test.  Closes SF bug
252     #1212515, report from Wu Wei.
254 * docutils/parsers/rst/states.py:
256   - Fixed bug with escaped colons indicating a literal block.
257   - Fixed bug with enumerated lists (SF#1254145).
258   - Backslash-escaped colons inside of field names are now allowed.
259   - Targets (implicit and explicit), anonymous hyperlink references
260     and auto-numbered footnote references inside of substitution
261     definitions are now disallowed.
262   - Fixed bug: list items with blank first lines.
263   - Fixed bug: block quote attributions with indented second lines.
264   - Added East Asian double-width character support (Python 2.4 only).
266 * docutils/parsers/rst/tableparser.py:
268   - Added East Asian double-width character support (Python 2.4 only).
270 * docutils/parsers/rst/directives/body.py:
272   - Added the "container" directive.
274 * docutils/parsers/rst/directives/misc.py:
276   - Added the "default-role", "title", and "date" directives.
277   - Added standard data file syntax to the "include" directive.
278   - Added support for "class" directive content.
280 * docutils/parsers/rst/directives/images.py:
282   - Added ``indirect_reference_name`` support for images with a target
283     option.
284   - Added support for image width and height units.
285   - Fixed bug with image "target" options.
287 * docutils/parsers/rst/directives/references.py:
289   - Added "class" attribute to "target-notes" directive, for
290     footnote_reference classes.
292 * docutils/parsers/rst/include/: Directory added to project; contains
293   standard data files for the "include" directive.  Initial contents:
294   character entity substitution definition sets, and a set of
295   definitions for S5/HTML presentations.
297 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
298   mappings by David Goodger.
299   
300 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
301   Simplified Chinese mappings by Panjunyong.
303 * docutils/readers/__init__.py:
305   - Added universal.Decorations and universal.ExposeInternals
306     transforms as default transforms for all readers.
307   - Added ``ReReader`` base class for readers that reread an existing
308     document tree.
310 * docutils/readers/doctree.py: Added to project; a reader for existing
311   document trees.
313 * docutils/transforms/frontmatter.py:
315   - Fixed the DocInfo transform to handle SVN-style expansion of the
316     "Date" keyword.
317   - In ``DocInfo.extract_authors``, treat the contents of "authors"
318     fields uniformly.
320 * docutils/transforms/misc.py:
322   - Added misc.Transitions transform, extracted from
323     universal.FinalChecks.
325 * docutils/transforms/references.py:
327   - Added references.DanglingReferences transform, extracted from
328     universal.FinalChecks.
329   - Fixed bug with doubly-indirect substitutions.
330   - Added footnote_reference classes attribute to "TargetNotes".
331   - Fixed bug with circular substitution definitions that put Docutils
332     into an infinite loop.
334 * docutils/transforms/universal.py:
336   - Added universal.ExposeInternals transform, extracted from
337     universal.FinalChecks.
338   - Removed universal.FinalChecks transform (logic has been moved to
339     several new transforms).
340   - Fixed bug with the "expose_internals" setting and Text nodes
341     (exposed by the "rawsource" internal attribute).
342   - Added the universal.StripComments transform, implementation of the
343     "strip_comments" setting.
345 * docutils/transforms/writer_aux.py: Added to project; auxiliary
346   transforms for writers.
348   - Added ``Compound`` transform, which flattens compound paragraphs.
350 * docutils/writers/: Several writer modules (html4css1.py) were
351   converted into packages.  Support modules and data files have been
352   moved into the packages.  The stylesheets for the HTML writers are
353   now installed along with the code, the code knows where to find
354   them, and the default is to use them (actually, to embed them).
355   Some adjustments to configuration files may be necessary.  The
356   easiest way to obtain the new default behavior is to remove all
357   settings whose name includes "stylesheet".
359 * docutils/writers/__init__.py:
361   - Added universal.Messages and universal.FilterMessages transforms
362     as default transforms for all writers.
363   - Added ``UnfilteredWriter`` base class for writers that pass the
364     document tree on unchanged.
366 * docutils/writers/docutils_xml.py:
368   - Made ``xmlcharrefreplace`` the default output encoding error
369     handler.
371 * docutils/writers/html4css1/: 
373   - Added support for image width and height units.
374   - Made ``xmlcharrefreplace`` the default output encoding error
375     handler.
376   - Made ``--embed-stylesheet`` the default rather than
377     ``--link-stylesheet``.
378   - Moved "id" attribute from container (section etc.) to title's <a>
379     tag, to be on the same tag as "name".
380     (!!! To be reverted in Docutils 0.5.)
381   - Added vertical space between fields of field lists.
382   - Added ``--compact-field-lists`` option to remove vertical space in
383     simple field lists.
384   - Made cloaking of email addresses with ``--cloak-email-addresses``
385     less obtrusive.
386   - Fixed support for centered images.
387   - Added support for class="compact" & class="open" lists.
389 * docutils/writers/latex2e/:
391   - Underscores in citekeys are no longer escaped.
393 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
394   mapping of Unicode characters to LaTeX equivalents.
396 * docutils/writers/s5_html/: Package added to project; writer for
397   S5/HTML slide shows.
399 * docs/dev/distributing.txt: Added to project; guide for distributors
400   (package maintainers).
402 * docs/dev/hacking.txt: Added to project; guide for developers.
404 * docs/ref/doctree.txt:
406   - Updated for plural attributes "classes", "ids", "names",
407     "dupnames".
408   - Added the "container" element.
410 * docs/ref/docutils.dtd:
412   - Updated for plural attributes "classes", "ids", "names",
413     "dupnames".
415 * docs/user/emacs.txt: Added to project; a document about Emacs
416   support for reStructuredText and Docutils.
418 * docs/user/links.txt: Added to project; lists of Docutils-related
419   links.
421 * docs/user/mailing-lists.txt: Added to project; information about
422   Docutils-related mailing lists and how to access them.
424 * docs/user/slide-shows.txt: Added to project; example of and docs for
425   the S5/HTML writer (``rst2s5.py`` front end).
427 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
428   Files", added to project.
430 * test/coverage.sh: Added to project; test coverage script.
432 * test/DocutilsTestSupport.py:
434   - Added support for specifying runtime settings at the suite level.
436 * test/test_functional.py:
438   - Added the ``clear_output_directory`` function.
439   - Added support for ``_test_more`` functions in functional test
440     config files.
442 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
444 * tools/rstpep2html.py: Renamed from pep.py.
446 * tools/dev/create_unimap.py: Added to project; script to create the
447   docutils/writers/unimap_latex.py mapping file.
449 * tools/dev/profile_docutils.py: Added to project; profiler script.
451 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
453 * tools/editors/emacs/restructuredtext.el,
454   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
455   Removed from project; the functionality is now contained in rst.el.
457 * tools/editors/emacs/rst.el: Added to project.  Added many features
458   and fixed many bugs.  See docs/user/emacs.txt for details.
460 * tools/stylesheets: Removed from project.  Stylesheets have been
461   renamed and moved into writer packages.
464 Release 0.3.9 (2005-05-26)
465 ==========================
467 * General:
469   - Eliminated and replaced all uses of the old string attributes
470     ``id``, ``name``, ``dupname`` and ``class`` with references to the
471     new list attributes ``ids``, ``names``, ``dupnames`` and
472     ``classes`` throughout the whole source tree.
474 * docutils/core.py:
476   - Enabled ``--dump-*`` options when ``--traceback`` specified,
477     allowing for easier debugging.
478   - In ``Publisher.publish()``, expanded the generic top-level
479     exception catching.
481 * docutils/examples.py:
483   - Added ``internals`` function for exploration.
485 * docutils/io.py:
487   - Fixed ``Input.decode`` method to apply heuristics only if no
488     encoding is explicitly given, and to provide better reporting of
489     decoding errors.
490   - The ``Input.decode`` method now removes byte order marks (BOMs)
491     from input streams.
493 * docutils/nodes.py:
495   - ``image`` element class changed to subclass of Element, not
496     TextElement (it's an empty element, and cannot contain text).
497   - Added ``attr_defaults`` dictionary for default attribute values.
498   - Added empty list as default value for the following attributes:
499     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
500   - Added ``document.decoration`` attribute,
501     ``document.get_decoration`` method, and ``decoration.get_header``
502     & ``.get_footer`` methods.
503   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
504     methods.
506 * docutils/utils.py:
508   - Removed ``docutils.utils.Reporter.categories``,
509     ``docutils.utils.ConditionSet``, and all references to them, to
510     simplify error reporting.
512 * docutils/languages/nl.py: Added to project; Dutch mappings by
513   Martijn Pieters.
515 * docutils/parsers/rst/__init__.py:
517   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
519 * docutils/parsers/rst/states.py:
521   - Added check for escaped at-mark to prevent email address recognition.
522   - Fixed option lists to allow spaces inside ``<angle-bracketed option
523     arguments>``.
524   - Allowed whitespace in paths and URLs.
525   - Added auto-enumerated list items.
526   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
527     followed by text.
528   - Added support for table stub columns.
530 * docutils/parsers/rst/directives/__init__.py:
532   - Allowed whitespace in paths (``path`` function).
533   - Added ``uri`` directive option conversion function.
535 * docutils/parsers/rst/directives/body.py:
537   - Fixed illegal context bug with "topic" directive (allowed within
538     sidebars; not within body elements).
540 * docutils/parsers/rst/directives/images.py:
542   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
543   - Added support for the ``file_insertion_enabled`` setting in the
544     "figure" directive (disables "figwidth" option).
545   - "image" directive: added checks for valid values of "align" option,
546     depending on context.  "figure" directive: added specialized
547     "align" option and attribute on "figure" element.
548   - Made ":figwidth: image" option of "figure" directive work again.
549   - Fixed bug with reference names containing uppercase letters
550     (e.g. ``Name_``) in "target" option of "image" directive.
552 * docutils/parsers/rst/directives/misc.py:
554   - Fixed "include" and "raw" directives to catch text decoding
555     errors.
556   - Allowed whitespace in "include" & "raw" directive paths.
557   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
558     settings in "include" & "raw" directives.
560 * docutils/parsers/rst/directives/parts.py:
562   - Added "header" & "footer" directives.
563   - Fixed illegal context bug with "contents" directive (topics
564     allowed within sidebars; not within body elements).
566 * docutils/parsers/rst/directives/tables.py:
568   - Added "list-table" directive.
569   - Caught empty CSV table bug.
570   - Added support for the ``file_insertion_enabled`` setting in the
571     "csv-table" directive.
572   - Added ``stub-columns`` option to "csv-table" and "list-table"
573     directives.
575 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
576   mappings by Martijn Pieters.
578 * docutils/readers/standalone.py:
580   - Added ``--section-subtitles`` and ``--no-section-subtitles``
581     options to activate or deactivate the SectSubTitle transform.
583 * docutils/transforms/frontmatter.py:
585   - Added SectSubTitle transform to promote titles of lone
586     subsections to subtitles.
588 * docutils/transforms/references.py:
590   - Fixed mislocated internal targets bug, by propagating internal
591     targets to the next node, making use of the newly added support
592     for multiple names and IDs.
593   - Fixed duplicate footnote label bug.
594   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
595     transform.
597 * docutils/writers/html4css1.py:
599   - Fixed unencoded stylesheet reference bug (characters like "&" in
600     stylesheet references).
601   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
602     tags).
603   - Added support for multiple IDs per node by creating empty ``span``
604     tags.
605   - Added the ``field_name_limit`` & ``option_limit`` settings &
606     support.
607   - Added support for table stub columns.
608   - Added support for the ``align`` attribute on ``figure`` elements.
609   - Added the ``cloak_email_addresses`` setting & support.
610   - Added ``html_prolog``, ``html_head``, ``html_body``,
611     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
612     ``docutils.core.publish_parts``.
613   - Added support for section subtitles.
615 * docutils/writers/latex2e.py:
617   - Fixed tables starting with more than one multirow cell.
618   - Improved --use-latex-docinfo so that organization/contact/address
619     fields are lumped with the last author field and appear on the
620     titlepage.
621   - Made sure the titlepage is always shown with --use-latex-docinfo,
622     even if the document has no title.
623   - Made sure that latex doesn't fill in today's date if no date field
624     was given.
625   - Added support for section subtitles.
627 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
628   (under development).
630 * docutils/writers/null.py: Added to project; a do-nothing Writer.
632 * docs/api/publisher.txt:
634   - Added "``publish_parts`` Details" section.
636 * docutils/dev/repository.txt: Added to project; information about the
637   Docutils Subversion repository.
639 * docs/ref/docutils.dtd:
641   - Added a ``stub`` attribute to the ``colspec`` element via the
642     ``tbl.colspec.att`` parameter entity.
643   - Allowed topic elements within sidebars
644   - Added an ``align`` attribute to the ``figure`` element.
646 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
647   writer.
650 Release 0.3.7 (2004-12-24)
651 ==========================
653 * docutils/frontend.py:
655   - Added options: --input-encoding-error-handler,
656     --record-dependencies, --leave-footnote-reference-space,
657     --strict-visitor.
658   - Added command-line and config file support for "overrides" setting
659     parameter.
661 * docutils/io.py:
663   - Added support for input encoding error handler.
665 * docutils/nodes.py:
667   - Added dispatch_visit and dispatch_departure methods to
668     NodeVisitor; useful as a hook for Visitors.
669   - Changed structure of ``line_block``; added ``line``.
670   - Added ``compound`` node class.
671   - Added a mechanism for Visitors to transitionally ignore new node
672     classes.
674 * docutils/utils.py:
676   - Moved ``escape2null`` and ``unescape`` functions from
677     docutils/parsers/rst/states.py.
679 * docutils/parsers/rst/roles.py:
681   - Added "raw" role.
682   - Changed role function API: the "text" parameter now takes
683     null-escaped interpreted text content.
685 * docutils/parsers/rst/states.py:
687   - Fixed bug where a "role" directive in a nested parse would crash
688     the parser; the state machine's "language" attribute was not being
689     copied over.
690   - Added support for line block syntax.
691   - Fixed directive parsing bug: argument-less directives didn't
692     notice that arguments were present.
693   - Removed error checking for transitions.
694   - Added support for multiple classifiers in definition list items.
695   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
696   - Changed role function API: the "text" parameter now takes
697     null-escaped interpreted text content.
698   - Empty sections and documents are allowed now.
700 * docutils/parsers/rst/directives/__init__.py:
702   - Added ``encoding`` directive option conversion function.
703   - Allow multiple class names in class_option conversion function.
705 * docutils/parsers/rst/directives/body.py:
707   - Converted the line-block directive to use the new structure.
708   - Extracted the old line-block functionality to the ``block``
709     function (still used).
710   - Added ``compound`` directive (thanks to Lea Wiemann).
712 * docutils/parsers/rst/directives/misc.py:
714   - Added "encoding" option to "include" and "raw" directives.
715   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
716   - Allow multiple class names in the "class" directive.
718 * docutils/parsers/rst/directives/parts.py:
720   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
721     options.  Thanks to Lele Gaifax.
723 * docutils/parsers/rst/directives/tables.py:
725   - Added "encoding" directive to "csv-table" directive.
726   - Added workaround for lack of Unicode support in csv.py, for
727     non-ASCII CSV input.
729 * docutils/transforms/misc.py:
731   - Fixed bug when multiple "class" directives are applied to a single
732     element.
733   - Enabled multiple format names for "raw" directive.
735 * docutils/transforms/references.py:
737   - Added support for trimming whitespace from beside substitution
738     references.
740 * docutils/transforms/universal.py:
742   - FinalChecks now checks for illegal transitions and moves
743     transitions between sections.
745 * docutils/writers/html4css1.py:
747   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
748   - "stylesheet" and "stylesheet_path" settings are now mutually
749     exclusive.
750   - Added support for the new line_block/line structure.
751   - --footnote-references now overrides
752     --trim-footnote-reference-space, if applicable.
753   - Added support for ``compound`` elements.
754   - Enabled multiple format names for "raw" directive.
755   - ``<p>`` tags of a paragraph which is the only visible child of the
756     document node are no longer stripped.
757   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
758     new method ``should_be_compact_paragraph()``.
759   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
760     elements.
761   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
762     the output if they have their ``class`` attribute set.
763   - The whole document is now surrounded by a ``<div
764     class="document">`` element.
765   - Body-level images are now wrapped by their own ``<div>`` elements,
766     with image classes copied to the wrapper, and for images which
767     have the ``:align:`` option set, the surrounding ``<div>`` now
768     receives a class attribute (like ``class="align-left"``).
770 * docutils/writers/latex2e.py:
772   - no newline after depart_term.
773   - Added translations for some Unicode quotes.
774   - Added option "font-encoding", made package AE the default.
775   - "stylesheet" and "stylesheet_path" settings are now mutually
776     exclusive.
777   - --footnote-references now overrides
778     --trim-footnote-reference-space, if applicable.
779   - The footnote label style now matches the footnote reference style
780     ("brackets" or "superscript").
781   - Added support for ``compound`` elements.
782   - Enabled multiple format names for "raw" directive.
784 * docs/ref/docutils.dtd:
786   - Changed structure of the ``line_block`` element; added ``line``.
787   - Added ``compound`` element.
788   - Added "ltrim" and "rtrim" attributes to
789     ``substitution_definition`` element.
790   - Enabled multiple format names for ``raw`` element.
791   - Enabled multiple classifiers in ``definition_list_item`` elements.
793 * docs/ref/rst/directives.txt
795   - Marked "line-block" as deprecated.
796   - "Class" directive now allows multiple class names.
797   - Added "Rationale for Class Attribute Value Conversion".
798   - Added warning about "raw" overuse/abuse.
800 * docs/ref/rst/restructuredtext.txt:
802   - Added syntax for line blocks.
803   - Definition list items may have multiple classifiers.
805 * docs/ref/rst/roles.txt:
807   - Added "raw" role.
809 * tools/stylesheets/default.css:
811   - Added support for the new line_block structure.
812   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
815 Release 0.3.5 (2004-07-29)
816 ==========================
818 General:
820 * _`Documentation cleanup/reorganization`.
822   - Created new subdirectories of docs/:
824     * ``docs/user/``: introductory/tutorial material for end-users
825     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
826     * ``docs/api/``: API reference material for client-developers
827     * ``docs/ref/``: reference material for all groups
828     * ``docs/howto/``: for component-developers and core-developers
829     * ``docs/peps/``: Python Enhancement Proposals
831   - Moved ``docs/*`` to ``docs/user/``.
832   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
833     ``spec/`` to ``docs/dev``.
834   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
835     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
836   - Moved ``alternatives.txt``, and ``problems.txt`` from
837     ``spec/rst/`` to ``docs/dev/rst/``.
838   - Moved ``reStructuredText.txt``, ``directives.txt``,
839     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
840     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
841     ``roles.txt``, ``reStructuredText.txt`` to
842     ``restructuredtext.txt``.
843   - Moved ``spec/howto/`` to ``docs/howto``.
845   In order to keep the CVS history of moved files, we supplied
846   SourceForge with a `script for modifying the Docutils CVS
847   repository`__.
849   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
851   After running the cleanup script:
853   - Added ``docs/index.txt``.
854   - Added a ``.htaccess`` file to the ``web`` module, containing
855     redirects for all old paths to new paths.  They'll preserve
856     fragments (the "#name" part of a URL), and won't clutter up the
857     file system, and will correct the URL in the user's browser.
858   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
859     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
860     the "To Do" list itself in ``docs/dev/todo.txt``.
861   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
862     section of ``docs/dev/todo.txt``.
863   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
864   - Added "How To Report Bugs" to ``BUGS.txt``.
865   - Went through all the sources and docs (including under web/) and
866     updated links.  Mostly done by Lea Wiemann; thanks Lea!
867     (Still need to update links in the sandboxes.)
869 Specific:
871 * BUGS.txt: Added to project.
873 * THANKS.txt: Added to project.
875 * docutils/__init__.py:
877   - 0.3.4: Post-release.
879 * docutils/core.py:
881   - Added special error handling & advice for UnicodeEncodeError.
882   - Refactored Publisher.publish (simplified exception handling &
883     extracted debug dumps).
884   - Renamed "enable_exit" parameter of convenience functions to
885     "enable_exit_status".
886   - Enabled traceback (exception propagation) by default in
887     programmatic convenience functions.
888   - Now publish_file and publish_cmdline convenience functions return
889     the encoded string results in addition to their regular I/O.
890   - Extracted common code from publish_file, publish_string, and
891     publish_parts, into new publish_programmatically.  Extracted
892     settings code to ``Publisher.process_programmatic_settings``.
893   - In Publisher.publish, disabled ``settings_overrides`` when
894     ``settings`` is supplied; redundant.
896 * docutils/frontend.py:
898   - Added help text for "--output-encoding-error-handler" and
899     "--error-encoding-error-handler".
900   - Renamed "--exit" to "--exit-status".
901   - Simplified default-setting code.
903 * docutils/parsers/rst/__init__.py:
905   - Added "--pep-base-url" and "--rfc-base-url" options.
907 * docutils/parsers/rst/states.py:
909   - Made URI recognition more aggressive and intelligent.
911 * docutils/parsers/rst/directives/__init__.py:
913   - Added several directive option conversion functions.
915 * docutils/parsers/rst/directives/body.py:
917   - Moved "table" directive to tables.py.
919 * docutils/parsers/rst/directives/tables.py: Table-related directives,
920   added to project.
922 * docutils/writers/latex2e.py:
924   - Added "--table-style=(standard|booktabs|nolines)"
925   - figures get "here" option (LaTeX per default puts them at bottom),
926     and figure content is centered.
927   - Rowspan support for tables.
928   - Fix: admonition titles before first section.
929   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
930   - Replave ``_`` in literal by an underlined blank, because it has the correct
931     width.
932   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
933   - A few unicode replacements, if output_encoding != utf
934   - Add "--graphicx-option".
935   - Indent literal-blocks.
936   - Fix: omit ``\maketitle`` when there is no document title.
938 * docs/index.txt: "Docutils Project Documentation Overview", added to
939   project.
941 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
942   Tool", added to project.
944 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
946 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
948 * docs/dev/policies.txt: Added to project (extracted from
949   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
951 * docs/dev/release.txt: Added to project (extracted from
952   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
954 * docs/dev/testing.txt: Added to project.
956 * docs/dev/website.txt: Added to project (extracted from
957   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
959 * docs/ref/rst/directives.txt:
961   - Added directives: "table", "csv-table".
963 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
964   added to project.  1 page for syntax, and a 1 page reference for
965   directives and roles.  Source text to be used as-is; not meant to be
966   converted to HTML.
968 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
969   with a change of title.
971 * test/functional/, contents, and test/test_functional.py: Added to
972   project.
974 * tools/buildhtml.py: Fixed bug with config file handling.
976 * tools/html.py: Removed from project (duplicate of rst2html.py).
978 * tools/pep2html.py: Removed from project (duplicate of Python's
979   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
980   Docutils-related PEPs in docs/peps/).
982 * tools/rst2pseudoxml.py: Renamed from publish.py.
984 * tools/rst2xml.py: Renamed from docutils-xml.py.
986 * tools/test.txt: Removed from project; moved to
987   docs/user/rst/demo.txt.
989 * setup.py: Now also installs ``rst2latex.py``.
992 Release 0.3.3 (2004-05-09)
993 ==========================
995 * docutils/__init__.py:
997   - 0.3.1: Reorganized config file format (multiple sections); see
998     docs/config.txt.
999   - Added unknown_reference_resolvers attribute to TransformSpec.
1000   - 0.3.2: Interpreted text reorganization.
1001   - 0.3.3: Released.
1003 * docutils/core.py:
1005   - Catch system messages to stop tracebacks from parsing errors.
1006   - Catch exceptions during processing report & exit without
1007     tracebacks, except when "--traceback" used.
1008   - Reordered components for OptionParser; application comes last.
1009   - Added "config_section" parameter to several methods and functions,
1010     allowing front ends to easily specify their config file sections.
1011   - Added publish_parts convenience function to allow access to individual
1012     parts of a document.
1014 * docutils/examples.py: Added to project; practical examples of
1015   Docutils client code, to be used as-is or as models for variations.
1017 * docutils/frontend.py:
1019   - Added "--traceback" & "--no-traceback" options ("traceback"
1020     setting).
1021   - Implemented support for config file reorganization:
1022     ``standard_config_files`` moved from ``ConfigParser`` to
1023     ``OptionParser``; added
1024     ``OptionParser.get_config_file_settings()`` and
1025     ``.get_standard_config_settings()``; support for old "[options]"
1026     section (with deprecation warning) and mapping from old to new
1027     settings.
1028   - Reimplemented setting validation.
1029   - Enabled flexible boolean values: yes/no, true/false, on/off.
1030   - Added ``Values``, a subclass of ``optparse.Values``, with support
1031     for list setting attributes.
1032   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1033     thanks to Beni Cherniavsky.
1034   - Added "--no-section-numbering" option.
1036 * docutils/io.py:
1038   - Catch IOErrors when opening source & destination files, report &
1039     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1040     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1042 * docutils/nodes.py:
1044   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1045     method definitions (via ``exec``) to dynamic assignments (via
1046     ``setattr``); thanks to Roman Suzi.
1047   - Encapsulated visitor dynamic assignments in a function; thanks to
1048     Ian Bicking.
1049   - Added indirect_reference_name attribute to the Targetable
1050     class. This attribute holds the whitespace_normalized_name
1051     (contains mixed case) of a target.
1053 * docutils/statemachine.py:
1055   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1056   - Added ``StringList.get_2D_block``.
1058 * docutils/utils.py:
1060   - Added "level" attribute to SystemMessage exceptions.
1062 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1063   Jannie Hofmeyr.
1065 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1066   Blaha.
1068 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1069   Marcelo Huerta San Martin.
1071 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1072   mappings by Lalo Martins.
1074 * docutils/languages/ru.py: Added to project; Russian mappings by
1075   Roman Suzi.
1077 * docutils/parsers/rst/roles.py: Added to project.  Contains
1078   interpreted text role functions, a registry for interpreted text
1079   roles, and an API for adding to and retrieving from the registry.
1080   Contributed by Edward Loper.
1082 * docutils/parsers/rst/states.py:
1084   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1085   - Allowed true em-dash character and "---" as block quote
1086     attribution marker.
1087   - Added support for <angle-bracketed> complex option arguments
1088     (option lists).
1089   - Fixed handling of backslashes in substitution definitions.
1090   - Fixed off-by-1 error with extra whitespace after substitution
1091     definition directive.
1092   - Added inline markup parsing to field lists' field names.
1093   - Added support for quoted (and unindented) literal blocks.
1094     Driven in part by a bribe from Frank Siebenlist (thanks!).
1095   - Parser now handles escapes in URIs correctly.
1096   - Made embedded-URIs' reference text omittable.  Idea from Beni
1097     Cherniavsky.
1098   - Refactored explicit target processing code.
1099   - Added name attribute to references containing the reference name only
1100     through whitespace_normalize_name (no case changes).
1101   - parse_target no longer returns the refname after going through
1102     normalize_name. This is now handled in make_target.
1103   - Fixed bug relating to role-less interpreted text in non-English
1104     contexts.
1105   - Reorganized interpreted text processing; moved code into the new
1106     roles.py module.  Contributed by Edward Loper.
1107   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1108     ``parse_directive_block``.
1110 * docutils/parsers/rst/tableparser.py:
1112   - Reworked for ``StringList``, to support "include" directives in
1113     table cells.
1115 * docutils/parsers/rst/directives/__init__.py:
1117   - Renamed ``unchanged()`` directive option conversion function to
1118     ``unchanged_required``, and added a new ``unchanged``.
1119   - Catch unicode value too high error; fixes bug 781766.
1120   - Beefed up directive error reporting.
1122 * docutils/parsers/rst/directives/body.py:
1124   - Added basic "table" directive.
1126 * docutils/parsers/rst/directives/images.py:
1128   - Added "target" option to "image" directive.
1129   - Added name attribute to references containing the reference name only
1130     through whitespace_normalize_name (no case changes).
1132 * docutils/parsers/rst/directives/misc.py:
1134   - Isolated the import of the ``urllib2`` module; was causing
1135     problems on SourceForge (``libssl.so.2`` unavailable?).
1136   - Added the "role" directive for declaring custom interpreted text
1137     roles.
1139 * docutils/parsers/rst/directives/parts.py:
1141   - The "contents" directive does more work up-front, creating the
1142     "topic" and "title", and leaving the "pending" node for the
1143     transform.  Allows earlier reference resolution; fixes subtle bug.
1145 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1146   mappings by Jannie Hofmeyr.
1148 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1149   mappings by Marek Blaha.
1151 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1152   mappings by Marcelo Huerta San Martin.
1154 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1155   Portuguese mappings by Lalo Martins.
1157 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1158   mappings by Roman Suzi.
1160 * docutils/transforms/parts.py:
1162   - The "contents" directive does more work up-front, creating the
1163     "topic" and "title", and leaving the "pending" node for the
1164     transform.  Allows earlier reference resolution; fixes subtle bug.
1165   - Added support for disabling of section numbering.
1167 * docutils/transforms/references.py:
1169   - Verifying that external targets are truly targets and not indirect
1170     references. This is because we are now adding a "name" attribute to
1171     references in addition to targets. Note sure if this is correct!
1172   - Added code to hook into the unknown_reference_resolvers list for a
1173     transformer in resolve_indirect_target. This allows the
1174     unknown_reference_resolvers to keep around indirect targets which
1175     docutils doesn't know about.
1176   - Added specific error message for duplicate targets.
1178 * docutils/transforms/universal.py:
1180   - Added FilterMessages transform (removes system messages below the
1181     verbosity threshold).
1182   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1183     to FinalCheckVisitor for application-specific handling of
1184     unresolvable references.
1185   - Added specific error message for duplicate targets.
1187 * docutils/writers/__init__.py:
1189   - Added assemble_parts method to the Writer class to allow for
1190     access to a documents individual parts.
1191   - Documented & set default for ``Writer.output`` attribute.
1193 * docutils/writers/html4css1.py:
1195   - Fixed unicode handling of attribute values (bug 760673).
1196   - Prevent duplication of "class" attribute values (bug report from
1197     Kirill Lapshin).
1198   - Improved table grid/border handling (prompted by report from Bob
1199     Marshall).
1200   - Added support for table titles.
1201   - Added "<title />" for untitled docs, for XHTML conformance; thanks
1202     to Darek Suchojad.
1203   - Added functionality to keep track of individual parts of a document
1204     and store them in a dictionary as the "parts" attribute of the writer.
1205     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1206   - Added proper support for the "scale" attribute of the "image"
1207     element.  Contributed by Brent Cook.
1208   - Added ``--initial-header-level`` option.
1209   - Fixed bug: the body_pre_docinfo segment depended on there being a
1210     docinfo; if no docinfo, the document title was incorporated into
1211     the body segment.  Adversely affected the publish_parts interface.
1213 * docutils/writers/latex2e.py:
1215   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1216     about a missing file.
1217   - Added options and support: ``--compound-enumerators``,
1218     ``--section-prefix-for-enumerators``, and
1219     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
1220     934322).
1221   - Added option ``--use-verbatim-when-possible``, to avoid
1222     problematic characters (eg, '~' in italian) in literal blocks.
1223   - It's now possible to use four section levels in the `book` and
1224     `report` LaTeX classes.  The default `article` class still has
1225     three levels limit.
1227 * docs/config.txt: "Docutils Configuration Files", added to project.
1228   Moved config file entry descriptions from tools.txt.
1230 * docs/tools.txt:
1232   - Moved config file entry descriptions to config.txt.
1234 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
1235   Development".
1237 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1238   Text Roles", added to project.
1240 * spec/rst/reStructuredText.txt:
1242   - Added description of support for <angle-bracketed> complex option
1243     arguments to option lists.
1244   - Added subsections for indented and quoted literal blocks.
1246 * test: Continually adding & updating tests.
1248   - Added test/test_settings.py & test/data/config_*.txt support
1249     files.
1250   - Added test/test_writers/test_htmlfragment.py.
1252 * test/DocutilsTestSupport.py:
1254   - Refactored LaTeX publisher test suite/case class names to make
1255     testing other writers easier.
1256   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1257     to test the processing of HTML fragments which use the new
1258     publish_parts convenience function.
1260 * tools/buildhtml.py:
1262   - Added support for the "--prune" option.
1263   - Removed dependency on pep2html.py; plaintext PEPs no longer
1264     supported.
1266 * tools/docutils.conf:
1268   - Updated for configuration file reorganization.
1270 * tools/rst2html.py:
1272   - copied from tools/html.py
1274 * setup.py:
1276   - added a 'scripts' section to configuration
1277   - added 'tools/rst2html.py' to the scripts section
1280 Release 0.3 (2003-06-24)
1281 ========================
1283 General:
1285 * Renamed "attribute" to "option" for directives/extensions.
1287 * Renamed transform method "transform" to "apply".
1289 * Renamed "options" to "settings" for runtime settings (as set by
1290   command-line options).  Sometimes "option" (singular) became
1291   "settings" (plural).  Some variations below:
1293   - document.options -> document.settings (stored in other objects as
1294     well)
1295   - option_spec -> settings_spec (not directives though)
1296   - OptionSpec -> SettingsSpec
1297   - cmdline_options -> settings_spec
1298   - relative_path_options -> relative_path_settings
1299   - option_default_overrides -> settings_default_overrides
1300   - Publisher.set_options -> Publisher.get_settings
1302 Specific:
1304 * COPYING.txt: Added "Public Domain Dedication".
1306 * FAQ.txt: Frequently asked questions, added to project.
1308 * setup.py:
1310   - Updated with PyPI Trove classifiers.
1311   - Conditional installation of third-party modules.
1313 * docutils/__init__.py:
1315   - Bumped version to 0.2.1 to reflect changes to I/O classes.
1316   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1317   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1318   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1319     option and its effect on the PEP template & writer.
1320   - Bumped version to 0.2.4 due to changes to the PEP template &
1321     stylesheet.
1322   - Bumped version to 0.2.5 to reflect changes to Reporter output.
1323   - Added ``TransformSpec`` class for new transform system.
1324   - Bumped version to 0.2.6 for API changes (renaming).
1325   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1326     convenience functions.
1327   - Added ``Component.component_type`` attribute.
1328   - Bumped version to 0.2.8 because of the internal parser switch from
1329     plain lists to the docutils.statemachine.StringList objects.
1330   - Bumped version to 0.2.9 because of the frontend.py API changes.
1331   - Bumped version to 0.2.10 due to changes to the project layout
1332     (third-party modules removed from the "docutils" package), and
1333     signature changes in ``io.Input``/``io.Output``.
1334   - Changed version to 0.3.0 for release.
1336 * docutils/core.py:
1338   - Made ``publish()`` a bit more convenient.
1339   - Generalized ``Publisher.set_io``.
1340   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1341     parameters; improved its docstring.
1342   - Added ``publish_file()`` and ``publish_string()``.
1343   - Factored ``Publisher.set_source()`` and ``.set_destination()``
1344     out of ``.set_io``.
1345   - Added support for "--dump-pseudo-xml", "--dump-settings", and
1346     "--dump-transforms" hidden options.
1347   - Added ``Publisher.apply_transforms()`` method.
1348   - Added ``Publisher.set_components()`` method; support for
1349     ``publish_*()`` conveninece functions.
1350   - Moved config file processing to docutils/frontend.py.
1351   - Added support for exit status ("exit_level" setting &
1352     ``enable_exit`` parameter for Publisher.publish() and convenience
1353     functions).
1355 * docutils/frontend.py:
1357   - Check for & exit on identical source & destination paths.
1358   - Fixed bug with absolute paths & "--config".
1359   - Set non-command-line defaults in ``OptionParser.__init__()``:
1360     ``_source`` & ``_destination``.
1361   - Distributed ``relative_path_settings`` to components; updated
1362     ``OptionParser.populate_from_components()`` to combine it all.
1363   - Require list of keys in ``make_paths_absolute`` (was implicit in
1364     global ``relative_path_settings``).
1365   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1366     "--dump-settings", and "--dump-transforms" hidden options.
1367   - Removed nasty internals-fiddling ``ConfigParser.get_section``
1368     code, replaced with correct code.
1369   - Added validation functionality for config files.
1370   - Added "--error-encoding" option/setting, "_disable_config"
1371     internal setting.
1372   - Added encoding validation; updated "--input-encoding" and
1373     "--output-encoding"; added "--error-encoding-error-handler" and
1374     "--output-encoding-error-handler".
1375   - Moved config file processing from docutils/core.py.
1376   - Updated ``OptionParser.populate_from_components`` to handle new
1377     ``SettingsSpec.settings_defaults`` dict.
1378   - Added support for "-" => stdin/stdout.
1379   - Added "exit_level" setting ("--exit" option).
1381 * docutils/io.py:
1383   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1384   - Added automatic closing to ``FileInput`` and ``FileOutput``.
1385   - Delayed opening of ``FileOutput`` file until ``write()`` called.
1386   - ``FileOutput.write()`` now returns the encoded output string.
1387   - Try to get path/stream name automatically in ``FileInput`` &
1388     ``FileOutput``.
1389   - Added defaults for source & destination paths.
1390   - Allow for Unicode I/O with an explicit "unicode" encoding.
1391   - Added ``Output.encode()``.
1392   - Removed dependency on runtime settings; pass encoding directly.
1393   - Recognize Unicode strings in ``Input.decode()``.
1394   - Added support for output encoding error handlers.
1396 * docutils/nodes.py:
1398   - Added "Invisible" element category class.
1399   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1400     modification during a traversal.
1401   - Added element classes: ``line_block``, ``generated``, ``address``,
1402     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1403     ``superscript``, ``subscript``, ``inline``
1404   - Added support for lists of nodes to ``Element.insert()``.
1405   - Fixed parent linking in ``Element.replace()``.
1406   - Added new abstract superclass ``FixedTextElement``; adds
1407     "xml:space" attribute.
1408   - Added support for "line" attribute of ``system_message`` nodes.
1409   - Added support for the observer pattern from ``utils.Reporter``.
1410     Added ``parse_messages`` and ``transform_messages`` attributes to
1411     ``document``, removed ``messages``.  Added ``note_parse_message``
1412     and ``note_transform_message`` methods.
1413   - Added support for improved diagnostics:
1415     - Added "document", "source", and "line" internal attributes to
1416       ``Node``, set by ``Node.setup_child()``.
1417     - Converted variations on ``node.parent = self`` to
1418       ``self.setup_child(node)``.
1419     - Added ``document.current_source`` & ``.current_line``
1420       attributes, and ``.note_source`` observer method.
1421     - Changed "system_message" output to GNU-Tools format.
1423   - Added a "rawsource" attribute to the ``Text`` class, for text
1424     before backslash-escape resolution.
1425   - Support for new transform system.
1426   - Reworked ``pending`` element.
1427   - Fixed XML DOM bug (SF #660611).
1428   - Removed the ``interpeted`` element class and added
1429     ``title_reference``, ``abbreviation``, ``acronym``.
1430   - Made substitutions case-sensitive-but-forgiving; moved some code
1431     from the parser.
1432   - Fixed Unicode bug on element attributes (report: William Dode).
1434 * docutils/optik.py: Removed from project; replaced with
1435   extras/optparse.py and extras/textwrap.py.  These will be installed
1436   only if they're not already present in the Python installation.
1438 * docutils/roman.py: Moved to extras/roman.py; this will be installed
1439   only if it's not already present in the Python installation.
1441 * docutils/statemachine.py:
1443   - Factored out ``State.add_initial_transitions()`` so it can be
1444     extended.
1445   - Converted whitespace-specific "blank" and "indent" transitions
1446     from special-case code to ordinary transitions: removed
1447     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
1448     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
1449     ``ws_initial_transitions`` attributes.
1450   - Removed ``State.match_transition()`` after merging it into
1451     ``.check_line()``.
1452   - Added ``StateCorrection`` exception.
1453   - Added support for ``StateCorrection`` in ``StateMachine.run()``
1454     (moved ``TransitionCorrection`` support there too.)
1455   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
1456     ``EOFError`` instead of ``IndexError``.
1457   - Added ``State.no_match`` method.
1458   - Added support for the Observer pattern, triggered by input line
1459     changes.
1460   - Added ``strip_top`` parameter to
1461     ``StateMachineWS.get_first_known_indented``.
1462   - Made ``context`` a parameter to ``StateMachine.run()``.
1463   - Added ``ViewList`` & ``StringList`` classes;
1464     ``extract_indented()`` becomes ``StringList.get_indented()``.
1465   - Added ``StateMachine.insert_input()``.
1466   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
1467     thanks to) Fred Drake.
1469 * docutils/utils.py:
1471   - Added a ``source`` attribute to Reporter instances and
1472     ``system_message`` elements.
1473   - Added an observer pattern to ``utils.Reporter`` to keep track of
1474     system messages.
1475   - Fixed bugs in ``relative_path()``.
1476   - Added support for improved diagnostics.
1477   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
1478   - Added support for encoding Reporter stderr output, and encoding
1479     error handlers.
1480   - Reporter keeps track of the highest level system message yet
1481     generated.
1483 * docutils/languages: Fixed bibliographic field language lookups.
1485 * docutils/languages/es.py: Added to project; Spanish mappings by
1486   Marcelo Huerta San Martin.
1488 * docutils/languages/fr.py: Added to project; French mappings by
1489   Stefane Fermigier.
1491 * docutils/languages/it.py: Added to project; Italian mappings by
1492   Nicola Larosa.
1494 * docutils/languages/sk.py: Added to project; Slovak mappings by
1495   Miroslav Vasko.
1497 * docutils/parser/__init__.py:
1499   - Added ``Parser.finish_parse()`` method.
1501 * docutils/parser/rst/__init__.py:
1503   - Added options: "--pep-references", "--rfc-references",
1504     "--tab-width", "--trim-footnote-reference-space".
1506 * docutils/parsers/rst/states.py:
1508   - Changed "title under/overline too short" system messages from INFO
1509     to WARNING, and fixed its insertion location.
1510   - Fixed enumerated list item parsing to allow paragraphs & section
1511     titles to begin with enumerators.
1512   - Converted system messages to use the new "line" attribute.
1513   - Fixed a substitution reference edge case.
1514   - Added support for "--pep-references" and "--rfc-references"
1515     options; reworked ``Inliner`` code to make customization easier.
1516   - Removed field argument parsing.
1517   - Added support for short section title over/underlines.
1518   - Fixed "simple reference name" regexp to ignore text like
1519     "object.__method__"; not an anonymous reference.
1520   - Added support for improved diagnostics.
1521   - Reworked directive API, based on Dethe Elza's contribution.  Added
1522     ``Body.parse_directive()``, ``.parse_directive_options()``,
1523     ``.parse_directive_arguments()`` methods.
1524   - Added ``ExtensionOptions`` class, to parse directive options
1525     without parsing field bodies.  Factored
1526     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
1527     ``ExtensionOptions``.
1528   - Improved definition list term/classifier parsing.
1529   - Added warnings for unknown directives.
1530   - Renamed ``Stuff`` to ``Struct``.
1531   - Now flagged as errors: transitions at the beginning or end of
1532     sections, empty sections (except title), and empty documents.
1533   - Updated for ``statemachine.StringList``.
1534   - Enabled recognition of schemeless email addresses in targets.
1535   - Added support for embedded URIs in hyperlink references.
1536   - Added backslash-escapes to inline markup end-string suffix.
1537   - Added support for correct interpreted text processing.
1538   - Fixed nested title parsing (topic, sidebar directives).
1539   - Added special processing of backslash-escaped whitespace (idea
1540     from David Abrahams).
1541   - Made substitutions case-sensitive-but-forgiving; moved some code
1542     to ``docutils.nodes``.
1543   - Added support for block quote attributions.
1544   - Added a kludge to work-around a conflict between the bubble-up
1545     parser strategy and short titles (<= 3 char-long over- &
1546     underlines).  Fixes SF bug #738803 "infinite loop with multiple
1547     titles" submitted by Jason Diamond.
1548   - Added explicit interpreted text roles for standard inline markup:
1549     "emphasis", "strong", "literal".
1550   - Implemented "superscript" and "subscript" interpreted text roles.
1551   - Added initial support for "abbreviation" and "acronym" roles;
1552     incomplete.
1553   - Added support for "--trim-footnote-reference-space" option.
1554   - Optional space before colons in directives & hyperlink targets.
1556 * docutils/parsers/rst/tableparser.py:
1558   - Fixed a bug that was producing unwanted empty rows in "simple"
1559     tables.
1560   - Detect bad column spans in "simple" tables.
1562 * docutils/parsers/rst/directives: Updated all directive functions to
1563   new API.
1565 * docutils/parsers/rst/directives/__init__.py:
1567   - Added ``flag()``, ``unchanged()``, ``path()``,
1568     ``nonnegative_int()``, ``choice()``, and ``class_option()``
1569     directive option helper functions.
1570   - Added warnings for unknown directives.
1571   - Return ``None`` for missing directives.
1572   - Added ``register_directive()``, thanks to William Dode and Paul
1573     Moore.
1575 * docutils/parsers/rst/directives/admonitions.py:
1577   - Added "admonition" directive.
1579 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
1580   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
1581   "parsed-literal", "rubric", "epigraph", "highlights" and
1582   "pull-quote" directives.
1584 * docutils/parsers/rst/directives/images.py:
1586   - Added an "align" attribute to the "image" & "figure" directives
1587     (by Adam Chodorowski).
1588   - Added "class" option to "image", and "figclass" to "figure".
1590 * docutils/parsers/rst/directives/misc.py:
1592   - Added "include", "raw", and "replace" directives, courtesy of
1593     Dethe Elza.
1594   - Added "unicode" and "class" directives.
1596 * docutils/parsers/rst/directives/parts.py:
1598   - Added the "sectnum" directive; by Dmitry Jemerov.
1599   - Added "class" option to "contents" directive.
1601 * docutils/parsers/rst/directives/references.py: Added to project.
1602   Contains the "target-notes" directive.
1604 * docutils/parsers/rst/languages/__init__.py:
1606   - Return ``None`` from get_language() for missing language modules.
1608 * docutils/parsers/rst/languages/de.py: Added to project; German
1609   mappings by Engelbert Gruber.
1611 * docutils/parsers/rst/languages/en.py:
1613   - Added interpreted text roles mapping.
1615 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
1616   mappings by Marcelo Huerta San Martin.
1618 * docutils/parsers/rst/languages/fr.py: Added to project; French
1619   mappings by William Dode.
1621 * docutils/parsers/rst/languages/it.py: Added to project; Italian
1622   mappings by Nicola Larosa.
1624 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
1625   mappings by Miroslav Vasko.
1627 * docutils/readers/__init__.py:
1629   - Added support for the observer pattern from ``utils.Reporter``, in
1630     ``Reader.parse`` and ``Reader.transform``.
1631   - Removed ``Reader.transform()`` method.
1632   - Added default parameter values to ``Reader.__init__()`` to make
1633     instantiation easier.
1634   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
1636 * docutils/readers/pep.py:
1638   - Added the ``peps.TargetNotes`` transform to the Reader.
1639   - Removed PEP & RFC reference detection code; moved to
1640     parsers/rst/states.py as options (enabled here by default).
1641   - Added support for pre-acceptance PEPs (no PEP number yet).
1642   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
1643     easy subclassing.
1645 * docutils/readers/python: Python Source Reader subpackage added to
1646   project, including preliminary versions of:
1648   - __init__.py
1649   - moduleparser.py: Parser for Python modules.
1651 * docutils/transforms/__init__.py:
1653   - Added ``Transformer`` class and completed transform reform.
1654   - Added unknown_reference_resolvers list for each transformer. This list holds
1655     the list of functions provided by each component of the transformer that
1656     help resolve references.
1658 * docutils/transforms/frontmatter.py:
1660   - Improved support for generic fields.
1661   - Fixed bibliographic field language lookups.
1663 * docutils/transforms/misc.py: Added to project.  Miscellaneous
1664   transforms.
1666 * docutils/transforms/parts.py:
1668   - Moved the "id" attribute from TOC list items to the references
1669     (``Contents.build_contents()``).
1670   - Added the ``SectNum`` transform; by Dmitry Jemerov.
1671   - Added "class" attribute support to ``Contents``.
1673 * docutils/transforms/peps.py:
1675   - Added ``mask_email()`` function, updating to pep2html.py's
1676     functionality.
1677   - Linked "Content-Type: text/x-rst" to PEP 12.
1678   - Added the ``TargetNotes`` PEP-specific transform.
1679   - Added ``TargetNotes.cleanup_callback``.
1680   - Added title check to ``Headers``.
1682 * docutils/transforms/references.py:
1684   - Added the ``TargetNotes`` generic transform.
1685   - Split ``Hyperlinks`` into multiple transforms.
1686   - Fixed bug with multiply-indirect references (report: Bruce Smith).
1687   - Added check for circular indirect references.
1688   - Made substitutions case-sensitive-but-forgiving.
1690 * docutils/transforms/universal.py:
1692   - Added support for the "--expose-internal-attributes" option.
1693   - Removed ``Pending`` transform classes & data.
1695 * docutils/writers/__init__.py:
1697   - Removed ``Writer.transform()`` method.
1699 * docutils/writers/docutils-xml.py:
1701   - Added XML and doctype declarations.
1702   - Added "--no-doctype" and "--no-xml-declaration" options.
1704 * docutils/writers/html4css1.py:
1706   - "name" attributes only on these tags: a, applet, form, frame,
1707     iframe, img, map.
1708   - Added "name" attribute to <a> in section titles for Netscape 4
1709     support (bug report: Pearu Peterson).
1710   - Fixed targets (names) on footnote, citation, topic title,
1711     problematic, and system_message nodes (for Netscape 4).
1712   - Changed field names from "<td>" to "<th>".
1713   - Added "@" to "&#64;" encoding to thwart address harvesters.
1714   - Improved the vertical whitespace optimization; ignore "invisible"
1715     nodes (targets, comments, etc.).
1716   - Improved inline literals with ``<span class="pre">`` around chunks
1717     of text and ``&nbsp;`` for runs of spaces.
1718   - Improved modularity of output; added ``self.body_pre_docinfo`` and
1719     ``self.docinfo`` segments.
1720   - Added support for "line_block", "address" elements.
1721   - Improved backlinks (footnotes & system_messages).
1722   - Improved system_message output.
1723   - Redefined "--stylesheet" as containing an invariant URL, used
1724     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
1725     working directory.
1726   - Added "--footnote-references" option (superscript or brackets).
1727   - Added "--compact-lists" and "--no-compact-lists" options.
1728   - Added "--embed-stylesheet" and "--link-stylesheet" options;
1729     factored out ``HTMLTranslator.get_stylesheet_reference()``.
1730   - Improved field list rendering.
1731   - Added Docutils version to "generator" meta tag.
1732   - Fixed a bug with images; they must be inline, so wrapped in <p>.
1733   - Improved layout of <pre> HTML source.
1734   - Fixed attribute typo on <colspec>.
1735   - Refined XML prologue.
1736   - Support for no stylesheet.
1737   - Removed "interpreted" element support.
1738   - Added support for "title_reference", "sidebar", "attribution",
1739     "rubric", and generic "admonition" elements.
1740   - Added "--attribution" option.
1741   - Added support for "inline", "subscript", "superscript" elements.
1742   - Added initial support for "abbreviation" and "acronym";
1743     incomplete.
1745 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
1746   (from the sandbox).
1748   - Added french.
1749   - Double quotes in literal blocks (special treatment for de/ngerman).
1750   - Added '--hyperlink-color' option ('0' turns off coloring of links).
1751   - Added  "--attribution" option.
1752   - Right align attributions.
1754 * docutils/writers/pep_html.py:
1756   - Parameterized output encoding in PEP template.
1757   - Reworked substitutions from ``locals()`` into ``subs`` dict.
1758   - Redefined "--pep-stylesheet" as containing an invariant URL, used
1759     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
1760     working directory.
1761   - Added an override on the "--footnote-references" option.
1762   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
1763   - Added Docutils version to "generator" meta tag.
1764   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
1766 * docs/tools.txt:
1768   - Added a "silent" setting for ``buildhtml.py``.
1769   - Added a "Getting Help" section.
1770   - Rearranged the structure.
1771   - Kept up to date, with new settings, command-line options etc.
1772   - Added section for ``rst2latex.py`` (Engelbert Gruber).
1773   - Converted settings table into a definition list.
1775 * docs/rst/quickstart.txt:
1777   - Added a table of contents.
1778   - Added feedback information.
1779   - Added mention of minimum section title underline lengths.
1780   - Removed the 4-character minimum for section title underlines.
1782 * docs/rst/quickref.html:
1784   - Added a "Getting Help" section.
1785   - Added a style to make section title backlinks more subtle.
1786   - Added mention of minimum section title underline lengths.
1787   - Removed the 4-character minimum for section title underlines.
1789 * extras: Directory added to project; contains third-party modules
1790   that Docutils depends on (optparse, textwrap, roman).  These are
1791   only installed if they're not already present.
1793 * licenses: Directory added to project; contains copies of license
1794   files for non-public-domain files.
1796 * spec/doctree.txt:
1798   - Changed the focus.  It's about DTD elements:  structural
1799     relationships, semantics, and external (public) attributes.  Not
1800     about the element class library.
1801   - Moved some implementation-specific stuff into ``docutils.nodes``
1802     docstrings.
1803   - Wrote descriptions of all common attributes and parameter
1804     entities.  Filled in introductory material.
1805   - Working through the element descriptions: 55 down, 37 to go.
1806   - Removed "Representation of Horizontal Rules" to
1807     spec/rst/alternatives.txt.
1809 * spec/docutils.dtd:
1811   - Added "generated" inline element.
1812   - Added "line_block" body element.
1813   - Added "auto" attribute to "title".
1814   - Changed content models of "literal_block" and "doctest_block" to
1815     ``%text.model``.
1816   - Added ``%number;`` attribute type parameter entity.
1817   - Changed ``%structural.elements;`` to ``%section.elements``.
1818   - Updated attribute types; made more specific.
1819   - Added "address" bibliographic element.
1820   - Added "line" attribute to ``system_message`` element.
1821   - Removed "field_argument" element; "field_name" may contain
1822     multiple words and whitespace.
1823   - Changed public identifier to docutils.sf.net.
1824   - Removed "interpreted" element; added "title_reference",
1825     "abbreviation", "acronym".
1826   - Removed "refuri" attribute from "footnote_reference" and
1827     "citation_reference".
1828   - Added "sidebar", "rubric", "attribution", "admonition",
1829     "superscript", "subscript", and "inline" elements.
1831 * spec/pep-0256.txt: Converted to reStructuredText & updated.
1833 * spec/pep-0257.txt: Converted to reStructuredText & updated.
1835 * spec/pep-0258.txt: Converted to reStructuredText & updated.
1837 * spec/semantics.txt: Updated with text from a Doc-SIG response to
1838   Dallas Mahrt.
1840 * spec/transforms.txt: Added to project.
1842 * spec/howto: Added subdirectory, for developer how-to docs.
1844 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
1845   Elza, edited & extended by David Goodger.
1847 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
1848   project.
1850 * spec/rst/alternatives.txt:
1852   - Added "Doctree Representation of Transitions" from
1853     spec/doctree.txt.
1854   - Updated "Inline External Targets" & closed the debate.
1855   - Added ideas for interpreted text syntax extensions.
1856   - Added "Nested Inline Markup" section.
1858 * spec/rst/directives.txt:
1860   - Added directives: "topic", "sectnum", "target-notes",
1861     "line-block", "parsed-literal", "include", "replace", "sidebar",
1862     "admonition", "rubric", "epigraph", "highlights", "unicode" and
1863     "class".
1864   - Formalized descriptions of directive details.
1865   - Added an "align" attribute to the "image" & "figure" directives
1866     (by Adam Chodorowski).
1867   - Added "class" options to "topic", "sidebar", "line-block",
1868     "parsed-literal", "contents", and "image"; and "figclass" to
1869     "figure".
1871 * spec/rst/interpreted.txt: Added to project.  Descriptions of
1872   interpreted text roles.
1874 * spec/rst/introduction.txt:
1876   - Added pointers to material for new users.
1878 * spec/rst/reStructuredText.txt:
1880   - Disambiguated comments (just add a newline after the "::").
1881   - Updated enumerated list description; added a discussion of the
1882     second-line validity checking.
1883   - Updated directive description.
1884   - Added a note redirecting newbies to the user docs.
1885   - Expanded description of inline markup start-strings in non-markup
1886     contexts.
1887   - Removed field arguments and made field lists a generic construct.
1888   - Removed the 4-character minimum for section title underlines.
1889   - Clarified term/classifier delimiter & inline markup ambiguity
1890     (definition lists).
1891   - Added "Embedded URIs".
1892   - Updated "Interpreted Text" section.
1893   - Added "Character-Level Inline Markup" section.
1895 * test: Continually adding & updating tests.
1897   - Moved test/test_rst/ to test/test_parsers/test_rst/.
1898   - Moved test/test_pep/ to test/test_readers/test_pep/.
1899   - Added test/test_readers/test_python/.
1900   - Added test/test_writers/ (Engelbert Gruber).
1902 * tools:
1904   - Made the ``locale.setlocale()`` calls in front ends
1905     fault-tolerant.
1907 * tools/buildhtml.py:
1909   - Added "--silent" option.
1910   - Fixed bug with absolute paths & "--config".
1911   - Updated for new I/O classes.
1912   - Added some exception handling.
1913   - Separated publishers' setting defaults; prevents interference.
1914   - Updated for new ``publish_file()`` convenience function.
1916 * tools/pep-html-template:
1918   - Allow for "--embed-stylesheet".
1919   - Added Docutils version to "generator" meta tag.
1920   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
1921   - Conform to XHTML spec.
1923 * tools/pep2html.py:
1925   - Made ``argv`` a parameter to ``main()``.
1926   - Added support for "Content-Type:" header & arbitrary PEP formats.
1927   - Linked "Content-Type: text/plain" to PEP 9.
1928   - Files skipped (due to an error) are not pushed onto the server.
1929   - Updated for new I/O classes.
1930   - Added ``check_requirements()`` & ``pep_type_error()``.
1931   - Added some exception handling.
1932   - Updated for new ``publish_string()`` convenience function.
1933   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
1935 * tools/quicktest.py:
1937   - Added "-V"/"--version" option.
1939 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
1941 * tools/unicode2rstsubs.py: Added to project.  Produces character
1942   entity files (reSructuredText substitutions) from the MathML master
1943   unicode.xml file.
1945 * tools/editors: Support code for editors, added to project.  Contains
1946   ``emacs/restructuredtext.el``.
1948 * tools/stylesheets/default.css: Moved into the stylesheets directory.
1950   - Added style for chunks of inline literals.
1951   - Removed margin for first child of table cells.
1952   - Right-aligned field list names.
1953   - Support for auto-numbered section titles in TOCs.
1954   - Increased the size of inline literals (<tt>) in titles.
1955   - Restored the light gray background for inline literals.
1956   - Added support for "line_block" elements.
1957   - Added style for "address" elements.
1958   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
1959   - Improved field list rendering.
1960   - Vertical whitespace improvements.
1961   - Removed "a.target" style.
1963 * tools/stylesheets/pep.css:
1965   - Fixed nested section margins.
1966   - Other changes parallel those of ``../default.css``.
1969 Release 0.2 (2002-07-31)
1970 ========================
1972 General:
1974 - The word "component" was being used ambiguously.  From now on,
1975   "component" will be used to mean "Docutils component", as in Reader,
1976   Writer, Parser, or Transform.  Portions of documents (Table of
1977   Contents, sections, etc.)  will be called "document parts".
1978 - Did a grand renaming: a lot of ``verylongnames`` became
1979   ``very_long_names``.
1980 - Cleaned up imports: no more relative package imports or
1981   comma-separated lists of top-level modules.
1982 - Added support for an option values object which carries default
1983   settings and overrides (from command-line options and library use).
1984 - Added internal Unicode support, and support for both input and
1985   output encodings.
1986 - Added support for the ``docutils.io.IO`` class & subclasses.
1988 Specific:
1990 * docutils/__init__.py:
1992   - Added ``ApplicationError`` and ``DataError``, for use throughout
1993     the package.
1994   - Added ``Component`` base class for Docutils components; implements
1995     the ``supports`` method.
1996   - Added ``__version__`` (thus, ``docutils.__version__``).
1998 * docutils/core.py:
2000   - Removed many keyword parameters to ``Publisher.__init__()`` and
2001     ``publish()``; bundled into an option values object.  Added
2002     "argv", "usage", "description", and "option_spec" parameters for
2003     command-line support.
2004   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2005     methods.
2006   - Reworked I/O model for ``docutils.io`` wrappers.
2007   - Updated ``Publisher.set_options()``; now returns option values
2008     object.
2009   - Added support for configuration files (/etc/docutils.conf,
2010     ./docutils.conf, ~/.docutils).
2011   - Added ``Publisher.setup_option_parser()``.
2012   - Added default usage message and description.
2014 * docutils/frontend.py: Added to project; support for front-end
2015   (command-line) scripts.  Option specifications may be augmented by
2016   components.  Requires Optik (http://optik.sf.net/) for option
2017   processing (installed locally as docutils/optik.py).
2019 * docutils/io.py: Added to project; uniform API for a variety of input
2020   output mechanisms.
2022 * docutils/nodes.py:
2024   - Added ``TreeCopyVisitor`` class.
2025   - Added a ``copy`` method to ``Node`` and subclasses.
2026   - Added a ``SkipDeparture`` exception for visitors.
2027   - Renamed ``TreePruningException`` from ``VisitorException``.
2028   - Added docstrings to ``TreePruningException``, subclasses, and
2029     ``Nodes.walk()``.
2030   - Improved docstrings.
2031   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2032   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2033     imports.
2034   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2035     ``PreDecorative`` mixin.
2036   - Reworked the name/id bookkeeping; to ``document``, removed
2037     ``explicit_targets`` and ``implicit_targets`` attributes, added
2038     ``nametypes`` attribute and ``set_name_id_map`` method.
2039   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2040     traversals.
2041   - Added ``document.has_name()`` method.
2042   - Fixed DOM generation for list-attributes.
2043   - Added category class ``Labeled`` (used by footnotes & citations).
2044   - Added ``Element.set_class()`` method (sets "class" attribute).
2046 * docutils/optik.py: Added to project.  Combined from the Optik
2047   package, with added option groups and other modifications.  The use
2048   of this module is probably only temporary.
2050 * docutils/statemachine.py:
2052   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2053   - Added underscores to improve many awkward names.
2054   - In ``string2lines()``, changed whitespace normalizing translation
2055     table to regexp; restores Python 2.0 compatibility with Unicode.
2057 * docutils/urischemes.py:
2059   - Filled in some descriptions.
2060   - Added "shttp" scheme.
2062 * docutils/utils.py:
2064   - Added ``clean_rcs_keywords`` function (moved from
2065     docutils/transforms/frontmatter.py
2066     ``DocInfo.filter_rcs_keywords``).
2067   - Added underscores to improve many awkward names.
2068   - Changed names of Reporter's thresholds:
2069     warning_level -> report_level; error_level -> halt_level.
2070   - Moved ``utils.id()`` to ``nodes.make_id()``.
2071   - Added ``relative_path(source, target)``.
2073 * docutils/languages/de.py: German mappings; added to project.  Thanks
2074   to Gunnar Schwant for the translations.
2076 * docutils/languages/en.py: Added "Dedication" bibliographic field
2077   mappings.
2079 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2080   Chodorowski.
2082 * docutils/parsers/rst/states.py:
2084   - Added underscores to improve many awkward names.
2085   - Added RFC-2822 header support.
2086   - Extracted the inline parsing code from ``RSTState`` to a separate
2087     class, ``Inliner``, which will allow easy subclassing.
2088   - Made local bindings for ``memo`` container & often-used contents
2089     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2090   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2091   - Added ``MarkupMismatch`` exception; for late corrections.
2092   - Added ``-/:`` characters to inline markup's start string prefix,
2093     ``/`` to end string suffix.
2094   - Fixed a footnote bug.
2095   - Fixed a bug with literal blocks.
2096   - Applied patch from Simon Budig: simplified regexps with symbolic
2097     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2098   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2099   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2100   - Allowed non-ASCII in "simple names" (directive names, field names,
2101     references, etc.).
2102   - Converted ``Inliner.patterns.initial`` to be dynamically built
2103     from parts with ``build_regexp()`` function.
2104   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2105   - Updated docstrings.
2106   - Changed "table" to "grid_table"; added "simple_table" support.
2108 * docutils/parsers/rst/tableparser.py:
2110   - Changed ``TableParser`` to ``GridTableParser``.
2111   - Added ``SimpleTableParser``.
2112   - Refactored naming.
2114 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2115   a fallback language for directive names.
2117 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2118   directive to use a ``pending`` element, used only by HTML writers.
2120 * docutils/parsers/rst/directives/parts.py: Renamed from
2121   components.py.
2123   - Added "backlinks" attribute to "contents" directive.
2125 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2126   project by Adam Chodorowski.
2128 * docutils/readers/__init__.py: Gave Readers more control over
2129   choosing and instantiating Parsers.
2131 * docutils/readers/pep.py: Added to project; for PEP processing.
2133 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2134   requires a ``component`` parameter.
2136 * docutils/transforms/components.py: Added to project; transforms
2137   related to Docutils components.
2139 * docutils/transforms/frontmatter.py:
2141   - In ``DocInfo.extract_authors``, check for a single "author" in an
2142     "authors" group, and convert it to a single "author" element.
2143   - Added support for "Dedication" and generic bibliographic fields.
2145 * docutils/transforms/peps.py: Added to project; PEP-specific.
2147 * docutils/transforms/parts.py: Renamed from old components.py.
2149   - Added filter for `Contents`, to use alt-text for inline images,
2150     and to remove inline markup that doesn't make sense in the ToC.
2151   - Added "name" attribute to TOC topic depending on its title.
2152   - Added support for optional TOC backlinks.
2154 * docutils/transforms/references.py: Fixed indirect target resolution
2155   in ``Hyperlinks`` transform.
2157 * docutils/transforms/universal.py:
2159   - Changed ``Messages`` transform to properly filter out system
2160     messages below the warning threshold.
2161   - Added ``Decorations`` transform (support for ``--generator``,
2162     ``--date``, ``--time``, ``--source-link`` options).
2164 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2165   Engelbert Gruber's PDF writer.
2167 * docutils/writers/html4css1.py:
2169   - Made XHTML-compatible (switched to lowercase element & attribute
2170     names; empty tag format).
2171   - Escape double-dashes in comment text.
2172   - Improved boilerplate & modularity of output.
2173   - Exposed modular output in Writer class.
2174   - Added a "generator" meta tag to <head>.
2175   - Added support for the ``--stylesheet`` option.
2176   - Added support for ``decoration``, ``header``, and ``footer``
2177     elements.
2178   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2179     translation table to regexp; restores Python 2.0 compatibility
2180     with Unicode.
2181   - Added the translator class as instance variable to the Writer, to
2182     make it easily subclassable.
2183   - Improved option list spacing (thanks to Richard Jones).
2184   - Modified field list output.
2185   - Added backlinks to footnotes & citations.
2186   - Added percentage widths to "<col>" tags (from colspec).
2187   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2188     "<span>" changed to "<var>".
2189   - Inline literals: "<code>" changed to "<tt>".
2190   - Many changes to optimize vertical space: compact simple lists etc.
2191   - Add a command-line options & directive attributes to control TOC
2192     and footnote/citation backlinks.
2193   - Added support for optional footnote/citation backlinks.
2194   - Added support for generic bibliographic fields.
2195   - Identify backrefs.
2196   - Relative URLs for stylesheet links.
2198 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2199   PEPs (subclass of ``html4css1.Writer``).
2201 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2203 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2204   of the Docutils internal doctree in XML.
2206 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2208 * spec/doctree.txt:
2210   - Changed the title to "The Docutils Document Tree".
2211   - Added "Hyperlink Bookkeeping" section.
2213 * spec/docutils.dtd:
2215   - Added ``decoration``, ``header``, and ``footer`` elements.
2216   - Brought ``interpreted`` element in line with the parser: changed
2217     attribute "type" to "role", added "position".
2218   - Added support for generic bibliographic fields.
2220 * spec/notes.txt: Continual updates.  Added "Project Policies".
2222 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
2223   section.
2225 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2227 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
2228   mailing list discussions.
2230 * spec/pep-0287.txt:
2232   - Renamed to "reStructuredText Docstring Format".
2233   - Minor edits.
2234   - Reworked Q&A as an enumerated list.
2235   - Converted to reStructuredText format.
2237 * spec/pysource.dtd:
2239   - Reworked structural elements, incorporating ideas from Tony Ibbs.
2241 * spec/pysource.txt: Removed from project.  Moved much of its contents
2242   to pep-0258.txt.
2244 * spec/rst/alternatives.txt:
2246   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2247   - Added "Inline External Targets" section.
2249 * spec/rst/directives.txt:
2251   - Added "backlinks" attribute to "contents" directive.
2253 * spec/rst/problems.txt:
2255   - Updated the Enumerated List Markup discussion.
2256   - Added new alternative table markup syntaxes.
2258 * spec/rst/reStructuredText.txt:
2260   - Clarified field list usage.
2261   - Updated enumerated list description.
2262   - Clarified purpose of directives.
2263   - Added ``-/:`` characters to inline markup's start string prefix,
2264     ``/`` to end string suffix.
2265   - Updated "Authors" bibliographic field behavior.
2266   - Changed "inline hyperlink targets" to "inline internal targets".
2267   - Added "simple table" syntax to supplement the existing but
2268     newly-renamed "grid tables".
2269   - Added cautions for anonymous hyperlink use.
2270   - Added "Dedication" and generic bibliographic fields.
2272 * test: Made test modules standalone (subdirectories became packages).
2274 * test/DocutilsTestSupport.py:
2276   - Added support for PEP extensions to reStructuredText.
2277   - Added support for simple tables.
2278   - Refactored naming.
2280 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2282   - Now supports true packages containing test modules
2283     (``__init__.py`` files required); fixes duplicate module name bug.
2285 * test/test_pep/: Subpackage added to project; PEP testing.
2287 * test/test_rst/test_SimpleTableParser.py: Added to project.
2289 * tools:
2291   - Updated html.py and publish.py front-end tools to use the new
2292     command-line processing facilities of ``docutils.frontend``
2293     (exposed in ``docutils.core.Publisher``), reducing each to just a
2294     few lines of code.
2295   - Added ``locale.setlocale()`` calls to front-end tools.
2297 * tools/buildhtml.py: Added to project; batch-generates .html from all
2298   the .txt files in directories and subdirectories.
2300 * tools/default.css:
2302   - Added support for ``header`` and ``footer`` elements.
2303   - Added styles for "Dedication" topics (biblio fields).
2305 * tools/docutils.conf: A configuration file; added to project.
2307 * tools/docutils-xml.py: Added to project.
2309 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2311 * tools/pep-html-template: Added to project.
2313 * tools/pep2html.py: Added to project from Python (nondist/peps).
2314   Added support for Docutils (reStructuredText PEPs).
2316 * tools/quicktest.py:
2318   - Added the ``--attributes`` option, hacked a bit.
2319   - Added a second command-line argument (output file); cleaned up.
2321 * tools/stylesheets/: Subdirectory added to project.
2323 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2326 Release 0.1 (2002-04-20)
2327 ========================
2329 This is the first release of Docutils, merged from the now inactive
2330 reStructuredText__ and `Docstring Processing System`__ projects.  For
2331 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2332 `DPS HISTORY`__ files.
2334 __ http://structuredtext.sourceforge.net/
2335 __ http://docstring.sourceforge.net/
2336 __ http://structuredtext.sourceforge.net/HISTORY.html
2337 __ http://docstring.sourceforge.net/HISTORY.html
2339 General changes: renamed 'dps' package to 'docutils'; renamed
2340 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2341 the test suites (reStructuredText's test/test_states renamed to
2342 test/test_rst); and all modifications required to make it all work.
2344 * docutils/parsers/rst/states.py:
2346   - Improved diagnostic system messages for missing blank lines.
2347   - Fixed substitution_reference bug.
2351    Local Variables:
2352    mode: indented-text
2353    indent-tabs-mode: nil
2354    sentence-end-double-space: t
2355    fill-column: 70
2356    End: