1 .. -*- coding: utf-8 -*-
7 :Author: David Goodger; open to all Docutils developers
8 :Contact: docutils-develop@lists.sourceforge.net
11 :Web site: http://docutils.sourceforge.net/
12 :Copyright: This document has been placed in the public domain.
21 - Fix [ 253 ] Attribute key without value not allowed in XML.
23 * docutils/parsers/rst/__init__.py
25 - Fix [ 233 ] Change the base URL for the :rfc: role.
27 * docutils/parsers/rst/directives/tables.py
29 - Patch [ 120 ] tables accept option widths: list of relative widths, 'auto'
32 * docutils/utils/math/math2html.py
34 - Add ``\colon`` macro, fix spacing around colons. Fixes [ 246 ].
35 - New upstream version (additional macros, piecewise integrals and sums).
37 * docutils/writers/html_base/
39 - New HTML writer generating basic HTML (`polyglot markup`_ conforming to
40 both, `HTML 5`_ and `XHTML 1.0`_ (transitional)).
42 New stylesheet ``html-base.css`` for default layout using CSS 2.1 rules.
44 Also base for the `xhtml11` writer.
46 * docutils/writers/html4css1/__init__.py
48 - Add "docutils" to class values for "container" object to address [ 267 ].
49 - Apply patch [ 119 ] by Anatoly Techtonik: use absolute paths for
50 ``default_stylesheet_path`` and ``default_template_path``.
51 - Fix [ 266 ] creating labels/class values in description list items.
53 * docutils/writers/xhtml11/
55 - New HTML writer generating `XHTML 1.1`_ styled with CSS2.1
56 Moved to the docutils core from sandbox/html4strict.
58 * docutils/writers/latex2e/__init__.py
60 - use absolute path for ``default_template_path``.
62 * docutils/writers/odf_odt/__init__.py
64 - remove decode.encode of filename stored in zip.
66 * docutils/writers/latex2e/__init__.py
68 - Fix [ 262 ] Use ``\linewidth`` instead of ``\textwidth`` for figures,
69 admonitions and docinfo.
73 - New front-ends ``rst2xhtml.py`` and ``rst2html5.py`` for the
74 corresponding writers.
76 .. _polyglot markup: http://www.w3.org/TR/html-polyglot/
77 .. _HTML 5: http://www.w3.org/TR/html5/
78 .. _XHTML 1.0: http://www.w3.org/TR/xhtml1/
79 .. _XHTML 1.1: http://www.w3.org/TR/xhtml11/
82 Release 0.12 (2014-07-06)
83 =========================
85 * docs/ref/rst/directives.txt
87 - Update "math" and "csv-table" descriptions.
89 * docutils/parsers/rst/directives/images.py
91 - Fix [ 258 ] figwidth="image" generates unitless width value.
93 * docutils/parsers/rst/states.py
95 - Improve error report when a non-ASCII character is specified as
96 delimiter, quote or escape character under Python 2.
97 Fixes [ 249 ] and [ 250 ].
99 * docutils/writers/html4css1/__init__.py
101 - Don't add newline after inline math.
102 Thanks to Yury G. Kudryashov for the patch.
104 * docutils/writers/latex2e/__init__.py
106 - Fix [ 239 ] Latex writer glues paragraphs with figure floats.
107 - Apply [ 116 ] by Kirill Smelkov. Don't hardcode \large for subtitle.
109 * docutils/writers/odf_odt/__init__.py
111 - Apply patch by Jakub Wilk to fix bug [ 100 ].
113 * test/test_error_reporting.py
115 - Fix [ 223 ] by removing redundant tests we do not have control over.
119 - Apply [ 115 ] respect fixed 2to3 string literal conversion behavior.
121 Release 0.11 (2013-07-22)
122 =========================
126 - Apply [ 2714873 ] Fix for the overwritting of document attributes.
127 - Support embedded aliases within hyperlink references.
128 - Fix [ 228 ] try local import of docutils components (reader, writer, parser,
129 language module) before global search.
133 - Fix [ 3601607 ] node.__repr__() must return `str` instance.
135 * docutils/parsers/rst/directives/__init__.py
137 - Fix [ 3606028 ] ``assert`` is skipped with ``python -O``.
139 * docutils/parsers/rst/directives/images.py
141 - Apply [ 3599485 ] node source/line information for sphinx translation.
143 * docutils/parsers/rst/directives/tables.py
145 - Fix [ 210 ] Python 3.3 checks CVS syntax only if "strict" is True.
147 * docutils/parsers/rst/states.py
149 - Fix [ 157 ] Line block parsing doesn't like system message.
150 - Always import our local copy of roman.py (report Larry Hastings).
152 * docutils/transforms/references.py
154 - Fix [ 3607029 ] traceback with embedded alias pointing to missing target.
156 * docutils/utils/__init__.py
158 - Fix [ 3596884 ] exception importing ``docutils.io``.
160 * docutils/writers/html4css1/__init__.py
162 - Fix [ 3600051 ] for tables in a list, table cells are not compacted.
163 - New setting `stylesheet_dirs`: Comma-separated list of directories
164 where stylesheets are found. Used by `stylesheet_path` when expanding
165 relative path arguments.
166 - New default for math-output_: ``HTML math.css``.
167 - Avoid repeated class declarations in html4css1 writer
168 (modified version of patch [ 104 ]).
170 .. _math-output: docs/user/config.html#math-output
172 * docutils/writers/latex2e/__init__.py
174 - Drop the simple algorithm replacing straight double quotes with
175 English typographic ones.
176 Activate the SmartQuotes_ transform if you want this feature.
177 - Fix literal use of babel shorthands (straight quote, tilde, ...).
178 - Fix [ 3603246 ] Bug in option "--graphicx-option=auto".
179 - New setting `stylesheet_dirs`.
181 .. _SmartQuotes: docs/user/config.html#smart-quotes
183 * docutils/writers/manpage.py
185 - Fix [3607063] handle lines starting with a period.
186 - Fix option separating comma was bold (thanks to Bill Morris).
188 Release 0.10 (2012-12-16)
189 =========================
193 - Dropped support for Python 2.3.
194 - ``docutils/math``, ``docutils/error_reporting.py``, and
195 ``docutils/urischemes.py`` moved to the utils package.
196 - Fix [3541369] Relative __import__ also with Python 3.3.
197 - Fix [3559988] and [3560841] __import__ local writer, reader, languages
198 and parsers for Python 2.7 up.
199 - Fix import of PIL.Image.
200 - Change default of "syntax highlight" option to "long",
201 basic syntax highlight styles for LaTeX and HTML.
205 - FileInput/FileOutput: no system-exit on IOError. The `handle_io_errors`
206 option is ignored and will be removed in a future release.
207 - Fix Py3k error writing to stdout with encoding differing from default.
208 - Fix opening binary files under Py3k (thanks to Dominic Fitzpatrick).
210 * docutils/parsers/rst/directives/misc.py
212 - Fix [ 3546533 ] Unicode error with `date` directive.
214 * docutils/transforms/universal.py
216 - SmartQuotes transform for typographic quotes and dashes.
218 * docutils/utils/__init__.py
220 - normalize_language_tag() now returns `BCP 47`_ conformant tags
221 with subtags separated by ``-``.
223 * docutils/writers/html4css1/__init__.py
225 - Use ``<code>`` tag for inline "code",
226 do not drop nested inline nodes (syntax highlight tokens).
227 - Customizable MathJax URL (based on patch by Dmitry Shachnev).
228 - No line break after opening inline math tag.
230 * docutils/writers/manpage.py
232 - Apply [ 3527401 ] addmonition's don't preserve indentation
233 - Apply [ 3527397 ] Add indentation to literal blocks in manpage writer.
235 , docutils/writers/xetex/__init__.py
237 - Apply [ 3555160 ] ensure order of "otherlanguages".
238 - Fix section numbering by LaTeX.
240 * docutils/writers/s5_html/__init__.py
242 - Fix [ 3556388 ] Mathjax does not work with rst2s5.
244 * docutils/writers/s5_html/docutils_xml.py
246 - Fix [ 3552403 ] Prevent broken PyXML replacing stdlibs xml module.
250 - Tag ``math.css`` stylesheet as data file (patch by Dmitry Shachnev).
252 * tools/test/test_buildhtml.py
254 - Fix [ 3521167 ] allow running in any directory.
255 - Fix [ 3521168 ] allow running with Python 3.
258 Release 0.9.1 (2012-06-17)
259 ==========================
263 - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
264 installed in the PYTHONPATH. Converted tests are now
265 stored in ``test3/``, tools no longer need conversion.
267 If you installed one of Docutils versions 0.7 ... 0.9 with
268 ``setup.py install`` under Python 3, remove the spurious
269 ``test/`` and ``tools/`` directories in the site library root.
273 - Make tests independent from the location of the ``test/`` directory.
274 - Use converted sources (from the ``build/`` directory) for tests under
279 - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
283 - Fix writing binary data to sys.stdout under Python 3 (allows
284 ``rst2odt.py`` to be used with output redirection).
286 * docutils/parsers/rst/directives/misc.py
288 - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
289 ``locale == C`` and 8-bit char in path argument of `include` directive.
293 - class `Tee`: catch UnicodeError when writing to "ascii" stream or
296 Release 0.9 (2012-05-02)
297 ========================
301 - New reStructuredText "code" role and directive and "code" option
302 of the "include" directive with syntax highlighting by Pygments_.
303 - Fix parse_option_marker for option arguments containing ``=``.
304 - Fix [ 2993756 ]: import Python Imaging Library's Image module
305 via ``import PIL`` as starting with PIL 1.2,
306 "PIL lives in the PIL namespace only" (announcement__).
308 .. _Pygments: http://pygments.org/
309 __ http://mail.python.org/pipermail/image-sig/2011-January/006650.html
313 - Fix [ 2971827 ] and [ 3442827 ]
314 extras/roman.py moved to docutils/utils/roman.py
316 * docutils/frontend.py
318 - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
322 - Fix [ 3395948 ] (Work around encoding problems in Py3k).
323 - `mode` argument for FileOutput avoids code replication in
325 - New exceptions InputError and OutputError for IO errors in
326 FileInput/FileOutput.
330 - No "hard" system exit on file IO errors: catch and report them in
331 `Publisher.reportException` instead. Allows handling by a calling
332 application if the configuration setting `traceback` is True.
334 * docutils/utils.py -> docutils/utils/__init__.py
336 - docutils.utils is now a package (providing a place for sub-modules)
338 .. note:: docutils/math, docutils/error_reporting.py, and
339 docutils/urischemes.py will move to the utils package in the next
340 release, too. See RELEASE-NOTES__
342 __ RELEASE-NOTES.html
344 - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
345 errors recording non-ASCII filenames (fixes [ 3434355 ]).
347 - Fix relative_path() with source=None and `unicode` target.
349 * docutils/parsers/rst/states.py
351 - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
352 characters and "international" quotes around inline markup.
353 - Use `field_marker` pattern to look for start of a
354 directive option block (fixes [ 3484857 ]).
356 * docutils/parsers/rst/tableparser.py
358 - Fix [ 2926161 ] for simple tables.
359 (Combining chars in grid tables still contribute to cell width.)
361 * docutils/writers/latex2e/__init__.py
363 - Support the `abbreviation` and `acronym` standard roles.
364 - Record only files required to generate the LaTeX source as dependencies.
365 - Fix handling of missing stylesheets.
366 - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
367 when suppressing LaTeX section numbering.
368 - Use ``\DUtitle`` for unsupported section levels
369 - Apply [ 3512791 ] do not compare string literals with "is"
371 * docutils/writers/xetex/__init__.py
373 - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
375 * docutils/writers/html4css1/__init__.py
377 - Change default for `math-output` setting to MathJax.
378 - Fix handling of missing stylesheets.
380 * docutils/writers/docutils_xml.py
382 - Use the visitor pattern with default_visit()/default_depart() methods
383 instead of minidom to facilitate special handling of selected nodes.
384 - Support raw XML (inserted as-is inside a <raw></raw> node).
386 * docutils/writers/manpage.py
388 - Do not emit comment line with trailing blank. Problematic for VCS.
390 Release 0.8.1 (2011-08-30)
391 ==========================
395 - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
396 and [ 3395920 ] (correct copyright info for rst.el).
400 - Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
402 * docutils/writers/latex2e/__init__.py
404 - Clean up Babel language setting. Restores Sphinx compatibility.
406 Release 0.8 (2011-07-07)
407 ========================
411 - Handle language codes according to `BCP 47`_.
412 - If the specified language is not supported by Docutils,
413 warn and fall back to English.
414 - Math support: reStructuredText "math" role and directive,
415 ``math`` and ``math_block`` doctree elements.
416 - Decode command line arguments with the locale's preferred encoding
417 (to allow, e.g., ``--title=Dornröschen``).
418 - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
419 - New sub-module `error_reporting`: handle encoding/decoding errors
420 when reporting exceptions.
421 - Some additions to the Docutils core are released under the 2-Clause BSD
422 license, see COPYING_ for details.
424 .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
425 .. _COPYING: COPYING.html
429 - Most directives now support a "name" option that attaches a
432 - Directive content may start on the first line also when the directive
433 type accepts options.
435 * docs/dev/policies.txt:
437 - Recommend the 2-Clause BSD license
438 (http://www.spdx.org/licenses/BSD-2-Clause)
439 for code that is kept under the author's copyright.
441 * tools/buildhtml.py:
443 - Fix ``--local`` switch.
445 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
447 * docutils/writers/html4css1/__init__.py
449 - Set "lang" argument for objects with class argument
450 "language-<language tag>".
451 - New setting "math-output" with support for HTML, MathML, and LaTeX.
453 * docutils/writers/latex2e/__init__.py
455 - Fix [ 3043986 ] AttributeError using :local: with table of content.
456 - Place title data in the document preamble.
457 - Load `babel` package only if required.
458 - Update list of supported languages.
459 - New config setting "hyperref-options".
460 No hard-coded "unicode" hyperref option (clash with xetex).
461 - Set language for custom roles, paragraphs, block-quotes, and
462 line-quotes with class argument "language-<language tag>".
463 - Fix [ 3095603 ] wrong quotes output for russian and other languages.
464 - Convert image URI to a local file path.
465 - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
466 has more than one paragraph (Wolfgang Scherer).
467 - \leavevmode before longtable only when needed (prevents spurious vspace)
468 - do not advance table counter for tables without caption
470 * docutils/writers/xetex/__init__.py
472 - New writer generating LaTeX code for compiling with ``xelatex``.
474 A separate writer (inheriting from latex2e) instead of a ``--xetex``
475 option allows separate config options for XeTeX vs. LaTeX2e.
477 * docutils/writers/manpage.py
479 - Fix: BUG#3219183 - vertical space in definition lists containing markup.
480 - Fix: vertical space cleaning for option group ``.``.
482 * tools/editors/emacs/rst.el:
484 - Fix [ 3001100 ] does not handle spaces in filenames
485 (thanks to Jakub Wilk)
489 - strip whitespace from stylesheet arguments
490 - exclude combining chars from column_width()
491 (partial fix for [ 2926161 ])
493 * docutils/parsers/rst/directives/misc.py:
495 - Fix [ 1830389 ] Replace not breaking on getting system_messages from
500 - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
501 ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
503 Release 0.7 (2010-07-07)
504 ========================
508 - Fix [ 2881769 ] setup configuration.
509 - Fix [ 2788716 ] reporting problems in included files.
513 - FileInput opens files as text files with universal newline support
514 (mode "rU", configurable with the new optional argument "mode").
518 - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
522 - Fix [ 2923723 ] let decode_path() tolerate path == None
524 * docutils/writers/html4css1/__init__.py
526 - Support SVG and SWF images (thanks to Stefan Rank).
527 - Generate valid XHTML for centered images with targets.
528 Use CSS classes instead of "align" tags for image alignment.
530 * docutils/writers/latex2e/__init__.py
532 - Use `transforms.writer_aux.Admonitions` to "normalize" special
534 - Use the ``\url`` command for URLs (breaks long URLs instead of
535 writing into the margin).
536 - Preserve runs of spaces in `inline literals`__.
537 - Deprecate ``figure_footnotes`` setting.
538 - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
539 - New ``latex_preamble`` setting.
540 - Use PDF standard fonts (Times/Helvetica/Courier) as default.
541 - Fix hyperlink targets (labels) for images, figures, and tables.
542 - Apply [ 2961988 ] Load babel after inputenc and fontenc.
543 - Apply [ 2961991 ] Call hyperref with unicode option.
544 - Drop the special `output_encoding`__ default ("latin-1").
545 The Docutils wide default (usually "UTF-8") is used instead.
546 - Render inline markup in document title and subtitle.
547 - Fix numbering depth with LaTeX section numbering.
548 - Update Unicode -> LaTeX translations.
549 - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
551 __ docs/ref/restructuredtext.html#inline-literals
552 __ docs/user/config.html#docutils-footnotes
553 __ docs/user/config.html#output_encoding
555 * docutils/writers/manpage.py
557 - Fix: supported attribute (thanks to peter2108).
558 - Remove trailing blanks in code (keep in sync with mercurial version).
559 - Titles level 1, that is ``.SH``, always uppercase.
560 - Apply patch from mg: literal text should be bold in man-pages.
564 - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
569 - Python 3 support: copy test/ and tools/ to the build-dir
570 and convert Python sources with 2to3.
573 Release 0.6 (2009-10-11)
574 ========================
578 - Docutils is now compatible with Python versions from 2.3 up to 2.6
579 and convertible to 3.1 code.
581 + Node.__nonzero__ returns True instead of 1.
582 + use os.walk instead os.path.walk.
583 + minimize "types" module where possible.
584 + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
585 + Text nodes now subclass unicode rather than UserString
586 (which is gone in python 3.0).
587 + 3.0 compatibility module docutils._compat
589 + Drop 2.2 compatibility workarounds.
590 + Drop extras/optparse.py and extras/textwrap.py
591 (stdlib modules since 2.3).
593 - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
594 - Unix man page export: manpage writer moved from sandbox to Doctutils
597 - Apply [ 1719345 ] Galician translation
598 - Apply [ 1905741 ] Polish translation
599 - Apply [ 1878977 ] make_id(): deaccent characters.
600 - Apply [ 2029251 ] return nonzero when tests fail.
601 - Fix [ 1692788 ] allow UTF-8 in style sheets.
602 - Fix [ 2781629 ] support non-ASCII chars in file names.
603 - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
604 - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
605 - Fix [ 2821266 ] --strict option works now like --halt=info.
606 - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
607 - Fix [ 1627229 ] hyperlink references in substitutions.
609 - The "newlatex" writer is orphaned.
613 - Documented Unicode characters allowed as inline markup openers,
614 closers, and delimiters.
615 - Allow units for all length specifications.
616 - Allow percent sign in "scale" argument of "figure" and "image" directives.
617 - Bugfix: The "figalign" argument of a figure now works as intended
618 (aligning the figure, not its contents).
619 - Align images with class "align-[right|center|left]"
620 (allows setting the alignment of an image in a figure).
624 - Added ``Element.__contains__`` method, for the in-operator.
626 * docutils/parsers/rst/states.py:
628 - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
629 - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
630 " " (non-breaking space), and "¡ ¿" openers.
632 * docutils/parsers/directives/misc.py:
634 - Added ``start-line`` and ``end-line`` options to "include"
635 directive to select a range of lines.
636 - Hard tabs in literal inclusions are replaced by spaces. This is
637 configurable via the new ``tab-width`` option of the "include" directive
638 (a negative tab-width prevents tab expansion).
642 - Add ``get_stylesheet_list`` function.
643 - Apply [ 2834836 ] print info at halt
645 * docutils/transforms/universal.py:
647 - Raise default priority of StripClasses to exclude stripped classes from
650 * docutils/writers/html4css1/__init__.py:
652 - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
653 separated list of stylesheets.
654 - Address [ 1938891 ] Inline literal text creates "pre" span only when
655 needed to prevent inter-word line wraps.
656 - Use `translate` method instead of repeated `replace` calls.
657 - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
658 classes to allow CSS styling that does not interfere with other
659 table-using constructs (field lists, citations, ...).
661 * docutils/writers/newlatex2e/__init__.py:
663 - Apply [ 1612821 ] Double quotes in literal text in Italian/German
665 * docutils/writers/latex2e/__init__.py (see also
666 `<docs/user/docutils-05-compat.sty.html>`__) :
668 - Add ``--embed-stylesheet`` option.
669 - Apply [ 1474017 ] image vertical alignment is reversed.
670 - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
671 - Change: has_key for dictionaries (not Nodes) to in-operator.
672 - Merge adjacent citations into one latex cite command.
673 - Failsave implementation of custom roles. LaTeX compilation now ignores
674 unknown classes instead of aborting with an error.
675 - Support custom roles based on standard roles.
676 - LaTeX packages can be used as ``--stylesheet`` arguments without
677 restriction. (A style sheet is now referenced with the ``\usepackage``
678 command, if it ends with ``.sty`` or has no extension.)
679 - Add ``bp`` to lenghts without unit (prevents LaTex errors).
680 - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
681 - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
682 2005-02-04 as a configurable length unit).
683 - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
684 if font-encoding is set to ''. LaTeX defaults to OT1 then.
685 - Set sub- and superscript role argument in text mode not as math.
686 Use a custom role based on sub-/superscript if you want italic shape.
687 - Shorter preamble and less dependencies: Load packages and define macros
688 only if required in the document.
689 - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
690 - New custom environments and commands with optional "classes" argument.
691 - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
692 - Better conformance to Docutils specifications with ``--use-latex-toc``.
693 Support for LaTeX generated ToC also with unnumbered sections.
694 - If 'sectnum_xform' is False, the 'sectnum' directive triggers
695 section numbering by LaTeX.
696 - Use default font in admonitions and sidebar.
697 - Align of image in a figure defaults to 'center'.
698 - Bugfix: Newlines around targets and references prevent run-together
700 - Fix internal hyperlinks.
701 - Use class defaults for page margins ('typearea' now optional).
702 - Float placement made configurable, default changed to "here definitely".
703 - Typeset generic topic as "quote block with title".
704 - Use template (file and configuration option).
705 - In the default template, load cmap.sty (fix text extraction in PDF) and
706 fixltx2e.sty (LaTeX patches, \textsubscript).
707 - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
708 - Use `translate` instead of repeated `replace` calls for text encoding.
709 - Hyperlinked footnotes and support for symbol footnotes and
710 ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
711 - Complete pairs of binary options
712 (``--figure-footnotes, --figure-citations, --link-stylesheet``,
713 ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
715 - font-encoding: "T1" (formerly implicitely set by 'ae').
716 - use-latex-toc: true (ToC with page numbers).
717 - use-latex-footnotes: true (no mixup with figures).
719 * docutils/writers/manpage.py
721 - Do not print version at document end, this is done by the viewer.
722 - Do not print date at document end, this is done by the viewer.
723 - Fix storage of docinfo fields for none standard fields.
725 * docutils/tools/rst2man.py
727 Release 0.5 (2008-06-25)
728 ========================
730 * docutils/languages/he.py: Added to project: Hebrew mappings by
733 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
734 mappings by Meir Kriheli.
736 * docutils/frontend.py:
738 - Configuration files are now assumed and required to be
740 - Paths of applied configuration files are now recorded in the
741 runtime setting ``_config_files`` (accessible via
742 ``--dump-settings``).
743 - Added ``--strip-elements-with-class`` and ``--strip-class``
744 options (``strip_elements_with_classes`` and ``strip_classes``
749 - Added code to determine the input encoding from data: encoding
750 declarations or the presence of byte order marks (UTF-8 & UTF-16).
751 - Added support for IronPython 1.0.
755 - Added ``document.__getstate__`` method, for pickling.
757 * docutils/parsers/rst/states.py:
759 - Allow ``+`` and ``:`` in reference names.
760 - Unquoted targets beginning with an underscore (``.. __target:
761 URI``) are no longer accepted.
762 - Added support for multiple attributions in a physical block quote
763 (indented text block), dividing it into multiple logical block
765 - Added support for unicode bullets in bullet lists: "•", "‣", and
767 - Added support for new object-oriented directive interface,
768 retaining compatibility to the old functional interface.
769 - Added support for throwing ``DirectiveError``'s from within
772 * docutils/parsers/rst/__init__.py:
774 - Added ``Directive`` base class.
775 - Added ``DirectiveError`` base class.
776 - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
779 * docutils/parsers/directives/:
781 - Refactored all reStructuredText directives to use the new
782 object-oriented directive interface. Errors are now (mostly)
783 thrown using the new ``DirectiveError`` class.
785 * docutils/parsers/directives/misc.py:
787 - Added ``start-after`` and ``end-before`` options to ``include``
788 directive; thanks to Stefan Rank.
790 * docutils/transforms/universal.py:
792 - Added ``StripClassesAndElements`` transform to remove from the
793 document tree all elements with classes in
794 ``settings.strip_elements_with_classes`` and all "classes"
795 attribute values in ``self.document.settings.strip_classes``.
797 * docutils/transforms/writer_aux.py:
799 - Added ``Admonitions`` transform to transform specific admonitions
800 (like ``note``, ``warning``, etc.) into generic admonitions with a
803 * docutils/writers/html4css1/__init__.py:
805 - Moved template functionality from the PEP/HTML writer here.
806 - Expanded the fragments available in the ``parts`` attribute.
807 - Moved ``id`` attributes from titles to surrounding ``div``
809 - Dropped all ``name`` attributes of ``a`` elements (``id`` is
810 universally supported now).
811 - ``template.txt`` is now opened in text mode instead of binary mode
812 (to ensure Windows compatibility).
813 - ``a`` elements now have an "internal" or "external" class,
814 depending on reference type.
816 * docutils/writers/html4css1/template.txt: Added to project.
818 * docutils/writers/pep_html/:
820 - Moved template functionality to the HTML writer.
822 * docutils/writers/s5_html/__init__.py:
824 - Added ``view_mode`` & ``hidden_controls`` settings
825 (``--view-mode`` & ``--hidden-controls/--visible-controls``
828 * docutils/writers/latex2e/__init__.py:
830 - Add ``--literal-block-env``
831 - Fix: escaping ``%`` in href urls.
832 - Move usepackage hyperref after stylesheet inclusion.
833 - Fix: scrartcl does not have chapter but scrreprt.
834 - Add newline after ``\end{verbatim}``.
835 - Merge smaller differences from latex2e_adaptive_preamble.
836 - Add ``use-part-section``.
837 - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
838 - Using leavemode option_list no longer needs to check if parent
839 is a definition list.
840 - Append ``\leavemode`` to definition list terms.
841 - No longer write visit\_/depart_definition_list_item comments to
843 - Table column width with 3 decimal places.
844 - Add table stubs support (boldfont).
845 - Add assemble_parts to writer.
846 - Add simply support for nested tables.
847 - Fix verbatim in tables if use-verbatim-when-possible.
848 - Use section commands down to subparagraph.
849 - Put ensuremath around some latin1 chars.
850 - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
851 - New option ``--use-bibtex=style,db1,db2``.
852 - New option ``--reference-label`` to allow usage of LaTeX ref for
853 labels in section references.
854 - Add a label after every section to support sectionnumbers as reference
856 - Fix: bug# 1605376 rst2latex: bad options group list
857 - Remove inactive code for use_optionlist_for_option_list.
858 - Remove latex comments from option_list output.
859 - Fix: bug# 1612270 double qoutes in italian literal.
860 - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
861 - Add option --use-latex-abstract.
862 - Image width unit ``px`` is translated to ``pt``.
863 - Add image height support.
864 - Fix: image width ``70%`` is converted ``0.700\linewidth``.
866 - Fix: Do not escape underscores in citation reference labels if
867 use-latex-citations is set.
868 - Use centering instead of center for figure contents, to avoid vertical
870 - Recognize table class: borderless, nolines, booktabs, standard.
871 - Fix: Renaming contents section does not work with latex writer; SF
873 - Applied patch for custom roles with classes from Edward Loper.
874 - Fixed bug that caused crashes with more than 256 lists.
876 * docutils/writers/pep_html/__init__.py:
878 - Changed to support new python.org website structure and
881 * docs/howto/security.txt: "Deploying Docutils Securely", added to
884 * tools/buildhtml.py:
886 -- Added ``ignore`` setting to exclude a list of shell patterns
887 (default: ``.svn:CVS``).
889 * tools/editors/emacs/rst.el:
891 - Changed license to "GPL".
892 - Added ``rst-straighten-decorations`` function.
893 - The ``compile`` module is now always loaded.
894 - Added ``rst-toggle-line-block`` function.
895 - Headings consisting only of non-ASCII characters are now
896 recognized by ``rst-toc`` and ``rst-adjust``.
897 - Added font-lock support for multi-line comments where the first
898 comment line is empty.
899 - Added ``(require 'font-lock)``.
903 - Provide descriptive error message if distutils is missing.
906 Release 0.4 (2006-01-09)
907 ========================
911 - Updated the project policies for trunk/branch development &
914 * docutils/__init__.py:
916 - Added ``__version_details__`` attribute to describe code source
917 (repository/snapshot/release).
918 - Replaced ``default_transforms`` attribute of TransformSpec with
919 ``get_transforms()`` method.
923 - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
924 functions, for document tree extraction and reprocessing.
928 - Added ``DocTreeInput`` class, for reprocessing existing documents.
929 - Added support for non-Unicode (e.g. binary) writer output.
933 - Re-introduced ``Targetable.indirect_reference_name``, for
934 MoinMoin/reST compatibility (removed in r3124/r3129).
935 - Added ``serial_escape`` function; escapes string values that are
936 elements of a list, for serialization. Modified Docutils-XML
937 writing (``Element._dom_node``) and pseudo-XML writing
938 (``Element.starttag``) to use ``serial_escape``.
939 - Added ``Node.deepcopy()`` method.
940 - Removed the internal lists ``document.substitution_refs``,
941 ``document.anonymous_refs``, and ``document.anonymous_targets``.
942 - Added a "container" element.
943 - Fixed bug where values of list-valued attributes of elements
944 originating from custom interpreted text roles (i.e., with custom
945 classes) were being shared between element instances. Reported by
948 * docutils/statemachine.py:
950 - Added trailing whitespace stripping to ``string2lines()``.
951 - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
952 Asian double-width character support.
956 - Added ``east_asian_column_width()`` for double-width character
959 * docutils/languages/ja.py: Added to project: Japanese mappings by
962 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
963 mappings by Panjunyong.
965 * docutils/parsers/null.py: Added to project; a do-nothing parser.
967 * docutils/parsers/rst/__init__.py:
969 - Added validator to tab_width setting, with test. Closes SF bug
970 #1212515, report from Wu Wei.
972 * docutils/parsers/rst/states.py:
974 - Fixed bug with escaped colons indicating a literal block.
975 - Fixed bug with enumerated lists (SF#1254145).
976 - Backslash-escaped colons inside of field names are now allowed.
977 - Targets (implicit and explicit), anonymous hyperlink references
978 and auto-numbered footnote references inside of substitution
979 definitions are now disallowed.
980 - Fixed bug: list items with blank first lines.
981 - Fixed bug: block quote attributions with indented second lines.
982 - Added East Asian double-width character support (Python 2.4 only).
984 * docutils/parsers/rst/tableparser.py:
986 - Added East Asian double-width character support (Python 2.4 only).
988 * docutils/parsers/rst/directives/body.py:
990 - Added the "container" directive.
992 * docutils/parsers/rst/directives/misc.py:
994 - Added the "default-role", "title", and "date" directives.
995 - Added standard data file syntax to the "include" directive.
996 - Added support for "class" directive content.
998 * docutils/parsers/rst/directives/images.py:
1000 - Added ``indirect_reference_name`` support for images with a target
1002 - Added support for image width and height units.
1003 - Fixed bug with image "target" options.
1005 * docutils/parsers/rst/directives/references.py:
1007 - Added "class" attribute to "target-notes" directive, for
1008 footnote_reference classes.
1010 * docutils/parsers/rst/include/: Directory added to project; contains
1011 standard data files for the "include" directive. Initial contents:
1012 character entity substitution definition sets, and a set of
1013 definitions for S5/HTML presentations.
1015 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
1016 mappings by David Goodger.
1018 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
1019 Simplified Chinese mappings by Panjunyong.
1021 * docutils/readers/__init__.py:
1023 - Added universal.Decorations and universal.ExposeInternals
1024 transforms as default transforms for all readers.
1025 - Added ``ReReader`` base class for readers that reread an existing
1028 * docutils/readers/doctree.py: Added to project; a reader for existing
1031 * docutils/transforms/frontmatter.py:
1033 - Fixed the DocInfo transform to handle SVN-style expansion of the
1035 - In ``DocInfo.extract_authors``, treat the contents of "authors"
1038 * docutils/transforms/misc.py:
1040 - Added misc.Transitions transform, extracted from
1041 universal.FinalChecks.
1043 * docutils/transforms/references.py:
1045 - Added references.DanglingReferences transform, extracted from
1046 universal.FinalChecks.
1047 - Fixed bug with doubly-indirect substitutions.
1048 - Added footnote_reference classes attribute to "TargetNotes".
1049 - Fixed bug with circular substitution definitions that put Docutils
1050 into an infinite loop.
1052 * docutils/transforms/universal.py:
1054 - Added universal.ExposeInternals transform, extracted from
1055 universal.FinalChecks.
1056 - Removed universal.FinalChecks transform (logic has been moved to
1057 several new transforms).
1058 - Fixed bug with the "expose_internals" setting and Text nodes
1059 (exposed by the "rawsource" internal attribute).
1060 - Added the universal.StripComments transform, implementation of the
1061 "strip_comments" setting.
1063 * docutils/transforms/writer_aux.py: Added to project; auxiliary
1064 transforms for writers.
1066 - Added ``Compound`` transform, which flattens compound paragraphs.
1068 * docutils/writers/: Several writer modules (html4css1.py) were
1069 converted into packages. Support modules and data files have been
1070 moved into the packages. The stylesheets for the HTML writers are
1071 now installed along with the code, the code knows where to find
1072 them, and the default is to use them (actually, to embed them).
1073 Some adjustments to configuration files may be necessary. The
1074 easiest way to obtain the new default behavior is to remove all
1075 settings whose name includes "stylesheet".
1077 * docutils/writers/__init__.py:
1079 - Added universal.Messages and universal.FilterMessages transforms
1080 as default transforms for all writers.
1081 - Added ``UnfilteredWriter`` base class for writers that pass the
1082 document tree on unchanged.
1084 * docutils/writers/docutils_xml.py:
1086 - Made ``xmlcharrefreplace`` the default output encoding error
1089 * docutils/writers/html4css1/:
1091 - Added support for image width and height units.
1092 - Made ``xmlcharrefreplace`` the default output encoding error
1094 - Made ``--embed-stylesheet`` the default rather than
1095 ``--link-stylesheet``.
1096 - Moved "id" attribute from container (section etc.) to title's <a>
1097 tag, to be on the same tag as "name".
1098 (!!! To be reverted in Docutils 0.5.)
1099 - Added vertical space between fields of field lists.
1100 - Added ``--compact-field-lists`` option to remove vertical space in
1102 - Made cloaking of email addresses with ``--cloak-email-addresses``
1104 - Fixed support for centered images.
1105 - Added support for class="compact" & class="open" lists.
1107 * docutils/writers/latex2e/:
1109 - Underscores in citekeys are no longer escaped.
1111 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
1112 mapping of Unicode characters to LaTeX equivalents.
1114 * docutils/writers/s5_html/: Package added to project; writer for
1115 S5/HTML slide shows.
1117 * docs/dev/distributing.txt: Added to project; guide for distributors
1118 (package maintainers).
1120 * docs/dev/hacking.txt: Added to project; guide for developers.
1122 * docs/ref/doctree.txt:
1124 - Updated for plural attributes "classes", "ids", "names",
1126 - Added the "container" element.
1128 * docs/ref/docutils.dtd:
1130 - Updated for plural attributes "classes", "ids", "names",
1133 * docs/user/emacs.txt: Added to project; a document about Emacs
1134 support for reStructuredText and Docutils.
1136 * docs/user/links.txt: Added to project; lists of Docutils-related
1139 * docs/user/mailing-lists.txt: Added to project; information about
1140 Docutils-related mailing lists and how to access them.
1142 * docs/user/slide-shows.txt: Added to project; example of and docs for
1143 the S5/HTML writer (``rst2s5.py`` front end).
1145 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
1146 Files", added to project.
1148 * test/coverage.sh: Added to project; test coverage script.
1150 * test/DocutilsTestSupport.py:
1152 - Added support for specifying runtime settings at the suite level.
1154 * test/test_functional.py:
1156 - Added the ``clear_output_directory`` function.
1157 - Added support for ``_test_more`` functions in functional test
1160 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
1162 * tools/rstpep2html.py: Renamed from pep.py.
1164 * tools/dev/create_unimap.py: Added to project; script to create the
1165 docutils/writers/unimap_latex.py mapping file.
1167 * tools/dev/profile_docutils.py: Added to project; profiler script.
1169 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
1171 * tools/editors/emacs/restructuredtext.el,
1172 tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
1173 Removed from project; the functionality is now contained in rst.el.
1175 * tools/editors/emacs/rst.el: Added to project. Added many features
1176 and fixed many bugs. See docs/user/emacs.txt for details.
1178 * tools/stylesheets: Removed from project. Stylesheets have been
1179 renamed and moved into writer packages.
1182 Release 0.3.9 (2005-05-26)
1183 ==========================
1187 - Eliminated and replaced all uses of the old string attributes
1188 ``id``, ``name``, ``dupname`` and ``class`` with references to the
1189 new list attributes ``ids``, ``names``, ``dupnames`` and
1190 ``classes`` throughout the whole source tree.
1194 - Enabled ``--dump-*`` options when ``--traceback`` specified,
1195 allowing for easier debugging.
1196 - In ``Publisher.publish()``, expanded the generic top-level
1199 * docutils/examples.py:
1201 - Added ``internals`` function for exploration.
1205 - Fixed ``Input.decode`` method to apply heuristics only if no
1206 encoding is explicitly given, and to provide better reporting of
1208 - The ``Input.decode`` method now removes byte order marks (BOMs)
1211 * docutils/nodes.py:
1213 - ``image`` element class changed to subclass of Element, not
1214 TextElement (it's an empty element, and cannot contain text).
1215 - Added ``attr_defaults`` dictionary for default attribute values.
1216 - Added empty list as default value for the following attributes:
1217 ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
1218 - Added ``document.decoration`` attribute,
1219 ``document.get_decoration`` method, and ``decoration.get_header``
1220 & ``.get_footer`` methods.
1221 - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
1224 * docutils/utils.py:
1226 - Removed ``docutils.utils.Reporter.categories``,
1227 ``docutils.utils.ConditionSet``, and all references to them, to
1228 simplify error reporting.
1230 * docutils/languages/nl.py: Added to project; Dutch mappings by
1233 * docutils/parsers/rst/__init__.py:
1235 - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
1237 * docutils/parsers/rst/states.py:
1239 - Added check for escaped at-mark to prevent email address recognition.
1240 - Fixed option lists to allow spaces inside ``<angle-bracketed option
1242 - Allowed whitespace in paths and URLs.
1243 - Added auto-enumerated list items.
1244 - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
1246 - Added support for table stub columns.
1248 * docutils/parsers/rst/directives/__init__.py:
1250 - Allowed whitespace in paths (``path`` function).
1251 - Added ``uri`` directive option conversion function.
1253 * docutils/parsers/rst/directives/body.py:
1255 - Fixed illegal context bug with "topic" directive (allowed within
1256 sidebars; not within body elements).
1258 * docutils/parsers/rst/directives/images.py:
1260 - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
1261 - Added support for the ``file_insertion_enabled`` setting in the
1262 "figure" directive (disables "figwidth" option).
1263 - "image" directive: added checks for valid values of "align" option,
1264 depending on context. "figure" directive: added specialized
1265 "align" option and attribute on "figure" element.
1266 - Made ":figwidth: image" option of "figure" directive work again.
1267 - Fixed bug with reference names containing uppercase letters
1268 (e.g. ``Name_``) in "target" option of "image" directive.
1270 * docutils/parsers/rst/directives/misc.py:
1272 - Fixed "include" and "raw" directives to catch text decoding
1274 - Allowed whitespace in "include" & "raw" directive paths.
1275 - Added support for ``file_insertion_enabled`` & ``raw_enabled``
1276 settings in "include" & "raw" directives.
1278 * docutils/parsers/rst/directives/parts.py:
1280 - Added "header" & "footer" directives.
1281 - Fixed illegal context bug with "contents" directive (topics
1282 allowed within sidebars; not within body elements).
1284 * docutils/parsers/rst/directives/tables.py:
1286 - Added "list-table" directive.
1287 - Caught empty CSV table bug.
1288 - Added support for the ``file_insertion_enabled`` setting in the
1289 "csv-table" directive.
1290 - Added ``stub-columns`` option to "csv-table" and "list-table"
1293 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1294 mappings by Martijn Pieters.
1296 * docutils/readers/standalone.py:
1298 - Added ``--section-subtitles`` and ``--no-section-subtitles``
1299 options to activate or deactivate the SectSubTitle transform.
1301 * docutils/transforms/frontmatter.py:
1303 - Added SectSubTitle transform to promote titles of lone
1304 subsections to subtitles.
1306 * docutils/transforms/references.py:
1308 - Fixed mislocated internal targets bug, by propagating internal
1309 targets to the next node, making use of the newly added support
1310 for multiple names and IDs.
1311 - Fixed duplicate footnote label bug.
1312 - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1315 * docutils/writers/html4css1.py:
1317 - Fixed unencoded stylesheet reference bug (characters like "&" in
1318 stylesheet references).
1319 - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1321 - Added support for multiple IDs per node by creating empty ``span``
1323 - Added the ``field_name_limit`` & ``option_limit`` settings &
1325 - Added support for table stub columns.
1326 - Added support for the ``align`` attribute on ``figure`` elements.
1327 - Added the ``cloak_email_addresses`` setting & support.
1328 - Added ``html_prolog``, ``html_head``, ``html_body``,
1329 ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1330 ``docutils.core.publish_parts``.
1331 - Added support for section subtitles.
1333 * docutils/writers/latex2e.py:
1335 - Fixed tables starting with more than one multirow cell.
1336 - Improved --use-latex-docinfo so that organization/contact/address
1337 fields are lumped with the last author field and appear on the
1339 - Made sure the titlepage is always shown with --use-latex-docinfo,
1340 even if the document has no title.
1341 - Made sure that latex doesn't fill in today's date if no date field
1343 - Added support for section subtitles.
1345 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1346 (under development).
1348 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1350 * docs/api/publisher.txt:
1352 - Added "``publish_parts`` Details" section.
1354 * docutils/dev/repository.txt: Added to project; information about the
1355 Docutils Subversion repository.
1357 * docs/ref/docutils.dtd:
1359 - Added a ``stub`` attribute to the ``colspec`` element via the
1360 ``tbl.colspec.att`` parameter entity.
1361 - Allowed topic elements within sidebars
1362 - Added an ``align`` attribute to the ``figure`` element.
1364 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1368 Release 0.3.7 (2004-12-24)
1369 ==========================
1371 * docutils/frontend.py:
1373 - Added options: --input-encoding-error-handler,
1374 --record-dependencies, --leave-footnote-reference-space,
1376 - Added command-line and config file support for "overrides" setting
1381 - Added support for input encoding error handler.
1383 * docutils/nodes.py:
1385 - Added dispatch_visit and dispatch_departure methods to
1386 NodeVisitor; useful as a hook for Visitors.
1387 - Changed structure of ``line_block``; added ``line``.
1388 - Added ``compound`` node class.
1389 - Added a mechanism for Visitors to transitionally ignore new node
1392 * docutils/utils.py:
1394 - Moved ``escape2null`` and ``unescape`` functions from
1395 docutils/parsers/rst/states.py.
1397 * docutils/parsers/rst/roles.py:
1400 - Changed role function API: the "text" parameter now takes
1401 null-escaped interpreted text content.
1403 * docutils/parsers/rst/states.py:
1405 - Fixed bug where a "role" directive in a nested parse would crash
1406 the parser; the state machine's "language" attribute was not being
1408 - Added support for line block syntax.
1409 - Fixed directive parsing bug: argument-less directives didn't
1410 notice that arguments were present.
1411 - Removed error checking for transitions.
1412 - Added support for multiple classifiers in definition list items.
1413 - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1414 - Changed role function API: the "text" parameter now takes
1415 null-escaped interpreted text content.
1416 - Empty sections and documents are allowed now.
1418 * docutils/parsers/rst/directives/__init__.py:
1420 - Added ``encoding`` directive option conversion function.
1421 - Allow multiple class names in class_option conversion function.
1423 * docutils/parsers/rst/directives/body.py:
1425 - Converted the line-block directive to use the new structure.
1426 - Extracted the old line-block functionality to the ``block``
1427 function (still used).
1428 - Added ``compound`` directive (thanks to Lea Wiemann).
1430 * docutils/parsers/rst/directives/misc.py:
1432 - Added "encoding" option to "include" and "raw" directives.
1433 - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1434 - Allow multiple class names in the "class" directive.
1436 * docutils/parsers/rst/directives/parts.py:
1438 - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1439 options. Thanks to Lele Gaifax.
1441 * docutils/parsers/rst/directives/tables.py:
1443 - Added "encoding" directive to "csv-table" directive.
1444 - Added workaround for lack of Unicode support in csv.py, for
1445 non-ASCII CSV input.
1447 * docutils/transforms/misc.py:
1449 - Fixed bug when multiple "class" directives are applied to a single
1451 - Enabled multiple format names for "raw" directive.
1453 * docutils/transforms/references.py:
1455 - Added support for trimming whitespace from beside substitution
1458 * docutils/transforms/universal.py:
1460 - FinalChecks now checks for illegal transitions and moves
1461 transitions between sections.
1463 * docutils/writers/html4css1.py:
1465 - HTMLTranslator.encode now converts U+00A0 to " ".
1466 - "stylesheet" and "stylesheet_path" settings are now mutually
1468 - Added support for the new line_block/line structure.
1469 - --footnote-references now overrides
1470 --trim-footnote-reference-space, if applicable.
1471 - Added support for ``compound`` elements.
1472 - Enabled multiple format names for "raw" directive.
1473 - ``<p>`` tags of a paragraph which is the only visible child of the
1474 document node are no longer stripped.
1475 - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1476 new method ``should_be_compact_paragraph()``.
1477 - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1479 - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1480 the output if they have their ``class`` attribute set.
1481 - The whole document is now surrounded by a ``<div
1482 class="document">`` element.
1483 - Body-level images are now wrapped by their own ``<div>`` elements,
1484 with image classes copied to the wrapper, and for images which
1485 have the ``:align:`` option set, the surrounding ``<div>`` now
1486 receives a class attribute (like ``class="align-left"``).
1488 * docutils/writers/latex2e.py:
1490 - no newline after depart_term.
1491 - Added translations for some Unicode quotes.
1492 - Added option "font-encoding", made package AE the default.
1493 - "stylesheet" and "stylesheet_path" settings are now mutually
1495 - --footnote-references now overrides
1496 --trim-footnote-reference-space, if applicable.
1497 - The footnote label style now matches the footnote reference style
1498 ("brackets" or "superscript").
1499 - Added support for ``compound`` elements.
1500 - Enabled multiple format names for "raw" directive.
1502 * docs/ref/docutils.dtd:
1504 - Changed structure of the ``line_block`` element; added ``line``.
1505 - Added ``compound`` element.
1506 - Added "ltrim" and "rtrim" attributes to
1507 ``substitution_definition`` element.
1508 - Enabled multiple format names for ``raw`` element.
1509 - Enabled multiple classifiers in ``definition_list_item`` elements.
1511 * docs/ref/rst/directives.txt
1513 - Marked "line-block" as deprecated.
1514 - "Class" directive now allows multiple class names.
1515 - Added "Rationale for Class Attribute Value Conversion".
1516 - Added warning about "raw" overuse/abuse.
1518 * docs/ref/rst/restructuredtext.txt:
1520 - Added syntax for line blocks.
1521 - Definition list items may have multiple classifiers.
1523 * docs/ref/rst/roles.txt:
1527 * tools/stylesheets/default.css:
1529 - Added support for the new line_block structure.
1530 - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1533 Release 0.3.5 (2004-07-29)
1534 ==========================
1538 * _`Documentation cleanup/reorganization`.
1540 - Created new subdirectories of docs/:
1542 * ``docs/user/``: introductory/tutorial material for end-users
1543 * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1544 * ``docs/api/``: API reference material for client-developers
1545 * ``docs/ref/``: reference material for all groups
1546 * ``docs/howto/``: for component-developers and core-developers
1547 * ``docs/peps/``: Python Enhancement Proposals
1549 - Moved ``docs/*`` to ``docs/user/``.
1550 - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1551 ``spec/`` to ``docs/dev``.
1552 - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1553 ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1554 - Moved ``alternatives.txt``, and ``problems.txt`` from
1555 ``spec/rst/`` to ``docs/dev/rst/``.
1556 - Moved ``reStructuredText.txt``, ``directives.txt``,
1557 ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1558 to ``docs/ref/rst/``. Renamed ``interpreted.txt`` to
1559 ``roles.txt``, ``reStructuredText.txt`` to
1560 ``restructuredtext.txt``.
1561 - Moved ``spec/howto/`` to ``docs/howto``.
1563 In order to keep the CVS history of moved files, we supplied
1564 SourceForge with a `script for modifying the Docutils CVS
1567 __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1569 After running the cleanup script:
1571 - Added ``docs/index.txt``.
1572 - Added a ``.htaccess`` file to the ``web`` module, containing
1573 redirects for all old paths to new paths. They'll preserve
1574 fragments (the "#name" part of a URL), and won't clutter up the
1575 file system, and will correct the URL in the user's browser.
1576 - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1577 ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1578 the "To Do" list itself in ``docs/dev/todo.txt``.
1579 - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1580 section of ``docs/dev/todo.txt``.
1581 - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1582 - Added "How To Report Bugs" to ``BUGS.txt``.
1583 - Went through all the sources and docs (including under web/) and
1584 updated links. Mostly done by Lea Wiemann; thanks Lea!
1585 (Still need to update links in the sandboxes.)
1589 * BUGS.txt: Added to project.
1591 * THANKS.txt: Added to project.
1593 * docutils/__init__.py:
1595 - 0.3.4: Post-release.
1599 - Added special error handling & advice for UnicodeEncodeError.
1600 - Refactored Publisher.publish (simplified exception handling &
1601 extracted debug dumps).
1602 - Renamed "enable_exit" parameter of convenience functions to
1603 "enable_exit_status".
1604 - Enabled traceback (exception propagation) by default in
1605 programmatic convenience functions.
1606 - Now publish_file and publish_cmdline convenience functions return
1607 the encoded string results in addition to their regular I/O.
1608 - Extracted common code from publish_file, publish_string, and
1609 publish_parts, into new publish_programmatically. Extracted
1610 settings code to ``Publisher.process_programmatic_settings``.
1611 - In Publisher.publish, disabled ``settings_overrides`` when
1612 ``settings`` is supplied; redundant.
1614 * docutils/frontend.py:
1616 - Added help text for "--output-encoding-error-handler" and
1617 "--error-encoding-error-handler".
1618 - Renamed "--exit" to "--exit-status".
1619 - Simplified default-setting code.
1621 * docutils/parsers/rst/__init__.py:
1623 - Added "--pep-base-url" and "--rfc-base-url" options.
1625 * docutils/parsers/rst/states.py:
1627 - Made URI recognition more aggressive and intelligent.
1629 * docutils/parsers/rst/directives/__init__.py:
1631 - Added several directive option conversion functions.
1633 * docutils/parsers/rst/directives/body.py:
1635 - Moved "table" directive to tables.py.
1637 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1640 * docutils/writers/latex2e.py:
1642 - Added "--table-style=(standard|booktabs|nolines)"
1643 - figures get "here" option (LaTeX per default puts them at bottom),
1644 and figure content is centered.
1645 - Rowspan support for tables.
1646 - Fix: admonition titles before first section.
1647 - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1648 - Replave ``_`` in literal by an underlined blank, because it has the correct
1650 - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1651 - A few unicode replacements, if output_encoding != utf
1652 - Add "--graphicx-option".
1653 - Indent literal-blocks.
1654 - Fix: omit ``\maketitle`` when there is no document title.
1656 * docs/index.txt: "Docutils Project Documentation Overview", added to
1659 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1660 Tool", added to project.
1662 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1664 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1666 * docs/dev/policies.txt: Added to project (extracted from
1667 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1669 * docs/dev/release.txt: Added to project (extracted from
1670 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1672 * docs/dev/testing.txt: Added to project.
1674 * docs/dev/website.txt: Added to project (extracted from
1675 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1677 * docs/ref/rst/directives.txt:
1679 - Added directives: "table", "csv-table".
1681 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1682 added to project. 1 page for syntax, and a 1 page reference for
1683 directives and roles. Source text to be used as-is; not meant to be
1686 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1687 with a change of title.
1689 * test/functional/, contents, and test/test_functional.py: Added to
1692 * tools/buildhtml.py: Fixed bug with config file handling.
1694 * tools/html.py: Removed from project (duplicate of rst2html.py).
1696 * tools/pep2html.py: Removed from project (duplicate of Python's
1697 nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1698 Docutils-related PEPs in docs/peps/).
1700 * tools/rst2pseudoxml.py: Renamed from publish.py.
1702 * tools/rst2xml.py: Renamed from docutils-xml.py.
1704 * tools/test.txt: Removed from project; moved to
1705 docs/user/rst/demo.txt.
1707 * setup.py: Now also installs ``rst2latex.py``.
1710 Release 0.3.3 (2004-05-09)
1711 ==========================
1713 * docutils/__init__.py:
1715 - 0.3.1: Reorganized config file format (multiple sections); see
1717 - Added unknown_reference_resolvers attribute to TransformSpec.
1718 - 0.3.2: Interpreted text reorganization.
1723 - Catch system messages to stop tracebacks from parsing errors.
1724 - Catch exceptions during processing report & exit without
1725 tracebacks, except when "--traceback" used.
1726 - Reordered components for OptionParser; application comes last.
1727 - Added "config_section" parameter to several methods and functions,
1728 allowing front ends to easily specify their config file sections.
1729 - Added publish_parts convenience function to allow access to individual
1730 parts of a document.
1732 * docutils/examples.py: Added to project; practical examples of
1733 Docutils client code, to be used as-is or as models for variations.
1735 * docutils/frontend.py:
1737 - Added "--traceback" & "--no-traceback" options ("traceback"
1739 - Implemented support for config file reorganization:
1740 ``standard_config_files`` moved from ``ConfigParser`` to
1741 ``OptionParser``; added
1742 ``OptionParser.get_config_file_settings()`` and
1743 ``.get_standard_config_settings()``; support for old "[options]"
1744 section (with deprecation warning) and mapping from old to new
1746 - Reimplemented setting validation.
1747 - Enabled flexible boolean values: yes/no, true/false, on/off.
1748 - Added ``Values``, a subclass of ``optparse.Values``, with support
1749 for list setting attributes.
1750 - Added support for new ``DOCUTILSCONFIG`` environment variable;
1751 thanks to Beni Cherniavsky.
1752 - Added "--no-section-numbering" option.
1756 - Catch IOErrors when opening source & destination files, report &
1757 exit without tracebacks. Added ``handle_io_errors`` parameter to
1758 ``FileInput`` & ``FileOutput`` to enable caller error handling.
1760 * docutils/nodes.py:
1762 - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1763 method definitions (via ``exec``) to dynamic assignments (via
1764 ``setattr``); thanks to Roman Suzi.
1765 - Encapsulated visitor dynamic assignments in a function; thanks to
1767 - Added indirect_reference_name attribute to the Targetable
1768 class. This attribute holds the whitespace_normalized_name
1769 (contains mixed case) of a target.
1771 * docutils/statemachine.py:
1773 - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1774 - Added ``StringList.get_2D_block``.
1776 * docutils/utils.py:
1778 - Added "level" attribute to SystemMessage exceptions.
1780 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1783 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1786 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1787 Marcelo Huerta San Martin.
1789 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1790 mappings by Lalo Martins.
1792 * docutils/languages/ru.py: Added to project; Russian mappings by
1795 * docutils/parsers/rst/roles.py: Added to project. Contains
1796 interpreted text role functions, a registry for interpreted text
1797 roles, and an API for adding to and retrieving from the registry.
1798 Contributed by Edward Loper.
1800 * docutils/parsers/rst/states.py:
1802 - Updated ``RSTState.nested_parse`` for "include" in table cells.
1803 - Allowed true em-dash character and "---" as block quote
1805 - Added support for <angle-bracketed> complex option arguments
1807 - Fixed handling of backslashes in substitution definitions.
1808 - Fixed off-by-1 error with extra whitespace after substitution
1809 definition directive.
1810 - Added inline markup parsing to field lists' field names.
1811 - Added support for quoted (and unindented) literal blocks.
1812 Driven in part by a bribe from Frank Siebenlist (thanks!).
1813 - Parser now handles escapes in URIs correctly.
1814 - Made embedded-URIs' reference text omittable. Idea from Beni
1816 - Refactored explicit target processing code.
1817 - Added name attribute to references containing the reference name only
1818 through whitespace_normalize_name (no case changes).
1819 - parse_target no longer returns the refname after going through
1820 normalize_name. This is now handled in make_target.
1821 - Fixed bug relating to role-less interpreted text in non-English
1823 - Reorganized interpreted text processing; moved code into the new
1824 roles.py module. Contributed by Edward Loper.
1825 - Refactored ``Body.parse_directive`` into ``run_directive`` and
1826 ``parse_directive_block``.
1828 * docutils/parsers/rst/tableparser.py:
1830 - Reworked for ``StringList``, to support "include" directives in
1833 * docutils/parsers/rst/directives/__init__.py:
1835 - Renamed ``unchanged()`` directive option conversion function to
1836 ``unchanged_required``, and added a new ``unchanged``.
1837 - Catch unicode value too high error; fixes bug 781766.
1838 - Beefed up directive error reporting.
1840 * docutils/parsers/rst/directives/body.py:
1842 - Added basic "table" directive.
1844 * docutils/parsers/rst/directives/images.py:
1846 - Added "target" option to "image" directive.
1847 - Added name attribute to references containing the reference name only
1848 through whitespace_normalize_name (no case changes).
1850 * docutils/parsers/rst/directives/misc.py:
1852 - Isolated the import of the ``urllib2`` module; was causing
1853 problems on SourceForge (``libssl.so.2`` unavailable?).
1854 - Added the "role" directive for declaring custom interpreted text
1857 * docutils/parsers/rst/directives/parts.py:
1859 - The "contents" directive does more work up-front, creating the
1860 "topic" and "title", and leaving the "pending" node for the
1861 transform. Allows earlier reference resolution; fixes subtle bug.
1863 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1864 mappings by Jannie Hofmeyr.
1866 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1867 mappings by Marek Blaha.
1869 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1870 mappings by Marcelo Huerta San Martin.
1872 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1873 Portuguese mappings by Lalo Martins.
1875 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1876 mappings by Roman Suzi.
1878 * docutils/transforms/parts.py:
1880 - The "contents" directive does more work up-front, creating the
1881 "topic" and "title", and leaving the "pending" node for the
1882 transform. Allows earlier reference resolution; fixes subtle bug.
1883 - Added support for disabling of section numbering.
1885 * docutils/transforms/references.py:
1887 - Verifying that external targets are truly targets and not indirect
1888 references. This is because we are now adding a "name" attribute to
1889 references in addition to targets. Note sure if this is correct!
1890 - Added code to hook into the unknown_reference_resolvers list for a
1891 transformer in resolve_indirect_target. This allows the
1892 unknown_reference_resolvers to keep around indirect targets which
1893 docutils doesn't know about.
1894 - Added specific error message for duplicate targets.
1896 * docutils/transforms/universal.py:
1898 - Added FilterMessages transform (removes system messages below the
1899 verbosity threshold).
1900 - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1901 to FinalCheckVisitor for application-specific handling of
1902 unresolvable references.
1903 - Added specific error message for duplicate targets.
1905 * docutils/writers/__init__.py:
1907 - Added assemble_parts method to the Writer class to allow for
1908 access to a documents individual parts.
1909 - Documented & set default for ``Writer.output`` attribute.
1911 * docutils/writers/html4css1.py:
1913 - Fixed unicode handling of attribute values (bug 760673).
1914 - Prevent duplication of "class" attribute values (bug report from
1916 - Improved table grid/border handling (prompted by report from Bob
1918 - Added support for table titles.
1919 - Added "<title />" for untitled docs, for XHTML conformance; thanks
1921 - Added functionality to keep track of individual parts of a document
1922 and store them in a dictionary as the "parts" attribute of the writer.
1923 Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1924 - Added proper support for the "scale" attribute of the "image"
1925 element. Contributed by Brent Cook.
1926 - Added ``--initial-header-level`` option.
1927 - Fixed bug: the body_pre_docinfo segment depended on there being a
1928 docinfo; if no docinfo, the document title was incorporated into
1929 the body segment. Adversely affected the publish_parts interface.
1931 * docutils/writers/latex2e.py:
1933 - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1934 about a missing file.
1935 - Added options and support: ``--compound-enumerators``,
1936 ``--section-prefix-for-enumerators``, and
1937 ``--section-enumerator-separator``. By John F Meinel Jr (SF patch
1939 - Added option ``--use-verbatim-when-possible``, to avoid
1940 problematic characters (eg, '~' in italian) in literal blocks.
1941 - It's now possible to use four section levels in the `book` and
1942 `report` LaTeX classes. The default `article` class still has
1945 * docs/config.txt: "Docutils Configuration Files", added to project.
1946 Moved config file entry descriptions from tools.txt.
1950 - Moved config file entry descriptions to config.txt.
1952 * spec/notes.txt: Continual updates. Added "Setting Up For Docutils
1955 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1956 Text Roles", added to project.
1958 * spec/rst/reStructuredText.txt:
1960 - Added description of support for <angle-bracketed> complex option
1961 arguments to option lists.
1962 - Added subsections for indented and quoted literal blocks.
1964 * test: Continually adding & updating tests.
1966 - Added test/test_settings.py & test/data/config_*.txt support
1968 - Added test/test_writers/test_htmlfragment.py.
1970 * test/DocutilsTestSupport.py:
1972 - Refactored LaTeX publisher test suite/case class names to make
1973 testing other writers easier.
1974 - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1975 to test the processing of HTML fragments which use the new
1976 publish_parts convenience function.
1978 * tools/buildhtml.py:
1980 - Added support for the "--prune" option.
1981 - Removed dependency on pep2html.py; plaintext PEPs no longer
1984 * tools/docutils.conf:
1986 - Updated for configuration file reorganization.
1988 * tools/rst2html.py:
1990 - copied from tools/html.py
1994 - added a 'scripts' section to configuration
1995 - added 'tools/rst2html.py' to the scripts section
1998 Release 0.3 (2003-06-24)
1999 ========================
2003 * Renamed "attribute" to "option" for directives/extensions.
2005 * Renamed transform method "transform" to "apply".
2007 * Renamed "options" to "settings" for runtime settings (as set by
2008 command-line options). Sometimes "option" (singular) became
2009 "settings" (plural). Some variations below:
2011 - document.options -> document.settings (stored in other objects as
2013 - option_spec -> settings_spec (not directives though)
2014 - OptionSpec -> SettingsSpec
2015 - cmdline_options -> settings_spec
2016 - relative_path_options -> relative_path_settings
2017 - option_default_overrides -> settings_default_overrides
2018 - Publisher.set_options -> Publisher.get_settings
2022 * COPYING.txt: Added "Public Domain Dedication".
2024 * FAQ.txt: Frequently asked questions, added to project.
2028 - Updated with PyPI Trove classifiers.
2029 - Conditional installation of third-party modules.
2031 * docutils/__init__.py:
2033 - Bumped version to 0.2.1 to reflect changes to I/O classes.
2034 - Bumped version to 0.2.2 to reflect changes to stylesheet options.
2035 - Factored ``SettingsSpec`` out of ``Component``; separately useful.
2036 - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
2037 option and its effect on the PEP template & writer.
2038 - Bumped version to 0.2.4 due to changes to the PEP template &
2040 - Bumped version to 0.2.5 to reflect changes to Reporter output.
2041 - Added ``TransformSpec`` class for new transform system.
2042 - Bumped version to 0.2.6 for API changes (renaming).
2043 - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
2044 convenience functions.
2045 - Added ``Component.component_type`` attribute.
2046 - Bumped version to 0.2.8 because of the internal parser switch from
2047 plain lists to the docutils.statemachine.StringList objects.
2048 - Bumped version to 0.2.9 because of the frontend.py API changes.
2049 - Bumped version to 0.2.10 due to changes to the project layout
2050 (third-party modules removed from the "docutils" package), and
2051 signature changes in ``io.Input``/``io.Output``.
2052 - Changed version to 0.3.0 for release.
2056 - Made ``publish()`` a bit more convenient.
2057 - Generalized ``Publisher.set_io``.
2058 - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
2059 parameters; improved its docstring.
2060 - Added ``publish_file()`` and ``publish_string()``.
2061 - Factored ``Publisher.set_source()`` and ``.set_destination()``
2063 - Added support for "--dump-pseudo-xml", "--dump-settings", and
2064 "--dump-transforms" hidden options.
2065 - Added ``Publisher.apply_transforms()`` method.
2066 - Added ``Publisher.set_components()`` method; support for
2067 ``publish_*()`` conveninece functions.
2068 - Moved config file processing to docutils/frontend.py.
2069 - Added support for exit status ("exit_level" setting &
2070 ``enable_exit`` parameter for Publisher.publish() and convenience
2073 * docutils/frontend.py:
2075 - Check for & exit on identical source & destination paths.
2076 - Fixed bug with absolute paths & "--config".
2077 - Set non-command-line defaults in ``OptionParser.__init__()``:
2078 ``_source`` & ``_destination``.
2079 - Distributed ``relative_path_settings`` to components; updated
2080 ``OptionParser.populate_from_components()`` to combine it all.
2081 - Require list of keys in ``make_paths_absolute`` (was implicit in
2082 global ``relative_path_settings``).
2083 - Added "--expose-internal-attribute", "--dump-pseudo-xml",
2084 "--dump-settings", and "--dump-transforms" hidden options.
2085 - Removed nasty internals-fiddling ``ConfigParser.get_section``
2086 code, replaced with correct code.
2087 - Added validation functionality for config files.
2088 - Added "--error-encoding" option/setting, "_disable_config"
2090 - Added encoding validation; updated "--input-encoding" and
2091 "--output-encoding"; added "--error-encoding-error-handler" and
2092 "--output-encoding-error-handler".
2093 - Moved config file processing from docutils/core.py.
2094 - Updated ``OptionParser.populate_from_components`` to handle new
2095 ``SettingsSpec.settings_defaults`` dict.
2096 - Added support for "-" => stdin/stdout.
2097 - Added "exit_level" setting ("--exit" option).
2101 - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
2102 - Added automatic closing to ``FileInput`` and ``FileOutput``.
2103 - Delayed opening of ``FileOutput`` file until ``write()`` called.
2104 - ``FileOutput.write()`` now returns the encoded output string.
2105 - Try to get path/stream name automatically in ``FileInput`` &
2107 - Added defaults for source & destination paths.
2108 - Allow for Unicode I/O with an explicit "unicode" encoding.
2109 - Added ``Output.encode()``.
2110 - Removed dependency on runtime settings; pass encoding directly.
2111 - Recognize Unicode strings in ``Input.decode()``.
2112 - Added support for output encoding error handlers.
2114 * docutils/nodes.py:
2116 - Added "Invisible" element category class.
2117 - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
2118 modification during a traversal.
2119 - Added element classes: ``line_block``, ``generated``, ``address``,
2120 ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
2121 ``superscript``, ``subscript``, ``inline``
2122 - Added support for lists of nodes to ``Element.insert()``.
2123 - Fixed parent linking in ``Element.replace()``.
2124 - Added new abstract superclass ``FixedTextElement``; adds
2125 "xml:space" attribute.
2126 - Added support for "line" attribute of ``system_message`` nodes.
2127 - Added support for the observer pattern from ``utils.Reporter``.
2128 Added ``parse_messages`` and ``transform_messages`` attributes to
2129 ``document``, removed ``messages``. Added ``note_parse_message``
2130 and ``note_transform_message`` methods.
2131 - Added support for improved diagnostics:
2133 - Added "document", "source", and "line" internal attributes to
2134 ``Node``, set by ``Node.setup_child()``.
2135 - Converted variations on ``node.parent = self`` to
2136 ``self.setup_child(node)``.
2137 - Added ``document.current_source`` & ``.current_line``
2138 attributes, and ``.note_source`` observer method.
2139 - Changed "system_message" output to GNU-Tools format.
2141 - Added a "rawsource" attribute to the ``Text`` class, for text
2142 before backslash-escape resolution.
2143 - Support for new transform system.
2144 - Reworked ``pending`` element.
2145 - Fixed XML DOM bug (SF #660611).
2146 - Removed the ``interpeted`` element class and added
2147 ``title_reference``, ``abbreviation``, ``acronym``.
2148 - Made substitutions case-sensitive-but-forgiving; moved some code
2150 - Fixed Unicode bug on element attributes (report: William Dode).
2152 * docutils/optik.py: Removed from project; replaced with
2153 extras/optparse.py and extras/textwrap.py. These will be installed
2154 only if they're not already present in the Python installation.
2156 * docutils/roman.py: Moved to extras/roman.py; this will be installed
2157 only if it's not already present in the Python installation.
2159 * docutils/statemachine.py:
2161 - Factored out ``State.add_initial_transitions()`` so it can be
2163 - Converted whitespace-specific "blank" and "indent" transitions
2164 from special-case code to ordinary transitions: removed
2165 ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
2166 ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
2167 ``ws_initial_transitions`` attributes.
2168 - Removed ``State.match_transition()`` after merging it into
2170 - Added ``StateCorrection`` exception.
2171 - Added support for ``StateCorrection`` in ``StateMachine.run()``
2172 (moved ``TransitionCorrection`` support there too.)
2173 - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
2174 ``EOFError`` instead of ``IndexError``.
2175 - Added ``State.no_match`` method.
2176 - Added support for the Observer pattern, triggered by input line
2178 - Added ``strip_top`` parameter to
2179 ``StateMachineWS.get_first_known_indented``.
2180 - Made ``context`` a parameter to ``StateMachine.run()``.
2181 - Added ``ViewList`` & ``StringList`` classes;
2182 ``extract_indented()`` becomes ``StringList.get_indented()``.
2183 - Added ``StateMachine.insert_input()``.
2184 - Fixed ViewList slice handling for Python 2.3. Patch from (and
2185 thanks to) Fred Drake.
2187 * docutils/utils.py:
2189 - Added a ``source`` attribute to Reporter instances and
2190 ``system_message`` elements.
2191 - Added an observer pattern to ``utils.Reporter`` to keep track of
2193 - Fixed bugs in ``relative_path()``.
2194 - Added support for improved diagnostics.
2195 - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
2196 - Added support for encoding Reporter stderr output, and encoding
2198 - Reporter keeps track of the highest level system message yet
2201 * docutils/languages: Fixed bibliographic field language lookups.
2203 * docutils/languages/es.py: Added to project; Spanish mappings by
2204 Marcelo Huerta San Martin.
2206 * docutils/languages/fr.py: Added to project; French mappings by
2209 * docutils/languages/it.py: Added to project; Italian mappings by
2212 * docutils/languages/sk.py: Added to project; Slovak mappings by
2215 * docutils/parser/__init__.py:
2217 - Added ``Parser.finish_parse()`` method.
2219 * docutils/parser/rst/__init__.py:
2221 - Added options: "--pep-references", "--rfc-references",
2222 "--tab-width", "--trim-footnote-reference-space".
2224 * docutils/parsers/rst/states.py:
2226 - Changed "title under/overline too short" system messages from INFO
2227 to WARNING, and fixed its insertion location.
2228 - Fixed enumerated list item parsing to allow paragraphs & section
2229 titles to begin with enumerators.
2230 - Converted system messages to use the new "line" attribute.
2231 - Fixed a substitution reference edge case.
2232 - Added support for "--pep-references" and "--rfc-references"
2233 options; reworked ``Inliner`` code to make customization easier.
2234 - Removed field argument parsing.
2235 - Added support for short section title over/underlines.
2236 - Fixed "simple reference name" regexp to ignore text like
2237 "object.__method__"; not an anonymous reference.
2238 - Added support for improved diagnostics.
2239 - Reworked directive API, based on Dethe Elza's contribution. Added
2240 ``Body.parse_directive()``, ``.parse_directive_options()``,
2241 ``.parse_directive_arguments()`` methods.
2242 - Added ``ExtensionOptions`` class, to parse directive options
2243 without parsing field bodies. Factored
2244 ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
2245 ``ExtensionOptions``.
2246 - Improved definition list term/classifier parsing.
2247 - Added warnings for unknown directives.
2248 - Renamed ``Stuff`` to ``Struct``.
2249 - Now flagged as errors: transitions at the beginning or end of
2250 sections, empty sections (except title), and empty documents.
2251 - Updated for ``statemachine.StringList``.
2252 - Enabled recognition of schemeless email addresses in targets.
2253 - Added support for embedded URIs in hyperlink references.
2254 - Added backslash-escapes to inline markup end-string suffix.
2255 - Added support for correct interpreted text processing.
2256 - Fixed nested title parsing (topic, sidebar directives).
2257 - Added special processing of backslash-escaped whitespace (idea
2258 from David Abrahams).
2259 - Made substitutions case-sensitive-but-forgiving; moved some code
2260 to ``docutils.nodes``.
2261 - Added support for block quote attributions.
2262 - Added a kludge to work-around a conflict between the bubble-up
2263 parser strategy and short titles (<= 3 char-long over- &
2264 underlines). Fixes SF bug #738803 "infinite loop with multiple
2265 titles" submitted by Jason Diamond.
2266 - Added explicit interpreted text roles for standard inline markup:
2267 "emphasis", "strong", "literal".
2268 - Implemented "superscript" and "subscript" interpreted text roles.
2269 - Added initial support for "abbreviation" and "acronym" roles;
2271 - Added support for "--trim-footnote-reference-space" option.
2272 - Optional space before colons in directives & hyperlink targets.
2274 * docutils/parsers/rst/tableparser.py:
2276 - Fixed a bug that was producing unwanted empty rows in "simple"
2278 - Detect bad column spans in "simple" tables.
2280 * docutils/parsers/rst/directives: Updated all directive functions to
2283 * docutils/parsers/rst/directives/__init__.py:
2285 - Added ``flag()``, ``unchanged()``, ``path()``,
2286 ``nonnegative_int()``, ``choice()``, and ``class_option()``
2287 directive option helper functions.
2288 - Added warnings for unknown directives.
2289 - Return ``None`` for missing directives.
2290 - Added ``register_directive()``, thanks to William Dode and Paul
2293 * docutils/parsers/rst/directives/admonitions.py:
2295 - Added "admonition" directive.
2297 * docutils/parsers/rst/directives/body.py: Added to project. Contains
2298 the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2299 "parsed-literal", "rubric", "epigraph", "highlights" and
2300 "pull-quote" directives.
2302 * docutils/parsers/rst/directives/images.py:
2304 - Added an "align" attribute to the "image" & "figure" directives
2305 (by Adam Chodorowski).
2306 - Added "class" option to "image", and "figclass" to "figure".
2308 * docutils/parsers/rst/directives/misc.py:
2310 - Added "include", "raw", and "replace" directives, courtesy of
2312 - Added "unicode" and "class" directives.
2314 * docutils/parsers/rst/directives/parts.py:
2316 - Added the "sectnum" directive; by Dmitry Jemerov.
2317 - Added "class" option to "contents" directive.
2319 * docutils/parsers/rst/directives/references.py: Added to project.
2320 Contains the "target-notes" directive.
2322 * docutils/parsers/rst/languages/__init__.py:
2324 - Return ``None`` from get_language() for missing language modules.
2326 * docutils/parsers/rst/languages/de.py: Added to project; German
2327 mappings by Engelbert Gruber.
2329 * docutils/parsers/rst/languages/en.py:
2331 - Added interpreted text roles mapping.
2333 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2334 mappings by Marcelo Huerta San Martin.
2336 * docutils/parsers/rst/languages/fr.py: Added to project; French
2337 mappings by William Dode.
2339 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2340 mappings by Nicola Larosa.
2342 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2343 mappings by Miroslav Vasko.
2345 * docutils/readers/__init__.py:
2347 - Added support for the observer pattern from ``utils.Reporter``, in
2348 ``Reader.parse`` and ``Reader.transform``.
2349 - Removed ``Reader.transform()`` method.
2350 - Added default parameter values to ``Reader.__init__()`` to make
2351 instantiation easier.
2352 - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2354 * docutils/readers/pep.py:
2356 - Added the ``peps.TargetNotes`` transform to the Reader.
2357 - Removed PEP & RFC reference detection code; moved to
2358 parsers/rst/states.py as options (enabled here by default).
2359 - Added support for pre-acceptance PEPs (no PEP number yet).
2360 - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2363 * docutils/readers/python: Python Source Reader subpackage added to
2364 project, including preliminary versions of:
2367 - moduleparser.py: Parser for Python modules.
2369 * docutils/transforms/__init__.py:
2371 - Added ``Transformer`` class and completed transform reform.
2372 - Added unknown_reference_resolvers list for each transformer. This list holds
2373 the list of functions provided by each component of the transformer that
2374 help resolve references.
2376 * docutils/transforms/frontmatter.py:
2378 - Improved support for generic fields.
2379 - Fixed bibliographic field language lookups.
2381 * docutils/transforms/misc.py: Added to project. Miscellaneous
2384 * docutils/transforms/parts.py:
2386 - Moved the "id" attribute from TOC list items to the references
2387 (``Contents.build_contents()``).
2388 - Added the ``SectNum`` transform; by Dmitry Jemerov.
2389 - Added "class" attribute support to ``Contents``.
2391 * docutils/transforms/peps.py:
2393 - Added ``mask_email()`` function, updating to pep2html.py's
2395 - Linked "Content-Type: text/x-rst" to PEP 12.
2396 - Added the ``TargetNotes`` PEP-specific transform.
2397 - Added ``TargetNotes.cleanup_callback``.
2398 - Added title check to ``Headers``.
2400 * docutils/transforms/references.py:
2402 - Added the ``TargetNotes`` generic transform.
2403 - Split ``Hyperlinks`` into multiple transforms.
2404 - Fixed bug with multiply-indirect references (report: Bruce Smith).
2405 - Added check for circular indirect references.
2406 - Made substitutions case-sensitive-but-forgiving.
2408 * docutils/transforms/universal.py:
2410 - Added support for the "--expose-internal-attributes" option.
2411 - Removed ``Pending`` transform classes & data.
2413 * docutils/writers/__init__.py:
2415 - Removed ``Writer.transform()`` method.
2417 * docutils/writers/docutils-xml.py:
2419 - Added XML and doctype declarations.
2420 - Added "--no-doctype" and "--no-xml-declaration" options.
2422 * docutils/writers/html4css1.py:
2424 - "name" attributes only on these tags: a, applet, form, frame,
2426 - Added "name" attribute to <a> in section titles for Netscape 4
2427 support (bug report: Pearu Peterson).
2428 - Fixed targets (names) on footnote, citation, topic title,
2429 problematic, and system_message nodes (for Netscape 4).
2430 - Changed field names from "<td>" to "<th>".
2431 - Added "@" to "@" encoding to thwart address harvesters.
2432 - Improved the vertical whitespace optimization; ignore "invisible"
2433 nodes (targets, comments, etc.).
2434 - Improved inline literals with ``<span class="pre">`` around chunks
2435 of text and `` `` for runs of spaces.
2436 - Improved modularity of output; added ``self.body_pre_docinfo`` and
2437 ``self.docinfo`` segments.
2438 - Added support for "line_block", "address" elements.
2439 - Improved backlinks (footnotes & system_messages).
2440 - Improved system_message output.
2441 - Redefined "--stylesheet" as containing an invariant URL, used
2442 verbatim. Added "--stylesheet-path", interpreted w.r.t. the
2444 - Added "--footnote-references" option (superscript or brackets).
2445 - Added "--compact-lists" and "--no-compact-lists" options.
2446 - Added "--embed-stylesheet" and "--link-stylesheet" options;
2447 factored out ``HTMLTranslator.get_stylesheet_reference()``.
2448 - Improved field list rendering.
2449 - Added Docutils version to "generator" meta tag.
2450 - Fixed a bug with images; they must be inline, so wrapped in <p>.
2451 - Improved layout of <pre> HTML source.
2452 - Fixed attribute typo on <colspec>.
2453 - Refined XML prologue.
2454 - Support for no stylesheet.
2455 - Removed "interpreted" element support.
2456 - Added support for "title_reference", "sidebar", "attribution",
2457 "rubric", and generic "admonition" elements.
2458 - Added "--attribution" option.
2459 - Added support for "inline", "subscript", "superscript" elements.
2460 - Added initial support for "abbreviation" and "acronym";
2463 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2467 - Double quotes in literal blocks (special treatment for de/ngerman).
2468 - Added '--hyperlink-color' option ('0' turns off coloring of links).
2469 - Added "--attribution" option.
2470 - Right align attributions.
2472 * docutils/writers/pep_html.py:
2474 - Parameterized output encoding in PEP template.
2475 - Reworked substitutions from ``locals()`` into ``subs`` dict.
2476 - Redefined "--pep-stylesheet" as containing an invariant URL, used
2477 verbatim. Added "--pep-stylesheet-path", interpreted w.r.t. the
2479 - Added an override on the "--footnote-references" option.
2480 - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2481 - Added Docutils version to "generator" meta tag.
2482 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2486 - Added a "silent" setting for ``buildhtml.py``.
2487 - Added a "Getting Help" section.
2488 - Rearranged the structure.
2489 - Kept up to date, with new settings, command-line options etc.
2490 - Added section for ``rst2latex.py`` (Engelbert Gruber).
2491 - Converted settings table into a definition list.
2493 * docs/rst/quickstart.txt:
2495 - Added a table of contents.
2496 - Added feedback information.
2497 - Added mention of minimum section title underline lengths.
2498 - Removed the 4-character minimum for section title underlines.
2500 * docs/rst/quickref.html:
2502 - Added a "Getting Help" section.
2503 - Added a style to make section title backlinks more subtle.
2504 - Added mention of minimum section title underline lengths.
2505 - Removed the 4-character minimum for section title underlines.
2507 * extras: Directory added to project; contains third-party modules
2508 that Docutils depends on (optparse, textwrap, roman). These are
2509 only installed if they're not already present.
2511 * licenses: Directory added to project; contains copies of license
2512 files for non-public-domain files.
2516 - Changed the focus. It's about DTD elements: structural
2517 relationships, semantics, and external (public) attributes. Not
2518 about the element class library.
2519 - Moved some implementation-specific stuff into ``docutils.nodes``
2521 - Wrote descriptions of all common attributes and parameter
2522 entities. Filled in introductory material.
2523 - Working through the element descriptions: 55 down, 37 to go.
2524 - Removed "Representation of Horizontal Rules" to
2525 spec/rst/alternatives.txt.
2527 * spec/docutils.dtd:
2529 - Added "generated" inline element.
2530 - Added "line_block" body element.
2531 - Added "auto" attribute to "title".
2532 - Changed content models of "literal_block" and "doctest_block" to
2534 - Added ``%number;`` attribute type parameter entity.
2535 - Changed ``%structural.elements;`` to ``%section.elements``.
2536 - Updated attribute types; made more specific.
2537 - Added "address" bibliographic element.
2538 - Added "line" attribute to ``system_message`` element.
2539 - Removed "field_argument" element; "field_name" may contain
2540 multiple words and whitespace.
2541 - Changed public identifier to docutils.sf.net.
2542 - Removed "interpreted" element; added "title_reference",
2543 "abbreviation", "acronym".
2544 - Removed "refuri" attribute from "footnote_reference" and
2545 "citation_reference".
2546 - Added "sidebar", "rubric", "attribution", "admonition",
2547 "superscript", "subscript", and "inline" elements.
2549 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2551 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2553 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2555 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2558 * spec/transforms.txt: Added to project.
2560 * spec/howto: Added subdirectory, for developer how-to docs.
2562 * spec/howto/rst-directives.txt: Added to project. Original by Dethe
2563 Elza, edited & extended by David Goodger.
2565 * spec/howto/i18n.txt: Docutils Internationalization. Added to
2568 * spec/rst/alternatives.txt:
2570 - Added "Doctree Representation of Transitions" from
2572 - Updated "Inline External Targets" & closed the debate.
2573 - Added ideas for interpreted text syntax extensions.
2574 - Added "Nested Inline Markup" section.
2576 * spec/rst/directives.txt:
2578 - Added directives: "topic", "sectnum", "target-notes",
2579 "line-block", "parsed-literal", "include", "replace", "sidebar",
2580 "admonition", "rubric", "epigraph", "highlights", "unicode" and
2582 - Formalized descriptions of directive details.
2583 - Added an "align" attribute to the "image" & "figure" directives
2584 (by Adam Chodorowski).
2585 - Added "class" options to "topic", "sidebar", "line-block",
2586 "parsed-literal", "contents", and "image"; and "figclass" to
2589 * spec/rst/interpreted.txt: Added to project. Descriptions of
2590 interpreted text roles.
2592 * spec/rst/introduction.txt:
2594 - Added pointers to material for new users.
2596 * spec/rst/reStructuredText.txt:
2598 - Disambiguated comments (just add a newline after the "::").
2599 - Updated enumerated list description; added a discussion of the
2600 second-line validity checking.
2601 - Updated directive description.
2602 - Added a note redirecting newbies to the user docs.
2603 - Expanded description of inline markup start-strings in non-markup
2605 - Removed field arguments and made field lists a generic construct.
2606 - Removed the 4-character minimum for section title underlines.
2607 - Clarified term/classifier delimiter & inline markup ambiguity
2609 - Added "Embedded URIs".
2610 - Updated "Interpreted Text" section.
2611 - Added "Character-Level Inline Markup" section.
2613 * test: Continually adding & updating tests.
2615 - Moved test/test_rst/ to test/test_parsers/test_rst/.
2616 - Moved test/test_pep/ to test/test_readers/test_pep/.
2617 - Added test/test_readers/test_python/.
2618 - Added test/test_writers/ (Engelbert Gruber).
2622 - Made the ``locale.setlocale()`` calls in front ends
2625 * tools/buildhtml.py:
2627 - Added "--silent" option.
2628 - Fixed bug with absolute paths & "--config".
2629 - Updated for new I/O classes.
2630 - Added some exception handling.
2631 - Separated publishers' setting defaults; prevents interference.
2632 - Updated for new ``publish_file()`` convenience function.
2634 * tools/pep-html-template:
2636 - Allow for "--embed-stylesheet".
2637 - Added Docutils version to "generator" meta tag.
2638 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2639 - Conform to XHTML spec.
2641 * tools/pep2html.py:
2643 - Made ``argv`` a parameter to ``main()``.
2644 - Added support for "Content-Type:" header & arbitrary PEP formats.
2645 - Linked "Content-Type: text/plain" to PEP 9.
2646 - Files skipped (due to an error) are not pushed onto the server.
2647 - Updated for new I/O classes.
2648 - Added ``check_requirements()`` & ``pep_type_error()``.
2649 - Added some exception handling.
2650 - Updated for new ``publish_string()`` convenience function.
2651 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2653 * tools/quicktest.py:
2655 - Added "-V"/"--version" option.
2657 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2659 * tools/unicode2rstsubs.py: Added to project. Produces character
2660 entity files (reSructuredText substitutions) from the MathML master
2663 * tools/editors: Support code for editors, added to project. Contains
2664 ``emacs/restructuredtext.el``.
2666 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2668 - Added style for chunks of inline literals.
2669 - Removed margin for first child of table cells.
2670 - Right-aligned field list names.
2671 - Support for auto-numbered section titles in TOCs.
2672 - Increased the size of inline literals (<tt>) in titles.
2673 - Restored the light gray background for inline literals.
2674 - Added support for "line_block" elements.
2675 - Added style for "address" elements.
2676 - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2677 - Improved field list rendering.
2678 - Vertical whitespace improvements.
2679 - Removed "a.target" style.
2681 * tools/stylesheets/pep.css:
2683 - Fixed nested section margins.
2684 - Other changes parallel those of ``../default.css``.
2687 Release 0.2 (2002-07-31)
2688 ========================
2692 - The word "component" was being used ambiguously. From now on,
2693 "component" will be used to mean "Docutils component", as in Reader,
2694 Writer, Parser, or Transform. Portions of documents (Table of
2695 Contents, sections, etc.) will be called "document parts".
2696 - Did a grand renaming: a lot of ``verylongnames`` became
2697 ``very_long_names``.
2698 - Cleaned up imports: no more relative package imports or
2699 comma-separated lists of top-level modules.
2700 - Added support for an option values object which carries default
2701 settings and overrides (from command-line options and library use).
2702 - Added internal Unicode support, and support for both input and
2704 - Added support for the ``docutils.io.IO`` class & subclasses.
2708 * docutils/__init__.py:
2710 - Added ``ApplicationError`` and ``DataError``, for use throughout
2712 - Added ``Component`` base class for Docutils components; implements
2713 the ``supports`` method.
2714 - Added ``__version__`` (thus, ``docutils.__version__``).
2718 - Removed many keyword parameters to ``Publisher.__init__()`` and
2719 ``publish()``; bundled into an option values object. Added
2720 "argv", "usage", "description", and "option_spec" parameters for
2721 command-line support.
2722 - Added ``Publisher.process_command_line()`` and ``.set_options()``
2724 - Reworked I/O model for ``docutils.io`` wrappers.
2725 - Updated ``Publisher.set_options()``; now returns option values
2727 - Added support for configuration files (/etc/docutils.conf,
2728 ./docutils.conf, ~/.docutils).
2729 - Added ``Publisher.setup_option_parser()``.
2730 - Added default usage message and description.
2732 * docutils/frontend.py: Added to project; support for front-end
2733 (command-line) scripts. Option specifications may be augmented by
2734 components. Requires Optik (http://optik.sf.net/) for option
2735 processing (installed locally as docutils/optik.py).
2737 * docutils/io.py: Added to project; uniform API for a variety of input
2740 * docutils/nodes.py:
2742 - Added ``TreeCopyVisitor`` class.
2743 - Added a ``copy`` method to ``Node`` and subclasses.
2744 - Added a ``SkipDeparture`` exception for visitors.
2745 - Renamed ``TreePruningException`` from ``VisitorException``.
2746 - Added docstrings to ``TreePruningException``, subclasses, and
2748 - Improved docstrings.
2749 - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2750 - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2752 - Added ``decoration``, ``header``, and ``footer`` node classes, and
2753 ``PreDecorative`` mixin.
2754 - Reworked the name/id bookkeeping; to ``document``, removed
2755 ``explicit_targets`` and ``implicit_targets`` attributes, added
2756 ``nametypes`` attribute and ``set_name_id_map`` method.
2757 - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2759 - Added ``document.has_name()`` method.
2760 - Fixed DOM generation for list-attributes.
2761 - Added category class ``Labeled`` (used by footnotes & citations).
2762 - Added ``Element.set_class()`` method (sets "class" attribute).
2764 * docutils/optik.py: Added to project. Combined from the Optik
2765 package, with added option groups and other modifications. The use
2766 of this module is probably only temporary.
2768 * docutils/statemachine.py:
2770 - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2771 - Added underscores to improve many awkward names.
2772 - In ``string2lines()``, changed whitespace normalizing translation
2773 table to regexp; restores Python 2.0 compatibility with Unicode.
2775 * docutils/urischemes.py:
2777 - Filled in some descriptions.
2778 - Added "shttp" scheme.
2780 * docutils/utils.py:
2782 - Added ``clean_rcs_keywords`` function (moved from
2783 docutils/transforms/frontmatter.py
2784 ``DocInfo.filter_rcs_keywords``).
2785 - Added underscores to improve many awkward names.
2786 - Changed names of Reporter's thresholds:
2787 warning_level -> report_level; error_level -> halt_level.
2788 - Moved ``utils.id()`` to ``nodes.make_id()``.
2789 - Added ``relative_path(source, target)``.
2791 * docutils/languages/de.py: German mappings; added to project. Thanks
2792 to Gunnar Schwant for the translations.
2794 * docutils/languages/en.py: Added "Dedication" bibliographic field
2797 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2800 * docutils/parsers/rst/states.py:
2802 - Added underscores to improve many awkward names.
2803 - Added RFC-2822 header support.
2804 - Extracted the inline parsing code from ``RSTState`` to a separate
2805 class, ``Inliner``, which will allow easy subclassing.
2806 - Made local bindings for ``memo`` container & often-used contents
2807 (reduces code complexity a lot). See ``RSTState.runtime_init()``.
2808 - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2809 - Added ``MarkupMismatch`` exception; for late corrections.
2810 - Added ``-/:`` characters to inline markup's start string prefix,
2811 ``/`` to end string suffix.
2812 - Fixed a footnote bug.
2813 - Fixed a bug with literal blocks.
2814 - Applied patch from Simon Budig: simplified regexps with symbolic
2815 names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2816 - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2817 - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2818 - Allowed non-ASCII in "simple names" (directive names, field names,
2820 - Converted ``Inliner.patterns.initial`` to be dynamically built
2821 from parts with ``build_regexp()`` function.
2822 - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2823 - Updated docstrings.
2824 - Changed "table" to "grid_table"; added "simple_table" support.
2826 * docutils/parsers/rst/tableparser.py:
2828 - Changed ``TableParser`` to ``GridTableParser``.
2829 - Added ``SimpleTableParser``.
2830 - Refactored naming.
2832 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2833 a fallback language for directive names.
2835 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2836 directive to use a ``pending`` element, used only by HTML writers.
2838 * docutils/parsers/rst/directives/parts.py: Renamed from
2841 - Added "backlinks" attribute to "contents" directive.
2843 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2844 project by Adam Chodorowski.
2846 * docutils/readers/__init__.py: Gave Readers more control over
2847 choosing and instantiating Parsers.
2849 * docutils/readers/pep.py: Added to project; for PEP processing.
2851 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2852 requires a ``component`` parameter.
2854 * docutils/transforms/components.py: Added to project; transforms
2855 related to Docutils components.
2857 * docutils/transforms/frontmatter.py:
2859 - In ``DocInfo.extract_authors``, check for a single "author" in an
2860 "authors" group, and convert it to a single "author" element.
2861 - Added support for "Dedication" and generic bibliographic fields.
2863 * docutils/transforms/peps.py: Added to project; PEP-specific.
2865 * docutils/transforms/parts.py: Renamed from old components.py.
2867 - Added filter for `Contents`, to use alt-text for inline images,
2868 and to remove inline markup that doesn't make sense in the ToC.
2869 - Added "name" attribute to TOC topic depending on its title.
2870 - Added support for optional TOC backlinks.
2872 * docutils/transforms/references.py: Fixed indirect target resolution
2873 in ``Hyperlinks`` transform.
2875 * docutils/transforms/universal.py:
2877 - Changed ``Messages`` transform to properly filter out system
2878 messages below the warning threshold.
2879 - Added ``Decorations`` transform (support for ``--generator``,
2880 ``--date``, ``--time``, ``--source-link`` options).
2882 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2883 Engelbert Gruber's PDF writer.
2885 * docutils/writers/html4css1.py:
2887 - Made XHTML-compatible (switched to lowercase element & attribute
2888 names; empty tag format).
2889 - Escape double-dashes in comment text.
2890 - Improved boilerplate & modularity of output.
2891 - Exposed modular output in Writer class.
2892 - Added a "generator" meta tag to <head>.
2893 - Added support for the ``--stylesheet`` option.
2894 - Added support for ``decoration``, ``header``, and ``footer``
2896 - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2897 translation table to regexp; restores Python 2.0 compatibility
2899 - Added the translator class as instance variable to the Writer, to
2900 make it easily subclassable.
2901 - Improved option list spacing (thanks to Richard Jones).
2902 - Modified field list output.
2903 - Added backlinks to footnotes & citations.
2904 - Added percentage widths to "<col>" tags (from colspec).
2905 - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2906 "<span>" changed to "<var>".
2907 - Inline literals: "<code>" changed to "<tt>".
2908 - Many changes to optimize vertical space: compact simple lists etc.
2909 - Add a command-line options & directive attributes to control TOC
2910 and footnote/citation backlinks.
2911 - Added support for optional footnote/citation backlinks.
2912 - Added support for generic bibliographic fields.
2913 - Identify backrefs.
2914 - Relative URLs for stylesheet links.
2916 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2917 PEPs (subclass of ``html4css1.Writer``).
2919 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2921 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2922 of the Docutils internal doctree in XML.
2924 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2928 - Changed the title to "The Docutils Document Tree".
2929 - Added "Hyperlink Bookkeeping" section.
2931 * spec/docutils.dtd:
2933 - Added ``decoration``, ``header``, and ``footer`` elements.
2934 - Brought ``interpreted`` element in line with the parser: changed
2935 attribute "type" to "role", added "position".
2936 - Added support for generic bibliographic fields.
2938 * spec/notes.txt: Continual updates. Added "Project Policies".
2940 * spec/pep-0256.txt: Updated. Added "Roadmap to the Doctring PEPs"
2943 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2945 * spec/pep-0258.txt: Updated. Added text from pysource.txt and
2946 mailing list discussions.
2948 * spec/pep-0287.txt:
2950 - Renamed to "reStructuredText Docstring Format".
2952 - Reworked Q&A as an enumerated list.
2953 - Converted to reStructuredText format.
2955 * spec/pysource.dtd:
2957 - Reworked structural elements, incorporating ideas from Tony Ibbs.
2959 * spec/pysource.txt: Removed from project. Moved much of its contents
2962 * spec/rst/alternatives.txt:
2964 - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2965 - Added "Inline External Targets" section.
2967 * spec/rst/directives.txt:
2969 - Added "backlinks" attribute to "contents" directive.
2971 * spec/rst/problems.txt:
2973 - Updated the Enumerated List Markup discussion.
2974 - Added new alternative table markup syntaxes.
2976 * spec/rst/reStructuredText.txt:
2978 - Clarified field list usage.
2979 - Updated enumerated list description.
2980 - Clarified purpose of directives.
2981 - Added ``-/:`` characters to inline markup's start string prefix,
2982 ``/`` to end string suffix.
2983 - Updated "Authors" bibliographic field behavior.
2984 - Changed "inline hyperlink targets" to "inline internal targets".
2985 - Added "simple table" syntax to supplement the existing but
2986 newly-renamed "grid tables".
2987 - Added cautions for anonymous hyperlink use.
2988 - Added "Dedication" and generic bibliographic fields.
2990 * test: Made test modules standalone (subdirectories became packages).
2992 * test/DocutilsTestSupport.py:
2994 - Added support for PEP extensions to reStructuredText.
2995 - Added support for simple tables.
2996 - Refactored naming.
2998 * test/package_unittest.py: Renamed from UnitTestFolder.py.
3000 - Now supports true packages containing test modules
3001 (``__init__.py`` files required); fixes duplicate module name bug.
3003 * test/test_pep/: Subpackage added to project; PEP testing.
3005 * test/test_rst/test_SimpleTableParser.py: Added to project.
3009 - Updated html.py and publish.py front-end tools to use the new
3010 command-line processing facilities of ``docutils.frontend``
3011 (exposed in ``docutils.core.Publisher``), reducing each to just a
3013 - Added ``locale.setlocale()`` calls to front-end tools.
3015 * tools/buildhtml.py: Added to project; batch-generates .html from all
3016 the .txt files in directories and subdirectories.
3018 * tools/default.css:
3020 - Added support for ``header`` and ``footer`` elements.
3021 - Added styles for "Dedication" topics (biblio fields).
3023 * tools/docutils.conf: A configuration file; added to project.
3025 * tools/docutils-xml.py: Added to project.
3027 * tools/pep.py: Added to project; PEP to HTML front-end tool.
3029 * tools/pep-html-template: Added to project.
3031 * tools/pep2html.py: Added to project from Python (nondist/peps).
3032 Added support for Docutils (reStructuredText PEPs).
3034 * tools/quicktest.py:
3036 - Added the ``--attributes`` option, hacked a bit.
3037 - Added a second command-line argument (output file); cleaned up.
3039 * tools/stylesheets/: Subdirectory added to project.
3041 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
3044 Release 0.1 (2002-04-20)
3045 ========================
3047 This is the first release of Docutils, merged from the now inactive
3048 reStructuredText__ and `Docstring Processing System`__ projects. For
3049 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
3050 `DPS HISTORY`__ files.
3052 __ http://structuredtext.sourceforge.net/
3053 __ http://docstring.sourceforge.net/
3054 __ http://structuredtext.sourceforge.net/HISTORY.html
3055 __ http://docstring.sourceforge.net/HISTORY.html
3057 General changes: renamed 'dps' package to 'docutils'; renamed
3058 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
3059 the test suites (reStructuredText's test/test_states renamed to
3060 test/test_rst); and all modifications required to make it all work.
3062 * docutils/parsers/rst/states.py:
3064 - Improved diagnostic system messages for missing blank lines.
3065 - Fixed substitution_reference bug.
3071 indent-tabs-mode: nil
3072 sentence-end-double-space: t