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 [ 2971827 ] and [ 3442827 ]
32 extras/roman.py moved to docutils/utils/roman.py
36 - Fix [ 3395948 ] (Work around encoding problems in Py3k).
38 * docutils/utils.py -> docutils/utils/__init__.py
40 - docutils.utils is now a package (providing a place for sub-modules)
42 .. important:: docutils/math, docutils/error_reporting.py, and
43 docutils/urischemes.py will move to the utils package in the next
44 release, too. Code importing these modules needs to adapt
45 (``import docutils.math`` -> ``import docutils.utils.math``, etc.).
47 - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
48 errors recording non-ASCII filenames (fixes [ 3434355 ].
50 * docutils/parsers/rst/states.py
52 - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
53 characters and "international" quotes around inline markup.
55 * docutils/parsers/rst/tableparser.py
57 - Fix [ 2926161 ] for simple tables.
58 (Combining chars in grid tables still contribute to cell width.)
60 * docutils/writers/latex2e/__init__.py
62 - Support the `abbreviation` and `acronym` standard roles.
63 - Record only files required to generate the LaTeX source as dependencies.
65 * docutils/writers/html4css1/__init__.py
67 - change default for `math-output` setting to MathJax
69 Release 0.8.1 (2011-08-30)
70 ==========================
74 - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
75 and [ 3395920 ] (correct copyright info for rst.el).
79 - Apply [ 3303733 ] and [ 3365041 ] to fix tests under py3k.
81 * docutils/writers/latex2e/__init__.py
83 - Clean up Babel language setting. Restores Sphinx compatibility.
85 Release 0.8 (2011-07-07)
86 ========================
90 - Handle language codes according to `BCP 47`_.
91 - If the specified language is not supported by Docutils,
92 warn and fall back to English.
93 - Math support: reStructuredText "math" role and directive,
94 ``math`` and ``math_block`` doctree elements.
95 - Decode command line arguments with the locale's preferred encoding
96 (to allow, e.g., ``--title=Dornröschen``).
97 - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
98 - New sub-module `error_reporting`: handle encoding/decoding errors
99 when reporting exceptions.
100 - Some additions to the Docutils core are released under the 2-Clause BSD
101 license, see COPYING_ for details.
103 .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
104 .. _COPYING: COPYING.html
108 - Most directives now support a "name" option that attaches a
111 - Directive content may start on the first line also when the directive
112 type accepts options.
114 * docs/dev/policies.txt:
116 - Recommend the 2-Clause BSD license
117 (http://www.spdx.org/licenses/BSD-2-Clause)
118 for code that is kept under the author's copyright.
120 * tools/buildhtml.py:
122 - Fix ``--local`` switch.
124 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
126 * docutils/writers/html4css1/__init__.py
128 - Set "lang" argument for objects with class argument
129 "language-<language tag>".
130 - New setting "math-output" with support for HTML, MathML, and LaTeX.
132 * docutils/writers/latex2e/__init__.py
134 - Fix [ 3043986 ] AttributeError using :local: with table of content.
135 - Place title data in the document preamble.
136 - Load `babel` package only if required.
137 - Update list of supported languages.
138 - New config setting "hyperref-options".
139 No hard-coded "unicode" hyperref option (clash with xetex).
140 - Set language for custom roles, paragraphs, block-quotes, and
141 line-quotes with class argument "language-<language tag>".
142 - Fix [ 3095603 ] wrong quotes output for russian and other languages.
143 - Convert image URI to a local file path.
144 - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
145 has more than one paragraph (Wolfgang Scherer).
146 - \leavevmode before longtable only when needed (prevents spurious vspace)
147 - do not advance table counter for tables without caption
149 * docutils/writers/xetex/__init__.py
151 - New writer generating LaTeX code for compiling with ``xelatex``.
153 A separate writer (inheriting from latex2e) instead of a ``--xetex``
154 option allows separate config options for XeTeX vs. LaTeX2e.
156 * docutils/writers/manpage.py
158 - Fix: BUG#3219183 - vertical space in definition lists containing markup.
159 - Fix: vertical space cleaning for option group ``.``.
161 * tools/editors/emacs/rst.el:
163 - Fix [ 3001100 ] does not handle spaces in filenames
164 (thanks to Jakub Wilk)
168 - strip whitespace from stylesheet arguments
169 - exclude combining chars from column_width()
170 (partial fix for [ 2926161 ])
172 * docutils/parsers/rst/directives/misc.py:
174 - Fix [ 1830389 ] Replace not breaking on getting system_messages from
179 - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
180 ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
182 Release 0.7 (2010-07-07)
183 ========================
187 - Fix [ 2881769 ] setup configuration.
188 - Fix [ 2788716 ] reporting problems in included files.
192 - FileInput opens files as text files with universal newline support
193 (mode "rU", configurable with the new optional argument "mode").
197 - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
201 - Fix [ 2923723 ] let decode_path() tolerate path == None
203 * docutils/writers/html4css1/__init__.py
205 - Support SVG and SWF images (thanks to Stefan Rank).
206 - Generate valid XHTML for centered images with targets.
207 Use CSS classes instead of "align" tags for image alignment.
209 * docutils/writers/latex2e/__init__.py
211 - Use `transforms.writer_aux.Admonitions` to "normalize" special
213 - Use the ``\url`` command for URLs (breaks long URLs instead of
214 writing into the margin).
215 - Preserve runs of spaces in `inline literals`__.
216 - Deprecate ``figure_footnotes`` setting.
217 - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
218 - New ``latex_preamble`` setting.
219 - Use PDF standard fonts (Times/Helvetica/Courier) as default.
220 - Fix hyperlink targets (labels) for images, figures, and tables.
221 - Apply [ 2961988 ] Load babel after inputenc and fontenc.
222 - Apply [ 2961991 ] Call hyperref with unicode option.
223 - Drop the special `output_encoding`__ default ("latin-1").
224 The Docutils wide default (usually "UTF-8") is used instead.
225 - Render inline markup in document title and subtitle.
226 - Fix numbering depth with LaTeX section numbering.
227 - Update Unicode -> LaTeX translations.
228 - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
230 __ docs/ref/restructuredtext.html#inline-literals
231 __ docs/user/config.html#docutils-footnotes
232 __ docs/user/config.html#output_encoding
234 * docutils/writers/manpage.py
236 - Fix: supported attribute (thanks to peter2108).
237 - Remove trailing blanks in code (keep in sync with mercurial version).
238 - Titles level 1, that is ``.SH``, always uppercase.
239 - Apply patch from mg: literal text should be bold in man-pages.
243 - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
248 - Python 3 support: copy test/ and tools/ to the build-dir
249 and convert Python sources with 2to3.
252 Release 0.6 (2009-10-11)
253 ========================
257 - Docutils is now compatible with Python versions from 2.3 up to 2.6
258 and convertible to 3.1 code.
260 + Node.__nonzero__ returns True instead of 1.
261 + use os.walk instead os.path.walk.
262 + minimize "types" module where possible.
263 + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
264 + Text nodes now subclass unicode rather than UserString
265 (which is gone in python 3.0).
266 + 3.0 compatibility module docutils._compat
268 + Drop 2.2 compatibility workarounds.
269 + Drop extras/optparse.py and extras/textwrap.py
270 (stdlib modules since 2.3).
272 - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
273 - Unix man page export: manpage writer moved from sandbox to Doctutils
276 - Apply [ 1719345 ] Galician translation
277 - Apply [ 1905741 ] Polish translation
278 - Apply [ 1878977 ] make_id(): deaccent characters.
279 - Apply [ 2029251 ] return nonzero when tests fail.
280 - Fix [ 1692788 ] allow UTF-8 in style sheets.
281 - Fix [ 2781629 ] support non-ASCII chars in file names.
282 - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
283 - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
284 - Fix [ 2821266 ] --strict option works now like --halt=info.
285 - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
286 - Fix [ 1627229 ] hyperlink references in substitutions.
288 - The "newlatex" writer is orphaned.
292 - Documented Unicode characters allowed as inline markup openers,
293 closers, and delimiters.
294 - Allow units for all length specifications.
295 - Allow percent sign in "scale" argument of "figure" and "image" directives.
296 - Bugfix: The "figalign" argument of a figure now works as intended
297 (aligning the figure, not its contents).
298 - Align images with class "align-[right|center|left]"
299 (allows setting the alignment of an image in a figure).
303 - Added ``Element.__contains__`` method, for the in-operator.
305 * docutils/parsers/rst/states.py:
307 - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
308 - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
309 " " (non-breaking space), and "¡ ¿" openers.
311 * docutils/parsers/directives/misc.py:
313 - Added ``start-line`` and ``end-line`` options to "include"
314 directive to select a range of lines.
315 - Hard tabs in literal inclusions are replaced by spaces. This is
316 configurable via the new ``tab-width`` option of the "include" directive
317 (a negative tab-width prevents tab expansion).
321 - Add ``get_stylesheet_list`` function.
322 - Apply [ 2834836 ] print info at halt
324 * docutils/transforms/universal.py:
326 - Raise default priority of StripClasses to exclude stripped classes from
329 * docutils/writers/html4css1/__init__.py:
331 - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
332 separated list of stylesheets.
333 - Address [ 1938891 ] Inline literal text creates "pre" span only when
334 needed to prevent inter-word line wraps.
335 - Use `translate` method instead of repeated `replace` calls.
336 - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
337 classes to allow CSS styling that does not interfere with other
338 table-using constructs (field lists, citations, ...).
340 * docutils/writers/newlatex2e/__init__.py:
342 - Apply [ 1612821 ] Double quotes in literal text in Italian/German
344 * docutils/writers/latex2e/__init__.py (see also
345 `<docs/user/docutils-05-compat.sty.html>`__) :
347 - Add ``--embed-stylesheet`` option.
348 - Apply [ 1474017 ] image vertical alignment is reversed.
349 - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
350 - Change: has_key for dictionaries (not Nodes) to in-operator.
351 - Merge adjacent citations into one latex cite command.
352 - Failsave implementation of custom roles. LaTeX compilation now ignores
353 unknown classes instead of aborting with an error.
354 - Support custom roles based on standard roles.
355 - LaTeX packages can be used as ``--stylesheet`` arguments without
356 restriction. (A style sheet is now referenced with the ``\usepackage``
357 command, if it ends with ``.sty`` or has no extension.)
358 - Add ``bp`` to lenghts without unit (prevents LaTex errors).
359 - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
360 - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
361 2005-02-04 as a configurable length unit).
362 - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
363 if font-encoding is set to ''. LaTeX defaults to OT1 then.
364 - Set sub- and superscript role argument in text mode not as math.
365 Use a custom role based on sub-/superscript if you want italic shape.
366 - Shorter preamble and less dependencies: Load packages and define macros
367 only if required in the document.
368 - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
369 - New custom environments and commands with optional "classes" argument.
370 - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
371 - Better conformance to Docutils specifications with ``--use-latex-toc``.
372 Support for LaTeX generated ToC also with unnumbered sections.
373 - If 'sectnum_xform' is False, the 'sectnum' directive triggers
374 section numbering by LaTeX.
375 - Use default font in admonitions and sidebar.
376 - Align of image in a figure defaults to 'center'.
377 - Bugfix: Newlines around targets and references prevent run-together
379 - Fix internal hyperlinks.
380 - Use class defaults for page margins ('typearea' now optional).
381 - Float placement made configurable, default changed to "here definitely".
382 - Typeset generic topic as "quote block with title".
383 - Use template (file and configuration option).
384 - In the default template, load cmap.sty (fix text extraction in PDF) and
385 fixltx2e.sty (LaTeX patches, \textsubscript).
386 - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
387 - Use `translate` instead of repeated `replace` calls for text encoding.
388 - Hyperlinked footnotes and support for symbol footnotes and
389 ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
390 - Complete pairs of binary options
391 (``--figure-footnotes, --figure-citations, --link-stylesheet``,
392 ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
394 - font-encoding: "T1" (formerly implicitely set by 'ae').
395 - use-latex-toc: true (ToC with page numbers).
396 - use-latex-footnotes: true (no mixup with figures).
398 * docutils/writers/manpage.py
400 - Do not print version at document end, this is done by the viewer.
401 - Do not print date at document end, this is done by the viewer.
402 - Fix storage of docinfo fields for none standard fields.
404 * docutils/tools/rst2man.py
406 Release 0.5 (2008-06-25)
407 ========================
409 * docutils/languages/he.py: Added to project: Hebrew mappings by
412 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
413 mappings by Meir Kriheli.
415 * docutils/frontend.py:
417 - Configuration files are now assumed and required to be
419 - Paths of applied configuration files are now recorded in the
420 runtime setting ``_config_files`` (accessible via
421 ``--dump-settings``).
422 - Added ``--strip-elements-with-class`` and ``--strip-class``
423 options (``strip_elements_with_classes`` and ``strip_classes``
428 - Added code to determine the input encoding from data: encoding
429 declarations or the presence of byte order marks (UTF-8 & UTF-16).
430 - Added support for IronPython 1.0.
434 - Added ``document.__getstate__`` method, for pickling.
436 * docutils/parsers/rst/states.py:
438 - Allow ``+`` and ``:`` in reference names.
439 - Unquoted targets beginning with an underscore (``.. __target:
440 URI``) are no longer accepted.
441 - Added support for multiple attributions in a physical block quote
442 (indented text block), dividing it into multiple logical block
444 - Added support for unicode bullets in bullet lists: "•", "‣", and
446 - Added support for new object-oriented directive interface,
447 retaining compatibility to the old functional interface.
448 - Added support for throwing ``DirectiveError``'s from within
451 * docutils/parsers/rst/__init__.py:
453 - Added ``Directive`` base class.
454 - Added ``DirectiveError`` base class.
455 - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
458 * docutils/parsers/directives/:
460 - Refactored all reStructuredText directives to use the new
461 object-oriented directive interface. Errors are now (mostly)
462 thrown using the new ``DirectiveError`` class.
464 * docutils/parsers/directives/misc.py:
466 - Added ``start-after`` and ``end-before`` options to ``include``
467 directive; thanks to Stefan Rank.
469 * docutils/transforms/universal.py:
471 - Added ``StripClassesAndElements`` transform to remove from the
472 document tree all elements with classes in
473 ``settings.strip_elements_with_classes`` and all "classes"
474 attribute values in ``self.document.settings.strip_classes``.
476 * docutils/transforms/writer_aux.py:
478 - Added ``Admonitions`` transform to transform specific admonitions
479 (like ``note``, ``warning``, etc.) into generic admonitions with a
482 * docutils/writers/html4css1/__init__.py:
484 - Moved template functionality from the PEP/HTML writer here.
485 - Expanded the fragments available in the ``parts`` attribute.
486 - Moved ``id`` attributes from titles to surrounding ``div``
488 - Dropped all ``name`` attributes of ``a`` elements (``id`` is
489 universally supported now).
490 - ``template.txt`` is now opened in text mode instead of binary mode
491 (to ensure Windows compatibility).
492 - ``a`` elements now have an "internal" or "external" class,
493 depending on reference type.
495 * docutils/writers/html4css1/template.txt: Added to project.
497 * docutils/writers/pep_html/:
499 - Moved template functionality to the HTML writer.
501 * docutils/writers/s5_html/__init__.py:
503 - Added ``view_mode`` & ``hidden_controls`` settings
504 (``--view-mode`` & ``--hidden-controls/--visible-controls``
507 * docutils/writers/latex2e/__init__.py:
509 - Add ``--literal-block-env``
510 - Fix: escaping ``%`` in href urls.
511 - Move usepackage hyperref after stylesheet inclusion.
512 - Fix: scrartcl does not have chapter but scrreprt.
513 - Add newline after ``\end{verbatim}``.
514 - Merge smaller differences from latex2e_adaptive_preamble.
515 - Add ``use-part-section``.
516 - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
517 - Using leavemode option_list no longer needs to check if parent
518 is a definition list.
519 - Append ``\leavemode`` to definition list terms.
520 - No longer write visit\_/depart_definition_list_item comments to
522 - Table column width with 3 decimal places.
523 - Add table stubs support (boldfont).
524 - Add assemble_parts to writer.
525 - Add simply support for nested tables.
526 - Fix verbatim in tables if use-verbatim-when-possible.
527 - Use section commands down to subparagraph.
528 - Put ensuremath around some latin1 chars.
529 - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
530 - New option ``--use-bibtex=style,db1,db2``.
531 - New option ``--reference-label`` to allow usage of LaTeX ref for
532 labels in section references.
533 - Add a label after every section to support sectionnumbers as reference
535 - Fix: bug# 1605376 rst2latex: bad options group list
536 - Remove inactive code for use_optionlist_for_option_list.
537 - Remove latex comments from option_list output.
538 - Fix: bug# 1612270 double qoutes in italian literal.
539 - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
540 - Add option --use-latex-abstract.
541 - Image width unit ``px`` is translated to ``pt``.
542 - Add image height support.
543 - Fix: image width ``70%`` is converted ``0.700\linewidth``.
545 - Fix: Do not escape underscores in citation reference labels if
546 use-latex-citations is set.
547 - Use centering instead of center for figure contents, to avoid vertical
549 - Recognize table class: borderless, nolines, booktabs, standard.
550 - Fix: Renaming contents section does not work with latex writer; SF
552 - Applied patch for custom roles with classes from Edward Loper.
553 - Fixed bug that caused crashes with more than 256 lists.
555 * docutils/writers/pep_html/__init__.py:
557 - Changed to support new python.org website structure and
560 * docs/howto/security.txt: "Deploying Docutils Securely", added to
563 * tools/buildhtml.py:
565 -- Added ``ignore`` setting to exclude a list of shell patterns
566 (default: ``.svn:CVS``).
568 * tools/editors/emacs/rst.el:
570 - Changed license to "GPL".
571 - Added ``rst-straighten-decorations`` function.
572 - The ``compile`` module is now always loaded.
573 - Added ``rst-toggle-line-block`` function.
574 - Headings consisting only of non-ASCII characters are now
575 recognized by ``rst-toc`` and ``rst-adjust``.
576 - Added font-lock support for multi-line comments where the first
577 comment line is empty.
578 - Added ``(require 'font-lock)``.
582 - Provide descriptive error message if distutils is missing.
585 Release 0.4 (2006-01-09)
586 ========================
590 - Updated the project policies for trunk/branch development &
593 * docutils/__init__.py:
595 - Added ``__version_details__`` attribute to describe code source
596 (repository/snapshot/release).
597 - Replaced ``default_transforms`` attribute of TransformSpec with
598 ``get_transforms()`` method.
602 - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
603 functions, for document tree extraction and reprocessing.
607 - Added ``DocTreeInput`` class, for reprocessing existing documents.
608 - Added support for non-Unicode (e.g. binary) writer output.
612 - Re-introduced ``Targetable.indirect_reference_name``, for
613 MoinMoin/reST compatibility (removed in r3124/r3129).
614 - Added ``serial_escape`` function; escapes string values that are
615 elements of a list, for serialization. Modified Docutils-XML
616 writing (``Element._dom_node``) and pseudo-XML writing
617 (``Element.starttag``) to use ``serial_escape``.
618 - Added ``Node.deepcopy()`` method.
619 - Removed the internal lists ``document.substitution_refs``,
620 ``document.anonymous_refs``, and ``document.anonymous_targets``.
621 - Added a "container" element.
622 - Fixed bug where values of list-valued attributes of elements
623 originating from custom interpreted text roles (i.e., with custom
624 classes) were being shared between element instances. Reported by
627 * docutils/statemachine.py:
629 - Added trailing whitespace stripping to ``string2lines()``.
630 - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
631 Asian double-width character support.
635 - Added ``east_asian_column_width()`` for double-width character
638 * docutils/languages/ja.py: Added to project: Japanese mappings by
641 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
642 mappings by Panjunyong.
644 * docutils/parsers/null.py: Added to project; a do-nothing parser.
646 * docutils/parsers/rst/__init__.py:
648 - Added validator to tab_width setting, with test. Closes SF bug
649 #1212515, report from Wu Wei.
651 * docutils/parsers/rst/states.py:
653 - Fixed bug with escaped colons indicating a literal block.
654 - Fixed bug with enumerated lists (SF#1254145).
655 - Backslash-escaped colons inside of field names are now allowed.
656 - Targets (implicit and explicit), anonymous hyperlink references
657 and auto-numbered footnote references inside of substitution
658 definitions are now disallowed.
659 - Fixed bug: list items with blank first lines.
660 - Fixed bug: block quote attributions with indented second lines.
661 - Added East Asian double-width character support (Python 2.4 only).
663 * docutils/parsers/rst/tableparser.py:
665 - Added East Asian double-width character support (Python 2.4 only).
667 * docutils/parsers/rst/directives/body.py:
669 - Added the "container" directive.
671 * docutils/parsers/rst/directives/misc.py:
673 - Added the "default-role", "title", and "date" directives.
674 - Added standard data file syntax to the "include" directive.
675 - Added support for "class" directive content.
677 * docutils/parsers/rst/directives/images.py:
679 - Added ``indirect_reference_name`` support for images with a target
681 - Added support for image width and height units.
682 - Fixed bug with image "target" options.
684 * docutils/parsers/rst/directives/references.py:
686 - Added "class" attribute to "target-notes" directive, for
687 footnote_reference classes.
689 * docutils/parsers/rst/include/: Directory added to project; contains
690 standard data files for the "include" directive. Initial contents:
691 character entity substitution definition sets, and a set of
692 definitions for S5/HTML presentations.
694 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
695 mappings by David Goodger.
697 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
698 Simplified Chinese mappings by Panjunyong.
700 * docutils/readers/__init__.py:
702 - Added universal.Decorations and universal.ExposeInternals
703 transforms as default transforms for all readers.
704 - Added ``ReReader`` base class for readers that reread an existing
707 * docutils/readers/doctree.py: Added to project; a reader for existing
710 * docutils/transforms/frontmatter.py:
712 - Fixed the DocInfo transform to handle SVN-style expansion of the
714 - In ``DocInfo.extract_authors``, treat the contents of "authors"
717 * docutils/transforms/misc.py:
719 - Added misc.Transitions transform, extracted from
720 universal.FinalChecks.
722 * docutils/transforms/references.py:
724 - Added references.DanglingReferences transform, extracted from
725 universal.FinalChecks.
726 - Fixed bug with doubly-indirect substitutions.
727 - Added footnote_reference classes attribute to "TargetNotes".
728 - Fixed bug with circular substitution definitions that put Docutils
729 into an infinite loop.
731 * docutils/transforms/universal.py:
733 - Added universal.ExposeInternals transform, extracted from
734 universal.FinalChecks.
735 - Removed universal.FinalChecks transform (logic has been moved to
736 several new transforms).
737 - Fixed bug with the "expose_internals" setting and Text nodes
738 (exposed by the "rawsource" internal attribute).
739 - Added the universal.StripComments transform, implementation of the
740 "strip_comments" setting.
742 * docutils/transforms/writer_aux.py: Added to project; auxiliary
743 transforms for writers.
745 - Added ``Compound`` transform, which flattens compound paragraphs.
747 * docutils/writers/: Several writer modules (html4css1.py) were
748 converted into packages. Support modules and data files have been
749 moved into the packages. The stylesheets for the HTML writers are
750 now installed along with the code, the code knows where to find
751 them, and the default is to use them (actually, to embed them).
752 Some adjustments to configuration files may be necessary. The
753 easiest way to obtain the new default behavior is to remove all
754 settings whose name includes "stylesheet".
756 * docutils/writers/__init__.py:
758 - Added universal.Messages and universal.FilterMessages transforms
759 as default transforms for all writers.
760 - Added ``UnfilteredWriter`` base class for writers that pass the
761 document tree on unchanged.
763 * docutils/writers/docutils_xml.py:
765 - Made ``xmlcharrefreplace`` the default output encoding error
768 * docutils/writers/html4css1/:
770 - Added support for image width and height units.
771 - Made ``xmlcharrefreplace`` the default output encoding error
773 - Made ``--embed-stylesheet`` the default rather than
774 ``--link-stylesheet``.
775 - Moved "id" attribute from container (section etc.) to title's <a>
776 tag, to be on the same tag as "name".
777 (!!! To be reverted in Docutils 0.5.)
778 - Added vertical space between fields of field lists.
779 - Added ``--compact-field-lists`` option to remove vertical space in
781 - Made cloaking of email addresses with ``--cloak-email-addresses``
783 - Fixed support for centered images.
784 - Added support for class="compact" & class="open" lists.
786 * docutils/writers/latex2e/:
788 - Underscores in citekeys are no longer escaped.
790 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
791 mapping of Unicode characters to LaTeX equivalents.
793 * docutils/writers/s5_html/: Package added to project; writer for
796 * docs/dev/distributing.txt: Added to project; guide for distributors
797 (package maintainers).
799 * docs/dev/hacking.txt: Added to project; guide for developers.
801 * docs/ref/doctree.txt:
803 - Updated for plural attributes "classes", "ids", "names",
805 - Added the "container" element.
807 * docs/ref/docutils.dtd:
809 - Updated for plural attributes "classes", "ids", "names",
812 * docs/user/emacs.txt: Added to project; a document about Emacs
813 support for reStructuredText and Docutils.
815 * docs/user/links.txt: Added to project; lists of Docutils-related
818 * docs/user/mailing-lists.txt: Added to project; information about
819 Docutils-related mailing lists and how to access them.
821 * docs/user/slide-shows.txt: Added to project; example of and docs for
822 the S5/HTML writer (``rst2s5.py`` front end).
824 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
825 Files", added to project.
827 * test/coverage.sh: Added to project; test coverage script.
829 * test/DocutilsTestSupport.py:
831 - Added support for specifying runtime settings at the suite level.
833 * test/test_functional.py:
835 - Added the ``clear_output_directory`` function.
836 - Added support for ``_test_more`` functions in functional test
839 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
841 * tools/rstpep2html.py: Renamed from pep.py.
843 * tools/dev/create_unimap.py: Added to project; script to create the
844 docutils/writers/unimap_latex.py mapping file.
846 * tools/dev/profile_docutils.py: Added to project; profiler script.
848 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
850 * tools/editors/emacs/restructuredtext.el,
851 tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
852 Removed from project; the functionality is now contained in rst.el.
854 * tools/editors/emacs/rst.el: Added to project. Added many features
855 and fixed many bugs. See docs/user/emacs.txt for details.
857 * tools/stylesheets: Removed from project. Stylesheets have been
858 renamed and moved into writer packages.
861 Release 0.3.9 (2005-05-26)
862 ==========================
866 - Eliminated and replaced all uses of the old string attributes
867 ``id``, ``name``, ``dupname`` and ``class`` with references to the
868 new list attributes ``ids``, ``names``, ``dupnames`` and
869 ``classes`` throughout the whole source tree.
873 - Enabled ``--dump-*`` options when ``--traceback`` specified,
874 allowing for easier debugging.
875 - In ``Publisher.publish()``, expanded the generic top-level
878 * docutils/examples.py:
880 - Added ``internals`` function for exploration.
884 - Fixed ``Input.decode`` method to apply heuristics only if no
885 encoding is explicitly given, and to provide better reporting of
887 - The ``Input.decode`` method now removes byte order marks (BOMs)
892 - ``image`` element class changed to subclass of Element, not
893 TextElement (it's an empty element, and cannot contain text).
894 - Added ``attr_defaults`` dictionary for default attribute values.
895 - Added empty list as default value for the following attributes:
896 ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
897 - Added ``document.decoration`` attribute,
898 ``document.get_decoration`` method, and ``decoration.get_header``
899 & ``.get_footer`` methods.
900 - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
905 - Removed ``docutils.utils.Reporter.categories``,
906 ``docutils.utils.ConditionSet``, and all references to them, to
907 simplify error reporting.
909 * docutils/languages/nl.py: Added to project; Dutch mappings by
912 * docutils/parsers/rst/__init__.py:
914 - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
916 * docutils/parsers/rst/states.py:
918 - Added check for escaped at-mark to prevent email address recognition.
919 - Fixed option lists to allow spaces inside ``<angle-bracketed option
921 - Allowed whitespace in paths and URLs.
922 - Added auto-enumerated list items.
923 - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
925 - Added support for table stub columns.
927 * docutils/parsers/rst/directives/__init__.py:
929 - Allowed whitespace in paths (``path`` function).
930 - Added ``uri`` directive option conversion function.
932 * docutils/parsers/rst/directives/body.py:
934 - Fixed illegal context bug with "topic" directive (allowed within
935 sidebars; not within body elements).
937 * docutils/parsers/rst/directives/images.py:
939 - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
940 - Added support for the ``file_insertion_enabled`` setting in the
941 "figure" directive (disables "figwidth" option).
942 - "image" directive: added checks for valid values of "align" option,
943 depending on context. "figure" directive: added specialized
944 "align" option and attribute on "figure" element.
945 - Made ":figwidth: image" option of "figure" directive work again.
946 - Fixed bug with reference names containing uppercase letters
947 (e.g. ``Name_``) in "target" option of "image" directive.
949 * docutils/parsers/rst/directives/misc.py:
951 - Fixed "include" and "raw" directives to catch text decoding
953 - Allowed whitespace in "include" & "raw" directive paths.
954 - Added support for ``file_insertion_enabled`` & ``raw_enabled``
955 settings in "include" & "raw" directives.
957 * docutils/parsers/rst/directives/parts.py:
959 - Added "header" & "footer" directives.
960 - Fixed illegal context bug with "contents" directive (topics
961 allowed within sidebars; not within body elements).
963 * docutils/parsers/rst/directives/tables.py:
965 - Added "list-table" directive.
966 - Caught empty CSV table bug.
967 - Added support for the ``file_insertion_enabled`` setting in the
968 "csv-table" directive.
969 - Added ``stub-columns`` option to "csv-table" and "list-table"
972 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
973 mappings by Martijn Pieters.
975 * docutils/readers/standalone.py:
977 - Added ``--section-subtitles`` and ``--no-section-subtitles``
978 options to activate or deactivate the SectSubTitle transform.
980 * docutils/transforms/frontmatter.py:
982 - Added SectSubTitle transform to promote titles of lone
983 subsections to subtitles.
985 * docutils/transforms/references.py:
987 - Fixed mislocated internal targets bug, by propagating internal
988 targets to the next node, making use of the newly added support
989 for multiple names and IDs.
990 - Fixed duplicate footnote label bug.
991 - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
994 * docutils/writers/html4css1.py:
996 - Fixed unencoded stylesheet reference bug (characters like "&" in
997 stylesheet references).
998 - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1000 - Added support for multiple IDs per node by creating empty ``span``
1002 - Added the ``field_name_limit`` & ``option_limit`` settings &
1004 - Added support for table stub columns.
1005 - Added support for the ``align`` attribute on ``figure`` elements.
1006 - Added the ``cloak_email_addresses`` setting & support.
1007 - Added ``html_prolog``, ``html_head``, ``html_body``,
1008 ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1009 ``docutils.core.publish_parts``.
1010 - Added support for section subtitles.
1012 * docutils/writers/latex2e.py:
1014 - Fixed tables starting with more than one multirow cell.
1015 - Improved --use-latex-docinfo so that organization/contact/address
1016 fields are lumped with the last author field and appear on the
1018 - Made sure the titlepage is always shown with --use-latex-docinfo,
1019 even if the document has no title.
1020 - Made sure that latex doesn't fill in today's date if no date field
1022 - Added support for section subtitles.
1024 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1025 (under development).
1027 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1029 * docs/api/publisher.txt:
1031 - Added "``publish_parts`` Details" section.
1033 * docutils/dev/repository.txt: Added to project; information about the
1034 Docutils Subversion repository.
1036 * docs/ref/docutils.dtd:
1038 - Added a ``stub`` attribute to the ``colspec`` element via the
1039 ``tbl.colspec.att`` parameter entity.
1040 - Allowed topic elements within sidebars
1041 - Added an ``align`` attribute to the ``figure`` element.
1043 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1047 Release 0.3.7 (2004-12-24)
1048 ==========================
1050 * docutils/frontend.py:
1052 - Added options: --input-encoding-error-handler,
1053 --record-dependencies, --leave-footnote-reference-space,
1055 - Added command-line and config file support for "overrides" setting
1060 - Added support for input encoding error handler.
1062 * docutils/nodes.py:
1064 - Added dispatch_visit and dispatch_departure methods to
1065 NodeVisitor; useful as a hook for Visitors.
1066 - Changed structure of ``line_block``; added ``line``.
1067 - Added ``compound`` node class.
1068 - Added a mechanism for Visitors to transitionally ignore new node
1071 * docutils/utils.py:
1073 - Moved ``escape2null`` and ``unescape`` functions from
1074 docutils/parsers/rst/states.py.
1076 * docutils/parsers/rst/roles.py:
1079 - Changed role function API: the "text" parameter now takes
1080 null-escaped interpreted text content.
1082 * docutils/parsers/rst/states.py:
1084 - Fixed bug where a "role" directive in a nested parse would crash
1085 the parser; the state machine's "language" attribute was not being
1087 - Added support for line block syntax.
1088 - Fixed directive parsing bug: argument-less directives didn't
1089 notice that arguments were present.
1090 - Removed error checking for transitions.
1091 - Added support for multiple classifiers in definition list items.
1092 - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1093 - Changed role function API: the "text" parameter now takes
1094 null-escaped interpreted text content.
1095 - Empty sections and documents are allowed now.
1097 * docutils/parsers/rst/directives/__init__.py:
1099 - Added ``encoding`` directive option conversion function.
1100 - Allow multiple class names in class_option conversion function.
1102 * docutils/parsers/rst/directives/body.py:
1104 - Converted the line-block directive to use the new structure.
1105 - Extracted the old line-block functionality to the ``block``
1106 function (still used).
1107 - Added ``compound`` directive (thanks to Lea Wiemann).
1109 * docutils/parsers/rst/directives/misc.py:
1111 - Added "encoding" option to "include" and "raw" directives.
1112 - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1113 - Allow multiple class names in the "class" directive.
1115 * docutils/parsers/rst/directives/parts.py:
1117 - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1118 options. Thanks to Lele Gaifax.
1120 * docutils/parsers/rst/directives/tables.py:
1122 - Added "encoding" directive to "csv-table" directive.
1123 - Added workaround for lack of Unicode support in csv.py, for
1124 non-ASCII CSV input.
1126 * docutils/transforms/misc.py:
1128 - Fixed bug when multiple "class" directives are applied to a single
1130 - Enabled multiple format names for "raw" directive.
1132 * docutils/transforms/references.py:
1134 - Added support for trimming whitespace from beside substitution
1137 * docutils/transforms/universal.py:
1139 - FinalChecks now checks for illegal transitions and moves
1140 transitions between sections.
1142 * docutils/writers/html4css1.py:
1144 - HTMLTranslator.encode now converts U+00A0 to " ".
1145 - "stylesheet" and "stylesheet_path" settings are now mutually
1147 - Added support for the new line_block/line structure.
1148 - --footnote-references now overrides
1149 --trim-footnote-reference-space, if applicable.
1150 - Added support for ``compound`` elements.
1151 - Enabled multiple format names for "raw" directive.
1152 - ``<p>`` tags of a paragraph which is the only visible child of the
1153 document node are no longer stripped.
1154 - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1155 new method ``should_be_compact_paragraph()``.
1156 - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1158 - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1159 the output if they have their ``class`` attribute set.
1160 - The whole document is now surrounded by a ``<div
1161 class="document">`` element.
1162 - Body-level images are now wrapped by their own ``<div>`` elements,
1163 with image classes copied to the wrapper, and for images which
1164 have the ``:align:`` option set, the surrounding ``<div>`` now
1165 receives a class attribute (like ``class="align-left"``).
1167 * docutils/writers/latex2e.py:
1169 - no newline after depart_term.
1170 - Added translations for some Unicode quotes.
1171 - Added option "font-encoding", made package AE the default.
1172 - "stylesheet" and "stylesheet_path" settings are now mutually
1174 - --footnote-references now overrides
1175 --trim-footnote-reference-space, if applicable.
1176 - The footnote label style now matches the footnote reference style
1177 ("brackets" or "superscript").
1178 - Added support for ``compound`` elements.
1179 - Enabled multiple format names for "raw" directive.
1181 * docs/ref/docutils.dtd:
1183 - Changed structure of the ``line_block`` element; added ``line``.
1184 - Added ``compound`` element.
1185 - Added "ltrim" and "rtrim" attributes to
1186 ``substitution_definition`` element.
1187 - Enabled multiple format names for ``raw`` element.
1188 - Enabled multiple classifiers in ``definition_list_item`` elements.
1190 * docs/ref/rst/directives.txt
1192 - Marked "line-block" as deprecated.
1193 - "Class" directive now allows multiple class names.
1194 - Added "Rationale for Class Attribute Value Conversion".
1195 - Added warning about "raw" overuse/abuse.
1197 * docs/ref/rst/restructuredtext.txt:
1199 - Added syntax for line blocks.
1200 - Definition list items may have multiple classifiers.
1202 * docs/ref/rst/roles.txt:
1206 * tools/stylesheets/default.css:
1208 - Added support for the new line_block structure.
1209 - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1212 Release 0.3.5 (2004-07-29)
1213 ==========================
1217 * _`Documentation cleanup/reorganization`.
1219 - Created new subdirectories of docs/:
1221 * ``docs/user/``: introductory/tutorial material for end-users
1222 * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1223 * ``docs/api/``: API reference material for client-developers
1224 * ``docs/ref/``: reference material for all groups
1225 * ``docs/howto/``: for component-developers and core-developers
1226 * ``docs/peps/``: Python Enhancement Proposals
1228 - Moved ``docs/*`` to ``docs/user/``.
1229 - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1230 ``spec/`` to ``docs/dev``.
1231 - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1232 ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1233 - Moved ``alternatives.txt``, and ``problems.txt`` from
1234 ``spec/rst/`` to ``docs/dev/rst/``.
1235 - Moved ``reStructuredText.txt``, ``directives.txt``,
1236 ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1237 to ``docs/ref/rst/``. Renamed ``interpreted.txt`` to
1238 ``roles.txt``, ``reStructuredText.txt`` to
1239 ``restructuredtext.txt``.
1240 - Moved ``spec/howto/`` to ``docs/howto``.
1242 In order to keep the CVS history of moved files, we supplied
1243 SourceForge with a `script for modifying the Docutils CVS
1246 __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1248 After running the cleanup script:
1250 - Added ``docs/index.txt``.
1251 - Added a ``.htaccess`` file to the ``web`` module, containing
1252 redirects for all old paths to new paths. They'll preserve
1253 fragments (the "#name" part of a URL), and won't clutter up the
1254 file system, and will correct the URL in the user's browser.
1255 - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1256 ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1257 the "To Do" list itself in ``docs/dev/todo.txt``.
1258 - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1259 section of ``docs/dev/todo.txt``.
1260 - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1261 - Added "How To Report Bugs" to ``BUGS.txt``.
1262 - Went through all the sources and docs (including under web/) and
1263 updated links. Mostly done by Lea Wiemann; thanks Lea!
1264 (Still need to update links in the sandboxes.)
1268 * BUGS.txt: Added to project.
1270 * THANKS.txt: Added to project.
1272 * docutils/__init__.py:
1274 - 0.3.4: Post-release.
1278 - Added special error handling & advice for UnicodeEncodeError.
1279 - Refactored Publisher.publish (simplified exception handling &
1280 extracted debug dumps).
1281 - Renamed "enable_exit" parameter of convenience functions to
1282 "enable_exit_status".
1283 - Enabled traceback (exception propagation) by default in
1284 programmatic convenience functions.
1285 - Now publish_file and publish_cmdline convenience functions return
1286 the encoded string results in addition to their regular I/O.
1287 - Extracted common code from publish_file, publish_string, and
1288 publish_parts, into new publish_programmatically. Extracted
1289 settings code to ``Publisher.process_programmatic_settings``.
1290 - In Publisher.publish, disabled ``settings_overrides`` when
1291 ``settings`` is supplied; redundant.
1293 * docutils/frontend.py:
1295 - Added help text for "--output-encoding-error-handler" and
1296 "--error-encoding-error-handler".
1297 - Renamed "--exit" to "--exit-status".
1298 - Simplified default-setting code.
1300 * docutils/parsers/rst/__init__.py:
1302 - Added "--pep-base-url" and "--rfc-base-url" options.
1304 * docutils/parsers/rst/states.py:
1306 - Made URI recognition more aggressive and intelligent.
1308 * docutils/parsers/rst/directives/__init__.py:
1310 - Added several directive option conversion functions.
1312 * docutils/parsers/rst/directives/body.py:
1314 - Moved "table" directive to tables.py.
1316 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1319 * docutils/writers/latex2e.py:
1321 - Added "--table-style=(standard|booktabs|nolines)"
1322 - figures get "here" option (LaTeX per default puts them at bottom),
1323 and figure content is centered.
1324 - Rowspan support for tables.
1325 - Fix: admonition titles before first section.
1326 - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1327 - Replave ``_`` in literal by an underlined blank, because it has the correct
1329 - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1330 - A few unicode replacements, if output_encoding != utf
1331 - Add "--graphicx-option".
1332 - Indent literal-blocks.
1333 - Fix: omit ``\maketitle`` when there is no document title.
1335 * docs/index.txt: "Docutils Project Documentation Overview", added to
1338 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1339 Tool", added to project.
1341 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1343 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1345 * docs/dev/policies.txt: Added to project (extracted from
1346 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1348 * docs/dev/release.txt: Added to project (extracted from
1349 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1351 * docs/dev/testing.txt: Added to project.
1353 * docs/dev/website.txt: Added to project (extracted from
1354 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1356 * docs/ref/rst/directives.txt:
1358 - Added directives: "table", "csv-table".
1360 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1361 added to project. 1 page for syntax, and a 1 page reference for
1362 directives and roles. Source text to be used as-is; not meant to be
1365 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1366 with a change of title.
1368 * test/functional/, contents, and test/test_functional.py: Added to
1371 * tools/buildhtml.py: Fixed bug with config file handling.
1373 * tools/html.py: Removed from project (duplicate of rst2html.py).
1375 * tools/pep2html.py: Removed from project (duplicate of Python's
1376 nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1377 Docutils-related PEPs in docs/peps/).
1379 * tools/rst2pseudoxml.py: Renamed from publish.py.
1381 * tools/rst2xml.py: Renamed from docutils-xml.py.
1383 * tools/test.txt: Removed from project; moved to
1384 docs/user/rst/demo.txt.
1386 * setup.py: Now also installs ``rst2latex.py``.
1389 Release 0.3.3 (2004-05-09)
1390 ==========================
1392 * docutils/__init__.py:
1394 - 0.3.1: Reorganized config file format (multiple sections); see
1396 - Added unknown_reference_resolvers attribute to TransformSpec.
1397 - 0.3.2: Interpreted text reorganization.
1402 - Catch system messages to stop tracebacks from parsing errors.
1403 - Catch exceptions during processing report & exit without
1404 tracebacks, except when "--traceback" used.
1405 - Reordered components for OptionParser; application comes last.
1406 - Added "config_section" parameter to several methods and functions,
1407 allowing front ends to easily specify their config file sections.
1408 - Added publish_parts convenience function to allow access to individual
1409 parts of a document.
1411 * docutils/examples.py: Added to project; practical examples of
1412 Docutils client code, to be used as-is or as models for variations.
1414 * docutils/frontend.py:
1416 - Added "--traceback" & "--no-traceback" options ("traceback"
1418 - Implemented support for config file reorganization:
1419 ``standard_config_files`` moved from ``ConfigParser`` to
1420 ``OptionParser``; added
1421 ``OptionParser.get_config_file_settings()`` and
1422 ``.get_standard_config_settings()``; support for old "[options]"
1423 section (with deprecation warning) and mapping from old to new
1425 - Reimplemented setting validation.
1426 - Enabled flexible boolean values: yes/no, true/false, on/off.
1427 - Added ``Values``, a subclass of ``optparse.Values``, with support
1428 for list setting attributes.
1429 - Added support for new ``DOCUTILSCONFIG`` environment variable;
1430 thanks to Beni Cherniavsky.
1431 - Added "--no-section-numbering" option.
1435 - Catch IOErrors when opening source & destination files, report &
1436 exit without tracebacks. Added ``handle_io_errors`` parameter to
1437 ``FileInput`` & ``FileOutput`` to enable caller error handling.
1439 * docutils/nodes.py:
1441 - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1442 method definitions (via ``exec``) to dynamic assignments (via
1443 ``setattr``); thanks to Roman Suzi.
1444 - Encapsulated visitor dynamic assignments in a function; thanks to
1446 - Added indirect_reference_name attribute to the Targetable
1447 class. This attribute holds the whitespace_normalized_name
1448 (contains mixed case) of a target.
1450 * docutils/statemachine.py:
1452 - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1453 - Added ``StringList.get_2D_block``.
1455 * docutils/utils.py:
1457 - Added "level" attribute to SystemMessage exceptions.
1459 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1462 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1465 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1466 Marcelo Huerta San Martin.
1468 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1469 mappings by Lalo Martins.
1471 * docutils/languages/ru.py: Added to project; Russian mappings by
1474 * docutils/parsers/rst/roles.py: Added to project. Contains
1475 interpreted text role functions, a registry for interpreted text
1476 roles, and an API for adding to and retrieving from the registry.
1477 Contributed by Edward Loper.
1479 * docutils/parsers/rst/states.py:
1481 - Updated ``RSTState.nested_parse`` for "include" in table cells.
1482 - Allowed true em-dash character and "---" as block quote
1484 - Added support for <angle-bracketed> complex option arguments
1486 - Fixed handling of backslashes in substitution definitions.
1487 - Fixed off-by-1 error with extra whitespace after substitution
1488 definition directive.
1489 - Added inline markup parsing to field lists' field names.
1490 - Added support for quoted (and unindented) literal blocks.
1491 Driven in part by a bribe from Frank Siebenlist (thanks!).
1492 - Parser now handles escapes in URIs correctly.
1493 - Made embedded-URIs' reference text omittable. Idea from Beni
1495 - Refactored explicit target processing code.
1496 - Added name attribute to references containing the reference name only
1497 through whitespace_normalize_name (no case changes).
1498 - parse_target no longer returns the refname after going through
1499 normalize_name. This is now handled in make_target.
1500 - Fixed bug relating to role-less interpreted text in non-English
1502 - Reorganized interpreted text processing; moved code into the new
1503 roles.py module. Contributed by Edward Loper.
1504 - Refactored ``Body.parse_directive`` into ``run_directive`` and
1505 ``parse_directive_block``.
1507 * docutils/parsers/rst/tableparser.py:
1509 - Reworked for ``StringList``, to support "include" directives in
1512 * docutils/parsers/rst/directives/__init__.py:
1514 - Renamed ``unchanged()`` directive option conversion function to
1515 ``unchanged_required``, and added a new ``unchanged``.
1516 - Catch unicode value too high error; fixes bug 781766.
1517 - Beefed up directive error reporting.
1519 * docutils/parsers/rst/directives/body.py:
1521 - Added basic "table" directive.
1523 * docutils/parsers/rst/directives/images.py:
1525 - Added "target" option to "image" directive.
1526 - Added name attribute to references containing the reference name only
1527 through whitespace_normalize_name (no case changes).
1529 * docutils/parsers/rst/directives/misc.py:
1531 - Isolated the import of the ``urllib2`` module; was causing
1532 problems on SourceForge (``libssl.so.2`` unavailable?).
1533 - Added the "role" directive for declaring custom interpreted text
1536 * docutils/parsers/rst/directives/parts.py:
1538 - The "contents" directive does more work up-front, creating the
1539 "topic" and "title", and leaving the "pending" node for the
1540 transform. Allows earlier reference resolution; fixes subtle bug.
1542 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1543 mappings by Jannie Hofmeyr.
1545 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1546 mappings by Marek Blaha.
1548 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1549 mappings by Marcelo Huerta San Martin.
1551 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1552 Portuguese mappings by Lalo Martins.
1554 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1555 mappings by Roman Suzi.
1557 * docutils/transforms/parts.py:
1559 - The "contents" directive does more work up-front, creating the
1560 "topic" and "title", and leaving the "pending" node for the
1561 transform. Allows earlier reference resolution; fixes subtle bug.
1562 - Added support for disabling of section numbering.
1564 * docutils/transforms/references.py:
1566 - Verifying that external targets are truly targets and not indirect
1567 references. This is because we are now adding a "name" attribute to
1568 references in addition to targets. Note sure if this is correct!
1569 - Added code to hook into the unknown_reference_resolvers list for a
1570 transformer in resolve_indirect_target. This allows the
1571 unknown_reference_resolvers to keep around indirect targets which
1572 docutils doesn't know about.
1573 - Added specific error message for duplicate targets.
1575 * docutils/transforms/universal.py:
1577 - Added FilterMessages transform (removes system messages below the
1578 verbosity threshold).
1579 - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1580 to FinalCheckVisitor for application-specific handling of
1581 unresolvable references.
1582 - Added specific error message for duplicate targets.
1584 * docutils/writers/__init__.py:
1586 - Added assemble_parts method to the Writer class to allow for
1587 access to a documents individual parts.
1588 - Documented & set default for ``Writer.output`` attribute.
1590 * docutils/writers/html4css1.py:
1592 - Fixed unicode handling of attribute values (bug 760673).
1593 - Prevent duplication of "class" attribute values (bug report from
1595 - Improved table grid/border handling (prompted by report from Bob
1597 - Added support for table titles.
1598 - Added "<title />" for untitled docs, for XHTML conformance; thanks
1600 - Added functionality to keep track of individual parts of a document
1601 and store them in a dictionary as the "parts" attribute of the writer.
1602 Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1603 - Added proper support for the "scale" attribute of the "image"
1604 element. Contributed by Brent Cook.
1605 - Added ``--initial-header-level`` option.
1606 - Fixed bug: the body_pre_docinfo segment depended on there being a
1607 docinfo; if no docinfo, the document title was incorporated into
1608 the body segment. Adversely affected the publish_parts interface.
1610 * docutils/writers/latex2e.py:
1612 - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1613 about a missing file.
1614 - Added options and support: ``--compound-enumerators``,
1615 ``--section-prefix-for-enumerators``, and
1616 ``--section-enumerator-separator``. By John F Meinel Jr (SF patch
1618 - Added option ``--use-verbatim-when-possible``, to avoid
1619 problematic characters (eg, '~' in italian) in literal blocks.
1620 - It's now possible to use four section levels in the `book` and
1621 `report` LaTeX classes. The default `article` class still has
1624 * docs/config.txt: "Docutils Configuration Files", added to project.
1625 Moved config file entry descriptions from tools.txt.
1629 - Moved config file entry descriptions to config.txt.
1631 * spec/notes.txt: Continual updates. Added "Setting Up For Docutils
1634 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1635 Text Roles", added to project.
1637 * spec/rst/reStructuredText.txt:
1639 - Added description of support for <angle-bracketed> complex option
1640 arguments to option lists.
1641 - Added subsections for indented and quoted literal blocks.
1643 * test: Continually adding & updating tests.
1645 - Added test/test_settings.py & test/data/config_*.txt support
1647 - Added test/test_writers/test_htmlfragment.py.
1649 * test/DocutilsTestSupport.py:
1651 - Refactored LaTeX publisher test suite/case class names to make
1652 testing other writers easier.
1653 - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1654 to test the processing of HTML fragments which use the new
1655 publish_parts convenience function.
1657 * tools/buildhtml.py:
1659 - Added support for the "--prune" option.
1660 - Removed dependency on pep2html.py; plaintext PEPs no longer
1663 * tools/docutils.conf:
1665 - Updated for configuration file reorganization.
1667 * tools/rst2html.py:
1669 - copied from tools/html.py
1673 - added a 'scripts' section to configuration
1674 - added 'tools/rst2html.py' to the scripts section
1677 Release 0.3 (2003-06-24)
1678 ========================
1682 * Renamed "attribute" to "option" for directives/extensions.
1684 * Renamed transform method "transform" to "apply".
1686 * Renamed "options" to "settings" for runtime settings (as set by
1687 command-line options). Sometimes "option" (singular) became
1688 "settings" (plural). Some variations below:
1690 - document.options -> document.settings (stored in other objects as
1692 - option_spec -> settings_spec (not directives though)
1693 - OptionSpec -> SettingsSpec
1694 - cmdline_options -> settings_spec
1695 - relative_path_options -> relative_path_settings
1696 - option_default_overrides -> settings_default_overrides
1697 - Publisher.set_options -> Publisher.get_settings
1701 * COPYING.txt: Added "Public Domain Dedication".
1703 * FAQ.txt: Frequently asked questions, added to project.
1707 - Updated with PyPI Trove classifiers.
1708 - Conditional installation of third-party modules.
1710 * docutils/__init__.py:
1712 - Bumped version to 0.2.1 to reflect changes to I/O classes.
1713 - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1714 - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1715 - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1716 option and its effect on the PEP template & writer.
1717 - Bumped version to 0.2.4 due to changes to the PEP template &
1719 - Bumped version to 0.2.5 to reflect changes to Reporter output.
1720 - Added ``TransformSpec`` class for new transform system.
1721 - Bumped version to 0.2.6 for API changes (renaming).
1722 - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1723 convenience functions.
1724 - Added ``Component.component_type`` attribute.
1725 - Bumped version to 0.2.8 because of the internal parser switch from
1726 plain lists to the docutils.statemachine.StringList objects.
1727 - Bumped version to 0.2.9 because of the frontend.py API changes.
1728 - Bumped version to 0.2.10 due to changes to the project layout
1729 (third-party modules removed from the "docutils" package), and
1730 signature changes in ``io.Input``/``io.Output``.
1731 - Changed version to 0.3.0 for release.
1735 - Made ``publish()`` a bit more convenient.
1736 - Generalized ``Publisher.set_io``.
1737 - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1738 parameters; improved its docstring.
1739 - Added ``publish_file()`` and ``publish_string()``.
1740 - Factored ``Publisher.set_source()`` and ``.set_destination()``
1742 - Added support for "--dump-pseudo-xml", "--dump-settings", and
1743 "--dump-transforms" hidden options.
1744 - Added ``Publisher.apply_transforms()`` method.
1745 - Added ``Publisher.set_components()`` method; support for
1746 ``publish_*()`` conveninece functions.
1747 - Moved config file processing to docutils/frontend.py.
1748 - Added support for exit status ("exit_level" setting &
1749 ``enable_exit`` parameter for Publisher.publish() and convenience
1752 * docutils/frontend.py:
1754 - Check for & exit on identical source & destination paths.
1755 - Fixed bug with absolute paths & "--config".
1756 - Set non-command-line defaults in ``OptionParser.__init__()``:
1757 ``_source`` & ``_destination``.
1758 - Distributed ``relative_path_settings`` to components; updated
1759 ``OptionParser.populate_from_components()`` to combine it all.
1760 - Require list of keys in ``make_paths_absolute`` (was implicit in
1761 global ``relative_path_settings``).
1762 - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1763 "--dump-settings", and "--dump-transforms" hidden options.
1764 - Removed nasty internals-fiddling ``ConfigParser.get_section``
1765 code, replaced with correct code.
1766 - Added validation functionality for config files.
1767 - Added "--error-encoding" option/setting, "_disable_config"
1769 - Added encoding validation; updated "--input-encoding" and
1770 "--output-encoding"; added "--error-encoding-error-handler" and
1771 "--output-encoding-error-handler".
1772 - Moved config file processing from docutils/core.py.
1773 - Updated ``OptionParser.populate_from_components`` to handle new
1774 ``SettingsSpec.settings_defaults`` dict.
1775 - Added support for "-" => stdin/stdout.
1776 - Added "exit_level" setting ("--exit" option).
1780 - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1781 - Added automatic closing to ``FileInput`` and ``FileOutput``.
1782 - Delayed opening of ``FileOutput`` file until ``write()`` called.
1783 - ``FileOutput.write()`` now returns the encoded output string.
1784 - Try to get path/stream name automatically in ``FileInput`` &
1786 - Added defaults for source & destination paths.
1787 - Allow for Unicode I/O with an explicit "unicode" encoding.
1788 - Added ``Output.encode()``.
1789 - Removed dependency on runtime settings; pass encoding directly.
1790 - Recognize Unicode strings in ``Input.decode()``.
1791 - Added support for output encoding error handlers.
1793 * docutils/nodes.py:
1795 - Added "Invisible" element category class.
1796 - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1797 modification during a traversal.
1798 - Added element classes: ``line_block``, ``generated``, ``address``,
1799 ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1800 ``superscript``, ``subscript``, ``inline``
1801 - Added support for lists of nodes to ``Element.insert()``.
1802 - Fixed parent linking in ``Element.replace()``.
1803 - Added new abstract superclass ``FixedTextElement``; adds
1804 "xml:space" attribute.
1805 - Added support for "line" attribute of ``system_message`` nodes.
1806 - Added support for the observer pattern from ``utils.Reporter``.
1807 Added ``parse_messages`` and ``transform_messages`` attributes to
1808 ``document``, removed ``messages``. Added ``note_parse_message``
1809 and ``note_transform_message`` methods.
1810 - Added support for improved diagnostics:
1812 - Added "document", "source", and "line" internal attributes to
1813 ``Node``, set by ``Node.setup_child()``.
1814 - Converted variations on ``node.parent = self`` to
1815 ``self.setup_child(node)``.
1816 - Added ``document.current_source`` & ``.current_line``
1817 attributes, and ``.note_source`` observer method.
1818 - Changed "system_message" output to GNU-Tools format.
1820 - Added a "rawsource" attribute to the ``Text`` class, for text
1821 before backslash-escape resolution.
1822 - Support for new transform system.
1823 - Reworked ``pending`` element.
1824 - Fixed XML DOM bug (SF #660611).
1825 - Removed the ``interpeted`` element class and added
1826 ``title_reference``, ``abbreviation``, ``acronym``.
1827 - Made substitutions case-sensitive-but-forgiving; moved some code
1829 - Fixed Unicode bug on element attributes (report: William Dode).
1831 * docutils/optik.py: Removed from project; replaced with
1832 extras/optparse.py and extras/textwrap.py. These will be installed
1833 only if they're not already present in the Python installation.
1835 * docutils/roman.py: Moved to extras/roman.py; this will be installed
1836 only if it's not already present in the Python installation.
1838 * docutils/statemachine.py:
1840 - Factored out ``State.add_initial_transitions()`` so it can be
1842 - Converted whitespace-specific "blank" and "indent" transitions
1843 from special-case code to ordinary transitions: removed
1844 ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
1845 ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
1846 ``ws_initial_transitions`` attributes.
1847 - Removed ``State.match_transition()`` after merging it into
1849 - Added ``StateCorrection`` exception.
1850 - Added support for ``StateCorrection`` in ``StateMachine.run()``
1851 (moved ``TransitionCorrection`` support there too.)
1852 - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
1853 ``EOFError`` instead of ``IndexError``.
1854 - Added ``State.no_match`` method.
1855 - Added support for the Observer pattern, triggered by input line
1857 - Added ``strip_top`` parameter to
1858 ``StateMachineWS.get_first_known_indented``.
1859 - Made ``context`` a parameter to ``StateMachine.run()``.
1860 - Added ``ViewList`` & ``StringList`` classes;
1861 ``extract_indented()`` becomes ``StringList.get_indented()``.
1862 - Added ``StateMachine.insert_input()``.
1863 - Fixed ViewList slice handling for Python 2.3. Patch from (and
1864 thanks to) Fred Drake.
1866 * docutils/utils.py:
1868 - Added a ``source`` attribute to Reporter instances and
1869 ``system_message`` elements.
1870 - Added an observer pattern to ``utils.Reporter`` to keep track of
1872 - Fixed bugs in ``relative_path()``.
1873 - Added support for improved diagnostics.
1874 - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
1875 - Added support for encoding Reporter stderr output, and encoding
1877 - Reporter keeps track of the highest level system message yet
1880 * docutils/languages: Fixed bibliographic field language lookups.
1882 * docutils/languages/es.py: Added to project; Spanish mappings by
1883 Marcelo Huerta San Martin.
1885 * docutils/languages/fr.py: Added to project; French mappings by
1888 * docutils/languages/it.py: Added to project; Italian mappings by
1891 * docutils/languages/sk.py: Added to project; Slovak mappings by
1894 * docutils/parser/__init__.py:
1896 - Added ``Parser.finish_parse()`` method.
1898 * docutils/parser/rst/__init__.py:
1900 - Added options: "--pep-references", "--rfc-references",
1901 "--tab-width", "--trim-footnote-reference-space".
1903 * docutils/parsers/rst/states.py:
1905 - Changed "title under/overline too short" system messages from INFO
1906 to WARNING, and fixed its insertion location.
1907 - Fixed enumerated list item parsing to allow paragraphs & section
1908 titles to begin with enumerators.
1909 - Converted system messages to use the new "line" attribute.
1910 - Fixed a substitution reference edge case.
1911 - Added support for "--pep-references" and "--rfc-references"
1912 options; reworked ``Inliner`` code to make customization easier.
1913 - Removed field argument parsing.
1914 - Added support for short section title over/underlines.
1915 - Fixed "simple reference name" regexp to ignore text like
1916 "object.__method__"; not an anonymous reference.
1917 - Added support for improved diagnostics.
1918 - Reworked directive API, based on Dethe Elza's contribution. Added
1919 ``Body.parse_directive()``, ``.parse_directive_options()``,
1920 ``.parse_directive_arguments()`` methods.
1921 - Added ``ExtensionOptions`` class, to parse directive options
1922 without parsing field bodies. Factored
1923 ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
1924 ``ExtensionOptions``.
1925 - Improved definition list term/classifier parsing.
1926 - Added warnings for unknown directives.
1927 - Renamed ``Stuff`` to ``Struct``.
1928 - Now flagged as errors: transitions at the beginning or end of
1929 sections, empty sections (except title), and empty documents.
1930 - Updated for ``statemachine.StringList``.
1931 - Enabled recognition of schemeless email addresses in targets.
1932 - Added support for embedded URIs in hyperlink references.
1933 - Added backslash-escapes to inline markup end-string suffix.
1934 - Added support for correct interpreted text processing.
1935 - Fixed nested title parsing (topic, sidebar directives).
1936 - Added special processing of backslash-escaped whitespace (idea
1937 from David Abrahams).
1938 - Made substitutions case-sensitive-but-forgiving; moved some code
1939 to ``docutils.nodes``.
1940 - Added support for block quote attributions.
1941 - Added a kludge to work-around a conflict between the bubble-up
1942 parser strategy and short titles (<= 3 char-long over- &
1943 underlines). Fixes SF bug #738803 "infinite loop with multiple
1944 titles" submitted by Jason Diamond.
1945 - Added explicit interpreted text roles for standard inline markup:
1946 "emphasis", "strong", "literal".
1947 - Implemented "superscript" and "subscript" interpreted text roles.
1948 - Added initial support for "abbreviation" and "acronym" roles;
1950 - Added support for "--trim-footnote-reference-space" option.
1951 - Optional space before colons in directives & hyperlink targets.
1953 * docutils/parsers/rst/tableparser.py:
1955 - Fixed a bug that was producing unwanted empty rows in "simple"
1957 - Detect bad column spans in "simple" tables.
1959 * docutils/parsers/rst/directives: Updated all directive functions to
1962 * docutils/parsers/rst/directives/__init__.py:
1964 - Added ``flag()``, ``unchanged()``, ``path()``,
1965 ``nonnegative_int()``, ``choice()``, and ``class_option()``
1966 directive option helper functions.
1967 - Added warnings for unknown directives.
1968 - Return ``None`` for missing directives.
1969 - Added ``register_directive()``, thanks to William Dode and Paul
1972 * docutils/parsers/rst/directives/admonitions.py:
1974 - Added "admonition" directive.
1976 * docutils/parsers/rst/directives/body.py: Added to project. Contains
1977 the "topic", "sidebar" (from Patrick O'Brien), "line-block",
1978 "parsed-literal", "rubric", "epigraph", "highlights" and
1979 "pull-quote" directives.
1981 * docutils/parsers/rst/directives/images.py:
1983 - Added an "align" attribute to the "image" & "figure" directives
1984 (by Adam Chodorowski).
1985 - Added "class" option to "image", and "figclass" to "figure".
1987 * docutils/parsers/rst/directives/misc.py:
1989 - Added "include", "raw", and "replace" directives, courtesy of
1991 - Added "unicode" and "class" directives.
1993 * docutils/parsers/rst/directives/parts.py:
1995 - Added the "sectnum" directive; by Dmitry Jemerov.
1996 - Added "class" option to "contents" directive.
1998 * docutils/parsers/rst/directives/references.py: Added to project.
1999 Contains the "target-notes" directive.
2001 * docutils/parsers/rst/languages/__init__.py:
2003 - Return ``None`` from get_language() for missing language modules.
2005 * docutils/parsers/rst/languages/de.py: Added to project; German
2006 mappings by Engelbert Gruber.
2008 * docutils/parsers/rst/languages/en.py:
2010 - Added interpreted text roles mapping.
2012 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2013 mappings by Marcelo Huerta San Martin.
2015 * docutils/parsers/rst/languages/fr.py: Added to project; French
2016 mappings by William Dode.
2018 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2019 mappings by Nicola Larosa.
2021 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2022 mappings by Miroslav Vasko.
2024 * docutils/readers/__init__.py:
2026 - Added support for the observer pattern from ``utils.Reporter``, in
2027 ``Reader.parse`` and ``Reader.transform``.
2028 - Removed ``Reader.transform()`` method.
2029 - Added default parameter values to ``Reader.__init__()`` to make
2030 instantiation easier.
2031 - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2033 * docutils/readers/pep.py:
2035 - Added the ``peps.TargetNotes`` transform to the Reader.
2036 - Removed PEP & RFC reference detection code; moved to
2037 parsers/rst/states.py as options (enabled here by default).
2038 - Added support for pre-acceptance PEPs (no PEP number yet).
2039 - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2042 * docutils/readers/python: Python Source Reader subpackage added to
2043 project, including preliminary versions of:
2046 - moduleparser.py: Parser for Python modules.
2048 * docutils/transforms/__init__.py:
2050 - Added ``Transformer`` class and completed transform reform.
2051 - Added unknown_reference_resolvers list for each transformer. This list holds
2052 the list of functions provided by each component of the transformer that
2053 help resolve references.
2055 * docutils/transforms/frontmatter.py:
2057 - Improved support for generic fields.
2058 - Fixed bibliographic field language lookups.
2060 * docutils/transforms/misc.py: Added to project. Miscellaneous
2063 * docutils/transforms/parts.py:
2065 - Moved the "id" attribute from TOC list items to the references
2066 (``Contents.build_contents()``).
2067 - Added the ``SectNum`` transform; by Dmitry Jemerov.
2068 - Added "class" attribute support to ``Contents``.
2070 * docutils/transforms/peps.py:
2072 - Added ``mask_email()`` function, updating to pep2html.py's
2074 - Linked "Content-Type: text/x-rst" to PEP 12.
2075 - Added the ``TargetNotes`` PEP-specific transform.
2076 - Added ``TargetNotes.cleanup_callback``.
2077 - Added title check to ``Headers``.
2079 * docutils/transforms/references.py:
2081 - Added the ``TargetNotes`` generic transform.
2082 - Split ``Hyperlinks`` into multiple transforms.
2083 - Fixed bug with multiply-indirect references (report: Bruce Smith).
2084 - Added check for circular indirect references.
2085 - Made substitutions case-sensitive-but-forgiving.
2087 * docutils/transforms/universal.py:
2089 - Added support for the "--expose-internal-attributes" option.
2090 - Removed ``Pending`` transform classes & data.
2092 * docutils/writers/__init__.py:
2094 - Removed ``Writer.transform()`` method.
2096 * docutils/writers/docutils-xml.py:
2098 - Added XML and doctype declarations.
2099 - Added "--no-doctype" and "--no-xml-declaration" options.
2101 * docutils/writers/html4css1.py:
2103 - "name" attributes only on these tags: a, applet, form, frame,
2105 - Added "name" attribute to <a> in section titles for Netscape 4
2106 support (bug report: Pearu Peterson).
2107 - Fixed targets (names) on footnote, citation, topic title,
2108 problematic, and system_message nodes (for Netscape 4).
2109 - Changed field names from "<td>" to "<th>".
2110 - Added "@" to "@" encoding to thwart address harvesters.
2111 - Improved the vertical whitespace optimization; ignore "invisible"
2112 nodes (targets, comments, etc.).
2113 - Improved inline literals with ``<span class="pre">`` around chunks
2114 of text and `` `` for runs of spaces.
2115 - Improved modularity of output; added ``self.body_pre_docinfo`` and
2116 ``self.docinfo`` segments.
2117 - Added support for "line_block", "address" elements.
2118 - Improved backlinks (footnotes & system_messages).
2119 - Improved system_message output.
2120 - Redefined "--stylesheet" as containing an invariant URL, used
2121 verbatim. Added "--stylesheet-path", interpreted w.r.t. the
2123 - Added "--footnote-references" option (superscript or brackets).
2124 - Added "--compact-lists" and "--no-compact-lists" options.
2125 - Added "--embed-stylesheet" and "--link-stylesheet" options;
2126 factored out ``HTMLTranslator.get_stylesheet_reference()``.
2127 - Improved field list rendering.
2128 - Added Docutils version to "generator" meta tag.
2129 - Fixed a bug with images; they must be inline, so wrapped in <p>.
2130 - Improved layout of <pre> HTML source.
2131 - Fixed attribute typo on <colspec>.
2132 - Refined XML prologue.
2133 - Support for no stylesheet.
2134 - Removed "interpreted" element support.
2135 - Added support for "title_reference", "sidebar", "attribution",
2136 "rubric", and generic "admonition" elements.
2137 - Added "--attribution" option.
2138 - Added support for "inline", "subscript", "superscript" elements.
2139 - Added initial support for "abbreviation" and "acronym";
2142 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2146 - Double quotes in literal blocks (special treatment for de/ngerman).
2147 - Added '--hyperlink-color' option ('0' turns off coloring of links).
2148 - Added "--attribution" option.
2149 - Right align attributions.
2151 * docutils/writers/pep_html.py:
2153 - Parameterized output encoding in PEP template.
2154 - Reworked substitutions from ``locals()`` into ``subs`` dict.
2155 - Redefined "--pep-stylesheet" as containing an invariant URL, used
2156 verbatim. Added "--pep-stylesheet-path", interpreted w.r.t. the
2158 - Added an override on the "--footnote-references" option.
2159 - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2160 - Added Docutils version to "generator" meta tag.
2161 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2165 - Added a "silent" setting for ``buildhtml.py``.
2166 - Added a "Getting Help" section.
2167 - Rearranged the structure.
2168 - Kept up to date, with new settings, command-line options etc.
2169 - Added section for ``rst2latex.py`` (Engelbert Gruber).
2170 - Converted settings table into a definition list.
2172 * docs/rst/quickstart.txt:
2174 - Added a table of contents.
2175 - Added feedback information.
2176 - Added mention of minimum section title underline lengths.
2177 - Removed the 4-character minimum for section title underlines.
2179 * docs/rst/quickref.html:
2181 - Added a "Getting Help" section.
2182 - Added a style to make section title backlinks more subtle.
2183 - Added mention of minimum section title underline lengths.
2184 - Removed the 4-character minimum for section title underlines.
2186 * extras: Directory added to project; contains third-party modules
2187 that Docutils depends on (optparse, textwrap, roman). These are
2188 only installed if they're not already present.
2190 * licenses: Directory added to project; contains copies of license
2191 files for non-public-domain files.
2195 - Changed the focus. It's about DTD elements: structural
2196 relationships, semantics, and external (public) attributes. Not
2197 about the element class library.
2198 - Moved some implementation-specific stuff into ``docutils.nodes``
2200 - Wrote descriptions of all common attributes and parameter
2201 entities. Filled in introductory material.
2202 - Working through the element descriptions: 55 down, 37 to go.
2203 - Removed "Representation of Horizontal Rules" to
2204 spec/rst/alternatives.txt.
2206 * spec/docutils.dtd:
2208 - Added "generated" inline element.
2209 - Added "line_block" body element.
2210 - Added "auto" attribute to "title".
2211 - Changed content models of "literal_block" and "doctest_block" to
2213 - Added ``%number;`` attribute type parameter entity.
2214 - Changed ``%structural.elements;`` to ``%section.elements``.
2215 - Updated attribute types; made more specific.
2216 - Added "address" bibliographic element.
2217 - Added "line" attribute to ``system_message`` element.
2218 - Removed "field_argument" element; "field_name" may contain
2219 multiple words and whitespace.
2220 - Changed public identifier to docutils.sf.net.
2221 - Removed "interpreted" element; added "title_reference",
2222 "abbreviation", "acronym".
2223 - Removed "refuri" attribute from "footnote_reference" and
2224 "citation_reference".
2225 - Added "sidebar", "rubric", "attribution", "admonition",
2226 "superscript", "subscript", and "inline" elements.
2228 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2230 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2232 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2234 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2237 * spec/transforms.txt: Added to project.
2239 * spec/howto: Added subdirectory, for developer how-to docs.
2241 * spec/howto/rst-directives.txt: Added to project. Original by Dethe
2242 Elza, edited & extended by David Goodger.
2244 * spec/howto/i18n.txt: Docutils Internationalization. Added to
2247 * spec/rst/alternatives.txt:
2249 - Added "Doctree Representation of Transitions" from
2251 - Updated "Inline External Targets" & closed the debate.
2252 - Added ideas for interpreted text syntax extensions.
2253 - Added "Nested Inline Markup" section.
2255 * spec/rst/directives.txt:
2257 - Added directives: "topic", "sectnum", "target-notes",
2258 "line-block", "parsed-literal", "include", "replace", "sidebar",
2259 "admonition", "rubric", "epigraph", "highlights", "unicode" and
2261 - Formalized descriptions of directive details.
2262 - Added an "align" attribute to the "image" & "figure" directives
2263 (by Adam Chodorowski).
2264 - Added "class" options to "topic", "sidebar", "line-block",
2265 "parsed-literal", "contents", and "image"; and "figclass" to
2268 * spec/rst/interpreted.txt: Added to project. Descriptions of
2269 interpreted text roles.
2271 * spec/rst/introduction.txt:
2273 - Added pointers to material for new users.
2275 * spec/rst/reStructuredText.txt:
2277 - Disambiguated comments (just add a newline after the "::").
2278 - Updated enumerated list description; added a discussion of the
2279 second-line validity checking.
2280 - Updated directive description.
2281 - Added a note redirecting newbies to the user docs.
2282 - Expanded description of inline markup start-strings in non-markup
2284 - Removed field arguments and made field lists a generic construct.
2285 - Removed the 4-character minimum for section title underlines.
2286 - Clarified term/classifier delimiter & inline markup ambiguity
2288 - Added "Embedded URIs".
2289 - Updated "Interpreted Text" section.
2290 - Added "Character-Level Inline Markup" section.
2292 * test: Continually adding & updating tests.
2294 - Moved test/test_rst/ to test/test_parsers/test_rst/.
2295 - Moved test/test_pep/ to test/test_readers/test_pep/.
2296 - Added test/test_readers/test_python/.
2297 - Added test/test_writers/ (Engelbert Gruber).
2301 - Made the ``locale.setlocale()`` calls in front ends
2304 * tools/buildhtml.py:
2306 - Added "--silent" option.
2307 - Fixed bug with absolute paths & "--config".
2308 - Updated for new I/O classes.
2309 - Added some exception handling.
2310 - Separated publishers' setting defaults; prevents interference.
2311 - Updated for new ``publish_file()`` convenience function.
2313 * tools/pep-html-template:
2315 - Allow for "--embed-stylesheet".
2316 - Added Docutils version to "generator" meta tag.
2317 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2318 - Conform to XHTML spec.
2320 * tools/pep2html.py:
2322 - Made ``argv`` a parameter to ``main()``.
2323 - Added support for "Content-Type:" header & arbitrary PEP formats.
2324 - Linked "Content-Type: text/plain" to PEP 9.
2325 - Files skipped (due to an error) are not pushed onto the server.
2326 - Updated for new I/O classes.
2327 - Added ``check_requirements()`` & ``pep_type_error()``.
2328 - Added some exception handling.
2329 - Updated for new ``publish_string()`` convenience function.
2330 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2332 * tools/quicktest.py:
2334 - Added "-V"/"--version" option.
2336 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2338 * tools/unicode2rstsubs.py: Added to project. Produces character
2339 entity files (reSructuredText substitutions) from the MathML master
2342 * tools/editors: Support code for editors, added to project. Contains
2343 ``emacs/restructuredtext.el``.
2345 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2347 - Added style for chunks of inline literals.
2348 - Removed margin for first child of table cells.
2349 - Right-aligned field list names.
2350 - Support for auto-numbered section titles in TOCs.
2351 - Increased the size of inline literals (<tt>) in titles.
2352 - Restored the light gray background for inline literals.
2353 - Added support for "line_block" elements.
2354 - Added style for "address" elements.
2355 - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2356 - Improved field list rendering.
2357 - Vertical whitespace improvements.
2358 - Removed "a.target" style.
2360 * tools/stylesheets/pep.css:
2362 - Fixed nested section margins.
2363 - Other changes parallel those of ``../default.css``.
2366 Release 0.2 (2002-07-31)
2367 ========================
2371 - The word "component" was being used ambiguously. From now on,
2372 "component" will be used to mean "Docutils component", as in Reader,
2373 Writer, Parser, or Transform. Portions of documents (Table of
2374 Contents, sections, etc.) will be called "document parts".
2375 - Did a grand renaming: a lot of ``verylongnames`` became
2376 ``very_long_names``.
2377 - Cleaned up imports: no more relative package imports or
2378 comma-separated lists of top-level modules.
2379 - Added support for an option values object which carries default
2380 settings and overrides (from command-line options and library use).
2381 - Added internal Unicode support, and support for both input and
2383 - Added support for the ``docutils.io.IO`` class & subclasses.
2387 * docutils/__init__.py:
2389 - Added ``ApplicationError`` and ``DataError``, for use throughout
2391 - Added ``Component`` base class for Docutils components; implements
2392 the ``supports`` method.
2393 - Added ``__version__`` (thus, ``docutils.__version__``).
2397 - Removed many keyword parameters to ``Publisher.__init__()`` and
2398 ``publish()``; bundled into an option values object. Added
2399 "argv", "usage", "description", and "option_spec" parameters for
2400 command-line support.
2401 - Added ``Publisher.process_command_line()`` and ``.set_options()``
2403 - Reworked I/O model for ``docutils.io`` wrappers.
2404 - Updated ``Publisher.set_options()``; now returns option values
2406 - Added support for configuration files (/etc/docutils.conf,
2407 ./docutils.conf, ~/.docutils).
2408 - Added ``Publisher.setup_option_parser()``.
2409 - Added default usage message and description.
2411 * docutils/frontend.py: Added to project; support for front-end
2412 (command-line) scripts. Option specifications may be augmented by
2413 components. Requires Optik (http://optik.sf.net/) for option
2414 processing (installed locally as docutils/optik.py).
2416 * docutils/io.py: Added to project; uniform API for a variety of input
2419 * docutils/nodes.py:
2421 - Added ``TreeCopyVisitor`` class.
2422 - Added a ``copy`` method to ``Node`` and subclasses.
2423 - Added a ``SkipDeparture`` exception for visitors.
2424 - Renamed ``TreePruningException`` from ``VisitorException``.
2425 - Added docstrings to ``TreePruningException``, subclasses, and
2427 - Improved docstrings.
2428 - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2429 - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2431 - Added ``decoration``, ``header``, and ``footer`` node classes, and
2432 ``PreDecorative`` mixin.
2433 - Reworked the name/id bookkeeping; to ``document``, removed
2434 ``explicit_targets`` and ``implicit_targets`` attributes, added
2435 ``nametypes`` attribute and ``set_name_id_map`` method.
2436 - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2438 - Added ``document.has_name()`` method.
2439 - Fixed DOM generation for list-attributes.
2440 - Added category class ``Labeled`` (used by footnotes & citations).
2441 - Added ``Element.set_class()`` method (sets "class" attribute).
2443 * docutils/optik.py: Added to project. Combined from the Optik
2444 package, with added option groups and other modifications. The use
2445 of this module is probably only temporary.
2447 * docutils/statemachine.py:
2449 - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2450 - Added underscores to improve many awkward names.
2451 - In ``string2lines()``, changed whitespace normalizing translation
2452 table to regexp; restores Python 2.0 compatibility with Unicode.
2454 * docutils/urischemes.py:
2456 - Filled in some descriptions.
2457 - Added "shttp" scheme.
2459 * docutils/utils.py:
2461 - Added ``clean_rcs_keywords`` function (moved from
2462 docutils/transforms/frontmatter.py
2463 ``DocInfo.filter_rcs_keywords``).
2464 - Added underscores to improve many awkward names.
2465 - Changed names of Reporter's thresholds:
2466 warning_level -> report_level; error_level -> halt_level.
2467 - Moved ``utils.id()`` to ``nodes.make_id()``.
2468 - Added ``relative_path(source, target)``.
2470 * docutils/languages/de.py: German mappings; added to project. Thanks
2471 to Gunnar Schwant for the translations.
2473 * docutils/languages/en.py: Added "Dedication" bibliographic field
2476 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2479 * docutils/parsers/rst/states.py:
2481 - Added underscores to improve many awkward names.
2482 - Added RFC-2822 header support.
2483 - Extracted the inline parsing code from ``RSTState`` to a separate
2484 class, ``Inliner``, which will allow easy subclassing.
2485 - Made local bindings for ``memo`` container & often-used contents
2486 (reduces code complexity a lot). See ``RSTState.runtime_init()``.
2487 - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2488 - Added ``MarkupMismatch`` exception; for late corrections.
2489 - Added ``-/:`` characters to inline markup's start string prefix,
2490 ``/`` to end string suffix.
2491 - Fixed a footnote bug.
2492 - Fixed a bug with literal blocks.
2493 - Applied patch from Simon Budig: simplified regexps with symbolic
2494 names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2495 - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2496 - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2497 - Allowed non-ASCII in "simple names" (directive names, field names,
2499 - Converted ``Inliner.patterns.initial`` to be dynamically built
2500 from parts with ``build_regexp()`` function.
2501 - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2502 - Updated docstrings.
2503 - Changed "table" to "grid_table"; added "simple_table" support.
2505 * docutils/parsers/rst/tableparser.py:
2507 - Changed ``TableParser`` to ``GridTableParser``.
2508 - Added ``SimpleTableParser``.
2509 - Refactored naming.
2511 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2512 a fallback language for directive names.
2514 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2515 directive to use a ``pending`` element, used only by HTML writers.
2517 * docutils/parsers/rst/directives/parts.py: Renamed from
2520 - Added "backlinks" attribute to "contents" directive.
2522 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2523 project by Adam Chodorowski.
2525 * docutils/readers/__init__.py: Gave Readers more control over
2526 choosing and instantiating Parsers.
2528 * docutils/readers/pep.py: Added to project; for PEP processing.
2530 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2531 requires a ``component`` parameter.
2533 * docutils/transforms/components.py: Added to project; transforms
2534 related to Docutils components.
2536 * docutils/transforms/frontmatter.py:
2538 - In ``DocInfo.extract_authors``, check for a single "author" in an
2539 "authors" group, and convert it to a single "author" element.
2540 - Added support for "Dedication" and generic bibliographic fields.
2542 * docutils/transforms/peps.py: Added to project; PEP-specific.
2544 * docutils/transforms/parts.py: Renamed from old components.py.
2546 - Added filter for `Contents`, to use alt-text for inline images,
2547 and to remove inline markup that doesn't make sense in the ToC.
2548 - Added "name" attribute to TOC topic depending on its title.
2549 - Added support for optional TOC backlinks.
2551 * docutils/transforms/references.py: Fixed indirect target resolution
2552 in ``Hyperlinks`` transform.
2554 * docutils/transforms/universal.py:
2556 - Changed ``Messages`` transform to properly filter out system
2557 messages below the warning threshold.
2558 - Added ``Decorations`` transform (support for ``--generator``,
2559 ``--date``, ``--time``, ``--source-link`` options).
2561 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2562 Engelbert Gruber's PDF writer.
2564 * docutils/writers/html4css1.py:
2566 - Made XHTML-compatible (switched to lowercase element & attribute
2567 names; empty tag format).
2568 - Escape double-dashes in comment text.
2569 - Improved boilerplate & modularity of output.
2570 - Exposed modular output in Writer class.
2571 - Added a "generator" meta tag to <head>.
2572 - Added support for the ``--stylesheet`` option.
2573 - Added support for ``decoration``, ``header``, and ``footer``
2575 - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2576 translation table to regexp; restores Python 2.0 compatibility
2578 - Added the translator class as instance variable to the Writer, to
2579 make it easily subclassable.
2580 - Improved option list spacing (thanks to Richard Jones).
2581 - Modified field list output.
2582 - Added backlinks to footnotes & citations.
2583 - Added percentage widths to "<col>" tags (from colspec).
2584 - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2585 "<span>" changed to "<var>".
2586 - Inline literals: "<code>" changed to "<tt>".
2587 - Many changes to optimize vertical space: compact simple lists etc.
2588 - Add a command-line options & directive attributes to control TOC
2589 and footnote/citation backlinks.
2590 - Added support for optional footnote/citation backlinks.
2591 - Added support for generic bibliographic fields.
2592 - Identify backrefs.
2593 - Relative URLs for stylesheet links.
2595 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2596 PEPs (subclass of ``html4css1.Writer``).
2598 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2600 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2601 of the Docutils internal doctree in XML.
2603 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2607 - Changed the title to "The Docutils Document Tree".
2608 - Added "Hyperlink Bookkeeping" section.
2610 * spec/docutils.dtd:
2612 - Added ``decoration``, ``header``, and ``footer`` elements.
2613 - Brought ``interpreted`` element in line with the parser: changed
2614 attribute "type" to "role", added "position".
2615 - Added support for generic bibliographic fields.
2617 * spec/notes.txt: Continual updates. Added "Project Policies".
2619 * spec/pep-0256.txt: Updated. Added "Roadmap to the Doctring PEPs"
2622 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2624 * spec/pep-0258.txt: Updated. Added text from pysource.txt and
2625 mailing list discussions.
2627 * spec/pep-0287.txt:
2629 - Renamed to "reStructuredText Docstring Format".
2631 - Reworked Q&A as an enumerated list.
2632 - Converted to reStructuredText format.
2634 * spec/pysource.dtd:
2636 - Reworked structural elements, incorporating ideas from Tony Ibbs.
2638 * spec/pysource.txt: Removed from project. Moved much of its contents
2641 * spec/rst/alternatives.txt:
2643 - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2644 - Added "Inline External Targets" section.
2646 * spec/rst/directives.txt:
2648 - Added "backlinks" attribute to "contents" directive.
2650 * spec/rst/problems.txt:
2652 - Updated the Enumerated List Markup discussion.
2653 - Added new alternative table markup syntaxes.
2655 * spec/rst/reStructuredText.txt:
2657 - Clarified field list usage.
2658 - Updated enumerated list description.
2659 - Clarified purpose of directives.
2660 - Added ``-/:`` characters to inline markup's start string prefix,
2661 ``/`` to end string suffix.
2662 - Updated "Authors" bibliographic field behavior.
2663 - Changed "inline hyperlink targets" to "inline internal targets".
2664 - Added "simple table" syntax to supplement the existing but
2665 newly-renamed "grid tables".
2666 - Added cautions for anonymous hyperlink use.
2667 - Added "Dedication" and generic bibliographic fields.
2669 * test: Made test modules standalone (subdirectories became packages).
2671 * test/DocutilsTestSupport.py:
2673 - Added support for PEP extensions to reStructuredText.
2674 - Added support for simple tables.
2675 - Refactored naming.
2677 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2679 - Now supports true packages containing test modules
2680 (``__init__.py`` files required); fixes duplicate module name bug.
2682 * test/test_pep/: Subpackage added to project; PEP testing.
2684 * test/test_rst/test_SimpleTableParser.py: Added to project.
2688 - Updated html.py and publish.py front-end tools to use the new
2689 command-line processing facilities of ``docutils.frontend``
2690 (exposed in ``docutils.core.Publisher``), reducing each to just a
2692 - Added ``locale.setlocale()`` calls to front-end tools.
2694 * tools/buildhtml.py: Added to project; batch-generates .html from all
2695 the .txt files in directories and subdirectories.
2697 * tools/default.css:
2699 - Added support for ``header`` and ``footer`` elements.
2700 - Added styles for "Dedication" topics (biblio fields).
2702 * tools/docutils.conf: A configuration file; added to project.
2704 * tools/docutils-xml.py: Added to project.
2706 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2708 * tools/pep-html-template: Added to project.
2710 * tools/pep2html.py: Added to project from Python (nondist/peps).
2711 Added support for Docutils (reStructuredText PEPs).
2713 * tools/quicktest.py:
2715 - Added the ``--attributes`` option, hacked a bit.
2716 - Added a second command-line argument (output file); cleaned up.
2718 * tools/stylesheets/: Subdirectory added to project.
2720 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2723 Release 0.1 (2002-04-20)
2724 ========================
2726 This is the first release of Docutils, merged from the now inactive
2727 reStructuredText__ and `Docstring Processing System`__ projects. For
2728 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2729 `DPS HISTORY`__ files.
2731 __ http://structuredtext.sourceforge.net/
2732 __ http://docstring.sourceforge.net/
2733 __ http://structuredtext.sourceforge.net/HISTORY.html
2734 __ http://docstring.sourceforge.net/HISTORY.html
2736 General changes: renamed 'dps' package to 'docutils'; renamed
2737 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2738 the test suites (reStructuredText's test/test_states renamed to
2739 test/test_rst); and all modifications required to make it all work.
2741 * docutils/parsers/rst/states.py:
2743 - Improved diagnostic system messages for missing blank lines.
2744 - Fixed substitution_reference bug.
2750 indent-tabs-mode: nil
2751 sentence-end-double-space: t