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.
16 Release 0.10 (2012-12-13)
17 =========================
21 - Dropped support for Python 2.3.
22 - ``docutils/math``, ``docutils/error_reporting.py``, and
23 ``docutils/urischemes.py`` moved to the utils package.
24 - Fix [3541369] Relative __import__ also with Python 3.3.
25 - Fix [3559988] and [3560841] __import__ local writer, reader, languages
26 and parsers for Python 2.7 up.
27 - Fix import of PIL.Image.
28 - Change default of "syntax highlight" option to "long",
29 basic syntax highlight styles for LaTeX and HTML.
33 - FileInput/FileOutput: no system-exit on IOError. The `handle_io_errors`
34 option is ignored and will be removed in a future release.
35 - Fix Py3k error writing to stdout with encoding differing from default.
36 - Fix opening binary files under Py3k (thanks to Dominic Fitzpatrick).
38 * docutils/parsers/rst/directives/misc.py
40 - Fix [ 3546533 ] Unicode error with `date` directive.
42 * docutils/transforms/universal.py
44 - SmartQuotes transform for typographic quotes and dashes.
46 * docutils/utils/__init__.py
48 - normalize_language_tag() now returns `BCP 47`_ conformant tags
49 with subtags separated by ``-``.
51 * docutils/writers/html4css1/__init__.py
53 - Use ``<code>`` tag for inline "code",
54 do not drop nested inline nodes (syntax highlight tokens).
55 - Customizable MathJax URL (based on patch by Dmitry Shachnev).
56 - No line break after opening inline math tag.
58 * docutils/writers/manpage.py
60 - Apply [ 3527401 ] addmonition's don't preserve indentation
61 - Apply [ 3527397 ] Add indentation to literal blocks in manpage writer.
63 * docutils/writers/latex2e/__init__.py, docutils/writers/xetex/__init__.py
65 - Apply [ 3555160 ] ensure order of "otherlanguages".
66 - Fix section numbering by LaTeX.
68 * docutils/writers/s5_html/__init__.py
70 - Fix [ 3556388 ] Mathjax does not work with rst2s5.
72 * docutils/writers/s5_html/docutils_xml.py
74 - Fix [ 3552403 ] Prevent broken PyXML replacing stdlibs xml module.
78 - Tag ``math.css`` stylesheet as data file (patch by Dmitry Shachnev).
80 * tools/test/test_buildhtml.py
82 - Fix [ 3521167 ] allow running in any directory.
83 - Fix [ 3521168 ] allow running with Python 3.
86 Release 0.9.1 (2012-06-17)
87 ==========================
91 - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
92 installed in the PYTHONPATH. Converted tests are now
93 stored in ``test3/``, tools no longer need conversion.
95 If you installed one of Docutils versions 0.7 ... 0.9 with
96 ``setup.py install`` under Python 3, remove the spurious
97 ``test/`` and ``tools/`` directories in the site library root.
101 - Make tests independent from the location of the ``test/`` directory.
102 - Use converted sources (from the ``build/`` directory) for tests under
107 - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
111 - Fix writing binary data to sys.stdout under Python 3 (allows
112 ``rst2odt.py`` to be used with output redirection).
114 * docutils/parsers/rst/directives/misc.py
116 - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
117 ``locale == C`` and 8-bit char in path argument of `include` directive.
121 - class `Tee`: catch UnicodeError when writing to "ascii" stream or
124 Release 0.9 (2012-05-02)
125 ========================
129 - New reStructuredText "code" role and directive and "code" option
130 of the "include" directive with syntax highlighting by Pygments_.
131 - Fix parse_option_marker for option arguments containing ``=``.
132 - Fix [ 2993756 ]: import Python Imaging Library's Image module
133 via ``import PIL`` as starting with PIL 1.2,
134 "PIL lives in the PIL namespace only" (announcement__).
136 .. _Pygments: http://pygments.org/
137 __ http://mail.python.org/pipermail/image-sig/2011-January/006650.html
141 - Fix [ 2971827 ] and [ 3442827 ]
142 extras/roman.py moved to docutils/utils/roman.py
144 * docutils/frontend.py
146 - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
150 - Fix [ 3395948 ] (Work around encoding problems in Py3k).
151 - `mode` argument for FileOutput avoids code replication in
153 - New exceptions InputError and OutputError for IO errors in
154 FileInput/FileOutput.
158 - No "hard" system exit on file IO errors: catch and report them in
159 `Publisher.reportException` instead. Allows handling by a calling
160 application if the configuration setting `traceback` is True.
162 * docutils/utils.py -> docutils/utils/__init__.py
164 - docutils.utils is now a package (providing a place for sub-modules)
166 .. note:: docutils/math, docutils/error_reporting.py, and
167 docutils/urischemes.py will move to the utils package in the next
168 release, too. See RELEASE-NOTES__
170 __ RELEASE-NOTES.html
172 - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
173 errors recording non-ASCII filenames (fixes [ 3434355 ]).
175 - Fix relative_path() with source=None and `unicode` target.
177 * docutils/parsers/rst/states.py
179 - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
180 characters and "international" quotes around inline markup.
181 - Use `field_marker` pattern to look for start of a
182 directive option block (fixes [ 3484857 ]).
184 * docutils/parsers/rst/tableparser.py
186 - Fix [ 2926161 ] for simple tables.
187 (Combining chars in grid tables still contribute to cell width.)
189 * docutils/writers/latex2e/__init__.py
191 - Support the `abbreviation` and `acronym` standard roles.
192 - Record only files required to generate the LaTeX source as dependencies.
193 - Fix handling of missing stylesheets.
194 - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
195 when suppressing LaTeX section numbering.
196 - Use ``\DUtitle`` for unsupported section levels
197 - Apply [ 3512791 ] do not compare string literals with "is"
199 * docutils/writers/xetex/__init__.py
201 - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
203 * docutils/writers/html4css1/__init__.py
205 - Change default for `math-output` setting to MathJax.
206 - Fix handling of missing stylesheets.
208 * docutils/writers/docutils_xml.py
210 - Use the visitor pattern with default_visit()/default_depart() methods
211 instead of minidom to facilitate special handling of selected nodes.
212 - Support raw XML (inserted as-is inside a <raw></raw> node).
214 * docutils/writers/manpage.py
216 - Do not emit comment line with trailing blank. Problematic for VCS.
218 Release 0.8.1 (2011-08-30)
219 ==========================
223 - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
224 and [ 3395920 ] (correct copyright info for rst.el).
228 - Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
230 * docutils/writers/latex2e/__init__.py
232 - Clean up Babel language setting. Restores Sphinx compatibility.
234 Release 0.8 (2011-07-07)
235 ========================
239 - Handle language codes according to `BCP 47`_.
240 - If the specified language is not supported by Docutils,
241 warn and fall back to English.
242 - Math support: reStructuredText "math" role and directive,
243 ``math`` and ``math_block`` doctree elements.
244 - Decode command line arguments with the locale's preferred encoding
245 (to allow, e.g., ``--title=Dornröschen``).
246 - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
247 - New sub-module `error_reporting`: handle encoding/decoding errors
248 when reporting exceptions.
249 - Some additions to the Docutils core are released under the 2-Clause BSD
250 license, see COPYING_ for details.
252 .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
253 .. _COPYING: COPYING.html
257 - Most directives now support a "name" option that attaches a
260 - Directive content may start on the first line also when the directive
261 type accepts options.
263 * docs/dev/policies.txt:
265 - Recommend the 2-Clause BSD license
266 (http://www.spdx.org/licenses/BSD-2-Clause)
267 for code that is kept under the author's copyright.
269 * tools/buildhtml.py:
271 - Fix ``--local`` switch.
273 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
275 * docutils/writers/html4css1/__init__.py
277 - Set "lang" argument for objects with class argument
278 "language-<language tag>".
279 - New setting "math-output" with support for HTML, MathML, and LaTeX.
281 * docutils/writers/latex2e/__init__.py
283 - Fix [ 3043986 ] AttributeError using :local: with table of content.
284 - Place title data in the document preamble.
285 - Load `babel` package only if required.
286 - Update list of supported languages.
287 - New config setting "hyperref-options".
288 No hard-coded "unicode" hyperref option (clash with xetex).
289 - Set language for custom roles, paragraphs, block-quotes, and
290 line-quotes with class argument "language-<language tag>".
291 - Fix [ 3095603 ] wrong quotes output for russian and other languages.
292 - Convert image URI to a local file path.
293 - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
294 has more than one paragraph (Wolfgang Scherer).
295 - \leavevmode before longtable only when needed (prevents spurious vspace)
296 - do not advance table counter for tables without caption
298 * docutils/writers/xetex/__init__.py
300 - New writer generating LaTeX code for compiling with ``xelatex``.
302 A separate writer (inheriting from latex2e) instead of a ``--xetex``
303 option allows separate config options for XeTeX vs. LaTeX2e.
305 * docutils/writers/manpage.py
307 - Fix: BUG#3219183 - vertical space in definition lists containing markup.
308 - Fix: vertical space cleaning for option group ``.``.
310 * tools/editors/emacs/rst.el:
312 - Fix [ 3001100 ] does not handle spaces in filenames
313 (thanks to Jakub Wilk)
317 - strip whitespace from stylesheet arguments
318 - exclude combining chars from column_width()
319 (partial fix for [ 2926161 ])
321 * docutils/parsers/rst/directives/misc.py:
323 - Fix [ 1830389 ] Replace not breaking on getting system_messages from
328 - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
329 ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
331 Release 0.7 (2010-07-07)
332 ========================
336 - Fix [ 2881769 ] setup configuration.
337 - Fix [ 2788716 ] reporting problems in included files.
341 - FileInput opens files as text files with universal newline support
342 (mode "rU", configurable with the new optional argument "mode").
346 - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
350 - Fix [ 2923723 ] let decode_path() tolerate path == None
352 * docutils/writers/html4css1/__init__.py
354 - Support SVG and SWF images (thanks to Stefan Rank).
355 - Generate valid XHTML for centered images with targets.
356 Use CSS classes instead of "align" tags for image alignment.
358 * docutils/writers/latex2e/__init__.py
360 - Use `transforms.writer_aux.Admonitions` to "normalize" special
362 - Use the ``\url`` command for URLs (breaks long URLs instead of
363 writing into the margin).
364 - Preserve runs of spaces in `inline literals`__.
365 - Deprecate ``figure_footnotes`` setting.
366 - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
367 - New ``latex_preamble`` setting.
368 - Use PDF standard fonts (Times/Helvetica/Courier) as default.
369 - Fix hyperlink targets (labels) for images, figures, and tables.
370 - Apply [ 2961988 ] Load babel after inputenc and fontenc.
371 - Apply [ 2961991 ] Call hyperref with unicode option.
372 - Drop the special `output_encoding`__ default ("latin-1").
373 The Docutils wide default (usually "UTF-8") is used instead.
374 - Render inline markup in document title and subtitle.
375 - Fix numbering depth with LaTeX section numbering.
376 - Update Unicode -> LaTeX translations.
377 - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
379 __ docs/ref/restructuredtext.html#inline-literals
380 __ docs/user/config.html#docutils-footnotes
381 __ docs/user/config.html#output_encoding
383 * docutils/writers/manpage.py
385 - Fix: supported attribute (thanks to peter2108).
386 - Remove trailing blanks in code (keep in sync with mercurial version).
387 - Titles level 1, that is ``.SH``, always uppercase.
388 - Apply patch from mg: literal text should be bold in man-pages.
392 - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
397 - Python 3 support: copy test/ and tools/ to the build-dir
398 and convert Python sources with 2to3.
401 Release 0.6 (2009-10-11)
402 ========================
406 - Docutils is now compatible with Python versions from 2.3 up to 2.6
407 and convertible to 3.1 code.
409 + Node.__nonzero__ returns True instead of 1.
410 + use os.walk instead os.path.walk.
411 + minimize "types" module where possible.
412 + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
413 + Text nodes now subclass unicode rather than UserString
414 (which is gone in python 3.0).
415 + 3.0 compatibility module docutils._compat
417 + Drop 2.2 compatibility workarounds.
418 + Drop extras/optparse.py and extras/textwrap.py
419 (stdlib modules since 2.3).
421 - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
422 - Unix man page export: manpage writer moved from sandbox to Doctutils
425 - Apply [ 1719345 ] Galician translation
426 - Apply [ 1905741 ] Polish translation
427 - Apply [ 1878977 ] make_id(): deaccent characters.
428 - Apply [ 2029251 ] return nonzero when tests fail.
429 - Fix [ 1692788 ] allow UTF-8 in style sheets.
430 - Fix [ 2781629 ] support non-ASCII chars in file names.
431 - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
432 - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
433 - Fix [ 2821266 ] --strict option works now like --halt=info.
434 - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
435 - Fix [ 1627229 ] hyperlink references in substitutions.
437 - The "newlatex" writer is orphaned.
441 - Documented Unicode characters allowed as inline markup openers,
442 closers, and delimiters.
443 - Allow units for all length specifications.
444 - Allow percent sign in "scale" argument of "figure" and "image" directives.
445 - Bugfix: The "figalign" argument of a figure now works as intended
446 (aligning the figure, not its contents).
447 - Align images with class "align-[right|center|left]"
448 (allows setting the alignment of an image in a figure).
452 - Added ``Element.__contains__`` method, for the in-operator.
454 * docutils/parsers/rst/states.py:
456 - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
457 - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
458 " " (non-breaking space), and "¡ ¿" openers.
460 * docutils/parsers/directives/misc.py:
462 - Added ``start-line`` and ``end-line`` options to "include"
463 directive to select a range of lines.
464 - Hard tabs in literal inclusions are replaced by spaces. This is
465 configurable via the new ``tab-width`` option of the "include" directive
466 (a negative tab-width prevents tab expansion).
470 - Add ``get_stylesheet_list`` function.
471 - Apply [ 2834836 ] print info at halt
473 * docutils/transforms/universal.py:
475 - Raise default priority of StripClasses to exclude stripped classes from
478 * docutils/writers/html4css1/__init__.py:
480 - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
481 separated list of stylesheets.
482 - Address [ 1938891 ] Inline literal text creates "pre" span only when
483 needed to prevent inter-word line wraps.
484 - Use `translate` method instead of repeated `replace` calls.
485 - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
486 classes to allow CSS styling that does not interfere with other
487 table-using constructs (field lists, citations, ...).
489 * docutils/writers/newlatex2e/__init__.py:
491 - Apply [ 1612821 ] Double quotes in literal text in Italian/German
493 * docutils/writers/latex2e/__init__.py (see also
494 `<docs/user/docutils-05-compat.sty.html>`__) :
496 - Add ``--embed-stylesheet`` option.
497 - Apply [ 1474017 ] image vertical alignment is reversed.
498 - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
499 - Change: has_key for dictionaries (not Nodes) to in-operator.
500 - Merge adjacent citations into one latex cite command.
501 - Failsave implementation of custom roles. LaTeX compilation now ignores
502 unknown classes instead of aborting with an error.
503 - Support custom roles based on standard roles.
504 - LaTeX packages can be used as ``--stylesheet`` arguments without
505 restriction. (A style sheet is now referenced with the ``\usepackage``
506 command, if it ends with ``.sty`` or has no extension.)
507 - Add ``bp`` to lenghts without unit (prevents LaTex errors).
508 - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
509 - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
510 2005-02-04 as a configurable length unit).
511 - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
512 if font-encoding is set to ''. LaTeX defaults to OT1 then.
513 - Set sub- and superscript role argument in text mode not as math.
514 Use a custom role based on sub-/superscript if you want italic shape.
515 - Shorter preamble and less dependencies: Load packages and define macros
516 only if required in the document.
517 - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
518 - New custom environments and commands with optional "classes" argument.
519 - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
520 - Better conformance to Docutils specifications with ``--use-latex-toc``.
521 Support for LaTeX generated ToC also with unnumbered sections.
522 - If 'sectnum_xform' is False, the 'sectnum' directive triggers
523 section numbering by LaTeX.
524 - Use default font in admonitions and sidebar.
525 - Align of image in a figure defaults to 'center'.
526 - Bugfix: Newlines around targets and references prevent run-together
528 - Fix internal hyperlinks.
529 - Use class defaults for page margins ('typearea' now optional).
530 - Float placement made configurable, default changed to "here definitely".
531 - Typeset generic topic as "quote block with title".
532 - Use template (file and configuration option).
533 - In the default template, load cmap.sty (fix text extraction in PDF) and
534 fixltx2e.sty (LaTeX patches, \textsubscript).
535 - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
536 - Use `translate` instead of repeated `replace` calls for text encoding.
537 - Hyperlinked footnotes and support for symbol footnotes and
538 ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
539 - Complete pairs of binary options
540 (``--figure-footnotes, --figure-citations, --link-stylesheet``,
541 ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
543 - font-encoding: "T1" (formerly implicitely set by 'ae').
544 - use-latex-toc: true (ToC with page numbers).
545 - use-latex-footnotes: true (no mixup with figures).
547 * docutils/writers/manpage.py
549 - Do not print version at document end, this is done by the viewer.
550 - Do not print date at document end, this is done by the viewer.
551 - Fix storage of docinfo fields for none standard fields.
553 * docutils/tools/rst2man.py
555 Release 0.5 (2008-06-25)
556 ========================
558 * docutils/languages/he.py: Added to project: Hebrew mappings by
561 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
562 mappings by Meir Kriheli.
564 * docutils/frontend.py:
566 - Configuration files are now assumed and required to be
568 - Paths of applied configuration files are now recorded in the
569 runtime setting ``_config_files`` (accessible via
570 ``--dump-settings``).
571 - Added ``--strip-elements-with-class`` and ``--strip-class``
572 options (``strip_elements_with_classes`` and ``strip_classes``
577 - Added code to determine the input encoding from data: encoding
578 declarations or the presence of byte order marks (UTF-8 & UTF-16).
579 - Added support for IronPython 1.0.
583 - Added ``document.__getstate__`` method, for pickling.
585 * docutils/parsers/rst/states.py:
587 - Allow ``+`` and ``:`` in reference names.
588 - Unquoted targets beginning with an underscore (``.. __target:
589 URI``) are no longer accepted.
590 - Added support for multiple attributions in a physical block quote
591 (indented text block), dividing it into multiple logical block
593 - Added support for unicode bullets in bullet lists: "•", "‣", and
595 - Added support for new object-oriented directive interface,
596 retaining compatibility to the old functional interface.
597 - Added support for throwing ``DirectiveError``'s from within
600 * docutils/parsers/rst/__init__.py:
602 - Added ``Directive`` base class.
603 - Added ``DirectiveError`` base class.
604 - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
607 * docutils/parsers/directives/:
609 - Refactored all reStructuredText directives to use the new
610 object-oriented directive interface. Errors are now (mostly)
611 thrown using the new ``DirectiveError`` class.
613 * docutils/parsers/directives/misc.py:
615 - Added ``start-after`` and ``end-before`` options to ``include``
616 directive; thanks to Stefan Rank.
618 * docutils/transforms/universal.py:
620 - Added ``StripClassesAndElements`` transform to remove from the
621 document tree all elements with classes in
622 ``settings.strip_elements_with_classes`` and all "classes"
623 attribute values in ``self.document.settings.strip_classes``.
625 * docutils/transforms/writer_aux.py:
627 - Added ``Admonitions`` transform to transform specific admonitions
628 (like ``note``, ``warning``, etc.) into generic admonitions with a
631 * docutils/writers/html4css1/__init__.py:
633 - Moved template functionality from the PEP/HTML writer here.
634 - Expanded the fragments available in the ``parts`` attribute.
635 - Moved ``id`` attributes from titles to surrounding ``div``
637 - Dropped all ``name`` attributes of ``a`` elements (``id`` is
638 universally supported now).
639 - ``template.txt`` is now opened in text mode instead of binary mode
640 (to ensure Windows compatibility).
641 - ``a`` elements now have an "internal" or "external" class,
642 depending on reference type.
644 * docutils/writers/html4css1/template.txt: Added to project.
646 * docutils/writers/pep_html/:
648 - Moved template functionality to the HTML writer.
650 * docutils/writers/s5_html/__init__.py:
652 - Added ``view_mode`` & ``hidden_controls`` settings
653 (``--view-mode`` & ``--hidden-controls/--visible-controls``
656 * docutils/writers/latex2e/__init__.py:
658 - Add ``--literal-block-env``
659 - Fix: escaping ``%`` in href urls.
660 - Move usepackage hyperref after stylesheet inclusion.
661 - Fix: scrartcl does not have chapter but scrreprt.
662 - Add newline after ``\end{verbatim}``.
663 - Merge smaller differences from latex2e_adaptive_preamble.
664 - Add ``use-part-section``.
665 - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
666 - Using leavemode option_list no longer needs to check if parent
667 is a definition list.
668 - Append ``\leavemode`` to definition list terms.
669 - No longer write visit\_/depart_definition_list_item comments to
671 - Table column width with 3 decimal places.
672 - Add table stubs support (boldfont).
673 - Add assemble_parts to writer.
674 - Add simply support for nested tables.
675 - Fix verbatim in tables if use-verbatim-when-possible.
676 - Use section commands down to subparagraph.
677 - Put ensuremath around some latin1 chars.
678 - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
679 - New option ``--use-bibtex=style,db1,db2``.
680 - New option ``--reference-label`` to allow usage of LaTeX ref for
681 labels in section references.
682 - Add a label after every section to support sectionnumbers as reference
684 - Fix: bug# 1605376 rst2latex: bad options group list
685 - Remove inactive code for use_optionlist_for_option_list.
686 - Remove latex comments from option_list output.
687 - Fix: bug# 1612270 double qoutes in italian literal.
688 - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
689 - Add option --use-latex-abstract.
690 - Image width unit ``px`` is translated to ``pt``.
691 - Add image height support.
692 - Fix: image width ``70%`` is converted ``0.700\linewidth``.
694 - Fix: Do not escape underscores in citation reference labels if
695 use-latex-citations is set.
696 - Use centering instead of center for figure contents, to avoid vertical
698 - Recognize table class: borderless, nolines, booktabs, standard.
699 - Fix: Renaming contents section does not work with latex writer; SF
701 - Applied patch for custom roles with classes from Edward Loper.
702 - Fixed bug that caused crashes with more than 256 lists.
704 * docutils/writers/pep_html/__init__.py:
706 - Changed to support new python.org website structure and
709 * docs/howto/security.txt: "Deploying Docutils Securely", added to
712 * tools/buildhtml.py:
714 -- Added ``ignore`` setting to exclude a list of shell patterns
715 (default: ``.svn:CVS``).
717 * tools/editors/emacs/rst.el:
719 - Changed license to "GPL".
720 - Added ``rst-straighten-decorations`` function.
721 - The ``compile`` module is now always loaded.
722 - Added ``rst-toggle-line-block`` function.
723 - Headings consisting only of non-ASCII characters are now
724 recognized by ``rst-toc`` and ``rst-adjust``.
725 - Added font-lock support for multi-line comments where the first
726 comment line is empty.
727 - Added ``(require 'font-lock)``.
731 - Provide descriptive error message if distutils is missing.
734 Release 0.4 (2006-01-09)
735 ========================
739 - Updated the project policies for trunk/branch development &
742 * docutils/__init__.py:
744 - Added ``__version_details__`` attribute to describe code source
745 (repository/snapshot/release).
746 - Replaced ``default_transforms`` attribute of TransformSpec with
747 ``get_transforms()`` method.
751 - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
752 functions, for document tree extraction and reprocessing.
756 - Added ``DocTreeInput`` class, for reprocessing existing documents.
757 - Added support for non-Unicode (e.g. binary) writer output.
761 - Re-introduced ``Targetable.indirect_reference_name``, for
762 MoinMoin/reST compatibility (removed in r3124/r3129).
763 - Added ``serial_escape`` function; escapes string values that are
764 elements of a list, for serialization. Modified Docutils-XML
765 writing (``Element._dom_node``) and pseudo-XML writing
766 (``Element.starttag``) to use ``serial_escape``.
767 - Added ``Node.deepcopy()`` method.
768 - Removed the internal lists ``document.substitution_refs``,
769 ``document.anonymous_refs``, and ``document.anonymous_targets``.
770 - Added a "container" element.
771 - Fixed bug where values of list-valued attributes of elements
772 originating from custom interpreted text roles (i.e., with custom
773 classes) were being shared between element instances. Reported by
776 * docutils/statemachine.py:
778 - Added trailing whitespace stripping to ``string2lines()``.
779 - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
780 Asian double-width character support.
784 - Added ``east_asian_column_width()`` for double-width character
787 * docutils/languages/ja.py: Added to project: Japanese mappings by
790 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
791 mappings by Panjunyong.
793 * docutils/parsers/null.py: Added to project; a do-nothing parser.
795 * docutils/parsers/rst/__init__.py:
797 - Added validator to tab_width setting, with test. Closes SF bug
798 #1212515, report from Wu Wei.
800 * docutils/parsers/rst/states.py:
802 - Fixed bug with escaped colons indicating a literal block.
803 - Fixed bug with enumerated lists (SF#1254145).
804 - Backslash-escaped colons inside of field names are now allowed.
805 - Targets (implicit and explicit), anonymous hyperlink references
806 and auto-numbered footnote references inside of substitution
807 definitions are now disallowed.
808 - Fixed bug: list items with blank first lines.
809 - Fixed bug: block quote attributions with indented second lines.
810 - Added East Asian double-width character support (Python 2.4 only).
812 * docutils/parsers/rst/tableparser.py:
814 - Added East Asian double-width character support (Python 2.4 only).
816 * docutils/parsers/rst/directives/body.py:
818 - Added the "container" directive.
820 * docutils/parsers/rst/directives/misc.py:
822 - Added the "default-role", "title", and "date" directives.
823 - Added standard data file syntax to the "include" directive.
824 - Added support for "class" directive content.
826 * docutils/parsers/rst/directives/images.py:
828 - Added ``indirect_reference_name`` support for images with a target
830 - Added support for image width and height units.
831 - Fixed bug with image "target" options.
833 * docutils/parsers/rst/directives/references.py:
835 - Added "class" attribute to "target-notes" directive, for
836 footnote_reference classes.
838 * docutils/parsers/rst/include/: Directory added to project; contains
839 standard data files for the "include" directive. Initial contents:
840 character entity substitution definition sets, and a set of
841 definitions for S5/HTML presentations.
843 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
844 mappings by David Goodger.
846 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
847 Simplified Chinese mappings by Panjunyong.
849 * docutils/readers/__init__.py:
851 - Added universal.Decorations and universal.ExposeInternals
852 transforms as default transforms for all readers.
853 - Added ``ReReader`` base class for readers that reread an existing
856 * docutils/readers/doctree.py: Added to project; a reader for existing
859 * docutils/transforms/frontmatter.py:
861 - Fixed the DocInfo transform to handle SVN-style expansion of the
863 - In ``DocInfo.extract_authors``, treat the contents of "authors"
866 * docutils/transforms/misc.py:
868 - Added misc.Transitions transform, extracted from
869 universal.FinalChecks.
871 * docutils/transforms/references.py:
873 - Added references.DanglingReferences transform, extracted from
874 universal.FinalChecks.
875 - Fixed bug with doubly-indirect substitutions.
876 - Added footnote_reference classes attribute to "TargetNotes".
877 - Fixed bug with circular substitution definitions that put Docutils
878 into an infinite loop.
880 * docutils/transforms/universal.py:
882 - Added universal.ExposeInternals transform, extracted from
883 universal.FinalChecks.
884 - Removed universal.FinalChecks transform (logic has been moved to
885 several new transforms).
886 - Fixed bug with the "expose_internals" setting and Text nodes
887 (exposed by the "rawsource" internal attribute).
888 - Added the universal.StripComments transform, implementation of the
889 "strip_comments" setting.
891 * docutils/transforms/writer_aux.py: Added to project; auxiliary
892 transforms for writers.
894 - Added ``Compound`` transform, which flattens compound paragraphs.
896 * docutils/writers/: Several writer modules (html4css1.py) were
897 converted into packages. Support modules and data files have been
898 moved into the packages. The stylesheets for the HTML writers are
899 now installed along with the code, the code knows where to find
900 them, and the default is to use them (actually, to embed them).
901 Some adjustments to configuration files may be necessary. The
902 easiest way to obtain the new default behavior is to remove all
903 settings whose name includes "stylesheet".
905 * docutils/writers/__init__.py:
907 - Added universal.Messages and universal.FilterMessages transforms
908 as default transforms for all writers.
909 - Added ``UnfilteredWriter`` base class for writers that pass the
910 document tree on unchanged.
912 * docutils/writers/docutils_xml.py:
914 - Made ``xmlcharrefreplace`` the default output encoding error
917 * docutils/writers/html4css1/:
919 - Added support for image width and height units.
920 - Made ``xmlcharrefreplace`` the default output encoding error
922 - Made ``--embed-stylesheet`` the default rather than
923 ``--link-stylesheet``.
924 - Moved "id" attribute from container (section etc.) to title's <a>
925 tag, to be on the same tag as "name".
926 (!!! To be reverted in Docutils 0.5.)
927 - Added vertical space between fields of field lists.
928 - Added ``--compact-field-lists`` option to remove vertical space in
930 - Made cloaking of email addresses with ``--cloak-email-addresses``
932 - Fixed support for centered images.
933 - Added support for class="compact" & class="open" lists.
935 * docutils/writers/latex2e/:
937 - Underscores in citekeys are no longer escaped.
939 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
940 mapping of Unicode characters to LaTeX equivalents.
942 * docutils/writers/s5_html/: Package added to project; writer for
945 * docs/dev/distributing.txt: Added to project; guide for distributors
946 (package maintainers).
948 * docs/dev/hacking.txt: Added to project; guide for developers.
950 * docs/ref/doctree.txt:
952 - Updated for plural attributes "classes", "ids", "names",
954 - Added the "container" element.
956 * docs/ref/docutils.dtd:
958 - Updated for plural attributes "classes", "ids", "names",
961 * docs/user/emacs.txt: Added to project; a document about Emacs
962 support for reStructuredText and Docutils.
964 * docs/user/links.txt: Added to project; lists of Docutils-related
967 * docs/user/mailing-lists.txt: Added to project; information about
968 Docutils-related mailing lists and how to access them.
970 * docs/user/slide-shows.txt: Added to project; example of and docs for
971 the S5/HTML writer (``rst2s5.py`` front end).
973 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
974 Files", added to project.
976 * test/coverage.sh: Added to project; test coverage script.
978 * test/DocutilsTestSupport.py:
980 - Added support for specifying runtime settings at the suite level.
982 * test/test_functional.py:
984 - Added the ``clear_output_directory`` function.
985 - Added support for ``_test_more`` functions in functional test
988 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
990 * tools/rstpep2html.py: Renamed from pep.py.
992 * tools/dev/create_unimap.py: Added to project; script to create the
993 docutils/writers/unimap_latex.py mapping file.
995 * tools/dev/profile_docutils.py: Added to project; profiler script.
997 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
999 * tools/editors/emacs/restructuredtext.el,
1000 tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
1001 Removed from project; the functionality is now contained in rst.el.
1003 * tools/editors/emacs/rst.el: Added to project. Added many features
1004 and fixed many bugs. See docs/user/emacs.txt for details.
1006 * tools/stylesheets: Removed from project. Stylesheets have been
1007 renamed and moved into writer packages.
1010 Release 0.3.9 (2005-05-26)
1011 ==========================
1015 - Eliminated and replaced all uses of the old string attributes
1016 ``id``, ``name``, ``dupname`` and ``class`` with references to the
1017 new list attributes ``ids``, ``names``, ``dupnames`` and
1018 ``classes`` throughout the whole source tree.
1022 - Enabled ``--dump-*`` options when ``--traceback`` specified,
1023 allowing for easier debugging.
1024 - In ``Publisher.publish()``, expanded the generic top-level
1027 * docutils/examples.py:
1029 - Added ``internals`` function for exploration.
1033 - Fixed ``Input.decode`` method to apply heuristics only if no
1034 encoding is explicitly given, and to provide better reporting of
1036 - The ``Input.decode`` method now removes byte order marks (BOMs)
1039 * docutils/nodes.py:
1041 - ``image`` element class changed to subclass of Element, not
1042 TextElement (it's an empty element, and cannot contain text).
1043 - Added ``attr_defaults`` dictionary for default attribute values.
1044 - Added empty list as default value for the following attributes:
1045 ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
1046 - Added ``document.decoration`` attribute,
1047 ``document.get_decoration`` method, and ``decoration.get_header``
1048 & ``.get_footer`` methods.
1049 - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
1052 * docutils/utils.py:
1054 - Removed ``docutils.utils.Reporter.categories``,
1055 ``docutils.utils.ConditionSet``, and all references to them, to
1056 simplify error reporting.
1058 * docutils/languages/nl.py: Added to project; Dutch mappings by
1061 * docutils/parsers/rst/__init__.py:
1063 - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
1065 * docutils/parsers/rst/states.py:
1067 - Added check for escaped at-mark to prevent email address recognition.
1068 - Fixed option lists to allow spaces inside ``<angle-bracketed option
1070 - Allowed whitespace in paths and URLs.
1071 - Added auto-enumerated list items.
1072 - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
1074 - Added support for table stub columns.
1076 * docutils/parsers/rst/directives/__init__.py:
1078 - Allowed whitespace in paths (``path`` function).
1079 - Added ``uri`` directive option conversion function.
1081 * docutils/parsers/rst/directives/body.py:
1083 - Fixed illegal context bug with "topic" directive (allowed within
1084 sidebars; not within body elements).
1086 * docutils/parsers/rst/directives/images.py:
1088 - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
1089 - Added support for the ``file_insertion_enabled`` setting in the
1090 "figure" directive (disables "figwidth" option).
1091 - "image" directive: added checks for valid values of "align" option,
1092 depending on context. "figure" directive: added specialized
1093 "align" option and attribute on "figure" element.
1094 - Made ":figwidth: image" option of "figure" directive work again.
1095 - Fixed bug with reference names containing uppercase letters
1096 (e.g. ``Name_``) in "target" option of "image" directive.
1098 * docutils/parsers/rst/directives/misc.py:
1100 - Fixed "include" and "raw" directives to catch text decoding
1102 - Allowed whitespace in "include" & "raw" directive paths.
1103 - Added support for ``file_insertion_enabled`` & ``raw_enabled``
1104 settings in "include" & "raw" directives.
1106 * docutils/parsers/rst/directives/parts.py:
1108 - Added "header" & "footer" directives.
1109 - Fixed illegal context bug with "contents" directive (topics
1110 allowed within sidebars; not within body elements).
1112 * docutils/parsers/rst/directives/tables.py:
1114 - Added "list-table" directive.
1115 - Caught empty CSV table bug.
1116 - Added support for the ``file_insertion_enabled`` setting in the
1117 "csv-table" directive.
1118 - Added ``stub-columns`` option to "csv-table" and "list-table"
1121 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1122 mappings by Martijn Pieters.
1124 * docutils/readers/standalone.py:
1126 - Added ``--section-subtitles`` and ``--no-section-subtitles``
1127 options to activate or deactivate the SectSubTitle transform.
1129 * docutils/transforms/frontmatter.py:
1131 - Added SectSubTitle transform to promote titles of lone
1132 subsections to subtitles.
1134 * docutils/transforms/references.py:
1136 - Fixed mislocated internal targets bug, by propagating internal
1137 targets to the next node, making use of the newly added support
1138 for multiple names and IDs.
1139 - Fixed duplicate footnote label bug.
1140 - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1143 * docutils/writers/html4css1.py:
1145 - Fixed unencoded stylesheet reference bug (characters like "&" in
1146 stylesheet references).
1147 - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1149 - Added support for multiple IDs per node by creating empty ``span``
1151 - Added the ``field_name_limit`` & ``option_limit`` settings &
1153 - Added support for table stub columns.
1154 - Added support for the ``align`` attribute on ``figure`` elements.
1155 - Added the ``cloak_email_addresses`` setting & support.
1156 - Added ``html_prolog``, ``html_head``, ``html_body``,
1157 ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1158 ``docutils.core.publish_parts``.
1159 - Added support for section subtitles.
1161 * docutils/writers/latex2e.py:
1163 - Fixed tables starting with more than one multirow cell.
1164 - Improved --use-latex-docinfo so that organization/contact/address
1165 fields are lumped with the last author field and appear on the
1167 - Made sure the titlepage is always shown with --use-latex-docinfo,
1168 even if the document has no title.
1169 - Made sure that latex doesn't fill in today's date if no date field
1171 - Added support for section subtitles.
1173 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1174 (under development).
1176 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1178 * docs/api/publisher.txt:
1180 - Added "``publish_parts`` Details" section.
1182 * docutils/dev/repository.txt: Added to project; information about the
1183 Docutils Subversion repository.
1185 * docs/ref/docutils.dtd:
1187 - Added a ``stub`` attribute to the ``colspec`` element via the
1188 ``tbl.colspec.att`` parameter entity.
1189 - Allowed topic elements within sidebars
1190 - Added an ``align`` attribute to the ``figure`` element.
1192 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1196 Release 0.3.7 (2004-12-24)
1197 ==========================
1199 * docutils/frontend.py:
1201 - Added options: --input-encoding-error-handler,
1202 --record-dependencies, --leave-footnote-reference-space,
1204 - Added command-line and config file support for "overrides" setting
1209 - Added support for input encoding error handler.
1211 * docutils/nodes.py:
1213 - Added dispatch_visit and dispatch_departure methods to
1214 NodeVisitor; useful as a hook for Visitors.
1215 - Changed structure of ``line_block``; added ``line``.
1216 - Added ``compound`` node class.
1217 - Added a mechanism for Visitors to transitionally ignore new node
1220 * docutils/utils.py:
1222 - Moved ``escape2null`` and ``unescape`` functions from
1223 docutils/parsers/rst/states.py.
1225 * docutils/parsers/rst/roles.py:
1228 - Changed role function API: the "text" parameter now takes
1229 null-escaped interpreted text content.
1231 * docutils/parsers/rst/states.py:
1233 - Fixed bug where a "role" directive in a nested parse would crash
1234 the parser; the state machine's "language" attribute was not being
1236 - Added support for line block syntax.
1237 - Fixed directive parsing bug: argument-less directives didn't
1238 notice that arguments were present.
1239 - Removed error checking for transitions.
1240 - Added support for multiple classifiers in definition list items.
1241 - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1242 - Changed role function API: the "text" parameter now takes
1243 null-escaped interpreted text content.
1244 - Empty sections and documents are allowed now.
1246 * docutils/parsers/rst/directives/__init__.py:
1248 - Added ``encoding`` directive option conversion function.
1249 - Allow multiple class names in class_option conversion function.
1251 * docutils/parsers/rst/directives/body.py:
1253 - Converted the line-block directive to use the new structure.
1254 - Extracted the old line-block functionality to the ``block``
1255 function (still used).
1256 - Added ``compound`` directive (thanks to Lea Wiemann).
1258 * docutils/parsers/rst/directives/misc.py:
1260 - Added "encoding" option to "include" and "raw" directives.
1261 - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1262 - Allow multiple class names in the "class" directive.
1264 * docutils/parsers/rst/directives/parts.py:
1266 - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1267 options. Thanks to Lele Gaifax.
1269 * docutils/parsers/rst/directives/tables.py:
1271 - Added "encoding" directive to "csv-table" directive.
1272 - Added workaround for lack of Unicode support in csv.py, for
1273 non-ASCII CSV input.
1275 * docutils/transforms/misc.py:
1277 - Fixed bug when multiple "class" directives are applied to a single
1279 - Enabled multiple format names for "raw" directive.
1281 * docutils/transforms/references.py:
1283 - Added support for trimming whitespace from beside substitution
1286 * docutils/transforms/universal.py:
1288 - FinalChecks now checks for illegal transitions and moves
1289 transitions between sections.
1291 * docutils/writers/html4css1.py:
1293 - HTMLTranslator.encode now converts U+00A0 to " ".
1294 - "stylesheet" and "stylesheet_path" settings are now mutually
1296 - Added support for the new line_block/line structure.
1297 - --footnote-references now overrides
1298 --trim-footnote-reference-space, if applicable.
1299 - Added support for ``compound`` elements.
1300 - Enabled multiple format names for "raw" directive.
1301 - ``<p>`` tags of a paragraph which is the only visible child of the
1302 document node are no longer stripped.
1303 - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1304 new method ``should_be_compact_paragraph()``.
1305 - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1307 - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1308 the output if they have their ``class`` attribute set.
1309 - The whole document is now surrounded by a ``<div
1310 class="document">`` element.
1311 - Body-level images are now wrapped by their own ``<div>`` elements,
1312 with image classes copied to the wrapper, and for images which
1313 have the ``:align:`` option set, the surrounding ``<div>`` now
1314 receives a class attribute (like ``class="align-left"``).
1316 * docutils/writers/latex2e.py:
1318 - no newline after depart_term.
1319 - Added translations for some Unicode quotes.
1320 - Added option "font-encoding", made package AE the default.
1321 - "stylesheet" and "stylesheet_path" settings are now mutually
1323 - --footnote-references now overrides
1324 --trim-footnote-reference-space, if applicable.
1325 - The footnote label style now matches the footnote reference style
1326 ("brackets" or "superscript").
1327 - Added support for ``compound`` elements.
1328 - Enabled multiple format names for "raw" directive.
1330 * docs/ref/docutils.dtd:
1332 - Changed structure of the ``line_block`` element; added ``line``.
1333 - Added ``compound`` element.
1334 - Added "ltrim" and "rtrim" attributes to
1335 ``substitution_definition`` element.
1336 - Enabled multiple format names for ``raw`` element.
1337 - Enabled multiple classifiers in ``definition_list_item`` elements.
1339 * docs/ref/rst/directives.txt
1341 - Marked "line-block" as deprecated.
1342 - "Class" directive now allows multiple class names.
1343 - Added "Rationale for Class Attribute Value Conversion".
1344 - Added warning about "raw" overuse/abuse.
1346 * docs/ref/rst/restructuredtext.txt:
1348 - Added syntax for line blocks.
1349 - Definition list items may have multiple classifiers.
1351 * docs/ref/rst/roles.txt:
1355 * tools/stylesheets/default.css:
1357 - Added support for the new line_block structure.
1358 - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1361 Release 0.3.5 (2004-07-29)
1362 ==========================
1366 * _`Documentation cleanup/reorganization`.
1368 - Created new subdirectories of docs/:
1370 * ``docs/user/``: introductory/tutorial material for end-users
1371 * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1372 * ``docs/api/``: API reference material for client-developers
1373 * ``docs/ref/``: reference material for all groups
1374 * ``docs/howto/``: for component-developers and core-developers
1375 * ``docs/peps/``: Python Enhancement Proposals
1377 - Moved ``docs/*`` to ``docs/user/``.
1378 - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1379 ``spec/`` to ``docs/dev``.
1380 - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1381 ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1382 - Moved ``alternatives.txt``, and ``problems.txt`` from
1383 ``spec/rst/`` to ``docs/dev/rst/``.
1384 - Moved ``reStructuredText.txt``, ``directives.txt``,
1385 ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1386 to ``docs/ref/rst/``. Renamed ``interpreted.txt`` to
1387 ``roles.txt``, ``reStructuredText.txt`` to
1388 ``restructuredtext.txt``.
1389 - Moved ``spec/howto/`` to ``docs/howto``.
1391 In order to keep the CVS history of moved files, we supplied
1392 SourceForge with a `script for modifying the Docutils CVS
1395 __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1397 After running the cleanup script:
1399 - Added ``docs/index.txt``.
1400 - Added a ``.htaccess`` file to the ``web`` module, containing
1401 redirects for all old paths to new paths. They'll preserve
1402 fragments (the "#name" part of a URL), and won't clutter up the
1403 file system, and will correct the URL in the user's browser.
1404 - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1405 ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1406 the "To Do" list itself in ``docs/dev/todo.txt``.
1407 - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1408 section of ``docs/dev/todo.txt``.
1409 - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1410 - Added "How To Report Bugs" to ``BUGS.txt``.
1411 - Went through all the sources and docs (including under web/) and
1412 updated links. Mostly done by Lea Wiemann; thanks Lea!
1413 (Still need to update links in the sandboxes.)
1417 * BUGS.txt: Added to project.
1419 * THANKS.txt: Added to project.
1421 * docutils/__init__.py:
1423 - 0.3.4: Post-release.
1427 - Added special error handling & advice for UnicodeEncodeError.
1428 - Refactored Publisher.publish (simplified exception handling &
1429 extracted debug dumps).
1430 - Renamed "enable_exit" parameter of convenience functions to
1431 "enable_exit_status".
1432 - Enabled traceback (exception propagation) by default in
1433 programmatic convenience functions.
1434 - Now publish_file and publish_cmdline convenience functions return
1435 the encoded string results in addition to their regular I/O.
1436 - Extracted common code from publish_file, publish_string, and
1437 publish_parts, into new publish_programmatically. Extracted
1438 settings code to ``Publisher.process_programmatic_settings``.
1439 - In Publisher.publish, disabled ``settings_overrides`` when
1440 ``settings`` is supplied; redundant.
1442 * docutils/frontend.py:
1444 - Added help text for "--output-encoding-error-handler" and
1445 "--error-encoding-error-handler".
1446 - Renamed "--exit" to "--exit-status".
1447 - Simplified default-setting code.
1449 * docutils/parsers/rst/__init__.py:
1451 - Added "--pep-base-url" and "--rfc-base-url" options.
1453 * docutils/parsers/rst/states.py:
1455 - Made URI recognition more aggressive and intelligent.
1457 * docutils/parsers/rst/directives/__init__.py:
1459 - Added several directive option conversion functions.
1461 * docutils/parsers/rst/directives/body.py:
1463 - Moved "table" directive to tables.py.
1465 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1468 * docutils/writers/latex2e.py:
1470 - Added "--table-style=(standard|booktabs|nolines)"
1471 - figures get "here" option (LaTeX per default puts them at bottom),
1472 and figure content is centered.
1473 - Rowspan support for tables.
1474 - Fix: admonition titles before first section.
1475 - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1476 - Replave ``_`` in literal by an underlined blank, because it has the correct
1478 - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1479 - A few unicode replacements, if output_encoding != utf
1480 - Add "--graphicx-option".
1481 - Indent literal-blocks.
1482 - Fix: omit ``\maketitle`` when there is no document title.
1484 * docs/index.txt: "Docutils Project Documentation Overview", added to
1487 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1488 Tool", added to project.
1490 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1492 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1494 * docs/dev/policies.txt: Added to project (extracted from
1495 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1497 * docs/dev/release.txt: Added to project (extracted from
1498 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1500 * docs/dev/testing.txt: Added to project.
1502 * docs/dev/website.txt: Added to project (extracted from
1503 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1505 * docs/ref/rst/directives.txt:
1507 - Added directives: "table", "csv-table".
1509 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1510 added to project. 1 page for syntax, and a 1 page reference for
1511 directives and roles. Source text to be used as-is; not meant to be
1514 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1515 with a change of title.
1517 * test/functional/, contents, and test/test_functional.py: Added to
1520 * tools/buildhtml.py: Fixed bug with config file handling.
1522 * tools/html.py: Removed from project (duplicate of rst2html.py).
1524 * tools/pep2html.py: Removed from project (duplicate of Python's
1525 nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1526 Docutils-related PEPs in docs/peps/).
1528 * tools/rst2pseudoxml.py: Renamed from publish.py.
1530 * tools/rst2xml.py: Renamed from docutils-xml.py.
1532 * tools/test.txt: Removed from project; moved to
1533 docs/user/rst/demo.txt.
1535 * setup.py: Now also installs ``rst2latex.py``.
1538 Release 0.3.3 (2004-05-09)
1539 ==========================
1541 * docutils/__init__.py:
1543 - 0.3.1: Reorganized config file format (multiple sections); see
1545 - Added unknown_reference_resolvers attribute to TransformSpec.
1546 - 0.3.2: Interpreted text reorganization.
1551 - Catch system messages to stop tracebacks from parsing errors.
1552 - Catch exceptions during processing report & exit without
1553 tracebacks, except when "--traceback" used.
1554 - Reordered components for OptionParser; application comes last.
1555 - Added "config_section" parameter to several methods and functions,
1556 allowing front ends to easily specify their config file sections.
1557 - Added publish_parts convenience function to allow access to individual
1558 parts of a document.
1560 * docutils/examples.py: Added to project; practical examples of
1561 Docutils client code, to be used as-is or as models for variations.
1563 * docutils/frontend.py:
1565 - Added "--traceback" & "--no-traceback" options ("traceback"
1567 - Implemented support for config file reorganization:
1568 ``standard_config_files`` moved from ``ConfigParser`` to
1569 ``OptionParser``; added
1570 ``OptionParser.get_config_file_settings()`` and
1571 ``.get_standard_config_settings()``; support for old "[options]"
1572 section (with deprecation warning) and mapping from old to new
1574 - Reimplemented setting validation.
1575 - Enabled flexible boolean values: yes/no, true/false, on/off.
1576 - Added ``Values``, a subclass of ``optparse.Values``, with support
1577 for list setting attributes.
1578 - Added support for new ``DOCUTILSCONFIG`` environment variable;
1579 thanks to Beni Cherniavsky.
1580 - Added "--no-section-numbering" option.
1584 - Catch IOErrors when opening source & destination files, report &
1585 exit without tracebacks. Added ``handle_io_errors`` parameter to
1586 ``FileInput`` & ``FileOutput`` to enable caller error handling.
1588 * docutils/nodes.py:
1590 - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1591 method definitions (via ``exec``) to dynamic assignments (via
1592 ``setattr``); thanks to Roman Suzi.
1593 - Encapsulated visitor dynamic assignments in a function; thanks to
1595 - Added indirect_reference_name attribute to the Targetable
1596 class. This attribute holds the whitespace_normalized_name
1597 (contains mixed case) of a target.
1599 * docutils/statemachine.py:
1601 - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1602 - Added ``StringList.get_2D_block``.
1604 * docutils/utils.py:
1606 - Added "level" attribute to SystemMessage exceptions.
1608 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1611 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1614 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1615 Marcelo Huerta San Martin.
1617 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1618 mappings by Lalo Martins.
1620 * docutils/languages/ru.py: Added to project; Russian mappings by
1623 * docutils/parsers/rst/roles.py: Added to project. Contains
1624 interpreted text role functions, a registry for interpreted text
1625 roles, and an API for adding to and retrieving from the registry.
1626 Contributed by Edward Loper.
1628 * docutils/parsers/rst/states.py:
1630 - Updated ``RSTState.nested_parse`` for "include" in table cells.
1631 - Allowed true em-dash character and "---" as block quote
1633 - Added support for <angle-bracketed> complex option arguments
1635 - Fixed handling of backslashes in substitution definitions.
1636 - Fixed off-by-1 error with extra whitespace after substitution
1637 definition directive.
1638 - Added inline markup parsing to field lists' field names.
1639 - Added support for quoted (and unindented) literal blocks.
1640 Driven in part by a bribe from Frank Siebenlist (thanks!).
1641 - Parser now handles escapes in URIs correctly.
1642 - Made embedded-URIs' reference text omittable. Idea from Beni
1644 - Refactored explicit target processing code.
1645 - Added name attribute to references containing the reference name only
1646 through whitespace_normalize_name (no case changes).
1647 - parse_target no longer returns the refname after going through
1648 normalize_name. This is now handled in make_target.
1649 - Fixed bug relating to role-less interpreted text in non-English
1651 - Reorganized interpreted text processing; moved code into the new
1652 roles.py module. Contributed by Edward Loper.
1653 - Refactored ``Body.parse_directive`` into ``run_directive`` and
1654 ``parse_directive_block``.
1656 * docutils/parsers/rst/tableparser.py:
1658 - Reworked for ``StringList``, to support "include" directives in
1661 * docutils/parsers/rst/directives/__init__.py:
1663 - Renamed ``unchanged()`` directive option conversion function to
1664 ``unchanged_required``, and added a new ``unchanged``.
1665 - Catch unicode value too high error; fixes bug 781766.
1666 - Beefed up directive error reporting.
1668 * docutils/parsers/rst/directives/body.py:
1670 - Added basic "table" directive.
1672 * docutils/parsers/rst/directives/images.py:
1674 - Added "target" option to "image" directive.
1675 - Added name attribute to references containing the reference name only
1676 through whitespace_normalize_name (no case changes).
1678 * docutils/parsers/rst/directives/misc.py:
1680 - Isolated the import of the ``urllib2`` module; was causing
1681 problems on SourceForge (``libssl.so.2`` unavailable?).
1682 - Added the "role" directive for declaring custom interpreted text
1685 * docutils/parsers/rst/directives/parts.py:
1687 - The "contents" directive does more work up-front, creating the
1688 "topic" and "title", and leaving the "pending" node for the
1689 transform. Allows earlier reference resolution; fixes subtle bug.
1691 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1692 mappings by Jannie Hofmeyr.
1694 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1695 mappings by Marek Blaha.
1697 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1698 mappings by Marcelo Huerta San Martin.
1700 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1701 Portuguese mappings by Lalo Martins.
1703 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1704 mappings by Roman Suzi.
1706 * docutils/transforms/parts.py:
1708 - The "contents" directive does more work up-front, creating the
1709 "topic" and "title", and leaving the "pending" node for the
1710 transform. Allows earlier reference resolution; fixes subtle bug.
1711 - Added support for disabling of section numbering.
1713 * docutils/transforms/references.py:
1715 - Verifying that external targets are truly targets and not indirect
1716 references. This is because we are now adding a "name" attribute to
1717 references in addition to targets. Note sure if this is correct!
1718 - Added code to hook into the unknown_reference_resolvers list for a
1719 transformer in resolve_indirect_target. This allows the
1720 unknown_reference_resolvers to keep around indirect targets which
1721 docutils doesn't know about.
1722 - Added specific error message for duplicate targets.
1724 * docutils/transforms/universal.py:
1726 - Added FilterMessages transform (removes system messages below the
1727 verbosity threshold).
1728 - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1729 to FinalCheckVisitor for application-specific handling of
1730 unresolvable references.
1731 - Added specific error message for duplicate targets.
1733 * docutils/writers/__init__.py:
1735 - Added assemble_parts method to the Writer class to allow for
1736 access to a documents individual parts.
1737 - Documented & set default for ``Writer.output`` attribute.
1739 * docutils/writers/html4css1.py:
1741 - Fixed unicode handling of attribute values (bug 760673).
1742 - Prevent duplication of "class" attribute values (bug report from
1744 - Improved table grid/border handling (prompted by report from Bob
1746 - Added support for table titles.
1747 - Added "<title />" for untitled docs, for XHTML conformance; thanks
1749 - Added functionality to keep track of individual parts of a document
1750 and store them in a dictionary as the "parts" attribute of the writer.
1751 Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1752 - Added proper support for the "scale" attribute of the "image"
1753 element. Contributed by Brent Cook.
1754 - Added ``--initial-header-level`` option.
1755 - Fixed bug: the body_pre_docinfo segment depended on there being a
1756 docinfo; if no docinfo, the document title was incorporated into
1757 the body segment. Adversely affected the publish_parts interface.
1759 * docutils/writers/latex2e.py:
1761 - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1762 about a missing file.
1763 - Added options and support: ``--compound-enumerators``,
1764 ``--section-prefix-for-enumerators``, and
1765 ``--section-enumerator-separator``. By John F Meinel Jr (SF patch
1767 - Added option ``--use-verbatim-when-possible``, to avoid
1768 problematic characters (eg, '~' in italian) in literal blocks.
1769 - It's now possible to use four section levels in the `book` and
1770 `report` LaTeX classes. The default `article` class still has
1773 * docs/config.txt: "Docutils Configuration Files", added to project.
1774 Moved config file entry descriptions from tools.txt.
1778 - Moved config file entry descriptions to config.txt.
1780 * spec/notes.txt: Continual updates. Added "Setting Up For Docutils
1783 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1784 Text Roles", added to project.
1786 * spec/rst/reStructuredText.txt:
1788 - Added description of support for <angle-bracketed> complex option
1789 arguments to option lists.
1790 - Added subsections for indented and quoted literal blocks.
1792 * test: Continually adding & updating tests.
1794 - Added test/test_settings.py & test/data/config_*.txt support
1796 - Added test/test_writers/test_htmlfragment.py.
1798 * test/DocutilsTestSupport.py:
1800 - Refactored LaTeX publisher test suite/case class names to make
1801 testing other writers easier.
1802 - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1803 to test the processing of HTML fragments which use the new
1804 publish_parts convenience function.
1806 * tools/buildhtml.py:
1808 - Added support for the "--prune" option.
1809 - Removed dependency on pep2html.py; plaintext PEPs no longer
1812 * tools/docutils.conf:
1814 - Updated for configuration file reorganization.
1816 * tools/rst2html.py:
1818 - copied from tools/html.py
1822 - added a 'scripts' section to configuration
1823 - added 'tools/rst2html.py' to the scripts section
1826 Release 0.3 (2003-06-24)
1827 ========================
1831 * Renamed "attribute" to "option" for directives/extensions.
1833 * Renamed transform method "transform" to "apply".
1835 * Renamed "options" to "settings" for runtime settings (as set by
1836 command-line options). Sometimes "option" (singular) became
1837 "settings" (plural). Some variations below:
1839 - document.options -> document.settings (stored in other objects as
1841 - option_spec -> settings_spec (not directives though)
1842 - OptionSpec -> SettingsSpec
1843 - cmdline_options -> settings_spec
1844 - relative_path_options -> relative_path_settings
1845 - option_default_overrides -> settings_default_overrides
1846 - Publisher.set_options -> Publisher.get_settings
1850 * COPYING.txt: Added "Public Domain Dedication".
1852 * FAQ.txt: Frequently asked questions, added to project.
1856 - Updated with PyPI Trove classifiers.
1857 - Conditional installation of third-party modules.
1859 * docutils/__init__.py:
1861 - Bumped version to 0.2.1 to reflect changes to I/O classes.
1862 - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1863 - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1864 - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1865 option and its effect on the PEP template & writer.
1866 - Bumped version to 0.2.4 due to changes to the PEP template &
1868 - Bumped version to 0.2.5 to reflect changes to Reporter output.
1869 - Added ``TransformSpec`` class for new transform system.
1870 - Bumped version to 0.2.6 for API changes (renaming).
1871 - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1872 convenience functions.
1873 - Added ``Component.component_type`` attribute.
1874 - Bumped version to 0.2.8 because of the internal parser switch from
1875 plain lists to the docutils.statemachine.StringList objects.
1876 - Bumped version to 0.2.9 because of the frontend.py API changes.
1877 - Bumped version to 0.2.10 due to changes to the project layout
1878 (third-party modules removed from the "docutils" package), and
1879 signature changes in ``io.Input``/``io.Output``.
1880 - Changed version to 0.3.0 for release.
1884 - Made ``publish()`` a bit more convenient.
1885 - Generalized ``Publisher.set_io``.
1886 - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1887 parameters; improved its docstring.
1888 - Added ``publish_file()`` and ``publish_string()``.
1889 - Factored ``Publisher.set_source()`` and ``.set_destination()``
1891 - Added support for "--dump-pseudo-xml", "--dump-settings", and
1892 "--dump-transforms" hidden options.
1893 - Added ``Publisher.apply_transforms()`` method.
1894 - Added ``Publisher.set_components()`` method; support for
1895 ``publish_*()`` conveninece functions.
1896 - Moved config file processing to docutils/frontend.py.
1897 - Added support for exit status ("exit_level" setting &
1898 ``enable_exit`` parameter for Publisher.publish() and convenience
1901 * docutils/frontend.py:
1903 - Check for & exit on identical source & destination paths.
1904 - Fixed bug with absolute paths & "--config".
1905 - Set non-command-line defaults in ``OptionParser.__init__()``:
1906 ``_source`` & ``_destination``.
1907 - Distributed ``relative_path_settings`` to components; updated
1908 ``OptionParser.populate_from_components()`` to combine it all.
1909 - Require list of keys in ``make_paths_absolute`` (was implicit in
1910 global ``relative_path_settings``).
1911 - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1912 "--dump-settings", and "--dump-transforms" hidden options.
1913 - Removed nasty internals-fiddling ``ConfigParser.get_section``
1914 code, replaced with correct code.
1915 - Added validation functionality for config files.
1916 - Added "--error-encoding" option/setting, "_disable_config"
1918 - Added encoding validation; updated "--input-encoding" and
1919 "--output-encoding"; added "--error-encoding-error-handler" and
1920 "--output-encoding-error-handler".
1921 - Moved config file processing from docutils/core.py.
1922 - Updated ``OptionParser.populate_from_components`` to handle new
1923 ``SettingsSpec.settings_defaults`` dict.
1924 - Added support for "-" => stdin/stdout.
1925 - Added "exit_level" setting ("--exit" option).
1929 - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1930 - Added automatic closing to ``FileInput`` and ``FileOutput``.
1931 - Delayed opening of ``FileOutput`` file until ``write()`` called.
1932 - ``FileOutput.write()`` now returns the encoded output string.
1933 - Try to get path/stream name automatically in ``FileInput`` &
1935 - Added defaults for source & destination paths.
1936 - Allow for Unicode I/O with an explicit "unicode" encoding.
1937 - Added ``Output.encode()``.
1938 - Removed dependency on runtime settings; pass encoding directly.
1939 - Recognize Unicode strings in ``Input.decode()``.
1940 - Added support for output encoding error handlers.
1942 * docutils/nodes.py:
1944 - Added "Invisible" element category class.
1945 - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1946 modification during a traversal.
1947 - Added element classes: ``line_block``, ``generated``, ``address``,
1948 ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1949 ``superscript``, ``subscript``, ``inline``
1950 - Added support for lists of nodes to ``Element.insert()``.
1951 - Fixed parent linking in ``Element.replace()``.
1952 - Added new abstract superclass ``FixedTextElement``; adds
1953 "xml:space" attribute.
1954 - Added support for "line" attribute of ``system_message`` nodes.
1955 - Added support for the observer pattern from ``utils.Reporter``.
1956 Added ``parse_messages`` and ``transform_messages`` attributes to
1957 ``document``, removed ``messages``. Added ``note_parse_message``
1958 and ``note_transform_message`` methods.
1959 - Added support for improved diagnostics:
1961 - Added "document", "source", and "line" internal attributes to
1962 ``Node``, set by ``Node.setup_child()``.
1963 - Converted variations on ``node.parent = self`` to
1964 ``self.setup_child(node)``.
1965 - Added ``document.current_source`` & ``.current_line``
1966 attributes, and ``.note_source`` observer method.
1967 - Changed "system_message" output to GNU-Tools format.
1969 - Added a "rawsource" attribute to the ``Text`` class, for text
1970 before backslash-escape resolution.
1971 - Support for new transform system.
1972 - Reworked ``pending`` element.
1973 - Fixed XML DOM bug (SF #660611).
1974 - Removed the ``interpeted`` element class and added
1975 ``title_reference``, ``abbreviation``, ``acronym``.
1976 - Made substitutions case-sensitive-but-forgiving; moved some code
1978 - Fixed Unicode bug on element attributes (report: William Dode).
1980 * docutils/optik.py: Removed from project; replaced with
1981 extras/optparse.py and extras/textwrap.py. These will be installed
1982 only if they're not already present in the Python installation.
1984 * docutils/roman.py: Moved to extras/roman.py; this will be installed
1985 only if it's not already present in the Python installation.
1987 * docutils/statemachine.py:
1989 - Factored out ``State.add_initial_transitions()`` so it can be
1991 - Converted whitespace-specific "blank" and "indent" transitions
1992 from special-case code to ordinary transitions: removed
1993 ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
1994 ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
1995 ``ws_initial_transitions`` attributes.
1996 - Removed ``State.match_transition()`` after merging it into
1998 - Added ``StateCorrection`` exception.
1999 - Added support for ``StateCorrection`` in ``StateMachine.run()``
2000 (moved ``TransitionCorrection`` support there too.)
2001 - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
2002 ``EOFError`` instead of ``IndexError``.
2003 - Added ``State.no_match`` method.
2004 - Added support for the Observer pattern, triggered by input line
2006 - Added ``strip_top`` parameter to
2007 ``StateMachineWS.get_first_known_indented``.
2008 - Made ``context`` a parameter to ``StateMachine.run()``.
2009 - Added ``ViewList`` & ``StringList`` classes;
2010 ``extract_indented()`` becomes ``StringList.get_indented()``.
2011 - Added ``StateMachine.insert_input()``.
2012 - Fixed ViewList slice handling for Python 2.3. Patch from (and
2013 thanks to) Fred Drake.
2015 * docutils/utils.py:
2017 - Added a ``source`` attribute to Reporter instances and
2018 ``system_message`` elements.
2019 - Added an observer pattern to ``utils.Reporter`` to keep track of
2021 - Fixed bugs in ``relative_path()``.
2022 - Added support for improved diagnostics.
2023 - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
2024 - Added support for encoding Reporter stderr output, and encoding
2026 - Reporter keeps track of the highest level system message yet
2029 * docutils/languages: Fixed bibliographic field language lookups.
2031 * docutils/languages/es.py: Added to project; Spanish mappings by
2032 Marcelo Huerta San Martin.
2034 * docutils/languages/fr.py: Added to project; French mappings by
2037 * docutils/languages/it.py: Added to project; Italian mappings by
2040 * docutils/languages/sk.py: Added to project; Slovak mappings by
2043 * docutils/parser/__init__.py:
2045 - Added ``Parser.finish_parse()`` method.
2047 * docutils/parser/rst/__init__.py:
2049 - Added options: "--pep-references", "--rfc-references",
2050 "--tab-width", "--trim-footnote-reference-space".
2052 * docutils/parsers/rst/states.py:
2054 - Changed "title under/overline too short" system messages from INFO
2055 to WARNING, and fixed its insertion location.
2056 - Fixed enumerated list item parsing to allow paragraphs & section
2057 titles to begin with enumerators.
2058 - Converted system messages to use the new "line" attribute.
2059 - Fixed a substitution reference edge case.
2060 - Added support for "--pep-references" and "--rfc-references"
2061 options; reworked ``Inliner`` code to make customization easier.
2062 - Removed field argument parsing.
2063 - Added support for short section title over/underlines.
2064 - Fixed "simple reference name" regexp to ignore text like
2065 "object.__method__"; not an anonymous reference.
2066 - Added support for improved diagnostics.
2067 - Reworked directive API, based on Dethe Elza's contribution. Added
2068 ``Body.parse_directive()``, ``.parse_directive_options()``,
2069 ``.parse_directive_arguments()`` methods.
2070 - Added ``ExtensionOptions`` class, to parse directive options
2071 without parsing field bodies. Factored
2072 ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
2073 ``ExtensionOptions``.
2074 - Improved definition list term/classifier parsing.
2075 - Added warnings for unknown directives.
2076 - Renamed ``Stuff`` to ``Struct``.
2077 - Now flagged as errors: transitions at the beginning or end of
2078 sections, empty sections (except title), and empty documents.
2079 - Updated for ``statemachine.StringList``.
2080 - Enabled recognition of schemeless email addresses in targets.
2081 - Added support for embedded URIs in hyperlink references.
2082 - Added backslash-escapes to inline markup end-string suffix.
2083 - Added support for correct interpreted text processing.
2084 - Fixed nested title parsing (topic, sidebar directives).
2085 - Added special processing of backslash-escaped whitespace (idea
2086 from David Abrahams).
2087 - Made substitutions case-sensitive-but-forgiving; moved some code
2088 to ``docutils.nodes``.
2089 - Added support for block quote attributions.
2090 - Added a kludge to work-around a conflict between the bubble-up
2091 parser strategy and short titles (<= 3 char-long over- &
2092 underlines). Fixes SF bug #738803 "infinite loop with multiple
2093 titles" submitted by Jason Diamond.
2094 - Added explicit interpreted text roles for standard inline markup:
2095 "emphasis", "strong", "literal".
2096 - Implemented "superscript" and "subscript" interpreted text roles.
2097 - Added initial support for "abbreviation" and "acronym" roles;
2099 - Added support for "--trim-footnote-reference-space" option.
2100 - Optional space before colons in directives & hyperlink targets.
2102 * docutils/parsers/rst/tableparser.py:
2104 - Fixed a bug that was producing unwanted empty rows in "simple"
2106 - Detect bad column spans in "simple" tables.
2108 * docutils/parsers/rst/directives: Updated all directive functions to
2111 * docutils/parsers/rst/directives/__init__.py:
2113 - Added ``flag()``, ``unchanged()``, ``path()``,
2114 ``nonnegative_int()``, ``choice()``, and ``class_option()``
2115 directive option helper functions.
2116 - Added warnings for unknown directives.
2117 - Return ``None`` for missing directives.
2118 - Added ``register_directive()``, thanks to William Dode and Paul
2121 * docutils/parsers/rst/directives/admonitions.py:
2123 - Added "admonition" directive.
2125 * docutils/parsers/rst/directives/body.py: Added to project. Contains
2126 the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2127 "parsed-literal", "rubric", "epigraph", "highlights" and
2128 "pull-quote" directives.
2130 * docutils/parsers/rst/directives/images.py:
2132 - Added an "align" attribute to the "image" & "figure" directives
2133 (by Adam Chodorowski).
2134 - Added "class" option to "image", and "figclass" to "figure".
2136 * docutils/parsers/rst/directives/misc.py:
2138 - Added "include", "raw", and "replace" directives, courtesy of
2140 - Added "unicode" and "class" directives.
2142 * docutils/parsers/rst/directives/parts.py:
2144 - Added the "sectnum" directive; by Dmitry Jemerov.
2145 - Added "class" option to "contents" directive.
2147 * docutils/parsers/rst/directives/references.py: Added to project.
2148 Contains the "target-notes" directive.
2150 * docutils/parsers/rst/languages/__init__.py:
2152 - Return ``None`` from get_language() for missing language modules.
2154 * docutils/parsers/rst/languages/de.py: Added to project; German
2155 mappings by Engelbert Gruber.
2157 * docutils/parsers/rst/languages/en.py:
2159 - Added interpreted text roles mapping.
2161 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2162 mappings by Marcelo Huerta San Martin.
2164 * docutils/parsers/rst/languages/fr.py: Added to project; French
2165 mappings by William Dode.
2167 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2168 mappings by Nicola Larosa.
2170 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2171 mappings by Miroslav Vasko.
2173 * docutils/readers/__init__.py:
2175 - Added support for the observer pattern from ``utils.Reporter``, in
2176 ``Reader.parse`` and ``Reader.transform``.
2177 - Removed ``Reader.transform()`` method.
2178 - Added default parameter values to ``Reader.__init__()`` to make
2179 instantiation easier.
2180 - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2182 * docutils/readers/pep.py:
2184 - Added the ``peps.TargetNotes`` transform to the Reader.
2185 - Removed PEP & RFC reference detection code; moved to
2186 parsers/rst/states.py as options (enabled here by default).
2187 - Added support for pre-acceptance PEPs (no PEP number yet).
2188 - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2191 * docutils/readers/python: Python Source Reader subpackage added to
2192 project, including preliminary versions of:
2195 - moduleparser.py: Parser for Python modules.
2197 * docutils/transforms/__init__.py:
2199 - Added ``Transformer`` class and completed transform reform.
2200 - Added unknown_reference_resolvers list for each transformer. This list holds
2201 the list of functions provided by each component of the transformer that
2202 help resolve references.
2204 * docutils/transforms/frontmatter.py:
2206 - Improved support for generic fields.
2207 - Fixed bibliographic field language lookups.
2209 * docutils/transforms/misc.py: Added to project. Miscellaneous
2212 * docutils/transforms/parts.py:
2214 - Moved the "id" attribute from TOC list items to the references
2215 (``Contents.build_contents()``).
2216 - Added the ``SectNum`` transform; by Dmitry Jemerov.
2217 - Added "class" attribute support to ``Contents``.
2219 * docutils/transforms/peps.py:
2221 - Added ``mask_email()`` function, updating to pep2html.py's
2223 - Linked "Content-Type: text/x-rst" to PEP 12.
2224 - Added the ``TargetNotes`` PEP-specific transform.
2225 - Added ``TargetNotes.cleanup_callback``.
2226 - Added title check to ``Headers``.
2228 * docutils/transforms/references.py:
2230 - Added the ``TargetNotes`` generic transform.
2231 - Split ``Hyperlinks`` into multiple transforms.
2232 - Fixed bug with multiply-indirect references (report: Bruce Smith).
2233 - Added check for circular indirect references.
2234 - Made substitutions case-sensitive-but-forgiving.
2236 * docutils/transforms/universal.py:
2238 - Added support for the "--expose-internal-attributes" option.
2239 - Removed ``Pending`` transform classes & data.
2241 * docutils/writers/__init__.py:
2243 - Removed ``Writer.transform()`` method.
2245 * docutils/writers/docutils-xml.py:
2247 - Added XML and doctype declarations.
2248 - Added "--no-doctype" and "--no-xml-declaration" options.
2250 * docutils/writers/html4css1.py:
2252 - "name" attributes only on these tags: a, applet, form, frame,
2254 - Added "name" attribute to <a> in section titles for Netscape 4
2255 support (bug report: Pearu Peterson).
2256 - Fixed targets (names) on footnote, citation, topic title,
2257 problematic, and system_message nodes (for Netscape 4).
2258 - Changed field names from "<td>" to "<th>".
2259 - Added "@" to "@" encoding to thwart address harvesters.
2260 - Improved the vertical whitespace optimization; ignore "invisible"
2261 nodes (targets, comments, etc.).
2262 - Improved inline literals with ``<span class="pre">`` around chunks
2263 of text and `` `` for runs of spaces.
2264 - Improved modularity of output; added ``self.body_pre_docinfo`` and
2265 ``self.docinfo`` segments.
2266 - Added support for "line_block", "address" elements.
2267 - Improved backlinks (footnotes & system_messages).
2268 - Improved system_message output.
2269 - Redefined "--stylesheet" as containing an invariant URL, used
2270 verbatim. Added "--stylesheet-path", interpreted w.r.t. the
2272 - Added "--footnote-references" option (superscript or brackets).
2273 - Added "--compact-lists" and "--no-compact-lists" options.
2274 - Added "--embed-stylesheet" and "--link-stylesheet" options;
2275 factored out ``HTMLTranslator.get_stylesheet_reference()``.
2276 - Improved field list rendering.
2277 - Added Docutils version to "generator" meta tag.
2278 - Fixed a bug with images; they must be inline, so wrapped in <p>.
2279 - Improved layout of <pre> HTML source.
2280 - Fixed attribute typo on <colspec>.
2281 - Refined XML prologue.
2282 - Support for no stylesheet.
2283 - Removed "interpreted" element support.
2284 - Added support for "title_reference", "sidebar", "attribution",
2285 "rubric", and generic "admonition" elements.
2286 - Added "--attribution" option.
2287 - Added support for "inline", "subscript", "superscript" elements.
2288 - Added initial support for "abbreviation" and "acronym";
2291 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2295 - Double quotes in literal blocks (special treatment for de/ngerman).
2296 - Added '--hyperlink-color' option ('0' turns off coloring of links).
2297 - Added "--attribution" option.
2298 - Right align attributions.
2300 * docutils/writers/pep_html.py:
2302 - Parameterized output encoding in PEP template.
2303 - Reworked substitutions from ``locals()`` into ``subs`` dict.
2304 - Redefined "--pep-stylesheet" as containing an invariant URL, used
2305 verbatim. Added "--pep-stylesheet-path", interpreted w.r.t. the
2307 - Added an override on the "--footnote-references" option.
2308 - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2309 - Added Docutils version to "generator" meta tag.
2310 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2314 - Added a "silent" setting for ``buildhtml.py``.
2315 - Added a "Getting Help" section.
2316 - Rearranged the structure.
2317 - Kept up to date, with new settings, command-line options etc.
2318 - Added section for ``rst2latex.py`` (Engelbert Gruber).
2319 - Converted settings table into a definition list.
2321 * docs/rst/quickstart.txt:
2323 - Added a table of contents.
2324 - Added feedback information.
2325 - Added mention of minimum section title underline lengths.
2326 - Removed the 4-character minimum for section title underlines.
2328 * docs/rst/quickref.html:
2330 - Added a "Getting Help" section.
2331 - Added a style to make section title backlinks more subtle.
2332 - Added mention of minimum section title underline lengths.
2333 - Removed the 4-character minimum for section title underlines.
2335 * extras: Directory added to project; contains third-party modules
2336 that Docutils depends on (optparse, textwrap, roman). These are
2337 only installed if they're not already present.
2339 * licenses: Directory added to project; contains copies of license
2340 files for non-public-domain files.
2344 - Changed the focus. It's about DTD elements: structural
2345 relationships, semantics, and external (public) attributes. Not
2346 about the element class library.
2347 - Moved some implementation-specific stuff into ``docutils.nodes``
2349 - Wrote descriptions of all common attributes and parameter
2350 entities. Filled in introductory material.
2351 - Working through the element descriptions: 55 down, 37 to go.
2352 - Removed "Representation of Horizontal Rules" to
2353 spec/rst/alternatives.txt.
2355 * spec/docutils.dtd:
2357 - Added "generated" inline element.
2358 - Added "line_block" body element.
2359 - Added "auto" attribute to "title".
2360 - Changed content models of "literal_block" and "doctest_block" to
2362 - Added ``%number;`` attribute type parameter entity.
2363 - Changed ``%structural.elements;`` to ``%section.elements``.
2364 - Updated attribute types; made more specific.
2365 - Added "address" bibliographic element.
2366 - Added "line" attribute to ``system_message`` element.
2367 - Removed "field_argument" element; "field_name" may contain
2368 multiple words and whitespace.
2369 - Changed public identifier to docutils.sf.net.
2370 - Removed "interpreted" element; added "title_reference",
2371 "abbreviation", "acronym".
2372 - Removed "refuri" attribute from "footnote_reference" and
2373 "citation_reference".
2374 - Added "sidebar", "rubric", "attribution", "admonition",
2375 "superscript", "subscript", and "inline" elements.
2377 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2379 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2381 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2383 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2386 * spec/transforms.txt: Added to project.
2388 * spec/howto: Added subdirectory, for developer how-to docs.
2390 * spec/howto/rst-directives.txt: Added to project. Original by Dethe
2391 Elza, edited & extended by David Goodger.
2393 * spec/howto/i18n.txt: Docutils Internationalization. Added to
2396 * spec/rst/alternatives.txt:
2398 - Added "Doctree Representation of Transitions" from
2400 - Updated "Inline External Targets" & closed the debate.
2401 - Added ideas for interpreted text syntax extensions.
2402 - Added "Nested Inline Markup" section.
2404 * spec/rst/directives.txt:
2406 - Added directives: "topic", "sectnum", "target-notes",
2407 "line-block", "parsed-literal", "include", "replace", "sidebar",
2408 "admonition", "rubric", "epigraph", "highlights", "unicode" and
2410 - Formalized descriptions of directive details.
2411 - Added an "align" attribute to the "image" & "figure" directives
2412 (by Adam Chodorowski).
2413 - Added "class" options to "topic", "sidebar", "line-block",
2414 "parsed-literal", "contents", and "image"; and "figclass" to
2417 * spec/rst/interpreted.txt: Added to project. Descriptions of
2418 interpreted text roles.
2420 * spec/rst/introduction.txt:
2422 - Added pointers to material for new users.
2424 * spec/rst/reStructuredText.txt:
2426 - Disambiguated comments (just add a newline after the "::").
2427 - Updated enumerated list description; added a discussion of the
2428 second-line validity checking.
2429 - Updated directive description.
2430 - Added a note redirecting newbies to the user docs.
2431 - Expanded description of inline markup start-strings in non-markup
2433 - Removed field arguments and made field lists a generic construct.
2434 - Removed the 4-character minimum for section title underlines.
2435 - Clarified term/classifier delimiter & inline markup ambiguity
2437 - Added "Embedded URIs".
2438 - Updated "Interpreted Text" section.
2439 - Added "Character-Level Inline Markup" section.
2441 * test: Continually adding & updating tests.
2443 - Moved test/test_rst/ to test/test_parsers/test_rst/.
2444 - Moved test/test_pep/ to test/test_readers/test_pep/.
2445 - Added test/test_readers/test_python/.
2446 - Added test/test_writers/ (Engelbert Gruber).
2450 - Made the ``locale.setlocale()`` calls in front ends
2453 * tools/buildhtml.py:
2455 - Added "--silent" option.
2456 - Fixed bug with absolute paths & "--config".
2457 - Updated for new I/O classes.
2458 - Added some exception handling.
2459 - Separated publishers' setting defaults; prevents interference.
2460 - Updated for new ``publish_file()`` convenience function.
2462 * tools/pep-html-template:
2464 - Allow for "--embed-stylesheet".
2465 - Added Docutils version to "generator" meta tag.
2466 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2467 - Conform to XHTML spec.
2469 * tools/pep2html.py:
2471 - Made ``argv`` a parameter to ``main()``.
2472 - Added support for "Content-Type:" header & arbitrary PEP formats.
2473 - Linked "Content-Type: text/plain" to PEP 9.
2474 - Files skipped (due to an error) are not pushed onto the server.
2475 - Updated for new I/O classes.
2476 - Added ``check_requirements()`` & ``pep_type_error()``.
2477 - Added some exception handling.
2478 - Updated for new ``publish_string()`` convenience function.
2479 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2481 * tools/quicktest.py:
2483 - Added "-V"/"--version" option.
2485 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2487 * tools/unicode2rstsubs.py: Added to project. Produces character
2488 entity files (reSructuredText substitutions) from the MathML master
2491 * tools/editors: Support code for editors, added to project. Contains
2492 ``emacs/restructuredtext.el``.
2494 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2496 - Added style for chunks of inline literals.
2497 - Removed margin for first child of table cells.
2498 - Right-aligned field list names.
2499 - Support for auto-numbered section titles in TOCs.
2500 - Increased the size of inline literals (<tt>) in titles.
2501 - Restored the light gray background for inline literals.
2502 - Added support for "line_block" elements.
2503 - Added style for "address" elements.
2504 - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2505 - Improved field list rendering.
2506 - Vertical whitespace improvements.
2507 - Removed "a.target" style.
2509 * tools/stylesheets/pep.css:
2511 - Fixed nested section margins.
2512 - Other changes parallel those of ``../default.css``.
2515 Release 0.2 (2002-07-31)
2516 ========================
2520 - The word "component" was being used ambiguously. From now on,
2521 "component" will be used to mean "Docutils component", as in Reader,
2522 Writer, Parser, or Transform. Portions of documents (Table of
2523 Contents, sections, etc.) will be called "document parts".
2524 - Did a grand renaming: a lot of ``verylongnames`` became
2525 ``very_long_names``.
2526 - Cleaned up imports: no more relative package imports or
2527 comma-separated lists of top-level modules.
2528 - Added support for an option values object which carries default
2529 settings and overrides (from command-line options and library use).
2530 - Added internal Unicode support, and support for both input and
2532 - Added support for the ``docutils.io.IO`` class & subclasses.
2536 * docutils/__init__.py:
2538 - Added ``ApplicationError`` and ``DataError``, for use throughout
2540 - Added ``Component`` base class for Docutils components; implements
2541 the ``supports`` method.
2542 - Added ``__version__`` (thus, ``docutils.__version__``).
2546 - Removed many keyword parameters to ``Publisher.__init__()`` and
2547 ``publish()``; bundled into an option values object. Added
2548 "argv", "usage", "description", and "option_spec" parameters for
2549 command-line support.
2550 - Added ``Publisher.process_command_line()`` and ``.set_options()``
2552 - Reworked I/O model for ``docutils.io`` wrappers.
2553 - Updated ``Publisher.set_options()``; now returns option values
2555 - Added support for configuration files (/etc/docutils.conf,
2556 ./docutils.conf, ~/.docutils).
2557 - Added ``Publisher.setup_option_parser()``.
2558 - Added default usage message and description.
2560 * docutils/frontend.py: Added to project; support for front-end
2561 (command-line) scripts. Option specifications may be augmented by
2562 components. Requires Optik (http://optik.sf.net/) for option
2563 processing (installed locally as docutils/optik.py).
2565 * docutils/io.py: Added to project; uniform API for a variety of input
2568 * docutils/nodes.py:
2570 - Added ``TreeCopyVisitor`` class.
2571 - Added a ``copy`` method to ``Node`` and subclasses.
2572 - Added a ``SkipDeparture`` exception for visitors.
2573 - Renamed ``TreePruningException`` from ``VisitorException``.
2574 - Added docstrings to ``TreePruningException``, subclasses, and
2576 - Improved docstrings.
2577 - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2578 - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2580 - Added ``decoration``, ``header``, and ``footer`` node classes, and
2581 ``PreDecorative`` mixin.
2582 - Reworked the name/id bookkeeping; to ``document``, removed
2583 ``explicit_targets`` and ``implicit_targets`` attributes, added
2584 ``nametypes`` attribute and ``set_name_id_map`` method.
2585 - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2587 - Added ``document.has_name()`` method.
2588 - Fixed DOM generation for list-attributes.
2589 - Added category class ``Labeled`` (used by footnotes & citations).
2590 - Added ``Element.set_class()`` method (sets "class" attribute).
2592 * docutils/optik.py: Added to project. Combined from the Optik
2593 package, with added option groups and other modifications. The use
2594 of this module is probably only temporary.
2596 * docutils/statemachine.py:
2598 - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2599 - Added underscores to improve many awkward names.
2600 - In ``string2lines()``, changed whitespace normalizing translation
2601 table to regexp; restores Python 2.0 compatibility with Unicode.
2603 * docutils/urischemes.py:
2605 - Filled in some descriptions.
2606 - Added "shttp" scheme.
2608 * docutils/utils.py:
2610 - Added ``clean_rcs_keywords`` function (moved from
2611 docutils/transforms/frontmatter.py
2612 ``DocInfo.filter_rcs_keywords``).
2613 - Added underscores to improve many awkward names.
2614 - Changed names of Reporter's thresholds:
2615 warning_level -> report_level; error_level -> halt_level.
2616 - Moved ``utils.id()`` to ``nodes.make_id()``.
2617 - Added ``relative_path(source, target)``.
2619 * docutils/languages/de.py: German mappings; added to project. Thanks
2620 to Gunnar Schwant for the translations.
2622 * docutils/languages/en.py: Added "Dedication" bibliographic field
2625 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2628 * docutils/parsers/rst/states.py:
2630 - Added underscores to improve many awkward names.
2631 - Added RFC-2822 header support.
2632 - Extracted the inline parsing code from ``RSTState`` to a separate
2633 class, ``Inliner``, which will allow easy subclassing.
2634 - Made local bindings for ``memo`` container & often-used contents
2635 (reduces code complexity a lot). See ``RSTState.runtime_init()``.
2636 - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2637 - Added ``MarkupMismatch`` exception; for late corrections.
2638 - Added ``-/:`` characters to inline markup's start string prefix,
2639 ``/`` to end string suffix.
2640 - Fixed a footnote bug.
2641 - Fixed a bug with literal blocks.
2642 - Applied patch from Simon Budig: simplified regexps with symbolic
2643 names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2644 - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2645 - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2646 - Allowed non-ASCII in "simple names" (directive names, field names,
2648 - Converted ``Inliner.patterns.initial`` to be dynamically built
2649 from parts with ``build_regexp()`` function.
2650 - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2651 - Updated docstrings.
2652 - Changed "table" to "grid_table"; added "simple_table" support.
2654 * docutils/parsers/rst/tableparser.py:
2656 - Changed ``TableParser`` to ``GridTableParser``.
2657 - Added ``SimpleTableParser``.
2658 - Refactored naming.
2660 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2661 a fallback language for directive names.
2663 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2664 directive to use a ``pending`` element, used only by HTML writers.
2666 * docutils/parsers/rst/directives/parts.py: Renamed from
2669 - Added "backlinks" attribute to "contents" directive.
2671 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2672 project by Adam Chodorowski.
2674 * docutils/readers/__init__.py: Gave Readers more control over
2675 choosing and instantiating Parsers.
2677 * docutils/readers/pep.py: Added to project; for PEP processing.
2679 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2680 requires a ``component`` parameter.
2682 * docutils/transforms/components.py: Added to project; transforms
2683 related to Docutils components.
2685 * docutils/transforms/frontmatter.py:
2687 - In ``DocInfo.extract_authors``, check for a single "author" in an
2688 "authors" group, and convert it to a single "author" element.
2689 - Added support for "Dedication" and generic bibliographic fields.
2691 * docutils/transforms/peps.py: Added to project; PEP-specific.
2693 * docutils/transforms/parts.py: Renamed from old components.py.
2695 - Added filter for `Contents`, to use alt-text for inline images,
2696 and to remove inline markup that doesn't make sense in the ToC.
2697 - Added "name" attribute to TOC topic depending on its title.
2698 - Added support for optional TOC backlinks.
2700 * docutils/transforms/references.py: Fixed indirect target resolution
2701 in ``Hyperlinks`` transform.
2703 * docutils/transforms/universal.py:
2705 - Changed ``Messages`` transform to properly filter out system
2706 messages below the warning threshold.
2707 - Added ``Decorations`` transform (support for ``--generator``,
2708 ``--date``, ``--time``, ``--source-link`` options).
2710 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2711 Engelbert Gruber's PDF writer.
2713 * docutils/writers/html4css1.py:
2715 - Made XHTML-compatible (switched to lowercase element & attribute
2716 names; empty tag format).
2717 - Escape double-dashes in comment text.
2718 - Improved boilerplate & modularity of output.
2719 - Exposed modular output in Writer class.
2720 - Added a "generator" meta tag to <head>.
2721 - Added support for the ``--stylesheet`` option.
2722 - Added support for ``decoration``, ``header``, and ``footer``
2724 - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2725 translation table to regexp; restores Python 2.0 compatibility
2727 - Added the translator class as instance variable to the Writer, to
2728 make it easily subclassable.
2729 - Improved option list spacing (thanks to Richard Jones).
2730 - Modified field list output.
2731 - Added backlinks to footnotes & citations.
2732 - Added percentage widths to "<col>" tags (from colspec).
2733 - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2734 "<span>" changed to "<var>".
2735 - Inline literals: "<code>" changed to "<tt>".
2736 - Many changes to optimize vertical space: compact simple lists etc.
2737 - Add a command-line options & directive attributes to control TOC
2738 and footnote/citation backlinks.
2739 - Added support for optional footnote/citation backlinks.
2740 - Added support for generic bibliographic fields.
2741 - Identify backrefs.
2742 - Relative URLs for stylesheet links.
2744 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2745 PEPs (subclass of ``html4css1.Writer``).
2747 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2749 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2750 of the Docutils internal doctree in XML.
2752 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2756 - Changed the title to "The Docutils Document Tree".
2757 - Added "Hyperlink Bookkeeping" section.
2759 * spec/docutils.dtd:
2761 - Added ``decoration``, ``header``, and ``footer`` elements.
2762 - Brought ``interpreted`` element in line with the parser: changed
2763 attribute "type" to "role", added "position".
2764 - Added support for generic bibliographic fields.
2766 * spec/notes.txt: Continual updates. Added "Project Policies".
2768 * spec/pep-0256.txt: Updated. Added "Roadmap to the Doctring PEPs"
2771 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2773 * spec/pep-0258.txt: Updated. Added text from pysource.txt and
2774 mailing list discussions.
2776 * spec/pep-0287.txt:
2778 - Renamed to "reStructuredText Docstring Format".
2780 - Reworked Q&A as an enumerated list.
2781 - Converted to reStructuredText format.
2783 * spec/pysource.dtd:
2785 - Reworked structural elements, incorporating ideas from Tony Ibbs.
2787 * spec/pysource.txt: Removed from project. Moved much of its contents
2790 * spec/rst/alternatives.txt:
2792 - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2793 - Added "Inline External Targets" section.
2795 * spec/rst/directives.txt:
2797 - Added "backlinks" attribute to "contents" directive.
2799 * spec/rst/problems.txt:
2801 - Updated the Enumerated List Markup discussion.
2802 - Added new alternative table markup syntaxes.
2804 * spec/rst/reStructuredText.txt:
2806 - Clarified field list usage.
2807 - Updated enumerated list description.
2808 - Clarified purpose of directives.
2809 - Added ``-/:`` characters to inline markup's start string prefix,
2810 ``/`` to end string suffix.
2811 - Updated "Authors" bibliographic field behavior.
2812 - Changed "inline hyperlink targets" to "inline internal targets".
2813 - Added "simple table" syntax to supplement the existing but
2814 newly-renamed "grid tables".
2815 - Added cautions for anonymous hyperlink use.
2816 - Added "Dedication" and generic bibliographic fields.
2818 * test: Made test modules standalone (subdirectories became packages).
2820 * test/DocutilsTestSupport.py:
2822 - Added support for PEP extensions to reStructuredText.
2823 - Added support for simple tables.
2824 - Refactored naming.
2826 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2828 - Now supports true packages containing test modules
2829 (``__init__.py`` files required); fixes duplicate module name bug.
2831 * test/test_pep/: Subpackage added to project; PEP testing.
2833 * test/test_rst/test_SimpleTableParser.py: Added to project.
2837 - Updated html.py and publish.py front-end tools to use the new
2838 command-line processing facilities of ``docutils.frontend``
2839 (exposed in ``docutils.core.Publisher``), reducing each to just a
2841 - Added ``locale.setlocale()`` calls to front-end tools.
2843 * tools/buildhtml.py: Added to project; batch-generates .html from all
2844 the .txt files in directories and subdirectories.
2846 * tools/default.css:
2848 - Added support for ``header`` and ``footer`` elements.
2849 - Added styles for "Dedication" topics (biblio fields).
2851 * tools/docutils.conf: A configuration file; added to project.
2853 * tools/docutils-xml.py: Added to project.
2855 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2857 * tools/pep-html-template: Added to project.
2859 * tools/pep2html.py: Added to project from Python (nondist/peps).
2860 Added support for Docutils (reStructuredText PEPs).
2862 * tools/quicktest.py:
2864 - Added the ``--attributes`` option, hacked a bit.
2865 - Added a second command-line argument (output file); cleaned up.
2867 * tools/stylesheets/: Subdirectory added to project.
2869 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2872 Release 0.1 (2002-04-20)
2873 ========================
2875 This is the first release of Docutils, merged from the now inactive
2876 reStructuredText__ and `Docstring Processing System`__ projects. For
2877 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2878 `DPS HISTORY`__ files.
2880 __ http://structuredtext.sourceforge.net/
2881 __ http://docstring.sourceforge.net/
2882 __ http://structuredtext.sourceforge.net/HISTORY.html
2883 __ http://docstring.sourceforge.net/HISTORY.html
2885 General changes: renamed 'dps' package to 'docutils'; renamed
2886 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2887 the test suites (reStructuredText's test/test_states renamed to
2888 test/test_rst); and all modifications required to make it all work.
2890 * docutils/parsers/rst/states.py:
2892 - Improved diagnostic system messages for missing blank lines.
2893 - Fixed substitution_reference bug.
2899 indent-tabs-mode: nil
2900 sentence-end-double-space: t