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.
21 - Dropped support for Python 2.3.
22 - ``docutils/math``, ``docutils/error_reporting.py``, and
23 ``docutils/urischemes.py`` moved to the utils package.
27 - FileInput/FileOutput: no system-exit on IOError. The `handle_io_errors`
28 option is ignored and will be removed in a future release.
30 * docutils/writers/manpage.py
32 - Apply [3527401] addmonition's don't preserve indentation
33 - Apply [3527397] Add indentation to literal blocks in manpage writer.
36 Release 0.9.1 (2012-06-17)
37 ==========================
41 - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
42 installed in the PYTHONPATH. Converted tests are now
43 stored in ``test3/``, tools no longer need conversion.
45 If you installed one of Docutils versions 0.7 ... 0.9 with
46 ``setup.py install`` under Python 3, remove the spurious
47 ``test/`` and ``tools/`` directories in the site library root.
51 - Make tests independent from the location of the ``test/`` directory.
52 - Use converted sources (from the ``build/`` directory) for tests under
57 - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
61 - Fix writing binary data to sys.stdout under Python 3 (allows
62 ``rst2odt.py`` to be used with output redirection).
64 * docutils/parsers/rst/directives/misc.py
66 - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
67 ``locale == C`` and 8-bit char in path argument of `include` directive.
69 * docutils/test/alltests.py
71 - class `Tee`: catch UnicodeError when writing to "ascii" stream or
74 Release 0.9 (2012-05-02)
75 ========================
79 - New reStructuredText "code" role and directive and "code" option
80 of the "include" directive with syntax highlighting by Pygments_.
81 - Fix parse_option_marker for option arguments containing ``=``.
82 - Fix [ 2993756 ]: import Python Imaging Library's Image module
83 via ``import PIL`` as starting with PIL 1.2,
84 "PIL lives in the PIL namespace only" (announcement__).
86 .. _Pygments: http://pygments.org/
87 __ http://mail.python.org/pipermail/image-sig/2011-January/006650.html
91 - Fix [ 2971827 ] and [ 3442827 ]
92 extras/roman.py moved to docutils/utils/roman.py
94 * docutils/frontend.py
96 - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
100 - Fix [ 3395948 ] (Work around encoding problems in Py3k).
101 - `mode` argument for FileOutput avoids code replication in
103 - New exceptions InputError and OutputError for IO errors in
104 FileInput/FileOutput.
108 - No "hard" system exit on file IO errors: catch and report them in
109 `Publisher.reportException` instead. Allows handling by a calling
110 application if the configuration setting `traceback` is True.
112 * docutils/utils.py -> docutils/utils/__init__.py
114 - docutils.utils is now a package (providing a place for sub-modules)
116 .. note:: docutils/math, docutils/error_reporting.py, and
117 docutils/urischemes.py will move to the utils package in the next
118 release, too. See RELEASE-NOTES__
120 __ RELEASE-NOTES.html
122 - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
123 errors recording non-ASCII filenames (fixes [ 3434355 ]).
125 - Fix relative_path() with source=None and `unicode` target.
127 * docutils/parsers/rst/states.py
129 - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
130 characters and "international" quotes around inline markup.
131 - Use `field_marker` pattern to look for start of a
132 directive option block (fixes [ 3484857 ]).
134 * docutils/parsers/rst/tableparser.py
136 - Fix [ 2926161 ] for simple tables.
137 (Combining chars in grid tables still contribute to cell width.)
139 * docutils/writers/latex2e/__init__.py
141 - Support the `abbreviation` and `acronym` standard roles.
142 - Record only files required to generate the LaTeX source as dependencies.
143 - Fix handling of missing stylesheets.
144 - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
145 when suppressing LaTeX section numbering.
146 - Use ``\DUtitle`` for unsupported section levels
147 - Apply [ 3512791 ] do not compare string literals with "is"
149 * docutils/writers/xetex/__init__.py
151 - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
153 * docutils/writers/html4css1/__init__.py
155 - Change default for `math-output` setting to MathJax.
156 - Fix handling of missing stylesheets.
158 * docutils/writers/docutils_xml.py
160 - Use the visitor pattern with default_visit()/default_depart() methods
161 instead of minidom to facilitate special handling of selected nodes.
162 - Support raw XML (inserted as-is inside a <raw></raw> node).
164 * docutils/writers/manpage.py
166 - Do not emit comment line with trailing blank. Problematic for VCS.
168 Release 0.8.1 (2011-08-30)
169 ==========================
173 - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
174 and [ 3395920 ] (correct copyright info for rst.el).
178 - Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
180 * docutils/writers/latex2e/__init__.py
182 - Clean up Babel language setting. Restores Sphinx compatibility.
184 Release 0.8 (2011-07-07)
185 ========================
189 - Handle language codes according to `BCP 47`_.
190 - If the specified language is not supported by Docutils,
191 warn and fall back to English.
192 - Math support: reStructuredText "math" role and directive,
193 ``math`` and ``math_block`` doctree elements.
194 - Decode command line arguments with the locale's preferred encoding
195 (to allow, e.g., ``--title=Dornröschen``).
196 - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
197 - New sub-module `error_reporting`: handle encoding/decoding errors
198 when reporting exceptions.
199 - Some additions to the Docutils core are released under the 2-Clause BSD
200 license, see COPYING_ for details.
202 .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
203 .. _COPYING: COPYING.html
207 - Most directives now support a "name" option that attaches a
210 - Directive content may start on the first line also when the directive
211 type accepts options.
213 * docs/dev/policies.txt:
215 - Recommend the 2-Clause BSD license
216 (http://www.spdx.org/licenses/BSD-2-Clause)
217 for code that is kept under the author's copyright.
219 * tools/buildhtml.py:
221 - Fix ``--local`` switch.
223 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
225 * docutils/writers/html4css1/__init__.py
227 - Set "lang" argument for objects with class argument
228 "language-<language tag>".
229 - New setting "math-output" with support for HTML, MathML, and LaTeX.
231 * docutils/writers/latex2e/__init__.py
233 - Fix [ 3043986 ] AttributeError using :local: with table of content.
234 - Place title data in the document preamble.
235 - Load `babel` package only if required.
236 - Update list of supported languages.
237 - New config setting "hyperref-options".
238 No hard-coded "unicode" hyperref option (clash with xetex).
239 - Set language for custom roles, paragraphs, block-quotes, and
240 line-quotes with class argument "language-<language tag>".
241 - Fix [ 3095603 ] wrong quotes output for russian and other languages.
242 - Convert image URI to a local file path.
243 - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
244 has more than one paragraph (Wolfgang Scherer).
245 - \leavevmode before longtable only when needed (prevents spurious vspace)
246 - do not advance table counter for tables without caption
248 * docutils/writers/xetex/__init__.py
250 - New writer generating LaTeX code for compiling with ``xelatex``.
252 A separate writer (inheriting from latex2e) instead of a ``--xetex``
253 option allows separate config options for XeTeX vs. LaTeX2e.
255 * docutils/writers/manpage.py
257 - Fix: BUG#3219183 - vertical space in definition lists containing markup.
258 - Fix: vertical space cleaning for option group ``.``.
260 * tools/editors/emacs/rst.el:
262 - Fix [ 3001100 ] does not handle spaces in filenames
263 (thanks to Jakub Wilk)
267 - strip whitespace from stylesheet arguments
268 - exclude combining chars from column_width()
269 (partial fix for [ 2926161 ])
271 * docutils/parsers/rst/directives/misc.py:
273 - Fix [ 1830389 ] Replace not breaking on getting system_messages from
278 - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
279 ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
281 Release 0.7 (2010-07-07)
282 ========================
286 - Fix [ 2881769 ] setup configuration.
287 - Fix [ 2788716 ] reporting problems in included files.
291 - FileInput opens files as text files with universal newline support
292 (mode "rU", configurable with the new optional argument "mode").
296 - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
300 - Fix [ 2923723 ] let decode_path() tolerate path == None
302 * docutils/writers/html4css1/__init__.py
304 - Support SVG and SWF images (thanks to Stefan Rank).
305 - Generate valid XHTML for centered images with targets.
306 Use CSS classes instead of "align" tags for image alignment.
308 * docutils/writers/latex2e/__init__.py
310 - Use `transforms.writer_aux.Admonitions` to "normalize" special
312 - Use the ``\url`` command for URLs (breaks long URLs instead of
313 writing into the margin).
314 - Preserve runs of spaces in `inline literals`__.
315 - Deprecate ``figure_footnotes`` setting.
316 - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
317 - New ``latex_preamble`` setting.
318 - Use PDF standard fonts (Times/Helvetica/Courier) as default.
319 - Fix hyperlink targets (labels) for images, figures, and tables.
320 - Apply [ 2961988 ] Load babel after inputenc and fontenc.
321 - Apply [ 2961991 ] Call hyperref with unicode option.
322 - Drop the special `output_encoding`__ default ("latin-1").
323 The Docutils wide default (usually "UTF-8") is used instead.
324 - Render inline markup in document title and subtitle.
325 - Fix numbering depth with LaTeX section numbering.
326 - Update Unicode -> LaTeX translations.
327 - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
329 __ docs/ref/restructuredtext.html#inline-literals
330 __ docs/user/config.html#docutils-footnotes
331 __ docs/user/config.html#output_encoding
333 * docutils/writers/manpage.py
335 - Fix: supported attribute (thanks to peter2108).
336 - Remove trailing blanks in code (keep in sync with mercurial version).
337 - Titles level 1, that is ``.SH``, always uppercase.
338 - Apply patch from mg: literal text should be bold in man-pages.
342 - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
347 - Python 3 support: copy test/ and tools/ to the build-dir
348 and convert Python sources with 2to3.
351 Release 0.6 (2009-10-11)
352 ========================
356 - Docutils is now compatible with Python versions from 2.3 up to 2.6
357 and convertible to 3.1 code.
359 + Node.__nonzero__ returns True instead of 1.
360 + use os.walk instead os.path.walk.
361 + minimize "types" module where possible.
362 + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
363 + Text nodes now subclass unicode rather than UserString
364 (which is gone in python 3.0).
365 + 3.0 compatibility module docutils._compat
367 + Drop 2.2 compatibility workarounds.
368 + Drop extras/optparse.py and extras/textwrap.py
369 (stdlib modules since 2.3).
371 - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
372 - Unix man page export: manpage writer moved from sandbox to Doctutils
375 - Apply [ 1719345 ] Galician translation
376 - Apply [ 1905741 ] Polish translation
377 - Apply [ 1878977 ] make_id(): deaccent characters.
378 - Apply [ 2029251 ] return nonzero when tests fail.
379 - Fix [ 1692788 ] allow UTF-8 in style sheets.
380 - Fix [ 2781629 ] support non-ASCII chars in file names.
381 - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
382 - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
383 - Fix [ 2821266 ] --strict option works now like --halt=info.
384 - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
385 - Fix [ 1627229 ] hyperlink references in substitutions.
387 - The "newlatex" writer is orphaned.
391 - Documented Unicode characters allowed as inline markup openers,
392 closers, and delimiters.
393 - Allow units for all length specifications.
394 - Allow percent sign in "scale" argument of "figure" and "image" directives.
395 - Bugfix: The "figalign" argument of a figure now works as intended
396 (aligning the figure, not its contents).
397 - Align images with class "align-[right|center|left]"
398 (allows setting the alignment of an image in a figure).
402 - Added ``Element.__contains__`` method, for the in-operator.
404 * docutils/parsers/rst/states.py:
406 - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
407 - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
408 " " (non-breaking space), and "¡ ¿" openers.
410 * docutils/parsers/directives/misc.py:
412 - Added ``start-line`` and ``end-line`` options to "include"
413 directive to select a range of lines.
414 - Hard tabs in literal inclusions are replaced by spaces. This is
415 configurable via the new ``tab-width`` option of the "include" directive
416 (a negative tab-width prevents tab expansion).
420 - Add ``get_stylesheet_list`` function.
421 - Apply [ 2834836 ] print info at halt
423 * docutils/transforms/universal.py:
425 - Raise default priority of StripClasses to exclude stripped classes from
428 * docutils/writers/html4css1/__init__.py:
430 - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
431 separated list of stylesheets.
432 - Address [ 1938891 ] Inline literal text creates "pre" span only when
433 needed to prevent inter-word line wraps.
434 - Use `translate` method instead of repeated `replace` calls.
435 - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
436 classes to allow CSS styling that does not interfere with other
437 table-using constructs (field lists, citations, ...).
439 * docutils/writers/newlatex2e/__init__.py:
441 - Apply [ 1612821 ] Double quotes in literal text in Italian/German
443 * docutils/writers/latex2e/__init__.py (see also
444 `<docs/user/docutils-05-compat.sty.html>`__) :
446 - Add ``--embed-stylesheet`` option.
447 - Apply [ 1474017 ] image vertical alignment is reversed.
448 - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
449 - Change: has_key for dictionaries (not Nodes) to in-operator.
450 - Merge adjacent citations into one latex cite command.
451 - Failsave implementation of custom roles. LaTeX compilation now ignores
452 unknown classes instead of aborting with an error.
453 - Support custom roles based on standard roles.
454 - LaTeX packages can be used as ``--stylesheet`` arguments without
455 restriction. (A style sheet is now referenced with the ``\usepackage``
456 command, if it ends with ``.sty`` or has no extension.)
457 - Add ``bp`` to lenghts without unit (prevents LaTex errors).
458 - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
459 - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
460 2005-02-04 as a configurable length unit).
461 - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
462 if font-encoding is set to ''. LaTeX defaults to OT1 then.
463 - Set sub- and superscript role argument in text mode not as math.
464 Use a custom role based on sub-/superscript if you want italic shape.
465 - Shorter preamble and less dependencies: Load packages and define macros
466 only if required in the document.
467 - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
468 - New custom environments and commands with optional "classes" argument.
469 - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
470 - Better conformance to Docutils specifications with ``--use-latex-toc``.
471 Support for LaTeX generated ToC also with unnumbered sections.
472 - If 'sectnum_xform' is False, the 'sectnum' directive triggers
473 section numbering by LaTeX.
474 - Use default font in admonitions and sidebar.
475 - Align of image in a figure defaults to 'center'.
476 - Bugfix: Newlines around targets and references prevent run-together
478 - Fix internal hyperlinks.
479 - Use class defaults for page margins ('typearea' now optional).
480 - Float placement made configurable, default changed to "here definitely".
481 - Typeset generic topic as "quote block with title".
482 - Use template (file and configuration option).
483 - In the default template, load cmap.sty (fix text extraction in PDF) and
484 fixltx2e.sty (LaTeX patches, \textsubscript).
485 - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
486 - Use `translate` instead of repeated `replace` calls for text encoding.
487 - Hyperlinked footnotes and support for symbol footnotes and
488 ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
489 - Complete pairs of binary options
490 (``--figure-footnotes, --figure-citations, --link-stylesheet``,
491 ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
493 - font-encoding: "T1" (formerly implicitely set by 'ae').
494 - use-latex-toc: true (ToC with page numbers).
495 - use-latex-footnotes: true (no mixup with figures).
497 * docutils/writers/manpage.py
499 - Do not print version at document end, this is done by the viewer.
500 - Do not print date at document end, this is done by the viewer.
501 - Fix storage of docinfo fields for none standard fields.
503 * docutils/tools/rst2man.py
505 Release 0.5 (2008-06-25)
506 ========================
508 * docutils/languages/he.py: Added to project: Hebrew mappings by
511 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
512 mappings by Meir Kriheli.
514 * docutils/frontend.py:
516 - Configuration files are now assumed and required to be
518 - Paths of applied configuration files are now recorded in the
519 runtime setting ``_config_files`` (accessible via
520 ``--dump-settings``).
521 - Added ``--strip-elements-with-class`` and ``--strip-class``
522 options (``strip_elements_with_classes`` and ``strip_classes``
527 - Added code to determine the input encoding from data: encoding
528 declarations or the presence of byte order marks (UTF-8 & UTF-16).
529 - Added support for IronPython 1.0.
533 - Added ``document.__getstate__`` method, for pickling.
535 * docutils/parsers/rst/states.py:
537 - Allow ``+`` and ``:`` in reference names.
538 - Unquoted targets beginning with an underscore (``.. __target:
539 URI``) are no longer accepted.
540 - Added support for multiple attributions in a physical block quote
541 (indented text block), dividing it into multiple logical block
543 - Added support for unicode bullets in bullet lists: "•", "‣", and
545 - Added support for new object-oriented directive interface,
546 retaining compatibility to the old functional interface.
547 - Added support for throwing ``DirectiveError``'s from within
550 * docutils/parsers/rst/__init__.py:
552 - Added ``Directive`` base class.
553 - Added ``DirectiveError`` base class.
554 - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
557 * docutils/parsers/directives/:
559 - Refactored all reStructuredText directives to use the new
560 object-oriented directive interface. Errors are now (mostly)
561 thrown using the new ``DirectiveError`` class.
563 * docutils/parsers/directives/misc.py:
565 - Added ``start-after`` and ``end-before`` options to ``include``
566 directive; thanks to Stefan Rank.
568 * docutils/transforms/universal.py:
570 - Added ``StripClassesAndElements`` transform to remove from the
571 document tree all elements with classes in
572 ``settings.strip_elements_with_classes`` and all "classes"
573 attribute values in ``self.document.settings.strip_classes``.
575 * docutils/transforms/writer_aux.py:
577 - Added ``Admonitions`` transform to transform specific admonitions
578 (like ``note``, ``warning``, etc.) into generic admonitions with a
581 * docutils/writers/html4css1/__init__.py:
583 - Moved template functionality from the PEP/HTML writer here.
584 - Expanded the fragments available in the ``parts`` attribute.
585 - Moved ``id`` attributes from titles to surrounding ``div``
587 - Dropped all ``name`` attributes of ``a`` elements (``id`` is
588 universally supported now).
589 - ``template.txt`` is now opened in text mode instead of binary mode
590 (to ensure Windows compatibility).
591 - ``a`` elements now have an "internal" or "external" class,
592 depending on reference type.
594 * docutils/writers/html4css1/template.txt: Added to project.
596 * docutils/writers/pep_html/:
598 - Moved template functionality to the HTML writer.
600 * docutils/writers/s5_html/__init__.py:
602 - Added ``view_mode`` & ``hidden_controls`` settings
603 (``--view-mode`` & ``--hidden-controls/--visible-controls``
606 * docutils/writers/latex2e/__init__.py:
608 - Add ``--literal-block-env``
609 - Fix: escaping ``%`` in href urls.
610 - Move usepackage hyperref after stylesheet inclusion.
611 - Fix: scrartcl does not have chapter but scrreprt.
612 - Add newline after ``\end{verbatim}``.
613 - Merge smaller differences from latex2e_adaptive_preamble.
614 - Add ``use-part-section``.
615 - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
616 - Using leavemode option_list no longer needs to check if parent
617 is a definition list.
618 - Append ``\leavemode`` to definition list terms.
619 - No longer write visit\_/depart_definition_list_item comments to
621 - Table column width with 3 decimal places.
622 - Add table stubs support (boldfont).
623 - Add assemble_parts to writer.
624 - Add simply support for nested tables.
625 - Fix verbatim in tables if use-verbatim-when-possible.
626 - Use section commands down to subparagraph.
627 - Put ensuremath around some latin1 chars.
628 - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
629 - New option ``--use-bibtex=style,db1,db2``.
630 - New option ``--reference-label`` to allow usage of LaTeX ref for
631 labels in section references.
632 - Add a label after every section to support sectionnumbers as reference
634 - Fix: bug# 1605376 rst2latex: bad options group list
635 - Remove inactive code for use_optionlist_for_option_list.
636 - Remove latex comments from option_list output.
637 - Fix: bug# 1612270 double qoutes in italian literal.
638 - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
639 - Add option --use-latex-abstract.
640 - Image width unit ``px`` is translated to ``pt``.
641 - Add image height support.
642 - Fix: image width ``70%`` is converted ``0.700\linewidth``.
644 - Fix: Do not escape underscores in citation reference labels if
645 use-latex-citations is set.
646 - Use centering instead of center for figure contents, to avoid vertical
648 - Recognize table class: borderless, nolines, booktabs, standard.
649 - Fix: Renaming contents section does not work with latex writer; SF
651 - Applied patch for custom roles with classes from Edward Loper.
652 - Fixed bug that caused crashes with more than 256 lists.
654 * docutils/writers/pep_html/__init__.py:
656 - Changed to support new python.org website structure and
659 * docs/howto/security.txt: "Deploying Docutils Securely", added to
662 * tools/buildhtml.py:
664 -- Added ``ignore`` setting to exclude a list of shell patterns
665 (default: ``.svn:CVS``).
667 * tools/editors/emacs/rst.el:
669 - Changed license to "GPL".
670 - Added ``rst-straighten-decorations`` function.
671 - The ``compile`` module is now always loaded.
672 - Added ``rst-toggle-line-block`` function.
673 - Headings consisting only of non-ASCII characters are now
674 recognized by ``rst-toc`` and ``rst-adjust``.
675 - Added font-lock support for multi-line comments where the first
676 comment line is empty.
677 - Added ``(require 'font-lock)``.
681 - Provide descriptive error message if distutils is missing.
684 Release 0.4 (2006-01-09)
685 ========================
689 - Updated the project policies for trunk/branch development &
692 * docutils/__init__.py:
694 - Added ``__version_details__`` attribute to describe code source
695 (repository/snapshot/release).
696 - Replaced ``default_transforms`` attribute of TransformSpec with
697 ``get_transforms()`` method.
701 - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
702 functions, for document tree extraction and reprocessing.
706 - Added ``DocTreeInput`` class, for reprocessing existing documents.
707 - Added support for non-Unicode (e.g. binary) writer output.
711 - Re-introduced ``Targetable.indirect_reference_name``, for
712 MoinMoin/reST compatibility (removed in r3124/r3129).
713 - Added ``serial_escape`` function; escapes string values that are
714 elements of a list, for serialization. Modified Docutils-XML
715 writing (``Element._dom_node``) and pseudo-XML writing
716 (``Element.starttag``) to use ``serial_escape``.
717 - Added ``Node.deepcopy()`` method.
718 - Removed the internal lists ``document.substitution_refs``,
719 ``document.anonymous_refs``, and ``document.anonymous_targets``.
720 - Added a "container" element.
721 - Fixed bug where values of list-valued attributes of elements
722 originating from custom interpreted text roles (i.e., with custom
723 classes) were being shared between element instances. Reported by
726 * docutils/statemachine.py:
728 - Added trailing whitespace stripping to ``string2lines()``.
729 - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
730 Asian double-width character support.
734 - Added ``east_asian_column_width()`` for double-width character
737 * docutils/languages/ja.py: Added to project: Japanese mappings by
740 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
741 mappings by Panjunyong.
743 * docutils/parsers/null.py: Added to project; a do-nothing parser.
745 * docutils/parsers/rst/__init__.py:
747 - Added validator to tab_width setting, with test. Closes SF bug
748 #1212515, report from Wu Wei.
750 * docutils/parsers/rst/states.py:
752 - Fixed bug with escaped colons indicating a literal block.
753 - Fixed bug with enumerated lists (SF#1254145).
754 - Backslash-escaped colons inside of field names are now allowed.
755 - Targets (implicit and explicit), anonymous hyperlink references
756 and auto-numbered footnote references inside of substitution
757 definitions are now disallowed.
758 - Fixed bug: list items with blank first lines.
759 - Fixed bug: block quote attributions with indented second lines.
760 - Added East Asian double-width character support (Python 2.4 only).
762 * docutils/parsers/rst/tableparser.py:
764 - Added East Asian double-width character support (Python 2.4 only).
766 * docutils/parsers/rst/directives/body.py:
768 - Added the "container" directive.
770 * docutils/parsers/rst/directives/misc.py:
772 - Added the "default-role", "title", and "date" directives.
773 - Added standard data file syntax to the "include" directive.
774 - Added support for "class" directive content.
776 * docutils/parsers/rst/directives/images.py:
778 - Added ``indirect_reference_name`` support for images with a target
780 - Added support for image width and height units.
781 - Fixed bug with image "target" options.
783 * docutils/parsers/rst/directives/references.py:
785 - Added "class" attribute to "target-notes" directive, for
786 footnote_reference classes.
788 * docutils/parsers/rst/include/: Directory added to project; contains
789 standard data files for the "include" directive. Initial contents:
790 character entity substitution definition sets, and a set of
791 definitions for S5/HTML presentations.
793 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
794 mappings by David Goodger.
796 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
797 Simplified Chinese mappings by Panjunyong.
799 * docutils/readers/__init__.py:
801 - Added universal.Decorations and universal.ExposeInternals
802 transforms as default transforms for all readers.
803 - Added ``ReReader`` base class for readers that reread an existing
806 * docutils/readers/doctree.py: Added to project; a reader for existing
809 * docutils/transforms/frontmatter.py:
811 - Fixed the DocInfo transform to handle SVN-style expansion of the
813 - In ``DocInfo.extract_authors``, treat the contents of "authors"
816 * docutils/transforms/misc.py:
818 - Added misc.Transitions transform, extracted from
819 universal.FinalChecks.
821 * docutils/transforms/references.py:
823 - Added references.DanglingReferences transform, extracted from
824 universal.FinalChecks.
825 - Fixed bug with doubly-indirect substitutions.
826 - Added footnote_reference classes attribute to "TargetNotes".
827 - Fixed bug with circular substitution definitions that put Docutils
828 into an infinite loop.
830 * docutils/transforms/universal.py:
832 - Added universal.ExposeInternals transform, extracted from
833 universal.FinalChecks.
834 - Removed universal.FinalChecks transform (logic has been moved to
835 several new transforms).
836 - Fixed bug with the "expose_internals" setting and Text nodes
837 (exposed by the "rawsource" internal attribute).
838 - Added the universal.StripComments transform, implementation of the
839 "strip_comments" setting.
841 * docutils/transforms/writer_aux.py: Added to project; auxiliary
842 transforms for writers.
844 - Added ``Compound`` transform, which flattens compound paragraphs.
846 * docutils/writers/: Several writer modules (html4css1.py) were
847 converted into packages. Support modules and data files have been
848 moved into the packages. The stylesheets for the HTML writers are
849 now installed along with the code, the code knows where to find
850 them, and the default is to use them (actually, to embed them).
851 Some adjustments to configuration files may be necessary. The
852 easiest way to obtain the new default behavior is to remove all
853 settings whose name includes "stylesheet".
855 * docutils/writers/__init__.py:
857 - Added universal.Messages and universal.FilterMessages transforms
858 as default transforms for all writers.
859 - Added ``UnfilteredWriter`` base class for writers that pass the
860 document tree on unchanged.
862 * docutils/writers/docutils_xml.py:
864 - Made ``xmlcharrefreplace`` the default output encoding error
867 * docutils/writers/html4css1/:
869 - Added support for image width and height units.
870 - Made ``xmlcharrefreplace`` the default output encoding error
872 - Made ``--embed-stylesheet`` the default rather than
873 ``--link-stylesheet``.
874 - Moved "id" attribute from container (section etc.) to title's <a>
875 tag, to be on the same tag as "name".
876 (!!! To be reverted in Docutils 0.5.)
877 - Added vertical space between fields of field lists.
878 - Added ``--compact-field-lists`` option to remove vertical space in
880 - Made cloaking of email addresses with ``--cloak-email-addresses``
882 - Fixed support for centered images.
883 - Added support for class="compact" & class="open" lists.
885 * docutils/writers/latex2e/:
887 - Underscores in citekeys are no longer escaped.
889 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
890 mapping of Unicode characters to LaTeX equivalents.
892 * docutils/writers/s5_html/: Package added to project; writer for
895 * docs/dev/distributing.txt: Added to project; guide for distributors
896 (package maintainers).
898 * docs/dev/hacking.txt: Added to project; guide for developers.
900 * docs/ref/doctree.txt:
902 - Updated for plural attributes "classes", "ids", "names",
904 - Added the "container" element.
906 * docs/ref/docutils.dtd:
908 - Updated for plural attributes "classes", "ids", "names",
911 * docs/user/emacs.txt: Added to project; a document about Emacs
912 support for reStructuredText and Docutils.
914 * docs/user/links.txt: Added to project; lists of Docutils-related
917 * docs/user/mailing-lists.txt: Added to project; information about
918 Docutils-related mailing lists and how to access them.
920 * docs/user/slide-shows.txt: Added to project; example of and docs for
921 the S5/HTML writer (``rst2s5.py`` front end).
923 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
924 Files", added to project.
926 * test/coverage.sh: Added to project; test coverage script.
928 * test/DocutilsTestSupport.py:
930 - Added support for specifying runtime settings at the suite level.
932 * test/test_functional.py:
934 - Added the ``clear_output_directory`` function.
935 - Added support for ``_test_more`` functions in functional test
938 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
940 * tools/rstpep2html.py: Renamed from pep.py.
942 * tools/dev/create_unimap.py: Added to project; script to create the
943 docutils/writers/unimap_latex.py mapping file.
945 * tools/dev/profile_docutils.py: Added to project; profiler script.
947 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
949 * tools/editors/emacs/restructuredtext.el,
950 tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
951 Removed from project; the functionality is now contained in rst.el.
953 * tools/editors/emacs/rst.el: Added to project. Added many features
954 and fixed many bugs. See docs/user/emacs.txt for details.
956 * tools/stylesheets: Removed from project. Stylesheets have been
957 renamed and moved into writer packages.
960 Release 0.3.9 (2005-05-26)
961 ==========================
965 - Eliminated and replaced all uses of the old string attributes
966 ``id``, ``name``, ``dupname`` and ``class`` with references to the
967 new list attributes ``ids``, ``names``, ``dupnames`` and
968 ``classes`` throughout the whole source tree.
972 - Enabled ``--dump-*`` options when ``--traceback`` specified,
973 allowing for easier debugging.
974 - In ``Publisher.publish()``, expanded the generic top-level
977 * docutils/examples.py:
979 - Added ``internals`` function for exploration.
983 - Fixed ``Input.decode`` method to apply heuristics only if no
984 encoding is explicitly given, and to provide better reporting of
986 - The ``Input.decode`` method now removes byte order marks (BOMs)
991 - ``image`` element class changed to subclass of Element, not
992 TextElement (it's an empty element, and cannot contain text).
993 - Added ``attr_defaults`` dictionary for default attribute values.
994 - Added empty list as default value for the following attributes:
995 ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
996 - Added ``document.decoration`` attribute,
997 ``document.get_decoration`` method, and ``decoration.get_header``
998 & ``.get_footer`` methods.
999 - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
1002 * docutils/utils.py:
1004 - Removed ``docutils.utils.Reporter.categories``,
1005 ``docutils.utils.ConditionSet``, and all references to them, to
1006 simplify error reporting.
1008 * docutils/languages/nl.py: Added to project; Dutch mappings by
1011 * docutils/parsers/rst/__init__.py:
1013 - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
1015 * docutils/parsers/rst/states.py:
1017 - Added check for escaped at-mark to prevent email address recognition.
1018 - Fixed option lists to allow spaces inside ``<angle-bracketed option
1020 - Allowed whitespace in paths and URLs.
1021 - Added auto-enumerated list items.
1022 - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
1024 - Added support for table stub columns.
1026 * docutils/parsers/rst/directives/__init__.py:
1028 - Allowed whitespace in paths (``path`` function).
1029 - Added ``uri`` directive option conversion function.
1031 * docutils/parsers/rst/directives/body.py:
1033 - Fixed illegal context bug with "topic" directive (allowed within
1034 sidebars; not within body elements).
1036 * docutils/parsers/rst/directives/images.py:
1038 - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
1039 - Added support for the ``file_insertion_enabled`` setting in the
1040 "figure" directive (disables "figwidth" option).
1041 - "image" directive: added checks for valid values of "align" option,
1042 depending on context. "figure" directive: added specialized
1043 "align" option and attribute on "figure" element.
1044 - Made ":figwidth: image" option of "figure" directive work again.
1045 - Fixed bug with reference names containing uppercase letters
1046 (e.g. ``Name_``) in "target" option of "image" directive.
1048 * docutils/parsers/rst/directives/misc.py:
1050 - Fixed "include" and "raw" directives to catch text decoding
1052 - Allowed whitespace in "include" & "raw" directive paths.
1053 - Added support for ``file_insertion_enabled`` & ``raw_enabled``
1054 settings in "include" & "raw" directives.
1056 * docutils/parsers/rst/directives/parts.py:
1058 - Added "header" & "footer" directives.
1059 - Fixed illegal context bug with "contents" directive (topics
1060 allowed within sidebars; not within body elements).
1062 * docutils/parsers/rst/directives/tables.py:
1064 - Added "list-table" directive.
1065 - Caught empty CSV table bug.
1066 - Added support for the ``file_insertion_enabled`` setting in the
1067 "csv-table" directive.
1068 - Added ``stub-columns`` option to "csv-table" and "list-table"
1071 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1072 mappings by Martijn Pieters.
1074 * docutils/readers/standalone.py:
1076 - Added ``--section-subtitles`` and ``--no-section-subtitles``
1077 options to activate or deactivate the SectSubTitle transform.
1079 * docutils/transforms/frontmatter.py:
1081 - Added SectSubTitle transform to promote titles of lone
1082 subsections to subtitles.
1084 * docutils/transforms/references.py:
1086 - Fixed mislocated internal targets bug, by propagating internal
1087 targets to the next node, making use of the newly added support
1088 for multiple names and IDs.
1089 - Fixed duplicate footnote label bug.
1090 - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1093 * docutils/writers/html4css1.py:
1095 - Fixed unencoded stylesheet reference bug (characters like "&" in
1096 stylesheet references).
1097 - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1099 - Added support for multiple IDs per node by creating empty ``span``
1101 - Added the ``field_name_limit`` & ``option_limit`` settings &
1103 - Added support for table stub columns.
1104 - Added support for the ``align`` attribute on ``figure`` elements.
1105 - Added the ``cloak_email_addresses`` setting & support.
1106 - Added ``html_prolog``, ``html_head``, ``html_body``,
1107 ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1108 ``docutils.core.publish_parts``.
1109 - Added support for section subtitles.
1111 * docutils/writers/latex2e.py:
1113 - Fixed tables starting with more than one multirow cell.
1114 - Improved --use-latex-docinfo so that organization/contact/address
1115 fields are lumped with the last author field and appear on the
1117 - Made sure the titlepage is always shown with --use-latex-docinfo,
1118 even if the document has no title.
1119 - Made sure that latex doesn't fill in today's date if no date field
1121 - Added support for section subtitles.
1123 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1124 (under development).
1126 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1128 * docs/api/publisher.txt:
1130 - Added "``publish_parts`` Details" section.
1132 * docutils/dev/repository.txt: Added to project; information about the
1133 Docutils Subversion repository.
1135 * docs/ref/docutils.dtd:
1137 - Added a ``stub`` attribute to the ``colspec`` element via the
1138 ``tbl.colspec.att`` parameter entity.
1139 - Allowed topic elements within sidebars
1140 - Added an ``align`` attribute to the ``figure`` element.
1142 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1146 Release 0.3.7 (2004-12-24)
1147 ==========================
1149 * docutils/frontend.py:
1151 - Added options: --input-encoding-error-handler,
1152 --record-dependencies, --leave-footnote-reference-space,
1154 - Added command-line and config file support for "overrides" setting
1159 - Added support for input encoding error handler.
1161 * docutils/nodes.py:
1163 - Added dispatch_visit and dispatch_departure methods to
1164 NodeVisitor; useful as a hook for Visitors.
1165 - Changed structure of ``line_block``; added ``line``.
1166 - Added ``compound`` node class.
1167 - Added a mechanism for Visitors to transitionally ignore new node
1170 * docutils/utils.py:
1172 - Moved ``escape2null`` and ``unescape`` functions from
1173 docutils/parsers/rst/states.py.
1175 * docutils/parsers/rst/roles.py:
1178 - Changed role function API: the "text" parameter now takes
1179 null-escaped interpreted text content.
1181 * docutils/parsers/rst/states.py:
1183 - Fixed bug where a "role" directive in a nested parse would crash
1184 the parser; the state machine's "language" attribute was not being
1186 - Added support for line block syntax.
1187 - Fixed directive parsing bug: argument-less directives didn't
1188 notice that arguments were present.
1189 - Removed error checking for transitions.
1190 - Added support for multiple classifiers in definition list items.
1191 - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1192 - Changed role function API: the "text" parameter now takes
1193 null-escaped interpreted text content.
1194 - Empty sections and documents are allowed now.
1196 * docutils/parsers/rst/directives/__init__.py:
1198 - Added ``encoding`` directive option conversion function.
1199 - Allow multiple class names in class_option conversion function.
1201 * docutils/parsers/rst/directives/body.py:
1203 - Converted the line-block directive to use the new structure.
1204 - Extracted the old line-block functionality to the ``block``
1205 function (still used).
1206 - Added ``compound`` directive (thanks to Lea Wiemann).
1208 * docutils/parsers/rst/directives/misc.py:
1210 - Added "encoding" option to "include" and "raw" directives.
1211 - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1212 - Allow multiple class names in the "class" directive.
1214 * docutils/parsers/rst/directives/parts.py:
1216 - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1217 options. Thanks to Lele Gaifax.
1219 * docutils/parsers/rst/directives/tables.py:
1221 - Added "encoding" directive to "csv-table" directive.
1222 - Added workaround for lack of Unicode support in csv.py, for
1223 non-ASCII CSV input.
1225 * docutils/transforms/misc.py:
1227 - Fixed bug when multiple "class" directives are applied to a single
1229 - Enabled multiple format names for "raw" directive.
1231 * docutils/transforms/references.py:
1233 - Added support for trimming whitespace from beside substitution
1236 * docutils/transforms/universal.py:
1238 - FinalChecks now checks for illegal transitions and moves
1239 transitions between sections.
1241 * docutils/writers/html4css1.py:
1243 - HTMLTranslator.encode now converts U+00A0 to " ".
1244 - "stylesheet" and "stylesheet_path" settings are now mutually
1246 - Added support for the new line_block/line structure.
1247 - --footnote-references now overrides
1248 --trim-footnote-reference-space, if applicable.
1249 - Added support for ``compound`` elements.
1250 - Enabled multiple format names for "raw" directive.
1251 - ``<p>`` tags of a paragraph which is the only visible child of the
1252 document node are no longer stripped.
1253 - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1254 new method ``should_be_compact_paragraph()``.
1255 - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1257 - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1258 the output if they have their ``class`` attribute set.
1259 - The whole document is now surrounded by a ``<div
1260 class="document">`` element.
1261 - Body-level images are now wrapped by their own ``<div>`` elements,
1262 with image classes copied to the wrapper, and for images which
1263 have the ``:align:`` option set, the surrounding ``<div>`` now
1264 receives a class attribute (like ``class="align-left"``).
1266 * docutils/writers/latex2e.py:
1268 - no newline after depart_term.
1269 - Added translations for some Unicode quotes.
1270 - Added option "font-encoding", made package AE the default.
1271 - "stylesheet" and "stylesheet_path" settings are now mutually
1273 - --footnote-references now overrides
1274 --trim-footnote-reference-space, if applicable.
1275 - The footnote label style now matches the footnote reference style
1276 ("brackets" or "superscript").
1277 - Added support for ``compound`` elements.
1278 - Enabled multiple format names for "raw" directive.
1280 * docs/ref/docutils.dtd:
1282 - Changed structure of the ``line_block`` element; added ``line``.
1283 - Added ``compound`` element.
1284 - Added "ltrim" and "rtrim" attributes to
1285 ``substitution_definition`` element.
1286 - Enabled multiple format names for ``raw`` element.
1287 - Enabled multiple classifiers in ``definition_list_item`` elements.
1289 * docs/ref/rst/directives.txt
1291 - Marked "line-block" as deprecated.
1292 - "Class" directive now allows multiple class names.
1293 - Added "Rationale for Class Attribute Value Conversion".
1294 - Added warning about "raw" overuse/abuse.
1296 * docs/ref/rst/restructuredtext.txt:
1298 - Added syntax for line blocks.
1299 - Definition list items may have multiple classifiers.
1301 * docs/ref/rst/roles.txt:
1305 * tools/stylesheets/default.css:
1307 - Added support for the new line_block structure.
1308 - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1311 Release 0.3.5 (2004-07-29)
1312 ==========================
1316 * _`Documentation cleanup/reorganization`.
1318 - Created new subdirectories of docs/:
1320 * ``docs/user/``: introductory/tutorial material for end-users
1321 * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1322 * ``docs/api/``: API reference material for client-developers
1323 * ``docs/ref/``: reference material for all groups
1324 * ``docs/howto/``: for component-developers and core-developers
1325 * ``docs/peps/``: Python Enhancement Proposals
1327 - Moved ``docs/*`` to ``docs/user/``.
1328 - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1329 ``spec/`` to ``docs/dev``.
1330 - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1331 ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1332 - Moved ``alternatives.txt``, and ``problems.txt`` from
1333 ``spec/rst/`` to ``docs/dev/rst/``.
1334 - Moved ``reStructuredText.txt``, ``directives.txt``,
1335 ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1336 to ``docs/ref/rst/``. Renamed ``interpreted.txt`` to
1337 ``roles.txt``, ``reStructuredText.txt`` to
1338 ``restructuredtext.txt``.
1339 - Moved ``spec/howto/`` to ``docs/howto``.
1341 In order to keep the CVS history of moved files, we supplied
1342 SourceForge with a `script for modifying the Docutils CVS
1345 __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1347 After running the cleanup script:
1349 - Added ``docs/index.txt``.
1350 - Added a ``.htaccess`` file to the ``web`` module, containing
1351 redirects for all old paths to new paths. They'll preserve
1352 fragments (the "#name" part of a URL), and won't clutter up the
1353 file system, and will correct the URL in the user's browser.
1354 - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1355 ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1356 the "To Do" list itself in ``docs/dev/todo.txt``.
1357 - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1358 section of ``docs/dev/todo.txt``.
1359 - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1360 - Added "How To Report Bugs" to ``BUGS.txt``.
1361 - Went through all the sources and docs (including under web/) and
1362 updated links. Mostly done by Lea Wiemann; thanks Lea!
1363 (Still need to update links in the sandboxes.)
1367 * BUGS.txt: Added to project.
1369 * THANKS.txt: Added to project.
1371 * docutils/__init__.py:
1373 - 0.3.4: Post-release.
1377 - Added special error handling & advice for UnicodeEncodeError.
1378 - Refactored Publisher.publish (simplified exception handling &
1379 extracted debug dumps).
1380 - Renamed "enable_exit" parameter of convenience functions to
1381 "enable_exit_status".
1382 - Enabled traceback (exception propagation) by default in
1383 programmatic convenience functions.
1384 - Now publish_file and publish_cmdline convenience functions return
1385 the encoded string results in addition to their regular I/O.
1386 - Extracted common code from publish_file, publish_string, and
1387 publish_parts, into new publish_programmatically. Extracted
1388 settings code to ``Publisher.process_programmatic_settings``.
1389 - In Publisher.publish, disabled ``settings_overrides`` when
1390 ``settings`` is supplied; redundant.
1392 * docutils/frontend.py:
1394 - Added help text for "--output-encoding-error-handler" and
1395 "--error-encoding-error-handler".
1396 - Renamed "--exit" to "--exit-status".
1397 - Simplified default-setting code.
1399 * docutils/parsers/rst/__init__.py:
1401 - Added "--pep-base-url" and "--rfc-base-url" options.
1403 * docutils/parsers/rst/states.py:
1405 - Made URI recognition more aggressive and intelligent.
1407 * docutils/parsers/rst/directives/__init__.py:
1409 - Added several directive option conversion functions.
1411 * docutils/parsers/rst/directives/body.py:
1413 - Moved "table" directive to tables.py.
1415 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1418 * docutils/writers/latex2e.py:
1420 - Added "--table-style=(standard|booktabs|nolines)"
1421 - figures get "here" option (LaTeX per default puts them at bottom),
1422 and figure content is centered.
1423 - Rowspan support for tables.
1424 - Fix: admonition titles before first section.
1425 - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1426 - Replave ``_`` in literal by an underlined blank, because it has the correct
1428 - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1429 - A few unicode replacements, if output_encoding != utf
1430 - Add "--graphicx-option".
1431 - Indent literal-blocks.
1432 - Fix: omit ``\maketitle`` when there is no document title.
1434 * docs/index.txt: "Docutils Project Documentation Overview", added to
1437 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1438 Tool", added to project.
1440 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1442 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1444 * docs/dev/policies.txt: Added to project (extracted from
1445 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1447 * docs/dev/release.txt: Added to project (extracted from
1448 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1450 * docs/dev/testing.txt: Added to project.
1452 * docs/dev/website.txt: Added to project (extracted from
1453 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1455 * docs/ref/rst/directives.txt:
1457 - Added directives: "table", "csv-table".
1459 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1460 added to project. 1 page for syntax, and a 1 page reference for
1461 directives and roles. Source text to be used as-is; not meant to be
1464 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1465 with a change of title.
1467 * test/functional/, contents, and test/test_functional.py: Added to
1470 * tools/buildhtml.py: Fixed bug with config file handling.
1472 * tools/html.py: Removed from project (duplicate of rst2html.py).
1474 * tools/pep2html.py: Removed from project (duplicate of Python's
1475 nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1476 Docutils-related PEPs in docs/peps/).
1478 * tools/rst2pseudoxml.py: Renamed from publish.py.
1480 * tools/rst2xml.py: Renamed from docutils-xml.py.
1482 * tools/test.txt: Removed from project; moved to
1483 docs/user/rst/demo.txt.
1485 * setup.py: Now also installs ``rst2latex.py``.
1488 Release 0.3.3 (2004-05-09)
1489 ==========================
1491 * docutils/__init__.py:
1493 - 0.3.1: Reorganized config file format (multiple sections); see
1495 - Added unknown_reference_resolvers attribute to TransformSpec.
1496 - 0.3.2: Interpreted text reorganization.
1501 - Catch system messages to stop tracebacks from parsing errors.
1502 - Catch exceptions during processing report & exit without
1503 tracebacks, except when "--traceback" used.
1504 - Reordered components for OptionParser; application comes last.
1505 - Added "config_section" parameter to several methods and functions,
1506 allowing front ends to easily specify their config file sections.
1507 - Added publish_parts convenience function to allow access to individual
1508 parts of a document.
1510 * docutils/examples.py: Added to project; practical examples of
1511 Docutils client code, to be used as-is or as models for variations.
1513 * docutils/frontend.py:
1515 - Added "--traceback" & "--no-traceback" options ("traceback"
1517 - Implemented support for config file reorganization:
1518 ``standard_config_files`` moved from ``ConfigParser`` to
1519 ``OptionParser``; added
1520 ``OptionParser.get_config_file_settings()`` and
1521 ``.get_standard_config_settings()``; support for old "[options]"
1522 section (with deprecation warning) and mapping from old to new
1524 - Reimplemented setting validation.
1525 - Enabled flexible boolean values: yes/no, true/false, on/off.
1526 - Added ``Values``, a subclass of ``optparse.Values``, with support
1527 for list setting attributes.
1528 - Added support for new ``DOCUTILSCONFIG`` environment variable;
1529 thanks to Beni Cherniavsky.
1530 - Added "--no-section-numbering" option.
1534 - Catch IOErrors when opening source & destination files, report &
1535 exit without tracebacks. Added ``handle_io_errors`` parameter to
1536 ``FileInput`` & ``FileOutput`` to enable caller error handling.
1538 * docutils/nodes.py:
1540 - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1541 method definitions (via ``exec``) to dynamic assignments (via
1542 ``setattr``); thanks to Roman Suzi.
1543 - Encapsulated visitor dynamic assignments in a function; thanks to
1545 - Added indirect_reference_name attribute to the Targetable
1546 class. This attribute holds the whitespace_normalized_name
1547 (contains mixed case) of a target.
1549 * docutils/statemachine.py:
1551 - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1552 - Added ``StringList.get_2D_block``.
1554 * docutils/utils.py:
1556 - Added "level" attribute to SystemMessage exceptions.
1558 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1561 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1564 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1565 Marcelo Huerta San Martin.
1567 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1568 mappings by Lalo Martins.
1570 * docutils/languages/ru.py: Added to project; Russian mappings by
1573 * docutils/parsers/rst/roles.py: Added to project. Contains
1574 interpreted text role functions, a registry for interpreted text
1575 roles, and an API for adding to and retrieving from the registry.
1576 Contributed by Edward Loper.
1578 * docutils/parsers/rst/states.py:
1580 - Updated ``RSTState.nested_parse`` for "include" in table cells.
1581 - Allowed true em-dash character and "---" as block quote
1583 - Added support for <angle-bracketed> complex option arguments
1585 - Fixed handling of backslashes in substitution definitions.
1586 - Fixed off-by-1 error with extra whitespace after substitution
1587 definition directive.
1588 - Added inline markup parsing to field lists' field names.
1589 - Added support for quoted (and unindented) literal blocks.
1590 Driven in part by a bribe from Frank Siebenlist (thanks!).
1591 - Parser now handles escapes in URIs correctly.
1592 - Made embedded-URIs' reference text omittable. Idea from Beni
1594 - Refactored explicit target processing code.
1595 - Added name attribute to references containing the reference name only
1596 through whitespace_normalize_name (no case changes).
1597 - parse_target no longer returns the refname after going through
1598 normalize_name. This is now handled in make_target.
1599 - Fixed bug relating to role-less interpreted text in non-English
1601 - Reorganized interpreted text processing; moved code into the new
1602 roles.py module. Contributed by Edward Loper.
1603 - Refactored ``Body.parse_directive`` into ``run_directive`` and
1604 ``parse_directive_block``.
1606 * docutils/parsers/rst/tableparser.py:
1608 - Reworked for ``StringList``, to support "include" directives in
1611 * docutils/parsers/rst/directives/__init__.py:
1613 - Renamed ``unchanged()`` directive option conversion function to
1614 ``unchanged_required``, and added a new ``unchanged``.
1615 - Catch unicode value too high error; fixes bug 781766.
1616 - Beefed up directive error reporting.
1618 * docutils/parsers/rst/directives/body.py:
1620 - Added basic "table" directive.
1622 * docutils/parsers/rst/directives/images.py:
1624 - Added "target" option to "image" directive.
1625 - Added name attribute to references containing the reference name only
1626 through whitespace_normalize_name (no case changes).
1628 * docutils/parsers/rst/directives/misc.py:
1630 - Isolated the import of the ``urllib2`` module; was causing
1631 problems on SourceForge (``libssl.so.2`` unavailable?).
1632 - Added the "role" directive for declaring custom interpreted text
1635 * docutils/parsers/rst/directives/parts.py:
1637 - The "contents" directive does more work up-front, creating the
1638 "topic" and "title", and leaving the "pending" node for the
1639 transform. Allows earlier reference resolution; fixes subtle bug.
1641 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1642 mappings by Jannie Hofmeyr.
1644 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1645 mappings by Marek Blaha.
1647 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1648 mappings by Marcelo Huerta San Martin.
1650 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1651 Portuguese mappings by Lalo Martins.
1653 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1654 mappings by Roman Suzi.
1656 * docutils/transforms/parts.py:
1658 - The "contents" directive does more work up-front, creating the
1659 "topic" and "title", and leaving the "pending" node for the
1660 transform. Allows earlier reference resolution; fixes subtle bug.
1661 - Added support for disabling of section numbering.
1663 * docutils/transforms/references.py:
1665 - Verifying that external targets are truly targets and not indirect
1666 references. This is because we are now adding a "name" attribute to
1667 references in addition to targets. Note sure if this is correct!
1668 - Added code to hook into the unknown_reference_resolvers list for a
1669 transformer in resolve_indirect_target. This allows the
1670 unknown_reference_resolvers to keep around indirect targets which
1671 docutils doesn't know about.
1672 - Added specific error message for duplicate targets.
1674 * docutils/transforms/universal.py:
1676 - Added FilterMessages transform (removes system messages below the
1677 verbosity threshold).
1678 - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1679 to FinalCheckVisitor for application-specific handling of
1680 unresolvable references.
1681 - Added specific error message for duplicate targets.
1683 * docutils/writers/__init__.py:
1685 - Added assemble_parts method to the Writer class to allow for
1686 access to a documents individual parts.
1687 - Documented & set default for ``Writer.output`` attribute.
1689 * docutils/writers/html4css1.py:
1691 - Fixed unicode handling of attribute values (bug 760673).
1692 - Prevent duplication of "class" attribute values (bug report from
1694 - Improved table grid/border handling (prompted by report from Bob
1696 - Added support for table titles.
1697 - Added "<title />" for untitled docs, for XHTML conformance; thanks
1699 - Added functionality to keep track of individual parts of a document
1700 and store them in a dictionary as the "parts" attribute of the writer.
1701 Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1702 - Added proper support for the "scale" attribute of the "image"
1703 element. Contributed by Brent Cook.
1704 - Added ``--initial-header-level`` option.
1705 - Fixed bug: the body_pre_docinfo segment depended on there being a
1706 docinfo; if no docinfo, the document title was incorporated into
1707 the body segment. Adversely affected the publish_parts interface.
1709 * docutils/writers/latex2e.py:
1711 - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1712 about a missing file.
1713 - Added options and support: ``--compound-enumerators``,
1714 ``--section-prefix-for-enumerators``, and
1715 ``--section-enumerator-separator``. By John F Meinel Jr (SF patch
1717 - Added option ``--use-verbatim-when-possible``, to avoid
1718 problematic characters (eg, '~' in italian) in literal blocks.
1719 - It's now possible to use four section levels in the `book` and
1720 `report` LaTeX classes. The default `article` class still has
1723 * docs/config.txt: "Docutils Configuration Files", added to project.
1724 Moved config file entry descriptions from tools.txt.
1728 - Moved config file entry descriptions to config.txt.
1730 * spec/notes.txt: Continual updates. Added "Setting Up For Docutils
1733 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1734 Text Roles", added to project.
1736 * spec/rst/reStructuredText.txt:
1738 - Added description of support for <angle-bracketed> complex option
1739 arguments to option lists.
1740 - Added subsections for indented and quoted literal blocks.
1742 * test: Continually adding & updating tests.
1744 - Added test/test_settings.py & test/data/config_*.txt support
1746 - Added test/test_writers/test_htmlfragment.py.
1748 * test/DocutilsTestSupport.py:
1750 - Refactored LaTeX publisher test suite/case class names to make
1751 testing other writers easier.
1752 - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1753 to test the processing of HTML fragments which use the new
1754 publish_parts convenience function.
1756 * tools/buildhtml.py:
1758 - Added support for the "--prune" option.
1759 - Removed dependency on pep2html.py; plaintext PEPs no longer
1762 * tools/docutils.conf:
1764 - Updated for configuration file reorganization.
1766 * tools/rst2html.py:
1768 - copied from tools/html.py
1772 - added a 'scripts' section to configuration
1773 - added 'tools/rst2html.py' to the scripts section
1776 Release 0.3 (2003-06-24)
1777 ========================
1781 * Renamed "attribute" to "option" for directives/extensions.
1783 * Renamed transform method "transform" to "apply".
1785 * Renamed "options" to "settings" for runtime settings (as set by
1786 command-line options). Sometimes "option" (singular) became
1787 "settings" (plural). Some variations below:
1789 - document.options -> document.settings (stored in other objects as
1791 - option_spec -> settings_spec (not directives though)
1792 - OptionSpec -> SettingsSpec
1793 - cmdline_options -> settings_spec
1794 - relative_path_options -> relative_path_settings
1795 - option_default_overrides -> settings_default_overrides
1796 - Publisher.set_options -> Publisher.get_settings
1800 * COPYING.txt: Added "Public Domain Dedication".
1802 * FAQ.txt: Frequently asked questions, added to project.
1806 - Updated with PyPI Trove classifiers.
1807 - Conditional installation of third-party modules.
1809 * docutils/__init__.py:
1811 - Bumped version to 0.2.1 to reflect changes to I/O classes.
1812 - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1813 - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1814 - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1815 option and its effect on the PEP template & writer.
1816 - Bumped version to 0.2.4 due to changes to the PEP template &
1818 - Bumped version to 0.2.5 to reflect changes to Reporter output.
1819 - Added ``TransformSpec`` class for new transform system.
1820 - Bumped version to 0.2.6 for API changes (renaming).
1821 - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1822 convenience functions.
1823 - Added ``Component.component_type`` attribute.
1824 - Bumped version to 0.2.8 because of the internal parser switch from
1825 plain lists to the docutils.statemachine.StringList objects.
1826 - Bumped version to 0.2.9 because of the frontend.py API changes.
1827 - Bumped version to 0.2.10 due to changes to the project layout
1828 (third-party modules removed from the "docutils" package), and
1829 signature changes in ``io.Input``/``io.Output``.
1830 - Changed version to 0.3.0 for release.
1834 - Made ``publish()`` a bit more convenient.
1835 - Generalized ``Publisher.set_io``.
1836 - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1837 parameters; improved its docstring.
1838 - Added ``publish_file()`` and ``publish_string()``.
1839 - Factored ``Publisher.set_source()`` and ``.set_destination()``
1841 - Added support for "--dump-pseudo-xml", "--dump-settings", and
1842 "--dump-transforms" hidden options.
1843 - Added ``Publisher.apply_transforms()`` method.
1844 - Added ``Publisher.set_components()`` method; support for
1845 ``publish_*()`` conveninece functions.
1846 - Moved config file processing to docutils/frontend.py.
1847 - Added support for exit status ("exit_level" setting &
1848 ``enable_exit`` parameter for Publisher.publish() and convenience
1851 * docutils/frontend.py:
1853 - Check for & exit on identical source & destination paths.
1854 - Fixed bug with absolute paths & "--config".
1855 - Set non-command-line defaults in ``OptionParser.__init__()``:
1856 ``_source`` & ``_destination``.
1857 - Distributed ``relative_path_settings`` to components; updated
1858 ``OptionParser.populate_from_components()`` to combine it all.
1859 - Require list of keys in ``make_paths_absolute`` (was implicit in
1860 global ``relative_path_settings``).
1861 - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1862 "--dump-settings", and "--dump-transforms" hidden options.
1863 - Removed nasty internals-fiddling ``ConfigParser.get_section``
1864 code, replaced with correct code.
1865 - Added validation functionality for config files.
1866 - Added "--error-encoding" option/setting, "_disable_config"
1868 - Added encoding validation; updated "--input-encoding" and
1869 "--output-encoding"; added "--error-encoding-error-handler" and
1870 "--output-encoding-error-handler".
1871 - Moved config file processing from docutils/core.py.
1872 - Updated ``OptionParser.populate_from_components`` to handle new
1873 ``SettingsSpec.settings_defaults`` dict.
1874 - Added support for "-" => stdin/stdout.
1875 - Added "exit_level" setting ("--exit" option).
1879 - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1880 - Added automatic closing to ``FileInput`` and ``FileOutput``.
1881 - Delayed opening of ``FileOutput`` file until ``write()`` called.
1882 - ``FileOutput.write()`` now returns the encoded output string.
1883 - Try to get path/stream name automatically in ``FileInput`` &
1885 - Added defaults for source & destination paths.
1886 - Allow for Unicode I/O with an explicit "unicode" encoding.
1887 - Added ``Output.encode()``.
1888 - Removed dependency on runtime settings; pass encoding directly.
1889 - Recognize Unicode strings in ``Input.decode()``.
1890 - Added support for output encoding error handlers.
1892 * docutils/nodes.py:
1894 - Added "Invisible" element category class.
1895 - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1896 modification during a traversal.
1897 - Added element classes: ``line_block``, ``generated``, ``address``,
1898 ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1899 ``superscript``, ``subscript``, ``inline``
1900 - Added support for lists of nodes to ``Element.insert()``.
1901 - Fixed parent linking in ``Element.replace()``.
1902 - Added new abstract superclass ``FixedTextElement``; adds
1903 "xml:space" attribute.
1904 - Added support for "line" attribute of ``system_message`` nodes.
1905 - Added support for the observer pattern from ``utils.Reporter``.
1906 Added ``parse_messages`` and ``transform_messages`` attributes to
1907 ``document``, removed ``messages``. Added ``note_parse_message``
1908 and ``note_transform_message`` methods.
1909 - Added support for improved diagnostics:
1911 - Added "document", "source", and "line" internal attributes to
1912 ``Node``, set by ``Node.setup_child()``.
1913 - Converted variations on ``node.parent = self`` to
1914 ``self.setup_child(node)``.
1915 - Added ``document.current_source`` & ``.current_line``
1916 attributes, and ``.note_source`` observer method.
1917 - Changed "system_message" output to GNU-Tools format.
1919 - Added a "rawsource" attribute to the ``Text`` class, for text
1920 before backslash-escape resolution.
1921 - Support for new transform system.
1922 - Reworked ``pending`` element.
1923 - Fixed XML DOM bug (SF #660611).
1924 - Removed the ``interpeted`` element class and added
1925 ``title_reference``, ``abbreviation``, ``acronym``.
1926 - Made substitutions case-sensitive-but-forgiving; moved some code
1928 - Fixed Unicode bug on element attributes (report: William Dode).
1930 * docutils/optik.py: Removed from project; replaced with
1931 extras/optparse.py and extras/textwrap.py. These will be installed
1932 only if they're not already present in the Python installation.
1934 * docutils/roman.py: Moved to extras/roman.py; this will be installed
1935 only if it's not already present in the Python installation.
1937 * docutils/statemachine.py:
1939 - Factored out ``State.add_initial_transitions()`` so it can be
1941 - Converted whitespace-specific "blank" and "indent" transitions
1942 from special-case code to ordinary transitions: removed
1943 ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
1944 ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
1945 ``ws_initial_transitions`` attributes.
1946 - Removed ``State.match_transition()`` after merging it into
1948 - Added ``StateCorrection`` exception.
1949 - Added support for ``StateCorrection`` in ``StateMachine.run()``
1950 (moved ``TransitionCorrection`` support there too.)
1951 - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
1952 ``EOFError`` instead of ``IndexError``.
1953 - Added ``State.no_match`` method.
1954 - Added support for the Observer pattern, triggered by input line
1956 - Added ``strip_top`` parameter to
1957 ``StateMachineWS.get_first_known_indented``.
1958 - Made ``context`` a parameter to ``StateMachine.run()``.
1959 - Added ``ViewList`` & ``StringList`` classes;
1960 ``extract_indented()`` becomes ``StringList.get_indented()``.
1961 - Added ``StateMachine.insert_input()``.
1962 - Fixed ViewList slice handling for Python 2.3. Patch from (and
1963 thanks to) Fred Drake.
1965 * docutils/utils.py:
1967 - Added a ``source`` attribute to Reporter instances and
1968 ``system_message`` elements.
1969 - Added an observer pattern to ``utils.Reporter`` to keep track of
1971 - Fixed bugs in ``relative_path()``.
1972 - Added support for improved diagnostics.
1973 - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
1974 - Added support for encoding Reporter stderr output, and encoding
1976 - Reporter keeps track of the highest level system message yet
1979 * docutils/languages: Fixed bibliographic field language lookups.
1981 * docutils/languages/es.py: Added to project; Spanish mappings by
1982 Marcelo Huerta San Martin.
1984 * docutils/languages/fr.py: Added to project; French mappings by
1987 * docutils/languages/it.py: Added to project; Italian mappings by
1990 * docutils/languages/sk.py: Added to project; Slovak mappings by
1993 * docutils/parser/__init__.py:
1995 - Added ``Parser.finish_parse()`` method.
1997 * docutils/parser/rst/__init__.py:
1999 - Added options: "--pep-references", "--rfc-references",
2000 "--tab-width", "--trim-footnote-reference-space".
2002 * docutils/parsers/rst/states.py:
2004 - Changed "title under/overline too short" system messages from INFO
2005 to WARNING, and fixed its insertion location.
2006 - Fixed enumerated list item parsing to allow paragraphs & section
2007 titles to begin with enumerators.
2008 - Converted system messages to use the new "line" attribute.
2009 - Fixed a substitution reference edge case.
2010 - Added support for "--pep-references" and "--rfc-references"
2011 options; reworked ``Inliner`` code to make customization easier.
2012 - Removed field argument parsing.
2013 - Added support for short section title over/underlines.
2014 - Fixed "simple reference name" regexp to ignore text like
2015 "object.__method__"; not an anonymous reference.
2016 - Added support for improved diagnostics.
2017 - Reworked directive API, based on Dethe Elza's contribution. Added
2018 ``Body.parse_directive()``, ``.parse_directive_options()``,
2019 ``.parse_directive_arguments()`` methods.
2020 - Added ``ExtensionOptions`` class, to parse directive options
2021 without parsing field bodies. Factored
2022 ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
2023 ``ExtensionOptions``.
2024 - Improved definition list term/classifier parsing.
2025 - Added warnings for unknown directives.
2026 - Renamed ``Stuff`` to ``Struct``.
2027 - Now flagged as errors: transitions at the beginning or end of
2028 sections, empty sections (except title), and empty documents.
2029 - Updated for ``statemachine.StringList``.
2030 - Enabled recognition of schemeless email addresses in targets.
2031 - Added support for embedded URIs in hyperlink references.
2032 - Added backslash-escapes to inline markup end-string suffix.
2033 - Added support for correct interpreted text processing.
2034 - Fixed nested title parsing (topic, sidebar directives).
2035 - Added special processing of backslash-escaped whitespace (idea
2036 from David Abrahams).
2037 - Made substitutions case-sensitive-but-forgiving; moved some code
2038 to ``docutils.nodes``.
2039 - Added support for block quote attributions.
2040 - Added a kludge to work-around a conflict between the bubble-up
2041 parser strategy and short titles (<= 3 char-long over- &
2042 underlines). Fixes SF bug #738803 "infinite loop with multiple
2043 titles" submitted by Jason Diamond.
2044 - Added explicit interpreted text roles for standard inline markup:
2045 "emphasis", "strong", "literal".
2046 - Implemented "superscript" and "subscript" interpreted text roles.
2047 - Added initial support for "abbreviation" and "acronym" roles;
2049 - Added support for "--trim-footnote-reference-space" option.
2050 - Optional space before colons in directives & hyperlink targets.
2052 * docutils/parsers/rst/tableparser.py:
2054 - Fixed a bug that was producing unwanted empty rows in "simple"
2056 - Detect bad column spans in "simple" tables.
2058 * docutils/parsers/rst/directives: Updated all directive functions to
2061 * docutils/parsers/rst/directives/__init__.py:
2063 - Added ``flag()``, ``unchanged()``, ``path()``,
2064 ``nonnegative_int()``, ``choice()``, and ``class_option()``
2065 directive option helper functions.
2066 - Added warnings for unknown directives.
2067 - Return ``None`` for missing directives.
2068 - Added ``register_directive()``, thanks to William Dode and Paul
2071 * docutils/parsers/rst/directives/admonitions.py:
2073 - Added "admonition" directive.
2075 * docutils/parsers/rst/directives/body.py: Added to project. Contains
2076 the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2077 "parsed-literal", "rubric", "epigraph", "highlights" and
2078 "pull-quote" directives.
2080 * docutils/parsers/rst/directives/images.py:
2082 - Added an "align" attribute to the "image" & "figure" directives
2083 (by Adam Chodorowski).
2084 - Added "class" option to "image", and "figclass" to "figure".
2086 * docutils/parsers/rst/directives/misc.py:
2088 - Added "include", "raw", and "replace" directives, courtesy of
2090 - Added "unicode" and "class" directives.
2092 * docutils/parsers/rst/directives/parts.py:
2094 - Added the "sectnum" directive; by Dmitry Jemerov.
2095 - Added "class" option to "contents" directive.
2097 * docutils/parsers/rst/directives/references.py: Added to project.
2098 Contains the "target-notes" directive.
2100 * docutils/parsers/rst/languages/__init__.py:
2102 - Return ``None`` from get_language() for missing language modules.
2104 * docutils/parsers/rst/languages/de.py: Added to project; German
2105 mappings by Engelbert Gruber.
2107 * docutils/parsers/rst/languages/en.py:
2109 - Added interpreted text roles mapping.
2111 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2112 mappings by Marcelo Huerta San Martin.
2114 * docutils/parsers/rst/languages/fr.py: Added to project; French
2115 mappings by William Dode.
2117 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2118 mappings by Nicola Larosa.
2120 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2121 mappings by Miroslav Vasko.
2123 * docutils/readers/__init__.py:
2125 - Added support for the observer pattern from ``utils.Reporter``, in
2126 ``Reader.parse`` and ``Reader.transform``.
2127 - Removed ``Reader.transform()`` method.
2128 - Added default parameter values to ``Reader.__init__()`` to make
2129 instantiation easier.
2130 - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2132 * docutils/readers/pep.py:
2134 - Added the ``peps.TargetNotes`` transform to the Reader.
2135 - Removed PEP & RFC reference detection code; moved to
2136 parsers/rst/states.py as options (enabled here by default).
2137 - Added support for pre-acceptance PEPs (no PEP number yet).
2138 - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2141 * docutils/readers/python: Python Source Reader subpackage added to
2142 project, including preliminary versions of:
2145 - moduleparser.py: Parser for Python modules.
2147 * docutils/transforms/__init__.py:
2149 - Added ``Transformer`` class and completed transform reform.
2150 - Added unknown_reference_resolvers list for each transformer. This list holds
2151 the list of functions provided by each component of the transformer that
2152 help resolve references.
2154 * docutils/transforms/frontmatter.py:
2156 - Improved support for generic fields.
2157 - Fixed bibliographic field language lookups.
2159 * docutils/transforms/misc.py: Added to project. Miscellaneous
2162 * docutils/transforms/parts.py:
2164 - Moved the "id" attribute from TOC list items to the references
2165 (``Contents.build_contents()``).
2166 - Added the ``SectNum`` transform; by Dmitry Jemerov.
2167 - Added "class" attribute support to ``Contents``.
2169 * docutils/transforms/peps.py:
2171 - Added ``mask_email()`` function, updating to pep2html.py's
2173 - Linked "Content-Type: text/x-rst" to PEP 12.
2174 - Added the ``TargetNotes`` PEP-specific transform.
2175 - Added ``TargetNotes.cleanup_callback``.
2176 - Added title check to ``Headers``.
2178 * docutils/transforms/references.py:
2180 - Added the ``TargetNotes`` generic transform.
2181 - Split ``Hyperlinks`` into multiple transforms.
2182 - Fixed bug with multiply-indirect references (report: Bruce Smith).
2183 - Added check for circular indirect references.
2184 - Made substitutions case-sensitive-but-forgiving.
2186 * docutils/transforms/universal.py:
2188 - Added support for the "--expose-internal-attributes" option.
2189 - Removed ``Pending`` transform classes & data.
2191 * docutils/writers/__init__.py:
2193 - Removed ``Writer.transform()`` method.
2195 * docutils/writers/docutils-xml.py:
2197 - Added XML and doctype declarations.
2198 - Added "--no-doctype" and "--no-xml-declaration" options.
2200 * docutils/writers/html4css1.py:
2202 - "name" attributes only on these tags: a, applet, form, frame,
2204 - Added "name" attribute to <a> in section titles for Netscape 4
2205 support (bug report: Pearu Peterson).
2206 - Fixed targets (names) on footnote, citation, topic title,
2207 problematic, and system_message nodes (for Netscape 4).
2208 - Changed field names from "<td>" to "<th>".
2209 - Added "@" to "@" encoding to thwart address harvesters.
2210 - Improved the vertical whitespace optimization; ignore "invisible"
2211 nodes (targets, comments, etc.).
2212 - Improved inline literals with ``<span class="pre">`` around chunks
2213 of text and `` `` for runs of spaces.
2214 - Improved modularity of output; added ``self.body_pre_docinfo`` and
2215 ``self.docinfo`` segments.
2216 - Added support for "line_block", "address" elements.
2217 - Improved backlinks (footnotes & system_messages).
2218 - Improved system_message output.
2219 - Redefined "--stylesheet" as containing an invariant URL, used
2220 verbatim. Added "--stylesheet-path", interpreted w.r.t. the
2222 - Added "--footnote-references" option (superscript or brackets).
2223 - Added "--compact-lists" and "--no-compact-lists" options.
2224 - Added "--embed-stylesheet" and "--link-stylesheet" options;
2225 factored out ``HTMLTranslator.get_stylesheet_reference()``.
2226 - Improved field list rendering.
2227 - Added Docutils version to "generator" meta tag.
2228 - Fixed a bug with images; they must be inline, so wrapped in <p>.
2229 - Improved layout of <pre> HTML source.
2230 - Fixed attribute typo on <colspec>.
2231 - Refined XML prologue.
2232 - Support for no stylesheet.
2233 - Removed "interpreted" element support.
2234 - Added support for "title_reference", "sidebar", "attribution",
2235 "rubric", and generic "admonition" elements.
2236 - Added "--attribution" option.
2237 - Added support for "inline", "subscript", "superscript" elements.
2238 - Added initial support for "abbreviation" and "acronym";
2241 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2245 - Double quotes in literal blocks (special treatment for de/ngerman).
2246 - Added '--hyperlink-color' option ('0' turns off coloring of links).
2247 - Added "--attribution" option.
2248 - Right align attributions.
2250 * docutils/writers/pep_html.py:
2252 - Parameterized output encoding in PEP template.
2253 - Reworked substitutions from ``locals()`` into ``subs`` dict.
2254 - Redefined "--pep-stylesheet" as containing an invariant URL, used
2255 verbatim. Added "--pep-stylesheet-path", interpreted w.r.t. the
2257 - Added an override on the "--footnote-references" option.
2258 - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2259 - Added Docutils version to "generator" meta tag.
2260 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2264 - Added a "silent" setting for ``buildhtml.py``.
2265 - Added a "Getting Help" section.
2266 - Rearranged the structure.
2267 - Kept up to date, with new settings, command-line options etc.
2268 - Added section for ``rst2latex.py`` (Engelbert Gruber).
2269 - Converted settings table into a definition list.
2271 * docs/rst/quickstart.txt:
2273 - Added a table of contents.
2274 - Added feedback information.
2275 - Added mention of minimum section title underline lengths.
2276 - Removed the 4-character minimum for section title underlines.
2278 * docs/rst/quickref.html:
2280 - Added a "Getting Help" section.
2281 - Added a style to make section title backlinks more subtle.
2282 - Added mention of minimum section title underline lengths.
2283 - Removed the 4-character minimum for section title underlines.
2285 * extras: Directory added to project; contains third-party modules
2286 that Docutils depends on (optparse, textwrap, roman). These are
2287 only installed if they're not already present.
2289 * licenses: Directory added to project; contains copies of license
2290 files for non-public-domain files.
2294 - Changed the focus. It's about DTD elements: structural
2295 relationships, semantics, and external (public) attributes. Not
2296 about the element class library.
2297 - Moved some implementation-specific stuff into ``docutils.nodes``
2299 - Wrote descriptions of all common attributes and parameter
2300 entities. Filled in introductory material.
2301 - Working through the element descriptions: 55 down, 37 to go.
2302 - Removed "Representation of Horizontal Rules" to
2303 spec/rst/alternatives.txt.
2305 * spec/docutils.dtd:
2307 - Added "generated" inline element.
2308 - Added "line_block" body element.
2309 - Added "auto" attribute to "title".
2310 - Changed content models of "literal_block" and "doctest_block" to
2312 - Added ``%number;`` attribute type parameter entity.
2313 - Changed ``%structural.elements;`` to ``%section.elements``.
2314 - Updated attribute types; made more specific.
2315 - Added "address" bibliographic element.
2316 - Added "line" attribute to ``system_message`` element.
2317 - Removed "field_argument" element; "field_name" may contain
2318 multiple words and whitespace.
2319 - Changed public identifier to docutils.sf.net.
2320 - Removed "interpreted" element; added "title_reference",
2321 "abbreviation", "acronym".
2322 - Removed "refuri" attribute from "footnote_reference" and
2323 "citation_reference".
2324 - Added "sidebar", "rubric", "attribution", "admonition",
2325 "superscript", "subscript", and "inline" elements.
2327 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2329 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2331 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2333 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2336 * spec/transforms.txt: Added to project.
2338 * spec/howto: Added subdirectory, for developer how-to docs.
2340 * spec/howto/rst-directives.txt: Added to project. Original by Dethe
2341 Elza, edited & extended by David Goodger.
2343 * spec/howto/i18n.txt: Docutils Internationalization. Added to
2346 * spec/rst/alternatives.txt:
2348 - Added "Doctree Representation of Transitions" from
2350 - Updated "Inline External Targets" & closed the debate.
2351 - Added ideas for interpreted text syntax extensions.
2352 - Added "Nested Inline Markup" section.
2354 * spec/rst/directives.txt:
2356 - Added directives: "topic", "sectnum", "target-notes",
2357 "line-block", "parsed-literal", "include", "replace", "sidebar",
2358 "admonition", "rubric", "epigraph", "highlights", "unicode" and
2360 - Formalized descriptions of directive details.
2361 - Added an "align" attribute to the "image" & "figure" directives
2362 (by Adam Chodorowski).
2363 - Added "class" options to "topic", "sidebar", "line-block",
2364 "parsed-literal", "contents", and "image"; and "figclass" to
2367 * spec/rst/interpreted.txt: Added to project. Descriptions of
2368 interpreted text roles.
2370 * spec/rst/introduction.txt:
2372 - Added pointers to material for new users.
2374 * spec/rst/reStructuredText.txt:
2376 - Disambiguated comments (just add a newline after the "::").
2377 - Updated enumerated list description; added a discussion of the
2378 second-line validity checking.
2379 - Updated directive description.
2380 - Added a note redirecting newbies to the user docs.
2381 - Expanded description of inline markup start-strings in non-markup
2383 - Removed field arguments and made field lists a generic construct.
2384 - Removed the 4-character minimum for section title underlines.
2385 - Clarified term/classifier delimiter & inline markup ambiguity
2387 - Added "Embedded URIs".
2388 - Updated "Interpreted Text" section.
2389 - Added "Character-Level Inline Markup" section.
2391 * test: Continually adding & updating tests.
2393 - Moved test/test_rst/ to test/test_parsers/test_rst/.
2394 - Moved test/test_pep/ to test/test_readers/test_pep/.
2395 - Added test/test_readers/test_python/.
2396 - Added test/test_writers/ (Engelbert Gruber).
2400 - Made the ``locale.setlocale()`` calls in front ends
2403 * tools/buildhtml.py:
2405 - Added "--silent" option.
2406 - Fixed bug with absolute paths & "--config".
2407 - Updated for new I/O classes.
2408 - Added some exception handling.
2409 - Separated publishers' setting defaults; prevents interference.
2410 - Updated for new ``publish_file()`` convenience function.
2412 * tools/pep-html-template:
2414 - Allow for "--embed-stylesheet".
2415 - Added Docutils version to "generator" meta tag.
2416 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2417 - Conform to XHTML spec.
2419 * tools/pep2html.py:
2421 - Made ``argv`` a parameter to ``main()``.
2422 - Added support for "Content-Type:" header & arbitrary PEP formats.
2423 - Linked "Content-Type: text/plain" to PEP 9.
2424 - Files skipped (due to an error) are not pushed onto the server.
2425 - Updated for new I/O classes.
2426 - Added ``check_requirements()`` & ``pep_type_error()``.
2427 - Added some exception handling.
2428 - Updated for new ``publish_string()`` convenience function.
2429 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2431 * tools/quicktest.py:
2433 - Added "-V"/"--version" option.
2435 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2437 * tools/unicode2rstsubs.py: Added to project. Produces character
2438 entity files (reSructuredText substitutions) from the MathML master
2441 * tools/editors: Support code for editors, added to project. Contains
2442 ``emacs/restructuredtext.el``.
2444 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2446 - Added style for chunks of inline literals.
2447 - Removed margin for first child of table cells.
2448 - Right-aligned field list names.
2449 - Support for auto-numbered section titles in TOCs.
2450 - Increased the size of inline literals (<tt>) in titles.
2451 - Restored the light gray background for inline literals.
2452 - Added support for "line_block" elements.
2453 - Added style for "address" elements.
2454 - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2455 - Improved field list rendering.
2456 - Vertical whitespace improvements.
2457 - Removed "a.target" style.
2459 * tools/stylesheets/pep.css:
2461 - Fixed nested section margins.
2462 - Other changes parallel those of ``../default.css``.
2465 Release 0.2 (2002-07-31)
2466 ========================
2470 - The word "component" was being used ambiguously. From now on,
2471 "component" will be used to mean "Docutils component", as in Reader,
2472 Writer, Parser, or Transform. Portions of documents (Table of
2473 Contents, sections, etc.) will be called "document parts".
2474 - Did a grand renaming: a lot of ``verylongnames`` became
2475 ``very_long_names``.
2476 - Cleaned up imports: no more relative package imports or
2477 comma-separated lists of top-level modules.
2478 - Added support for an option values object which carries default
2479 settings and overrides (from command-line options and library use).
2480 - Added internal Unicode support, and support for both input and
2482 - Added support for the ``docutils.io.IO`` class & subclasses.
2486 * docutils/__init__.py:
2488 - Added ``ApplicationError`` and ``DataError``, for use throughout
2490 - Added ``Component`` base class for Docutils components; implements
2491 the ``supports`` method.
2492 - Added ``__version__`` (thus, ``docutils.__version__``).
2496 - Removed many keyword parameters to ``Publisher.__init__()`` and
2497 ``publish()``; bundled into an option values object. Added
2498 "argv", "usage", "description", and "option_spec" parameters for
2499 command-line support.
2500 - Added ``Publisher.process_command_line()`` and ``.set_options()``
2502 - Reworked I/O model for ``docutils.io`` wrappers.
2503 - Updated ``Publisher.set_options()``; now returns option values
2505 - Added support for configuration files (/etc/docutils.conf,
2506 ./docutils.conf, ~/.docutils).
2507 - Added ``Publisher.setup_option_parser()``.
2508 - Added default usage message and description.
2510 * docutils/frontend.py: Added to project; support for front-end
2511 (command-line) scripts. Option specifications may be augmented by
2512 components. Requires Optik (http://optik.sf.net/) for option
2513 processing (installed locally as docutils/optik.py).
2515 * docutils/io.py: Added to project; uniform API for a variety of input
2518 * docutils/nodes.py:
2520 - Added ``TreeCopyVisitor`` class.
2521 - Added a ``copy`` method to ``Node`` and subclasses.
2522 - Added a ``SkipDeparture`` exception for visitors.
2523 - Renamed ``TreePruningException`` from ``VisitorException``.
2524 - Added docstrings to ``TreePruningException``, subclasses, and
2526 - Improved docstrings.
2527 - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2528 - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2530 - Added ``decoration``, ``header``, and ``footer`` node classes, and
2531 ``PreDecorative`` mixin.
2532 - Reworked the name/id bookkeeping; to ``document``, removed
2533 ``explicit_targets`` and ``implicit_targets`` attributes, added
2534 ``nametypes`` attribute and ``set_name_id_map`` method.
2535 - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2537 - Added ``document.has_name()`` method.
2538 - Fixed DOM generation for list-attributes.
2539 - Added category class ``Labeled`` (used by footnotes & citations).
2540 - Added ``Element.set_class()`` method (sets "class" attribute).
2542 * docutils/optik.py: Added to project. Combined from the Optik
2543 package, with added option groups and other modifications. The use
2544 of this module is probably only temporary.
2546 * docutils/statemachine.py:
2548 - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2549 - Added underscores to improve many awkward names.
2550 - In ``string2lines()``, changed whitespace normalizing translation
2551 table to regexp; restores Python 2.0 compatibility with Unicode.
2553 * docutils/urischemes.py:
2555 - Filled in some descriptions.
2556 - Added "shttp" scheme.
2558 * docutils/utils.py:
2560 - Added ``clean_rcs_keywords`` function (moved from
2561 docutils/transforms/frontmatter.py
2562 ``DocInfo.filter_rcs_keywords``).
2563 - Added underscores to improve many awkward names.
2564 - Changed names of Reporter's thresholds:
2565 warning_level -> report_level; error_level -> halt_level.
2566 - Moved ``utils.id()`` to ``nodes.make_id()``.
2567 - Added ``relative_path(source, target)``.
2569 * docutils/languages/de.py: German mappings; added to project. Thanks
2570 to Gunnar Schwant for the translations.
2572 * docutils/languages/en.py: Added "Dedication" bibliographic field
2575 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2578 * docutils/parsers/rst/states.py:
2580 - Added underscores to improve many awkward names.
2581 - Added RFC-2822 header support.
2582 - Extracted the inline parsing code from ``RSTState`` to a separate
2583 class, ``Inliner``, which will allow easy subclassing.
2584 - Made local bindings for ``memo`` container & often-used contents
2585 (reduces code complexity a lot). See ``RSTState.runtime_init()``.
2586 - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2587 - Added ``MarkupMismatch`` exception; for late corrections.
2588 - Added ``-/:`` characters to inline markup's start string prefix,
2589 ``/`` to end string suffix.
2590 - Fixed a footnote bug.
2591 - Fixed a bug with literal blocks.
2592 - Applied patch from Simon Budig: simplified regexps with symbolic
2593 names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2594 - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2595 - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2596 - Allowed non-ASCII in "simple names" (directive names, field names,
2598 - Converted ``Inliner.patterns.initial`` to be dynamically built
2599 from parts with ``build_regexp()`` function.
2600 - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2601 - Updated docstrings.
2602 - Changed "table" to "grid_table"; added "simple_table" support.
2604 * docutils/parsers/rst/tableparser.py:
2606 - Changed ``TableParser`` to ``GridTableParser``.
2607 - Added ``SimpleTableParser``.
2608 - Refactored naming.
2610 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2611 a fallback language for directive names.
2613 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2614 directive to use a ``pending`` element, used only by HTML writers.
2616 * docutils/parsers/rst/directives/parts.py: Renamed from
2619 - Added "backlinks" attribute to "contents" directive.
2621 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2622 project by Adam Chodorowski.
2624 * docutils/readers/__init__.py: Gave Readers more control over
2625 choosing and instantiating Parsers.
2627 * docutils/readers/pep.py: Added to project; for PEP processing.
2629 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2630 requires a ``component`` parameter.
2632 * docutils/transforms/components.py: Added to project; transforms
2633 related to Docutils components.
2635 * docutils/transforms/frontmatter.py:
2637 - In ``DocInfo.extract_authors``, check for a single "author" in an
2638 "authors" group, and convert it to a single "author" element.
2639 - Added support for "Dedication" and generic bibliographic fields.
2641 * docutils/transforms/peps.py: Added to project; PEP-specific.
2643 * docutils/transforms/parts.py: Renamed from old components.py.
2645 - Added filter for `Contents`, to use alt-text for inline images,
2646 and to remove inline markup that doesn't make sense in the ToC.
2647 - Added "name" attribute to TOC topic depending on its title.
2648 - Added support for optional TOC backlinks.
2650 * docutils/transforms/references.py: Fixed indirect target resolution
2651 in ``Hyperlinks`` transform.
2653 * docutils/transforms/universal.py:
2655 - Changed ``Messages`` transform to properly filter out system
2656 messages below the warning threshold.
2657 - Added ``Decorations`` transform (support for ``--generator``,
2658 ``--date``, ``--time``, ``--source-link`` options).
2660 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2661 Engelbert Gruber's PDF writer.
2663 * docutils/writers/html4css1.py:
2665 - Made XHTML-compatible (switched to lowercase element & attribute
2666 names; empty tag format).
2667 - Escape double-dashes in comment text.
2668 - Improved boilerplate & modularity of output.
2669 - Exposed modular output in Writer class.
2670 - Added a "generator" meta tag to <head>.
2671 - Added support for the ``--stylesheet`` option.
2672 - Added support for ``decoration``, ``header``, and ``footer``
2674 - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2675 translation table to regexp; restores Python 2.0 compatibility
2677 - Added the translator class as instance variable to the Writer, to
2678 make it easily subclassable.
2679 - Improved option list spacing (thanks to Richard Jones).
2680 - Modified field list output.
2681 - Added backlinks to footnotes & citations.
2682 - Added percentage widths to "<col>" tags (from colspec).
2683 - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2684 "<span>" changed to "<var>".
2685 - Inline literals: "<code>" changed to "<tt>".
2686 - Many changes to optimize vertical space: compact simple lists etc.
2687 - Add a command-line options & directive attributes to control TOC
2688 and footnote/citation backlinks.
2689 - Added support for optional footnote/citation backlinks.
2690 - Added support for generic bibliographic fields.
2691 - Identify backrefs.
2692 - Relative URLs for stylesheet links.
2694 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2695 PEPs (subclass of ``html4css1.Writer``).
2697 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2699 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2700 of the Docutils internal doctree in XML.
2702 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2706 - Changed the title to "The Docutils Document Tree".
2707 - Added "Hyperlink Bookkeeping" section.
2709 * spec/docutils.dtd:
2711 - Added ``decoration``, ``header``, and ``footer`` elements.
2712 - Brought ``interpreted`` element in line with the parser: changed
2713 attribute "type" to "role", added "position".
2714 - Added support for generic bibliographic fields.
2716 * spec/notes.txt: Continual updates. Added "Project Policies".
2718 * spec/pep-0256.txt: Updated. Added "Roadmap to the Doctring PEPs"
2721 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2723 * spec/pep-0258.txt: Updated. Added text from pysource.txt and
2724 mailing list discussions.
2726 * spec/pep-0287.txt:
2728 - Renamed to "reStructuredText Docstring Format".
2730 - Reworked Q&A as an enumerated list.
2731 - Converted to reStructuredText format.
2733 * spec/pysource.dtd:
2735 - Reworked structural elements, incorporating ideas from Tony Ibbs.
2737 * spec/pysource.txt: Removed from project. Moved much of its contents
2740 * spec/rst/alternatives.txt:
2742 - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2743 - Added "Inline External Targets" section.
2745 * spec/rst/directives.txt:
2747 - Added "backlinks" attribute to "contents" directive.
2749 * spec/rst/problems.txt:
2751 - Updated the Enumerated List Markup discussion.
2752 - Added new alternative table markup syntaxes.
2754 * spec/rst/reStructuredText.txt:
2756 - Clarified field list usage.
2757 - Updated enumerated list description.
2758 - Clarified purpose of directives.
2759 - Added ``-/:`` characters to inline markup's start string prefix,
2760 ``/`` to end string suffix.
2761 - Updated "Authors" bibliographic field behavior.
2762 - Changed "inline hyperlink targets" to "inline internal targets".
2763 - Added "simple table" syntax to supplement the existing but
2764 newly-renamed "grid tables".
2765 - Added cautions for anonymous hyperlink use.
2766 - Added "Dedication" and generic bibliographic fields.
2768 * test: Made test modules standalone (subdirectories became packages).
2770 * test/DocutilsTestSupport.py:
2772 - Added support for PEP extensions to reStructuredText.
2773 - Added support for simple tables.
2774 - Refactored naming.
2776 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2778 - Now supports true packages containing test modules
2779 (``__init__.py`` files required); fixes duplicate module name bug.
2781 * test/test_pep/: Subpackage added to project; PEP testing.
2783 * test/test_rst/test_SimpleTableParser.py: Added to project.
2787 - Updated html.py and publish.py front-end tools to use the new
2788 command-line processing facilities of ``docutils.frontend``
2789 (exposed in ``docutils.core.Publisher``), reducing each to just a
2791 - Added ``locale.setlocale()`` calls to front-end tools.
2793 * tools/buildhtml.py: Added to project; batch-generates .html from all
2794 the .txt files in directories and subdirectories.
2796 * tools/default.css:
2798 - Added support for ``header`` and ``footer`` elements.
2799 - Added styles for "Dedication" topics (biblio fields).
2801 * tools/docutils.conf: A configuration file; added to project.
2803 * tools/docutils-xml.py: Added to project.
2805 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2807 * tools/pep-html-template: Added to project.
2809 * tools/pep2html.py: Added to project from Python (nondist/peps).
2810 Added support for Docutils (reStructuredText PEPs).
2812 * tools/quicktest.py:
2814 - Added the ``--attributes`` option, hacked a bit.
2815 - Added a second command-line argument (output file); cleaned up.
2817 * tools/stylesheets/: Subdirectory added to project.
2819 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2822 Release 0.1 (2002-04-20)
2823 ========================
2825 This is the first release of Docutils, merged from the now inactive
2826 reStructuredText__ and `Docstring Processing System`__ projects. For
2827 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2828 `DPS HISTORY`__ files.
2830 __ http://structuredtext.sourceforge.net/
2831 __ http://docstring.sourceforge.net/
2832 __ http://structuredtext.sourceforge.net/HISTORY.html
2833 __ http://docstring.sourceforge.net/HISTORY.html
2835 General changes: renamed 'dps' package to 'docutils'; renamed
2836 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2837 the test suites (reStructuredText's test/test_states renamed to
2838 test/test_rst); and all modifications required to make it all work.
2840 * docutils/parsers/rst/states.py:
2842 - Improved diagnostic system messages for missing blank lines.
2843 - Fixed substitution_reference bug.
2849 indent-tabs-mode: nil
2850 sentence-end-double-space: t