1 .. -*- coding: utf-8 -*-
7 :Author: David Goodger; open to all Docutils developers
8 :Contact: docutils-develop@lists.sourceforge.net
11 :Web site: http://docutils.sourceforge.net/
12 :Copyright: This document has been placed in the public domain.
21 - Apply [ 2714873 ] Fix for the overwritting of document attributes.
22 - Support embedded aliases within hyperlink references.
26 - Fix [ 3601607 ] node.__repr__() must return `str` instance.
28 * docutils/parsers/rst/directives/__init__.py
30 - Fix [ 3606028 ] ``assert`` is skipped with ``python -O``.
32 * docutils/parsers/rst/directives/images.py
34 - Apply [ 3599485 ] node source/line information for sphinx translation.
36 * docutils/transforms/references.py
38 - Fix [ 3607029 ] traceback with embedded alias pointing to missing target.
40 * docutils/utils/__init__.py
42 - Fix [ 3596884 ] exception importing ``docutils.io``.
44 * docutils/writers/html4css1/__init__.py
46 - Fix [ 3600051 ] for tables in a list, table cells are not compacted.
47 - New setting `stylesheet_dirs`: Comma-separated list of directories
48 where stylesheets are found. Used by `stylesheet_path` when expanding
49 relative path arguments.
50 - New default for math-output_: ``HTML math.css``.
52 .. _math-output: docs/user/config.html#math-output
54 * docutils/writers/latex2e/__init__.py
56 - Drop the simple algorithm replacing straight double quotes with
57 English typographic ones.
58 Activate the SmartQuotes_ transform if you want this feature.
59 - Fix literal use of babel shorthands (straight quote, tilde, ...).
60 - Fix [ 3603246 ] Bug in option "--graphicx-option=auto".
61 - New setting `stylesheet_dirs`.
63 .. _SmartQuotes: docs/user/config.html#smart-quotes
65 * docutils/writers/manpage.py
67 - Fix option separating comma was bold (thanks to Bill Morris).
69 Release 0.10 (2012-12-16)
70 =========================
74 - Dropped support for Python 2.3.
75 - ``docutils/math``, ``docutils/error_reporting.py``, and
76 ``docutils/urischemes.py`` moved to the utils package.
77 - Fix [3541369] Relative __import__ also with Python 3.3.
78 - Fix [3559988] and [3560841] __import__ local writer, reader, languages
79 and parsers for Python 2.7 up.
80 - Fix import of PIL.Image.
81 - Change default of "syntax highlight" option to "long",
82 basic syntax highlight styles for LaTeX and HTML.
86 - FileInput/FileOutput: no system-exit on IOError. The `handle_io_errors`
87 option is ignored and will be removed in a future release.
88 - Fix Py3k error writing to stdout with encoding differing from default.
89 - Fix opening binary files under Py3k (thanks to Dominic Fitzpatrick).
91 * docutils/parsers/rst/directives/misc.py
93 - Fix [ 3546533 ] Unicode error with `date` directive.
95 * docutils/transforms/universal.py
97 - SmartQuotes transform for typographic quotes and dashes.
99 * docutils/utils/__init__.py
101 - normalize_language_tag() now returns `BCP 47`_ conformant tags
102 with subtags separated by ``-``.
104 * docutils/writers/html4css1/__init__.py
106 - Use ``<code>`` tag for inline "code",
107 do not drop nested inline nodes (syntax highlight tokens).
108 - Customizable MathJax URL (based on patch by Dmitry Shachnev).
109 - No line break after opening inline math tag.
111 * docutils/writers/manpage.py
113 - Apply [ 3527401 ] addmonition's don't preserve indentation
114 - Apply [ 3527397 ] Add indentation to literal blocks in manpage writer.
116 , docutils/writers/xetex/__init__.py
118 - Apply [ 3555160 ] ensure order of "otherlanguages".
119 - Fix section numbering by LaTeX.
121 * docutils/writers/s5_html/__init__.py
123 - Fix [ 3556388 ] Mathjax does not work with rst2s5.
125 * docutils/writers/s5_html/docutils_xml.py
127 - Fix [ 3552403 ] Prevent broken PyXML replacing stdlibs xml module.
131 - Tag ``math.css`` stylesheet as data file (patch by Dmitry Shachnev).
133 * tools/test/test_buildhtml.py
135 - Fix [ 3521167 ] allow running in any directory.
136 - Fix [ 3521168 ] allow running with Python 3.
139 Release 0.9.1 (2012-06-17)
140 ==========================
144 - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
145 installed in the PYTHONPATH. Converted tests are now
146 stored in ``test3/``, tools no longer need conversion.
148 If you installed one of Docutils versions 0.7 ... 0.9 with
149 ``setup.py install`` under Python 3, remove the spurious
150 ``test/`` and ``tools/`` directories in the site library root.
154 - Make tests independent from the location of the ``test/`` directory.
155 - Use converted sources (from the ``build/`` directory) for tests under
160 - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
164 - Fix writing binary data to sys.stdout under Python 3 (allows
165 ``rst2odt.py`` to be used with output redirection).
167 * docutils/parsers/rst/directives/misc.py
169 - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
170 ``locale == C`` and 8-bit char in path argument of `include` directive.
174 - class `Tee`: catch UnicodeError when writing to "ascii" stream or
177 Release 0.9 (2012-05-02)
178 ========================
182 - New reStructuredText "code" role and directive and "code" option
183 of the "include" directive with syntax highlighting by Pygments_.
184 - Fix parse_option_marker for option arguments containing ``=``.
185 - Fix [ 2993756 ]: import Python Imaging Library's Image module
186 via ``import PIL`` as starting with PIL 1.2,
187 "PIL lives in the PIL namespace only" (announcement__).
189 .. _Pygments: http://pygments.org/
190 __ http://mail.python.org/pipermail/image-sig/2011-January/006650.html
194 - Fix [ 2971827 ] and [ 3442827 ]
195 extras/roman.py moved to docutils/utils/roman.py
197 * docutils/frontend.py
199 - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
203 - Fix [ 3395948 ] (Work around encoding problems in Py3k).
204 - `mode` argument for FileOutput avoids code replication in
206 - New exceptions InputError and OutputError for IO errors in
207 FileInput/FileOutput.
211 - No "hard" system exit on file IO errors: catch and report them in
212 `Publisher.reportException` instead. Allows handling by a calling
213 application if the configuration setting `traceback` is True.
215 * docutils/utils.py -> docutils/utils/__init__.py
217 - docutils.utils is now a package (providing a place for sub-modules)
219 .. note:: docutils/math, docutils/error_reporting.py, and
220 docutils/urischemes.py will move to the utils package in the next
221 release, too. See RELEASE-NOTES__
223 __ RELEASE-NOTES.html
225 - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
226 errors recording non-ASCII filenames (fixes [ 3434355 ]).
228 - Fix relative_path() with source=None and `unicode` target.
230 * docutils/parsers/rst/states.py
232 - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
233 characters and "international" quotes around inline markup.
234 - Use `field_marker` pattern to look for start of a
235 directive option block (fixes [ 3484857 ]).
237 * docutils/parsers/rst/tableparser.py
239 - Fix [ 2926161 ] for simple tables.
240 (Combining chars in grid tables still contribute to cell width.)
242 * docutils/writers/latex2e/__init__.py
244 - Support the `abbreviation` and `acronym` standard roles.
245 - Record only files required to generate the LaTeX source as dependencies.
246 - Fix handling of missing stylesheets.
247 - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
248 when suppressing LaTeX section numbering.
249 - Use ``\DUtitle`` for unsupported section levels
250 - Apply [ 3512791 ] do not compare string literals with "is"
252 * docutils/writers/xetex/__init__.py
254 - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
256 * docutils/writers/html4css1/__init__.py
258 - Change default for `math-output` setting to MathJax.
259 - Fix handling of missing stylesheets.
261 * docutils/writers/docutils_xml.py
263 - Use the visitor pattern with default_visit()/default_depart() methods
264 instead of minidom to facilitate special handling of selected nodes.
265 - Support raw XML (inserted as-is inside a <raw></raw> node).
267 * docutils/writers/manpage.py
269 - Do not emit comment line with trailing blank. Problematic for VCS.
271 Release 0.8.1 (2011-08-30)
272 ==========================
276 - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
277 and [ 3395920 ] (correct copyright info for rst.el).
281 - Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
283 * docutils/writers/latex2e/__init__.py
285 - Clean up Babel language setting. Restores Sphinx compatibility.
287 Release 0.8 (2011-07-07)
288 ========================
292 - Handle language codes according to `BCP 47`_.
293 - If the specified language is not supported by Docutils,
294 warn and fall back to English.
295 - Math support: reStructuredText "math" role and directive,
296 ``math`` and ``math_block`` doctree elements.
297 - Decode command line arguments with the locale's preferred encoding
298 (to allow, e.g., ``--title=Dornröschen``).
299 - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
300 - New sub-module `error_reporting`: handle encoding/decoding errors
301 when reporting exceptions.
302 - Some additions to the Docutils core are released under the 2-Clause BSD
303 license, see COPYING_ for details.
305 .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
306 .. _COPYING: COPYING.html
310 - Most directives now support a "name" option that attaches a
313 - Directive content may start on the first line also when the directive
314 type accepts options.
316 * docs/dev/policies.txt:
318 - Recommend the 2-Clause BSD license
319 (http://www.spdx.org/licenses/BSD-2-Clause)
320 for code that is kept under the author's copyright.
322 * tools/buildhtml.py:
324 - Fix ``--local`` switch.
326 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
328 * docutils/writers/html4css1/__init__.py
330 - Set "lang" argument for objects with class argument
331 "language-<language tag>".
332 - New setting "math-output" with support for HTML, MathML, and LaTeX.
334 * docutils/writers/latex2e/__init__.py
336 - Fix [ 3043986 ] AttributeError using :local: with table of content.
337 - Place title data in the document preamble.
338 - Load `babel` package only if required.
339 - Update list of supported languages.
340 - New config setting "hyperref-options".
341 No hard-coded "unicode" hyperref option (clash with xetex).
342 - Set language for custom roles, paragraphs, block-quotes, and
343 line-quotes with class argument "language-<language tag>".
344 - Fix [ 3095603 ] wrong quotes output for russian and other languages.
345 - Convert image URI to a local file path.
346 - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
347 has more than one paragraph (Wolfgang Scherer).
348 - \leavevmode before longtable only when needed (prevents spurious vspace)
349 - do not advance table counter for tables without caption
351 * docutils/writers/xetex/__init__.py
353 - New writer generating LaTeX code for compiling with ``xelatex``.
355 A separate writer (inheriting from latex2e) instead of a ``--xetex``
356 option allows separate config options for XeTeX vs. LaTeX2e.
358 * docutils/writers/manpage.py
360 - Fix: BUG#3219183 - vertical space in definition lists containing markup.
361 - Fix: vertical space cleaning for option group ``.``.
363 * tools/editors/emacs/rst.el:
365 - Fix [ 3001100 ] does not handle spaces in filenames
366 (thanks to Jakub Wilk)
370 - strip whitespace from stylesheet arguments
371 - exclude combining chars from column_width()
372 (partial fix for [ 2926161 ])
374 * docutils/parsers/rst/directives/misc.py:
376 - Fix [ 1830389 ] Replace not breaking on getting system_messages from
381 - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
382 ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
384 Release 0.7 (2010-07-07)
385 ========================
389 - Fix [ 2881769 ] setup configuration.
390 - Fix [ 2788716 ] reporting problems in included files.
394 - FileInput opens files as text files with universal newline support
395 (mode "rU", configurable with the new optional argument "mode").
399 - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
403 - Fix [ 2923723 ] let decode_path() tolerate path == None
405 * docutils/writers/html4css1/__init__.py
407 - Support SVG and SWF images (thanks to Stefan Rank).
408 - Generate valid XHTML for centered images with targets.
409 Use CSS classes instead of "align" tags for image alignment.
411 * docutils/writers/latex2e/__init__.py
413 - Use `transforms.writer_aux.Admonitions` to "normalize" special
415 - Use the ``\url`` command for URLs (breaks long URLs instead of
416 writing into the margin).
417 - Preserve runs of spaces in `inline literals`__.
418 - Deprecate ``figure_footnotes`` setting.
419 - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
420 - New ``latex_preamble`` setting.
421 - Use PDF standard fonts (Times/Helvetica/Courier) as default.
422 - Fix hyperlink targets (labels) for images, figures, and tables.
423 - Apply [ 2961988 ] Load babel after inputenc and fontenc.
424 - Apply [ 2961991 ] Call hyperref with unicode option.
425 - Drop the special `output_encoding`__ default ("latin-1").
426 The Docutils wide default (usually "UTF-8") is used instead.
427 - Render inline markup in document title and subtitle.
428 - Fix numbering depth with LaTeX section numbering.
429 - Update Unicode -> LaTeX translations.
430 - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
432 __ docs/ref/restructuredtext.html#inline-literals
433 __ docs/user/config.html#docutils-footnotes
434 __ docs/user/config.html#output_encoding
436 * docutils/writers/manpage.py
438 - Fix: supported attribute (thanks to peter2108).
439 - Remove trailing blanks in code (keep in sync with mercurial version).
440 - Titles level 1, that is ``.SH``, always uppercase.
441 - Apply patch from mg: literal text should be bold in man-pages.
445 - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
450 - Python 3 support: copy test/ and tools/ to the build-dir
451 and convert Python sources with 2to3.
454 Release 0.6 (2009-10-11)
455 ========================
459 - Docutils is now compatible with Python versions from 2.3 up to 2.6
460 and convertible to 3.1 code.
462 + Node.__nonzero__ returns True instead of 1.
463 + use os.walk instead os.path.walk.
464 + minimize "types" module where possible.
465 + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
466 + Text nodes now subclass unicode rather than UserString
467 (which is gone in python 3.0).
468 + 3.0 compatibility module docutils._compat
470 + Drop 2.2 compatibility workarounds.
471 + Drop extras/optparse.py and extras/textwrap.py
472 (stdlib modules since 2.3).
474 - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
475 - Unix man page export: manpage writer moved from sandbox to Doctutils
478 - Apply [ 1719345 ] Galician translation
479 - Apply [ 1905741 ] Polish translation
480 - Apply [ 1878977 ] make_id(): deaccent characters.
481 - Apply [ 2029251 ] return nonzero when tests fail.
482 - Fix [ 1692788 ] allow UTF-8 in style sheets.
483 - Fix [ 2781629 ] support non-ASCII chars in file names.
484 - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
485 - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
486 - Fix [ 2821266 ] --strict option works now like --halt=info.
487 - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
488 - Fix [ 1627229 ] hyperlink references in substitutions.
490 - The "newlatex" writer is orphaned.
494 - Documented Unicode characters allowed as inline markup openers,
495 closers, and delimiters.
496 - Allow units for all length specifications.
497 - Allow percent sign in "scale" argument of "figure" and "image" directives.
498 - Bugfix: The "figalign" argument of a figure now works as intended
499 (aligning the figure, not its contents).
500 - Align images with class "align-[right|center|left]"
501 (allows setting the alignment of an image in a figure).
505 - Added ``Element.__contains__`` method, for the in-operator.
507 * docutils/parsers/rst/states.py:
509 - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
510 - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
511 " " (non-breaking space), and "¡ ¿" openers.
513 * docutils/parsers/directives/misc.py:
515 - Added ``start-line`` and ``end-line`` options to "include"
516 directive to select a range of lines.
517 - Hard tabs in literal inclusions are replaced by spaces. This is
518 configurable via the new ``tab-width`` option of the "include" directive
519 (a negative tab-width prevents tab expansion).
523 - Add ``get_stylesheet_list`` function.
524 - Apply [ 2834836 ] print info at halt
526 * docutils/transforms/universal.py:
528 - Raise default priority of StripClasses to exclude stripped classes from
531 * docutils/writers/html4css1/__init__.py:
533 - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
534 separated list of stylesheets.
535 - Address [ 1938891 ] Inline literal text creates "pre" span only when
536 needed to prevent inter-word line wraps.
537 - Use `translate` method instead of repeated `replace` calls.
538 - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
539 classes to allow CSS styling that does not interfere with other
540 table-using constructs (field lists, citations, ...).
542 * docutils/writers/newlatex2e/__init__.py:
544 - Apply [ 1612821 ] Double quotes in literal text in Italian/German
546 * docutils/writers/latex2e/__init__.py (see also
547 `<docs/user/docutils-05-compat.sty.html>`__) :
549 - Add ``--embed-stylesheet`` option.
550 - Apply [ 1474017 ] image vertical alignment is reversed.
551 - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
552 - Change: has_key for dictionaries (not Nodes) to in-operator.
553 - Merge adjacent citations into one latex cite command.
554 - Failsave implementation of custom roles. LaTeX compilation now ignores
555 unknown classes instead of aborting with an error.
556 - Support custom roles based on standard roles.
557 - LaTeX packages can be used as ``--stylesheet`` arguments without
558 restriction. (A style sheet is now referenced with the ``\usepackage``
559 command, if it ends with ``.sty`` or has no extension.)
560 - Add ``bp`` to lenghts without unit (prevents LaTex errors).
561 - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
562 - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
563 2005-02-04 as a configurable length unit).
564 - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
565 if font-encoding is set to ''. LaTeX defaults to OT1 then.
566 - Set sub- and superscript role argument in text mode not as math.
567 Use a custom role based on sub-/superscript if you want italic shape.
568 - Shorter preamble and less dependencies: Load packages and define macros
569 only if required in the document.
570 - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
571 - New custom environments and commands with optional "classes" argument.
572 - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
573 - Better conformance to Docutils specifications with ``--use-latex-toc``.
574 Support for LaTeX generated ToC also with unnumbered sections.
575 - If 'sectnum_xform' is False, the 'sectnum' directive triggers
576 section numbering by LaTeX.
577 - Use default font in admonitions and sidebar.
578 - Align of image in a figure defaults to 'center'.
579 - Bugfix: Newlines around targets and references prevent run-together
581 - Fix internal hyperlinks.
582 - Use class defaults for page margins ('typearea' now optional).
583 - Float placement made configurable, default changed to "here definitely".
584 - Typeset generic topic as "quote block with title".
585 - Use template (file and configuration option).
586 - In the default template, load cmap.sty (fix text extraction in PDF) and
587 fixltx2e.sty (LaTeX patches, \textsubscript).
588 - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
589 - Use `translate` instead of repeated `replace` calls for text encoding.
590 - Hyperlinked footnotes and support for symbol footnotes and
591 ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
592 - Complete pairs of binary options
593 (``--figure-footnotes, --figure-citations, --link-stylesheet``,
594 ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
596 - font-encoding: "T1" (formerly implicitely set by 'ae').
597 - use-latex-toc: true (ToC with page numbers).
598 - use-latex-footnotes: true (no mixup with figures).
600 * docutils/writers/manpage.py
602 - Do not print version at document end, this is done by the viewer.
603 - Do not print date at document end, this is done by the viewer.
604 - Fix storage of docinfo fields for none standard fields.
606 * docutils/tools/rst2man.py
608 Release 0.5 (2008-06-25)
609 ========================
611 * docutils/languages/he.py: Added to project: Hebrew mappings by
614 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
615 mappings by Meir Kriheli.
617 * docutils/frontend.py:
619 - Configuration files are now assumed and required to be
621 - Paths of applied configuration files are now recorded in the
622 runtime setting ``_config_files`` (accessible via
623 ``--dump-settings``).
624 - Added ``--strip-elements-with-class`` and ``--strip-class``
625 options (``strip_elements_with_classes`` and ``strip_classes``
630 - Added code to determine the input encoding from data: encoding
631 declarations or the presence of byte order marks (UTF-8 & UTF-16).
632 - Added support for IronPython 1.0.
636 - Added ``document.__getstate__`` method, for pickling.
638 * docutils/parsers/rst/states.py:
640 - Allow ``+`` and ``:`` in reference names.
641 - Unquoted targets beginning with an underscore (``.. __target:
642 URI``) are no longer accepted.
643 - Added support for multiple attributions in a physical block quote
644 (indented text block), dividing it into multiple logical block
646 - Added support for unicode bullets in bullet lists: "•", "‣", and
648 - Added support for new object-oriented directive interface,
649 retaining compatibility to the old functional interface.
650 - Added support for throwing ``DirectiveError``'s from within
653 * docutils/parsers/rst/__init__.py:
655 - Added ``Directive`` base class.
656 - Added ``DirectiveError`` base class.
657 - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
660 * docutils/parsers/directives/:
662 - Refactored all reStructuredText directives to use the new
663 object-oriented directive interface. Errors are now (mostly)
664 thrown using the new ``DirectiveError`` class.
666 * docutils/parsers/directives/misc.py:
668 - Added ``start-after`` and ``end-before`` options to ``include``
669 directive; thanks to Stefan Rank.
671 * docutils/transforms/universal.py:
673 - Added ``StripClassesAndElements`` transform to remove from the
674 document tree all elements with classes in
675 ``settings.strip_elements_with_classes`` and all "classes"
676 attribute values in ``self.document.settings.strip_classes``.
678 * docutils/transforms/writer_aux.py:
680 - Added ``Admonitions`` transform to transform specific admonitions
681 (like ``note``, ``warning``, etc.) into generic admonitions with a
684 * docutils/writers/html4css1/__init__.py:
686 - Moved template functionality from the PEP/HTML writer here.
687 - Expanded the fragments available in the ``parts`` attribute.
688 - Moved ``id`` attributes from titles to surrounding ``div``
690 - Dropped all ``name`` attributes of ``a`` elements (``id`` is
691 universally supported now).
692 - ``template.txt`` is now opened in text mode instead of binary mode
693 (to ensure Windows compatibility).
694 - ``a`` elements now have an "internal" or "external" class,
695 depending on reference type.
697 * docutils/writers/html4css1/template.txt: Added to project.
699 * docutils/writers/pep_html/:
701 - Moved template functionality to the HTML writer.
703 * docutils/writers/s5_html/__init__.py:
705 - Added ``view_mode`` & ``hidden_controls`` settings
706 (``--view-mode`` & ``--hidden-controls/--visible-controls``
709 * docutils/writers/latex2e/__init__.py:
711 - Add ``--literal-block-env``
712 - Fix: escaping ``%`` in href urls.
713 - Move usepackage hyperref after stylesheet inclusion.
714 - Fix: scrartcl does not have chapter but scrreprt.
715 - Add newline after ``\end{verbatim}``.
716 - Merge smaller differences from latex2e_adaptive_preamble.
717 - Add ``use-part-section``.
718 - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
719 - Using leavemode option_list no longer needs to check if parent
720 is a definition list.
721 - Append ``\leavemode`` to definition list terms.
722 - No longer write visit\_/depart_definition_list_item comments to
724 - Table column width with 3 decimal places.
725 - Add table stubs support (boldfont).
726 - Add assemble_parts to writer.
727 - Add simply support for nested tables.
728 - Fix verbatim in tables if use-verbatim-when-possible.
729 - Use section commands down to subparagraph.
730 - Put ensuremath around some latin1 chars.
731 - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
732 - New option ``--use-bibtex=style,db1,db2``.
733 - New option ``--reference-label`` to allow usage of LaTeX ref for
734 labels in section references.
735 - Add a label after every section to support sectionnumbers as reference
737 - Fix: bug# 1605376 rst2latex: bad options group list
738 - Remove inactive code for use_optionlist_for_option_list.
739 - Remove latex comments from option_list output.
740 - Fix: bug# 1612270 double qoutes in italian literal.
741 - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
742 - Add option --use-latex-abstract.
743 - Image width unit ``px`` is translated to ``pt``.
744 - Add image height support.
745 - Fix: image width ``70%`` is converted ``0.700\linewidth``.
747 - Fix: Do not escape underscores in citation reference labels if
748 use-latex-citations is set.
749 - Use centering instead of center for figure contents, to avoid vertical
751 - Recognize table class: borderless, nolines, booktabs, standard.
752 - Fix: Renaming contents section does not work with latex writer; SF
754 - Applied patch for custom roles with classes from Edward Loper.
755 - Fixed bug that caused crashes with more than 256 lists.
757 * docutils/writers/pep_html/__init__.py:
759 - Changed to support new python.org website structure and
762 * docs/howto/security.txt: "Deploying Docutils Securely", added to
765 * tools/buildhtml.py:
767 -- Added ``ignore`` setting to exclude a list of shell patterns
768 (default: ``.svn:CVS``).
770 * tools/editors/emacs/rst.el:
772 - Changed license to "GPL".
773 - Added ``rst-straighten-decorations`` function.
774 - The ``compile`` module is now always loaded.
775 - Added ``rst-toggle-line-block`` function.
776 - Headings consisting only of non-ASCII characters are now
777 recognized by ``rst-toc`` and ``rst-adjust``.
778 - Added font-lock support for multi-line comments where the first
779 comment line is empty.
780 - Added ``(require 'font-lock)``.
784 - Provide descriptive error message if distutils is missing.
787 Release 0.4 (2006-01-09)
788 ========================
792 - Updated the project policies for trunk/branch development &
795 * docutils/__init__.py:
797 - Added ``__version_details__`` attribute to describe code source
798 (repository/snapshot/release).
799 - Replaced ``default_transforms`` attribute of TransformSpec with
800 ``get_transforms()`` method.
804 - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
805 functions, for document tree extraction and reprocessing.
809 - Added ``DocTreeInput`` class, for reprocessing existing documents.
810 - Added support for non-Unicode (e.g. binary) writer output.
814 - Re-introduced ``Targetable.indirect_reference_name``, for
815 MoinMoin/reST compatibility (removed in r3124/r3129).
816 - Added ``serial_escape`` function; escapes string values that are
817 elements of a list, for serialization. Modified Docutils-XML
818 writing (``Element._dom_node``) and pseudo-XML writing
819 (``Element.starttag``) to use ``serial_escape``.
820 - Added ``Node.deepcopy()`` method.
821 - Removed the internal lists ``document.substitution_refs``,
822 ``document.anonymous_refs``, and ``document.anonymous_targets``.
823 - Added a "container" element.
824 - Fixed bug where values of list-valued attributes of elements
825 originating from custom interpreted text roles (i.e., with custom
826 classes) were being shared between element instances. Reported by
829 * docutils/statemachine.py:
831 - Added trailing whitespace stripping to ``string2lines()``.
832 - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
833 Asian double-width character support.
837 - Added ``east_asian_column_width()`` for double-width character
840 * docutils/languages/ja.py: Added to project: Japanese mappings by
843 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
844 mappings by Panjunyong.
846 * docutils/parsers/null.py: Added to project; a do-nothing parser.
848 * docutils/parsers/rst/__init__.py:
850 - Added validator to tab_width setting, with test. Closes SF bug
851 #1212515, report from Wu Wei.
853 * docutils/parsers/rst/states.py:
855 - Fixed bug with escaped colons indicating a literal block.
856 - Fixed bug with enumerated lists (SF#1254145).
857 - Backslash-escaped colons inside of field names are now allowed.
858 - Targets (implicit and explicit), anonymous hyperlink references
859 and auto-numbered footnote references inside of substitution
860 definitions are now disallowed.
861 - Fixed bug: list items with blank first lines.
862 - Fixed bug: block quote attributions with indented second lines.
863 - Added East Asian double-width character support (Python 2.4 only).
865 * docutils/parsers/rst/tableparser.py:
867 - Added East Asian double-width character support (Python 2.4 only).
869 * docutils/parsers/rst/directives/body.py:
871 - Added the "container" directive.
873 * docutils/parsers/rst/directives/misc.py:
875 - Added the "default-role", "title", and "date" directives.
876 - Added standard data file syntax to the "include" directive.
877 - Added support for "class" directive content.
879 * docutils/parsers/rst/directives/images.py:
881 - Added ``indirect_reference_name`` support for images with a target
883 - Added support for image width and height units.
884 - Fixed bug with image "target" options.
886 * docutils/parsers/rst/directives/references.py:
888 - Added "class" attribute to "target-notes" directive, for
889 footnote_reference classes.
891 * docutils/parsers/rst/include/: Directory added to project; contains
892 standard data files for the "include" directive. Initial contents:
893 character entity substitution definition sets, and a set of
894 definitions for S5/HTML presentations.
896 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
897 mappings by David Goodger.
899 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
900 Simplified Chinese mappings by Panjunyong.
902 * docutils/readers/__init__.py:
904 - Added universal.Decorations and universal.ExposeInternals
905 transforms as default transforms for all readers.
906 - Added ``ReReader`` base class for readers that reread an existing
909 * docutils/readers/doctree.py: Added to project; a reader for existing
912 * docutils/transforms/frontmatter.py:
914 - Fixed the DocInfo transform to handle SVN-style expansion of the
916 - In ``DocInfo.extract_authors``, treat the contents of "authors"
919 * docutils/transforms/misc.py:
921 - Added misc.Transitions transform, extracted from
922 universal.FinalChecks.
924 * docutils/transforms/references.py:
926 - Added references.DanglingReferences transform, extracted from
927 universal.FinalChecks.
928 - Fixed bug with doubly-indirect substitutions.
929 - Added footnote_reference classes attribute to "TargetNotes".
930 - Fixed bug with circular substitution definitions that put Docutils
931 into an infinite loop.
933 * docutils/transforms/universal.py:
935 - Added universal.ExposeInternals transform, extracted from
936 universal.FinalChecks.
937 - Removed universal.FinalChecks transform (logic has been moved to
938 several new transforms).
939 - Fixed bug with the "expose_internals" setting and Text nodes
940 (exposed by the "rawsource" internal attribute).
941 - Added the universal.StripComments transform, implementation of the
942 "strip_comments" setting.
944 * docutils/transforms/writer_aux.py: Added to project; auxiliary
945 transforms for writers.
947 - Added ``Compound`` transform, which flattens compound paragraphs.
949 * docutils/writers/: Several writer modules (html4css1.py) were
950 converted into packages. Support modules and data files have been
951 moved into the packages. The stylesheets for the HTML writers are
952 now installed along with the code, the code knows where to find
953 them, and the default is to use them (actually, to embed them).
954 Some adjustments to configuration files may be necessary. The
955 easiest way to obtain the new default behavior is to remove all
956 settings whose name includes "stylesheet".
958 * docutils/writers/__init__.py:
960 - Added universal.Messages and universal.FilterMessages transforms
961 as default transforms for all writers.
962 - Added ``UnfilteredWriter`` base class for writers that pass the
963 document tree on unchanged.
965 * docutils/writers/docutils_xml.py:
967 - Made ``xmlcharrefreplace`` the default output encoding error
970 * docutils/writers/html4css1/:
972 - Added support for image width and height units.
973 - Made ``xmlcharrefreplace`` the default output encoding error
975 - Made ``--embed-stylesheet`` the default rather than
976 ``--link-stylesheet``.
977 - Moved "id" attribute from container (section etc.) to title's <a>
978 tag, to be on the same tag as "name".
979 (!!! To be reverted in Docutils 0.5.)
980 - Added vertical space between fields of field lists.
981 - Added ``--compact-field-lists`` option to remove vertical space in
983 - Made cloaking of email addresses with ``--cloak-email-addresses``
985 - Fixed support for centered images.
986 - Added support for class="compact" & class="open" lists.
988 * docutils/writers/latex2e/:
990 - Underscores in citekeys are no longer escaped.
992 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
993 mapping of Unicode characters to LaTeX equivalents.
995 * docutils/writers/s5_html/: Package added to project; writer for
998 * docs/dev/distributing.txt: Added to project; guide for distributors
999 (package maintainers).
1001 * docs/dev/hacking.txt: Added to project; guide for developers.
1003 * docs/ref/doctree.txt:
1005 - Updated for plural attributes "classes", "ids", "names",
1007 - Added the "container" element.
1009 * docs/ref/docutils.dtd:
1011 - Updated for plural attributes "classes", "ids", "names",
1014 * docs/user/emacs.txt: Added to project; a document about Emacs
1015 support for reStructuredText and Docutils.
1017 * docs/user/links.txt: Added to project; lists of Docutils-related
1020 * docs/user/mailing-lists.txt: Added to project; information about
1021 Docutils-related mailing lists and how to access them.
1023 * docs/user/slide-shows.txt: Added to project; example of and docs for
1024 the S5/HTML writer (``rst2s5.py`` front end).
1026 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
1027 Files", added to project.
1029 * test/coverage.sh: Added to project; test coverage script.
1031 * test/DocutilsTestSupport.py:
1033 - Added support for specifying runtime settings at the suite level.
1035 * test/test_functional.py:
1037 - Added the ``clear_output_directory`` function.
1038 - Added support for ``_test_more`` functions in functional test
1041 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
1043 * tools/rstpep2html.py: Renamed from pep.py.
1045 * tools/dev/create_unimap.py: Added to project; script to create the
1046 docutils/writers/unimap_latex.py mapping file.
1048 * tools/dev/profile_docutils.py: Added to project; profiler script.
1050 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
1052 * tools/editors/emacs/restructuredtext.el,
1053 tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
1054 Removed from project; the functionality is now contained in rst.el.
1056 * tools/editors/emacs/rst.el: Added to project. Added many features
1057 and fixed many bugs. See docs/user/emacs.txt for details.
1059 * tools/stylesheets: Removed from project. Stylesheets have been
1060 renamed and moved into writer packages.
1063 Release 0.3.9 (2005-05-26)
1064 ==========================
1068 - Eliminated and replaced all uses of the old string attributes
1069 ``id``, ``name``, ``dupname`` and ``class`` with references to the
1070 new list attributes ``ids``, ``names``, ``dupnames`` and
1071 ``classes`` throughout the whole source tree.
1075 - Enabled ``--dump-*`` options when ``--traceback`` specified,
1076 allowing for easier debugging.
1077 - In ``Publisher.publish()``, expanded the generic top-level
1080 * docutils/examples.py:
1082 - Added ``internals`` function for exploration.
1086 - Fixed ``Input.decode`` method to apply heuristics only if no
1087 encoding is explicitly given, and to provide better reporting of
1089 - The ``Input.decode`` method now removes byte order marks (BOMs)
1092 * docutils/nodes.py:
1094 - ``image`` element class changed to subclass of Element, not
1095 TextElement (it's an empty element, and cannot contain text).
1096 - Added ``attr_defaults`` dictionary for default attribute values.
1097 - Added empty list as default value for the following attributes:
1098 ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
1099 - Added ``document.decoration`` attribute,
1100 ``document.get_decoration`` method, and ``decoration.get_header``
1101 & ``.get_footer`` methods.
1102 - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
1105 * docutils/utils.py:
1107 - Removed ``docutils.utils.Reporter.categories``,
1108 ``docutils.utils.ConditionSet``, and all references to them, to
1109 simplify error reporting.
1111 * docutils/languages/nl.py: Added to project; Dutch mappings by
1114 * docutils/parsers/rst/__init__.py:
1116 - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
1118 * docutils/parsers/rst/states.py:
1120 - Added check for escaped at-mark to prevent email address recognition.
1121 - Fixed option lists to allow spaces inside ``<angle-bracketed option
1123 - Allowed whitespace in paths and URLs.
1124 - Added auto-enumerated list items.
1125 - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
1127 - Added support for table stub columns.
1129 * docutils/parsers/rst/directives/__init__.py:
1131 - Allowed whitespace in paths (``path`` function).
1132 - Added ``uri`` directive option conversion function.
1134 * docutils/parsers/rst/directives/body.py:
1136 - Fixed illegal context bug with "topic" directive (allowed within
1137 sidebars; not within body elements).
1139 * docutils/parsers/rst/directives/images.py:
1141 - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
1142 - Added support for the ``file_insertion_enabled`` setting in the
1143 "figure" directive (disables "figwidth" option).
1144 - "image" directive: added checks for valid values of "align" option,
1145 depending on context. "figure" directive: added specialized
1146 "align" option and attribute on "figure" element.
1147 - Made ":figwidth: image" option of "figure" directive work again.
1148 - Fixed bug with reference names containing uppercase letters
1149 (e.g. ``Name_``) in "target" option of "image" directive.
1151 * docutils/parsers/rst/directives/misc.py:
1153 - Fixed "include" and "raw" directives to catch text decoding
1155 - Allowed whitespace in "include" & "raw" directive paths.
1156 - Added support for ``file_insertion_enabled`` & ``raw_enabled``
1157 settings in "include" & "raw" directives.
1159 * docutils/parsers/rst/directives/parts.py:
1161 - Added "header" & "footer" directives.
1162 - Fixed illegal context bug with "contents" directive (topics
1163 allowed within sidebars; not within body elements).
1165 * docutils/parsers/rst/directives/tables.py:
1167 - Added "list-table" directive.
1168 - Caught empty CSV table bug.
1169 - Added support for the ``file_insertion_enabled`` setting in the
1170 "csv-table" directive.
1171 - Added ``stub-columns`` option to "csv-table" and "list-table"
1174 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1175 mappings by Martijn Pieters.
1177 * docutils/readers/standalone.py:
1179 - Added ``--section-subtitles`` and ``--no-section-subtitles``
1180 options to activate or deactivate the SectSubTitle transform.
1182 * docutils/transforms/frontmatter.py:
1184 - Added SectSubTitle transform to promote titles of lone
1185 subsections to subtitles.
1187 * docutils/transforms/references.py:
1189 - Fixed mislocated internal targets bug, by propagating internal
1190 targets to the next node, making use of the newly added support
1191 for multiple names and IDs.
1192 - Fixed duplicate footnote label bug.
1193 - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1196 * docutils/writers/html4css1.py:
1198 - Fixed unencoded stylesheet reference bug (characters like "&" in
1199 stylesheet references).
1200 - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1202 - Added support for multiple IDs per node by creating empty ``span``
1204 - Added the ``field_name_limit`` & ``option_limit`` settings &
1206 - Added support for table stub columns.
1207 - Added support for the ``align`` attribute on ``figure`` elements.
1208 - Added the ``cloak_email_addresses`` setting & support.
1209 - Added ``html_prolog``, ``html_head``, ``html_body``,
1210 ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1211 ``docutils.core.publish_parts``.
1212 - Added support for section subtitles.
1214 * docutils/writers/latex2e.py:
1216 - Fixed tables starting with more than one multirow cell.
1217 - Improved --use-latex-docinfo so that organization/contact/address
1218 fields are lumped with the last author field and appear on the
1220 - Made sure the titlepage is always shown with --use-latex-docinfo,
1221 even if the document has no title.
1222 - Made sure that latex doesn't fill in today's date if no date field
1224 - Added support for section subtitles.
1226 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1227 (under development).
1229 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1231 * docs/api/publisher.txt:
1233 - Added "``publish_parts`` Details" section.
1235 * docutils/dev/repository.txt: Added to project; information about the
1236 Docutils Subversion repository.
1238 * docs/ref/docutils.dtd:
1240 - Added a ``stub`` attribute to the ``colspec`` element via the
1241 ``tbl.colspec.att`` parameter entity.
1242 - Allowed topic elements within sidebars
1243 - Added an ``align`` attribute to the ``figure`` element.
1245 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1249 Release 0.3.7 (2004-12-24)
1250 ==========================
1252 * docutils/frontend.py:
1254 - Added options: --input-encoding-error-handler,
1255 --record-dependencies, --leave-footnote-reference-space,
1257 - Added command-line and config file support for "overrides" setting
1262 - Added support for input encoding error handler.
1264 * docutils/nodes.py:
1266 - Added dispatch_visit and dispatch_departure methods to
1267 NodeVisitor; useful as a hook for Visitors.
1268 - Changed structure of ``line_block``; added ``line``.
1269 - Added ``compound`` node class.
1270 - Added a mechanism for Visitors to transitionally ignore new node
1273 * docutils/utils.py:
1275 - Moved ``escape2null`` and ``unescape`` functions from
1276 docutils/parsers/rst/states.py.
1278 * docutils/parsers/rst/roles.py:
1281 - Changed role function API: the "text" parameter now takes
1282 null-escaped interpreted text content.
1284 * docutils/parsers/rst/states.py:
1286 - Fixed bug where a "role" directive in a nested parse would crash
1287 the parser; the state machine's "language" attribute was not being
1289 - Added support for line block syntax.
1290 - Fixed directive parsing bug: argument-less directives didn't
1291 notice that arguments were present.
1292 - Removed error checking for transitions.
1293 - Added support for multiple classifiers in definition list items.
1294 - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1295 - Changed role function API: the "text" parameter now takes
1296 null-escaped interpreted text content.
1297 - Empty sections and documents are allowed now.
1299 * docutils/parsers/rst/directives/__init__.py:
1301 - Added ``encoding`` directive option conversion function.
1302 - Allow multiple class names in class_option conversion function.
1304 * docutils/parsers/rst/directives/body.py:
1306 - Converted the line-block directive to use the new structure.
1307 - Extracted the old line-block functionality to the ``block``
1308 function (still used).
1309 - Added ``compound`` directive (thanks to Lea Wiemann).
1311 * docutils/parsers/rst/directives/misc.py:
1313 - Added "encoding" option to "include" and "raw" directives.
1314 - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1315 - Allow multiple class names in the "class" directive.
1317 * docutils/parsers/rst/directives/parts.py:
1319 - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1320 options. Thanks to Lele Gaifax.
1322 * docutils/parsers/rst/directives/tables.py:
1324 - Added "encoding" directive to "csv-table" directive.
1325 - Added workaround for lack of Unicode support in csv.py, for
1326 non-ASCII CSV input.
1328 * docutils/transforms/misc.py:
1330 - Fixed bug when multiple "class" directives are applied to a single
1332 - Enabled multiple format names for "raw" directive.
1334 * docutils/transforms/references.py:
1336 - Added support for trimming whitespace from beside substitution
1339 * docutils/transforms/universal.py:
1341 - FinalChecks now checks for illegal transitions and moves
1342 transitions between sections.
1344 * docutils/writers/html4css1.py:
1346 - HTMLTranslator.encode now converts U+00A0 to " ".
1347 - "stylesheet" and "stylesheet_path" settings are now mutually
1349 - Added support for the new line_block/line structure.
1350 - --footnote-references now overrides
1351 --trim-footnote-reference-space, if applicable.
1352 - Added support for ``compound`` elements.
1353 - Enabled multiple format names for "raw" directive.
1354 - ``<p>`` tags of a paragraph which is the only visible child of the
1355 document node are no longer stripped.
1356 - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1357 new method ``should_be_compact_paragraph()``.
1358 - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1360 - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1361 the output if they have their ``class`` attribute set.
1362 - The whole document is now surrounded by a ``<div
1363 class="document">`` element.
1364 - Body-level images are now wrapped by their own ``<div>`` elements,
1365 with image classes copied to the wrapper, and for images which
1366 have the ``:align:`` option set, the surrounding ``<div>`` now
1367 receives a class attribute (like ``class="align-left"``).
1369 * docutils/writers/latex2e.py:
1371 - no newline after depart_term.
1372 - Added translations for some Unicode quotes.
1373 - Added option "font-encoding", made package AE the default.
1374 - "stylesheet" and "stylesheet_path" settings are now mutually
1376 - --footnote-references now overrides
1377 --trim-footnote-reference-space, if applicable.
1378 - The footnote label style now matches the footnote reference style
1379 ("brackets" or "superscript").
1380 - Added support for ``compound`` elements.
1381 - Enabled multiple format names for "raw" directive.
1383 * docs/ref/docutils.dtd:
1385 - Changed structure of the ``line_block`` element; added ``line``.
1386 - Added ``compound`` element.
1387 - Added "ltrim" and "rtrim" attributes to
1388 ``substitution_definition`` element.
1389 - Enabled multiple format names for ``raw`` element.
1390 - Enabled multiple classifiers in ``definition_list_item`` elements.
1392 * docs/ref/rst/directives.txt
1394 - Marked "line-block" as deprecated.
1395 - "Class" directive now allows multiple class names.
1396 - Added "Rationale for Class Attribute Value Conversion".
1397 - Added warning about "raw" overuse/abuse.
1399 * docs/ref/rst/restructuredtext.txt:
1401 - Added syntax for line blocks.
1402 - Definition list items may have multiple classifiers.
1404 * docs/ref/rst/roles.txt:
1408 * tools/stylesheets/default.css:
1410 - Added support for the new line_block structure.
1411 - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1414 Release 0.3.5 (2004-07-29)
1415 ==========================
1419 * _`Documentation cleanup/reorganization`.
1421 - Created new subdirectories of docs/:
1423 * ``docs/user/``: introductory/tutorial material for end-users
1424 * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1425 * ``docs/api/``: API reference material for client-developers
1426 * ``docs/ref/``: reference material for all groups
1427 * ``docs/howto/``: for component-developers and core-developers
1428 * ``docs/peps/``: Python Enhancement Proposals
1430 - Moved ``docs/*`` to ``docs/user/``.
1431 - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1432 ``spec/`` to ``docs/dev``.
1433 - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1434 ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1435 - Moved ``alternatives.txt``, and ``problems.txt`` from
1436 ``spec/rst/`` to ``docs/dev/rst/``.
1437 - Moved ``reStructuredText.txt``, ``directives.txt``,
1438 ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1439 to ``docs/ref/rst/``. Renamed ``interpreted.txt`` to
1440 ``roles.txt``, ``reStructuredText.txt`` to
1441 ``restructuredtext.txt``.
1442 - Moved ``spec/howto/`` to ``docs/howto``.
1444 In order to keep the CVS history of moved files, we supplied
1445 SourceForge with a `script for modifying the Docutils CVS
1448 __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1450 After running the cleanup script:
1452 - Added ``docs/index.txt``.
1453 - Added a ``.htaccess`` file to the ``web`` module, containing
1454 redirects for all old paths to new paths. They'll preserve
1455 fragments (the "#name" part of a URL), and won't clutter up the
1456 file system, and will correct the URL in the user's browser.
1457 - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1458 ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1459 the "To Do" list itself in ``docs/dev/todo.txt``.
1460 - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1461 section of ``docs/dev/todo.txt``.
1462 - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1463 - Added "How To Report Bugs" to ``BUGS.txt``.
1464 - Went through all the sources and docs (including under web/) and
1465 updated links. Mostly done by Lea Wiemann; thanks Lea!
1466 (Still need to update links in the sandboxes.)
1470 * BUGS.txt: Added to project.
1472 * THANKS.txt: Added to project.
1474 * docutils/__init__.py:
1476 - 0.3.4: Post-release.
1480 - Added special error handling & advice for UnicodeEncodeError.
1481 - Refactored Publisher.publish (simplified exception handling &
1482 extracted debug dumps).
1483 - Renamed "enable_exit" parameter of convenience functions to
1484 "enable_exit_status".
1485 - Enabled traceback (exception propagation) by default in
1486 programmatic convenience functions.
1487 - Now publish_file and publish_cmdline convenience functions return
1488 the encoded string results in addition to their regular I/O.
1489 - Extracted common code from publish_file, publish_string, and
1490 publish_parts, into new publish_programmatically. Extracted
1491 settings code to ``Publisher.process_programmatic_settings``.
1492 - In Publisher.publish, disabled ``settings_overrides`` when
1493 ``settings`` is supplied; redundant.
1495 * docutils/frontend.py:
1497 - Added help text for "--output-encoding-error-handler" and
1498 "--error-encoding-error-handler".
1499 - Renamed "--exit" to "--exit-status".
1500 - Simplified default-setting code.
1502 * docutils/parsers/rst/__init__.py:
1504 - Added "--pep-base-url" and "--rfc-base-url" options.
1506 * docutils/parsers/rst/states.py:
1508 - Made URI recognition more aggressive and intelligent.
1510 * docutils/parsers/rst/directives/__init__.py:
1512 - Added several directive option conversion functions.
1514 * docutils/parsers/rst/directives/body.py:
1516 - Moved "table" directive to tables.py.
1518 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1521 * docutils/writers/latex2e.py:
1523 - Added "--table-style=(standard|booktabs|nolines)"
1524 - figures get "here" option (LaTeX per default puts them at bottom),
1525 and figure content is centered.
1526 - Rowspan support for tables.
1527 - Fix: admonition titles before first section.
1528 - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1529 - Replave ``_`` in literal by an underlined blank, because it has the correct
1531 - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1532 - A few unicode replacements, if output_encoding != utf
1533 - Add "--graphicx-option".
1534 - Indent literal-blocks.
1535 - Fix: omit ``\maketitle`` when there is no document title.
1537 * docs/index.txt: "Docutils Project Documentation Overview", added to
1540 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1541 Tool", added to project.
1543 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1545 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1547 * docs/dev/policies.txt: Added to project (extracted from
1548 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1550 * docs/dev/release.txt: Added to project (extracted from
1551 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1553 * docs/dev/testing.txt: Added to project.
1555 * docs/dev/website.txt: Added to project (extracted from
1556 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1558 * docs/ref/rst/directives.txt:
1560 - Added directives: "table", "csv-table".
1562 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1563 added to project. 1 page for syntax, and a 1 page reference for
1564 directives and roles. Source text to be used as-is; not meant to be
1567 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1568 with a change of title.
1570 * test/functional/, contents, and test/test_functional.py: Added to
1573 * tools/buildhtml.py: Fixed bug with config file handling.
1575 * tools/html.py: Removed from project (duplicate of rst2html.py).
1577 * tools/pep2html.py: Removed from project (duplicate of Python's
1578 nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1579 Docutils-related PEPs in docs/peps/).
1581 * tools/rst2pseudoxml.py: Renamed from publish.py.
1583 * tools/rst2xml.py: Renamed from docutils-xml.py.
1585 * tools/test.txt: Removed from project; moved to
1586 docs/user/rst/demo.txt.
1588 * setup.py: Now also installs ``rst2latex.py``.
1591 Release 0.3.3 (2004-05-09)
1592 ==========================
1594 * docutils/__init__.py:
1596 - 0.3.1: Reorganized config file format (multiple sections); see
1598 - Added unknown_reference_resolvers attribute to TransformSpec.
1599 - 0.3.2: Interpreted text reorganization.
1604 - Catch system messages to stop tracebacks from parsing errors.
1605 - Catch exceptions during processing report & exit without
1606 tracebacks, except when "--traceback" used.
1607 - Reordered components for OptionParser; application comes last.
1608 - Added "config_section" parameter to several methods and functions,
1609 allowing front ends to easily specify their config file sections.
1610 - Added publish_parts convenience function to allow access to individual
1611 parts of a document.
1613 * docutils/examples.py: Added to project; practical examples of
1614 Docutils client code, to be used as-is or as models for variations.
1616 * docutils/frontend.py:
1618 - Added "--traceback" & "--no-traceback" options ("traceback"
1620 - Implemented support for config file reorganization:
1621 ``standard_config_files`` moved from ``ConfigParser`` to
1622 ``OptionParser``; added
1623 ``OptionParser.get_config_file_settings()`` and
1624 ``.get_standard_config_settings()``; support for old "[options]"
1625 section (with deprecation warning) and mapping from old to new
1627 - Reimplemented setting validation.
1628 - Enabled flexible boolean values: yes/no, true/false, on/off.
1629 - Added ``Values``, a subclass of ``optparse.Values``, with support
1630 for list setting attributes.
1631 - Added support for new ``DOCUTILSCONFIG`` environment variable;
1632 thanks to Beni Cherniavsky.
1633 - Added "--no-section-numbering" option.
1637 - Catch IOErrors when opening source & destination files, report &
1638 exit without tracebacks. Added ``handle_io_errors`` parameter to
1639 ``FileInput`` & ``FileOutput`` to enable caller error handling.
1641 * docutils/nodes.py:
1643 - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1644 method definitions (via ``exec``) to dynamic assignments (via
1645 ``setattr``); thanks to Roman Suzi.
1646 - Encapsulated visitor dynamic assignments in a function; thanks to
1648 - Added indirect_reference_name attribute to the Targetable
1649 class. This attribute holds the whitespace_normalized_name
1650 (contains mixed case) of a target.
1652 * docutils/statemachine.py:
1654 - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1655 - Added ``StringList.get_2D_block``.
1657 * docutils/utils.py:
1659 - Added "level" attribute to SystemMessage exceptions.
1661 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1664 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1667 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1668 Marcelo Huerta San Martin.
1670 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1671 mappings by Lalo Martins.
1673 * docutils/languages/ru.py: Added to project; Russian mappings by
1676 * docutils/parsers/rst/roles.py: Added to project. Contains
1677 interpreted text role functions, a registry for interpreted text
1678 roles, and an API for adding to and retrieving from the registry.
1679 Contributed by Edward Loper.
1681 * docutils/parsers/rst/states.py:
1683 - Updated ``RSTState.nested_parse`` for "include" in table cells.
1684 - Allowed true em-dash character and "---" as block quote
1686 - Added support for <angle-bracketed> complex option arguments
1688 - Fixed handling of backslashes in substitution definitions.
1689 - Fixed off-by-1 error with extra whitespace after substitution
1690 definition directive.
1691 - Added inline markup parsing to field lists' field names.
1692 - Added support for quoted (and unindented) literal blocks.
1693 Driven in part by a bribe from Frank Siebenlist (thanks!).
1694 - Parser now handles escapes in URIs correctly.
1695 - Made embedded-URIs' reference text omittable. Idea from Beni
1697 - Refactored explicit target processing code.
1698 - Added name attribute to references containing the reference name only
1699 through whitespace_normalize_name (no case changes).
1700 - parse_target no longer returns the refname after going through
1701 normalize_name. This is now handled in make_target.
1702 - Fixed bug relating to role-less interpreted text in non-English
1704 - Reorganized interpreted text processing; moved code into the new
1705 roles.py module. Contributed by Edward Loper.
1706 - Refactored ``Body.parse_directive`` into ``run_directive`` and
1707 ``parse_directive_block``.
1709 * docutils/parsers/rst/tableparser.py:
1711 - Reworked for ``StringList``, to support "include" directives in
1714 * docutils/parsers/rst/directives/__init__.py:
1716 - Renamed ``unchanged()`` directive option conversion function to
1717 ``unchanged_required``, and added a new ``unchanged``.
1718 - Catch unicode value too high error; fixes bug 781766.
1719 - Beefed up directive error reporting.
1721 * docutils/parsers/rst/directives/body.py:
1723 - Added basic "table" directive.
1725 * docutils/parsers/rst/directives/images.py:
1727 - Added "target" option to "image" directive.
1728 - Added name attribute to references containing the reference name only
1729 through whitespace_normalize_name (no case changes).
1731 * docutils/parsers/rst/directives/misc.py:
1733 - Isolated the import of the ``urllib2`` module; was causing
1734 problems on SourceForge (``libssl.so.2`` unavailable?).
1735 - Added the "role" directive for declaring custom interpreted text
1738 * docutils/parsers/rst/directives/parts.py:
1740 - The "contents" directive does more work up-front, creating the
1741 "topic" and "title", and leaving the "pending" node for the
1742 transform. Allows earlier reference resolution; fixes subtle bug.
1744 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1745 mappings by Jannie Hofmeyr.
1747 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1748 mappings by Marek Blaha.
1750 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1751 mappings by Marcelo Huerta San Martin.
1753 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1754 Portuguese mappings by Lalo Martins.
1756 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1757 mappings by Roman Suzi.
1759 * docutils/transforms/parts.py:
1761 - The "contents" directive does more work up-front, creating the
1762 "topic" and "title", and leaving the "pending" node for the
1763 transform. Allows earlier reference resolution; fixes subtle bug.
1764 - Added support for disabling of section numbering.
1766 * docutils/transforms/references.py:
1768 - Verifying that external targets are truly targets and not indirect
1769 references. This is because we are now adding a "name" attribute to
1770 references in addition to targets. Note sure if this is correct!
1771 - Added code to hook into the unknown_reference_resolvers list for a
1772 transformer in resolve_indirect_target. This allows the
1773 unknown_reference_resolvers to keep around indirect targets which
1774 docutils doesn't know about.
1775 - Added specific error message for duplicate targets.
1777 * docutils/transforms/universal.py:
1779 - Added FilterMessages transform (removes system messages below the
1780 verbosity threshold).
1781 - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1782 to FinalCheckVisitor for application-specific handling of
1783 unresolvable references.
1784 - Added specific error message for duplicate targets.
1786 * docutils/writers/__init__.py:
1788 - Added assemble_parts method to the Writer class to allow for
1789 access to a documents individual parts.
1790 - Documented & set default for ``Writer.output`` attribute.
1792 * docutils/writers/html4css1.py:
1794 - Fixed unicode handling of attribute values (bug 760673).
1795 - Prevent duplication of "class" attribute values (bug report from
1797 - Improved table grid/border handling (prompted by report from Bob
1799 - Added support for table titles.
1800 - Added "<title />" for untitled docs, for XHTML conformance; thanks
1802 - Added functionality to keep track of individual parts of a document
1803 and store them in a dictionary as the "parts" attribute of the writer.
1804 Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1805 - Added proper support for the "scale" attribute of the "image"
1806 element. Contributed by Brent Cook.
1807 - Added ``--initial-header-level`` option.
1808 - Fixed bug: the body_pre_docinfo segment depended on there being a
1809 docinfo; if no docinfo, the document title was incorporated into
1810 the body segment. Adversely affected the publish_parts interface.
1812 * docutils/writers/latex2e.py:
1814 - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1815 about a missing file.
1816 - Added options and support: ``--compound-enumerators``,
1817 ``--section-prefix-for-enumerators``, and
1818 ``--section-enumerator-separator``. By John F Meinel Jr (SF patch
1820 - Added option ``--use-verbatim-when-possible``, to avoid
1821 problematic characters (eg, '~' in italian) in literal blocks.
1822 - It's now possible to use four section levels in the `book` and
1823 `report` LaTeX classes. The default `article` class still has
1826 * docs/config.txt: "Docutils Configuration Files", added to project.
1827 Moved config file entry descriptions from tools.txt.
1831 - Moved config file entry descriptions to config.txt.
1833 * spec/notes.txt: Continual updates. Added "Setting Up For Docutils
1836 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1837 Text Roles", added to project.
1839 * spec/rst/reStructuredText.txt:
1841 - Added description of support for <angle-bracketed> complex option
1842 arguments to option lists.
1843 - Added subsections for indented and quoted literal blocks.
1845 * test: Continually adding & updating tests.
1847 - Added test/test_settings.py & test/data/config_*.txt support
1849 - Added test/test_writers/test_htmlfragment.py.
1851 * test/DocutilsTestSupport.py:
1853 - Refactored LaTeX publisher test suite/case class names to make
1854 testing other writers easier.
1855 - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1856 to test the processing of HTML fragments which use the new
1857 publish_parts convenience function.
1859 * tools/buildhtml.py:
1861 - Added support for the "--prune" option.
1862 - Removed dependency on pep2html.py; plaintext PEPs no longer
1865 * tools/docutils.conf:
1867 - Updated for configuration file reorganization.
1869 * tools/rst2html.py:
1871 - copied from tools/html.py
1875 - added a 'scripts' section to configuration
1876 - added 'tools/rst2html.py' to the scripts section
1879 Release 0.3 (2003-06-24)
1880 ========================
1884 * Renamed "attribute" to "option" for directives/extensions.
1886 * Renamed transform method "transform" to "apply".
1888 * Renamed "options" to "settings" for runtime settings (as set by
1889 command-line options). Sometimes "option" (singular) became
1890 "settings" (plural). Some variations below:
1892 - document.options -> document.settings (stored in other objects as
1894 - option_spec -> settings_spec (not directives though)
1895 - OptionSpec -> SettingsSpec
1896 - cmdline_options -> settings_spec
1897 - relative_path_options -> relative_path_settings
1898 - option_default_overrides -> settings_default_overrides
1899 - Publisher.set_options -> Publisher.get_settings
1903 * COPYING.txt: Added "Public Domain Dedication".
1905 * FAQ.txt: Frequently asked questions, added to project.
1909 - Updated with PyPI Trove classifiers.
1910 - Conditional installation of third-party modules.
1912 * docutils/__init__.py:
1914 - Bumped version to 0.2.1 to reflect changes to I/O classes.
1915 - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1916 - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1917 - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1918 option and its effect on the PEP template & writer.
1919 - Bumped version to 0.2.4 due to changes to the PEP template &
1921 - Bumped version to 0.2.5 to reflect changes to Reporter output.
1922 - Added ``TransformSpec`` class for new transform system.
1923 - Bumped version to 0.2.6 for API changes (renaming).
1924 - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1925 convenience functions.
1926 - Added ``Component.component_type`` attribute.
1927 - Bumped version to 0.2.8 because of the internal parser switch from
1928 plain lists to the docutils.statemachine.StringList objects.
1929 - Bumped version to 0.2.9 because of the frontend.py API changes.
1930 - Bumped version to 0.2.10 due to changes to the project layout
1931 (third-party modules removed from the "docutils" package), and
1932 signature changes in ``io.Input``/``io.Output``.
1933 - Changed version to 0.3.0 for release.
1937 - Made ``publish()`` a bit more convenient.
1938 - Generalized ``Publisher.set_io``.
1939 - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1940 parameters; improved its docstring.
1941 - Added ``publish_file()`` and ``publish_string()``.
1942 - Factored ``Publisher.set_source()`` and ``.set_destination()``
1944 - Added support for "--dump-pseudo-xml", "--dump-settings", and
1945 "--dump-transforms" hidden options.
1946 - Added ``Publisher.apply_transforms()`` method.
1947 - Added ``Publisher.set_components()`` method; support for
1948 ``publish_*()`` conveninece functions.
1949 - Moved config file processing to docutils/frontend.py.
1950 - Added support for exit status ("exit_level" setting &
1951 ``enable_exit`` parameter for Publisher.publish() and convenience
1954 * docutils/frontend.py:
1956 - Check for & exit on identical source & destination paths.
1957 - Fixed bug with absolute paths & "--config".
1958 - Set non-command-line defaults in ``OptionParser.__init__()``:
1959 ``_source`` & ``_destination``.
1960 - Distributed ``relative_path_settings`` to components; updated
1961 ``OptionParser.populate_from_components()`` to combine it all.
1962 - Require list of keys in ``make_paths_absolute`` (was implicit in
1963 global ``relative_path_settings``).
1964 - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1965 "--dump-settings", and "--dump-transforms" hidden options.
1966 - Removed nasty internals-fiddling ``ConfigParser.get_section``
1967 code, replaced with correct code.
1968 - Added validation functionality for config files.
1969 - Added "--error-encoding" option/setting, "_disable_config"
1971 - Added encoding validation; updated "--input-encoding" and
1972 "--output-encoding"; added "--error-encoding-error-handler" and
1973 "--output-encoding-error-handler".
1974 - Moved config file processing from docutils/core.py.
1975 - Updated ``OptionParser.populate_from_components`` to handle new
1976 ``SettingsSpec.settings_defaults`` dict.
1977 - Added support for "-" => stdin/stdout.
1978 - Added "exit_level" setting ("--exit" option).
1982 - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1983 - Added automatic closing to ``FileInput`` and ``FileOutput``.
1984 - Delayed opening of ``FileOutput`` file until ``write()`` called.
1985 - ``FileOutput.write()`` now returns the encoded output string.
1986 - Try to get path/stream name automatically in ``FileInput`` &
1988 - Added defaults for source & destination paths.
1989 - Allow for Unicode I/O with an explicit "unicode" encoding.
1990 - Added ``Output.encode()``.
1991 - Removed dependency on runtime settings; pass encoding directly.
1992 - Recognize Unicode strings in ``Input.decode()``.
1993 - Added support for output encoding error handlers.
1995 * docutils/nodes.py:
1997 - Added "Invisible" element category class.
1998 - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1999 modification during a traversal.
2000 - Added element classes: ``line_block``, ``generated``, ``address``,
2001 ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
2002 ``superscript``, ``subscript``, ``inline``
2003 - Added support for lists of nodes to ``Element.insert()``.
2004 - Fixed parent linking in ``Element.replace()``.
2005 - Added new abstract superclass ``FixedTextElement``; adds
2006 "xml:space" attribute.
2007 - Added support for "line" attribute of ``system_message`` nodes.
2008 - Added support for the observer pattern from ``utils.Reporter``.
2009 Added ``parse_messages`` and ``transform_messages`` attributes to
2010 ``document``, removed ``messages``. Added ``note_parse_message``
2011 and ``note_transform_message`` methods.
2012 - Added support for improved diagnostics:
2014 - Added "document", "source", and "line" internal attributes to
2015 ``Node``, set by ``Node.setup_child()``.
2016 - Converted variations on ``node.parent = self`` to
2017 ``self.setup_child(node)``.
2018 - Added ``document.current_source`` & ``.current_line``
2019 attributes, and ``.note_source`` observer method.
2020 - Changed "system_message" output to GNU-Tools format.
2022 - Added a "rawsource" attribute to the ``Text`` class, for text
2023 before backslash-escape resolution.
2024 - Support for new transform system.
2025 - Reworked ``pending`` element.
2026 - Fixed XML DOM bug (SF #660611).
2027 - Removed the ``interpeted`` element class and added
2028 ``title_reference``, ``abbreviation``, ``acronym``.
2029 - Made substitutions case-sensitive-but-forgiving; moved some code
2031 - Fixed Unicode bug on element attributes (report: William Dode).
2033 * docutils/optik.py: Removed from project; replaced with
2034 extras/optparse.py and extras/textwrap.py. These will be installed
2035 only if they're not already present in the Python installation.
2037 * docutils/roman.py: Moved to extras/roman.py; this will be installed
2038 only if it's not already present in the Python installation.
2040 * docutils/statemachine.py:
2042 - Factored out ``State.add_initial_transitions()`` so it can be
2044 - Converted whitespace-specific "blank" and "indent" transitions
2045 from special-case code to ordinary transitions: removed
2046 ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
2047 ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
2048 ``ws_initial_transitions`` attributes.
2049 - Removed ``State.match_transition()`` after merging it into
2051 - Added ``StateCorrection`` exception.
2052 - Added support for ``StateCorrection`` in ``StateMachine.run()``
2053 (moved ``TransitionCorrection`` support there too.)
2054 - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
2055 ``EOFError`` instead of ``IndexError``.
2056 - Added ``State.no_match`` method.
2057 - Added support for the Observer pattern, triggered by input line
2059 - Added ``strip_top`` parameter to
2060 ``StateMachineWS.get_first_known_indented``.
2061 - Made ``context`` a parameter to ``StateMachine.run()``.
2062 - Added ``ViewList`` & ``StringList`` classes;
2063 ``extract_indented()`` becomes ``StringList.get_indented()``.
2064 - Added ``StateMachine.insert_input()``.
2065 - Fixed ViewList slice handling for Python 2.3. Patch from (and
2066 thanks to) Fred Drake.
2068 * docutils/utils.py:
2070 - Added a ``source`` attribute to Reporter instances and
2071 ``system_message`` elements.
2072 - Added an observer pattern to ``utils.Reporter`` to keep track of
2074 - Fixed bugs in ``relative_path()``.
2075 - Added support for improved diagnostics.
2076 - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
2077 - Added support for encoding Reporter stderr output, and encoding
2079 - Reporter keeps track of the highest level system message yet
2082 * docutils/languages: Fixed bibliographic field language lookups.
2084 * docutils/languages/es.py: Added to project; Spanish mappings by
2085 Marcelo Huerta San Martin.
2087 * docutils/languages/fr.py: Added to project; French mappings by
2090 * docutils/languages/it.py: Added to project; Italian mappings by
2093 * docutils/languages/sk.py: Added to project; Slovak mappings by
2096 * docutils/parser/__init__.py:
2098 - Added ``Parser.finish_parse()`` method.
2100 * docutils/parser/rst/__init__.py:
2102 - Added options: "--pep-references", "--rfc-references",
2103 "--tab-width", "--trim-footnote-reference-space".
2105 * docutils/parsers/rst/states.py:
2107 - Changed "title under/overline too short" system messages from INFO
2108 to WARNING, and fixed its insertion location.
2109 - Fixed enumerated list item parsing to allow paragraphs & section
2110 titles to begin with enumerators.
2111 - Converted system messages to use the new "line" attribute.
2112 - Fixed a substitution reference edge case.
2113 - Added support for "--pep-references" and "--rfc-references"
2114 options; reworked ``Inliner`` code to make customization easier.
2115 - Removed field argument parsing.
2116 - Added support for short section title over/underlines.
2117 - Fixed "simple reference name" regexp to ignore text like
2118 "object.__method__"; not an anonymous reference.
2119 - Added support for improved diagnostics.
2120 - Reworked directive API, based on Dethe Elza's contribution. Added
2121 ``Body.parse_directive()``, ``.parse_directive_options()``,
2122 ``.parse_directive_arguments()`` methods.
2123 - Added ``ExtensionOptions`` class, to parse directive options
2124 without parsing field bodies. Factored
2125 ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
2126 ``ExtensionOptions``.
2127 - Improved definition list term/classifier parsing.
2128 - Added warnings for unknown directives.
2129 - Renamed ``Stuff`` to ``Struct``.
2130 - Now flagged as errors: transitions at the beginning or end of
2131 sections, empty sections (except title), and empty documents.
2132 - Updated for ``statemachine.StringList``.
2133 - Enabled recognition of schemeless email addresses in targets.
2134 - Added support for embedded URIs in hyperlink references.
2135 - Added backslash-escapes to inline markup end-string suffix.
2136 - Added support for correct interpreted text processing.
2137 - Fixed nested title parsing (topic, sidebar directives).
2138 - Added special processing of backslash-escaped whitespace (idea
2139 from David Abrahams).
2140 - Made substitutions case-sensitive-but-forgiving; moved some code
2141 to ``docutils.nodes``.
2142 - Added support for block quote attributions.
2143 - Added a kludge to work-around a conflict between the bubble-up
2144 parser strategy and short titles (<= 3 char-long over- &
2145 underlines). Fixes SF bug #738803 "infinite loop with multiple
2146 titles" submitted by Jason Diamond.
2147 - Added explicit interpreted text roles for standard inline markup:
2148 "emphasis", "strong", "literal".
2149 - Implemented "superscript" and "subscript" interpreted text roles.
2150 - Added initial support for "abbreviation" and "acronym" roles;
2152 - Added support for "--trim-footnote-reference-space" option.
2153 - Optional space before colons in directives & hyperlink targets.
2155 * docutils/parsers/rst/tableparser.py:
2157 - Fixed a bug that was producing unwanted empty rows in "simple"
2159 - Detect bad column spans in "simple" tables.
2161 * docutils/parsers/rst/directives: Updated all directive functions to
2164 * docutils/parsers/rst/directives/__init__.py:
2166 - Added ``flag()``, ``unchanged()``, ``path()``,
2167 ``nonnegative_int()``, ``choice()``, and ``class_option()``
2168 directive option helper functions.
2169 - Added warnings for unknown directives.
2170 - Return ``None`` for missing directives.
2171 - Added ``register_directive()``, thanks to William Dode and Paul
2174 * docutils/parsers/rst/directives/admonitions.py:
2176 - Added "admonition" directive.
2178 * docutils/parsers/rst/directives/body.py: Added to project. Contains
2179 the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2180 "parsed-literal", "rubric", "epigraph", "highlights" and
2181 "pull-quote" directives.
2183 * docutils/parsers/rst/directives/images.py:
2185 - Added an "align" attribute to the "image" & "figure" directives
2186 (by Adam Chodorowski).
2187 - Added "class" option to "image", and "figclass" to "figure".
2189 * docutils/parsers/rst/directives/misc.py:
2191 - Added "include", "raw", and "replace" directives, courtesy of
2193 - Added "unicode" and "class" directives.
2195 * docutils/parsers/rst/directives/parts.py:
2197 - Added the "sectnum" directive; by Dmitry Jemerov.
2198 - Added "class" option to "contents" directive.
2200 * docutils/parsers/rst/directives/references.py: Added to project.
2201 Contains the "target-notes" directive.
2203 * docutils/parsers/rst/languages/__init__.py:
2205 - Return ``None`` from get_language() for missing language modules.
2207 * docutils/parsers/rst/languages/de.py: Added to project; German
2208 mappings by Engelbert Gruber.
2210 * docutils/parsers/rst/languages/en.py:
2212 - Added interpreted text roles mapping.
2214 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2215 mappings by Marcelo Huerta San Martin.
2217 * docutils/parsers/rst/languages/fr.py: Added to project; French
2218 mappings by William Dode.
2220 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2221 mappings by Nicola Larosa.
2223 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2224 mappings by Miroslav Vasko.
2226 * docutils/readers/__init__.py:
2228 - Added support for the observer pattern from ``utils.Reporter``, in
2229 ``Reader.parse`` and ``Reader.transform``.
2230 - Removed ``Reader.transform()`` method.
2231 - Added default parameter values to ``Reader.__init__()`` to make
2232 instantiation easier.
2233 - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2235 * docutils/readers/pep.py:
2237 - Added the ``peps.TargetNotes`` transform to the Reader.
2238 - Removed PEP & RFC reference detection code; moved to
2239 parsers/rst/states.py as options (enabled here by default).
2240 - Added support for pre-acceptance PEPs (no PEP number yet).
2241 - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2244 * docutils/readers/python: Python Source Reader subpackage added to
2245 project, including preliminary versions of:
2248 - moduleparser.py: Parser for Python modules.
2250 * docutils/transforms/__init__.py:
2252 - Added ``Transformer`` class and completed transform reform.
2253 - Added unknown_reference_resolvers list for each transformer. This list holds
2254 the list of functions provided by each component of the transformer that
2255 help resolve references.
2257 * docutils/transforms/frontmatter.py:
2259 - Improved support for generic fields.
2260 - Fixed bibliographic field language lookups.
2262 * docutils/transforms/misc.py: Added to project. Miscellaneous
2265 * docutils/transforms/parts.py:
2267 - Moved the "id" attribute from TOC list items to the references
2268 (``Contents.build_contents()``).
2269 - Added the ``SectNum`` transform; by Dmitry Jemerov.
2270 - Added "class" attribute support to ``Contents``.
2272 * docutils/transforms/peps.py:
2274 - Added ``mask_email()`` function, updating to pep2html.py's
2276 - Linked "Content-Type: text/x-rst" to PEP 12.
2277 - Added the ``TargetNotes`` PEP-specific transform.
2278 - Added ``TargetNotes.cleanup_callback``.
2279 - Added title check to ``Headers``.
2281 * docutils/transforms/references.py:
2283 - Added the ``TargetNotes`` generic transform.
2284 - Split ``Hyperlinks`` into multiple transforms.
2285 - Fixed bug with multiply-indirect references (report: Bruce Smith).
2286 - Added check for circular indirect references.
2287 - Made substitutions case-sensitive-but-forgiving.
2289 * docutils/transforms/universal.py:
2291 - Added support for the "--expose-internal-attributes" option.
2292 - Removed ``Pending`` transform classes & data.
2294 * docutils/writers/__init__.py:
2296 - Removed ``Writer.transform()`` method.
2298 * docutils/writers/docutils-xml.py:
2300 - Added XML and doctype declarations.
2301 - Added "--no-doctype" and "--no-xml-declaration" options.
2303 * docutils/writers/html4css1.py:
2305 - "name" attributes only on these tags: a, applet, form, frame,
2307 - Added "name" attribute to <a> in section titles for Netscape 4
2308 support (bug report: Pearu Peterson).
2309 - Fixed targets (names) on footnote, citation, topic title,
2310 problematic, and system_message nodes (for Netscape 4).
2311 - Changed field names from "<td>" to "<th>".
2312 - Added "@" to "@" encoding to thwart address harvesters.
2313 - Improved the vertical whitespace optimization; ignore "invisible"
2314 nodes (targets, comments, etc.).
2315 - Improved inline literals with ``<span class="pre">`` around chunks
2316 of text and `` `` for runs of spaces.
2317 - Improved modularity of output; added ``self.body_pre_docinfo`` and
2318 ``self.docinfo`` segments.
2319 - Added support for "line_block", "address" elements.
2320 - Improved backlinks (footnotes & system_messages).
2321 - Improved system_message output.
2322 - Redefined "--stylesheet" as containing an invariant URL, used
2323 verbatim. Added "--stylesheet-path", interpreted w.r.t. the
2325 - Added "--footnote-references" option (superscript or brackets).
2326 - Added "--compact-lists" and "--no-compact-lists" options.
2327 - Added "--embed-stylesheet" and "--link-stylesheet" options;
2328 factored out ``HTMLTranslator.get_stylesheet_reference()``.
2329 - Improved field list rendering.
2330 - Added Docutils version to "generator" meta tag.
2331 - Fixed a bug with images; they must be inline, so wrapped in <p>.
2332 - Improved layout of <pre> HTML source.
2333 - Fixed attribute typo on <colspec>.
2334 - Refined XML prologue.
2335 - Support for no stylesheet.
2336 - Removed "interpreted" element support.
2337 - Added support for "title_reference", "sidebar", "attribution",
2338 "rubric", and generic "admonition" elements.
2339 - Added "--attribution" option.
2340 - Added support for "inline", "subscript", "superscript" elements.
2341 - Added initial support for "abbreviation" and "acronym";
2344 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2348 - Double quotes in literal blocks (special treatment for de/ngerman).
2349 - Added '--hyperlink-color' option ('0' turns off coloring of links).
2350 - Added "--attribution" option.
2351 - Right align attributions.
2353 * docutils/writers/pep_html.py:
2355 - Parameterized output encoding in PEP template.
2356 - Reworked substitutions from ``locals()`` into ``subs`` dict.
2357 - Redefined "--pep-stylesheet" as containing an invariant URL, used
2358 verbatim. Added "--pep-stylesheet-path", interpreted w.r.t. the
2360 - Added an override on the "--footnote-references" option.
2361 - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2362 - Added Docutils version to "generator" meta tag.
2363 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2367 - Added a "silent" setting for ``buildhtml.py``.
2368 - Added a "Getting Help" section.
2369 - Rearranged the structure.
2370 - Kept up to date, with new settings, command-line options etc.
2371 - Added section for ``rst2latex.py`` (Engelbert Gruber).
2372 - Converted settings table into a definition list.
2374 * docs/rst/quickstart.txt:
2376 - Added a table of contents.
2377 - Added feedback information.
2378 - Added mention of minimum section title underline lengths.
2379 - Removed the 4-character minimum for section title underlines.
2381 * docs/rst/quickref.html:
2383 - Added a "Getting Help" section.
2384 - Added a style to make section title backlinks more subtle.
2385 - Added mention of minimum section title underline lengths.
2386 - Removed the 4-character minimum for section title underlines.
2388 * extras: Directory added to project; contains third-party modules
2389 that Docutils depends on (optparse, textwrap, roman). These are
2390 only installed if they're not already present.
2392 * licenses: Directory added to project; contains copies of license
2393 files for non-public-domain files.
2397 - Changed the focus. It's about DTD elements: structural
2398 relationships, semantics, and external (public) attributes. Not
2399 about the element class library.
2400 - Moved some implementation-specific stuff into ``docutils.nodes``
2402 - Wrote descriptions of all common attributes and parameter
2403 entities. Filled in introductory material.
2404 - Working through the element descriptions: 55 down, 37 to go.
2405 - Removed "Representation of Horizontal Rules" to
2406 spec/rst/alternatives.txt.
2408 * spec/docutils.dtd:
2410 - Added "generated" inline element.
2411 - Added "line_block" body element.
2412 - Added "auto" attribute to "title".
2413 - Changed content models of "literal_block" and "doctest_block" to
2415 - Added ``%number;`` attribute type parameter entity.
2416 - Changed ``%structural.elements;`` to ``%section.elements``.
2417 - Updated attribute types; made more specific.
2418 - Added "address" bibliographic element.
2419 - Added "line" attribute to ``system_message`` element.
2420 - Removed "field_argument" element; "field_name" may contain
2421 multiple words and whitespace.
2422 - Changed public identifier to docutils.sf.net.
2423 - Removed "interpreted" element; added "title_reference",
2424 "abbreviation", "acronym".
2425 - Removed "refuri" attribute from "footnote_reference" and
2426 "citation_reference".
2427 - Added "sidebar", "rubric", "attribution", "admonition",
2428 "superscript", "subscript", and "inline" elements.
2430 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2432 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2434 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2436 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2439 * spec/transforms.txt: Added to project.
2441 * spec/howto: Added subdirectory, for developer how-to docs.
2443 * spec/howto/rst-directives.txt: Added to project. Original by Dethe
2444 Elza, edited & extended by David Goodger.
2446 * spec/howto/i18n.txt: Docutils Internationalization. Added to
2449 * spec/rst/alternatives.txt:
2451 - Added "Doctree Representation of Transitions" from
2453 - Updated "Inline External Targets" & closed the debate.
2454 - Added ideas for interpreted text syntax extensions.
2455 - Added "Nested Inline Markup" section.
2457 * spec/rst/directives.txt:
2459 - Added directives: "topic", "sectnum", "target-notes",
2460 "line-block", "parsed-literal", "include", "replace", "sidebar",
2461 "admonition", "rubric", "epigraph", "highlights", "unicode" and
2463 - Formalized descriptions of directive details.
2464 - Added an "align" attribute to the "image" & "figure" directives
2465 (by Adam Chodorowski).
2466 - Added "class" options to "topic", "sidebar", "line-block",
2467 "parsed-literal", "contents", and "image"; and "figclass" to
2470 * spec/rst/interpreted.txt: Added to project. Descriptions of
2471 interpreted text roles.
2473 * spec/rst/introduction.txt:
2475 - Added pointers to material for new users.
2477 * spec/rst/reStructuredText.txt:
2479 - Disambiguated comments (just add a newline after the "::").
2480 - Updated enumerated list description; added a discussion of the
2481 second-line validity checking.
2482 - Updated directive description.
2483 - Added a note redirecting newbies to the user docs.
2484 - Expanded description of inline markup start-strings in non-markup
2486 - Removed field arguments and made field lists a generic construct.
2487 - Removed the 4-character minimum for section title underlines.
2488 - Clarified term/classifier delimiter & inline markup ambiguity
2490 - Added "Embedded URIs".
2491 - Updated "Interpreted Text" section.
2492 - Added "Character-Level Inline Markup" section.
2494 * test: Continually adding & updating tests.
2496 - Moved test/test_rst/ to test/test_parsers/test_rst/.
2497 - Moved test/test_pep/ to test/test_readers/test_pep/.
2498 - Added test/test_readers/test_python/.
2499 - Added test/test_writers/ (Engelbert Gruber).
2503 - Made the ``locale.setlocale()`` calls in front ends
2506 * tools/buildhtml.py:
2508 - Added "--silent" option.
2509 - Fixed bug with absolute paths & "--config".
2510 - Updated for new I/O classes.
2511 - Added some exception handling.
2512 - Separated publishers' setting defaults; prevents interference.
2513 - Updated for new ``publish_file()`` convenience function.
2515 * tools/pep-html-template:
2517 - Allow for "--embed-stylesheet".
2518 - Added Docutils version to "generator" meta tag.
2519 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2520 - Conform to XHTML spec.
2522 * tools/pep2html.py:
2524 - Made ``argv`` a parameter to ``main()``.
2525 - Added support for "Content-Type:" header & arbitrary PEP formats.
2526 - Linked "Content-Type: text/plain" to PEP 9.
2527 - Files skipped (due to an error) are not pushed onto the server.
2528 - Updated for new I/O classes.
2529 - Added ``check_requirements()`` & ``pep_type_error()``.
2530 - Added some exception handling.
2531 - Updated for new ``publish_string()`` convenience function.
2532 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2534 * tools/quicktest.py:
2536 - Added "-V"/"--version" option.
2538 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2540 * tools/unicode2rstsubs.py: Added to project. Produces character
2541 entity files (reSructuredText substitutions) from the MathML master
2544 * tools/editors: Support code for editors, added to project. Contains
2545 ``emacs/restructuredtext.el``.
2547 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2549 - Added style for chunks of inline literals.
2550 - Removed margin for first child of table cells.
2551 - Right-aligned field list names.
2552 - Support for auto-numbered section titles in TOCs.
2553 - Increased the size of inline literals (<tt>) in titles.
2554 - Restored the light gray background for inline literals.
2555 - Added support for "line_block" elements.
2556 - Added style for "address" elements.
2557 - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2558 - Improved field list rendering.
2559 - Vertical whitespace improvements.
2560 - Removed "a.target" style.
2562 * tools/stylesheets/pep.css:
2564 - Fixed nested section margins.
2565 - Other changes parallel those of ``../default.css``.
2568 Release 0.2 (2002-07-31)
2569 ========================
2573 - The word "component" was being used ambiguously. From now on,
2574 "component" will be used to mean "Docutils component", as in Reader,
2575 Writer, Parser, or Transform. Portions of documents (Table of
2576 Contents, sections, etc.) will be called "document parts".
2577 - Did a grand renaming: a lot of ``verylongnames`` became
2578 ``very_long_names``.
2579 - Cleaned up imports: no more relative package imports or
2580 comma-separated lists of top-level modules.
2581 - Added support for an option values object which carries default
2582 settings and overrides (from command-line options and library use).
2583 - Added internal Unicode support, and support for both input and
2585 - Added support for the ``docutils.io.IO`` class & subclasses.
2589 * docutils/__init__.py:
2591 - Added ``ApplicationError`` and ``DataError``, for use throughout
2593 - Added ``Component`` base class for Docutils components; implements
2594 the ``supports`` method.
2595 - Added ``__version__`` (thus, ``docutils.__version__``).
2599 - Removed many keyword parameters to ``Publisher.__init__()`` and
2600 ``publish()``; bundled into an option values object. Added
2601 "argv", "usage", "description", and "option_spec" parameters for
2602 command-line support.
2603 - Added ``Publisher.process_command_line()`` and ``.set_options()``
2605 - Reworked I/O model for ``docutils.io`` wrappers.
2606 - Updated ``Publisher.set_options()``; now returns option values
2608 - Added support for configuration files (/etc/docutils.conf,
2609 ./docutils.conf, ~/.docutils).
2610 - Added ``Publisher.setup_option_parser()``.
2611 - Added default usage message and description.
2613 * docutils/frontend.py: Added to project; support for front-end
2614 (command-line) scripts. Option specifications may be augmented by
2615 components. Requires Optik (http://optik.sf.net/) for option
2616 processing (installed locally as docutils/optik.py).
2618 * docutils/io.py: Added to project; uniform API for a variety of input
2621 * docutils/nodes.py:
2623 - Added ``TreeCopyVisitor`` class.
2624 - Added a ``copy`` method to ``Node`` and subclasses.
2625 - Added a ``SkipDeparture`` exception for visitors.
2626 - Renamed ``TreePruningException`` from ``VisitorException``.
2627 - Added docstrings to ``TreePruningException``, subclasses, and
2629 - Improved docstrings.
2630 - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2631 - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2633 - Added ``decoration``, ``header``, and ``footer`` node classes, and
2634 ``PreDecorative`` mixin.
2635 - Reworked the name/id bookkeeping; to ``document``, removed
2636 ``explicit_targets`` and ``implicit_targets`` attributes, added
2637 ``nametypes`` attribute and ``set_name_id_map`` method.
2638 - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2640 - Added ``document.has_name()`` method.
2641 - Fixed DOM generation for list-attributes.
2642 - Added category class ``Labeled`` (used by footnotes & citations).
2643 - Added ``Element.set_class()`` method (sets "class" attribute).
2645 * docutils/optik.py: Added to project. Combined from the Optik
2646 package, with added option groups and other modifications. The use
2647 of this module is probably only temporary.
2649 * docutils/statemachine.py:
2651 - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2652 - Added underscores to improve many awkward names.
2653 - In ``string2lines()``, changed whitespace normalizing translation
2654 table to regexp; restores Python 2.0 compatibility with Unicode.
2656 * docutils/urischemes.py:
2658 - Filled in some descriptions.
2659 - Added "shttp" scheme.
2661 * docutils/utils.py:
2663 - Added ``clean_rcs_keywords`` function (moved from
2664 docutils/transforms/frontmatter.py
2665 ``DocInfo.filter_rcs_keywords``).
2666 - Added underscores to improve many awkward names.
2667 - Changed names of Reporter's thresholds:
2668 warning_level -> report_level; error_level -> halt_level.
2669 - Moved ``utils.id()`` to ``nodes.make_id()``.
2670 - Added ``relative_path(source, target)``.
2672 * docutils/languages/de.py: German mappings; added to project. Thanks
2673 to Gunnar Schwant for the translations.
2675 * docutils/languages/en.py: Added "Dedication" bibliographic field
2678 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2681 * docutils/parsers/rst/states.py:
2683 - Added underscores to improve many awkward names.
2684 - Added RFC-2822 header support.
2685 - Extracted the inline parsing code from ``RSTState`` to a separate
2686 class, ``Inliner``, which will allow easy subclassing.
2687 - Made local bindings for ``memo`` container & often-used contents
2688 (reduces code complexity a lot). See ``RSTState.runtime_init()``.
2689 - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2690 - Added ``MarkupMismatch`` exception; for late corrections.
2691 - Added ``-/:`` characters to inline markup's start string prefix,
2692 ``/`` to end string suffix.
2693 - Fixed a footnote bug.
2694 - Fixed a bug with literal blocks.
2695 - Applied patch from Simon Budig: simplified regexps with symbolic
2696 names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2697 - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2698 - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2699 - Allowed non-ASCII in "simple names" (directive names, field names,
2701 - Converted ``Inliner.patterns.initial`` to be dynamically built
2702 from parts with ``build_regexp()`` function.
2703 - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2704 - Updated docstrings.
2705 - Changed "table" to "grid_table"; added "simple_table" support.
2707 * docutils/parsers/rst/tableparser.py:
2709 - Changed ``TableParser`` to ``GridTableParser``.
2710 - Added ``SimpleTableParser``.
2711 - Refactored naming.
2713 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2714 a fallback language for directive names.
2716 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2717 directive to use a ``pending`` element, used only by HTML writers.
2719 * docutils/parsers/rst/directives/parts.py: Renamed from
2722 - Added "backlinks" attribute to "contents" directive.
2724 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2725 project by Adam Chodorowski.
2727 * docutils/readers/__init__.py: Gave Readers more control over
2728 choosing and instantiating Parsers.
2730 * docutils/readers/pep.py: Added to project; for PEP processing.
2732 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2733 requires a ``component`` parameter.
2735 * docutils/transforms/components.py: Added to project; transforms
2736 related to Docutils components.
2738 * docutils/transforms/frontmatter.py:
2740 - In ``DocInfo.extract_authors``, check for a single "author" in an
2741 "authors" group, and convert it to a single "author" element.
2742 - Added support for "Dedication" and generic bibliographic fields.
2744 * docutils/transforms/peps.py: Added to project; PEP-specific.
2746 * docutils/transforms/parts.py: Renamed from old components.py.
2748 - Added filter for `Contents`, to use alt-text for inline images,
2749 and to remove inline markup that doesn't make sense in the ToC.
2750 - Added "name" attribute to TOC topic depending on its title.
2751 - Added support for optional TOC backlinks.
2753 * docutils/transforms/references.py: Fixed indirect target resolution
2754 in ``Hyperlinks`` transform.
2756 * docutils/transforms/universal.py:
2758 - Changed ``Messages`` transform to properly filter out system
2759 messages below the warning threshold.
2760 - Added ``Decorations`` transform (support for ``--generator``,
2761 ``--date``, ``--time``, ``--source-link`` options).
2763 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2764 Engelbert Gruber's PDF writer.
2766 * docutils/writers/html4css1.py:
2768 - Made XHTML-compatible (switched to lowercase element & attribute
2769 names; empty tag format).
2770 - Escape double-dashes in comment text.
2771 - Improved boilerplate & modularity of output.
2772 - Exposed modular output in Writer class.
2773 - Added a "generator" meta tag to <head>.
2774 - Added support for the ``--stylesheet`` option.
2775 - Added support for ``decoration``, ``header``, and ``footer``
2777 - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2778 translation table to regexp; restores Python 2.0 compatibility
2780 - Added the translator class as instance variable to the Writer, to
2781 make it easily subclassable.
2782 - Improved option list spacing (thanks to Richard Jones).
2783 - Modified field list output.
2784 - Added backlinks to footnotes & citations.
2785 - Added percentage widths to "<col>" tags (from colspec).
2786 - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2787 "<span>" changed to "<var>".
2788 - Inline literals: "<code>" changed to "<tt>".
2789 - Many changes to optimize vertical space: compact simple lists etc.
2790 - Add a command-line options & directive attributes to control TOC
2791 and footnote/citation backlinks.
2792 - Added support for optional footnote/citation backlinks.
2793 - Added support for generic bibliographic fields.
2794 - Identify backrefs.
2795 - Relative URLs for stylesheet links.
2797 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2798 PEPs (subclass of ``html4css1.Writer``).
2800 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2802 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2803 of the Docutils internal doctree in XML.
2805 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2809 - Changed the title to "The Docutils Document Tree".
2810 - Added "Hyperlink Bookkeeping" section.
2812 * spec/docutils.dtd:
2814 - Added ``decoration``, ``header``, and ``footer`` elements.
2815 - Brought ``interpreted`` element in line with the parser: changed
2816 attribute "type" to "role", added "position".
2817 - Added support for generic bibliographic fields.
2819 * spec/notes.txt: Continual updates. Added "Project Policies".
2821 * spec/pep-0256.txt: Updated. Added "Roadmap to the Doctring PEPs"
2824 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2826 * spec/pep-0258.txt: Updated. Added text from pysource.txt and
2827 mailing list discussions.
2829 * spec/pep-0287.txt:
2831 - Renamed to "reStructuredText Docstring Format".
2833 - Reworked Q&A as an enumerated list.
2834 - Converted to reStructuredText format.
2836 * spec/pysource.dtd:
2838 - Reworked structural elements, incorporating ideas from Tony Ibbs.
2840 * spec/pysource.txt: Removed from project. Moved much of its contents
2843 * spec/rst/alternatives.txt:
2845 - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2846 - Added "Inline External Targets" section.
2848 * spec/rst/directives.txt:
2850 - Added "backlinks" attribute to "contents" directive.
2852 * spec/rst/problems.txt:
2854 - Updated the Enumerated List Markup discussion.
2855 - Added new alternative table markup syntaxes.
2857 * spec/rst/reStructuredText.txt:
2859 - Clarified field list usage.
2860 - Updated enumerated list description.
2861 - Clarified purpose of directives.
2862 - Added ``-/:`` characters to inline markup's start string prefix,
2863 ``/`` to end string suffix.
2864 - Updated "Authors" bibliographic field behavior.
2865 - Changed "inline hyperlink targets" to "inline internal targets".
2866 - Added "simple table" syntax to supplement the existing but
2867 newly-renamed "grid tables".
2868 - Added cautions for anonymous hyperlink use.
2869 - Added "Dedication" and generic bibliographic fields.
2871 * test: Made test modules standalone (subdirectories became packages).
2873 * test/DocutilsTestSupport.py:
2875 - Added support for PEP extensions to reStructuredText.
2876 - Added support for simple tables.
2877 - Refactored naming.
2879 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2881 - Now supports true packages containing test modules
2882 (``__init__.py`` files required); fixes duplicate module name bug.
2884 * test/test_pep/: Subpackage added to project; PEP testing.
2886 * test/test_rst/test_SimpleTableParser.py: Added to project.
2890 - Updated html.py and publish.py front-end tools to use the new
2891 command-line processing facilities of ``docutils.frontend``
2892 (exposed in ``docutils.core.Publisher``), reducing each to just a
2894 - Added ``locale.setlocale()`` calls to front-end tools.
2896 * tools/buildhtml.py: Added to project; batch-generates .html from all
2897 the .txt files in directories and subdirectories.
2899 * tools/default.css:
2901 - Added support for ``header`` and ``footer`` elements.
2902 - Added styles for "Dedication" topics (biblio fields).
2904 * tools/docutils.conf: A configuration file; added to project.
2906 * tools/docutils-xml.py: Added to project.
2908 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2910 * tools/pep-html-template: Added to project.
2912 * tools/pep2html.py: Added to project from Python (nondist/peps).
2913 Added support for Docutils (reStructuredText PEPs).
2915 * tools/quicktest.py:
2917 - Added the ``--attributes`` option, hacked a bit.
2918 - Added a second command-line argument (output file); cleaned up.
2920 * tools/stylesheets/: Subdirectory added to project.
2922 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2925 Release 0.1 (2002-04-20)
2926 ========================
2928 This is the first release of Docutils, merged from the now inactive
2929 reStructuredText__ and `Docstring Processing System`__ projects. For
2930 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2931 `DPS HISTORY`__ files.
2933 __ http://structuredtext.sourceforge.net/
2934 __ http://docstring.sourceforge.net/
2935 __ http://structuredtext.sourceforge.net/HISTORY.html
2936 __ http://docstring.sourceforge.net/HISTORY.html
2938 General changes: renamed 'dps' package to 'docutils'; renamed
2939 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2940 the test suites (reStructuredText's test/test_states renamed to
2941 test/test_rst); and all modifications required to make it all work.
2943 * docutils/parsers/rst/states.py:
2945 - Improved diagnostic system messages for missing blank lines.
2946 - Fixed substitution_reference bug.
2952 indent-tabs-mode: nil
2953 sentence-end-double-space: t