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.
19 * docutils/parsers/rst/directives/misc.py
21 - Fix [ 3525847 ] UnicodeEncodeError with locale == C and 8-bit char
22 in path argument of `include` directive.
24 Release 0.9 (2012-05-02)
25 ========================
29 - New reStructuredText "code" role and directive and "code" option
30 of the "include" directive with syntax highlighting by Pygments_.
31 - Fix parse_option_marker for option arguments containing ``=``.
32 - Fix [ 2993756 ]: import Python Imaging Library's Image module
33 via ``import PIL`` as starting with PIL 1.2,
34 "PIL lives in the PIL namespace only" (announcement__).
36 .. _Pygments: http://pygments.org/
37 __ http://mail.python.org/pipermail/image-sig/2011-January/006650.html
41 - Fix [ 2971827 ] and [ 3442827 ]
42 extras/roman.py moved to docutils/utils/roman.py
44 * docutils/frontend.py
46 - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
50 - Fix [ 3395948 ] (Work around encoding problems in Py3k).
51 - `mode` argument for FileOutput avoids code replication in
53 - New exceptions InputError and OutputError for IO errors in
58 - No "hard" system exit on file IO errors: catch and report them in
59 `Publisher.reportException` instead. Allows handling by a calling
60 application if the configuration setting `traceback` is True.
62 * docutils/utils.py -> docutils/utils/__init__.py
64 - docutils.utils is now a package (providing a place for sub-modules)
66 .. note:: docutils/math, docutils/error_reporting.py, and
67 docutils/urischemes.py will move to the utils package in the next
68 release, too. See RELEASE-NOTES__
72 - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
73 errors recording non-ASCII filenames (fixes [ 3434355 ]).
75 - Fix relative_path() with source=None and `unicode` target.
77 * docutils/parsers/rst/states.py
79 - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
80 characters and "international" quotes around inline markup.
81 - Use `field_marker` pattern to look for start of a
82 directive option block (fixes [ 3484857 ]).
84 * docutils/parsers/rst/tableparser.py
86 - Fix [ 2926161 ] for simple tables.
87 (Combining chars in grid tables still contribute to cell width.)
89 * docutils/writers/latex2e/__init__.py
91 - Support the `abbreviation` and `acronym` standard roles.
92 - Record only files required to generate the LaTeX source as dependencies.
93 - Fix handling of missing stylesheets.
94 - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
95 when suppressing LaTeX section numbering.
96 - Use ``\DUtitle`` for unsupported section levels
97 - Apply [ 3512791 ] do not compare string literals with "is"
99 * docutils/writers/xetex/__init__.py
101 - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
103 * docutils/writers/html4css1/__init__.py
105 - Change default for `math-output` setting to MathJax.
106 - Fix handling of missing stylesheets.
108 * docutils/writers/docutils_xml.py
110 - Use the visitor pattern with default_visit()/default_depart() methods
111 instead of minidom to facilitate special handling of selected nodes.
112 - Support raw XML (inserted as-is inside a <raw></raw> node).
114 * docutils/writers/manpage.py
116 - Do not emit comment line with trailing blank. Problematic for VCS.
118 Release 0.8.1 (2011-08-30)
119 ==========================
123 - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
124 and [ 3395920 ] (correct copyright info for rst.el).
128 - Apply [ 3303733 ] and [ 3365041 ] to fix tests under py3k.
130 * docutils/writers/latex2e/__init__.py
132 - Clean up Babel language setting. Restores Sphinx compatibility.
134 Release 0.8 (2011-07-07)
135 ========================
139 - Handle language codes according to `BCP 47`_.
140 - If the specified language is not supported by Docutils,
141 warn and fall back to English.
142 - Math support: reStructuredText "math" role and directive,
143 ``math`` and ``math_block`` doctree elements.
144 - Decode command line arguments with the locale's preferred encoding
145 (to allow, e.g., ``--title=Dornröschen``).
146 - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
147 - New sub-module `error_reporting`: handle encoding/decoding errors
148 when reporting exceptions.
149 - Some additions to the Docutils core are released under the 2-Clause BSD
150 license, see COPYING_ for details.
152 .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
153 .. _COPYING: COPYING.html
157 - Most directives now support a "name" option that attaches a
160 - Directive content may start on the first line also when the directive
161 type accepts options.
163 * docs/dev/policies.txt:
165 - Recommend the 2-Clause BSD license
166 (http://www.spdx.org/licenses/BSD-2-Clause)
167 for code that is kept under the author's copyright.
169 * tools/buildhtml.py:
171 - Fix ``--local`` switch.
173 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
175 * docutils/writers/html4css1/__init__.py
177 - Set "lang" argument for objects with class argument
178 "language-<language tag>".
179 - New setting "math-output" with support for HTML, MathML, and LaTeX.
181 * docutils/writers/latex2e/__init__.py
183 - Fix [ 3043986 ] AttributeError using :local: with table of content.
184 - Place title data in the document preamble.
185 - Load `babel` package only if required.
186 - Update list of supported languages.
187 - New config setting "hyperref-options".
188 No hard-coded "unicode" hyperref option (clash with xetex).
189 - Set language for custom roles, paragraphs, block-quotes, and
190 line-quotes with class argument "language-<language tag>".
191 - Fix [ 3095603 ] wrong quotes output for russian and other languages.
192 - Convert image URI to a local file path.
193 - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
194 has more than one paragraph (Wolfgang Scherer).
195 - \leavevmode before longtable only when needed (prevents spurious vspace)
196 - do not advance table counter for tables without caption
198 * docutils/writers/xetex/__init__.py
200 - New writer generating LaTeX code for compiling with ``xelatex``.
202 A separate writer (inheriting from latex2e) instead of a ``--xetex``
203 option allows separate config options for XeTeX vs. LaTeX2e.
205 * docutils/writers/manpage.py
207 - Fix: BUG#3219183 - vertical space in definition lists containing markup.
208 - Fix: vertical space cleaning for option group ``.``.
210 * tools/editors/emacs/rst.el:
212 - Fix [ 3001100 ] does not handle spaces in filenames
213 (thanks to Jakub Wilk)
217 - strip whitespace from stylesheet arguments
218 - exclude combining chars from column_width()
219 (partial fix for [ 2926161 ])
221 * docutils/parsers/rst/directives/misc.py:
223 - Fix [ 1830389 ] Replace not breaking on getting system_messages from
228 - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
229 ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
231 Release 0.7 (2010-07-07)
232 ========================
236 - Fix [ 2881769 ] setup configuration.
237 - Fix [ 2788716 ] reporting problems in included files.
241 - FileInput opens files as text files with universal newline support
242 (mode "rU", configurable with the new optional argument "mode").
246 - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
250 - Fix [ 2923723 ] let decode_path() tolerate path == None
252 * docutils/writers/html4css1/__init__.py
254 - Support SVG and SWF images (thanks to Stefan Rank).
255 - Generate valid XHTML for centered images with targets.
256 Use CSS classes instead of "align" tags for image alignment.
258 * docutils/writers/latex2e/__init__.py
260 - Use `transforms.writer_aux.Admonitions` to "normalize" special
262 - Use the ``\url`` command for URLs (breaks long URLs instead of
263 writing into the margin).
264 - Preserve runs of spaces in `inline literals`__.
265 - Deprecate ``figure_footnotes`` setting.
266 - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
267 - New ``latex_preamble`` setting.
268 - Use PDF standard fonts (Times/Helvetica/Courier) as default.
269 - Fix hyperlink targets (labels) for images, figures, and tables.
270 - Apply [ 2961988 ] Load babel after inputenc and fontenc.
271 - Apply [ 2961991 ] Call hyperref with unicode option.
272 - Drop the special `output_encoding`__ default ("latin-1").
273 The Docutils wide default (usually "UTF-8") is used instead.
274 - Render inline markup in document title and subtitle.
275 - Fix numbering depth with LaTeX section numbering.
276 - Update Unicode -> LaTeX translations.
277 - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
279 __ docs/ref/restructuredtext.html#inline-literals
280 __ docs/user/config.html#docutils-footnotes
281 __ docs/user/config.html#output_encoding
283 * docutils/writers/manpage.py
285 - Fix: supported attribute (thanks to peter2108).
286 - Remove trailing blanks in code (keep in sync with mercurial version).
287 - Titles level 1, that is ``.SH``, always uppercase.
288 - Apply patch from mg: literal text should be bold in man-pages.
292 - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
297 - Python 3 support: copy test/ and tools/ to the build-dir
298 and convert Python sources with 2to3.
301 Release 0.6 (2009-10-11)
302 ========================
306 - Docutils is now compatible with Python versions from 2.3 up to 2.6
307 and convertible to 3.1 code.
309 + Node.__nonzero__ returns True instead of 1.
310 + use os.walk instead os.path.walk.
311 + minimize "types" module where possible.
312 + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
313 + Text nodes now subclass unicode rather than UserString
314 (which is gone in python 3.0).
315 + 3.0 compatibility module docutils._compat
317 + Drop 2.2 compatibility workarounds.
318 + Drop extras/optparse.py and extras/textwrap.py
319 (stdlib modules since 2.3).
321 - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
322 - Unix man page export: manpage writer moved from sandbox to Doctutils
325 - Apply [ 1719345 ] Galician translation
326 - Apply [ 1905741 ] Polish translation
327 - Apply [ 1878977 ] make_id(): deaccent characters.
328 - Apply [ 2029251 ] return nonzero when tests fail.
329 - Fix [ 1692788 ] allow UTF-8 in style sheets.
330 - Fix [ 2781629 ] support non-ASCII chars in file names.
331 - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
332 - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
333 - Fix [ 2821266 ] --strict option works now like --halt=info.
334 - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
335 - Fix [ 1627229 ] hyperlink references in substitutions.
337 - The "newlatex" writer is orphaned.
341 - Documented Unicode characters allowed as inline markup openers,
342 closers, and delimiters.
343 - Allow units for all length specifications.
344 - Allow percent sign in "scale" argument of "figure" and "image" directives.
345 - Bugfix: The "figalign" argument of a figure now works as intended
346 (aligning the figure, not its contents).
347 - Align images with class "align-[right|center|left]"
348 (allows setting the alignment of an image in a figure).
352 - Added ``Element.__contains__`` method, for the in-operator.
354 * docutils/parsers/rst/states.py:
356 - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
357 - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
358 " " (non-breaking space), and "¡ ¿" openers.
360 * docutils/parsers/directives/misc.py:
362 - Added ``start-line`` and ``end-line`` options to "include"
363 directive to select a range of lines.
364 - Hard tabs in literal inclusions are replaced by spaces. This is
365 configurable via the new ``tab-width`` option of the "include" directive
366 (a negative tab-width prevents tab expansion).
370 - Add ``get_stylesheet_list`` function.
371 - Apply [ 2834836 ] print info at halt
373 * docutils/transforms/universal.py:
375 - Raise default priority of StripClasses to exclude stripped classes from
378 * docutils/writers/html4css1/__init__.py:
380 - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
381 separated list of stylesheets.
382 - Address [ 1938891 ] Inline literal text creates "pre" span only when
383 needed to prevent inter-word line wraps.
384 - Use `translate` method instead of repeated `replace` calls.
385 - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
386 classes to allow CSS styling that does not interfere with other
387 table-using constructs (field lists, citations, ...).
389 * docutils/writers/newlatex2e/__init__.py:
391 - Apply [ 1612821 ] Double quotes in literal text in Italian/German
393 * docutils/writers/latex2e/__init__.py (see also
394 `<docs/user/docutils-05-compat.sty.html>`__) :
396 - Add ``--embed-stylesheet`` option.
397 - Apply [ 1474017 ] image vertical alignment is reversed.
398 - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
399 - Change: has_key for dictionaries (not Nodes) to in-operator.
400 - Merge adjacent citations into one latex cite command.
401 - Failsave implementation of custom roles. LaTeX compilation now ignores
402 unknown classes instead of aborting with an error.
403 - Support custom roles based on standard roles.
404 - LaTeX packages can be used as ``--stylesheet`` arguments without
405 restriction. (A style sheet is now referenced with the ``\usepackage``
406 command, if it ends with ``.sty`` or has no extension.)
407 - Add ``bp`` to lenghts without unit (prevents LaTex errors).
408 - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
409 - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
410 2005-02-04 as a configurable length unit).
411 - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
412 if font-encoding is set to ''. LaTeX defaults to OT1 then.
413 - Set sub- and superscript role argument in text mode not as math.
414 Use a custom role based on sub-/superscript if you want italic shape.
415 - Shorter preamble and less dependencies: Load packages and define macros
416 only if required in the document.
417 - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
418 - New custom environments and commands with optional "classes" argument.
419 - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
420 - Better conformance to Docutils specifications with ``--use-latex-toc``.
421 Support for LaTeX generated ToC also with unnumbered sections.
422 - If 'sectnum_xform' is False, the 'sectnum' directive triggers
423 section numbering by LaTeX.
424 - Use default font in admonitions and sidebar.
425 - Align of image in a figure defaults to 'center'.
426 - Bugfix: Newlines around targets and references prevent run-together
428 - Fix internal hyperlinks.
429 - Use class defaults for page margins ('typearea' now optional).
430 - Float placement made configurable, default changed to "here definitely".
431 - Typeset generic topic as "quote block with title".
432 - Use template (file and configuration option).
433 - In the default template, load cmap.sty (fix text extraction in PDF) and
434 fixltx2e.sty (LaTeX patches, \textsubscript).
435 - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
436 - Use `translate` instead of repeated `replace` calls for text encoding.
437 - Hyperlinked footnotes and support for symbol footnotes and
438 ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
439 - Complete pairs of binary options
440 (``--figure-footnotes, --figure-citations, --link-stylesheet``,
441 ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
443 - font-encoding: "T1" (formerly implicitely set by 'ae').
444 - use-latex-toc: true (ToC with page numbers).
445 - use-latex-footnotes: true (no mixup with figures).
447 * docutils/writers/manpage.py
449 - Do not print version at document end, this is done by the viewer.
450 - Do not print date at document end, this is done by the viewer.
451 - Fix storage of docinfo fields for none standard fields.
453 * docutils/tools/rst2man.py
455 Release 0.5 (2008-06-25)
456 ========================
458 * docutils/languages/he.py: Added to project: Hebrew mappings by
461 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
462 mappings by Meir Kriheli.
464 * docutils/frontend.py:
466 - Configuration files are now assumed and required to be
468 - Paths of applied configuration files are now recorded in the
469 runtime setting ``_config_files`` (accessible via
470 ``--dump-settings``).
471 - Added ``--strip-elements-with-class`` and ``--strip-class``
472 options (``strip_elements_with_classes`` and ``strip_classes``
477 - Added code to determine the input encoding from data: encoding
478 declarations or the presence of byte order marks (UTF-8 & UTF-16).
479 - Added support for IronPython 1.0.
483 - Added ``document.__getstate__`` method, for pickling.
485 * docutils/parsers/rst/states.py:
487 - Allow ``+`` and ``:`` in reference names.
488 - Unquoted targets beginning with an underscore (``.. __target:
489 URI``) are no longer accepted.
490 - Added support for multiple attributions in a physical block quote
491 (indented text block), dividing it into multiple logical block
493 - Added support for unicode bullets in bullet lists: "•", "‣", and
495 - Added support for new object-oriented directive interface,
496 retaining compatibility to the old functional interface.
497 - Added support for throwing ``DirectiveError``'s from within
500 * docutils/parsers/rst/__init__.py:
502 - Added ``Directive`` base class.
503 - Added ``DirectiveError`` base class.
504 - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
507 * docutils/parsers/directives/:
509 - Refactored all reStructuredText directives to use the new
510 object-oriented directive interface. Errors are now (mostly)
511 thrown using the new ``DirectiveError`` class.
513 * docutils/parsers/directives/misc.py:
515 - Added ``start-after`` and ``end-before`` options to ``include``
516 directive; thanks to Stefan Rank.
518 * docutils/transforms/universal.py:
520 - Added ``StripClassesAndElements`` transform to remove from the
521 document tree all elements with classes in
522 ``settings.strip_elements_with_classes`` and all "classes"
523 attribute values in ``self.document.settings.strip_classes``.
525 * docutils/transforms/writer_aux.py:
527 - Added ``Admonitions`` transform to transform specific admonitions
528 (like ``note``, ``warning``, etc.) into generic admonitions with a
531 * docutils/writers/html4css1/__init__.py:
533 - Moved template functionality from the PEP/HTML writer here.
534 - Expanded the fragments available in the ``parts`` attribute.
535 - Moved ``id`` attributes from titles to surrounding ``div``
537 - Dropped all ``name`` attributes of ``a`` elements (``id`` is
538 universally supported now).
539 - ``template.txt`` is now opened in text mode instead of binary mode
540 (to ensure Windows compatibility).
541 - ``a`` elements now have an "internal" or "external" class,
542 depending on reference type.
544 * docutils/writers/html4css1/template.txt: Added to project.
546 * docutils/writers/pep_html/:
548 - Moved template functionality to the HTML writer.
550 * docutils/writers/s5_html/__init__.py:
552 - Added ``view_mode`` & ``hidden_controls`` settings
553 (``--view-mode`` & ``--hidden-controls/--visible-controls``
556 * docutils/writers/latex2e/__init__.py:
558 - Add ``--literal-block-env``
559 - Fix: escaping ``%`` in href urls.
560 - Move usepackage hyperref after stylesheet inclusion.
561 - Fix: scrartcl does not have chapter but scrreprt.
562 - Add newline after ``\end{verbatim}``.
563 - Merge smaller differences from latex2e_adaptive_preamble.
564 - Add ``use-part-section``.
565 - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
566 - Using leavemode option_list no longer needs to check if parent
567 is a definition list.
568 - Append ``\leavemode`` to definition list terms.
569 - No longer write visit\_/depart_definition_list_item comments to
571 - Table column width with 3 decimal places.
572 - Add table stubs support (boldfont).
573 - Add assemble_parts to writer.
574 - Add simply support for nested tables.
575 - Fix verbatim in tables if use-verbatim-when-possible.
576 - Use section commands down to subparagraph.
577 - Put ensuremath around some latin1 chars.
578 - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
579 - New option ``--use-bibtex=style,db1,db2``.
580 - New option ``--reference-label`` to allow usage of LaTeX ref for
581 labels in section references.
582 - Add a label after every section to support sectionnumbers as reference
584 - Fix: bug# 1605376 rst2latex: bad options group list
585 - Remove inactive code for use_optionlist_for_option_list.
586 - Remove latex comments from option_list output.
587 - Fix: bug# 1612270 double qoutes in italian literal.
588 - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
589 - Add option --use-latex-abstract.
590 - Image width unit ``px`` is translated to ``pt``.
591 - Add image height support.
592 - Fix: image width ``70%`` is converted ``0.700\linewidth``.
594 - Fix: Do not escape underscores in citation reference labels if
595 use-latex-citations is set.
596 - Use centering instead of center for figure contents, to avoid vertical
598 - Recognize table class: borderless, nolines, booktabs, standard.
599 - Fix: Renaming contents section does not work with latex writer; SF
601 - Applied patch for custom roles with classes from Edward Loper.
602 - Fixed bug that caused crashes with more than 256 lists.
604 * docutils/writers/pep_html/__init__.py:
606 - Changed to support new python.org website structure and
609 * docs/howto/security.txt: "Deploying Docutils Securely", added to
612 * tools/buildhtml.py:
614 -- Added ``ignore`` setting to exclude a list of shell patterns
615 (default: ``.svn:CVS``).
617 * tools/editors/emacs/rst.el:
619 - Changed license to "GPL".
620 - Added ``rst-straighten-decorations`` function.
621 - The ``compile`` module is now always loaded.
622 - Added ``rst-toggle-line-block`` function.
623 - Headings consisting only of non-ASCII characters are now
624 recognized by ``rst-toc`` and ``rst-adjust``.
625 - Added font-lock support for multi-line comments where the first
626 comment line is empty.
627 - Added ``(require 'font-lock)``.
631 - Provide descriptive error message if distutils is missing.
634 Release 0.4 (2006-01-09)
635 ========================
639 - Updated the project policies for trunk/branch development &
642 * docutils/__init__.py:
644 - Added ``__version_details__`` attribute to describe code source
645 (repository/snapshot/release).
646 - Replaced ``default_transforms`` attribute of TransformSpec with
647 ``get_transforms()`` method.
651 - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
652 functions, for document tree extraction and reprocessing.
656 - Added ``DocTreeInput`` class, for reprocessing existing documents.
657 - Added support for non-Unicode (e.g. binary) writer output.
661 - Re-introduced ``Targetable.indirect_reference_name``, for
662 MoinMoin/reST compatibility (removed in r3124/r3129).
663 - Added ``serial_escape`` function; escapes string values that are
664 elements of a list, for serialization. Modified Docutils-XML
665 writing (``Element._dom_node``) and pseudo-XML writing
666 (``Element.starttag``) to use ``serial_escape``.
667 - Added ``Node.deepcopy()`` method.
668 - Removed the internal lists ``document.substitution_refs``,
669 ``document.anonymous_refs``, and ``document.anonymous_targets``.
670 - Added a "container" element.
671 - Fixed bug where values of list-valued attributes of elements
672 originating from custom interpreted text roles (i.e., with custom
673 classes) were being shared between element instances. Reported by
676 * docutils/statemachine.py:
678 - Added trailing whitespace stripping to ``string2lines()``.
679 - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
680 Asian double-width character support.
684 - Added ``east_asian_column_width()`` for double-width character
687 * docutils/languages/ja.py: Added to project: Japanese mappings by
690 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
691 mappings by Panjunyong.
693 * docutils/parsers/null.py: Added to project; a do-nothing parser.
695 * docutils/parsers/rst/__init__.py:
697 - Added validator to tab_width setting, with test. Closes SF bug
698 #1212515, report from Wu Wei.
700 * docutils/parsers/rst/states.py:
702 - Fixed bug with escaped colons indicating a literal block.
703 - Fixed bug with enumerated lists (SF#1254145).
704 - Backslash-escaped colons inside of field names are now allowed.
705 - Targets (implicit and explicit), anonymous hyperlink references
706 and auto-numbered footnote references inside of substitution
707 definitions are now disallowed.
708 - Fixed bug: list items with blank first lines.
709 - Fixed bug: block quote attributions with indented second lines.
710 - Added East Asian double-width character support (Python 2.4 only).
712 * docutils/parsers/rst/tableparser.py:
714 - Added East Asian double-width character support (Python 2.4 only).
716 * docutils/parsers/rst/directives/body.py:
718 - Added the "container" directive.
720 * docutils/parsers/rst/directives/misc.py:
722 - Added the "default-role", "title", and "date" directives.
723 - Added standard data file syntax to the "include" directive.
724 - Added support for "class" directive content.
726 * docutils/parsers/rst/directives/images.py:
728 - Added ``indirect_reference_name`` support for images with a target
730 - Added support for image width and height units.
731 - Fixed bug with image "target" options.
733 * docutils/parsers/rst/directives/references.py:
735 - Added "class" attribute to "target-notes" directive, for
736 footnote_reference classes.
738 * docutils/parsers/rst/include/: Directory added to project; contains
739 standard data files for the "include" directive. Initial contents:
740 character entity substitution definition sets, and a set of
741 definitions for S5/HTML presentations.
743 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
744 mappings by David Goodger.
746 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
747 Simplified Chinese mappings by Panjunyong.
749 * docutils/readers/__init__.py:
751 - Added universal.Decorations and universal.ExposeInternals
752 transforms as default transforms for all readers.
753 - Added ``ReReader`` base class for readers that reread an existing
756 * docutils/readers/doctree.py: Added to project; a reader for existing
759 * docutils/transforms/frontmatter.py:
761 - Fixed the DocInfo transform to handle SVN-style expansion of the
763 - In ``DocInfo.extract_authors``, treat the contents of "authors"
766 * docutils/transforms/misc.py:
768 - Added misc.Transitions transform, extracted from
769 universal.FinalChecks.
771 * docutils/transforms/references.py:
773 - Added references.DanglingReferences transform, extracted from
774 universal.FinalChecks.
775 - Fixed bug with doubly-indirect substitutions.
776 - Added footnote_reference classes attribute to "TargetNotes".
777 - Fixed bug with circular substitution definitions that put Docutils
778 into an infinite loop.
780 * docutils/transforms/universal.py:
782 - Added universal.ExposeInternals transform, extracted from
783 universal.FinalChecks.
784 - Removed universal.FinalChecks transform (logic has been moved to
785 several new transforms).
786 - Fixed bug with the "expose_internals" setting and Text nodes
787 (exposed by the "rawsource" internal attribute).
788 - Added the universal.StripComments transform, implementation of the
789 "strip_comments" setting.
791 * docutils/transforms/writer_aux.py: Added to project; auxiliary
792 transforms for writers.
794 - Added ``Compound`` transform, which flattens compound paragraphs.
796 * docutils/writers/: Several writer modules (html4css1.py) were
797 converted into packages. Support modules and data files have been
798 moved into the packages. The stylesheets for the HTML writers are
799 now installed along with the code, the code knows where to find
800 them, and the default is to use them (actually, to embed them).
801 Some adjustments to configuration files may be necessary. The
802 easiest way to obtain the new default behavior is to remove all
803 settings whose name includes "stylesheet".
805 * docutils/writers/__init__.py:
807 - Added universal.Messages and universal.FilterMessages transforms
808 as default transforms for all writers.
809 - Added ``UnfilteredWriter`` base class for writers that pass the
810 document tree on unchanged.
812 * docutils/writers/docutils_xml.py:
814 - Made ``xmlcharrefreplace`` the default output encoding error
817 * docutils/writers/html4css1/:
819 - Added support for image width and height units.
820 - Made ``xmlcharrefreplace`` the default output encoding error
822 - Made ``--embed-stylesheet`` the default rather than
823 ``--link-stylesheet``.
824 - Moved "id" attribute from container (section etc.) to title's <a>
825 tag, to be on the same tag as "name".
826 (!!! To be reverted in Docutils 0.5.)
827 - Added vertical space between fields of field lists.
828 - Added ``--compact-field-lists`` option to remove vertical space in
830 - Made cloaking of email addresses with ``--cloak-email-addresses``
832 - Fixed support for centered images.
833 - Added support for class="compact" & class="open" lists.
835 * docutils/writers/latex2e/:
837 - Underscores in citekeys are no longer escaped.
839 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
840 mapping of Unicode characters to LaTeX equivalents.
842 * docutils/writers/s5_html/: Package added to project; writer for
845 * docs/dev/distributing.txt: Added to project; guide for distributors
846 (package maintainers).
848 * docs/dev/hacking.txt: Added to project; guide for developers.
850 * docs/ref/doctree.txt:
852 - Updated for plural attributes "classes", "ids", "names",
854 - Added the "container" element.
856 * docs/ref/docutils.dtd:
858 - Updated for plural attributes "classes", "ids", "names",
861 * docs/user/emacs.txt: Added to project; a document about Emacs
862 support for reStructuredText and Docutils.
864 * docs/user/links.txt: Added to project; lists of Docutils-related
867 * docs/user/mailing-lists.txt: Added to project; information about
868 Docutils-related mailing lists and how to access them.
870 * docs/user/slide-shows.txt: Added to project; example of and docs for
871 the S5/HTML writer (``rst2s5.py`` front end).
873 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
874 Files", added to project.
876 * test/coverage.sh: Added to project; test coverage script.
878 * test/DocutilsTestSupport.py:
880 - Added support for specifying runtime settings at the suite level.
882 * test/test_functional.py:
884 - Added the ``clear_output_directory`` function.
885 - Added support for ``_test_more`` functions in functional test
888 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
890 * tools/rstpep2html.py: Renamed from pep.py.
892 * tools/dev/create_unimap.py: Added to project; script to create the
893 docutils/writers/unimap_latex.py mapping file.
895 * tools/dev/profile_docutils.py: Added to project; profiler script.
897 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
899 * tools/editors/emacs/restructuredtext.el,
900 tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
901 Removed from project; the functionality is now contained in rst.el.
903 * tools/editors/emacs/rst.el: Added to project. Added many features
904 and fixed many bugs. See docs/user/emacs.txt for details.
906 * tools/stylesheets: Removed from project. Stylesheets have been
907 renamed and moved into writer packages.
910 Release 0.3.9 (2005-05-26)
911 ==========================
915 - Eliminated and replaced all uses of the old string attributes
916 ``id``, ``name``, ``dupname`` and ``class`` with references to the
917 new list attributes ``ids``, ``names``, ``dupnames`` and
918 ``classes`` throughout the whole source tree.
922 - Enabled ``--dump-*`` options when ``--traceback`` specified,
923 allowing for easier debugging.
924 - In ``Publisher.publish()``, expanded the generic top-level
927 * docutils/examples.py:
929 - Added ``internals`` function for exploration.
933 - Fixed ``Input.decode`` method to apply heuristics only if no
934 encoding is explicitly given, and to provide better reporting of
936 - The ``Input.decode`` method now removes byte order marks (BOMs)
941 - ``image`` element class changed to subclass of Element, not
942 TextElement (it's an empty element, and cannot contain text).
943 - Added ``attr_defaults`` dictionary for default attribute values.
944 - Added empty list as default value for the following attributes:
945 ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
946 - Added ``document.decoration`` attribute,
947 ``document.get_decoration`` method, and ``decoration.get_header``
948 & ``.get_footer`` methods.
949 - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
954 - Removed ``docutils.utils.Reporter.categories``,
955 ``docutils.utils.ConditionSet``, and all references to them, to
956 simplify error reporting.
958 * docutils/languages/nl.py: Added to project; Dutch mappings by
961 * docutils/parsers/rst/__init__.py:
963 - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
965 * docutils/parsers/rst/states.py:
967 - Added check for escaped at-mark to prevent email address recognition.
968 - Fixed option lists to allow spaces inside ``<angle-bracketed option
970 - Allowed whitespace in paths and URLs.
971 - Added auto-enumerated list items.
972 - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
974 - Added support for table stub columns.
976 * docutils/parsers/rst/directives/__init__.py:
978 - Allowed whitespace in paths (``path`` function).
979 - Added ``uri`` directive option conversion function.
981 * docutils/parsers/rst/directives/body.py:
983 - Fixed illegal context bug with "topic" directive (allowed within
984 sidebars; not within body elements).
986 * docutils/parsers/rst/directives/images.py:
988 - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
989 - Added support for the ``file_insertion_enabled`` setting in the
990 "figure" directive (disables "figwidth" option).
991 - "image" directive: added checks for valid values of "align" option,
992 depending on context. "figure" directive: added specialized
993 "align" option and attribute on "figure" element.
994 - Made ":figwidth: image" option of "figure" directive work again.
995 - Fixed bug with reference names containing uppercase letters
996 (e.g. ``Name_``) in "target" option of "image" directive.
998 * docutils/parsers/rst/directives/misc.py:
1000 - Fixed "include" and "raw" directives to catch text decoding
1002 - Allowed whitespace in "include" & "raw" directive paths.
1003 - Added support for ``file_insertion_enabled`` & ``raw_enabled``
1004 settings in "include" & "raw" directives.
1006 * docutils/parsers/rst/directives/parts.py:
1008 - Added "header" & "footer" directives.
1009 - Fixed illegal context bug with "contents" directive (topics
1010 allowed within sidebars; not within body elements).
1012 * docutils/parsers/rst/directives/tables.py:
1014 - Added "list-table" directive.
1015 - Caught empty CSV table bug.
1016 - Added support for the ``file_insertion_enabled`` setting in the
1017 "csv-table" directive.
1018 - Added ``stub-columns`` option to "csv-table" and "list-table"
1021 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1022 mappings by Martijn Pieters.
1024 * docutils/readers/standalone.py:
1026 - Added ``--section-subtitles`` and ``--no-section-subtitles``
1027 options to activate or deactivate the SectSubTitle transform.
1029 * docutils/transforms/frontmatter.py:
1031 - Added SectSubTitle transform to promote titles of lone
1032 subsections to subtitles.
1034 * docutils/transforms/references.py:
1036 - Fixed mislocated internal targets bug, by propagating internal
1037 targets to the next node, making use of the newly added support
1038 for multiple names and IDs.
1039 - Fixed duplicate footnote label bug.
1040 - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1043 * docutils/writers/html4css1.py:
1045 - Fixed unencoded stylesheet reference bug (characters like "&" in
1046 stylesheet references).
1047 - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1049 - Added support for multiple IDs per node by creating empty ``span``
1051 - Added the ``field_name_limit`` & ``option_limit`` settings &
1053 - Added support for table stub columns.
1054 - Added support for the ``align`` attribute on ``figure`` elements.
1055 - Added the ``cloak_email_addresses`` setting & support.
1056 - Added ``html_prolog``, ``html_head``, ``html_body``,
1057 ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1058 ``docutils.core.publish_parts``.
1059 - Added support for section subtitles.
1061 * docutils/writers/latex2e.py:
1063 - Fixed tables starting with more than one multirow cell.
1064 - Improved --use-latex-docinfo so that organization/contact/address
1065 fields are lumped with the last author field and appear on the
1067 - Made sure the titlepage is always shown with --use-latex-docinfo,
1068 even if the document has no title.
1069 - Made sure that latex doesn't fill in today's date if no date field
1071 - Added support for section subtitles.
1073 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1074 (under development).
1076 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1078 * docs/api/publisher.txt:
1080 - Added "``publish_parts`` Details" section.
1082 * docutils/dev/repository.txt: Added to project; information about the
1083 Docutils Subversion repository.
1085 * docs/ref/docutils.dtd:
1087 - Added a ``stub`` attribute to the ``colspec`` element via the
1088 ``tbl.colspec.att`` parameter entity.
1089 - Allowed topic elements within sidebars
1090 - Added an ``align`` attribute to the ``figure`` element.
1092 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1096 Release 0.3.7 (2004-12-24)
1097 ==========================
1099 * docutils/frontend.py:
1101 - Added options: --input-encoding-error-handler,
1102 --record-dependencies, --leave-footnote-reference-space,
1104 - Added command-line and config file support for "overrides" setting
1109 - Added support for input encoding error handler.
1111 * docutils/nodes.py:
1113 - Added dispatch_visit and dispatch_departure methods to
1114 NodeVisitor; useful as a hook for Visitors.
1115 - Changed structure of ``line_block``; added ``line``.
1116 - Added ``compound`` node class.
1117 - Added a mechanism for Visitors to transitionally ignore new node
1120 * docutils/utils.py:
1122 - Moved ``escape2null`` and ``unescape`` functions from
1123 docutils/parsers/rst/states.py.
1125 * docutils/parsers/rst/roles.py:
1128 - Changed role function API: the "text" parameter now takes
1129 null-escaped interpreted text content.
1131 * docutils/parsers/rst/states.py:
1133 - Fixed bug where a "role" directive in a nested parse would crash
1134 the parser; the state machine's "language" attribute was not being
1136 - Added support for line block syntax.
1137 - Fixed directive parsing bug: argument-less directives didn't
1138 notice that arguments were present.
1139 - Removed error checking for transitions.
1140 - Added support for multiple classifiers in definition list items.
1141 - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1142 - Changed role function API: the "text" parameter now takes
1143 null-escaped interpreted text content.
1144 - Empty sections and documents are allowed now.
1146 * docutils/parsers/rst/directives/__init__.py:
1148 - Added ``encoding`` directive option conversion function.
1149 - Allow multiple class names in class_option conversion function.
1151 * docutils/parsers/rst/directives/body.py:
1153 - Converted the line-block directive to use the new structure.
1154 - Extracted the old line-block functionality to the ``block``
1155 function (still used).
1156 - Added ``compound`` directive (thanks to Lea Wiemann).
1158 * docutils/parsers/rst/directives/misc.py:
1160 - Added "encoding" option to "include" and "raw" directives.
1161 - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1162 - Allow multiple class names in the "class" directive.
1164 * docutils/parsers/rst/directives/parts.py:
1166 - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1167 options. Thanks to Lele Gaifax.
1169 * docutils/parsers/rst/directives/tables.py:
1171 - Added "encoding" directive to "csv-table" directive.
1172 - Added workaround for lack of Unicode support in csv.py, for
1173 non-ASCII CSV input.
1175 * docutils/transforms/misc.py:
1177 - Fixed bug when multiple "class" directives are applied to a single
1179 - Enabled multiple format names for "raw" directive.
1181 * docutils/transforms/references.py:
1183 - Added support for trimming whitespace from beside substitution
1186 * docutils/transforms/universal.py:
1188 - FinalChecks now checks for illegal transitions and moves
1189 transitions between sections.
1191 * docutils/writers/html4css1.py:
1193 - HTMLTranslator.encode now converts U+00A0 to " ".
1194 - "stylesheet" and "stylesheet_path" settings are now mutually
1196 - Added support for the new line_block/line structure.
1197 - --footnote-references now overrides
1198 --trim-footnote-reference-space, if applicable.
1199 - Added support for ``compound`` elements.
1200 - Enabled multiple format names for "raw" directive.
1201 - ``<p>`` tags of a paragraph which is the only visible child of the
1202 document node are no longer stripped.
1203 - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1204 new method ``should_be_compact_paragraph()``.
1205 - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1207 - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1208 the output if they have their ``class`` attribute set.
1209 - The whole document is now surrounded by a ``<div
1210 class="document">`` element.
1211 - Body-level images are now wrapped by their own ``<div>`` elements,
1212 with image classes copied to the wrapper, and for images which
1213 have the ``:align:`` option set, the surrounding ``<div>`` now
1214 receives a class attribute (like ``class="align-left"``).
1216 * docutils/writers/latex2e.py:
1218 - no newline after depart_term.
1219 - Added translations for some Unicode quotes.
1220 - Added option "font-encoding", made package AE the default.
1221 - "stylesheet" and "stylesheet_path" settings are now mutually
1223 - --footnote-references now overrides
1224 --trim-footnote-reference-space, if applicable.
1225 - The footnote label style now matches the footnote reference style
1226 ("brackets" or "superscript").
1227 - Added support for ``compound`` elements.
1228 - Enabled multiple format names for "raw" directive.
1230 * docs/ref/docutils.dtd:
1232 - Changed structure of the ``line_block`` element; added ``line``.
1233 - Added ``compound`` element.
1234 - Added "ltrim" and "rtrim" attributes to
1235 ``substitution_definition`` element.
1236 - Enabled multiple format names for ``raw`` element.
1237 - Enabled multiple classifiers in ``definition_list_item`` elements.
1239 * docs/ref/rst/directives.txt
1241 - Marked "line-block" as deprecated.
1242 - "Class" directive now allows multiple class names.
1243 - Added "Rationale for Class Attribute Value Conversion".
1244 - Added warning about "raw" overuse/abuse.
1246 * docs/ref/rst/restructuredtext.txt:
1248 - Added syntax for line blocks.
1249 - Definition list items may have multiple classifiers.
1251 * docs/ref/rst/roles.txt:
1255 * tools/stylesheets/default.css:
1257 - Added support for the new line_block structure.
1258 - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1261 Release 0.3.5 (2004-07-29)
1262 ==========================
1266 * _`Documentation cleanup/reorganization`.
1268 - Created new subdirectories of docs/:
1270 * ``docs/user/``: introductory/tutorial material for end-users
1271 * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1272 * ``docs/api/``: API reference material for client-developers
1273 * ``docs/ref/``: reference material for all groups
1274 * ``docs/howto/``: for component-developers and core-developers
1275 * ``docs/peps/``: Python Enhancement Proposals
1277 - Moved ``docs/*`` to ``docs/user/``.
1278 - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1279 ``spec/`` to ``docs/dev``.
1280 - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1281 ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1282 - Moved ``alternatives.txt``, and ``problems.txt`` from
1283 ``spec/rst/`` to ``docs/dev/rst/``.
1284 - Moved ``reStructuredText.txt``, ``directives.txt``,
1285 ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1286 to ``docs/ref/rst/``. Renamed ``interpreted.txt`` to
1287 ``roles.txt``, ``reStructuredText.txt`` to
1288 ``restructuredtext.txt``.
1289 - Moved ``spec/howto/`` to ``docs/howto``.
1291 In order to keep the CVS history of moved files, we supplied
1292 SourceForge with a `script for modifying the Docutils CVS
1295 __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1297 After running the cleanup script:
1299 - Added ``docs/index.txt``.
1300 - Added a ``.htaccess`` file to the ``web`` module, containing
1301 redirects for all old paths to new paths. They'll preserve
1302 fragments (the "#name" part of a URL), and won't clutter up the
1303 file system, and will correct the URL in the user's browser.
1304 - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1305 ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1306 the "To Do" list itself in ``docs/dev/todo.txt``.
1307 - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1308 section of ``docs/dev/todo.txt``.
1309 - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1310 - Added "How To Report Bugs" to ``BUGS.txt``.
1311 - Went through all the sources and docs (including under web/) and
1312 updated links. Mostly done by Lea Wiemann; thanks Lea!
1313 (Still need to update links in the sandboxes.)
1317 * BUGS.txt: Added to project.
1319 * THANKS.txt: Added to project.
1321 * docutils/__init__.py:
1323 - 0.3.4: Post-release.
1327 - Added special error handling & advice for UnicodeEncodeError.
1328 - Refactored Publisher.publish (simplified exception handling &
1329 extracted debug dumps).
1330 - Renamed "enable_exit" parameter of convenience functions to
1331 "enable_exit_status".
1332 - Enabled traceback (exception propagation) by default in
1333 programmatic convenience functions.
1334 - Now publish_file and publish_cmdline convenience functions return
1335 the encoded string results in addition to their regular I/O.
1336 - Extracted common code from publish_file, publish_string, and
1337 publish_parts, into new publish_programmatically. Extracted
1338 settings code to ``Publisher.process_programmatic_settings``.
1339 - In Publisher.publish, disabled ``settings_overrides`` when
1340 ``settings`` is supplied; redundant.
1342 * docutils/frontend.py:
1344 - Added help text for "--output-encoding-error-handler" and
1345 "--error-encoding-error-handler".
1346 - Renamed "--exit" to "--exit-status".
1347 - Simplified default-setting code.
1349 * docutils/parsers/rst/__init__.py:
1351 - Added "--pep-base-url" and "--rfc-base-url" options.
1353 * docutils/parsers/rst/states.py:
1355 - Made URI recognition more aggressive and intelligent.
1357 * docutils/parsers/rst/directives/__init__.py:
1359 - Added several directive option conversion functions.
1361 * docutils/parsers/rst/directives/body.py:
1363 - Moved "table" directive to tables.py.
1365 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1368 * docutils/writers/latex2e.py:
1370 - Added "--table-style=(standard|booktabs|nolines)"
1371 - figures get "here" option (LaTeX per default puts them at bottom),
1372 and figure content is centered.
1373 - Rowspan support for tables.
1374 - Fix: admonition titles before first section.
1375 - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1376 - Replave ``_`` in literal by an underlined blank, because it has the correct
1378 - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1379 - A few unicode replacements, if output_encoding != utf
1380 - Add "--graphicx-option".
1381 - Indent literal-blocks.
1382 - Fix: omit ``\maketitle`` when there is no document title.
1384 * docs/index.txt: "Docutils Project Documentation Overview", added to
1387 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1388 Tool", added to project.
1390 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1392 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1394 * docs/dev/policies.txt: Added to project (extracted from
1395 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1397 * docs/dev/release.txt: Added to project (extracted from
1398 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1400 * docs/dev/testing.txt: Added to project.
1402 * docs/dev/website.txt: Added to project (extracted from
1403 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1405 * docs/ref/rst/directives.txt:
1407 - Added directives: "table", "csv-table".
1409 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1410 added to project. 1 page for syntax, and a 1 page reference for
1411 directives and roles. Source text to be used as-is; not meant to be
1414 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1415 with a change of title.
1417 * test/functional/, contents, and test/test_functional.py: Added to
1420 * tools/buildhtml.py: Fixed bug with config file handling.
1422 * tools/html.py: Removed from project (duplicate of rst2html.py).
1424 * tools/pep2html.py: Removed from project (duplicate of Python's
1425 nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1426 Docutils-related PEPs in docs/peps/).
1428 * tools/rst2pseudoxml.py: Renamed from publish.py.
1430 * tools/rst2xml.py: Renamed from docutils-xml.py.
1432 * tools/test.txt: Removed from project; moved to
1433 docs/user/rst/demo.txt.
1435 * setup.py: Now also installs ``rst2latex.py``.
1438 Release 0.3.3 (2004-05-09)
1439 ==========================
1441 * docutils/__init__.py:
1443 - 0.3.1: Reorganized config file format (multiple sections); see
1445 - Added unknown_reference_resolvers attribute to TransformSpec.
1446 - 0.3.2: Interpreted text reorganization.
1451 - Catch system messages to stop tracebacks from parsing errors.
1452 - Catch exceptions during processing report & exit without
1453 tracebacks, except when "--traceback" used.
1454 - Reordered components for OptionParser; application comes last.
1455 - Added "config_section" parameter to several methods and functions,
1456 allowing front ends to easily specify their config file sections.
1457 - Added publish_parts convenience function to allow access to individual
1458 parts of a document.
1460 * docutils/examples.py: Added to project; practical examples of
1461 Docutils client code, to be used as-is or as models for variations.
1463 * docutils/frontend.py:
1465 - Added "--traceback" & "--no-traceback" options ("traceback"
1467 - Implemented support for config file reorganization:
1468 ``standard_config_files`` moved from ``ConfigParser`` to
1469 ``OptionParser``; added
1470 ``OptionParser.get_config_file_settings()`` and
1471 ``.get_standard_config_settings()``; support for old "[options]"
1472 section (with deprecation warning) and mapping from old to new
1474 - Reimplemented setting validation.
1475 - Enabled flexible boolean values: yes/no, true/false, on/off.
1476 - Added ``Values``, a subclass of ``optparse.Values``, with support
1477 for list setting attributes.
1478 - Added support for new ``DOCUTILSCONFIG`` environment variable;
1479 thanks to Beni Cherniavsky.
1480 - Added "--no-section-numbering" option.
1484 - Catch IOErrors when opening source & destination files, report &
1485 exit without tracebacks. Added ``handle_io_errors`` parameter to
1486 ``FileInput`` & ``FileOutput`` to enable caller error handling.
1488 * docutils/nodes.py:
1490 - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1491 method definitions (via ``exec``) to dynamic assignments (via
1492 ``setattr``); thanks to Roman Suzi.
1493 - Encapsulated visitor dynamic assignments in a function; thanks to
1495 - Added indirect_reference_name attribute to the Targetable
1496 class. This attribute holds the whitespace_normalized_name
1497 (contains mixed case) of a target.
1499 * docutils/statemachine.py:
1501 - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1502 - Added ``StringList.get_2D_block``.
1504 * docutils/utils.py:
1506 - Added "level" attribute to SystemMessage exceptions.
1508 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1511 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1514 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1515 Marcelo Huerta San Martin.
1517 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1518 mappings by Lalo Martins.
1520 * docutils/languages/ru.py: Added to project; Russian mappings by
1523 * docutils/parsers/rst/roles.py: Added to project. Contains
1524 interpreted text role functions, a registry for interpreted text
1525 roles, and an API for adding to and retrieving from the registry.
1526 Contributed by Edward Loper.
1528 * docutils/parsers/rst/states.py:
1530 - Updated ``RSTState.nested_parse`` for "include" in table cells.
1531 - Allowed true em-dash character and "---" as block quote
1533 - Added support for <angle-bracketed> complex option arguments
1535 - Fixed handling of backslashes in substitution definitions.
1536 - Fixed off-by-1 error with extra whitespace after substitution
1537 definition directive.
1538 - Added inline markup parsing to field lists' field names.
1539 - Added support for quoted (and unindented) literal blocks.
1540 Driven in part by a bribe from Frank Siebenlist (thanks!).
1541 - Parser now handles escapes in URIs correctly.
1542 - Made embedded-URIs' reference text omittable. Idea from Beni
1544 - Refactored explicit target processing code.
1545 - Added name attribute to references containing the reference name only
1546 through whitespace_normalize_name (no case changes).
1547 - parse_target no longer returns the refname after going through
1548 normalize_name. This is now handled in make_target.
1549 - Fixed bug relating to role-less interpreted text in non-English
1551 - Reorganized interpreted text processing; moved code into the new
1552 roles.py module. Contributed by Edward Loper.
1553 - Refactored ``Body.parse_directive`` into ``run_directive`` and
1554 ``parse_directive_block``.
1556 * docutils/parsers/rst/tableparser.py:
1558 - Reworked for ``StringList``, to support "include" directives in
1561 * docutils/parsers/rst/directives/__init__.py:
1563 - Renamed ``unchanged()`` directive option conversion function to
1564 ``unchanged_required``, and added a new ``unchanged``.
1565 - Catch unicode value too high error; fixes bug 781766.
1566 - Beefed up directive error reporting.
1568 * docutils/parsers/rst/directives/body.py:
1570 - Added basic "table" directive.
1572 * docutils/parsers/rst/directives/images.py:
1574 - Added "target" option to "image" directive.
1575 - Added name attribute to references containing the reference name only
1576 through whitespace_normalize_name (no case changes).
1578 * docutils/parsers/rst/directives/misc.py:
1580 - Isolated the import of the ``urllib2`` module; was causing
1581 problems on SourceForge (``libssl.so.2`` unavailable?).
1582 - Added the "role" directive for declaring custom interpreted text
1585 * docutils/parsers/rst/directives/parts.py:
1587 - The "contents" directive does more work up-front, creating the
1588 "topic" and "title", and leaving the "pending" node for the
1589 transform. Allows earlier reference resolution; fixes subtle bug.
1591 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1592 mappings by Jannie Hofmeyr.
1594 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1595 mappings by Marek Blaha.
1597 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1598 mappings by Marcelo Huerta San Martin.
1600 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1601 Portuguese mappings by Lalo Martins.
1603 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1604 mappings by Roman Suzi.
1606 * docutils/transforms/parts.py:
1608 - The "contents" directive does more work up-front, creating the
1609 "topic" and "title", and leaving the "pending" node for the
1610 transform. Allows earlier reference resolution; fixes subtle bug.
1611 - Added support for disabling of section numbering.
1613 * docutils/transforms/references.py:
1615 - Verifying that external targets are truly targets and not indirect
1616 references. This is because we are now adding a "name" attribute to
1617 references in addition to targets. Note sure if this is correct!
1618 - Added code to hook into the unknown_reference_resolvers list for a
1619 transformer in resolve_indirect_target. This allows the
1620 unknown_reference_resolvers to keep around indirect targets which
1621 docutils doesn't know about.
1622 - Added specific error message for duplicate targets.
1624 * docutils/transforms/universal.py:
1626 - Added FilterMessages transform (removes system messages below the
1627 verbosity threshold).
1628 - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1629 to FinalCheckVisitor for application-specific handling of
1630 unresolvable references.
1631 - Added specific error message for duplicate targets.
1633 * docutils/writers/__init__.py:
1635 - Added assemble_parts method to the Writer class to allow for
1636 access to a documents individual parts.
1637 - Documented & set default for ``Writer.output`` attribute.
1639 * docutils/writers/html4css1.py:
1641 - Fixed unicode handling of attribute values (bug 760673).
1642 - Prevent duplication of "class" attribute values (bug report from
1644 - Improved table grid/border handling (prompted by report from Bob
1646 - Added support for table titles.
1647 - Added "<title />" for untitled docs, for XHTML conformance; thanks
1649 - Added functionality to keep track of individual parts of a document
1650 and store them in a dictionary as the "parts" attribute of the writer.
1651 Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1652 - Added proper support for the "scale" attribute of the "image"
1653 element. Contributed by Brent Cook.
1654 - Added ``--initial-header-level`` option.
1655 - Fixed bug: the body_pre_docinfo segment depended on there being a
1656 docinfo; if no docinfo, the document title was incorporated into
1657 the body segment. Adversely affected the publish_parts interface.
1659 * docutils/writers/latex2e.py:
1661 - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1662 about a missing file.
1663 - Added options and support: ``--compound-enumerators``,
1664 ``--section-prefix-for-enumerators``, and
1665 ``--section-enumerator-separator``. By John F Meinel Jr (SF patch
1667 - Added option ``--use-verbatim-when-possible``, to avoid
1668 problematic characters (eg, '~' in italian) in literal blocks.
1669 - It's now possible to use four section levels in the `book` and
1670 `report` LaTeX classes. The default `article` class still has
1673 * docs/config.txt: "Docutils Configuration Files", added to project.
1674 Moved config file entry descriptions from tools.txt.
1678 - Moved config file entry descriptions to config.txt.
1680 * spec/notes.txt: Continual updates. Added "Setting Up For Docutils
1683 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1684 Text Roles", added to project.
1686 * spec/rst/reStructuredText.txt:
1688 - Added description of support for <angle-bracketed> complex option
1689 arguments to option lists.
1690 - Added subsections for indented and quoted literal blocks.
1692 * test: Continually adding & updating tests.
1694 - Added test/test_settings.py & test/data/config_*.txt support
1696 - Added test/test_writers/test_htmlfragment.py.
1698 * test/DocutilsTestSupport.py:
1700 - Refactored LaTeX publisher test suite/case class names to make
1701 testing other writers easier.
1702 - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1703 to test the processing of HTML fragments which use the new
1704 publish_parts convenience function.
1706 * tools/buildhtml.py:
1708 - Added support for the "--prune" option.
1709 - Removed dependency on pep2html.py; plaintext PEPs no longer
1712 * tools/docutils.conf:
1714 - Updated for configuration file reorganization.
1716 * tools/rst2html.py:
1718 - copied from tools/html.py
1722 - added a 'scripts' section to configuration
1723 - added 'tools/rst2html.py' to the scripts section
1726 Release 0.3 (2003-06-24)
1727 ========================
1731 * Renamed "attribute" to "option" for directives/extensions.
1733 * Renamed transform method "transform" to "apply".
1735 * Renamed "options" to "settings" for runtime settings (as set by
1736 command-line options). Sometimes "option" (singular) became
1737 "settings" (plural). Some variations below:
1739 - document.options -> document.settings (stored in other objects as
1741 - option_spec -> settings_spec (not directives though)
1742 - OptionSpec -> SettingsSpec
1743 - cmdline_options -> settings_spec
1744 - relative_path_options -> relative_path_settings
1745 - option_default_overrides -> settings_default_overrides
1746 - Publisher.set_options -> Publisher.get_settings
1750 * COPYING.txt: Added "Public Domain Dedication".
1752 * FAQ.txt: Frequently asked questions, added to project.
1756 - Updated with PyPI Trove classifiers.
1757 - Conditional installation of third-party modules.
1759 * docutils/__init__.py:
1761 - Bumped version to 0.2.1 to reflect changes to I/O classes.
1762 - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1763 - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1764 - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1765 option and its effect on the PEP template & writer.
1766 - Bumped version to 0.2.4 due to changes to the PEP template &
1768 - Bumped version to 0.2.5 to reflect changes to Reporter output.
1769 - Added ``TransformSpec`` class for new transform system.
1770 - Bumped version to 0.2.6 for API changes (renaming).
1771 - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1772 convenience functions.
1773 - Added ``Component.component_type`` attribute.
1774 - Bumped version to 0.2.8 because of the internal parser switch from
1775 plain lists to the docutils.statemachine.StringList objects.
1776 - Bumped version to 0.2.9 because of the frontend.py API changes.
1777 - Bumped version to 0.2.10 due to changes to the project layout
1778 (third-party modules removed from the "docutils" package), and
1779 signature changes in ``io.Input``/``io.Output``.
1780 - Changed version to 0.3.0 for release.
1784 - Made ``publish()`` a bit more convenient.
1785 - Generalized ``Publisher.set_io``.
1786 - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1787 parameters; improved its docstring.
1788 - Added ``publish_file()`` and ``publish_string()``.
1789 - Factored ``Publisher.set_source()`` and ``.set_destination()``
1791 - Added support for "--dump-pseudo-xml", "--dump-settings", and
1792 "--dump-transforms" hidden options.
1793 - Added ``Publisher.apply_transforms()`` method.
1794 - Added ``Publisher.set_components()`` method; support for
1795 ``publish_*()`` conveninece functions.
1796 - Moved config file processing to docutils/frontend.py.
1797 - Added support for exit status ("exit_level" setting &
1798 ``enable_exit`` parameter for Publisher.publish() and convenience
1801 * docutils/frontend.py:
1803 - Check for & exit on identical source & destination paths.
1804 - Fixed bug with absolute paths & "--config".
1805 - Set non-command-line defaults in ``OptionParser.__init__()``:
1806 ``_source`` & ``_destination``.
1807 - Distributed ``relative_path_settings`` to components; updated
1808 ``OptionParser.populate_from_components()`` to combine it all.
1809 - Require list of keys in ``make_paths_absolute`` (was implicit in
1810 global ``relative_path_settings``).
1811 - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1812 "--dump-settings", and "--dump-transforms" hidden options.
1813 - Removed nasty internals-fiddling ``ConfigParser.get_section``
1814 code, replaced with correct code.
1815 - Added validation functionality for config files.
1816 - Added "--error-encoding" option/setting, "_disable_config"
1818 - Added encoding validation; updated "--input-encoding" and
1819 "--output-encoding"; added "--error-encoding-error-handler" and
1820 "--output-encoding-error-handler".
1821 - Moved config file processing from docutils/core.py.
1822 - Updated ``OptionParser.populate_from_components`` to handle new
1823 ``SettingsSpec.settings_defaults`` dict.
1824 - Added support for "-" => stdin/stdout.
1825 - Added "exit_level" setting ("--exit" option).
1829 - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1830 - Added automatic closing to ``FileInput`` and ``FileOutput``.
1831 - Delayed opening of ``FileOutput`` file until ``write()`` called.
1832 - ``FileOutput.write()`` now returns the encoded output string.
1833 - Try to get path/stream name automatically in ``FileInput`` &
1835 - Added defaults for source & destination paths.
1836 - Allow for Unicode I/O with an explicit "unicode" encoding.
1837 - Added ``Output.encode()``.
1838 - Removed dependency on runtime settings; pass encoding directly.
1839 - Recognize Unicode strings in ``Input.decode()``.
1840 - Added support for output encoding error handlers.
1842 * docutils/nodes.py:
1844 - Added "Invisible" element category class.
1845 - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1846 modification during a traversal.
1847 - Added element classes: ``line_block``, ``generated``, ``address``,
1848 ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1849 ``superscript``, ``subscript``, ``inline``
1850 - Added support for lists of nodes to ``Element.insert()``.
1851 - Fixed parent linking in ``Element.replace()``.
1852 - Added new abstract superclass ``FixedTextElement``; adds
1853 "xml:space" attribute.
1854 - Added support for "line" attribute of ``system_message`` nodes.
1855 - Added support for the observer pattern from ``utils.Reporter``.
1856 Added ``parse_messages`` and ``transform_messages`` attributes to
1857 ``document``, removed ``messages``. Added ``note_parse_message``
1858 and ``note_transform_message`` methods.
1859 - Added support for improved diagnostics:
1861 - Added "document", "source", and "line" internal attributes to
1862 ``Node``, set by ``Node.setup_child()``.
1863 - Converted variations on ``node.parent = self`` to
1864 ``self.setup_child(node)``.
1865 - Added ``document.current_source`` & ``.current_line``
1866 attributes, and ``.note_source`` observer method.
1867 - Changed "system_message" output to GNU-Tools format.
1869 - Added a "rawsource" attribute to the ``Text`` class, for text
1870 before backslash-escape resolution.
1871 - Support for new transform system.
1872 - Reworked ``pending`` element.
1873 - Fixed XML DOM bug (SF #660611).
1874 - Removed the ``interpeted`` element class and added
1875 ``title_reference``, ``abbreviation``, ``acronym``.
1876 - Made substitutions case-sensitive-but-forgiving; moved some code
1878 - Fixed Unicode bug on element attributes (report: William Dode).
1880 * docutils/optik.py: Removed from project; replaced with
1881 extras/optparse.py and extras/textwrap.py. These will be installed
1882 only if they're not already present in the Python installation.
1884 * docutils/roman.py: Moved to extras/roman.py; this will be installed
1885 only if it's not already present in the Python installation.
1887 * docutils/statemachine.py:
1889 - Factored out ``State.add_initial_transitions()`` so it can be
1891 - Converted whitespace-specific "blank" and "indent" transitions
1892 from special-case code to ordinary transitions: removed
1893 ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
1894 ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
1895 ``ws_initial_transitions`` attributes.
1896 - Removed ``State.match_transition()`` after merging it into
1898 - Added ``StateCorrection`` exception.
1899 - Added support for ``StateCorrection`` in ``StateMachine.run()``
1900 (moved ``TransitionCorrection`` support there too.)
1901 - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
1902 ``EOFError`` instead of ``IndexError``.
1903 - Added ``State.no_match`` method.
1904 - Added support for the Observer pattern, triggered by input line
1906 - Added ``strip_top`` parameter to
1907 ``StateMachineWS.get_first_known_indented``.
1908 - Made ``context`` a parameter to ``StateMachine.run()``.
1909 - Added ``ViewList`` & ``StringList`` classes;
1910 ``extract_indented()`` becomes ``StringList.get_indented()``.
1911 - Added ``StateMachine.insert_input()``.
1912 - Fixed ViewList slice handling for Python 2.3. Patch from (and
1913 thanks to) Fred Drake.
1915 * docutils/utils.py:
1917 - Added a ``source`` attribute to Reporter instances and
1918 ``system_message`` elements.
1919 - Added an observer pattern to ``utils.Reporter`` to keep track of
1921 - Fixed bugs in ``relative_path()``.
1922 - Added support for improved diagnostics.
1923 - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
1924 - Added support for encoding Reporter stderr output, and encoding
1926 - Reporter keeps track of the highest level system message yet
1929 * docutils/languages: Fixed bibliographic field language lookups.
1931 * docutils/languages/es.py: Added to project; Spanish mappings by
1932 Marcelo Huerta San Martin.
1934 * docutils/languages/fr.py: Added to project; French mappings by
1937 * docutils/languages/it.py: Added to project; Italian mappings by
1940 * docutils/languages/sk.py: Added to project; Slovak mappings by
1943 * docutils/parser/__init__.py:
1945 - Added ``Parser.finish_parse()`` method.
1947 * docutils/parser/rst/__init__.py:
1949 - Added options: "--pep-references", "--rfc-references",
1950 "--tab-width", "--trim-footnote-reference-space".
1952 * docutils/parsers/rst/states.py:
1954 - Changed "title under/overline too short" system messages from INFO
1955 to WARNING, and fixed its insertion location.
1956 - Fixed enumerated list item parsing to allow paragraphs & section
1957 titles to begin with enumerators.
1958 - Converted system messages to use the new "line" attribute.
1959 - Fixed a substitution reference edge case.
1960 - Added support for "--pep-references" and "--rfc-references"
1961 options; reworked ``Inliner`` code to make customization easier.
1962 - Removed field argument parsing.
1963 - Added support for short section title over/underlines.
1964 - Fixed "simple reference name" regexp to ignore text like
1965 "object.__method__"; not an anonymous reference.
1966 - Added support for improved diagnostics.
1967 - Reworked directive API, based on Dethe Elza's contribution. Added
1968 ``Body.parse_directive()``, ``.parse_directive_options()``,
1969 ``.parse_directive_arguments()`` methods.
1970 - Added ``ExtensionOptions`` class, to parse directive options
1971 without parsing field bodies. Factored
1972 ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
1973 ``ExtensionOptions``.
1974 - Improved definition list term/classifier parsing.
1975 - Added warnings for unknown directives.
1976 - Renamed ``Stuff`` to ``Struct``.
1977 - Now flagged as errors: transitions at the beginning or end of
1978 sections, empty sections (except title), and empty documents.
1979 - Updated for ``statemachine.StringList``.
1980 - Enabled recognition of schemeless email addresses in targets.
1981 - Added support for embedded URIs in hyperlink references.
1982 - Added backslash-escapes to inline markup end-string suffix.
1983 - Added support for correct interpreted text processing.
1984 - Fixed nested title parsing (topic, sidebar directives).
1985 - Added special processing of backslash-escaped whitespace (idea
1986 from David Abrahams).
1987 - Made substitutions case-sensitive-but-forgiving; moved some code
1988 to ``docutils.nodes``.
1989 - Added support for block quote attributions.
1990 - Added a kludge to work-around a conflict between the bubble-up
1991 parser strategy and short titles (<= 3 char-long over- &
1992 underlines). Fixes SF bug #738803 "infinite loop with multiple
1993 titles" submitted by Jason Diamond.
1994 - Added explicit interpreted text roles for standard inline markup:
1995 "emphasis", "strong", "literal".
1996 - Implemented "superscript" and "subscript" interpreted text roles.
1997 - Added initial support for "abbreviation" and "acronym" roles;
1999 - Added support for "--trim-footnote-reference-space" option.
2000 - Optional space before colons in directives & hyperlink targets.
2002 * docutils/parsers/rst/tableparser.py:
2004 - Fixed a bug that was producing unwanted empty rows in "simple"
2006 - Detect bad column spans in "simple" tables.
2008 * docutils/parsers/rst/directives: Updated all directive functions to
2011 * docutils/parsers/rst/directives/__init__.py:
2013 - Added ``flag()``, ``unchanged()``, ``path()``,
2014 ``nonnegative_int()``, ``choice()``, and ``class_option()``
2015 directive option helper functions.
2016 - Added warnings for unknown directives.
2017 - Return ``None`` for missing directives.
2018 - Added ``register_directive()``, thanks to William Dode and Paul
2021 * docutils/parsers/rst/directives/admonitions.py:
2023 - Added "admonition" directive.
2025 * docutils/parsers/rst/directives/body.py: Added to project. Contains
2026 the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2027 "parsed-literal", "rubric", "epigraph", "highlights" and
2028 "pull-quote" directives.
2030 * docutils/parsers/rst/directives/images.py:
2032 - Added an "align" attribute to the "image" & "figure" directives
2033 (by Adam Chodorowski).
2034 - Added "class" option to "image", and "figclass" to "figure".
2036 * docutils/parsers/rst/directives/misc.py:
2038 - Added "include", "raw", and "replace" directives, courtesy of
2040 - Added "unicode" and "class" directives.
2042 * docutils/parsers/rst/directives/parts.py:
2044 - Added the "sectnum" directive; by Dmitry Jemerov.
2045 - Added "class" option to "contents" directive.
2047 * docutils/parsers/rst/directives/references.py: Added to project.
2048 Contains the "target-notes" directive.
2050 * docutils/parsers/rst/languages/__init__.py:
2052 - Return ``None`` from get_language() for missing language modules.
2054 * docutils/parsers/rst/languages/de.py: Added to project; German
2055 mappings by Engelbert Gruber.
2057 * docutils/parsers/rst/languages/en.py:
2059 - Added interpreted text roles mapping.
2061 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2062 mappings by Marcelo Huerta San Martin.
2064 * docutils/parsers/rst/languages/fr.py: Added to project; French
2065 mappings by William Dode.
2067 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2068 mappings by Nicola Larosa.
2070 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2071 mappings by Miroslav Vasko.
2073 * docutils/readers/__init__.py:
2075 - Added support for the observer pattern from ``utils.Reporter``, in
2076 ``Reader.parse`` and ``Reader.transform``.
2077 - Removed ``Reader.transform()`` method.
2078 - Added default parameter values to ``Reader.__init__()`` to make
2079 instantiation easier.
2080 - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2082 * docutils/readers/pep.py:
2084 - Added the ``peps.TargetNotes`` transform to the Reader.
2085 - Removed PEP & RFC reference detection code; moved to
2086 parsers/rst/states.py as options (enabled here by default).
2087 - Added support for pre-acceptance PEPs (no PEP number yet).
2088 - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2091 * docutils/readers/python: Python Source Reader subpackage added to
2092 project, including preliminary versions of:
2095 - moduleparser.py: Parser for Python modules.
2097 * docutils/transforms/__init__.py:
2099 - Added ``Transformer`` class and completed transform reform.
2100 - Added unknown_reference_resolvers list for each transformer. This list holds
2101 the list of functions provided by each component of the transformer that
2102 help resolve references.
2104 * docutils/transforms/frontmatter.py:
2106 - Improved support for generic fields.
2107 - Fixed bibliographic field language lookups.
2109 * docutils/transforms/misc.py: Added to project. Miscellaneous
2112 * docutils/transforms/parts.py:
2114 - Moved the "id" attribute from TOC list items to the references
2115 (``Contents.build_contents()``).
2116 - Added the ``SectNum`` transform; by Dmitry Jemerov.
2117 - Added "class" attribute support to ``Contents``.
2119 * docutils/transforms/peps.py:
2121 - Added ``mask_email()`` function, updating to pep2html.py's
2123 - Linked "Content-Type: text/x-rst" to PEP 12.
2124 - Added the ``TargetNotes`` PEP-specific transform.
2125 - Added ``TargetNotes.cleanup_callback``.
2126 - Added title check to ``Headers``.
2128 * docutils/transforms/references.py:
2130 - Added the ``TargetNotes`` generic transform.
2131 - Split ``Hyperlinks`` into multiple transforms.
2132 - Fixed bug with multiply-indirect references (report: Bruce Smith).
2133 - Added check for circular indirect references.
2134 - Made substitutions case-sensitive-but-forgiving.
2136 * docutils/transforms/universal.py:
2138 - Added support for the "--expose-internal-attributes" option.
2139 - Removed ``Pending`` transform classes & data.
2141 * docutils/writers/__init__.py:
2143 - Removed ``Writer.transform()`` method.
2145 * docutils/writers/docutils-xml.py:
2147 - Added XML and doctype declarations.
2148 - Added "--no-doctype" and "--no-xml-declaration" options.
2150 * docutils/writers/html4css1.py:
2152 - "name" attributes only on these tags: a, applet, form, frame,
2154 - Added "name" attribute to <a> in section titles for Netscape 4
2155 support (bug report: Pearu Peterson).
2156 - Fixed targets (names) on footnote, citation, topic title,
2157 problematic, and system_message nodes (for Netscape 4).
2158 - Changed field names from "<td>" to "<th>".
2159 - Added "@" to "@" encoding to thwart address harvesters.
2160 - Improved the vertical whitespace optimization; ignore "invisible"
2161 nodes (targets, comments, etc.).
2162 - Improved inline literals with ``<span class="pre">`` around chunks
2163 of text and `` `` for runs of spaces.
2164 - Improved modularity of output; added ``self.body_pre_docinfo`` and
2165 ``self.docinfo`` segments.
2166 - Added support for "line_block", "address" elements.
2167 - Improved backlinks (footnotes & system_messages).
2168 - Improved system_message output.
2169 - Redefined "--stylesheet" as containing an invariant URL, used
2170 verbatim. Added "--stylesheet-path", interpreted w.r.t. the
2172 - Added "--footnote-references" option (superscript or brackets).
2173 - Added "--compact-lists" and "--no-compact-lists" options.
2174 - Added "--embed-stylesheet" and "--link-stylesheet" options;
2175 factored out ``HTMLTranslator.get_stylesheet_reference()``.
2176 - Improved field list rendering.
2177 - Added Docutils version to "generator" meta tag.
2178 - Fixed a bug with images; they must be inline, so wrapped in <p>.
2179 - Improved layout of <pre> HTML source.
2180 - Fixed attribute typo on <colspec>.
2181 - Refined XML prologue.
2182 - Support for no stylesheet.
2183 - Removed "interpreted" element support.
2184 - Added support for "title_reference", "sidebar", "attribution",
2185 "rubric", and generic "admonition" elements.
2186 - Added "--attribution" option.
2187 - Added support for "inline", "subscript", "superscript" elements.
2188 - Added initial support for "abbreviation" and "acronym";
2191 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2195 - Double quotes in literal blocks (special treatment for de/ngerman).
2196 - Added '--hyperlink-color' option ('0' turns off coloring of links).
2197 - Added "--attribution" option.
2198 - Right align attributions.
2200 * docutils/writers/pep_html.py:
2202 - Parameterized output encoding in PEP template.
2203 - Reworked substitutions from ``locals()`` into ``subs`` dict.
2204 - Redefined "--pep-stylesheet" as containing an invariant URL, used
2205 verbatim. Added "--pep-stylesheet-path", interpreted w.r.t. the
2207 - Added an override on the "--footnote-references" option.
2208 - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2209 - Added Docutils version to "generator" meta tag.
2210 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2214 - Added a "silent" setting for ``buildhtml.py``.
2215 - Added a "Getting Help" section.
2216 - Rearranged the structure.
2217 - Kept up to date, with new settings, command-line options etc.
2218 - Added section for ``rst2latex.py`` (Engelbert Gruber).
2219 - Converted settings table into a definition list.
2221 * docs/rst/quickstart.txt:
2223 - Added a table of contents.
2224 - Added feedback information.
2225 - Added mention of minimum section title underline lengths.
2226 - Removed the 4-character minimum for section title underlines.
2228 * docs/rst/quickref.html:
2230 - Added a "Getting Help" section.
2231 - Added a style to make section title backlinks more subtle.
2232 - Added mention of minimum section title underline lengths.
2233 - Removed the 4-character minimum for section title underlines.
2235 * extras: Directory added to project; contains third-party modules
2236 that Docutils depends on (optparse, textwrap, roman). These are
2237 only installed if they're not already present.
2239 * licenses: Directory added to project; contains copies of license
2240 files for non-public-domain files.
2244 - Changed the focus. It's about DTD elements: structural
2245 relationships, semantics, and external (public) attributes. Not
2246 about the element class library.
2247 - Moved some implementation-specific stuff into ``docutils.nodes``
2249 - Wrote descriptions of all common attributes and parameter
2250 entities. Filled in introductory material.
2251 - Working through the element descriptions: 55 down, 37 to go.
2252 - Removed "Representation of Horizontal Rules" to
2253 spec/rst/alternatives.txt.
2255 * spec/docutils.dtd:
2257 - Added "generated" inline element.
2258 - Added "line_block" body element.
2259 - Added "auto" attribute to "title".
2260 - Changed content models of "literal_block" and "doctest_block" to
2262 - Added ``%number;`` attribute type parameter entity.
2263 - Changed ``%structural.elements;`` to ``%section.elements``.
2264 - Updated attribute types; made more specific.
2265 - Added "address" bibliographic element.
2266 - Added "line" attribute to ``system_message`` element.
2267 - Removed "field_argument" element; "field_name" may contain
2268 multiple words and whitespace.
2269 - Changed public identifier to docutils.sf.net.
2270 - Removed "interpreted" element; added "title_reference",
2271 "abbreviation", "acronym".
2272 - Removed "refuri" attribute from "footnote_reference" and
2273 "citation_reference".
2274 - Added "sidebar", "rubric", "attribution", "admonition",
2275 "superscript", "subscript", and "inline" elements.
2277 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2279 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2281 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2283 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2286 * spec/transforms.txt: Added to project.
2288 * spec/howto: Added subdirectory, for developer how-to docs.
2290 * spec/howto/rst-directives.txt: Added to project. Original by Dethe
2291 Elza, edited & extended by David Goodger.
2293 * spec/howto/i18n.txt: Docutils Internationalization. Added to
2296 * spec/rst/alternatives.txt:
2298 - Added "Doctree Representation of Transitions" from
2300 - Updated "Inline External Targets" & closed the debate.
2301 - Added ideas for interpreted text syntax extensions.
2302 - Added "Nested Inline Markup" section.
2304 * spec/rst/directives.txt:
2306 - Added directives: "topic", "sectnum", "target-notes",
2307 "line-block", "parsed-literal", "include", "replace", "sidebar",
2308 "admonition", "rubric", "epigraph", "highlights", "unicode" and
2310 - Formalized descriptions of directive details.
2311 - Added an "align" attribute to the "image" & "figure" directives
2312 (by Adam Chodorowski).
2313 - Added "class" options to "topic", "sidebar", "line-block",
2314 "parsed-literal", "contents", and "image"; and "figclass" to
2317 * spec/rst/interpreted.txt: Added to project. Descriptions of
2318 interpreted text roles.
2320 * spec/rst/introduction.txt:
2322 - Added pointers to material for new users.
2324 * spec/rst/reStructuredText.txt:
2326 - Disambiguated comments (just add a newline after the "::").
2327 - Updated enumerated list description; added a discussion of the
2328 second-line validity checking.
2329 - Updated directive description.
2330 - Added a note redirecting newbies to the user docs.
2331 - Expanded description of inline markup start-strings in non-markup
2333 - Removed field arguments and made field lists a generic construct.
2334 - Removed the 4-character minimum for section title underlines.
2335 - Clarified term/classifier delimiter & inline markup ambiguity
2337 - Added "Embedded URIs".
2338 - Updated "Interpreted Text" section.
2339 - Added "Character-Level Inline Markup" section.
2341 * test: Continually adding & updating tests.
2343 - Moved test/test_rst/ to test/test_parsers/test_rst/.
2344 - Moved test/test_pep/ to test/test_readers/test_pep/.
2345 - Added test/test_readers/test_python/.
2346 - Added test/test_writers/ (Engelbert Gruber).
2350 - Made the ``locale.setlocale()`` calls in front ends
2353 * tools/buildhtml.py:
2355 - Added "--silent" option.
2356 - Fixed bug with absolute paths & "--config".
2357 - Updated for new I/O classes.
2358 - Added some exception handling.
2359 - Separated publishers' setting defaults; prevents interference.
2360 - Updated for new ``publish_file()`` convenience function.
2362 * tools/pep-html-template:
2364 - Allow for "--embed-stylesheet".
2365 - Added Docutils version to "generator" meta tag.
2366 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2367 - Conform to XHTML spec.
2369 * tools/pep2html.py:
2371 - Made ``argv`` a parameter to ``main()``.
2372 - Added support for "Content-Type:" header & arbitrary PEP formats.
2373 - Linked "Content-Type: text/plain" to PEP 9.
2374 - Files skipped (due to an error) are not pushed onto the server.
2375 - Updated for new I/O classes.
2376 - Added ``check_requirements()`` & ``pep_type_error()``.
2377 - Added some exception handling.
2378 - Updated for new ``publish_string()`` convenience function.
2379 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2381 * tools/quicktest.py:
2383 - Added "-V"/"--version" option.
2385 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2387 * tools/unicode2rstsubs.py: Added to project. Produces character
2388 entity files (reSructuredText substitutions) from the MathML master
2391 * tools/editors: Support code for editors, added to project. Contains
2392 ``emacs/restructuredtext.el``.
2394 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2396 - Added style for chunks of inline literals.
2397 - Removed margin for first child of table cells.
2398 - Right-aligned field list names.
2399 - Support for auto-numbered section titles in TOCs.
2400 - Increased the size of inline literals (<tt>) in titles.
2401 - Restored the light gray background for inline literals.
2402 - Added support for "line_block" elements.
2403 - Added style for "address" elements.
2404 - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2405 - Improved field list rendering.
2406 - Vertical whitespace improvements.
2407 - Removed "a.target" style.
2409 * tools/stylesheets/pep.css:
2411 - Fixed nested section margins.
2412 - Other changes parallel those of ``../default.css``.
2415 Release 0.2 (2002-07-31)
2416 ========================
2420 - The word "component" was being used ambiguously. From now on,
2421 "component" will be used to mean "Docutils component", as in Reader,
2422 Writer, Parser, or Transform. Portions of documents (Table of
2423 Contents, sections, etc.) will be called "document parts".
2424 - Did a grand renaming: a lot of ``verylongnames`` became
2425 ``very_long_names``.
2426 - Cleaned up imports: no more relative package imports or
2427 comma-separated lists of top-level modules.
2428 - Added support for an option values object which carries default
2429 settings and overrides (from command-line options and library use).
2430 - Added internal Unicode support, and support for both input and
2432 - Added support for the ``docutils.io.IO`` class & subclasses.
2436 * docutils/__init__.py:
2438 - Added ``ApplicationError`` and ``DataError``, for use throughout
2440 - Added ``Component`` base class for Docutils components; implements
2441 the ``supports`` method.
2442 - Added ``__version__`` (thus, ``docutils.__version__``).
2446 - Removed many keyword parameters to ``Publisher.__init__()`` and
2447 ``publish()``; bundled into an option values object. Added
2448 "argv", "usage", "description", and "option_spec" parameters for
2449 command-line support.
2450 - Added ``Publisher.process_command_line()`` and ``.set_options()``
2452 - Reworked I/O model for ``docutils.io`` wrappers.
2453 - Updated ``Publisher.set_options()``; now returns option values
2455 - Added support for configuration files (/etc/docutils.conf,
2456 ./docutils.conf, ~/.docutils).
2457 - Added ``Publisher.setup_option_parser()``.
2458 - Added default usage message and description.
2460 * docutils/frontend.py: Added to project; support for front-end
2461 (command-line) scripts. Option specifications may be augmented by
2462 components. Requires Optik (http://optik.sf.net/) for option
2463 processing (installed locally as docutils/optik.py).
2465 * docutils/io.py: Added to project; uniform API for a variety of input
2468 * docutils/nodes.py:
2470 - Added ``TreeCopyVisitor`` class.
2471 - Added a ``copy`` method to ``Node`` and subclasses.
2472 - Added a ``SkipDeparture`` exception for visitors.
2473 - Renamed ``TreePruningException`` from ``VisitorException``.
2474 - Added docstrings to ``TreePruningException``, subclasses, and
2476 - Improved docstrings.
2477 - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2478 - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2480 - Added ``decoration``, ``header``, and ``footer`` node classes, and
2481 ``PreDecorative`` mixin.
2482 - Reworked the name/id bookkeeping; to ``document``, removed
2483 ``explicit_targets`` and ``implicit_targets`` attributes, added
2484 ``nametypes`` attribute and ``set_name_id_map`` method.
2485 - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2487 - Added ``document.has_name()`` method.
2488 - Fixed DOM generation for list-attributes.
2489 - Added category class ``Labeled`` (used by footnotes & citations).
2490 - Added ``Element.set_class()`` method (sets "class" attribute).
2492 * docutils/optik.py: Added to project. Combined from the Optik
2493 package, with added option groups and other modifications. The use
2494 of this module is probably only temporary.
2496 * docutils/statemachine.py:
2498 - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2499 - Added underscores to improve many awkward names.
2500 - In ``string2lines()``, changed whitespace normalizing translation
2501 table to regexp; restores Python 2.0 compatibility with Unicode.
2503 * docutils/urischemes.py:
2505 - Filled in some descriptions.
2506 - Added "shttp" scheme.
2508 * docutils/utils.py:
2510 - Added ``clean_rcs_keywords`` function (moved from
2511 docutils/transforms/frontmatter.py
2512 ``DocInfo.filter_rcs_keywords``).
2513 - Added underscores to improve many awkward names.
2514 - Changed names of Reporter's thresholds:
2515 warning_level -> report_level; error_level -> halt_level.
2516 - Moved ``utils.id()`` to ``nodes.make_id()``.
2517 - Added ``relative_path(source, target)``.
2519 * docutils/languages/de.py: German mappings; added to project. Thanks
2520 to Gunnar Schwant for the translations.
2522 * docutils/languages/en.py: Added "Dedication" bibliographic field
2525 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2528 * docutils/parsers/rst/states.py:
2530 - Added underscores to improve many awkward names.
2531 - Added RFC-2822 header support.
2532 - Extracted the inline parsing code from ``RSTState`` to a separate
2533 class, ``Inliner``, which will allow easy subclassing.
2534 - Made local bindings for ``memo`` container & often-used contents
2535 (reduces code complexity a lot). See ``RSTState.runtime_init()``.
2536 - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2537 - Added ``MarkupMismatch`` exception; for late corrections.
2538 - Added ``-/:`` characters to inline markup's start string prefix,
2539 ``/`` to end string suffix.
2540 - Fixed a footnote bug.
2541 - Fixed a bug with literal blocks.
2542 - Applied patch from Simon Budig: simplified regexps with symbolic
2543 names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2544 - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2545 - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2546 - Allowed non-ASCII in "simple names" (directive names, field names,
2548 - Converted ``Inliner.patterns.initial`` to be dynamically built
2549 from parts with ``build_regexp()`` function.
2550 - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2551 - Updated docstrings.
2552 - Changed "table" to "grid_table"; added "simple_table" support.
2554 * docutils/parsers/rst/tableparser.py:
2556 - Changed ``TableParser`` to ``GridTableParser``.
2557 - Added ``SimpleTableParser``.
2558 - Refactored naming.
2560 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2561 a fallback language for directive names.
2563 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2564 directive to use a ``pending`` element, used only by HTML writers.
2566 * docutils/parsers/rst/directives/parts.py: Renamed from
2569 - Added "backlinks" attribute to "contents" directive.
2571 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2572 project by Adam Chodorowski.
2574 * docutils/readers/__init__.py: Gave Readers more control over
2575 choosing and instantiating Parsers.
2577 * docutils/readers/pep.py: Added to project; for PEP processing.
2579 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2580 requires a ``component`` parameter.
2582 * docutils/transforms/components.py: Added to project; transforms
2583 related to Docutils components.
2585 * docutils/transforms/frontmatter.py:
2587 - In ``DocInfo.extract_authors``, check for a single "author" in an
2588 "authors" group, and convert it to a single "author" element.
2589 - Added support for "Dedication" and generic bibliographic fields.
2591 * docutils/transforms/peps.py: Added to project; PEP-specific.
2593 * docutils/transforms/parts.py: Renamed from old components.py.
2595 - Added filter for `Contents`, to use alt-text for inline images,
2596 and to remove inline markup that doesn't make sense in the ToC.
2597 - Added "name" attribute to TOC topic depending on its title.
2598 - Added support for optional TOC backlinks.
2600 * docutils/transforms/references.py: Fixed indirect target resolution
2601 in ``Hyperlinks`` transform.
2603 * docutils/transforms/universal.py:
2605 - Changed ``Messages`` transform to properly filter out system
2606 messages below the warning threshold.
2607 - Added ``Decorations`` transform (support for ``--generator``,
2608 ``--date``, ``--time``, ``--source-link`` options).
2610 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2611 Engelbert Gruber's PDF writer.
2613 * docutils/writers/html4css1.py:
2615 - Made XHTML-compatible (switched to lowercase element & attribute
2616 names; empty tag format).
2617 - Escape double-dashes in comment text.
2618 - Improved boilerplate & modularity of output.
2619 - Exposed modular output in Writer class.
2620 - Added a "generator" meta tag to <head>.
2621 - Added support for the ``--stylesheet`` option.
2622 - Added support for ``decoration``, ``header``, and ``footer``
2624 - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2625 translation table to regexp; restores Python 2.0 compatibility
2627 - Added the translator class as instance variable to the Writer, to
2628 make it easily subclassable.
2629 - Improved option list spacing (thanks to Richard Jones).
2630 - Modified field list output.
2631 - Added backlinks to footnotes & citations.
2632 - Added percentage widths to "<col>" tags (from colspec).
2633 - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2634 "<span>" changed to "<var>".
2635 - Inline literals: "<code>" changed to "<tt>".
2636 - Many changes to optimize vertical space: compact simple lists etc.
2637 - Add a command-line options & directive attributes to control TOC
2638 and footnote/citation backlinks.
2639 - Added support for optional footnote/citation backlinks.
2640 - Added support for generic bibliographic fields.
2641 - Identify backrefs.
2642 - Relative URLs for stylesheet links.
2644 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2645 PEPs (subclass of ``html4css1.Writer``).
2647 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2649 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2650 of the Docutils internal doctree in XML.
2652 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2656 - Changed the title to "The Docutils Document Tree".
2657 - Added "Hyperlink Bookkeeping" section.
2659 * spec/docutils.dtd:
2661 - Added ``decoration``, ``header``, and ``footer`` elements.
2662 - Brought ``interpreted`` element in line with the parser: changed
2663 attribute "type" to "role", added "position".
2664 - Added support for generic bibliographic fields.
2666 * spec/notes.txt: Continual updates. Added "Project Policies".
2668 * spec/pep-0256.txt: Updated. Added "Roadmap to the Doctring PEPs"
2671 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2673 * spec/pep-0258.txt: Updated. Added text from pysource.txt and
2674 mailing list discussions.
2676 * spec/pep-0287.txt:
2678 - Renamed to "reStructuredText Docstring Format".
2680 - Reworked Q&A as an enumerated list.
2681 - Converted to reStructuredText format.
2683 * spec/pysource.dtd:
2685 - Reworked structural elements, incorporating ideas from Tony Ibbs.
2687 * spec/pysource.txt: Removed from project. Moved much of its contents
2690 * spec/rst/alternatives.txt:
2692 - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2693 - Added "Inline External Targets" section.
2695 * spec/rst/directives.txt:
2697 - Added "backlinks" attribute to "contents" directive.
2699 * spec/rst/problems.txt:
2701 - Updated the Enumerated List Markup discussion.
2702 - Added new alternative table markup syntaxes.
2704 * spec/rst/reStructuredText.txt:
2706 - Clarified field list usage.
2707 - Updated enumerated list description.
2708 - Clarified purpose of directives.
2709 - Added ``-/:`` characters to inline markup's start string prefix,
2710 ``/`` to end string suffix.
2711 - Updated "Authors" bibliographic field behavior.
2712 - Changed "inline hyperlink targets" to "inline internal targets".
2713 - Added "simple table" syntax to supplement the existing but
2714 newly-renamed "grid tables".
2715 - Added cautions for anonymous hyperlink use.
2716 - Added "Dedication" and generic bibliographic fields.
2718 * test: Made test modules standalone (subdirectories became packages).
2720 * test/DocutilsTestSupport.py:
2722 - Added support for PEP extensions to reStructuredText.
2723 - Added support for simple tables.
2724 - Refactored naming.
2726 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2728 - Now supports true packages containing test modules
2729 (``__init__.py`` files required); fixes duplicate module name bug.
2731 * test/test_pep/: Subpackage added to project; PEP testing.
2733 * test/test_rst/test_SimpleTableParser.py: Added to project.
2737 - Updated html.py and publish.py front-end tools to use the new
2738 command-line processing facilities of ``docutils.frontend``
2739 (exposed in ``docutils.core.Publisher``), reducing each to just a
2741 - Added ``locale.setlocale()`` calls to front-end tools.
2743 * tools/buildhtml.py: Added to project; batch-generates .html from all
2744 the .txt files in directories and subdirectories.
2746 * tools/default.css:
2748 - Added support for ``header`` and ``footer`` elements.
2749 - Added styles for "Dedication" topics (biblio fields).
2751 * tools/docutils.conf: A configuration file; added to project.
2753 * tools/docutils-xml.py: Added to project.
2755 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2757 * tools/pep-html-template: Added to project.
2759 * tools/pep2html.py: Added to project from Python (nondist/peps).
2760 Added support for Docutils (reStructuredText PEPs).
2762 * tools/quicktest.py:
2764 - Added the ``--attributes`` option, hacked a bit.
2765 - Added a second command-line argument (output file); cleaned up.
2767 * tools/stylesheets/: Subdirectory added to project.
2769 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2772 Release 0.1 (2002-04-20)
2773 ========================
2775 This is the first release of Docutils, merged from the now inactive
2776 reStructuredText__ and `Docstring Processing System`__ projects. For
2777 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2778 `DPS HISTORY`__ files.
2780 __ http://structuredtext.sourceforge.net/
2781 __ http://docstring.sourceforge.net/
2782 __ http://structuredtext.sourceforge.net/HISTORY.html
2783 __ http://docstring.sourceforge.net/HISTORY.html
2785 General changes: renamed 'dps' package to 'docutils'; renamed
2786 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2787 the test suites (reStructuredText's test/test_states renamed to
2788 test/test_rst); and all modifications required to make it all work.
2790 * docutils/parsers/rst/states.py:
2792 - Improved diagnostic system messages for missing blank lines.
2793 - Fixed substitution_reference bug.
2799 indent-tabs-mode: nil
2800 sentence-end-double-space: t