5 :Author: David Goodger; open to all Docutils developers
6 :Contact: goodger@python.org
8 :Web site: http://docutils.sourceforge.net/
9 :Copyright: This document has been placed in the public domain.
17 * setup.py: Added installation of data files in
18 ``docutils/parsers/rst/include/``.
20 * docutils/__init__.py:
22 - Added ``__version_details__`` attribute to describe code source
23 (repository/snapshot/release).
24 - Replaced ``default_transforms`` attribute of TransformSpec with
25 ``get_transforms()`` method.
29 - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
30 functions, for document tree extraction and reprocessing.
34 - Added ``DocTreeInput`` class, for reprocessing existing documents.
35 - Added support for non-Unicode (e.g. binary) writer output.
39 - Added ``serial_escape`` function; escapes string values that are
40 elements of a list, for serialization. Modified Docutils-XML
41 writing (``Element._dom_node``) and pseudo-XML writing
42 (``Element.starttag``) to use ``serial_escape``.
43 - Added ``Node.deepcopy()`` method.
44 - Removed the internal lists ``document.substitution_refs``,
45 ``document.anonymous_refs``, and ``document.anonymous_targets``.
47 * docutils/parsers/null.py: Added to project; a do-nothing parser.
49 * docutils/parsers/rst/__init__.py:
51 - Added validator to tab_width setting, with test. Closes SF bug
52 #1212515, report from Wu Wei.
54 * docutils/parsers/rst/states.py:
56 - Fixed bug with escaped colons indicating a literal block.
57 - Fixed bug with enumerated lists (SF#1254145).
58 - Targets (implicit and explicit), anonymous hyperlink references
59 and auto-numbered footnote references inside of substitution
60 definitions are now disallowed.
62 * docutils/parsers/rst/directives/misc.py:
64 - Added the "default-role" and "title" directives.
65 - Added standard data file syntax to the "include" directive.
66 - Added support for "class" directive content.
68 * docutils/parsers/rst/directives/images.py:
70 - Added support for image width and height units.
71 - Fixed bug with image "target" options.
73 * docutils/parsers/rst/include/: Directory added to project; contains
74 standard data files for the "include" directive. Initial contents:
75 character entity substitution definition sets.
77 * docutils/readers/__init__.py:
79 - Added universal.Decorations and universal.ExposeInternals
80 transforms as default transforms for all readers.
81 - Added ``ReReader`` base class for readers that reread an existing
84 * docutils/readers/doctree.py: Added to project; a reader for existing
87 * docutils/transforms/misc.py:
89 - Added misc.Transitions transform, extracted from
90 universal.FinalChecks.
92 * docutils/transforms/references.py:
94 - Added references.DanglingReferences transform, extracted from
95 universal.FinalChecks.
96 - Fixed bug with doubly-indirect substitutions.
98 * docutils/transforms/universal.py:
100 - Added universal.ExposeInternals transform, extracted from
101 universal.FinalChecks.
102 - Removed universal.FinalChecks transform (logic has been moved to
103 several new transforms).
104 - Fixed bug with the "expose_internals" setting and Text nodes
105 (exposed by the "rawsource" internal attribute).
107 * docutils/transforms/writer_aux.py: Added to project; auxiliary
108 transforms for writers.
110 - Added ``Compound`` transform, which flattens compound paragraphs.
112 * docutils/writers/__init__.py:
114 - Added universal.Messages and universal.FilterMessages transforms
115 as default transforms for all writers.
116 - Added ``UnfilteredWriter`` base class for writers that pass the
117 document tree on unchanged.
119 * docutils/writers/docutils_xml.py:
121 - Made ``xmlcharrefreplace`` the default output encoding error
124 * docutils/writers/html4css1.py:
126 - Added support for image width and height units.
127 - Made ``xmlcharrefreplace`` the default output encoding error
129 - A warning is now issued if neither ``--stylesheet`` nor
130 ``--stylesheet-path`` is specified.
131 - Made ``--embed-stylesheet`` the default rather than
132 ``--link-stylesheet``.
133 - Added writer-specific transform to check the stylesheet setting.
134 - Moved "id" attribute from container (section etc.) to title's <a>
135 tag, to be on the same tag as "name".
136 (!!! To be reverted in Docutils 0.5.)
137 - Added vertical space between fields of field lists.
138 - Added ``--compact-field-lists`` option to remove vertical space in
140 - Made cloaking of email addresses with ``--cloak-email-addresses``
143 * docutils/writers/latex2e.py:
145 - Underscores in citekeys are no longer escaped.
147 * docutils/writers/support/: Directory added to project. Modules and
148 data files that support writers have been moved here.
150 The stylesheets are now installed along with the code, the code now
151 knows where to find them, and the default is now to use (actually,
152 to embed) the built-in stylesheets. Some adjustments to
153 configuration files may be necessary. The easiest way to obtain the
154 new default behavior is to remove all settings whose name includes
157 * docutils/writers/support/newlatex2e/unicode_map.py: Added to
158 project; mapping of Unicode characters to LaTeX equivalents.
160 * docs/dev/distributing.txt: Added to project; guide for distributors
161 (package maintainers).
163 * docs/dev/hacking.txt: Added to project; guide for developers.
165 * docs/ref/doctree.txt:
167 - Updated for plural attributes "classes", "ids", "names",
170 * docs/ref/docutils.dtd:
172 - Updated for plural attributes "classes", "ids", "names",
175 * docs/user/links.txt: Added to project; lists of Docutils-related
178 * docs/user/mailing-lists.txt: Added to project; information about
179 Docutils-related mailing lists and how to access them.
181 * docs/ref/rst/substitutions.txt: "reStructuredText Standard
182 Substitution Definition Sets", added to project.
184 * test/coverage.sh: Added to project; test coverage script.
186 * test/DocutilsTestSupport.py:
188 - Added support for specifying runtime settings at the suite level.
190 * tools/rstpep2html.py: Renamed from pep.py.
192 * tools/dev/create_unimap.py: Added to project; script to create the
193 docutils/writers/unimap_latex.py mapping file.
195 * tools/dev/profile_docutils.py: Added to project; profiler script.
197 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
199 * tools/stylesheets: Removed from project. Stylesheets have been
200 renamed and moved to docutils/writers/support/ or its
204 Release 0.3.9 (2005-05-26)
205 ==========================
209 - Eliminated and replaced all uses of the old string attributes
210 ``id``, ``name``, ``dupname`` and ``class`` with references to the
211 new list attributes ``ids``, ``names``, ``dupnames`` and
212 ``classes`` throughout the whole source tree.
216 - Enabled ``--dump-*`` options when ``--traceback`` specified,
217 allowing for easier debugging.
219 * docutils/examples.py:
221 - Added ``internals`` function for exploration.
225 - Fixed ``Input.decode`` method to apply heuristics only if no
226 encoding is explicitly given, and to provide better reporting of
228 - The ``Input.decode`` method now removes byte order marks (BOMs)
233 - ``image`` element class changed to subclass of Element, not
234 TextElement (it's an empty element, and cannot contain text).
235 - Added ``attr_defaults`` dictionary for default attribute values.
236 - Added empty list as default value for the following attributes:
237 ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
238 - Added ``document.decoration`` attribute,
239 ``document.get_decoration`` method, and ``decoration.get_header``
240 & ``.get_footer`` methods.
241 - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
246 - Removed ``docutils.utils.Reporter.categories``,
247 ``docutils.utils.ConditionSet``, and all references to them, to
248 simplify error reporting.
250 * docutils/languages/nl.py: Added to project; Dutch mappings by
253 * docutils/parsers/rst/__init__.py:
255 - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
257 * docutils/parsers/rst/states.py:
259 - Added check for escaped at-mark to prevent email address recognition.
260 - Fixed option lists to allow spaces inside ``<angle-bracketed option
262 - Allowed whitespace in paths and URLs.
263 - Added auto-enumerated list items.
264 - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
266 - Added support for table stub columns.
268 * docutils/parsers/rst/directives/__init__.py:
270 - Allowed whitespace in paths (``path`` function).
271 - Added ``uri`` directive option conversion function.
273 * docutils/parsers/rst/directives/body.py:
275 - Fixed illegal context bug with "topic" directive (allowed within
276 sidebars; not within body elements).
278 * docutils/parsers/rst/directives/images.py:
280 - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
281 - Added support for the ``file_insertion_enabled`` setting in the
282 "figure" directive (disables "figwidth" option).
283 - "image" directive: added checks for valid values of "align" option,
284 depending on context. "figure" directive: added specialized
285 "align" option and attribute on "figure" element.
286 - Made ":figwidth: image" option of "figure" directive work again.
287 - Fixed bug with reference names containing uppercase letters
288 (e.g. ``Name_``) in "target" option of "image" directive.
290 * docutils/parsers/rst/directives/misc.py:
292 - Fixed "include" and "raw" directives to catch text decoding
294 - Allowed whitespace in "include" & "raw" directive paths.
295 - Added support for ``file_insertion_enabled`` & ``raw_enabled``
296 settings in "include" & "raw" directives.
298 * docutils/parsers/rst/directives/parts.py:
300 - Added "header" & "footer" directives.
301 - Fixed illegal context bug with "contents" directive (topics
302 allowed within sidebars; not within body elements).
304 * docutils/parsers/rst/directives/tables.py:
306 - Added "list-table" directive.
307 - Caught empty CSV table bug.
308 - Added support for the ``file_insertion_enabled`` setting in the
309 "csv-table" directive.
310 - Added ``stub-columns`` option to "csv-table" and "list-table"
313 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
314 mappings by Martijn Pieters.
316 * docutils/readers/standalone.py:
318 - Added ``--section-subtitles`` and ``--no-section-subtitles``
319 options to activate or deactivate the SectSubTitle transform.
321 * docutils/transforms/frontmatter.py:
323 - Added SectSubTitle transform to promote titles of lone
324 subsections to subtitles.
326 * docutils/transforms/references.py:
328 - Fixed mislocated internal targets bug, by propagating internal
329 targets to the next node, making use of the newly added support
330 for multiple names and IDs.
331 - Fixed duplicate footnote label bug.
332 - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
335 * docutils/writers/html4css1.py:
337 - Fixed unencoded stylesheet reference bug (characters like "&" in
338 stylesheet references).
339 - ``target`` nodes now appear as ``span`` tags (instead of ``a``
341 - Added support for multiple IDs per node by creating empty ``span``
343 - Added the ``field_name_limit`` & ``option_limit`` settings &
345 - Added support for table stub columns.
346 - Added support for the ``align`` attribute on ``figure`` elements.
347 - Added the ``cloak_email_addresses`` setting & support.
348 - Added ``html_prolog``, ``html_head``, ``html_body``,
349 ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
350 ``docutils.core.publish_parts``.
351 - Added support for section subtitles.
353 * docutils/writers/latex2e.py:
355 - Fixed tables starting with more than one multirow cell.
356 - Improved --use-latex-docinfo so that organization/contact/address
357 fields are lumped with the last author field and appear on the
359 - Made sure the titlepage is always shown with --use-latex-docinfo,
360 even if the document has no title.
361 - Made sure that latex doesn't fill in today's date if no date field
363 - Added support for section subtitles.
365 * docutils/writers/null.py: Added to project; a do-nothing Writer.
367 * docs/api/publisher.txt:
369 - Added "``publish_parts`` Details" section.
371 * docutils/dev/repository.txt: Added to project; information about the
372 Docutils Subversion repository.
374 * docs/ref/docutils.dtd:
376 - Added a ``stub`` attribute to the ``colspec`` element via the
377 ``tbl.colspec.att`` parameter entity.
378 - Allowed topic elements within sidebars
379 - Added an ``align`` attribute to the ``figure`` element.
382 Release 0.3.7 (2004-12-24)
383 ==========================
385 * docutils/frontend.py:
387 - Added options: --input-encoding-error-handler,
388 --record-dependencies, --leave-footnote-reference-space,
390 - Added command-line and config file support for "overrides" setting
395 - Added support for input encoding error handler.
399 - Added dispatch_visit and dispatch_departure methods to
400 NodeVisitor; useful as a hook for Visitors.
401 - Changed structure of ``line_block``; added ``line``.
402 - Added ``compound`` node class.
403 - Added a mechanism for Visitors to transitionally ignore new node
408 - Moved ``escape2null`` and ``unescape`` functions from
409 docutils/parsers/rst/states.py.
411 * docutils/parsers/rst/roles.py:
414 - Changed role function API: the "text" parameter now takes
415 null-escaped interpreted text content.
417 * docutils/parsers/rst/states.py:
419 - Fixed bug where a "role" directive in a nested parse would crash
420 the parser; the state machine's "language" attribute was not being
422 - Added support for line block syntax.
423 - Fixed directive parsing bug: argument-less directives didn't
424 notice that arguments were present.
425 - Removed error checking for transitions.
426 - Added support for multiple classifiers in definition list items.
427 - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
428 - Changed role function API: the "text" parameter now takes
429 null-escaped interpreted text content.
430 - Empty sections and documents are allowed now.
432 * docutils/parsers/rst/directives/__init__.py:
434 - Added ``encoding`` directive option conversion function.
435 - Allow multiple class names in class_option conversion function.
437 * docutils/parsers/rst/directives/body.py:
439 - Converted the line-block directive to use the new structure.
440 - Extracted the old line-block functionality to the ``block``
441 function (still used).
442 - Added ``compound`` directive (thanks to Felix Wiemann).
444 * docutils/parsers/rst/directives/misc.py:
446 - Added "encoding" option to "include" and "raw" directives.
447 - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
448 - Allow multiple class names in the "class" directive.
450 * docutils/parsers/rst/directives/parts.py:
452 - Directive "sectnum" now accepts "prefix", "suffix", and "start"
453 options. Thanks to Lele Gaifax.
455 * docutils/parsers/rst/directives/tables.py:
457 - Added "encoding" directive to "csv-table" directive.
458 - Added workaround for lack of Unicode support in csv.py, for
461 * docutils/transforms/misc.py:
463 - Fixed bug when multiple "class" directives are applied to a single
465 - Enabled multiple format names for "raw" directive.
467 * docutils/transforms/references.py:
469 - Added support for trimming whitespace from beside substitution
472 * docutils/transforms/universal.py:
474 - FinalChecks now checks for illegal transitions and moves
475 transitions between sections.
477 * docutils/writers/html4css1.py:
479 - HTMLTranslator.encode now converts U+00A0 to " ".
480 - "stylesheet" and "stylesheet_path" settings are now mutually
482 - Added support for the new line_block/line structure.
483 - --footnote-references now overrides
484 --trim-footnote-reference-space, if applicable.
485 - Added support for ``compound`` elements.
486 - Enabled multiple format names for "raw" directive.
487 - ``<p>`` tags of a paragraph which is the only visible child of the
488 document node are no longer stripped.
489 - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
490 new method ``should_be_compact_paragraph()``.
491 - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
493 - "raw" elements are now surrounded by ``span`` or ``div`` tags in
494 the output if they have their ``class`` attribute set.
495 - The whole document is now surrounded by a ``<div
496 class="document">`` element.
497 - Body-level images are now wrapped by their own ``<div>`` elements,
498 with image classes copied to the wrapper, and for images which
499 have the ``:align:`` option set, the surrounding ``<div>`` now
500 receives a class attribute (like ``class="align-left"``).
502 * docutils/writers/latex2e.py:
504 - no newline after depart_term.
505 - Added translations for some Unicode quotes.
506 - Added option "font-encoding", made package AE the default.
507 - "stylesheet" and "stylesheet_path" settings are now mutually
509 - --footnote-references now overrides
510 --trim-footnote-reference-space, if applicable.
511 - The footnote label style now matches the footnote reference style
512 ("brackets" or "superscript").
513 - Added support for ``compound`` elements.
514 - Enabled multiple format names for "raw" directive.
516 * docs/ref/docutils.dtd:
518 - Changed structure of the ``line_block`` element; added ``line``.
519 - Added ``compound`` element.
520 - Added "ltrim" and "rtrim" attributes to
521 ``substitution_definition`` element.
522 - Enabled multiple format names for ``raw`` element.
523 - Enabled multiple classifiers in ``definition_list_item`` elements.
525 * docs/ref/rst/directives.txt
527 - Marked "line-block" as deprecated.
528 - "Class" directive now allows multiple class names.
529 - Added "Rationale for Class Attribute Value Conversion".
530 - Added warning about "raw" overuse/abuse.
532 * docs/ref/rst/restructuredtext.txt:
534 - Added syntax for line blocks.
535 - Definition list items may have multiple classifiers.
537 * docs/ref/rst/roles.txt:
541 * tools/stylesheets/default.css:
543 - Added support for the new line_block structure.
544 - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
547 Release 0.3.5 (2004-07-29)
548 ==========================
552 * _`Documentation cleanup/reorganization`.
554 - Created new subdirectories of docs/:
556 * ``docs/user/``: introductory/tutorial material for end-users
557 * ``docs/dev/``: for core-developers (development notes, plans, etc.)
558 * ``docs/api/``: API reference material for client-developers
559 * ``docs/ref/``: reference material for all groups
560 * ``docs/howto/``: for component-developers and core-developers
561 * ``docs/peps/``: Python Enhancement Proposals
563 - Moved ``docs/*`` to ``docs/user/``.
564 - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
565 ``spec/`` to ``docs/dev``.
566 - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
567 ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
568 - Moved ``alternatives.txt``, and ``problems.txt`` from
569 ``spec/rst/`` to ``docs/dev/rst/``.
570 - Moved ``reStructuredText.txt``, ``directives.txt``,
571 ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
572 to ``docs/ref/rst/``. Renamed ``interpreted.txt`` to
573 ``roles.txt``, ``reStructuredText.txt`` to
574 ``restructuredtext.txt``.
575 - Moved ``spec/howto/`` to ``docs/howto``.
577 In order to keep the CVS history of moved files, we supplied
578 SourceForge with a `script for modifying the Docutils CVS
581 __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
583 After running the cleanup script:
585 - Added ``docs/index.txt``.
586 - Added a ``.htaccess`` file to the ``web`` module, containing
587 redirects for all old paths to new paths. They'll preserve
588 fragments (the "#name" part of a URL), and won't clutter up the
589 file system, and will correct the URL in the user's browser.
590 - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
591 ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
592 the "To Do" list itself in ``docs/dev/todo.txt``.
593 - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
594 section of ``docs/dev/todo.txt``.
595 - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
596 - Added "How To Report Bugs" to ``BUGS.txt``.
597 - Went through all the sources and docs (including under web/) and
598 updated links. Mostly done by Felix Wiemann; thanks Felix!
599 (Still need to update links in the sandboxes.)
603 * BUGS.txt: Added to project.
605 * THANKS.txt: Added to project.
607 * docutils/__init__.py:
609 - 0.3.4: Post-release.
613 - Added special error handling & advice for UnicodeEncodeError.
614 - Refactored Publisher.publish (simplified exception handling &
615 extracted debug dumps).
616 - Renamed "enable_exit" parameter of convenience functions to
617 "enable_exit_status".
618 - Enabled traceback (exception propagation) by default in
619 programmatic convenience functions.
620 - Now publish_file and publish_cmdline convenience functions return
621 the encoded string results in addition to their regular I/O.
622 - Extracted common code from publish_file, publish_string, and
623 publish_parts, into new publish_programmatically. Extracted
624 settings code to ``Publisher.process_programmatic_settings``.
625 - In Publisher.publish, disabled ``settings_overrides`` when
626 ``settings`` is supplied; redundant.
628 * docutils/frontend.py:
630 - Added help text for "--output-encoding-error-handler" and
631 "--error-encoding-error-handler".
632 - Renamed "--exit" to "--exit-status".
633 - Simplified default-setting code.
635 * docutils/parsers/rst/__init__.py:
637 - Added "--pep-base-url" and "--rfc-base-url" options.
639 * docutils/parsers/rst/states.py:
641 - Made URI recognition more aggressive and intelligent.
643 * docutils/parsers/rst/directives/__init__.py:
645 - Added several directive option conversion functions.
647 * docutils/parsers/rst/directives/body.py:
649 - Moved "table" directive to tables.py.
651 * docutils/parsers/rst/directives/tables.py: Table-related directives,
654 * docutils/writers/latex2e.py:
656 - Added "--table-style=(standard|booktabs|nolines)"
657 - figures get "here" option (LaTeX per default puts them at bottom),
658 and figure content is centered.
659 - Rowspan support for tables.
660 - Fix: admonition titles before first section.
661 - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
662 - Replave ``_`` in literal by an underlined blank, because it has the correct
664 - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
665 - A few unicode replacements, if output_encoding != utf
666 - Add "--graphicx-option".
667 - Indent literal-blocks.
668 - Fix: omit ``\maketitle`` when there is no document title.
670 * docs/index.txt: "Docutils Project Documentation Overview", added to
673 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
674 Tool", added to project.
676 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
678 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
680 * docs/dev/policies.txt: Added to project (extracted from
681 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
683 * docs/dev/release.txt: Added to project (extracted from
684 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
686 * docs/dev/testing.txt: Added to project.
688 * docs/dev/website.txt: Added to project (extracted from
689 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
691 * docs/ref/rst/directives.txt:
693 - Added directives: "table", "csv-table".
695 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
696 added to project. 1 page for syntax, and a 1 page reference for
697 directives and roles. Source text to be used as-is; not meant to be
700 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
701 with a change of title.
703 * test/functional/, contents, and test/test_functional.py: Added to
706 * tools/buildhtml.py: Fixed bug with config file handling.
708 * tools/html.py: Removed from project (duplicate of rst2html.py).
710 * tools/pep2html.py: Removed from project (duplicate of Python's
711 nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
712 Docutils-related PEPs in docs/peps/).
714 * tools/rst2pseudoxml.py: Renamed from publish.py.
716 * tools/rst2xml.py: Renamed from docutils-xml.py.
718 * tools/test.txt: Removed from project; moved to
719 docs/user/rst/demo.txt.
721 * setup.py: Now also installs ``rst2latex.py``.
724 Release 0.3.3 (2004-05-09)
725 ==========================
727 * docutils/__init__.py:
729 - 0.3.1: Reorganized config file format (multiple sections); see
731 - Added unknown_reference_resolvers attribute to TransformSpec.
732 - 0.3.2: Interpreted text reorganization.
737 - Catch system messages to stop tracebacks from parsing errors.
738 - Catch exceptions during processing report & exit without
739 tracebacks, except when "--traceback" used.
740 - Reordered components for OptionParser; application comes last.
741 - Added "config_section" parameter to several methods and functions,
742 allowing front ends to easily specify their config file sections.
743 - Added publish_parts convenience function to allow access to individual
746 * docutils/examples.py: Added to project; practical examples of
747 Docutils client code, to be used as-is or as models for variations.
749 * docutils/frontend.py:
751 - Added "--traceback" & "--no-traceback" options ("traceback"
753 - Implemented support for config file reorganization:
754 ``standard_config_files`` moved from ``ConfigParser`` to
755 ``OptionParser``; added
756 ``OptionParser.get_config_file_settings()`` and
757 ``.get_standard_config_settings()``; support for old "[options]"
758 section (with deprecation warning) and mapping from old to new
760 - Reimplemented setting validation.
761 - Enabled flexible boolean values: yes/no, true/false, on/off.
762 - Added ``Values``, a subclass of ``optparse.Values``, with support
763 for list setting attributes.
764 - Added support for new ``DOCUTILSCONFIG`` environment variable;
765 thanks to Beni Cherniavsky.
766 - Added "--no-section-numbering" option.
770 - Catch IOErrors when opening source & destination files, report &
771 exit without tracebacks. Added ``handle_io_errors`` parameter to
772 ``FileInput`` & ``FileOutput`` to enable caller error handling.
776 - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
777 method definitions (via ``exec``) to dynamic assignments (via
778 ``setattr``); thanks to Roman Suzi.
779 - Encapsulated visitor dynamic assignments in a function; thanks to
781 - Added indirect_reference_name attribute to the Targetable
782 class. This attribute holds the whitespace_normalized_name
783 (contains mixed case) of a target.
785 * docutils/statemachine.py:
787 - Renamed ``StringList.strip_indent`` to ``.trim_left``.
788 - Added ``StringList.get_2D_block``.
792 - Added "level" attribute to SystemMessage exceptions.
794 * docutils/languages/af.py: Added to project; Afrikaans mappings by
797 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
800 * docutils/languages/eo.py: Added to project; Esperanto mappings by
801 Marcelo Huerta San Martin.
803 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
804 mappings by Lalo Martins.
806 * docutils/languages/ru.py: Added to project; Russian mappings by
809 * docutils/parsers/rst/roles.py: Added to project. Contains
810 interpreted text role functions, a registry for interpreted text
811 roles, and an API for adding to and retrieving from the registry.
812 Contributed by Edward Loper.
814 * docutils/parsers/rst/states.py:
816 - Updated ``RSTState.nested_parse`` for "include" in table cells.
817 - Allowed true em-dash character and "---" as block quote
819 - Added support for <angle-bracketed> complex option arguments
821 - Fixed handling of backslashes in substitution definitions.
822 - Fixed off-by-1 error with extra whitespace after substitution
823 definition directive.
824 - Added inline markup parsing to field lists' field names.
825 - Added support for quoted (and unindented) literal blocks.
826 Driven in part by a bribe from Frank Siebenlist (thanks!).
827 - Parser now handles escapes in URIs correctly.
828 - Made embedded-URIs' reference text omittable. Idea from Beni
830 - Refactored explicit target processing code.
831 - Added name attribute to references containing the reference name only
832 through whitespace_normalize_name (no case changes).
833 - parse_target no longer returns the refname after going through
834 normalize_name. This is now handled in make_target.
835 - Fixed bug relating to role-less interpreted text in non-English
837 - Reorganized interpreted text processing; moved code into the new
838 roles.py module. Contributed by Edward Loper.
839 - Refactored ``Body.parse_directive`` into ``run_directive`` and
840 ``parse_directive_block``.
842 * docutils/parsers/rst/tableparser.py:
844 - Reworked for ``StringList``, to support "include" directives in
847 * docutils/parsers/rst/directives/__init__.py:
849 - Renamed ``unchanged()`` directive option conversion function to
850 ``unchanged_required``, and added a new ``unchanged``.
851 - Catch unicode value too high error; fixes bug 781766.
852 - Beefed up directive error reporting.
854 * docutils/parsers/rst/directives/body.py:
856 - Added basic "table" directive.
858 * docutils/parsers/rst/directives/images.py:
860 - Added "target" option to "image" directive.
861 - Added name attribute to references containing the reference name only
862 through whitespace_normalize_name (no case changes).
864 * docutils/parsers/rst/directives/misc.py:
866 - Isolated the import of the ``urllib2`` module; was causing
867 problems on SourceForge (``libssl.so.2`` unavailable?).
868 - Added the "role" directive for declaring custom interpreted text
871 * docutils/parsers/rst/directives/parts.py:
873 - The "contents" directive does more work up-front, creating the
874 "topic" and "title", and leaving the "pending" node for the
875 transform. Allows earlier reference resolution; fixes subtle bug.
877 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
878 mappings by Jannie Hofmeyr.
880 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
881 mappings by Marek Blaha.
883 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
884 mappings by Marcelo Huerta San Martin.
886 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
887 Portuguese mappings by Lalo Martins.
889 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
890 mappings by Roman Suzi.
892 * docutils/transforms/parts.py:
894 - The "contents" directive does more work up-front, creating the
895 "topic" and "title", and leaving the "pending" node for the
896 transform. Allows earlier reference resolution; fixes subtle bug.
897 - Added support for disabling of section numbering.
899 * docutils/transforms/references.py:
901 - Verifying that external targets are truly targets and not indirect
902 references. This is because we are now adding a "name" attribute to
903 references in addition to targets. Note sure if this is correct!
904 - Added code to hook into the unknown_reference_resolvers list for a
905 transformer in resolve_indirect_target. This allows the
906 unknown_reference_resolvers to keep around indirect targets which
907 docutils doesn't know about.
908 - Added specific error message for duplicate targets.
910 * docutils/transforms/universal.py:
912 - Added FilterMessages transform (removes system messages below the
913 verbosity threshold).
914 - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
915 to FinalCheckVisitor for application-specific handling of
916 unresolvable references.
917 - Added specific error message for duplicate targets.
919 * docutils/writers/__init__.py:
921 - Added assemble_parts method to the Writer class to allow for
922 access to a documents individual parts.
923 - Documented & set default for ``Writer.output`` attribute.
925 * docutils/writers/html4css1.py:
927 - Fixed unicode handling of attribute values (bug 760673).
928 - Prevent duplication of "class" attribute values (bug report from
930 - Improved table grid/border handling (prompted by report from Bob
932 - Added support for table titles.
933 - Added "<title />" for untitled docs, for XHTML conformance; thanks
935 - Added functionality to keep track of individual parts of a document
936 and store them in a dictionary as the "parts" attribute of the writer.
937 Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
938 - Added proper support for the "scale" attribute of the "image"
939 element. Contributed by Brent Cook.
940 - Added ``--initial-header-level`` option.
941 - Fixed bug: the body_pre_docinfo segment depended on there being a
942 docinfo; if no docinfo, the document title was incorporated into
943 the body segment. Adversely affected the publish_parts interface.
945 * docutils/writers/latex2e.py:
947 - Changed default stylesheet to "no stylesheet" to avoid latex complaining
948 about a missing file.
949 - Added options and support: ``--compound-enumerators``,
950 ``--section-prefix-for-enumerators``, and
951 ``--section-enumerator-separator``. By John F Meinel Jr (SF patch
953 - Added option ``--use-verbatim-when-possible``, to avoid
954 problematic characters (eg, '~' in italian) in literal blocks.
955 - It's now possible to use four section levels in the `book` and
956 `report` LaTeX classes. The default `article` class still has
959 * docs/config.txt: "Docutils Configuration Files", added to project.
960 Moved config file entry descriptions from tools.txt.
964 - Moved config file entry descriptions to config.txt.
966 * spec/notes.txt: Continual updates. Added "Setting Up For Docutils
969 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
970 Text Roles", added to project.
972 * spec/rst/reStructuredText.txt:
974 - Added description of support for <angle-bracketed> complex option
975 arguments to option lists.
976 - Added subsections for indented and quoted literal blocks.
978 * test: Continually adding & updating tests.
980 - Added test/test_settings.py & test/data/config_*.txt support
982 - Added test/test_writers/test_htmlfragment.py.
984 * test/DocutilsTestSupport.py:
986 - Refactored LaTeX publisher test suite/case class names to make
987 testing other writers easier.
988 - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
989 to test the processing of HTML fragments which use the new
990 publish_parts convenience function.
992 * tools/buildhtml.py:
994 - Added support for the "--prune" option.
995 - Removed dependency on pep2html.py; plaintext PEPs no longer
998 * tools/docutils.conf:
1000 - Updated for configuration file reorganization.
1002 * tools/rst2html.py:
1004 - copied from tools/html.py
1008 - added a 'scripts' section to configuration
1009 - added 'tools/rst2html.py' to the scripts section
1012 Release 0.3 (2003-06-24)
1013 ========================
1017 * Renamed "attribute" to "option" for directives/extensions.
1019 * Renamed transform method "transform" to "apply".
1021 * Renamed "options" to "settings" for runtime settings (as set by
1022 command-line options). Sometimes "option" (singular) became
1023 "settings" (plural). Some variations below:
1025 - document.options -> document.settings (stored in other objects as
1027 - option_spec -> settings_spec (not directives though)
1028 - OptionSpec -> SettingsSpec
1029 - cmdline_options -> settings_spec
1030 - relative_path_options -> relative_path_settings
1031 - option_default_overrides -> settings_default_overrides
1032 - Publisher.set_options -> Publisher.get_settings
1036 * COPYING.txt: Added "Public Domain Dedication".
1038 * FAQ.txt: Frequently asked questions, added to project.
1042 - Updated with PyPI Trove classifiers.
1043 - Conditional installation of third-party modules.
1045 * docutils/__init__.py:
1047 - Bumped version to 0.2.1 to reflect changes to I/O classes.
1048 - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1049 - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1050 - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1051 option and its effect on the PEP template & writer.
1052 - Bumped version to 0.2.4 due to changes to the PEP template &
1054 - Bumped version to 0.2.5 to reflect changes to Reporter output.
1055 - Added ``TransformSpec`` class for new transform system.
1056 - Bumped version to 0.2.6 for API changes (renaming).
1057 - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1058 convenience functions.
1059 - Added ``Component.component_type`` attribute.
1060 - Bumped version to 0.2.8 because of the internal parser switch from
1061 plain lists to the docutils.statemachine.StringList objects.
1062 - Bumped version to 0.2.9 because of the frontend.py API changes.
1063 - Bumped version to 0.2.10 due to changes to the project layout
1064 (third-party modules removed from the "docutils" package), and
1065 signature changes in ``io.Input``/``io.Output``.
1066 - Changed version to 0.3.0 for release.
1070 - Made ``publish()`` a bit more convenient.
1071 - Generalized ``Publisher.set_io``.
1072 - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1073 parameters; improved its docstring.
1074 - Added ``publish_file()`` and ``publish_string()``.
1075 - Factored ``Publisher.set_source()`` and ``.set_destination()``
1077 - Added support for "--dump-pseudo-xml", "--dump-settings", and
1078 "--dump-transforms" hidden options.
1079 - Added ``Publisher.apply_transforms()`` method.
1080 - Added ``Publisher.set_components()`` method; support for
1081 ``publish_*()`` conveninece functions.
1082 - Moved config file processing to docutils/frontend.py.
1083 - Added support for exit status ("exit_level" setting &
1084 ``enable_exit`` parameter for Publisher.publish() and convenience
1087 * docutils/frontend.py:
1089 - Check for & exit on identical source & destination paths.
1090 - Fixed bug with absolute paths & "--config".
1091 - Set non-command-line defaults in ``OptionParser.__init__()``:
1092 ``_source`` & ``_destination``.
1093 - Distributed ``relative_path_settings`` to components; updated
1094 ``OptionParser.populate_from_components()`` to combine it all.
1095 - Require list of keys in ``make_paths_absolute`` (was implicit in
1096 global ``relative_path_settings``).
1097 - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1098 "--dump-settings", and "--dump-transforms" hidden options.
1099 - Removed nasty internals-fiddling ``ConfigParser.get_section``
1100 code, replaced with correct code.
1101 - Added validation functionality for config files.
1102 - Added "--error-encoding" option/setting, "_disable_config"
1104 - Added encoding validation; updated "--input-encoding" and
1105 "--output-encoding"; added "--error-encoding-error-handler" and
1106 "--output-encoding-error-handler".
1107 - Moved config file processing from docutils/core.py.
1108 - Updated ``OptionParser.populate_from_components`` to handle new
1109 ``SettingsSpec.settings_defaults`` dict.
1110 - Added support for "-" => stdin/stdout.
1111 - Added "exit_level" setting ("--exit" option).
1115 - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1116 - Added automatic closing to ``FileInput`` and ``FileOutput``.
1117 - Delayed opening of ``FileOutput`` file until ``write()`` called.
1118 - ``FileOutput.write()`` now returns the encoded output string.
1119 - Try to get path/stream name automatically in ``FileInput`` &
1121 - Added defaults for source & destination paths.
1122 - Allow for Unicode I/O with an explicit "unicode" encoding.
1123 - Added ``Output.encode()``.
1124 - Removed dependency on runtime settings; pass encoding directly.
1125 - Recognize Unicode strings in ``Input.decode()``.
1126 - Added support for output encoding error handlers.
1128 * docutils/nodes.py:
1130 - Added "Invisible" element category class.
1131 - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1132 modification during a traversal.
1133 - Added element classes: ``line_block``, ``generated``, ``address``,
1134 ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1135 ``superscript``, ``subscript``, ``inline``
1136 - Added support for lists of nodes to ``Element.insert()``.
1137 - Fixed parent linking in ``Element.replace()``.
1138 - Added new abstract superclass ``FixedTextElement``; adds
1139 "xml:space" attribute.
1140 - Added support for "line" attribute of ``system_message`` nodes.
1141 - Added support for the observer pattern from ``utils.Reporter``.
1142 Added ``parse_messages`` and ``transform_messages`` attributes to
1143 ``document``, removed ``messages``. Added ``note_parse_message``
1144 and ``note_transform_message`` methods.
1145 - Added support for improved diagnostics:
1147 - Added "document", "source", and "line" internal attributes to
1148 ``Node``, set by ``Node.setup_child()``.
1149 - Converted variations on ``node.parent = self`` to
1150 ``self.setup_child(node)``.
1151 - Added ``document.current_source`` & ``.current_line``
1152 attributes, and ``.note_source`` observer method.
1153 - Changed "system_message" output to GNU-Tools format.
1155 - Added a "rawsource" attribute to the ``Text`` class, for text
1156 before backslash-escape resolution.
1157 - Support for new transform system.
1158 - Reworked ``pending`` element.
1159 - Fixed XML DOM bug (SF #660611).
1160 - Removed the ``interpeted`` element class and added
1161 ``title_reference``, ``abbreviation``, ``acronym``.
1162 - Made substitutions case-sensitive-but-forgiving; moved some code
1164 - Fixed Unicode bug on element attributes (report: William Dode).
1166 * docutils/optik.py: Removed from project; replaced with
1167 extras/optparse.py and extras/textwrap.py. These will be installed
1168 only if they're not already present in the Python installation.
1170 * docutils/roman.py: Moved to extras/roman.py; this will be installed
1171 only if it's not already present in the Python installation.
1173 * docutils/statemachine.py:
1175 - Factored out ``State.add_initial_transitions()`` so it can be
1177 - Converted whitespace-specific "blank" and "indent" transitions
1178 from special-case code to ordinary transitions: removed
1179 ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
1180 ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
1181 ``ws_initial_transitions`` attributes.
1182 - Removed ``State.match_transition()`` after merging it into
1184 - Added ``StateCorrection`` exception.
1185 - Added support for ``StateCorrection`` in ``StateMachine.run()``
1186 (moved ``TransitionCorrection`` support there too.)
1187 - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
1188 ``EOFError`` instead of ``IndexError``.
1189 - Added ``State.no_match`` method.
1190 - Added support for the Observer pattern, triggered by input line
1192 - Added ``strip_top`` parameter to
1193 ``StateMachineWS.get_first_known_indented``.
1194 - Made ``context`` a parameter to ``StateMachine.run()``.
1195 - Added ``ViewList`` & ``StringList`` classes;
1196 ``extract_indented()`` becomes ``StringList.get_indented()``.
1197 - Added ``StateMachine.insert_input()``.
1198 - Fixed ViewList slice handling for Python 2.3. Patch from (and
1199 thanks to) Fred Drake.
1201 * docutils/utils.py:
1203 - Added a ``source`` attribute to Reporter instances and
1204 ``system_message`` elements.
1205 - Added an observer pattern to ``utils.Reporter`` to keep track of
1207 - Fixed bugs in ``relative_path()``.
1208 - Added support for improved diagnostics.
1209 - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
1210 - Added support for encoding Reporter stderr output, and encoding
1212 - Reporter keeps track of the highest level system message yet
1215 * docutils/languages: Fixed bibliographic field language lookups.
1217 * docutils/languages/es.py: Added to project; Spanish mappings by
1218 Marcelo Huerta San Martin.
1220 * docutils/languages/fr.py: Added to project; French mappings by
1223 * docutils/languages/it.py: Added to project; Italian mappings by
1226 * docutils/languages/sk.py: Added to project; Slovak mappings by
1229 * docutils/parser/__init__.py:
1231 - Added ``Parser.finish_parse()`` method.
1233 * docutils/parser/rst/__init__.py:
1235 - Added options: "--pep-references", "--rfc-references",
1236 "--tab-width", "--trim-footnote-reference-space".
1238 * docutils/parsers/rst/states.py:
1240 - Changed "title under/overline too short" system messages from INFO
1241 to WARNING, and fixed its insertion location.
1242 - Fixed enumerated list item parsing to allow paragraphs & section
1243 titles to begin with enumerators.
1244 - Converted system messages to use the new "line" attribute.
1245 - Fixed a substitution reference edge case.
1246 - Added support for "--pep-references" and "--rfc-references"
1247 options; reworked ``Inliner`` code to make customization easier.
1248 - Removed field argument parsing.
1249 - Added support for short section title over/underlines.
1250 - Fixed "simple reference name" regexp to ignore text like
1251 "object.__method__"; not an anonymous reference.
1252 - Added support for improved diagnostics.
1253 - Reworked directive API, based on Dethe Elza's contribution. Added
1254 ``Body.parse_directive()``, ``.parse_directive_options()``,
1255 ``.parse_directive_arguments()`` methods.
1256 - Added ``ExtensionOptions`` class, to parse directive options
1257 without parsing field bodies. Factored
1258 ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
1259 ``ExtensionOptions``.
1260 - Improved definition list term/classifier parsing.
1261 - Added warnings for unknown directives.
1262 - Renamed ``Stuff`` to ``Struct``.
1263 - Now flagged as errors: transitions at the beginning or end of
1264 sections, empty sections (except title), and empty documents.
1265 - Updated for ``statemachine.StringList``.
1266 - Enabled recognition of schemeless email addresses in targets.
1267 - Added support for embedded URIs in hyperlink references.
1268 - Added backslash-escapes to inline markup end-string suffix.
1269 - Added support for correct interpreted text processing.
1270 - Fixed nested title parsing (topic, sidebar directives).
1271 - Added special processing of backslash-escaped whitespace (idea
1272 from David Abrahams).
1273 - Made substitutions case-sensitive-but-forgiving; moved some code
1274 to ``docutils.nodes``.
1275 - Added support for block quote attributions.
1276 - Added a kludge to work-around a conflict between the bubble-up
1277 parser strategy and short titles (<= 3 char-long over- &
1278 underlines). Fixes SF bug #738803 "infinite loop with multiple
1279 titles" submitted by Jason Diamond.
1280 - Added explicit interpreted text roles for standard inline markup:
1281 "emphasis", "strong", "literal".
1282 - Implemented "superscript" and "subscript" interpreted text roles.
1283 - Added initial support for "abbreviation" and "acronym" roles;
1285 - Added support for "--trim-footnote-reference-space" option.
1286 - Optional space before colons in directives & hyperlink targets.
1288 * docutils/parsers/rst/tableparser.py:
1290 - Fixed a bug that was producing unwanted empty rows in "simple"
1292 - Detect bad column spans in "simple" tables.
1294 * docutils/parsers/rst/directives: Updated all directive functions to
1297 * docutils/parsers/rst/directives/__init__.py:
1299 - Added ``flag()``, ``unchanged()``, ``path()``,
1300 ``nonnegative_int()``, ``choice()``, and ``class_option()``
1301 directive option helper functions.
1302 - Added warnings for unknown directives.
1303 - Return ``None`` for missing directives.
1304 - Added ``register_directive()``, thanks to William Dode and Paul
1307 * docutils/parsers/rst/directives/admonitions.py:
1309 - Added "admonition" directive.
1311 * docutils/parsers/rst/directives/body.py: Added to project. Contains
1312 the "topic", "sidebar" (from Patrick O'Brien), "line-block",
1313 "parsed-literal", "rubric", "epigraph", "highlights" and
1314 "pull-quote" directives.
1316 * docutils/parsers/rst/directives/images.py:
1318 - Added an "align" attribute to the "image" & "figure" directives
1319 (by Adam Chodorowski).
1320 - Added "class" option to "image", and "figclass" to "figure".
1322 * docutils/parsers/rst/directives/misc.py:
1324 - Added "include", "raw", and "replace" directives, courtesy of
1326 - Added "unicode" and "class" directives.
1328 * docutils/parsers/rst/directives/parts.py:
1330 - Added the "sectnum" directive; by Dmitry Jemerov.
1331 - Added "class" option to "contents" directive.
1333 * docutils/parsers/rst/directives/references.py: Added to project.
1334 Contains the "target-notes" directive.
1336 * docutils/parsers/rst/languages/__init__.py:
1338 - Return ``None`` from get_language() for missing language modules.
1340 * docutils/parsers/rst/languages/de.py: Added to project; German
1341 mappings by Engelbert Gruber.
1343 * docutils/parsers/rst/languages/en.py:
1345 - Added interpreted text roles mapping.
1347 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
1348 mappings by Marcelo Huerta San Martin.
1350 * docutils/parsers/rst/languages/fr.py: Added to project; French
1351 mappings by William Dode.
1353 * docutils/parsers/rst/languages/it.py: Added to project; Italian
1354 mappings by Nicola Larosa.
1356 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
1357 mappings by Miroslav Vasko.
1359 * docutils/readers/__init__.py:
1361 - Added support for the observer pattern from ``utils.Reporter``, in
1362 ``Reader.parse`` and ``Reader.transform``.
1363 - Removed ``Reader.transform()`` method.
1364 - Added default parameter values to ``Reader.__init__()`` to make
1365 instantiation easier.
1366 - Removed bogus aliases: "restructuredtext" is *not* a Reader.
1368 * docutils/readers/pep.py:
1370 - Added the ``peps.TargetNotes`` transform to the Reader.
1371 - Removed PEP & RFC reference detection code; moved to
1372 parsers/rst/states.py as options (enabled here by default).
1373 - Added support for pre-acceptance PEPs (no PEP number yet).
1374 - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
1377 * docutils/readers/python: Python Source Reader subpackage added to
1378 project, including preliminary versions of:
1381 - moduleparser.py: Parser for Python modules.
1383 * docutils/transforms/__init__.py:
1385 - Added ``Transformer`` class and completed transform reform.
1386 - Added unknown_reference_resolvers list for each transformer. This list holds
1387 the list of functions provided by each component of the transformer that
1388 help resolve references.
1390 * docutils/transforms/frontmatter.py:
1392 - Improved support for generic fields.
1393 - Fixed bibliographic field language lookups.
1395 * docutils/transforms/misc.py: Added to project. Miscellaneous
1398 * docutils/transforms/parts.py:
1400 - Moved the "id" attribute from TOC list items to the references
1401 (``Contents.build_contents()``).
1402 - Added the ``SectNum`` transform; by Dmitry Jemerov.
1403 - Added "class" attribute support to ``Contents``.
1405 * docutils/transforms/peps.py:
1407 - Added ``mask_email()`` function, updating to pep2html.py's
1409 - Linked "Content-Type: text/x-rst" to PEP 12.
1410 - Added the ``TargetNotes`` PEP-specific transform.
1411 - Added ``TargetNotes.cleanup_callback``.
1412 - Added title check to ``Headers``.
1414 * docutils/transforms/references.py:
1416 - Added the ``TargetNotes`` generic transform.
1417 - Split ``Hyperlinks`` into multiple transforms.
1418 - Fixed bug with multiply-indirect references (report: Bruce Smith).
1419 - Added check for circular indirect references.
1420 - Made substitutions case-sensitive-but-forgiving.
1422 * docutils/transforms/universal.py:
1424 - Added support for the "--expose-internal-attributes" option.
1425 - Removed ``Pending`` transform classes & data.
1427 * docutils/writers/__init__.py:
1429 - Removed ``Writer.transform()`` method.
1431 * docutils/writers/docutils-xml.py:
1433 - Added XML and doctype declarations.
1434 - Added "--no-doctype" and "--no-xml-declaration" options.
1436 * docutils/writers/html4css1.py:
1438 - "name" attributes only on these tags: a, applet, form, frame,
1440 - Added "name" attribute to <a> in section titles for Netscape 4
1441 support (bug report: Pearu Peterson).
1442 - Fixed targets (names) on footnote, citation, topic title,
1443 problematic, and system_message nodes (for Netscape 4).
1444 - Changed field names from "<td>" to "<th>".
1445 - Added "@" to "@" encoding to thwart address harvesters.
1446 - Improved the vertical whitespace optimization; ignore "invisible"
1447 nodes (targets, comments, etc.).
1448 - Improved inline literals with ``<span class="pre">`` around chunks
1449 of text and `` `` for runs of spaces.
1450 - Improved modularity of output; added ``self.body_pre_docinfo`` and
1451 ``self.docinfo`` segments.
1452 - Added support for "line_block", "address" elements.
1453 - Improved backlinks (footnotes & system_messages).
1454 - Improved system_message output.
1455 - Redefined "--stylesheet" as containing an invariant URL, used
1456 verbatim. Added "--stylesheet-path", interpreted w.r.t. the
1458 - Added "--footnote-references" option (superscript or brackets).
1459 - Added "--compact-lists" and "--no-compact-lists" options.
1460 - Added "--embed-stylesheet" and "--link-stylesheet" options;
1461 factored out ``HTMLTranslator.get_stylesheet_reference()``.
1462 - Improved field list rendering.
1463 - Added Docutils version to "generator" meta tag.
1464 - Fixed a bug with images; they must be inline, so wrapped in <p>.
1465 - Improved layout of <pre> HTML source.
1466 - Fixed attribute typo on <colspec>.
1467 - Refined XML prologue.
1468 - Support for no stylesheet.
1469 - Removed "interpreted" element support.
1470 - Added support for "title_reference", "sidebar", "attribution",
1471 "rubric", and generic "admonition" elements.
1472 - Added "--attribution" option.
1473 - Added support for "inline", "subscript", "superscript" elements.
1474 - Added initial support for "abbreviation" and "acronym";
1477 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
1481 - Double quotes in literal blocks (special treatment for de/ngerman).
1482 - Added '--hyperlink-color' option ('0' turns off coloring of links).
1483 - Added "--attribution" option.
1484 - Right align attributions.
1486 * docutils/writers/pep_html.py:
1488 - Parameterized output encoding in PEP template.
1489 - Reworked substitutions from ``locals()`` into ``subs`` dict.
1490 - Redefined "--pep-stylesheet" as containing an invariant URL, used
1491 verbatim. Added "--pep-stylesheet-path", interpreted w.r.t. the
1493 - Added an override on the "--footnote-references" option.
1494 - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
1495 - Added Docutils version to "generator" meta tag.
1496 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
1500 - Added a "silent" setting for ``buildhtml.py``.
1501 - Added a "Getting Help" section.
1502 - Rearranged the structure.
1503 - Kept up to date, with new settings, command-line options etc.
1504 - Added section for ``rst2latex.py`` (Engelbert Gruber).
1505 - Converted settings table into a definition list.
1507 * docs/rst/quickstart.txt:
1509 - Added a table of contents.
1510 - Added feedback information.
1511 - Added mention of minimum section title underline lengths.
1512 - Removed the 4-character minimum for section title underlines.
1514 * docs/rst/quickref.html:
1516 - Added a "Getting Help" section.
1517 - Added a style to make section title backlinks more subtle.
1518 - Added mention of minimum section title underline lengths.
1519 - Removed the 4-character minimum for section title underlines.
1521 * extras: Directory added to project; contains third-party modules
1522 that Docutils depends on (optparse, textwrap, roman). These are
1523 only installed if they're not already present.
1525 * licenses: Directory added to project; contains copies of license
1526 files for non-public-domain files.
1530 - Changed the focus. It's about DTD elements: structural
1531 relationships, semantics, and external (public) attributes. Not
1532 about the element class library.
1533 - Moved some implementation-specific stuff into ``docutils.nodes``
1535 - Wrote descriptions of all common attributes and parameter
1536 entities. Filled in introductory material.
1537 - Working through the element descriptions: 55 down, 37 to go.
1538 - Removed "Representation of Horizontal Rules" to
1539 spec/rst/alternatives.txt.
1541 * spec/docutils.dtd:
1543 - Added "generated" inline element.
1544 - Added "line_block" body element.
1545 - Added "auto" attribute to "title".
1546 - Changed content models of "literal_block" and "doctest_block" to
1548 - Added ``%number;`` attribute type parameter entity.
1549 - Changed ``%structural.elements;`` to ``%section.elements``.
1550 - Updated attribute types; made more specific.
1551 - Added "address" bibliographic element.
1552 - Added "line" attribute to ``system_message`` element.
1553 - Removed "field_argument" element; "field_name" may contain
1554 multiple words and whitespace.
1555 - Changed public identifier to docutils.sf.net.
1556 - Removed "interpreted" element; added "title_reference",
1557 "abbreviation", "acronym".
1558 - Removed "refuri" attribute from "footnote_reference" and
1559 "citation_reference".
1560 - Added "sidebar", "rubric", "attribution", "admonition",
1561 "superscript", "subscript", and "inline" elements.
1563 * spec/pep-0256.txt: Converted to reStructuredText & updated.
1565 * spec/pep-0257.txt: Converted to reStructuredText & updated.
1567 * spec/pep-0258.txt: Converted to reStructuredText & updated.
1569 * spec/semantics.txt: Updated with text from a Doc-SIG response to
1572 * spec/transforms.txt: Added to project.
1574 * spec/howto: Added subdirectory, for developer how-to docs.
1576 * spec/howto/rst-directives.txt: Added to project. Original by Dethe
1577 Elza, edited & extended by David Goodger.
1579 * spec/howto/i18n.txt: Docutils Internationalization. Added to
1582 * spec/rst/alternatives.txt:
1584 - Added "Doctree Representation of Transitions" from
1586 - Updated "Inline External Targets" & closed the debate.
1587 - Added ideas for interpreted text syntax extensions.
1588 - Added "Nested Inline Markup" section.
1590 * spec/rst/directives.txt:
1592 - Added directives: "topic", "sectnum", "target-notes",
1593 "line-block", "parsed-literal", "include", "replace", "sidebar",
1594 "admonition", "rubric", "epigraph", "highlights", "unicode" and
1596 - Formalized descriptions of directive details.
1597 - Added an "align" attribute to the "image" & "figure" directives
1598 (by Adam Chodorowski).
1599 - Added "class" options to "topic", "sidebar", "line-block",
1600 "parsed-literal", "contents", and "image"; and "figclass" to
1603 * spec/rst/interpreted.txt: Added to project. Descriptions of
1604 interpreted text roles.
1606 * spec/rst/introduction.txt:
1608 - Added pointers to material for new users.
1610 * spec/rst/reStructuredText.txt:
1612 - Disambiguated comments (just add a newline after the "::").
1613 - Updated enumerated list description; added a discussion of the
1614 second-line validity checking.
1615 - Updated directive description.
1616 - Added a note redirecting newbies to the user docs.
1617 - Expanded description of inline markup start-strings in non-markup
1619 - Removed field arguments and made field lists a generic construct.
1620 - Removed the 4-character minimum for section title underlines.
1621 - Clarified term/classifier delimiter & inline markup ambiguity
1623 - Added "Embedded URIs".
1624 - Updated "Interpreted Text" section.
1625 - Added "Character-Level Inline Markup" section.
1627 * test: Continually adding & updating tests.
1629 - Moved test/test_rst/ to test/test_parsers/test_rst/.
1630 - Moved test/test_pep/ to test/test_readers/test_pep/.
1631 - Added test/test_readers/test_python/.
1632 - Added test/test_writers/ (Engelbert Gruber).
1636 - Made the ``locale.setlocale()`` calls in front ends
1639 * tools/buildhtml.py:
1641 - Added "--silent" option.
1642 - Fixed bug with absolute paths & "--config".
1643 - Updated for new I/O classes.
1644 - Added some exception handling.
1645 - Separated publishers' setting defaults; prevents interference.
1646 - Updated for new ``publish_file()`` convenience function.
1648 * tools/pep-html-template:
1650 - Allow for "--embed-stylesheet".
1651 - Added Docutils version to "generator" meta tag.
1652 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
1653 - Conform to XHTML spec.
1655 * tools/pep2html.py:
1657 - Made ``argv`` a parameter to ``main()``.
1658 - Added support for "Content-Type:" header & arbitrary PEP formats.
1659 - Linked "Content-Type: text/plain" to PEP 9.
1660 - Files skipped (due to an error) are not pushed onto the server.
1661 - Updated for new I/O classes.
1662 - Added ``check_requirements()`` & ``pep_type_error()``.
1663 - Added some exception handling.
1664 - Updated for new ``publish_string()`` convenience function.
1665 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
1667 * tools/quicktest.py:
1669 - Added "-V"/"--version" option.
1671 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
1673 * tools/unicode2rstsubs.py: Added to project. Produces character
1674 entity files (reSructuredText substitutions) from the MathML master
1677 * tools/editors: Support code for editors, added to project. Contains
1678 ``emacs/restructuredtext.el``.
1680 * tools/stylesheets/default.css: Moved into the stylesheets directory.
1682 - Added style for chunks of inline literals.
1683 - Removed margin for first child of table cells.
1684 - Right-aligned field list names.
1685 - Support for auto-numbered section titles in TOCs.
1686 - Increased the size of inline literals (<tt>) in titles.
1687 - Restored the light gray background for inline literals.
1688 - Added support for "line_block" elements.
1689 - Added style for "address" elements.
1690 - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
1691 - Improved field list rendering.
1692 - Vertical whitespace improvements.
1693 - Removed "a.target" style.
1695 * tools/stylesheets/pep.css:
1697 - Fixed nested section margins.
1698 - Other changes parallel those of ``../default.css``.
1701 Release 0.2 (2002-07-31)
1702 ========================
1706 - The word "component" was being used ambiguously. From now on,
1707 "component" will be used to mean "Docutils component", as in Reader,
1708 Writer, Parser, or Transform. Portions of documents (Table of
1709 Contents, sections, etc.) will be called "document parts".
1710 - Did a grand renaming: a lot of ``verylongnames`` became
1711 ``very_long_names``.
1712 - Cleaned up imports: no more relative package imports or
1713 comma-separated lists of top-level modules.
1714 - Added support for an option values object which carries default
1715 settings and overrides (from command-line options and library use).
1716 - Added internal Unicode support, and support for both input and
1718 - Added support for the ``docutils.io.IO`` class & subclasses.
1722 * docutils/__init__.py:
1724 - Added ``ApplicationError`` and ``DataError``, for use throughout
1726 - Added ``Component`` base class for Docutils components; implements
1727 the ``supports`` method.
1728 - Added ``__version__`` (thus, ``docutils.__version__``).
1732 - Removed many keyword parameters to ``Publisher.__init__()`` and
1733 ``publish()``; bundled into an option values object. Added
1734 "argv", "usage", "description", and "option_spec" parameters for
1735 command-line support.
1736 - Added ``Publisher.process_command_line()`` and ``.set_options()``
1738 - Reworked I/O model for ``docutils.io`` wrappers.
1739 - Updated ``Publisher.set_options()``; now returns option values
1741 - Added support for configuration files (/etc/docutils.conf,
1742 ./docutils.conf, ~/.docutils).
1743 - Added ``Publisher.setup_option_parser()``.
1744 - Added default usage message and description.
1746 * docutils/frontend.py: Added to project; support for front-end
1747 (command-line) scripts. Option specifications may be augmented by
1748 components. Requires Optik (http://optik.sf.net/) for option
1749 processing (installed locally as docutils/optik.py).
1751 * docutils/io.py: Added to project; uniform API for a variety of input
1754 * docutils/nodes.py:
1756 - Added ``TreeCopyVisitor`` class.
1757 - Added a ``copy`` method to ``Node`` and subclasses.
1758 - Added a ``SkipDeparture`` exception for visitors.
1759 - Renamed ``TreePruningException`` from ``VisitorException``.
1760 - Added docstrings to ``TreePruningException``, subclasses, and
1762 - Improved docstrings.
1763 - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
1764 - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
1766 - Added ``decoration``, ``header``, and ``footer`` node classes, and
1767 ``PreDecorative`` mixin.
1768 - Reworked the name/id bookkeeping; to ``document``, removed
1769 ``explicit_targets`` and ``implicit_targets`` attributes, added
1770 ``nametypes`` attribute and ``set_name_id_map`` method.
1771 - Added ``NodeFound`` exception, for use with ``NodeVisitor``
1773 - Added ``document.has_name()`` method.
1774 - Fixed DOM generation for list-attributes.
1775 - Added category class ``Labeled`` (used by footnotes & citations).
1776 - Added ``Element.set_class()`` method (sets "class" attribute).
1778 * docutils/optik.py: Added to project. Combined from the Optik
1779 package, with added option groups and other modifications. The use
1780 of this module is probably only temporary.
1782 * docutils/statemachine.py:
1784 - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
1785 - Added underscores to improve many awkward names.
1786 - In ``string2lines()``, changed whitespace normalizing translation
1787 table to regexp; restores Python 2.0 compatibility with Unicode.
1789 * docutils/urischemes.py:
1791 - Filled in some descriptions.
1792 - Added "shttp" scheme.
1794 * docutils/utils.py:
1796 - Added ``clean_rcs_keywords`` function (moved from
1797 docutils/transforms/frontmatter.py
1798 ``DocInfo.filter_rcs_keywords``).
1799 - Added underscores to improve many awkward names.
1800 - Changed names of Reporter's thresholds:
1801 warning_level -> report_level; error_level -> halt_level.
1802 - Moved ``utils.id()`` to ``nodes.make_id()``.
1803 - Added ``relative_path(source, target)``.
1805 * docutils/languages/de.py: German mappings; added to project. Thanks
1806 to Gunnar Schwant for the translations.
1808 * docutils/languages/en.py: Added "Dedication" bibliographic field
1811 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
1814 * docutils/parsers/rst/states.py:
1816 - Added underscores to improve many awkward names.
1817 - Added RFC-2822 header support.
1818 - Extracted the inline parsing code from ``RSTState`` to a separate
1819 class, ``Inliner``, which will allow easy subclassing.
1820 - Made local bindings for ``memo`` container & often-used contents
1821 (reduces code complexity a lot). See ``RSTState.runtime_init()``.
1822 - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
1823 - Added ``MarkupMismatch`` exception; for late corrections.
1824 - Added ``-/:`` characters to inline markup's start string prefix,
1825 ``/`` to end string suffix.
1826 - Fixed a footnote bug.
1827 - Fixed a bug with literal blocks.
1828 - Applied patch from Simon Budig: simplified regexps with symbolic
1829 names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
1830 - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
1831 - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
1832 - Allowed non-ASCII in "simple names" (directive names, field names,
1834 - Converted ``Inliner.patterns.initial`` to be dynamically built
1835 from parts with ``build_regexp()`` function.
1836 - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
1837 - Updated docstrings.
1838 - Changed "table" to "grid_table"; added "simple_table" support.
1840 * docutils/parsers/rst/tableparser.py:
1842 - Changed ``TableParser`` to ``GridTableParser``.
1843 - Added ``SimpleTableParser``.
1844 - Refactored naming.
1846 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
1847 a fallback language for directive names.
1849 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
1850 directive to use a ``pending`` element, used only by HTML writers.
1852 * docutils/parsers/rst/directives/parts.py: Renamed from
1855 - Added "backlinks" attribute to "contents" directive.
1857 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
1858 project by Adam Chodorowski.
1860 * docutils/readers/__init__.py: Gave Readers more control over
1861 choosing and instantiating Parsers.
1863 * docutils/readers/pep.py: Added to project; for PEP processing.
1865 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
1866 requires a ``component`` parameter.
1868 * docutils/transforms/components.py: Added to project; transforms
1869 related to Docutils components.
1871 * docutils/transforms/frontmatter.py:
1873 - In ``DocInfo.extract_authors``, check for a single "author" in an
1874 "authors" group, and convert it to a single "author" element.
1875 - Added support for "Dedication" and generic bibliographic fields.
1877 * docutils/transforms/peps.py: Added to project; PEP-specific.
1879 * docutils/transforms/parts.py: Renamed from old components.py.
1881 - Added filter for `Contents`, to use alt-text for inline images,
1882 and to remove inline markup that doesn't make sense in the ToC.
1883 - Added "name" attribute to TOC topic depending on its title.
1884 - Added support for optional TOC backlinks.
1886 * docutils/transforms/references.py: Fixed indirect target resolution
1887 in ``Hyperlinks`` transform.
1889 * docutils/transforms/universal.py:
1891 - Changed ``Messages`` transform to properly filter out system
1892 messages below the warning threshold.
1893 - Added ``Decorations`` transform (support for ``--generator``,
1894 ``--date``, ``--time``, ``--source-link`` options).
1896 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
1897 Engelbert Gruber's PDF writer.
1899 * docutils/writers/html4css1.py:
1901 - Made XHTML-compatible (switched to lowercase element & attribute
1902 names; empty tag format).
1903 - Escape double-dashes in comment text.
1904 - Improved boilerplate & modularity of output.
1905 - Exposed modular output in Writer class.
1906 - Added a "generator" meta tag to <head>.
1907 - Added support for the ``--stylesheet`` option.
1908 - Added support for ``decoration``, ``header``, and ``footer``
1910 - In ``HTMLTranslator.attval()``, changed whitespace normalizing
1911 translation table to regexp; restores Python 2.0 compatibility
1913 - Added the translator class as instance variable to the Writer, to
1914 make it easily subclassable.
1915 - Improved option list spacing (thanks to Richard Jones).
1916 - Modified field list output.
1917 - Added backlinks to footnotes & citations.
1918 - Added percentage widths to "<col>" tags (from colspec).
1919 - Option lists: "<code>" changed to "<kbd>", ``option_argument``
1920 "<span>" changed to "<var>".
1921 - Inline literals: "<code>" changed to "<tt>".
1922 - Many changes to optimize vertical space: compact simple lists etc.
1923 - Add a command-line options & directive attributes to control TOC
1924 and footnote/citation backlinks.
1925 - Added support for optional footnote/citation backlinks.
1926 - Added support for generic bibliographic fields.
1927 - Identify backrefs.
1928 - Relative URLs for stylesheet links.
1930 * docutils/writers/pep_html.py: Added to project; HTML Writer for
1931 PEPs (subclass of ``html4css1.Writer``).
1933 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
1935 * docutils/writers/docutils_xml.py: Added to project; trivial writer
1936 of the Docutils internal doctree in XML.
1938 * docs/tools.txt: "Docutils Front-End Tools", added to project.
1942 - Changed the title to "The Docutils Document Tree".
1943 - Added "Hyperlink Bookkeeping" section.
1945 * spec/docutils.dtd:
1947 - Added ``decoration``, ``header``, and ``footer`` elements.
1948 - Brought ``interpreted`` element in line with the parser: changed
1949 attribute "type" to "role", added "position".
1950 - Added support for generic bibliographic fields.
1952 * spec/notes.txt: Continual updates. Added "Project Policies".
1954 * spec/pep-0256.txt: Updated. Added "Roadmap to the Doctring PEPs"
1957 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
1959 * spec/pep-0258.txt: Updated. Added text from pysource.txt and
1960 mailing list discussions.
1962 * spec/pep-0287.txt:
1964 - Renamed to "reStructuredText Docstring Format".
1966 - Reworked Q&A as an enumerated list.
1967 - Converted to reStructuredText format.
1969 * spec/pysource.dtd:
1971 - Reworked structural elements, incorporating ideas from Tony Ibbs.
1973 * spec/pysource.txt: Removed from project. Moved much of its contents
1976 * spec/rst/alternatives.txt:
1978 - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
1979 - Added "Inline External Targets" section.
1981 * spec/rst/directives.txt:
1983 - Added "backlinks" attribute to "contents" directive.
1985 * spec/rst/problems.txt:
1987 - Updated the Enumerated List Markup discussion.
1988 - Added new alternative table markup syntaxes.
1990 * spec/rst/reStructuredText.txt:
1992 - Clarified field list usage.
1993 - Updated enumerated list description.
1994 - Clarified purpose of directives.
1995 - Added ``-/:`` characters to inline markup's start string prefix,
1996 ``/`` to end string suffix.
1997 - Updated "Authors" bibliographic field behavior.
1998 - Changed "inline hyperlink targets" to "inline internal targets".
1999 - Added "simple table" syntax to supplement the existing but
2000 newly-renamed "grid tables".
2001 - Added cautions for anonymous hyperlink use.
2002 - Added "Dedication" and generic bibliographic fields.
2004 * test: Made test modules standalone (subdirectories became packages).
2006 * test/DocutilsTestSupport.py:
2008 - Added support for PEP extensions to reStructuredText.
2009 - Added support for simple tables.
2010 - Refactored naming.
2012 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2014 - Now supports true packages containing test modules
2015 (``__init__.py`` files required); fixes duplicate module name bug.
2017 * test/test_pep/: Subpackage added to project; PEP testing.
2019 * test/test_rst/test_SimpleTableParser.py: Added to project.
2023 - Updated html.py and publish.py front-end tools to use the new
2024 command-line processing facilities of ``docutils.frontend``
2025 (exposed in ``docutils.core.Publisher``), reducing each to just a
2027 - Added ``locale.setlocale()`` calls to front-end tools.
2029 * tools/buildhtml.py: Added to project; batch-generates .html from all
2030 the .txt files in directories and subdirectories.
2032 * tools/default.css:
2034 - Added support for ``header`` and ``footer`` elements.
2035 - Added styles for "Dedication" topics (biblio fields).
2037 * tools/docutils.conf: A configuration file; added to project.
2039 * tools/docutils-xml.py: Added to project.
2041 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2043 * tools/pep-html-template: Added to project.
2045 * tools/pep2html.py: Added to project from Python (nondist/peps).
2046 Added support for Docutils (reStructuredText PEPs).
2048 * tools/quicktest.py:
2050 - Added the ``--attributes`` option, hacked a bit.
2051 - Added a second command-line argument (output file); cleaned up.
2053 * tools/stylesheets/: Subdirectory added to project.
2055 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2058 Release 0.1 (2002-04-20)
2059 ========================
2061 This is the first release of Docutils, merged from the now inactive
2062 reStructuredText__ and `Docstring Processing System`__ projects. For
2063 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2064 `DPS HISTORY`__ files.
2066 __ http://structuredtext.sourceforge.net/
2067 __ http://docstring.sourceforge.net/
2068 __ http://structuredtext.sourceforge.net/HISTORY.html
2069 __ http://docstring.sourceforge.net/HISTORY.html
2071 General changes: renamed 'dps' package to 'docutils'; renamed
2072 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2073 the test suites (reStructuredText's test/test_states renamed to
2074 test/test_rst); and all modifications required to make it all work.
2076 * docutils/parsers/rst/states.py:
2078 - Improved diagnostic system messages for missing blank lines.
2079 - Fixed substitution_reference bug.
2085 indent-tabs-mode: nil
2086 sentence-end-double-space: t