1 .. -*- coding: utf-8 -*-
7 :Author: David Goodger; open to all Docutils developers
8 :Contact: goodger@python.org
11 :Web site: http://docutils.sourceforge.net/
12 :Copyright: This document has been placed in the public domain.
22 - reStructuredText "code" role and directive with syntax highlighting
24 - "code" option of the "include" directive.
25 - Fix parse_option_marker for option arguments containing ``=``.
27 .. _Pygments: http://pygments.org/
31 - Fix [ 3395948 ] (Work around encoding problems in Py3k).
35 - DependencyList uses io.FileOutput to prevent errors recording
36 non-ASCII filenames (fixes [ 3434355 ].
38 * docutils/writers/latex2e/__init__.py
40 - Support the `abbreviation` and `acronym` standard roles.
42 Release 0.8.1 (2011-08-30)
43 ==========================
47 - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
48 and [ 3395920 ] (correct copyright info for rst.el).
52 - Apply [ 3303733 ] and [ 3365041 ] to fix tests under py3k.
54 * docutils/writers/latex2e/__init__.py
56 - Clean up Babel language setting. Restores Sphinx compatibility.
58 Release 0.8 (2011-07-07)
59 ========================
63 - Handle language codes according to `BCP 47`_.
64 - If the specified language is not supported by Docutils,
65 warn and fall back to English.
66 - Math support: reStructuredText "math" role and directive,
67 ``math`` and ``math_block`` doctree elements.
68 - Decode command line arguments with the locale's preferred encoding
69 (to allow, e.g., ``--title=Dornröschen``).
70 - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
71 - New sub-module `error_reporting`: handle encoding/decoding errors
72 when reporting exceptions.
73 - Some additions to the Docutils core are released under the 2-Clause BSD
74 license, see COPYING_ for details.
76 .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
77 .. _COPYING: COPYING.html
81 - Most directives now support a "name" option that attaches a
84 - Directive content may start on the first line also when the directive
87 * docs/dev/policies.txt:
89 - Recommend the 2-Clause BSD license
90 (http://www.spdx.org/licenses/BSD-2-Clause)
91 for code that is kept under the author's copyright.
95 - Fix ``--local`` switch.
97 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
99 * docutils/writers/html4css1/__init__.py
101 - Set "lang" argument for objects with class argument
102 "language-<language tag>".
103 - New setting "math-output" with support for HTML, MathML, and LaTeX.
105 * docutils/writers/latex2e/__init__.py
107 - Fix [ 3043986 ] AttributeError using :local: with table of content.
108 - Place title data in the document preamble.
109 - Load `babel` package only if required.
110 - Update list of supported languages.
111 - New config setting "hyperref-options".
112 No hard-coded "unicode" hyperref option (clash with xetex).
113 - Set language for custom roles, paragraphs, block-quotes, and
114 line-quotes with class argument "language-<language tag>".
115 - Fix [ 3095603 ] wrong quotes output for russian and other languages.
116 - Convert image URI to a local file path.
117 - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
118 has more than one paragraph (Wolfgang Scherer).
119 - \leavevmode before longtable only when needed (prevents spurious vspace)
120 - do not advance table counter for tables without caption
122 * docutils/writers/xetex/__init__.py
124 - New writer generating LaTeX code for compiling with ``xelatex``.
126 A separate writer (inheriting from latex2e) instead of a ``--xetex``
127 option allows separate config options for XeTeX vs. LaTeX2e.
129 * docutils/writers/manpage.py
131 - Fix: BUG#3219183 - vertical space in definition lists containing markup.
132 - Fix: vertical space cleaning for option group ``.``.
134 * tools/editors/emacs/rst.el:
136 - Fix [ 3001100 ] does not handle spaces in filenames
137 (thanks to Jakub Wilk)
141 - strip whitespace from stylesheet arguments
142 - exclude combining chars from column_width
143 (partial fix for [ 2926161 ])
145 * docutils/parsers/rst/directives/misc.py:
147 - Fix [ 1830389 ] Replace not breaking on getting system_messages from
152 - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
153 ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
155 Release 0.7 (2010-07-07)
156 ========================
160 - Fix [ 2881769 ] setup configuration.
161 - Fix [ 2788716 ] reporting problems in included files.
165 - FileInput opens files as text files with universal newline support
166 (mode "rU", configurable with the new optional argument "mode").
170 - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
174 - Fix [ 2923723 ] let decode_path() tolerate path == None
176 * docutils/writers/html4css1/__init__.py
178 - Support SVG and SWF images (thanks to Stefan Rank).
179 - Generate valid XHTML for centered images with targets.
180 Use CSS classes instead of "align" tags for image alignment.
182 * docutils/writers/latex2e/__init__.py
184 - Use `transforms.writer_aux.Admonitions` to "normalize" special
186 - Use the ``\url`` command for URLs (breaks long URLs instead of
187 writing into the margin).
188 - Preserve runs of spaces in `inline literals`__.
189 - Deprecate ``figure_footnotes`` setting.
190 - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
191 - New ``latex_preamble`` setting.
192 - Use PDF standard fonts (Times/Helvetica/Courier) as default.
193 - Fix hyperlink targets (labels) for images, figures, and tables.
194 - Apply [ 2961988 ] Load babel after inputenc and fontenc.
195 - Apply [ 2961991 ] Call hyperref with unicode option.
196 - Drop the special `output_encoding`__ default ("latin-1").
197 The Docutils wide default (usually "UTF-8") is used instead.
198 - Render inline markup in document title and subtitle.
199 - Fix numbering depth with LaTeX section numbering.
200 - Update Unicode -> LaTeX translations.
201 - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
203 __ docs/ref/restructuredtext.html#inline-literals
204 __ docs/user/config.html#docutils-footnotes
205 __ docs/user/config.html#output_encoding
207 * docutils/writers/manpage.py
209 - Fix: supported attribute (thanks to peter2108).
210 - Remove trailing blanks in code (keep in sync with mercurial version).
211 - Titles level 1, that is ``.SH``, always uppercase.
212 - Apply patch from mg: literal text should be bold in man-pages.
216 - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
221 - Python 3 support: copy test/ and tools/ to the build-dir
222 and convert Python sources with 2to3.
225 Release 0.6 (2009-10-11)
226 ========================
230 - Docutils is now compatible with Python versions from 2.3 up to 2.6
231 and convertible to 3.1 code.
233 + Node.__nonzero__ returns True instead of 1.
234 + use os.walk instead os.path.walk.
235 + minimize "types" module where possible.
236 + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
237 + Text nodes now subclass unicode rather than UserString
238 (which is gone in python 3.0).
239 + 3.0 compatibility module docutils._compat
241 + Drop 2.2 compatibility workarounds.
242 + Drop extras/optparse.py and extras/textwrap.py
243 (stdlib modules since 2.3).
245 - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
246 - Unix man page export: manpage writer moved from sandbox to Doctutils
249 - Apply [ 1719345 ] Galician translation
250 - Apply [ 1905741 ] Polish translation
251 - Apply [ 1878977 ] make_id(): deaccent characters.
252 - Apply [ 2029251 ] return nonzero when tests fail.
253 - Fix [ 1692788 ] allow UTF-8 in style sheets.
254 - Fix [ 2781629 ] support non-ASCII chars in file names.
255 - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
256 - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
257 - Fix [ 2821266 ] --strict option works now like --halt=info.
258 - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
259 - Fix [ 1627229 ] hyperlink references in substitutions.
261 - The "newlatex" writer is orphaned.
265 - Documented Unicode characters allowed as inline markup openers,
266 closers, and delimiters.
267 - Allow units for all length specifications.
268 - Allow percent sign in "scale" argument of "figure" and "image" directives.
269 - Bugfix: The "figalign" argument of a figure now works as intended
270 (aligning the figure, not its contents).
271 - Align images with class "align-[right|center|left]"
272 (allows setting the alignment of an image in a figure).
276 - Added ``Element.__contains__`` method, for the in-operator.
278 * docutils/parsers/rst/states.py:
280 - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
281 - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
282 " " (non-breaking space), and "¡ ¿" openers.
284 * docutils/parsers/directives/misc.py:
286 - Added ``start-line`` and ``end-line`` options to "include"
287 directive to select a range of lines.
288 - Hard tabs in literal inclusions are replaced by spaces. This is
289 configurable via the new ``tab-width`` option of the "include" directive
290 (a negative tab-width prevents tab expansion).
294 - Add ``get_stylesheet_list`` function.
295 - Apply [ 2834836 ] print info at halt
297 * docutils/transforms/universal.py:
299 - Raise default priority of StripClasses to exclude stripped classes from
302 * docutils/writers/html4css1/__init__.py:
304 - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
305 separated list of stylesheets.
306 - Address [ 1938891 ] Inline literal text creates "pre" span only when
307 needed to prevent inter-word line wraps.
308 - Use `translate` method instead of repeated `replace` calls.
309 - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
310 classes to allow CSS styling that does not interfere with other
311 table-using constructs (field lists, citations, ...).
313 * docutils/writers/newlatex2e/__init__.py:
315 - Apply [ 1612821 ] Double quotes in literal text in Italian/German
317 * docutils/writers/latex2e/__init__.py (see also
318 `<docs/user/docutils-05-compat.sty.html>`__) :
320 - Add ``--embed-stylesheet`` option.
321 - Apply [ 1474017 ] image vertical alignment is reversed.
322 - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
323 - Change: has_key for dictionaries (not Nodes) to in-operator.
324 - Merge adjacent citations into one latex cite command.
325 - Failsave implementation of custom roles. LaTeX compilation now ignores
326 unknown classes instead of aborting with an error.
327 - Support custom roles based on standard roles.
328 - LaTeX packages can be used as ``--stylesheet`` arguments without
329 restriction. (A style sheet is now referenced with the ``\usepackage``
330 command, if it ends with ``.sty`` or has no extension.)
331 - Add ``bp`` to lenghts without unit (prevents LaTex errors).
332 - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
333 - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
334 2005-02-04 as a configurable length unit).
335 - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
336 if font-encoding is set to ''. LaTeX defaults to OT1 then.
337 - Set sub- and superscript role argument in text mode not as math.
338 Use a custom role based on sub-/superscript if you want italic shape.
339 - Shorter preamble and less dependencies: Load packages and define macros
340 only if required in the document.
341 - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
342 - New custom environments and commands with optional "classes" argument.
343 - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
344 - Better conformance to Docutils specifications with ``--use-latex-toc``.
345 Support for LaTeX generated ToC also with unnumbered sections.
346 - If 'sectnum_xform' is False, the 'sectnum' directive triggers
347 section numbering by LaTeX.
348 - Use default font in admonitions and sidebar.
349 - Align of image in a figure defaults to 'center'.
350 - Bugfix: Newlines around targets and references prevent run-together
352 - Fix internal hyperlinks.
353 - Use class defaults for page margins ('typearea' now optional).
354 - Float placement made configurable, default changed to "here definitely".
355 - Typeset generic topic as "quote block with title".
356 - Use template (file and configuration option).
357 - In the default template, load cmap.sty (fix text extraction in PDF) and
358 fixltx2e.sty (LaTeX patches, \textsubscript).
359 - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
360 - Use `translate` instead of repeated `replace` calls for text encoding.
361 - Hyperlinked footnotes and support for symbol footnotes and
362 ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
363 - Complete pairs of binary options
364 (``--figure-footnotes, --figure-citations, --link-stylesheet``,
365 ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
367 - font-encoding: "T1" (formerly implicitely set by 'ae').
368 - use-latex-toc: true (ToC with page numbers).
369 - use-latex-footnotes: true (no mixup with figures).
371 * docutils/writers/manpage.py
373 - Do not print version at document end, this is done by the viewer.
374 - Do not print date at document end, this is done by the viewer.
375 - Fix storage of docinfo fields for none standard fields.
377 * docutils/tools/rst2man.py
379 Release 0.5 (2008-06-25)
380 ========================
382 * docutils/languages/he.py: Added to project: Hebrew mappings by
385 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
386 mappings by Meir Kriheli.
388 * docutils/frontend.py:
390 - Configuration files are now assumed and required to be
392 - Paths of applied configuration files are now recorded in the
393 runtime setting ``_config_files`` (accessible via
394 ``--dump-settings``).
395 - Added ``--strip-elements-with-class`` and ``--strip-class``
396 options (``strip_elements_with_classes`` and ``strip_classes``
401 - Added code to determine the input encoding from data: encoding
402 declarations or the presence of byte order marks (UTF-8 & UTF-16).
403 - Added support for IronPython 1.0.
407 - Added ``document.__getstate__`` method, for pickling.
409 * docutils/parsers/rst/states.py:
411 - Allow ``+`` and ``:`` in reference names.
412 - Unquoted targets beginning with an underscore (``.. __target:
413 URI``) are no longer accepted.
414 - Added support for multiple attributions in a physical block quote
415 (indented text block), dividing it into multiple logical block
417 - Added support for unicode bullets in bullet lists: "•", "‣", and
419 - Added support for new object-oriented directive interface,
420 retaining compatibility to the old functional interface.
421 - Added support for throwing ``DirectiveError``'s from within
424 * docutils/parsers/rst/__init__.py:
426 - Added ``Directive`` base class.
427 - Added ``DirectiveError`` base class.
428 - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
431 * docutils/parsers/directives/:
433 - Refactored all reStructuredText directives to use the new
434 object-oriented directive interface. Errors are now (mostly)
435 thrown using the new ``DirectiveError`` class.
437 * docutils/parsers/directives/misc.py:
439 - Added ``start-after`` and ``end-before`` options to ``include``
440 directive; thanks to Stefan Rank.
442 * docutils/transforms/universal.py:
444 - Added ``StripClassesAndElements`` transform to remove from the
445 document tree all elements with classes in
446 ``settings.strip_elements_with_classes`` and all "classes"
447 attribute values in ``self.document.settings.strip_classes``.
449 * docutils/transforms/writer_aux.py:
451 - Added ``Admonitions`` transform to transform specific admonitions
452 (like ``note``, ``warning``, etc.) into generic admonitions with a
455 * docutils/writers/html4css1/__init__.py:
457 - Moved template functionality from the PEP/HTML writer here.
458 - Expanded the fragments available in the ``parts`` attribute.
459 - Moved ``id`` attributes from titles to surrounding ``div``
461 - Dropped all ``name`` attributes of ``a`` elements (``id`` is
462 universally supported now).
463 - ``template.txt`` is now opened in text mode instead of binary mode
464 (to ensure Windows compatibility).
465 - ``a`` elements now have an "internal" or "external" class,
466 depending on reference type.
468 * docutils/writers/html4css1/template.txt: Added to project.
470 * docutils/writers/pep_html/:
472 - Moved template functionality to the HTML writer.
474 * docutils/writers/s5_html/__init__.py:
476 - Added ``view_mode`` & ``hidden_controls`` settings
477 (``--view-mode`` & ``--hidden-controls/--visible-controls``
480 * docutils/writers/latex2e/__init__.py:
482 - Add ``--literal-block-env``
483 - Fix: escaping ``%`` in href urls.
484 - Move usepackage hyperref after stylesheet inclusion.
485 - Fix: scrartcl does not have chapter but scrreprt.
486 - Add newline after ``\end{verbatim}``.
487 - Merge smaller differences from latex2e_adaptive_preamble.
488 - Add ``use-part-section``.
489 - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
490 - Using leavemode option_list no longer needs to check if parent
491 is a definition list.
492 - Append ``\leavemode`` to definition list terms.
493 - No longer write visit\_/depart_definition_list_item comments to
495 - Table column width with 3 decimal places.
496 - Add table stubs support (boldfont).
497 - Add assemble_parts to writer.
498 - Add simply support for nested tables.
499 - Fix verbatim in tables if use-verbatim-when-possible.
500 - Use section commands down to subparagraph.
501 - Put ensuremath around some latin1 chars.
502 - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
503 - New option ``--use-bibtex=style,db1,db2``.
504 - New option ``--reference-label`` to allow usage of LaTeX ref for
505 labels in section references.
506 - Add a label after every section to support sectionnumbers as reference
508 - Fix: bug# 1605376 rst2latex: bad options group list
509 - Remove inactive code for use_optionlist_for_option_list.
510 - Remove latex comments from option_list output.
511 - Fix: bug# 1612270 double qoutes in italian literal.
512 - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
513 - Add option --use-latex-abstract.
514 - Image width unit ``px`` is translated to ``pt``.
515 - Add image height support.
516 - Fix: image width ``70%`` is converted ``0.700\linewidth``.
518 - Fix: Do not escape underscores in citation reference labels if
519 use-latex-citations is set.
520 - Use centering instead of center for figure contents, to avoid vertical
522 - Recognize table class: borderless, nolines, booktabs, standard.
523 - Fix: Renaming contents section does not work with latex writer; SF
525 - Applied patch for custom roles with classes from Edward Loper.
526 - Fixed bug that caused crashes with more than 256 lists.
528 * docutils/writers/pep_html/__init__.py:
530 - Changed to support new python.org website structure and
533 * docs/howto/security.txt: "Deploying Docutils Securely", added to
536 * tools/buildhtml.py:
538 -- Added ``ignore`` setting to exclude a list of shell patterns
539 (default: ``.svn:CVS``).
541 * tools/editors/emacs/rst.el:
543 - Changed license to "GPL".
544 - Added ``rst-straighten-decorations`` function.
545 - The ``compile`` module is now always loaded.
546 - Added ``rst-toggle-line-block`` function.
547 - Headings consisting only of non-ASCII characters are now
548 recognized by ``rst-toc`` and ``rst-adjust``.
549 - Added font-lock support for multi-line comments where the first
550 comment line is empty.
551 - Added ``(require 'font-lock)``.
555 - Provide descriptive error message if distutils is missing.
558 Release 0.4 (2006-01-09)
559 ========================
563 - Updated the project policies for trunk/branch development &
566 * docutils/__init__.py:
568 - Added ``__version_details__`` attribute to describe code source
569 (repository/snapshot/release).
570 - Replaced ``default_transforms`` attribute of TransformSpec with
571 ``get_transforms()`` method.
575 - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
576 functions, for document tree extraction and reprocessing.
580 - Added ``DocTreeInput`` class, for reprocessing existing documents.
581 - Added support for non-Unicode (e.g. binary) writer output.
585 - Re-introduced ``Targetable.indirect_reference_name``, for
586 MoinMoin/reST compatibility (removed in r3124/r3129).
587 - Added ``serial_escape`` function; escapes string values that are
588 elements of a list, for serialization. Modified Docutils-XML
589 writing (``Element._dom_node``) and pseudo-XML writing
590 (``Element.starttag``) to use ``serial_escape``.
591 - Added ``Node.deepcopy()`` method.
592 - Removed the internal lists ``document.substitution_refs``,
593 ``document.anonymous_refs``, and ``document.anonymous_targets``.
594 - Added a "container" element.
595 - Fixed bug where values of list-valued attributes of elements
596 originating from custom interpreted text roles (i.e., with custom
597 classes) were being shared between element instances. Reported by
600 * docutils/statemachine.py:
602 - Added trailing whitespace stripping to ``string2lines()``.
603 - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
604 Asian double-width character support.
608 - Added ``east_asian_column_width()`` for double-width character
611 * docutils/languages/ja.py: Added to project: Japanese mappings by
614 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
615 mappings by Panjunyong.
617 * docutils/parsers/null.py: Added to project; a do-nothing parser.
619 * docutils/parsers/rst/__init__.py:
621 - Added validator to tab_width setting, with test. Closes SF bug
622 #1212515, report from Wu Wei.
624 * docutils/parsers/rst/states.py:
626 - Fixed bug with escaped colons indicating a literal block.
627 - Fixed bug with enumerated lists (SF#1254145).
628 - Backslash-escaped colons inside of field names are now allowed.
629 - Targets (implicit and explicit), anonymous hyperlink references
630 and auto-numbered footnote references inside of substitution
631 definitions are now disallowed.
632 - Fixed bug: list items with blank first lines.
633 - Fixed bug: block quote attributions with indented second lines.
634 - Added East Asian double-width character support (Python 2.4 only).
636 * docutils/parsers/rst/tableparser.py:
638 - Added East Asian double-width character support (Python 2.4 only).
640 * docutils/parsers/rst/directives/body.py:
642 - Added the "container" directive.
644 * docutils/parsers/rst/directives/misc.py:
646 - Added the "default-role", "title", and "date" directives.
647 - Added standard data file syntax to the "include" directive.
648 - Added support for "class" directive content.
650 * docutils/parsers/rst/directives/images.py:
652 - Added ``indirect_reference_name`` support for images with a target
654 - Added support for image width and height units.
655 - Fixed bug with image "target" options.
657 * docutils/parsers/rst/directives/references.py:
659 - Added "class" attribute to "target-notes" directive, for
660 footnote_reference classes.
662 * docutils/parsers/rst/include/: Directory added to project; contains
663 standard data files for the "include" directive. Initial contents:
664 character entity substitution definition sets, and a set of
665 definitions for S5/HTML presentations.
667 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
668 mappings by David Goodger.
670 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
671 Simplified Chinese mappings by Panjunyong.
673 * docutils/readers/__init__.py:
675 - Added universal.Decorations and universal.ExposeInternals
676 transforms as default transforms for all readers.
677 - Added ``ReReader`` base class for readers that reread an existing
680 * docutils/readers/doctree.py: Added to project; a reader for existing
683 * docutils/transforms/frontmatter.py:
685 - Fixed the DocInfo transform to handle SVN-style expansion of the
687 - In ``DocInfo.extract_authors``, treat the contents of "authors"
690 * docutils/transforms/misc.py:
692 - Added misc.Transitions transform, extracted from
693 universal.FinalChecks.
695 * docutils/transforms/references.py:
697 - Added references.DanglingReferences transform, extracted from
698 universal.FinalChecks.
699 - Fixed bug with doubly-indirect substitutions.
700 - Added footnote_reference classes attribute to "TargetNotes".
701 - Fixed bug with circular substitution definitions that put Docutils
702 into an infinite loop.
704 * docutils/transforms/universal.py:
706 - Added universal.ExposeInternals transform, extracted from
707 universal.FinalChecks.
708 - Removed universal.FinalChecks transform (logic has been moved to
709 several new transforms).
710 - Fixed bug with the "expose_internals" setting and Text nodes
711 (exposed by the "rawsource" internal attribute).
712 - Added the universal.StripComments transform, implementation of the
713 "strip_comments" setting.
715 * docutils/transforms/writer_aux.py: Added to project; auxiliary
716 transforms for writers.
718 - Added ``Compound`` transform, which flattens compound paragraphs.
720 * docutils/writers/: Several writer modules (html4css1.py) were
721 converted into packages. Support modules and data files have been
722 moved into the packages. The stylesheets for the HTML writers are
723 now installed along with the code, the code knows where to find
724 them, and the default is to use them (actually, to embed them).
725 Some adjustments to configuration files may be necessary. The
726 easiest way to obtain the new default behavior is to remove all
727 settings whose name includes "stylesheet".
729 * docutils/writers/__init__.py:
731 - Added universal.Messages and universal.FilterMessages transforms
732 as default transforms for all writers.
733 - Added ``UnfilteredWriter`` base class for writers that pass the
734 document tree on unchanged.
736 * docutils/writers/docutils_xml.py:
738 - Made ``xmlcharrefreplace`` the default output encoding error
741 * docutils/writers/html4css1/:
743 - Added support for image width and height units.
744 - Made ``xmlcharrefreplace`` the default output encoding error
746 - Made ``--embed-stylesheet`` the default rather than
747 ``--link-stylesheet``.
748 - Moved "id" attribute from container (section etc.) to title's <a>
749 tag, to be on the same tag as "name".
750 (!!! To be reverted in Docutils 0.5.)
751 - Added vertical space between fields of field lists.
752 - Added ``--compact-field-lists`` option to remove vertical space in
754 - Made cloaking of email addresses with ``--cloak-email-addresses``
756 - Fixed support for centered images.
757 - Added support for class="compact" & class="open" lists.
759 * docutils/writers/latex2e/:
761 - Underscores in citekeys are no longer escaped.
763 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
764 mapping of Unicode characters to LaTeX equivalents.
766 * docutils/writers/s5_html/: Package added to project; writer for
769 * docs/dev/distributing.txt: Added to project; guide for distributors
770 (package maintainers).
772 * docs/dev/hacking.txt: Added to project; guide for developers.
774 * docs/ref/doctree.txt:
776 - Updated for plural attributes "classes", "ids", "names",
778 - Added the "container" element.
780 * docs/ref/docutils.dtd:
782 - Updated for plural attributes "classes", "ids", "names",
785 * docs/user/emacs.txt: Added to project; a document about Emacs
786 support for reStructuredText and Docutils.
788 * docs/user/links.txt: Added to project; lists of Docutils-related
791 * docs/user/mailing-lists.txt: Added to project; information about
792 Docutils-related mailing lists and how to access them.
794 * docs/user/slide-shows.txt: Added to project; example of and docs for
795 the S5/HTML writer (``rst2s5.py`` front end).
797 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
798 Files", added to project.
800 * test/coverage.sh: Added to project; test coverage script.
802 * test/DocutilsTestSupport.py:
804 - Added support for specifying runtime settings at the suite level.
806 * test/test_functional.py:
808 - Added the ``clear_output_directory`` function.
809 - Added support for ``_test_more`` functions in functional test
812 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
814 * tools/rstpep2html.py: Renamed from pep.py.
816 * tools/dev/create_unimap.py: Added to project; script to create the
817 docutils/writers/unimap_latex.py mapping file.
819 * tools/dev/profile_docutils.py: Added to project; profiler script.
821 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
823 * tools/editors/emacs/restructuredtext.el,
824 tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
825 Removed from project; the functionality is now contained in rst.el.
827 * tools/editors/emacs/rst.el: Added to project. Added many features
828 and fixed many bugs. See docs/user/emacs.txt for details.
830 * tools/stylesheets: Removed from project. Stylesheets have been
831 renamed and moved into writer packages.
834 Release 0.3.9 (2005-05-26)
835 ==========================
839 - Eliminated and replaced all uses of the old string attributes
840 ``id``, ``name``, ``dupname`` and ``class`` with references to the
841 new list attributes ``ids``, ``names``, ``dupnames`` and
842 ``classes`` throughout the whole source tree.
846 - Enabled ``--dump-*`` options when ``--traceback`` specified,
847 allowing for easier debugging.
848 - In ``Publisher.publish()``, expanded the generic top-level
851 * docutils/examples.py:
853 - Added ``internals`` function for exploration.
857 - Fixed ``Input.decode`` method to apply heuristics only if no
858 encoding is explicitly given, and to provide better reporting of
860 - The ``Input.decode`` method now removes byte order marks (BOMs)
865 - ``image`` element class changed to subclass of Element, not
866 TextElement (it's an empty element, and cannot contain text).
867 - Added ``attr_defaults`` dictionary for default attribute values.
868 - Added empty list as default value for the following attributes:
869 ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
870 - Added ``document.decoration`` attribute,
871 ``document.get_decoration`` method, and ``decoration.get_header``
872 & ``.get_footer`` methods.
873 - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
878 - Removed ``docutils.utils.Reporter.categories``,
879 ``docutils.utils.ConditionSet``, and all references to them, to
880 simplify error reporting.
882 * docutils/languages/nl.py: Added to project; Dutch mappings by
885 * docutils/parsers/rst/__init__.py:
887 - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
889 * docutils/parsers/rst/states.py:
891 - Added check for escaped at-mark to prevent email address recognition.
892 - Fixed option lists to allow spaces inside ``<angle-bracketed option
894 - Allowed whitespace in paths and URLs.
895 - Added auto-enumerated list items.
896 - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
898 - Added support for table stub columns.
900 * docutils/parsers/rst/directives/__init__.py:
902 - Allowed whitespace in paths (``path`` function).
903 - Added ``uri`` directive option conversion function.
905 * docutils/parsers/rst/directives/body.py:
907 - Fixed illegal context bug with "topic" directive (allowed within
908 sidebars; not within body elements).
910 * docutils/parsers/rst/directives/images.py:
912 - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
913 - Added support for the ``file_insertion_enabled`` setting in the
914 "figure" directive (disables "figwidth" option).
915 - "image" directive: added checks for valid values of "align" option,
916 depending on context. "figure" directive: added specialized
917 "align" option and attribute on "figure" element.
918 - Made ":figwidth: image" option of "figure" directive work again.
919 - Fixed bug with reference names containing uppercase letters
920 (e.g. ``Name_``) in "target" option of "image" directive.
922 * docutils/parsers/rst/directives/misc.py:
924 - Fixed "include" and "raw" directives to catch text decoding
926 - Allowed whitespace in "include" & "raw" directive paths.
927 - Added support for ``file_insertion_enabled`` & ``raw_enabled``
928 settings in "include" & "raw" directives.
930 * docutils/parsers/rst/directives/parts.py:
932 - Added "header" & "footer" directives.
933 - Fixed illegal context bug with "contents" directive (topics
934 allowed within sidebars; not within body elements).
936 * docutils/parsers/rst/directives/tables.py:
938 - Added "list-table" directive.
939 - Caught empty CSV table bug.
940 - Added support for the ``file_insertion_enabled`` setting in the
941 "csv-table" directive.
942 - Added ``stub-columns`` option to "csv-table" and "list-table"
945 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
946 mappings by Martijn Pieters.
948 * docutils/readers/standalone.py:
950 - Added ``--section-subtitles`` and ``--no-section-subtitles``
951 options to activate or deactivate the SectSubTitle transform.
953 * docutils/transforms/frontmatter.py:
955 - Added SectSubTitle transform to promote titles of lone
956 subsections to subtitles.
958 * docutils/transforms/references.py:
960 - Fixed mislocated internal targets bug, by propagating internal
961 targets to the next node, making use of the newly added support
962 for multiple names and IDs.
963 - Fixed duplicate footnote label bug.
964 - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
967 * docutils/writers/html4css1.py:
969 - Fixed unencoded stylesheet reference bug (characters like "&" in
970 stylesheet references).
971 - ``target`` nodes now appear as ``span`` tags (instead of ``a``
973 - Added support for multiple IDs per node by creating empty ``span``
975 - Added the ``field_name_limit`` & ``option_limit`` settings &
977 - Added support for table stub columns.
978 - Added support for the ``align`` attribute on ``figure`` elements.
979 - Added the ``cloak_email_addresses`` setting & support.
980 - Added ``html_prolog``, ``html_head``, ``html_body``,
981 ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
982 ``docutils.core.publish_parts``.
983 - Added support for section subtitles.
985 * docutils/writers/latex2e.py:
987 - Fixed tables starting with more than one multirow cell.
988 - Improved --use-latex-docinfo so that organization/contact/address
989 fields are lumped with the last author field and appear on the
991 - Made sure the titlepage is always shown with --use-latex-docinfo,
992 even if the document has no title.
993 - Made sure that latex doesn't fill in today's date if no date field
995 - Added support for section subtitles.
997 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1000 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1002 * docs/api/publisher.txt:
1004 - Added "``publish_parts`` Details" section.
1006 * docutils/dev/repository.txt: Added to project; information about the
1007 Docutils Subversion repository.
1009 * docs/ref/docutils.dtd:
1011 - Added a ``stub`` attribute to the ``colspec`` element via the
1012 ``tbl.colspec.att`` parameter entity.
1013 - Allowed topic elements within sidebars
1014 - Added an ``align`` attribute to the ``figure`` element.
1016 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1020 Release 0.3.7 (2004-12-24)
1021 ==========================
1023 * docutils/frontend.py:
1025 - Added options: --input-encoding-error-handler,
1026 --record-dependencies, --leave-footnote-reference-space,
1028 - Added command-line and config file support for "overrides" setting
1033 - Added support for input encoding error handler.
1035 * docutils/nodes.py:
1037 - Added dispatch_visit and dispatch_departure methods to
1038 NodeVisitor; useful as a hook for Visitors.
1039 - Changed structure of ``line_block``; added ``line``.
1040 - Added ``compound`` node class.
1041 - Added a mechanism for Visitors to transitionally ignore new node
1044 * docutils/utils.py:
1046 - Moved ``escape2null`` and ``unescape`` functions from
1047 docutils/parsers/rst/states.py.
1049 * docutils/parsers/rst/roles.py:
1052 - Changed role function API: the "text" parameter now takes
1053 null-escaped interpreted text content.
1055 * docutils/parsers/rst/states.py:
1057 - Fixed bug where a "role" directive in a nested parse would crash
1058 the parser; the state machine's "language" attribute was not being
1060 - Added support for line block syntax.
1061 - Fixed directive parsing bug: argument-less directives didn't
1062 notice that arguments were present.
1063 - Removed error checking for transitions.
1064 - Added support for multiple classifiers in definition list items.
1065 - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1066 - Changed role function API: the "text" parameter now takes
1067 null-escaped interpreted text content.
1068 - Empty sections and documents are allowed now.
1070 * docutils/parsers/rst/directives/__init__.py:
1072 - Added ``encoding`` directive option conversion function.
1073 - Allow multiple class names in class_option conversion function.
1075 * docutils/parsers/rst/directives/body.py:
1077 - Converted the line-block directive to use the new structure.
1078 - Extracted the old line-block functionality to the ``block``
1079 function (still used).
1080 - Added ``compound`` directive (thanks to Lea Wiemann).
1082 * docutils/parsers/rst/directives/misc.py:
1084 - Added "encoding" option to "include" and "raw" directives.
1085 - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1086 - Allow multiple class names in the "class" directive.
1088 * docutils/parsers/rst/directives/parts.py:
1090 - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1091 options. Thanks to Lele Gaifax.
1093 * docutils/parsers/rst/directives/tables.py:
1095 - Added "encoding" directive to "csv-table" directive.
1096 - Added workaround for lack of Unicode support in csv.py, for
1097 non-ASCII CSV input.
1099 * docutils/transforms/misc.py:
1101 - Fixed bug when multiple "class" directives are applied to a single
1103 - Enabled multiple format names for "raw" directive.
1105 * docutils/transforms/references.py:
1107 - Added support for trimming whitespace from beside substitution
1110 * docutils/transforms/universal.py:
1112 - FinalChecks now checks for illegal transitions and moves
1113 transitions between sections.
1115 * docutils/writers/html4css1.py:
1117 - HTMLTranslator.encode now converts U+00A0 to " ".
1118 - "stylesheet" and "stylesheet_path" settings are now mutually
1120 - Added support for the new line_block/line structure.
1121 - --footnote-references now overrides
1122 --trim-footnote-reference-space, if applicable.
1123 - Added support for ``compound`` elements.
1124 - Enabled multiple format names for "raw" directive.
1125 - ``<p>`` tags of a paragraph which is the only visible child of the
1126 document node are no longer stripped.
1127 - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1128 new method ``should_be_compact_paragraph()``.
1129 - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1131 - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1132 the output if they have their ``class`` attribute set.
1133 - The whole document is now surrounded by a ``<div
1134 class="document">`` element.
1135 - Body-level images are now wrapped by their own ``<div>`` elements,
1136 with image classes copied to the wrapper, and for images which
1137 have the ``:align:`` option set, the surrounding ``<div>`` now
1138 receives a class attribute (like ``class="align-left"``).
1140 * docutils/writers/latex2e.py:
1142 - no newline after depart_term.
1143 - Added translations for some Unicode quotes.
1144 - Added option "font-encoding", made package AE the default.
1145 - "stylesheet" and "stylesheet_path" settings are now mutually
1147 - --footnote-references now overrides
1148 --trim-footnote-reference-space, if applicable.
1149 - The footnote label style now matches the footnote reference style
1150 ("brackets" or "superscript").
1151 - Added support for ``compound`` elements.
1152 - Enabled multiple format names for "raw" directive.
1154 * docs/ref/docutils.dtd:
1156 - Changed structure of the ``line_block`` element; added ``line``.
1157 - Added ``compound`` element.
1158 - Added "ltrim" and "rtrim" attributes to
1159 ``substitution_definition`` element.
1160 - Enabled multiple format names for ``raw`` element.
1161 - Enabled multiple classifiers in ``definition_list_item`` elements.
1163 * docs/ref/rst/directives.txt
1165 - Marked "line-block" as deprecated.
1166 - "Class" directive now allows multiple class names.
1167 - Added "Rationale for Class Attribute Value Conversion".
1168 - Added warning about "raw" overuse/abuse.
1170 * docs/ref/rst/restructuredtext.txt:
1172 - Added syntax for line blocks.
1173 - Definition list items may have multiple classifiers.
1175 * docs/ref/rst/roles.txt:
1179 * tools/stylesheets/default.css:
1181 - Added support for the new line_block structure.
1182 - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1185 Release 0.3.5 (2004-07-29)
1186 ==========================
1190 * _`Documentation cleanup/reorganization`.
1192 - Created new subdirectories of docs/:
1194 * ``docs/user/``: introductory/tutorial material for end-users
1195 * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1196 * ``docs/api/``: API reference material for client-developers
1197 * ``docs/ref/``: reference material for all groups
1198 * ``docs/howto/``: for component-developers and core-developers
1199 * ``docs/peps/``: Python Enhancement Proposals
1201 - Moved ``docs/*`` to ``docs/user/``.
1202 - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1203 ``spec/`` to ``docs/dev``.
1204 - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1205 ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1206 - Moved ``alternatives.txt``, and ``problems.txt`` from
1207 ``spec/rst/`` to ``docs/dev/rst/``.
1208 - Moved ``reStructuredText.txt``, ``directives.txt``,
1209 ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1210 to ``docs/ref/rst/``. Renamed ``interpreted.txt`` to
1211 ``roles.txt``, ``reStructuredText.txt`` to
1212 ``restructuredtext.txt``.
1213 - Moved ``spec/howto/`` to ``docs/howto``.
1215 In order to keep the CVS history of moved files, we supplied
1216 SourceForge with a `script for modifying the Docutils CVS
1219 __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1221 After running the cleanup script:
1223 - Added ``docs/index.txt``.
1224 - Added a ``.htaccess`` file to the ``web`` module, containing
1225 redirects for all old paths to new paths. They'll preserve
1226 fragments (the "#name" part of a URL), and won't clutter up the
1227 file system, and will correct the URL in the user's browser.
1228 - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1229 ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1230 the "To Do" list itself in ``docs/dev/todo.txt``.
1231 - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1232 section of ``docs/dev/todo.txt``.
1233 - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1234 - Added "How To Report Bugs" to ``BUGS.txt``.
1235 - Went through all the sources and docs (including under web/) and
1236 updated links. Mostly done by Lea Wiemann; thanks Lea!
1237 (Still need to update links in the sandboxes.)
1241 * BUGS.txt: Added to project.
1243 * THANKS.txt: Added to project.
1245 * docutils/__init__.py:
1247 - 0.3.4: Post-release.
1251 - Added special error handling & advice for UnicodeEncodeError.
1252 - Refactored Publisher.publish (simplified exception handling &
1253 extracted debug dumps).
1254 - Renamed "enable_exit" parameter of convenience functions to
1255 "enable_exit_status".
1256 - Enabled traceback (exception propagation) by default in
1257 programmatic convenience functions.
1258 - Now publish_file and publish_cmdline convenience functions return
1259 the encoded string results in addition to their regular I/O.
1260 - Extracted common code from publish_file, publish_string, and
1261 publish_parts, into new publish_programmatically. Extracted
1262 settings code to ``Publisher.process_programmatic_settings``.
1263 - In Publisher.publish, disabled ``settings_overrides`` when
1264 ``settings`` is supplied; redundant.
1266 * docutils/frontend.py:
1268 - Added help text for "--output-encoding-error-handler" and
1269 "--error-encoding-error-handler".
1270 - Renamed "--exit" to "--exit-status".
1271 - Simplified default-setting code.
1273 * docutils/parsers/rst/__init__.py:
1275 - Added "--pep-base-url" and "--rfc-base-url" options.
1277 * docutils/parsers/rst/states.py:
1279 - Made URI recognition more aggressive and intelligent.
1281 * docutils/parsers/rst/directives/__init__.py:
1283 - Added several directive option conversion functions.
1285 * docutils/parsers/rst/directives/body.py:
1287 - Moved "table" directive to tables.py.
1289 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1292 * docutils/writers/latex2e.py:
1294 - Added "--table-style=(standard|booktabs|nolines)"
1295 - figures get "here" option (LaTeX per default puts them at bottom),
1296 and figure content is centered.
1297 - Rowspan support for tables.
1298 - Fix: admonition titles before first section.
1299 - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1300 - Replave ``_`` in literal by an underlined blank, because it has the correct
1302 - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1303 - A few unicode replacements, if output_encoding != utf
1304 - Add "--graphicx-option".
1305 - Indent literal-blocks.
1306 - Fix: omit ``\maketitle`` when there is no document title.
1308 * docs/index.txt: "Docutils Project Documentation Overview", added to
1311 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1312 Tool", added to project.
1314 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1316 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1318 * docs/dev/policies.txt: Added to project (extracted from
1319 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1321 * docs/dev/release.txt: Added to project (extracted from
1322 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1324 * docs/dev/testing.txt: Added to project.
1326 * docs/dev/website.txt: Added to project (extracted from
1327 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1329 * docs/ref/rst/directives.txt:
1331 - Added directives: "table", "csv-table".
1333 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1334 added to project. 1 page for syntax, and a 1 page reference for
1335 directives and roles. Source text to be used as-is; not meant to be
1338 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1339 with a change of title.
1341 * test/functional/, contents, and test/test_functional.py: Added to
1344 * tools/buildhtml.py: Fixed bug with config file handling.
1346 * tools/html.py: Removed from project (duplicate of rst2html.py).
1348 * tools/pep2html.py: Removed from project (duplicate of Python's
1349 nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1350 Docutils-related PEPs in docs/peps/).
1352 * tools/rst2pseudoxml.py: Renamed from publish.py.
1354 * tools/rst2xml.py: Renamed from docutils-xml.py.
1356 * tools/test.txt: Removed from project; moved to
1357 docs/user/rst/demo.txt.
1359 * setup.py: Now also installs ``rst2latex.py``.
1362 Release 0.3.3 (2004-05-09)
1363 ==========================
1365 * docutils/__init__.py:
1367 - 0.3.1: Reorganized config file format (multiple sections); see
1369 - Added unknown_reference_resolvers attribute to TransformSpec.
1370 - 0.3.2: Interpreted text reorganization.
1375 - Catch system messages to stop tracebacks from parsing errors.
1376 - Catch exceptions during processing report & exit without
1377 tracebacks, except when "--traceback" used.
1378 - Reordered components for OptionParser; application comes last.
1379 - Added "config_section" parameter to several methods and functions,
1380 allowing front ends to easily specify their config file sections.
1381 - Added publish_parts convenience function to allow access to individual
1382 parts of a document.
1384 * docutils/examples.py: Added to project; practical examples of
1385 Docutils client code, to be used as-is or as models for variations.
1387 * docutils/frontend.py:
1389 - Added "--traceback" & "--no-traceback" options ("traceback"
1391 - Implemented support for config file reorganization:
1392 ``standard_config_files`` moved from ``ConfigParser`` to
1393 ``OptionParser``; added
1394 ``OptionParser.get_config_file_settings()`` and
1395 ``.get_standard_config_settings()``; support for old "[options]"
1396 section (with deprecation warning) and mapping from old to new
1398 - Reimplemented setting validation.
1399 - Enabled flexible boolean values: yes/no, true/false, on/off.
1400 - Added ``Values``, a subclass of ``optparse.Values``, with support
1401 for list setting attributes.
1402 - Added support for new ``DOCUTILSCONFIG`` environment variable;
1403 thanks to Beni Cherniavsky.
1404 - Added "--no-section-numbering" option.
1408 - Catch IOErrors when opening source & destination files, report &
1409 exit without tracebacks. Added ``handle_io_errors`` parameter to
1410 ``FileInput`` & ``FileOutput`` to enable caller error handling.
1412 * docutils/nodes.py:
1414 - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1415 method definitions (via ``exec``) to dynamic assignments (via
1416 ``setattr``); thanks to Roman Suzi.
1417 - Encapsulated visitor dynamic assignments in a function; thanks to
1419 - Added indirect_reference_name attribute to the Targetable
1420 class. This attribute holds the whitespace_normalized_name
1421 (contains mixed case) of a target.
1423 * docutils/statemachine.py:
1425 - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1426 - Added ``StringList.get_2D_block``.
1428 * docutils/utils.py:
1430 - Added "level" attribute to SystemMessage exceptions.
1432 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1435 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1438 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1439 Marcelo Huerta San Martin.
1441 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1442 mappings by Lalo Martins.
1444 * docutils/languages/ru.py: Added to project; Russian mappings by
1447 * docutils/parsers/rst/roles.py: Added to project. Contains
1448 interpreted text role functions, a registry for interpreted text
1449 roles, and an API for adding to and retrieving from the registry.
1450 Contributed by Edward Loper.
1452 * docutils/parsers/rst/states.py:
1454 - Updated ``RSTState.nested_parse`` for "include" in table cells.
1455 - Allowed true em-dash character and "---" as block quote
1457 - Added support for <angle-bracketed> complex option arguments
1459 - Fixed handling of backslashes in substitution definitions.
1460 - Fixed off-by-1 error with extra whitespace after substitution
1461 definition directive.
1462 - Added inline markup parsing to field lists' field names.
1463 - Added support for quoted (and unindented) literal blocks.
1464 Driven in part by a bribe from Frank Siebenlist (thanks!).
1465 - Parser now handles escapes in URIs correctly.
1466 - Made embedded-URIs' reference text omittable. Idea from Beni
1468 - Refactored explicit target processing code.
1469 - Added name attribute to references containing the reference name only
1470 through whitespace_normalize_name (no case changes).
1471 - parse_target no longer returns the refname after going through
1472 normalize_name. This is now handled in make_target.
1473 - Fixed bug relating to role-less interpreted text in non-English
1475 - Reorganized interpreted text processing; moved code into the new
1476 roles.py module. Contributed by Edward Loper.
1477 - Refactored ``Body.parse_directive`` into ``run_directive`` and
1478 ``parse_directive_block``.
1480 * docutils/parsers/rst/tableparser.py:
1482 - Reworked for ``StringList``, to support "include" directives in
1485 * docutils/parsers/rst/directives/__init__.py:
1487 - Renamed ``unchanged()`` directive option conversion function to
1488 ``unchanged_required``, and added a new ``unchanged``.
1489 - Catch unicode value too high error; fixes bug 781766.
1490 - Beefed up directive error reporting.
1492 * docutils/parsers/rst/directives/body.py:
1494 - Added basic "table" directive.
1496 * docutils/parsers/rst/directives/images.py:
1498 - Added "target" option to "image" directive.
1499 - Added name attribute to references containing the reference name only
1500 through whitespace_normalize_name (no case changes).
1502 * docutils/parsers/rst/directives/misc.py:
1504 - Isolated the import of the ``urllib2`` module; was causing
1505 problems on SourceForge (``libssl.so.2`` unavailable?).
1506 - Added the "role" directive for declaring custom interpreted text
1509 * docutils/parsers/rst/directives/parts.py:
1511 - The "contents" directive does more work up-front, creating the
1512 "topic" and "title", and leaving the "pending" node for the
1513 transform. Allows earlier reference resolution; fixes subtle bug.
1515 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1516 mappings by Jannie Hofmeyr.
1518 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1519 mappings by Marek Blaha.
1521 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1522 mappings by Marcelo Huerta San Martin.
1524 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1525 Portuguese mappings by Lalo Martins.
1527 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1528 mappings by Roman Suzi.
1530 * docutils/transforms/parts.py:
1532 - The "contents" directive does more work up-front, creating the
1533 "topic" and "title", and leaving the "pending" node for the
1534 transform. Allows earlier reference resolution; fixes subtle bug.
1535 - Added support for disabling of section numbering.
1537 * docutils/transforms/references.py:
1539 - Verifying that external targets are truly targets and not indirect
1540 references. This is because we are now adding a "name" attribute to
1541 references in addition to targets. Note sure if this is correct!
1542 - Added code to hook into the unknown_reference_resolvers list for a
1543 transformer in resolve_indirect_target. This allows the
1544 unknown_reference_resolvers to keep around indirect targets which
1545 docutils doesn't know about.
1546 - Added specific error message for duplicate targets.
1548 * docutils/transforms/universal.py:
1550 - Added FilterMessages transform (removes system messages below the
1551 verbosity threshold).
1552 - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1553 to FinalCheckVisitor for application-specific handling of
1554 unresolvable references.
1555 - Added specific error message for duplicate targets.
1557 * docutils/writers/__init__.py:
1559 - Added assemble_parts method to the Writer class to allow for
1560 access to a documents individual parts.
1561 - Documented & set default for ``Writer.output`` attribute.
1563 * docutils/writers/html4css1.py:
1565 - Fixed unicode handling of attribute values (bug 760673).
1566 - Prevent duplication of "class" attribute values (bug report from
1568 - Improved table grid/border handling (prompted by report from Bob
1570 - Added support for table titles.
1571 - Added "<title />" for untitled docs, for XHTML conformance; thanks
1573 - Added functionality to keep track of individual parts of a document
1574 and store them in a dictionary as the "parts" attribute of the writer.
1575 Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1576 - Added proper support for the "scale" attribute of the "image"
1577 element. Contributed by Brent Cook.
1578 - Added ``--initial-header-level`` option.
1579 - Fixed bug: the body_pre_docinfo segment depended on there being a
1580 docinfo; if no docinfo, the document title was incorporated into
1581 the body segment. Adversely affected the publish_parts interface.
1583 * docutils/writers/latex2e.py:
1585 - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1586 about a missing file.
1587 - Added options and support: ``--compound-enumerators``,
1588 ``--section-prefix-for-enumerators``, and
1589 ``--section-enumerator-separator``. By John F Meinel Jr (SF patch
1591 - Added option ``--use-verbatim-when-possible``, to avoid
1592 problematic characters (eg, '~' in italian) in literal blocks.
1593 - It's now possible to use four section levels in the `book` and
1594 `report` LaTeX classes. The default `article` class still has
1597 * docs/config.txt: "Docutils Configuration Files", added to project.
1598 Moved config file entry descriptions from tools.txt.
1602 - Moved config file entry descriptions to config.txt.
1604 * spec/notes.txt: Continual updates. Added "Setting Up For Docutils
1607 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1608 Text Roles", added to project.
1610 * spec/rst/reStructuredText.txt:
1612 - Added description of support for <angle-bracketed> complex option
1613 arguments to option lists.
1614 - Added subsections for indented and quoted literal blocks.
1616 * test: Continually adding & updating tests.
1618 - Added test/test_settings.py & test/data/config_*.txt support
1620 - Added test/test_writers/test_htmlfragment.py.
1622 * test/DocutilsTestSupport.py:
1624 - Refactored LaTeX publisher test suite/case class names to make
1625 testing other writers easier.
1626 - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1627 to test the processing of HTML fragments which use the new
1628 publish_parts convenience function.
1630 * tools/buildhtml.py:
1632 - Added support for the "--prune" option.
1633 - Removed dependency on pep2html.py; plaintext PEPs no longer
1636 * tools/docutils.conf:
1638 - Updated for configuration file reorganization.
1640 * tools/rst2html.py:
1642 - copied from tools/html.py
1646 - added a 'scripts' section to configuration
1647 - added 'tools/rst2html.py' to the scripts section
1650 Release 0.3 (2003-06-24)
1651 ========================
1655 * Renamed "attribute" to "option" for directives/extensions.
1657 * Renamed transform method "transform" to "apply".
1659 * Renamed "options" to "settings" for runtime settings (as set by
1660 command-line options). Sometimes "option" (singular) became
1661 "settings" (plural). Some variations below:
1663 - document.options -> document.settings (stored in other objects as
1665 - option_spec -> settings_spec (not directives though)
1666 - OptionSpec -> SettingsSpec
1667 - cmdline_options -> settings_spec
1668 - relative_path_options -> relative_path_settings
1669 - option_default_overrides -> settings_default_overrides
1670 - Publisher.set_options -> Publisher.get_settings
1674 * COPYING.txt: Added "Public Domain Dedication".
1676 * FAQ.txt: Frequently asked questions, added to project.
1680 - Updated with PyPI Trove classifiers.
1681 - Conditional installation of third-party modules.
1683 * docutils/__init__.py:
1685 - Bumped version to 0.2.1 to reflect changes to I/O classes.
1686 - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1687 - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1688 - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1689 option and its effect on the PEP template & writer.
1690 - Bumped version to 0.2.4 due to changes to the PEP template &
1692 - Bumped version to 0.2.5 to reflect changes to Reporter output.
1693 - Added ``TransformSpec`` class for new transform system.
1694 - Bumped version to 0.2.6 for API changes (renaming).
1695 - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1696 convenience functions.
1697 - Added ``Component.component_type`` attribute.
1698 - Bumped version to 0.2.8 because of the internal parser switch from
1699 plain lists to the docutils.statemachine.StringList objects.
1700 - Bumped version to 0.2.9 because of the frontend.py API changes.
1701 - Bumped version to 0.2.10 due to changes to the project layout
1702 (third-party modules removed from the "docutils" package), and
1703 signature changes in ``io.Input``/``io.Output``.
1704 - Changed version to 0.3.0 for release.
1708 - Made ``publish()`` a bit more convenient.
1709 - Generalized ``Publisher.set_io``.
1710 - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1711 parameters; improved its docstring.
1712 - Added ``publish_file()`` and ``publish_string()``.
1713 - Factored ``Publisher.set_source()`` and ``.set_destination()``
1715 - Added support for "--dump-pseudo-xml", "--dump-settings", and
1716 "--dump-transforms" hidden options.
1717 - Added ``Publisher.apply_transforms()`` method.
1718 - Added ``Publisher.set_components()`` method; support for
1719 ``publish_*()`` conveninece functions.
1720 - Moved config file processing to docutils/frontend.py.
1721 - Added support for exit status ("exit_level" setting &
1722 ``enable_exit`` parameter for Publisher.publish() and convenience
1725 * docutils/frontend.py:
1727 - Check for & exit on identical source & destination paths.
1728 - Fixed bug with absolute paths & "--config".
1729 - Set non-command-line defaults in ``OptionParser.__init__()``:
1730 ``_source`` & ``_destination``.
1731 - Distributed ``relative_path_settings`` to components; updated
1732 ``OptionParser.populate_from_components()`` to combine it all.
1733 - Require list of keys in ``make_paths_absolute`` (was implicit in
1734 global ``relative_path_settings``).
1735 - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1736 "--dump-settings", and "--dump-transforms" hidden options.
1737 - Removed nasty internals-fiddling ``ConfigParser.get_section``
1738 code, replaced with correct code.
1739 - Added validation functionality for config files.
1740 - Added "--error-encoding" option/setting, "_disable_config"
1742 - Added encoding validation; updated "--input-encoding" and
1743 "--output-encoding"; added "--error-encoding-error-handler" and
1744 "--output-encoding-error-handler".
1745 - Moved config file processing from docutils/core.py.
1746 - Updated ``OptionParser.populate_from_components`` to handle new
1747 ``SettingsSpec.settings_defaults`` dict.
1748 - Added support for "-" => stdin/stdout.
1749 - Added "exit_level" setting ("--exit" option).
1753 - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1754 - Added automatic closing to ``FileInput`` and ``FileOutput``.
1755 - Delayed opening of ``FileOutput`` file until ``write()`` called.
1756 - ``FileOutput.write()`` now returns the encoded output string.
1757 - Try to get path/stream name automatically in ``FileInput`` &
1759 - Added defaults for source & destination paths.
1760 - Allow for Unicode I/O with an explicit "unicode" encoding.
1761 - Added ``Output.encode()``.
1762 - Removed dependency on runtime settings; pass encoding directly.
1763 - Recognize Unicode strings in ``Input.decode()``.
1764 - Added support for output encoding error handlers.
1766 * docutils/nodes.py:
1768 - Added "Invisible" element category class.
1769 - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1770 modification during a traversal.
1771 - Added element classes: ``line_block``, ``generated``, ``address``,
1772 ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1773 ``superscript``, ``subscript``, ``inline``
1774 - Added support for lists of nodes to ``Element.insert()``.
1775 - Fixed parent linking in ``Element.replace()``.
1776 - Added new abstract superclass ``FixedTextElement``; adds
1777 "xml:space" attribute.
1778 - Added support for "line" attribute of ``system_message`` nodes.
1779 - Added support for the observer pattern from ``utils.Reporter``.
1780 Added ``parse_messages`` and ``transform_messages`` attributes to
1781 ``document``, removed ``messages``. Added ``note_parse_message``
1782 and ``note_transform_message`` methods.
1783 - Added support for improved diagnostics:
1785 - Added "document", "source", and "line" internal attributes to
1786 ``Node``, set by ``Node.setup_child()``.
1787 - Converted variations on ``node.parent = self`` to
1788 ``self.setup_child(node)``.
1789 - Added ``document.current_source`` & ``.current_line``
1790 attributes, and ``.note_source`` observer method.
1791 - Changed "system_message" output to GNU-Tools format.
1793 - Added a "rawsource" attribute to the ``Text`` class, for text
1794 before backslash-escape resolution.
1795 - Support for new transform system.
1796 - Reworked ``pending`` element.
1797 - Fixed XML DOM bug (SF #660611).
1798 - Removed the ``interpeted`` element class and added
1799 ``title_reference``, ``abbreviation``, ``acronym``.
1800 - Made substitutions case-sensitive-but-forgiving; moved some code
1802 - Fixed Unicode bug on element attributes (report: William Dode).
1804 * docutils/optik.py: Removed from project; replaced with
1805 extras/optparse.py and extras/textwrap.py. These will be installed
1806 only if they're not already present in the Python installation.
1808 * docutils/roman.py: Moved to extras/roman.py; this will be installed
1809 only if it's not already present in the Python installation.
1811 * docutils/statemachine.py:
1813 - Factored out ``State.add_initial_transitions()`` so it can be
1815 - Converted whitespace-specific "blank" and "indent" transitions
1816 from special-case code to ordinary transitions: removed
1817 ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
1818 ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
1819 ``ws_initial_transitions`` attributes.
1820 - Removed ``State.match_transition()`` after merging it into
1822 - Added ``StateCorrection`` exception.
1823 - Added support for ``StateCorrection`` in ``StateMachine.run()``
1824 (moved ``TransitionCorrection`` support there too.)
1825 - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
1826 ``EOFError`` instead of ``IndexError``.
1827 - Added ``State.no_match`` method.
1828 - Added support for the Observer pattern, triggered by input line
1830 - Added ``strip_top`` parameter to
1831 ``StateMachineWS.get_first_known_indented``.
1832 - Made ``context`` a parameter to ``StateMachine.run()``.
1833 - Added ``ViewList`` & ``StringList`` classes;
1834 ``extract_indented()`` becomes ``StringList.get_indented()``.
1835 - Added ``StateMachine.insert_input()``.
1836 - Fixed ViewList slice handling for Python 2.3. Patch from (and
1837 thanks to) Fred Drake.
1839 * docutils/utils.py:
1841 - Added a ``source`` attribute to Reporter instances and
1842 ``system_message`` elements.
1843 - Added an observer pattern to ``utils.Reporter`` to keep track of
1845 - Fixed bugs in ``relative_path()``.
1846 - Added support for improved diagnostics.
1847 - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
1848 - Added support for encoding Reporter stderr output, and encoding
1850 - Reporter keeps track of the highest level system message yet
1853 * docutils/languages: Fixed bibliographic field language lookups.
1855 * docutils/languages/es.py: Added to project; Spanish mappings by
1856 Marcelo Huerta San Martin.
1858 * docutils/languages/fr.py: Added to project; French mappings by
1861 * docutils/languages/it.py: Added to project; Italian mappings by
1864 * docutils/languages/sk.py: Added to project; Slovak mappings by
1867 * docutils/parser/__init__.py:
1869 - Added ``Parser.finish_parse()`` method.
1871 * docutils/parser/rst/__init__.py:
1873 - Added options: "--pep-references", "--rfc-references",
1874 "--tab-width", "--trim-footnote-reference-space".
1876 * docutils/parsers/rst/states.py:
1878 - Changed "title under/overline too short" system messages from INFO
1879 to WARNING, and fixed its insertion location.
1880 - Fixed enumerated list item parsing to allow paragraphs & section
1881 titles to begin with enumerators.
1882 - Converted system messages to use the new "line" attribute.
1883 - Fixed a substitution reference edge case.
1884 - Added support for "--pep-references" and "--rfc-references"
1885 options; reworked ``Inliner`` code to make customization easier.
1886 - Removed field argument parsing.
1887 - Added support for short section title over/underlines.
1888 - Fixed "simple reference name" regexp to ignore text like
1889 "object.__method__"; not an anonymous reference.
1890 - Added support for improved diagnostics.
1891 - Reworked directive API, based on Dethe Elza's contribution. Added
1892 ``Body.parse_directive()``, ``.parse_directive_options()``,
1893 ``.parse_directive_arguments()`` methods.
1894 - Added ``ExtensionOptions`` class, to parse directive options
1895 without parsing field bodies. Factored
1896 ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
1897 ``ExtensionOptions``.
1898 - Improved definition list term/classifier parsing.
1899 - Added warnings for unknown directives.
1900 - Renamed ``Stuff`` to ``Struct``.
1901 - Now flagged as errors: transitions at the beginning or end of
1902 sections, empty sections (except title), and empty documents.
1903 - Updated for ``statemachine.StringList``.
1904 - Enabled recognition of schemeless email addresses in targets.
1905 - Added support for embedded URIs in hyperlink references.
1906 - Added backslash-escapes to inline markup end-string suffix.
1907 - Added support for correct interpreted text processing.
1908 - Fixed nested title parsing (topic, sidebar directives).
1909 - Added special processing of backslash-escaped whitespace (idea
1910 from David Abrahams).
1911 - Made substitutions case-sensitive-but-forgiving; moved some code
1912 to ``docutils.nodes``.
1913 - Added support for block quote attributions.
1914 - Added a kludge to work-around a conflict between the bubble-up
1915 parser strategy and short titles (<= 3 char-long over- &
1916 underlines). Fixes SF bug #738803 "infinite loop with multiple
1917 titles" submitted by Jason Diamond.
1918 - Added explicit interpreted text roles for standard inline markup:
1919 "emphasis", "strong", "literal".
1920 - Implemented "superscript" and "subscript" interpreted text roles.
1921 - Added initial support for "abbreviation" and "acronym" roles;
1923 - Added support for "--trim-footnote-reference-space" option.
1924 - Optional space before colons in directives & hyperlink targets.
1926 * docutils/parsers/rst/tableparser.py:
1928 - Fixed a bug that was producing unwanted empty rows in "simple"
1930 - Detect bad column spans in "simple" tables.
1932 * docutils/parsers/rst/directives: Updated all directive functions to
1935 * docutils/parsers/rst/directives/__init__.py:
1937 - Added ``flag()``, ``unchanged()``, ``path()``,
1938 ``nonnegative_int()``, ``choice()``, and ``class_option()``
1939 directive option helper functions.
1940 - Added warnings for unknown directives.
1941 - Return ``None`` for missing directives.
1942 - Added ``register_directive()``, thanks to William Dode and Paul
1945 * docutils/parsers/rst/directives/admonitions.py:
1947 - Added "admonition" directive.
1949 * docutils/parsers/rst/directives/body.py: Added to project. Contains
1950 the "topic", "sidebar" (from Patrick O'Brien), "line-block",
1951 "parsed-literal", "rubric", "epigraph", "highlights" and
1952 "pull-quote" directives.
1954 * docutils/parsers/rst/directives/images.py:
1956 - Added an "align" attribute to the "image" & "figure" directives
1957 (by Adam Chodorowski).
1958 - Added "class" option to "image", and "figclass" to "figure".
1960 * docutils/parsers/rst/directives/misc.py:
1962 - Added "include", "raw", and "replace" directives, courtesy of
1964 - Added "unicode" and "class" directives.
1966 * docutils/parsers/rst/directives/parts.py:
1968 - Added the "sectnum" directive; by Dmitry Jemerov.
1969 - Added "class" option to "contents" directive.
1971 * docutils/parsers/rst/directives/references.py: Added to project.
1972 Contains the "target-notes" directive.
1974 * docutils/parsers/rst/languages/__init__.py:
1976 - Return ``None`` from get_language() for missing language modules.
1978 * docutils/parsers/rst/languages/de.py: Added to project; German
1979 mappings by Engelbert Gruber.
1981 * docutils/parsers/rst/languages/en.py:
1983 - Added interpreted text roles mapping.
1985 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
1986 mappings by Marcelo Huerta San Martin.
1988 * docutils/parsers/rst/languages/fr.py: Added to project; French
1989 mappings by William Dode.
1991 * docutils/parsers/rst/languages/it.py: Added to project; Italian
1992 mappings by Nicola Larosa.
1994 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
1995 mappings by Miroslav Vasko.
1997 * docutils/readers/__init__.py:
1999 - Added support for the observer pattern from ``utils.Reporter``, in
2000 ``Reader.parse`` and ``Reader.transform``.
2001 - Removed ``Reader.transform()`` method.
2002 - Added default parameter values to ``Reader.__init__()`` to make
2003 instantiation easier.
2004 - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2006 * docutils/readers/pep.py:
2008 - Added the ``peps.TargetNotes`` transform to the Reader.
2009 - Removed PEP & RFC reference detection code; moved to
2010 parsers/rst/states.py as options (enabled here by default).
2011 - Added support for pre-acceptance PEPs (no PEP number yet).
2012 - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2015 * docutils/readers/python: Python Source Reader subpackage added to
2016 project, including preliminary versions of:
2019 - moduleparser.py: Parser for Python modules.
2021 * docutils/transforms/__init__.py:
2023 - Added ``Transformer`` class and completed transform reform.
2024 - Added unknown_reference_resolvers list for each transformer. This list holds
2025 the list of functions provided by each component of the transformer that
2026 help resolve references.
2028 * docutils/transforms/frontmatter.py:
2030 - Improved support for generic fields.
2031 - Fixed bibliographic field language lookups.
2033 * docutils/transforms/misc.py: Added to project. Miscellaneous
2036 * docutils/transforms/parts.py:
2038 - Moved the "id" attribute from TOC list items to the references
2039 (``Contents.build_contents()``).
2040 - Added the ``SectNum`` transform; by Dmitry Jemerov.
2041 - Added "class" attribute support to ``Contents``.
2043 * docutils/transforms/peps.py:
2045 - Added ``mask_email()`` function, updating to pep2html.py's
2047 - Linked "Content-Type: text/x-rst" to PEP 12.
2048 - Added the ``TargetNotes`` PEP-specific transform.
2049 - Added ``TargetNotes.cleanup_callback``.
2050 - Added title check to ``Headers``.
2052 * docutils/transforms/references.py:
2054 - Added the ``TargetNotes`` generic transform.
2055 - Split ``Hyperlinks`` into multiple transforms.
2056 - Fixed bug with multiply-indirect references (report: Bruce Smith).
2057 - Added check for circular indirect references.
2058 - Made substitutions case-sensitive-but-forgiving.
2060 * docutils/transforms/universal.py:
2062 - Added support for the "--expose-internal-attributes" option.
2063 - Removed ``Pending`` transform classes & data.
2065 * docutils/writers/__init__.py:
2067 - Removed ``Writer.transform()`` method.
2069 * docutils/writers/docutils-xml.py:
2071 - Added XML and doctype declarations.
2072 - Added "--no-doctype" and "--no-xml-declaration" options.
2074 * docutils/writers/html4css1.py:
2076 - "name" attributes only on these tags: a, applet, form, frame,
2078 - Added "name" attribute to <a> in section titles for Netscape 4
2079 support (bug report: Pearu Peterson).
2080 - Fixed targets (names) on footnote, citation, topic title,
2081 problematic, and system_message nodes (for Netscape 4).
2082 - Changed field names from "<td>" to "<th>".
2083 - Added "@" to "@" encoding to thwart address harvesters.
2084 - Improved the vertical whitespace optimization; ignore "invisible"
2085 nodes (targets, comments, etc.).
2086 - Improved inline literals with ``<span class="pre">`` around chunks
2087 of text and `` `` for runs of spaces.
2088 - Improved modularity of output; added ``self.body_pre_docinfo`` and
2089 ``self.docinfo`` segments.
2090 - Added support for "line_block", "address" elements.
2091 - Improved backlinks (footnotes & system_messages).
2092 - Improved system_message output.
2093 - Redefined "--stylesheet" as containing an invariant URL, used
2094 verbatim. Added "--stylesheet-path", interpreted w.r.t. the
2096 - Added "--footnote-references" option (superscript or brackets).
2097 - Added "--compact-lists" and "--no-compact-lists" options.
2098 - Added "--embed-stylesheet" and "--link-stylesheet" options;
2099 factored out ``HTMLTranslator.get_stylesheet_reference()``.
2100 - Improved field list rendering.
2101 - Added Docutils version to "generator" meta tag.
2102 - Fixed a bug with images; they must be inline, so wrapped in <p>.
2103 - Improved layout of <pre> HTML source.
2104 - Fixed attribute typo on <colspec>.
2105 - Refined XML prologue.
2106 - Support for no stylesheet.
2107 - Removed "interpreted" element support.
2108 - Added support for "title_reference", "sidebar", "attribution",
2109 "rubric", and generic "admonition" elements.
2110 - Added "--attribution" option.
2111 - Added support for "inline", "subscript", "superscript" elements.
2112 - Added initial support for "abbreviation" and "acronym";
2115 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2119 - Double quotes in literal blocks (special treatment for de/ngerman).
2120 - Added '--hyperlink-color' option ('0' turns off coloring of links).
2121 - Added "--attribution" option.
2122 - Right align attributions.
2124 * docutils/writers/pep_html.py:
2126 - Parameterized output encoding in PEP template.
2127 - Reworked substitutions from ``locals()`` into ``subs`` dict.
2128 - Redefined "--pep-stylesheet" as containing an invariant URL, used
2129 verbatim. Added "--pep-stylesheet-path", interpreted w.r.t. the
2131 - Added an override on the "--footnote-references" option.
2132 - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2133 - Added Docutils version to "generator" meta tag.
2134 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2138 - Added a "silent" setting for ``buildhtml.py``.
2139 - Added a "Getting Help" section.
2140 - Rearranged the structure.
2141 - Kept up to date, with new settings, command-line options etc.
2142 - Added section for ``rst2latex.py`` (Engelbert Gruber).
2143 - Converted settings table into a definition list.
2145 * docs/rst/quickstart.txt:
2147 - Added a table of contents.
2148 - Added feedback information.
2149 - Added mention of minimum section title underline lengths.
2150 - Removed the 4-character minimum for section title underlines.
2152 * docs/rst/quickref.html:
2154 - Added a "Getting Help" section.
2155 - Added a style to make section title backlinks more subtle.
2156 - Added mention of minimum section title underline lengths.
2157 - Removed the 4-character minimum for section title underlines.
2159 * extras: Directory added to project; contains third-party modules
2160 that Docutils depends on (optparse, textwrap, roman). These are
2161 only installed if they're not already present.
2163 * licenses: Directory added to project; contains copies of license
2164 files for non-public-domain files.
2168 - Changed the focus. It's about DTD elements: structural
2169 relationships, semantics, and external (public) attributes. Not
2170 about the element class library.
2171 - Moved some implementation-specific stuff into ``docutils.nodes``
2173 - Wrote descriptions of all common attributes and parameter
2174 entities. Filled in introductory material.
2175 - Working through the element descriptions: 55 down, 37 to go.
2176 - Removed "Representation of Horizontal Rules" to
2177 spec/rst/alternatives.txt.
2179 * spec/docutils.dtd:
2181 - Added "generated" inline element.
2182 - Added "line_block" body element.
2183 - Added "auto" attribute to "title".
2184 - Changed content models of "literal_block" and "doctest_block" to
2186 - Added ``%number;`` attribute type parameter entity.
2187 - Changed ``%structural.elements;`` to ``%section.elements``.
2188 - Updated attribute types; made more specific.
2189 - Added "address" bibliographic element.
2190 - Added "line" attribute to ``system_message`` element.
2191 - Removed "field_argument" element; "field_name" may contain
2192 multiple words and whitespace.
2193 - Changed public identifier to docutils.sf.net.
2194 - Removed "interpreted" element; added "title_reference",
2195 "abbreviation", "acronym".
2196 - Removed "refuri" attribute from "footnote_reference" and
2197 "citation_reference".
2198 - Added "sidebar", "rubric", "attribution", "admonition",
2199 "superscript", "subscript", and "inline" elements.
2201 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2203 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2205 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2207 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2210 * spec/transforms.txt: Added to project.
2212 * spec/howto: Added subdirectory, for developer how-to docs.
2214 * spec/howto/rst-directives.txt: Added to project. Original by Dethe
2215 Elza, edited & extended by David Goodger.
2217 * spec/howto/i18n.txt: Docutils Internationalization. Added to
2220 * spec/rst/alternatives.txt:
2222 - Added "Doctree Representation of Transitions" from
2224 - Updated "Inline External Targets" & closed the debate.
2225 - Added ideas for interpreted text syntax extensions.
2226 - Added "Nested Inline Markup" section.
2228 * spec/rst/directives.txt:
2230 - Added directives: "topic", "sectnum", "target-notes",
2231 "line-block", "parsed-literal", "include", "replace", "sidebar",
2232 "admonition", "rubric", "epigraph", "highlights", "unicode" and
2234 - Formalized descriptions of directive details.
2235 - Added an "align" attribute to the "image" & "figure" directives
2236 (by Adam Chodorowski).
2237 - Added "class" options to "topic", "sidebar", "line-block",
2238 "parsed-literal", "contents", and "image"; and "figclass" to
2241 * spec/rst/interpreted.txt: Added to project. Descriptions of
2242 interpreted text roles.
2244 * spec/rst/introduction.txt:
2246 - Added pointers to material for new users.
2248 * spec/rst/reStructuredText.txt:
2250 - Disambiguated comments (just add a newline after the "::").
2251 - Updated enumerated list description; added a discussion of the
2252 second-line validity checking.
2253 - Updated directive description.
2254 - Added a note redirecting newbies to the user docs.
2255 - Expanded description of inline markup start-strings in non-markup
2257 - Removed field arguments and made field lists a generic construct.
2258 - Removed the 4-character minimum for section title underlines.
2259 - Clarified term/classifier delimiter & inline markup ambiguity
2261 - Added "Embedded URIs".
2262 - Updated "Interpreted Text" section.
2263 - Added "Character-Level Inline Markup" section.
2265 * test: Continually adding & updating tests.
2267 - Moved test/test_rst/ to test/test_parsers/test_rst/.
2268 - Moved test/test_pep/ to test/test_readers/test_pep/.
2269 - Added test/test_readers/test_python/.
2270 - Added test/test_writers/ (Engelbert Gruber).
2274 - Made the ``locale.setlocale()`` calls in front ends
2277 * tools/buildhtml.py:
2279 - Added "--silent" option.
2280 - Fixed bug with absolute paths & "--config".
2281 - Updated for new I/O classes.
2282 - Added some exception handling.
2283 - Separated publishers' setting defaults; prevents interference.
2284 - Updated for new ``publish_file()`` convenience function.
2286 * tools/pep-html-template:
2288 - Allow for "--embed-stylesheet".
2289 - Added Docutils version to "generator" meta tag.
2290 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2291 - Conform to XHTML spec.
2293 * tools/pep2html.py:
2295 - Made ``argv`` a parameter to ``main()``.
2296 - Added support for "Content-Type:" header & arbitrary PEP formats.
2297 - Linked "Content-Type: text/plain" to PEP 9.
2298 - Files skipped (due to an error) are not pushed onto the server.
2299 - Updated for new I/O classes.
2300 - Added ``check_requirements()`` & ``pep_type_error()``.
2301 - Added some exception handling.
2302 - Updated for new ``publish_string()`` convenience function.
2303 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2305 * tools/quicktest.py:
2307 - Added "-V"/"--version" option.
2309 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2311 * tools/unicode2rstsubs.py: Added to project. Produces character
2312 entity files (reSructuredText substitutions) from the MathML master
2315 * tools/editors: Support code for editors, added to project. Contains
2316 ``emacs/restructuredtext.el``.
2318 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2320 - Added style for chunks of inline literals.
2321 - Removed margin for first child of table cells.
2322 - Right-aligned field list names.
2323 - Support for auto-numbered section titles in TOCs.
2324 - Increased the size of inline literals (<tt>) in titles.
2325 - Restored the light gray background for inline literals.
2326 - Added support for "line_block" elements.
2327 - Added style for "address" elements.
2328 - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2329 - Improved field list rendering.
2330 - Vertical whitespace improvements.
2331 - Removed "a.target" style.
2333 * tools/stylesheets/pep.css:
2335 - Fixed nested section margins.
2336 - Other changes parallel those of ``../default.css``.
2339 Release 0.2 (2002-07-31)
2340 ========================
2344 - The word "component" was being used ambiguously. From now on,
2345 "component" will be used to mean "Docutils component", as in Reader,
2346 Writer, Parser, or Transform. Portions of documents (Table of
2347 Contents, sections, etc.) will be called "document parts".
2348 - Did a grand renaming: a lot of ``verylongnames`` became
2349 ``very_long_names``.
2350 - Cleaned up imports: no more relative package imports or
2351 comma-separated lists of top-level modules.
2352 - Added support for an option values object which carries default
2353 settings and overrides (from command-line options and library use).
2354 - Added internal Unicode support, and support for both input and
2356 - Added support for the ``docutils.io.IO`` class & subclasses.
2360 * docutils/__init__.py:
2362 - Added ``ApplicationError`` and ``DataError``, for use throughout
2364 - Added ``Component`` base class for Docutils components; implements
2365 the ``supports`` method.
2366 - Added ``__version__`` (thus, ``docutils.__version__``).
2370 - Removed many keyword parameters to ``Publisher.__init__()`` and
2371 ``publish()``; bundled into an option values object. Added
2372 "argv", "usage", "description", and "option_spec" parameters for
2373 command-line support.
2374 - Added ``Publisher.process_command_line()`` and ``.set_options()``
2376 - Reworked I/O model for ``docutils.io`` wrappers.
2377 - Updated ``Publisher.set_options()``; now returns option values
2379 - Added support for configuration files (/etc/docutils.conf,
2380 ./docutils.conf, ~/.docutils).
2381 - Added ``Publisher.setup_option_parser()``.
2382 - Added default usage message and description.
2384 * docutils/frontend.py: Added to project; support for front-end
2385 (command-line) scripts. Option specifications may be augmented by
2386 components. Requires Optik (http://optik.sf.net/) for option
2387 processing (installed locally as docutils/optik.py).
2389 * docutils/io.py: Added to project; uniform API for a variety of input
2392 * docutils/nodes.py:
2394 - Added ``TreeCopyVisitor`` class.
2395 - Added a ``copy`` method to ``Node`` and subclasses.
2396 - Added a ``SkipDeparture`` exception for visitors.
2397 - Renamed ``TreePruningException`` from ``VisitorException``.
2398 - Added docstrings to ``TreePruningException``, subclasses, and
2400 - Improved docstrings.
2401 - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2402 - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2404 - Added ``decoration``, ``header``, and ``footer`` node classes, and
2405 ``PreDecorative`` mixin.
2406 - Reworked the name/id bookkeeping; to ``document``, removed
2407 ``explicit_targets`` and ``implicit_targets`` attributes, added
2408 ``nametypes`` attribute and ``set_name_id_map`` method.
2409 - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2411 - Added ``document.has_name()`` method.
2412 - Fixed DOM generation for list-attributes.
2413 - Added category class ``Labeled`` (used by footnotes & citations).
2414 - Added ``Element.set_class()`` method (sets "class" attribute).
2416 * docutils/optik.py: Added to project. Combined from the Optik
2417 package, with added option groups and other modifications. The use
2418 of this module is probably only temporary.
2420 * docutils/statemachine.py:
2422 - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2423 - Added underscores to improve many awkward names.
2424 - In ``string2lines()``, changed whitespace normalizing translation
2425 table to regexp; restores Python 2.0 compatibility with Unicode.
2427 * docutils/urischemes.py:
2429 - Filled in some descriptions.
2430 - Added "shttp" scheme.
2432 * docutils/utils.py:
2434 - Added ``clean_rcs_keywords`` function (moved from
2435 docutils/transforms/frontmatter.py
2436 ``DocInfo.filter_rcs_keywords``).
2437 - Added underscores to improve many awkward names.
2438 - Changed names of Reporter's thresholds:
2439 warning_level -> report_level; error_level -> halt_level.
2440 - Moved ``utils.id()`` to ``nodes.make_id()``.
2441 - Added ``relative_path(source, target)``.
2443 * docutils/languages/de.py: German mappings; added to project. Thanks
2444 to Gunnar Schwant for the translations.
2446 * docutils/languages/en.py: Added "Dedication" bibliographic field
2449 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2452 * docutils/parsers/rst/states.py:
2454 - Added underscores to improve many awkward names.
2455 - Added RFC-2822 header support.
2456 - Extracted the inline parsing code from ``RSTState`` to a separate
2457 class, ``Inliner``, which will allow easy subclassing.
2458 - Made local bindings for ``memo`` container & often-used contents
2459 (reduces code complexity a lot). See ``RSTState.runtime_init()``.
2460 - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2461 - Added ``MarkupMismatch`` exception; for late corrections.
2462 - Added ``-/:`` characters to inline markup's start string prefix,
2463 ``/`` to end string suffix.
2464 - Fixed a footnote bug.
2465 - Fixed a bug with literal blocks.
2466 - Applied patch from Simon Budig: simplified regexps with symbolic
2467 names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2468 - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2469 - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2470 - Allowed non-ASCII in "simple names" (directive names, field names,
2472 - Converted ``Inliner.patterns.initial`` to be dynamically built
2473 from parts with ``build_regexp()`` function.
2474 - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2475 - Updated docstrings.
2476 - Changed "table" to "grid_table"; added "simple_table" support.
2478 * docutils/parsers/rst/tableparser.py:
2480 - Changed ``TableParser`` to ``GridTableParser``.
2481 - Added ``SimpleTableParser``.
2482 - Refactored naming.
2484 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2485 a fallback language for directive names.
2487 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2488 directive to use a ``pending`` element, used only by HTML writers.
2490 * docutils/parsers/rst/directives/parts.py: Renamed from
2493 - Added "backlinks" attribute to "contents" directive.
2495 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2496 project by Adam Chodorowski.
2498 * docutils/readers/__init__.py: Gave Readers more control over
2499 choosing and instantiating Parsers.
2501 * docutils/readers/pep.py: Added to project; for PEP processing.
2503 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2504 requires a ``component`` parameter.
2506 * docutils/transforms/components.py: Added to project; transforms
2507 related to Docutils components.
2509 * docutils/transforms/frontmatter.py:
2511 - In ``DocInfo.extract_authors``, check for a single "author" in an
2512 "authors" group, and convert it to a single "author" element.
2513 - Added support for "Dedication" and generic bibliographic fields.
2515 * docutils/transforms/peps.py: Added to project; PEP-specific.
2517 * docutils/transforms/parts.py: Renamed from old components.py.
2519 - Added filter for `Contents`, to use alt-text for inline images,
2520 and to remove inline markup that doesn't make sense in the ToC.
2521 - Added "name" attribute to TOC topic depending on its title.
2522 - Added support for optional TOC backlinks.
2524 * docutils/transforms/references.py: Fixed indirect target resolution
2525 in ``Hyperlinks`` transform.
2527 * docutils/transforms/universal.py:
2529 - Changed ``Messages`` transform to properly filter out system
2530 messages below the warning threshold.
2531 - Added ``Decorations`` transform (support for ``--generator``,
2532 ``--date``, ``--time``, ``--source-link`` options).
2534 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2535 Engelbert Gruber's PDF writer.
2537 * docutils/writers/html4css1.py:
2539 - Made XHTML-compatible (switched to lowercase element & attribute
2540 names; empty tag format).
2541 - Escape double-dashes in comment text.
2542 - Improved boilerplate & modularity of output.
2543 - Exposed modular output in Writer class.
2544 - Added a "generator" meta tag to <head>.
2545 - Added support for the ``--stylesheet`` option.
2546 - Added support for ``decoration``, ``header``, and ``footer``
2548 - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2549 translation table to regexp; restores Python 2.0 compatibility
2551 - Added the translator class as instance variable to the Writer, to
2552 make it easily subclassable.
2553 - Improved option list spacing (thanks to Richard Jones).
2554 - Modified field list output.
2555 - Added backlinks to footnotes & citations.
2556 - Added percentage widths to "<col>" tags (from colspec).
2557 - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2558 "<span>" changed to "<var>".
2559 - Inline literals: "<code>" changed to "<tt>".
2560 - Many changes to optimize vertical space: compact simple lists etc.
2561 - Add a command-line options & directive attributes to control TOC
2562 and footnote/citation backlinks.
2563 - Added support for optional footnote/citation backlinks.
2564 - Added support for generic bibliographic fields.
2565 - Identify backrefs.
2566 - Relative URLs for stylesheet links.
2568 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2569 PEPs (subclass of ``html4css1.Writer``).
2571 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2573 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2574 of the Docutils internal doctree in XML.
2576 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2580 - Changed the title to "The Docutils Document Tree".
2581 - Added "Hyperlink Bookkeeping" section.
2583 * spec/docutils.dtd:
2585 - Added ``decoration``, ``header``, and ``footer`` elements.
2586 - Brought ``interpreted`` element in line with the parser: changed
2587 attribute "type" to "role", added "position".
2588 - Added support for generic bibliographic fields.
2590 * spec/notes.txt: Continual updates. Added "Project Policies".
2592 * spec/pep-0256.txt: Updated. Added "Roadmap to the Doctring PEPs"
2595 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2597 * spec/pep-0258.txt: Updated. Added text from pysource.txt and
2598 mailing list discussions.
2600 * spec/pep-0287.txt:
2602 - Renamed to "reStructuredText Docstring Format".
2604 - Reworked Q&A as an enumerated list.
2605 - Converted to reStructuredText format.
2607 * spec/pysource.dtd:
2609 - Reworked structural elements, incorporating ideas from Tony Ibbs.
2611 * spec/pysource.txt: Removed from project. Moved much of its contents
2614 * spec/rst/alternatives.txt:
2616 - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2617 - Added "Inline External Targets" section.
2619 * spec/rst/directives.txt:
2621 - Added "backlinks" attribute to "contents" directive.
2623 * spec/rst/problems.txt:
2625 - Updated the Enumerated List Markup discussion.
2626 - Added new alternative table markup syntaxes.
2628 * spec/rst/reStructuredText.txt:
2630 - Clarified field list usage.
2631 - Updated enumerated list description.
2632 - Clarified purpose of directives.
2633 - Added ``-/:`` characters to inline markup's start string prefix,
2634 ``/`` to end string suffix.
2635 - Updated "Authors" bibliographic field behavior.
2636 - Changed "inline hyperlink targets" to "inline internal targets".
2637 - Added "simple table" syntax to supplement the existing but
2638 newly-renamed "grid tables".
2639 - Added cautions for anonymous hyperlink use.
2640 - Added "Dedication" and generic bibliographic fields.
2642 * test: Made test modules standalone (subdirectories became packages).
2644 * test/DocutilsTestSupport.py:
2646 - Added support for PEP extensions to reStructuredText.
2647 - Added support for simple tables.
2648 - Refactored naming.
2650 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2652 - Now supports true packages containing test modules
2653 (``__init__.py`` files required); fixes duplicate module name bug.
2655 * test/test_pep/: Subpackage added to project; PEP testing.
2657 * test/test_rst/test_SimpleTableParser.py: Added to project.
2661 - Updated html.py and publish.py front-end tools to use the new
2662 command-line processing facilities of ``docutils.frontend``
2663 (exposed in ``docutils.core.Publisher``), reducing each to just a
2665 - Added ``locale.setlocale()`` calls to front-end tools.
2667 * tools/buildhtml.py: Added to project; batch-generates .html from all
2668 the .txt files in directories and subdirectories.
2670 * tools/default.css:
2672 - Added support for ``header`` and ``footer`` elements.
2673 - Added styles for "Dedication" topics (biblio fields).
2675 * tools/docutils.conf: A configuration file; added to project.
2677 * tools/docutils-xml.py: Added to project.
2679 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2681 * tools/pep-html-template: Added to project.
2683 * tools/pep2html.py: Added to project from Python (nondist/peps).
2684 Added support for Docutils (reStructuredText PEPs).
2686 * tools/quicktest.py:
2688 - Added the ``--attributes`` option, hacked a bit.
2689 - Added a second command-line argument (output file); cleaned up.
2691 * tools/stylesheets/: Subdirectory added to project.
2693 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2696 Release 0.1 (2002-04-20)
2697 ========================
2699 This is the first release of Docutils, merged from the now inactive
2700 reStructuredText__ and `Docstring Processing System`__ projects. For
2701 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2702 `DPS HISTORY`__ files.
2704 __ http://structuredtext.sourceforge.net/
2705 __ http://docstring.sourceforge.net/
2706 __ http://structuredtext.sourceforge.net/HISTORY.html
2707 __ http://docstring.sourceforge.net/HISTORY.html
2709 General changes: renamed 'dps' package to 'docutils'; renamed
2710 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2711 the test suites (reStructuredText's test/test_states renamed to
2712 test/test_rst); and all modifications required to make it all work.
2714 * docutils/parsers/rst/states.py:
2716 - Improved diagnostic system messages for missing blank lines.
2717 - Fixed substitution_reference bug.
2723 indent-tabs-mode: nil
2724 sentence-end-double-space: t