1 .. -*- coding: utf-8 -*-
7 :Author: David Goodger; open to all Docutils developers
8 :Contact: goodger@python.org
11 :Web site: http://docutils.sourceforge.net/
12 :Copyright: This document has been placed in the public domain.
21 - Dropped support for Python 2.3.
22 - ``docutils/math``, ``docutils/error_reporting.py``, and
23 ``docutils/urischemes.py`` moved to the utils package.
24 - Fix [3541369] Relative __import__ also with Python 3.3.
25 - Fix [3559988] and [3560841] __import__ local writer, reader, languages
26 and parsers for Python 2.7 up.
27 - Fix import of PIL.Image.
28 - Change default of "syntax highlight" option to "long",
29 basic syntax highlight styles for LaTeX and HTML.
33 - FileInput/FileOutput: no system-exit on IOError. The `handle_io_errors`
34 option is ignored and will be removed in a future release.
36 * docutils/parsers/rst/directives/misc.py
38 - Fix [ 3546533 ] Unicode error with `date` directive.
40 * docutils/writers/html4css1/__init__.py
42 - Use ``<code>`` tag for inline "code",
43 do not drop nested inline nodes (syntax highlight tokens).
45 * docutils/tools/test/test_buildhtml.py
47 - Fix [ 3521167 ] allow running in any directory.
48 - Fix [ 3521168 ] allow running with Python 3.
50 * docutils/writers/manpage.py
52 - Apply [ 3527401 ] addmonition's don't preserve indentation
53 - Apply [ 3527397 ] Add indentation to literal blocks in manpage writer.
55 * docutils/writers/latex2e/__init__.py, docutils/writers/xetex/__init__.py
57 - Apply [ 3555160 ] ensure order of "otherlanguages".
58 - Fix section numbering by LaTeX.
60 * docutils/writers/s5_html/__init__.py
62 - Fix [ 3556388 ] Mathjax does not work with rst2s5.
64 * docutils/writers/s5_html/docutils_xml.py
66 - Fix [ 3552403 ] Prevent broken PyXML replacing stdlibs xml module.
69 Release 0.9.1 (2012-06-17)
70 ==========================
74 - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
75 installed in the PYTHONPATH. Converted tests are now
76 stored in ``test3/``, tools no longer need conversion.
78 If you installed one of Docutils versions 0.7 ... 0.9 with
79 ``setup.py install`` under Python 3, remove the spurious
80 ``test/`` and ``tools/`` directories in the site library root.
84 - Make tests independent from the location of the ``test/`` directory.
85 - Use converted sources (from the ``build/`` directory) for tests under
90 - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
94 - Fix writing binary data to sys.stdout under Python 3 (allows
95 ``rst2odt.py`` to be used with output redirection).
97 * docutils/parsers/rst/directives/misc.py
99 - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
100 ``locale == C`` and 8-bit char in path argument of `include` directive.
102 * docutils/test/alltests.py
104 - class `Tee`: catch UnicodeError when writing to "ascii" stream or
107 Release 0.9 (2012-05-02)
108 ========================
112 - New reStructuredText "code" role and directive and "code" option
113 of the "include" directive with syntax highlighting by Pygments_.
114 - Fix parse_option_marker for option arguments containing ``=``.
115 - Fix [ 2993756 ]: import Python Imaging Library's Image module
116 via ``import PIL`` as starting with PIL 1.2,
117 "PIL lives in the PIL namespace only" (announcement__).
119 .. _Pygments: http://pygments.org/
120 __ http://mail.python.org/pipermail/image-sig/2011-January/006650.html
124 - Fix [ 2971827 ] and [ 3442827 ]
125 extras/roman.py moved to docutils/utils/roman.py
127 * docutils/frontend.py
129 - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
133 - Fix [ 3395948 ] (Work around encoding problems in Py3k).
134 - `mode` argument for FileOutput avoids code replication in
136 - New exceptions InputError and OutputError for IO errors in
137 FileInput/FileOutput.
141 - No "hard" system exit on file IO errors: catch and report them in
142 `Publisher.reportException` instead. Allows handling by a calling
143 application if the configuration setting `traceback` is True.
145 * docutils/utils.py -> docutils/utils/__init__.py
147 - docutils.utils is now a package (providing a place for sub-modules)
149 .. note:: docutils/math, docutils/error_reporting.py, and
150 docutils/urischemes.py will move to the utils package in the next
151 release, too. See RELEASE-NOTES__
153 __ RELEASE-NOTES.html
155 - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
156 errors recording non-ASCII filenames (fixes [ 3434355 ]).
158 - Fix relative_path() with source=None and `unicode` target.
160 * docutils/parsers/rst/states.py
162 - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
163 characters and "international" quotes around inline markup.
164 - Use `field_marker` pattern to look for start of a
165 directive option block (fixes [ 3484857 ]).
167 * docutils/parsers/rst/tableparser.py
169 - Fix [ 2926161 ] for simple tables.
170 (Combining chars in grid tables still contribute to cell width.)
172 * docutils/writers/latex2e/__init__.py
174 - Support the `abbreviation` and `acronym` standard roles.
175 - Record only files required to generate the LaTeX source as dependencies.
176 - Fix handling of missing stylesheets.
177 - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
178 when suppressing LaTeX section numbering.
179 - Use ``\DUtitle`` for unsupported section levels
180 - Apply [ 3512791 ] do not compare string literals with "is"
182 * docutils/writers/xetex/__init__.py
184 - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
186 * docutils/writers/html4css1/__init__.py
188 - Change default for `math-output` setting to MathJax.
189 - Fix handling of missing stylesheets.
191 * docutils/writers/docutils_xml.py
193 - Use the visitor pattern with default_visit()/default_depart() methods
194 instead of minidom to facilitate special handling of selected nodes.
195 - Support raw XML (inserted as-is inside a <raw></raw> node).
197 * docutils/writers/manpage.py
199 - Do not emit comment line with trailing blank. Problematic for VCS.
201 Release 0.8.1 (2011-08-30)
202 ==========================
206 - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
207 and [ 3395920 ] (correct copyright info for rst.el).
211 - Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
213 * docutils/writers/latex2e/__init__.py
215 - Clean up Babel language setting. Restores Sphinx compatibility.
217 Release 0.8 (2011-07-07)
218 ========================
222 - Handle language codes according to `BCP 47`_.
223 - If the specified language is not supported by Docutils,
224 warn and fall back to English.
225 - Math support: reStructuredText "math" role and directive,
226 ``math`` and ``math_block`` doctree elements.
227 - Decode command line arguments with the locale's preferred encoding
228 (to allow, e.g., ``--title=Dornröschen``).
229 - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
230 - New sub-module `error_reporting`: handle encoding/decoding errors
231 when reporting exceptions.
232 - Some additions to the Docutils core are released under the 2-Clause BSD
233 license, see COPYING_ for details.
235 .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
236 .. _COPYING: COPYING.html
240 - Most directives now support a "name" option that attaches a
243 - Directive content may start on the first line also when the directive
244 type accepts options.
246 * docs/dev/policies.txt:
248 - Recommend the 2-Clause BSD license
249 (http://www.spdx.org/licenses/BSD-2-Clause)
250 for code that is kept under the author's copyright.
252 * tools/buildhtml.py:
254 - Fix ``--local`` switch.
256 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
258 * docutils/writers/html4css1/__init__.py
260 - Set "lang" argument for objects with class argument
261 "language-<language tag>".
262 - New setting "math-output" with support for HTML, MathML, and LaTeX.
264 * docutils/writers/latex2e/__init__.py
266 - Fix [ 3043986 ] AttributeError using :local: with table of content.
267 - Place title data in the document preamble.
268 - Load `babel` package only if required.
269 - Update list of supported languages.
270 - New config setting "hyperref-options".
271 No hard-coded "unicode" hyperref option (clash with xetex).
272 - Set language for custom roles, paragraphs, block-quotes, and
273 line-quotes with class argument "language-<language tag>".
274 - Fix [ 3095603 ] wrong quotes output for russian and other languages.
275 - Convert image URI to a local file path.
276 - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
277 has more than one paragraph (Wolfgang Scherer).
278 - \leavevmode before longtable only when needed (prevents spurious vspace)
279 - do not advance table counter for tables without caption
281 * docutils/writers/xetex/__init__.py
283 - New writer generating LaTeX code for compiling with ``xelatex``.
285 A separate writer (inheriting from latex2e) instead of a ``--xetex``
286 option allows separate config options for XeTeX vs. LaTeX2e.
288 * docutils/writers/manpage.py
290 - Fix: BUG#3219183 - vertical space in definition lists containing markup.
291 - Fix: vertical space cleaning for option group ``.``.
293 * tools/editors/emacs/rst.el:
295 - Fix [ 3001100 ] does not handle spaces in filenames
296 (thanks to Jakub Wilk)
300 - strip whitespace from stylesheet arguments
301 - exclude combining chars from column_width()
302 (partial fix for [ 2926161 ])
304 * docutils/parsers/rst/directives/misc.py:
306 - Fix [ 1830389 ] Replace not breaking on getting system_messages from
311 - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
312 ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
314 Release 0.7 (2010-07-07)
315 ========================
319 - Fix [ 2881769 ] setup configuration.
320 - Fix [ 2788716 ] reporting problems in included files.
324 - FileInput opens files as text files with universal newline support
325 (mode "rU", configurable with the new optional argument "mode").
329 - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
333 - Fix [ 2923723 ] let decode_path() tolerate path == None
335 * docutils/writers/html4css1/__init__.py
337 - Support SVG and SWF images (thanks to Stefan Rank).
338 - Generate valid XHTML for centered images with targets.
339 Use CSS classes instead of "align" tags for image alignment.
341 * docutils/writers/latex2e/__init__.py
343 - Use `transforms.writer_aux.Admonitions` to "normalize" special
345 - Use the ``\url`` command for URLs (breaks long URLs instead of
346 writing into the margin).
347 - Preserve runs of spaces in `inline literals`__.
348 - Deprecate ``figure_footnotes`` setting.
349 - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
350 - New ``latex_preamble`` setting.
351 - Use PDF standard fonts (Times/Helvetica/Courier) as default.
352 - Fix hyperlink targets (labels) for images, figures, and tables.
353 - Apply [ 2961988 ] Load babel after inputenc and fontenc.
354 - Apply [ 2961991 ] Call hyperref with unicode option.
355 - Drop the special `output_encoding`__ default ("latin-1").
356 The Docutils wide default (usually "UTF-8") is used instead.
357 - Render inline markup in document title and subtitle.
358 - Fix numbering depth with LaTeX section numbering.
359 - Update Unicode -> LaTeX translations.
360 - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
362 __ docs/ref/restructuredtext.html#inline-literals
363 __ docs/user/config.html#docutils-footnotes
364 __ docs/user/config.html#output_encoding
366 * docutils/writers/manpage.py
368 - Fix: supported attribute (thanks to peter2108).
369 - Remove trailing blanks in code (keep in sync with mercurial version).
370 - Titles level 1, that is ``.SH``, always uppercase.
371 - Apply patch from mg: literal text should be bold in man-pages.
375 - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
380 - Python 3 support: copy test/ and tools/ to the build-dir
381 and convert Python sources with 2to3.
384 Release 0.6 (2009-10-11)
385 ========================
389 - Docutils is now compatible with Python versions from 2.3 up to 2.6
390 and convertible to 3.1 code.
392 + Node.__nonzero__ returns True instead of 1.
393 + use os.walk instead os.path.walk.
394 + minimize "types" module where possible.
395 + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
396 + Text nodes now subclass unicode rather than UserString
397 (which is gone in python 3.0).
398 + 3.0 compatibility module docutils._compat
400 + Drop 2.2 compatibility workarounds.
401 + Drop extras/optparse.py and extras/textwrap.py
402 (stdlib modules since 2.3).
404 - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
405 - Unix man page export: manpage writer moved from sandbox to Doctutils
408 - Apply [ 1719345 ] Galician translation
409 - Apply [ 1905741 ] Polish translation
410 - Apply [ 1878977 ] make_id(): deaccent characters.
411 - Apply [ 2029251 ] return nonzero when tests fail.
412 - Fix [ 1692788 ] allow UTF-8 in style sheets.
413 - Fix [ 2781629 ] support non-ASCII chars in file names.
414 - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
415 - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
416 - Fix [ 2821266 ] --strict option works now like --halt=info.
417 - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
418 - Fix [ 1627229 ] hyperlink references in substitutions.
420 - The "newlatex" writer is orphaned.
424 - Documented Unicode characters allowed as inline markup openers,
425 closers, and delimiters.
426 - Allow units for all length specifications.
427 - Allow percent sign in "scale" argument of "figure" and "image" directives.
428 - Bugfix: The "figalign" argument of a figure now works as intended
429 (aligning the figure, not its contents).
430 - Align images with class "align-[right|center|left]"
431 (allows setting the alignment of an image in a figure).
435 - Added ``Element.__contains__`` method, for the in-operator.
437 * docutils/parsers/rst/states.py:
439 - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
440 - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
441 " " (non-breaking space), and "¡ ¿" openers.
443 * docutils/parsers/directives/misc.py:
445 - Added ``start-line`` and ``end-line`` options to "include"
446 directive to select a range of lines.
447 - Hard tabs in literal inclusions are replaced by spaces. This is
448 configurable via the new ``tab-width`` option of the "include" directive
449 (a negative tab-width prevents tab expansion).
453 - Add ``get_stylesheet_list`` function.
454 - Apply [ 2834836 ] print info at halt
456 * docutils/transforms/universal.py:
458 - Raise default priority of StripClasses to exclude stripped classes from
461 * docutils/writers/html4css1/__init__.py:
463 - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
464 separated list of stylesheets.
465 - Address [ 1938891 ] Inline literal text creates "pre" span only when
466 needed to prevent inter-word line wraps.
467 - Use `translate` method instead of repeated `replace` calls.
468 - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
469 classes to allow CSS styling that does not interfere with other
470 table-using constructs (field lists, citations, ...).
472 * docutils/writers/newlatex2e/__init__.py:
474 - Apply [ 1612821 ] Double quotes in literal text in Italian/German
476 * docutils/writers/latex2e/__init__.py (see also
477 `<docs/user/docutils-05-compat.sty.html>`__) :
479 - Add ``--embed-stylesheet`` option.
480 - Apply [ 1474017 ] image vertical alignment is reversed.
481 - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
482 - Change: has_key for dictionaries (not Nodes) to in-operator.
483 - Merge adjacent citations into one latex cite command.
484 - Failsave implementation of custom roles. LaTeX compilation now ignores
485 unknown classes instead of aborting with an error.
486 - Support custom roles based on standard roles.
487 - LaTeX packages can be used as ``--stylesheet`` arguments without
488 restriction. (A style sheet is now referenced with the ``\usepackage``
489 command, if it ends with ``.sty`` or has no extension.)
490 - Add ``bp`` to lenghts without unit (prevents LaTex errors).
491 - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
492 - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
493 2005-02-04 as a configurable length unit).
494 - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
495 if font-encoding is set to ''. LaTeX defaults to OT1 then.
496 - Set sub- and superscript role argument in text mode not as math.
497 Use a custom role based on sub-/superscript if you want italic shape.
498 - Shorter preamble and less dependencies: Load packages and define macros
499 only if required in the document.
500 - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
501 - New custom environments and commands with optional "classes" argument.
502 - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
503 - Better conformance to Docutils specifications with ``--use-latex-toc``.
504 Support for LaTeX generated ToC also with unnumbered sections.
505 - If 'sectnum_xform' is False, the 'sectnum' directive triggers
506 section numbering by LaTeX.
507 - Use default font in admonitions and sidebar.
508 - Align of image in a figure defaults to 'center'.
509 - Bugfix: Newlines around targets and references prevent run-together
511 - Fix internal hyperlinks.
512 - Use class defaults for page margins ('typearea' now optional).
513 - Float placement made configurable, default changed to "here definitely".
514 - Typeset generic topic as "quote block with title".
515 - Use template (file and configuration option).
516 - In the default template, load cmap.sty (fix text extraction in PDF) and
517 fixltx2e.sty (LaTeX patches, \textsubscript).
518 - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
519 - Use `translate` instead of repeated `replace` calls for text encoding.
520 - Hyperlinked footnotes and support for symbol footnotes and
521 ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
522 - Complete pairs of binary options
523 (``--figure-footnotes, --figure-citations, --link-stylesheet``,
524 ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
526 - font-encoding: "T1" (formerly implicitely set by 'ae').
527 - use-latex-toc: true (ToC with page numbers).
528 - use-latex-footnotes: true (no mixup with figures).
530 * docutils/writers/manpage.py
532 - Do not print version at document end, this is done by the viewer.
533 - Do not print date at document end, this is done by the viewer.
534 - Fix storage of docinfo fields for none standard fields.
536 * docutils/tools/rst2man.py
538 Release 0.5 (2008-06-25)
539 ========================
541 * docutils/languages/he.py: Added to project: Hebrew mappings by
544 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
545 mappings by Meir Kriheli.
547 * docutils/frontend.py:
549 - Configuration files are now assumed and required to be
551 - Paths of applied configuration files are now recorded in the
552 runtime setting ``_config_files`` (accessible via
553 ``--dump-settings``).
554 - Added ``--strip-elements-with-class`` and ``--strip-class``
555 options (``strip_elements_with_classes`` and ``strip_classes``
560 - Added code to determine the input encoding from data: encoding
561 declarations or the presence of byte order marks (UTF-8 & UTF-16).
562 - Added support for IronPython 1.0.
566 - Added ``document.__getstate__`` method, for pickling.
568 * docutils/parsers/rst/states.py:
570 - Allow ``+`` and ``:`` in reference names.
571 - Unquoted targets beginning with an underscore (``.. __target:
572 URI``) are no longer accepted.
573 - Added support for multiple attributions in a physical block quote
574 (indented text block), dividing it into multiple logical block
576 - Added support for unicode bullets in bullet lists: "•", "‣", and
578 - Added support for new object-oriented directive interface,
579 retaining compatibility to the old functional interface.
580 - Added support for throwing ``DirectiveError``'s from within
583 * docutils/parsers/rst/__init__.py:
585 - Added ``Directive`` base class.
586 - Added ``DirectiveError`` base class.
587 - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
590 * docutils/parsers/directives/:
592 - Refactored all reStructuredText directives to use the new
593 object-oriented directive interface. Errors are now (mostly)
594 thrown using the new ``DirectiveError`` class.
596 * docutils/parsers/directives/misc.py:
598 - Added ``start-after`` and ``end-before`` options to ``include``
599 directive; thanks to Stefan Rank.
601 * docutils/transforms/universal.py:
603 - Added ``StripClassesAndElements`` transform to remove from the
604 document tree all elements with classes in
605 ``settings.strip_elements_with_classes`` and all "classes"
606 attribute values in ``self.document.settings.strip_classes``.
608 * docutils/transforms/writer_aux.py:
610 - Added ``Admonitions`` transform to transform specific admonitions
611 (like ``note``, ``warning``, etc.) into generic admonitions with a
614 * docutils/writers/html4css1/__init__.py:
616 - Moved template functionality from the PEP/HTML writer here.
617 - Expanded the fragments available in the ``parts`` attribute.
618 - Moved ``id`` attributes from titles to surrounding ``div``
620 - Dropped all ``name`` attributes of ``a`` elements (``id`` is
621 universally supported now).
622 - ``template.txt`` is now opened in text mode instead of binary mode
623 (to ensure Windows compatibility).
624 - ``a`` elements now have an "internal" or "external" class,
625 depending on reference type.
627 * docutils/writers/html4css1/template.txt: Added to project.
629 * docutils/writers/pep_html/:
631 - Moved template functionality to the HTML writer.
633 * docutils/writers/s5_html/__init__.py:
635 - Added ``view_mode`` & ``hidden_controls`` settings
636 (``--view-mode`` & ``--hidden-controls/--visible-controls``
639 * docutils/writers/latex2e/__init__.py:
641 - Add ``--literal-block-env``
642 - Fix: escaping ``%`` in href urls.
643 - Move usepackage hyperref after stylesheet inclusion.
644 - Fix: scrartcl does not have chapter but scrreprt.
645 - Add newline after ``\end{verbatim}``.
646 - Merge smaller differences from latex2e_adaptive_preamble.
647 - Add ``use-part-section``.
648 - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
649 - Using leavemode option_list no longer needs to check if parent
650 is a definition list.
651 - Append ``\leavemode`` to definition list terms.
652 - No longer write visit\_/depart_definition_list_item comments to
654 - Table column width with 3 decimal places.
655 - Add table stubs support (boldfont).
656 - Add assemble_parts to writer.
657 - Add simply support for nested tables.
658 - Fix verbatim in tables if use-verbatim-when-possible.
659 - Use section commands down to subparagraph.
660 - Put ensuremath around some latin1 chars.
661 - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
662 - New option ``--use-bibtex=style,db1,db2``.
663 - New option ``--reference-label`` to allow usage of LaTeX ref for
664 labels in section references.
665 - Add a label after every section to support sectionnumbers as reference
667 - Fix: bug# 1605376 rst2latex: bad options group list
668 - Remove inactive code for use_optionlist_for_option_list.
669 - Remove latex comments from option_list output.
670 - Fix: bug# 1612270 double qoutes in italian literal.
671 - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
672 - Add option --use-latex-abstract.
673 - Image width unit ``px`` is translated to ``pt``.
674 - Add image height support.
675 - Fix: image width ``70%`` is converted ``0.700\linewidth``.
677 - Fix: Do not escape underscores in citation reference labels if
678 use-latex-citations is set.
679 - Use centering instead of center for figure contents, to avoid vertical
681 - Recognize table class: borderless, nolines, booktabs, standard.
682 - Fix: Renaming contents section does not work with latex writer; SF
684 - Applied patch for custom roles with classes from Edward Loper.
685 - Fixed bug that caused crashes with more than 256 lists.
687 * docutils/writers/pep_html/__init__.py:
689 - Changed to support new python.org website structure and
692 * docs/howto/security.txt: "Deploying Docutils Securely", added to
695 * tools/buildhtml.py:
697 -- Added ``ignore`` setting to exclude a list of shell patterns
698 (default: ``.svn:CVS``).
700 * tools/editors/emacs/rst.el:
702 - Changed license to "GPL".
703 - Added ``rst-straighten-decorations`` function.
704 - The ``compile`` module is now always loaded.
705 - Added ``rst-toggle-line-block`` function.
706 - Headings consisting only of non-ASCII characters are now
707 recognized by ``rst-toc`` and ``rst-adjust``.
708 - Added font-lock support for multi-line comments where the first
709 comment line is empty.
710 - Added ``(require 'font-lock)``.
714 - Provide descriptive error message if distutils is missing.
717 Release 0.4 (2006-01-09)
718 ========================
722 - Updated the project policies for trunk/branch development &
725 * docutils/__init__.py:
727 - Added ``__version_details__`` attribute to describe code source
728 (repository/snapshot/release).
729 - Replaced ``default_transforms`` attribute of TransformSpec with
730 ``get_transforms()`` method.
734 - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
735 functions, for document tree extraction and reprocessing.
739 - Added ``DocTreeInput`` class, for reprocessing existing documents.
740 - Added support for non-Unicode (e.g. binary) writer output.
744 - Re-introduced ``Targetable.indirect_reference_name``, for
745 MoinMoin/reST compatibility (removed in r3124/r3129).
746 - Added ``serial_escape`` function; escapes string values that are
747 elements of a list, for serialization. Modified Docutils-XML
748 writing (``Element._dom_node``) and pseudo-XML writing
749 (``Element.starttag``) to use ``serial_escape``.
750 - Added ``Node.deepcopy()`` method.
751 - Removed the internal lists ``document.substitution_refs``,
752 ``document.anonymous_refs``, and ``document.anonymous_targets``.
753 - Added a "container" element.
754 - Fixed bug where values of list-valued attributes of elements
755 originating from custom interpreted text roles (i.e., with custom
756 classes) were being shared between element instances. Reported by
759 * docutils/statemachine.py:
761 - Added trailing whitespace stripping to ``string2lines()``.
762 - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
763 Asian double-width character support.
767 - Added ``east_asian_column_width()`` for double-width character
770 * docutils/languages/ja.py: Added to project: Japanese mappings by
773 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
774 mappings by Panjunyong.
776 * docutils/parsers/null.py: Added to project; a do-nothing parser.
778 * docutils/parsers/rst/__init__.py:
780 - Added validator to tab_width setting, with test. Closes SF bug
781 #1212515, report from Wu Wei.
783 * docutils/parsers/rst/states.py:
785 - Fixed bug with escaped colons indicating a literal block.
786 - Fixed bug with enumerated lists (SF#1254145).
787 - Backslash-escaped colons inside of field names are now allowed.
788 - Targets (implicit and explicit), anonymous hyperlink references
789 and auto-numbered footnote references inside of substitution
790 definitions are now disallowed.
791 - Fixed bug: list items with blank first lines.
792 - Fixed bug: block quote attributions with indented second lines.
793 - Added East Asian double-width character support (Python 2.4 only).
795 * docutils/parsers/rst/tableparser.py:
797 - Added East Asian double-width character support (Python 2.4 only).
799 * docutils/parsers/rst/directives/body.py:
801 - Added the "container" directive.
803 * docutils/parsers/rst/directives/misc.py:
805 - Added the "default-role", "title", and "date" directives.
806 - Added standard data file syntax to the "include" directive.
807 - Added support for "class" directive content.
809 * docutils/parsers/rst/directives/images.py:
811 - Added ``indirect_reference_name`` support for images with a target
813 - Added support for image width and height units.
814 - Fixed bug with image "target" options.
816 * docutils/parsers/rst/directives/references.py:
818 - Added "class" attribute to "target-notes" directive, for
819 footnote_reference classes.
821 * docutils/parsers/rst/include/: Directory added to project; contains
822 standard data files for the "include" directive. Initial contents:
823 character entity substitution definition sets, and a set of
824 definitions for S5/HTML presentations.
826 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
827 mappings by David Goodger.
829 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
830 Simplified Chinese mappings by Panjunyong.
832 * docutils/readers/__init__.py:
834 - Added universal.Decorations and universal.ExposeInternals
835 transforms as default transforms for all readers.
836 - Added ``ReReader`` base class for readers that reread an existing
839 * docutils/readers/doctree.py: Added to project; a reader for existing
842 * docutils/transforms/frontmatter.py:
844 - Fixed the DocInfo transform to handle SVN-style expansion of the
846 - In ``DocInfo.extract_authors``, treat the contents of "authors"
849 * docutils/transforms/misc.py:
851 - Added misc.Transitions transform, extracted from
852 universal.FinalChecks.
854 * docutils/transforms/references.py:
856 - Added references.DanglingReferences transform, extracted from
857 universal.FinalChecks.
858 - Fixed bug with doubly-indirect substitutions.
859 - Added footnote_reference classes attribute to "TargetNotes".
860 - Fixed bug with circular substitution definitions that put Docutils
861 into an infinite loop.
863 * docutils/transforms/universal.py:
865 - Added universal.ExposeInternals transform, extracted from
866 universal.FinalChecks.
867 - Removed universal.FinalChecks transform (logic has been moved to
868 several new transforms).
869 - Fixed bug with the "expose_internals" setting and Text nodes
870 (exposed by the "rawsource" internal attribute).
871 - Added the universal.StripComments transform, implementation of the
872 "strip_comments" setting.
874 * docutils/transforms/writer_aux.py: Added to project; auxiliary
875 transforms for writers.
877 - Added ``Compound`` transform, which flattens compound paragraphs.
879 * docutils/writers/: Several writer modules (html4css1.py) were
880 converted into packages. Support modules and data files have been
881 moved into the packages. The stylesheets for the HTML writers are
882 now installed along with the code, the code knows where to find
883 them, and the default is to use them (actually, to embed them).
884 Some adjustments to configuration files may be necessary. The
885 easiest way to obtain the new default behavior is to remove all
886 settings whose name includes "stylesheet".
888 * docutils/writers/__init__.py:
890 - Added universal.Messages and universal.FilterMessages transforms
891 as default transforms for all writers.
892 - Added ``UnfilteredWriter`` base class for writers that pass the
893 document tree on unchanged.
895 * docutils/writers/docutils_xml.py:
897 - Made ``xmlcharrefreplace`` the default output encoding error
900 * docutils/writers/html4css1/:
902 - Added support for image width and height units.
903 - Made ``xmlcharrefreplace`` the default output encoding error
905 - Made ``--embed-stylesheet`` the default rather than
906 ``--link-stylesheet``.
907 - Moved "id" attribute from container (section etc.) to title's <a>
908 tag, to be on the same tag as "name".
909 (!!! To be reverted in Docutils 0.5.)
910 - Added vertical space between fields of field lists.
911 - Added ``--compact-field-lists`` option to remove vertical space in
913 - Made cloaking of email addresses with ``--cloak-email-addresses``
915 - Fixed support for centered images.
916 - Added support for class="compact" & class="open" lists.
918 * docutils/writers/latex2e/:
920 - Underscores in citekeys are no longer escaped.
922 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
923 mapping of Unicode characters to LaTeX equivalents.
925 * docutils/writers/s5_html/: Package added to project; writer for
928 * docs/dev/distributing.txt: Added to project; guide for distributors
929 (package maintainers).
931 * docs/dev/hacking.txt: Added to project; guide for developers.
933 * docs/ref/doctree.txt:
935 - Updated for plural attributes "classes", "ids", "names",
937 - Added the "container" element.
939 * docs/ref/docutils.dtd:
941 - Updated for plural attributes "classes", "ids", "names",
944 * docs/user/emacs.txt: Added to project; a document about Emacs
945 support for reStructuredText and Docutils.
947 * docs/user/links.txt: Added to project; lists of Docutils-related
950 * docs/user/mailing-lists.txt: Added to project; information about
951 Docutils-related mailing lists and how to access them.
953 * docs/user/slide-shows.txt: Added to project; example of and docs for
954 the S5/HTML writer (``rst2s5.py`` front end).
956 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
957 Files", added to project.
959 * test/coverage.sh: Added to project; test coverage script.
961 * test/DocutilsTestSupport.py:
963 - Added support for specifying runtime settings at the suite level.
965 * test/test_functional.py:
967 - Added the ``clear_output_directory`` function.
968 - Added support for ``_test_more`` functions in functional test
971 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
973 * tools/rstpep2html.py: Renamed from pep.py.
975 * tools/dev/create_unimap.py: Added to project; script to create the
976 docutils/writers/unimap_latex.py mapping file.
978 * tools/dev/profile_docutils.py: Added to project; profiler script.
980 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
982 * tools/editors/emacs/restructuredtext.el,
983 tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
984 Removed from project; the functionality is now contained in rst.el.
986 * tools/editors/emacs/rst.el: Added to project. Added many features
987 and fixed many bugs. See docs/user/emacs.txt for details.
989 * tools/stylesheets: Removed from project. Stylesheets have been
990 renamed and moved into writer packages.
993 Release 0.3.9 (2005-05-26)
994 ==========================
998 - Eliminated and replaced all uses of the old string attributes
999 ``id``, ``name``, ``dupname`` and ``class`` with references to the
1000 new list attributes ``ids``, ``names``, ``dupnames`` and
1001 ``classes`` throughout the whole source tree.
1005 - Enabled ``--dump-*`` options when ``--traceback`` specified,
1006 allowing for easier debugging.
1007 - In ``Publisher.publish()``, expanded the generic top-level
1010 * docutils/examples.py:
1012 - Added ``internals`` function for exploration.
1016 - Fixed ``Input.decode`` method to apply heuristics only if no
1017 encoding is explicitly given, and to provide better reporting of
1019 - The ``Input.decode`` method now removes byte order marks (BOMs)
1022 * docutils/nodes.py:
1024 - ``image`` element class changed to subclass of Element, not
1025 TextElement (it's an empty element, and cannot contain text).
1026 - Added ``attr_defaults`` dictionary for default attribute values.
1027 - Added empty list as default value for the following attributes:
1028 ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
1029 - Added ``document.decoration`` attribute,
1030 ``document.get_decoration`` method, and ``decoration.get_header``
1031 & ``.get_footer`` methods.
1032 - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
1035 * docutils/utils.py:
1037 - Removed ``docutils.utils.Reporter.categories``,
1038 ``docutils.utils.ConditionSet``, and all references to them, to
1039 simplify error reporting.
1041 * docutils/languages/nl.py: Added to project; Dutch mappings by
1044 * docutils/parsers/rst/__init__.py:
1046 - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
1048 * docutils/parsers/rst/states.py:
1050 - Added check for escaped at-mark to prevent email address recognition.
1051 - Fixed option lists to allow spaces inside ``<angle-bracketed option
1053 - Allowed whitespace in paths and URLs.
1054 - Added auto-enumerated list items.
1055 - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
1057 - Added support for table stub columns.
1059 * docutils/parsers/rst/directives/__init__.py:
1061 - Allowed whitespace in paths (``path`` function).
1062 - Added ``uri`` directive option conversion function.
1064 * docutils/parsers/rst/directives/body.py:
1066 - Fixed illegal context bug with "topic" directive (allowed within
1067 sidebars; not within body elements).
1069 * docutils/parsers/rst/directives/images.py:
1071 - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
1072 - Added support for the ``file_insertion_enabled`` setting in the
1073 "figure" directive (disables "figwidth" option).
1074 - "image" directive: added checks for valid values of "align" option,
1075 depending on context. "figure" directive: added specialized
1076 "align" option and attribute on "figure" element.
1077 - Made ":figwidth: image" option of "figure" directive work again.
1078 - Fixed bug with reference names containing uppercase letters
1079 (e.g. ``Name_``) in "target" option of "image" directive.
1081 * docutils/parsers/rst/directives/misc.py:
1083 - Fixed "include" and "raw" directives to catch text decoding
1085 - Allowed whitespace in "include" & "raw" directive paths.
1086 - Added support for ``file_insertion_enabled`` & ``raw_enabled``
1087 settings in "include" & "raw" directives.
1089 * docutils/parsers/rst/directives/parts.py:
1091 - Added "header" & "footer" directives.
1092 - Fixed illegal context bug with "contents" directive (topics
1093 allowed within sidebars; not within body elements).
1095 * docutils/parsers/rst/directives/tables.py:
1097 - Added "list-table" directive.
1098 - Caught empty CSV table bug.
1099 - Added support for the ``file_insertion_enabled`` setting in the
1100 "csv-table" directive.
1101 - Added ``stub-columns`` option to "csv-table" and "list-table"
1104 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1105 mappings by Martijn Pieters.
1107 * docutils/readers/standalone.py:
1109 - Added ``--section-subtitles`` and ``--no-section-subtitles``
1110 options to activate or deactivate the SectSubTitle transform.
1112 * docutils/transforms/frontmatter.py:
1114 - Added SectSubTitle transform to promote titles of lone
1115 subsections to subtitles.
1117 * docutils/transforms/references.py:
1119 - Fixed mislocated internal targets bug, by propagating internal
1120 targets to the next node, making use of the newly added support
1121 for multiple names and IDs.
1122 - Fixed duplicate footnote label bug.
1123 - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1126 * docutils/writers/html4css1.py:
1128 - Fixed unencoded stylesheet reference bug (characters like "&" in
1129 stylesheet references).
1130 - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1132 - Added support for multiple IDs per node by creating empty ``span``
1134 - Added the ``field_name_limit`` & ``option_limit`` settings &
1136 - Added support for table stub columns.
1137 - Added support for the ``align`` attribute on ``figure`` elements.
1138 - Added the ``cloak_email_addresses`` setting & support.
1139 - Added ``html_prolog``, ``html_head``, ``html_body``,
1140 ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1141 ``docutils.core.publish_parts``.
1142 - Added support for section subtitles.
1144 * docutils/writers/latex2e.py:
1146 - Fixed tables starting with more than one multirow cell.
1147 - Improved --use-latex-docinfo so that organization/contact/address
1148 fields are lumped with the last author field and appear on the
1150 - Made sure the titlepage is always shown with --use-latex-docinfo,
1151 even if the document has no title.
1152 - Made sure that latex doesn't fill in today's date if no date field
1154 - Added support for section subtitles.
1156 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1157 (under development).
1159 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1161 * docs/api/publisher.txt:
1163 - Added "``publish_parts`` Details" section.
1165 * docutils/dev/repository.txt: Added to project; information about the
1166 Docutils Subversion repository.
1168 * docs/ref/docutils.dtd:
1170 - Added a ``stub`` attribute to the ``colspec`` element via the
1171 ``tbl.colspec.att`` parameter entity.
1172 - Allowed topic elements within sidebars
1173 - Added an ``align`` attribute to the ``figure`` element.
1175 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1179 Release 0.3.7 (2004-12-24)
1180 ==========================
1182 * docutils/frontend.py:
1184 - Added options: --input-encoding-error-handler,
1185 --record-dependencies, --leave-footnote-reference-space,
1187 - Added command-line and config file support for "overrides" setting
1192 - Added support for input encoding error handler.
1194 * docutils/nodes.py:
1196 - Added dispatch_visit and dispatch_departure methods to
1197 NodeVisitor; useful as a hook for Visitors.
1198 - Changed structure of ``line_block``; added ``line``.
1199 - Added ``compound`` node class.
1200 - Added a mechanism for Visitors to transitionally ignore new node
1203 * docutils/utils.py:
1205 - Moved ``escape2null`` and ``unescape`` functions from
1206 docutils/parsers/rst/states.py.
1208 * docutils/parsers/rst/roles.py:
1211 - Changed role function API: the "text" parameter now takes
1212 null-escaped interpreted text content.
1214 * docutils/parsers/rst/states.py:
1216 - Fixed bug where a "role" directive in a nested parse would crash
1217 the parser; the state machine's "language" attribute was not being
1219 - Added support for line block syntax.
1220 - Fixed directive parsing bug: argument-less directives didn't
1221 notice that arguments were present.
1222 - Removed error checking for transitions.
1223 - Added support for multiple classifiers in definition list items.
1224 - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1225 - Changed role function API: the "text" parameter now takes
1226 null-escaped interpreted text content.
1227 - Empty sections and documents are allowed now.
1229 * docutils/parsers/rst/directives/__init__.py:
1231 - Added ``encoding`` directive option conversion function.
1232 - Allow multiple class names in class_option conversion function.
1234 * docutils/parsers/rst/directives/body.py:
1236 - Converted the line-block directive to use the new structure.
1237 - Extracted the old line-block functionality to the ``block``
1238 function (still used).
1239 - Added ``compound`` directive (thanks to Lea Wiemann).
1241 * docutils/parsers/rst/directives/misc.py:
1243 - Added "encoding" option to "include" and "raw" directives.
1244 - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1245 - Allow multiple class names in the "class" directive.
1247 * docutils/parsers/rst/directives/parts.py:
1249 - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1250 options. Thanks to Lele Gaifax.
1252 * docutils/parsers/rst/directives/tables.py:
1254 - Added "encoding" directive to "csv-table" directive.
1255 - Added workaround for lack of Unicode support in csv.py, for
1256 non-ASCII CSV input.
1258 * docutils/transforms/misc.py:
1260 - Fixed bug when multiple "class" directives are applied to a single
1262 - Enabled multiple format names for "raw" directive.
1264 * docutils/transforms/references.py:
1266 - Added support for trimming whitespace from beside substitution
1269 * docutils/transforms/universal.py:
1271 - FinalChecks now checks for illegal transitions and moves
1272 transitions between sections.
1274 * docutils/writers/html4css1.py:
1276 - HTMLTranslator.encode now converts U+00A0 to " ".
1277 - "stylesheet" and "stylesheet_path" settings are now mutually
1279 - Added support for the new line_block/line structure.
1280 - --footnote-references now overrides
1281 --trim-footnote-reference-space, if applicable.
1282 - Added support for ``compound`` elements.
1283 - Enabled multiple format names for "raw" directive.
1284 - ``<p>`` tags of a paragraph which is the only visible child of the
1285 document node are no longer stripped.
1286 - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1287 new method ``should_be_compact_paragraph()``.
1288 - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1290 - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1291 the output if they have their ``class`` attribute set.
1292 - The whole document is now surrounded by a ``<div
1293 class="document">`` element.
1294 - Body-level images are now wrapped by their own ``<div>`` elements,
1295 with image classes copied to the wrapper, and for images which
1296 have the ``:align:`` option set, the surrounding ``<div>`` now
1297 receives a class attribute (like ``class="align-left"``).
1299 * docutils/writers/latex2e.py:
1301 - no newline after depart_term.
1302 - Added translations for some Unicode quotes.
1303 - Added option "font-encoding", made package AE the default.
1304 - "stylesheet" and "stylesheet_path" settings are now mutually
1306 - --footnote-references now overrides
1307 --trim-footnote-reference-space, if applicable.
1308 - The footnote label style now matches the footnote reference style
1309 ("brackets" or "superscript").
1310 - Added support for ``compound`` elements.
1311 - Enabled multiple format names for "raw" directive.
1313 * docs/ref/docutils.dtd:
1315 - Changed structure of the ``line_block`` element; added ``line``.
1316 - Added ``compound`` element.
1317 - Added "ltrim" and "rtrim" attributes to
1318 ``substitution_definition`` element.
1319 - Enabled multiple format names for ``raw`` element.
1320 - Enabled multiple classifiers in ``definition_list_item`` elements.
1322 * docs/ref/rst/directives.txt
1324 - Marked "line-block" as deprecated.
1325 - "Class" directive now allows multiple class names.
1326 - Added "Rationale for Class Attribute Value Conversion".
1327 - Added warning about "raw" overuse/abuse.
1329 * docs/ref/rst/restructuredtext.txt:
1331 - Added syntax for line blocks.
1332 - Definition list items may have multiple classifiers.
1334 * docs/ref/rst/roles.txt:
1338 * tools/stylesheets/default.css:
1340 - Added support for the new line_block structure.
1341 - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1344 Release 0.3.5 (2004-07-29)
1345 ==========================
1349 * _`Documentation cleanup/reorganization`.
1351 - Created new subdirectories of docs/:
1353 * ``docs/user/``: introductory/tutorial material for end-users
1354 * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1355 * ``docs/api/``: API reference material for client-developers
1356 * ``docs/ref/``: reference material for all groups
1357 * ``docs/howto/``: for component-developers and core-developers
1358 * ``docs/peps/``: Python Enhancement Proposals
1360 - Moved ``docs/*`` to ``docs/user/``.
1361 - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1362 ``spec/`` to ``docs/dev``.
1363 - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1364 ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1365 - Moved ``alternatives.txt``, and ``problems.txt`` from
1366 ``spec/rst/`` to ``docs/dev/rst/``.
1367 - Moved ``reStructuredText.txt``, ``directives.txt``,
1368 ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1369 to ``docs/ref/rst/``. Renamed ``interpreted.txt`` to
1370 ``roles.txt``, ``reStructuredText.txt`` to
1371 ``restructuredtext.txt``.
1372 - Moved ``spec/howto/`` to ``docs/howto``.
1374 In order to keep the CVS history of moved files, we supplied
1375 SourceForge with a `script for modifying the Docutils CVS
1378 __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1380 After running the cleanup script:
1382 - Added ``docs/index.txt``.
1383 - Added a ``.htaccess`` file to the ``web`` module, containing
1384 redirects for all old paths to new paths. They'll preserve
1385 fragments (the "#name" part of a URL), and won't clutter up the
1386 file system, and will correct the URL in the user's browser.
1387 - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1388 ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1389 the "To Do" list itself in ``docs/dev/todo.txt``.
1390 - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1391 section of ``docs/dev/todo.txt``.
1392 - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1393 - Added "How To Report Bugs" to ``BUGS.txt``.
1394 - Went through all the sources and docs (including under web/) and
1395 updated links. Mostly done by Lea Wiemann; thanks Lea!
1396 (Still need to update links in the sandboxes.)
1400 * BUGS.txt: Added to project.
1402 * THANKS.txt: Added to project.
1404 * docutils/__init__.py:
1406 - 0.3.4: Post-release.
1410 - Added special error handling & advice for UnicodeEncodeError.
1411 - Refactored Publisher.publish (simplified exception handling &
1412 extracted debug dumps).
1413 - Renamed "enable_exit" parameter of convenience functions to
1414 "enable_exit_status".
1415 - Enabled traceback (exception propagation) by default in
1416 programmatic convenience functions.
1417 - Now publish_file and publish_cmdline convenience functions return
1418 the encoded string results in addition to their regular I/O.
1419 - Extracted common code from publish_file, publish_string, and
1420 publish_parts, into new publish_programmatically. Extracted
1421 settings code to ``Publisher.process_programmatic_settings``.
1422 - In Publisher.publish, disabled ``settings_overrides`` when
1423 ``settings`` is supplied; redundant.
1425 * docutils/frontend.py:
1427 - Added help text for "--output-encoding-error-handler" and
1428 "--error-encoding-error-handler".
1429 - Renamed "--exit" to "--exit-status".
1430 - Simplified default-setting code.
1432 * docutils/parsers/rst/__init__.py:
1434 - Added "--pep-base-url" and "--rfc-base-url" options.
1436 * docutils/parsers/rst/states.py:
1438 - Made URI recognition more aggressive and intelligent.
1440 * docutils/parsers/rst/directives/__init__.py:
1442 - Added several directive option conversion functions.
1444 * docutils/parsers/rst/directives/body.py:
1446 - Moved "table" directive to tables.py.
1448 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1451 * docutils/writers/latex2e.py:
1453 - Added "--table-style=(standard|booktabs|nolines)"
1454 - figures get "here" option (LaTeX per default puts them at bottom),
1455 and figure content is centered.
1456 - Rowspan support for tables.
1457 - Fix: admonition titles before first section.
1458 - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1459 - Replave ``_`` in literal by an underlined blank, because it has the correct
1461 - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1462 - A few unicode replacements, if output_encoding != utf
1463 - Add "--graphicx-option".
1464 - Indent literal-blocks.
1465 - Fix: omit ``\maketitle`` when there is no document title.
1467 * docs/index.txt: "Docutils Project Documentation Overview", added to
1470 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1471 Tool", added to project.
1473 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1475 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1477 * docs/dev/policies.txt: Added to project (extracted from
1478 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1480 * docs/dev/release.txt: Added to project (extracted from
1481 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1483 * docs/dev/testing.txt: Added to project.
1485 * docs/dev/website.txt: Added to project (extracted from
1486 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1488 * docs/ref/rst/directives.txt:
1490 - Added directives: "table", "csv-table".
1492 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1493 added to project. 1 page for syntax, and a 1 page reference for
1494 directives and roles. Source text to be used as-is; not meant to be
1497 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1498 with a change of title.
1500 * test/functional/, contents, and test/test_functional.py: Added to
1503 * tools/buildhtml.py: Fixed bug with config file handling.
1505 * tools/html.py: Removed from project (duplicate of rst2html.py).
1507 * tools/pep2html.py: Removed from project (duplicate of Python's
1508 nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1509 Docutils-related PEPs in docs/peps/).
1511 * tools/rst2pseudoxml.py: Renamed from publish.py.
1513 * tools/rst2xml.py: Renamed from docutils-xml.py.
1515 * tools/test.txt: Removed from project; moved to
1516 docs/user/rst/demo.txt.
1518 * setup.py: Now also installs ``rst2latex.py``.
1521 Release 0.3.3 (2004-05-09)
1522 ==========================
1524 * docutils/__init__.py:
1526 - 0.3.1: Reorganized config file format (multiple sections); see
1528 - Added unknown_reference_resolvers attribute to TransformSpec.
1529 - 0.3.2: Interpreted text reorganization.
1534 - Catch system messages to stop tracebacks from parsing errors.
1535 - Catch exceptions during processing report & exit without
1536 tracebacks, except when "--traceback" used.
1537 - Reordered components for OptionParser; application comes last.
1538 - Added "config_section" parameter to several methods and functions,
1539 allowing front ends to easily specify their config file sections.
1540 - Added publish_parts convenience function to allow access to individual
1541 parts of a document.
1543 * docutils/examples.py: Added to project; practical examples of
1544 Docutils client code, to be used as-is or as models for variations.
1546 * docutils/frontend.py:
1548 - Added "--traceback" & "--no-traceback" options ("traceback"
1550 - Implemented support for config file reorganization:
1551 ``standard_config_files`` moved from ``ConfigParser`` to
1552 ``OptionParser``; added
1553 ``OptionParser.get_config_file_settings()`` and
1554 ``.get_standard_config_settings()``; support for old "[options]"
1555 section (with deprecation warning) and mapping from old to new
1557 - Reimplemented setting validation.
1558 - Enabled flexible boolean values: yes/no, true/false, on/off.
1559 - Added ``Values``, a subclass of ``optparse.Values``, with support
1560 for list setting attributes.
1561 - Added support for new ``DOCUTILSCONFIG`` environment variable;
1562 thanks to Beni Cherniavsky.
1563 - Added "--no-section-numbering" option.
1567 - Catch IOErrors when opening source & destination files, report &
1568 exit without tracebacks. Added ``handle_io_errors`` parameter to
1569 ``FileInput`` & ``FileOutput`` to enable caller error handling.
1571 * docutils/nodes.py:
1573 - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1574 method definitions (via ``exec``) to dynamic assignments (via
1575 ``setattr``); thanks to Roman Suzi.
1576 - Encapsulated visitor dynamic assignments in a function; thanks to
1578 - Added indirect_reference_name attribute to the Targetable
1579 class. This attribute holds the whitespace_normalized_name
1580 (contains mixed case) of a target.
1582 * docutils/statemachine.py:
1584 - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1585 - Added ``StringList.get_2D_block``.
1587 * docutils/utils.py:
1589 - Added "level" attribute to SystemMessage exceptions.
1591 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1594 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1597 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1598 Marcelo Huerta San Martin.
1600 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1601 mappings by Lalo Martins.
1603 * docutils/languages/ru.py: Added to project; Russian mappings by
1606 * docutils/parsers/rst/roles.py: Added to project. Contains
1607 interpreted text role functions, a registry for interpreted text
1608 roles, and an API for adding to and retrieving from the registry.
1609 Contributed by Edward Loper.
1611 * docutils/parsers/rst/states.py:
1613 - Updated ``RSTState.nested_parse`` for "include" in table cells.
1614 - Allowed true em-dash character and "---" as block quote
1616 - Added support for <angle-bracketed> complex option arguments
1618 - Fixed handling of backslashes in substitution definitions.
1619 - Fixed off-by-1 error with extra whitespace after substitution
1620 definition directive.
1621 - Added inline markup parsing to field lists' field names.
1622 - Added support for quoted (and unindented) literal blocks.
1623 Driven in part by a bribe from Frank Siebenlist (thanks!).
1624 - Parser now handles escapes in URIs correctly.
1625 - Made embedded-URIs' reference text omittable. Idea from Beni
1627 - Refactored explicit target processing code.
1628 - Added name attribute to references containing the reference name only
1629 through whitespace_normalize_name (no case changes).
1630 - parse_target no longer returns the refname after going through
1631 normalize_name. This is now handled in make_target.
1632 - Fixed bug relating to role-less interpreted text in non-English
1634 - Reorganized interpreted text processing; moved code into the new
1635 roles.py module. Contributed by Edward Loper.
1636 - Refactored ``Body.parse_directive`` into ``run_directive`` and
1637 ``parse_directive_block``.
1639 * docutils/parsers/rst/tableparser.py:
1641 - Reworked for ``StringList``, to support "include" directives in
1644 * docutils/parsers/rst/directives/__init__.py:
1646 - Renamed ``unchanged()`` directive option conversion function to
1647 ``unchanged_required``, and added a new ``unchanged``.
1648 - Catch unicode value too high error; fixes bug 781766.
1649 - Beefed up directive error reporting.
1651 * docutils/parsers/rst/directives/body.py:
1653 - Added basic "table" directive.
1655 * docutils/parsers/rst/directives/images.py:
1657 - Added "target" option to "image" directive.
1658 - Added name attribute to references containing the reference name only
1659 through whitespace_normalize_name (no case changes).
1661 * docutils/parsers/rst/directives/misc.py:
1663 - Isolated the import of the ``urllib2`` module; was causing
1664 problems on SourceForge (``libssl.so.2`` unavailable?).
1665 - Added the "role" directive for declaring custom interpreted text
1668 * docutils/parsers/rst/directives/parts.py:
1670 - The "contents" directive does more work up-front, creating the
1671 "topic" and "title", and leaving the "pending" node for the
1672 transform. Allows earlier reference resolution; fixes subtle bug.
1674 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1675 mappings by Jannie Hofmeyr.
1677 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1678 mappings by Marek Blaha.
1680 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1681 mappings by Marcelo Huerta San Martin.
1683 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1684 Portuguese mappings by Lalo Martins.
1686 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1687 mappings by Roman Suzi.
1689 * docutils/transforms/parts.py:
1691 - The "contents" directive does more work up-front, creating the
1692 "topic" and "title", and leaving the "pending" node for the
1693 transform. Allows earlier reference resolution; fixes subtle bug.
1694 - Added support for disabling of section numbering.
1696 * docutils/transforms/references.py:
1698 - Verifying that external targets are truly targets and not indirect
1699 references. This is because we are now adding a "name" attribute to
1700 references in addition to targets. Note sure if this is correct!
1701 - Added code to hook into the unknown_reference_resolvers list for a
1702 transformer in resolve_indirect_target. This allows the
1703 unknown_reference_resolvers to keep around indirect targets which
1704 docutils doesn't know about.
1705 - Added specific error message for duplicate targets.
1707 * docutils/transforms/universal.py:
1709 - Added FilterMessages transform (removes system messages below the
1710 verbosity threshold).
1711 - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1712 to FinalCheckVisitor for application-specific handling of
1713 unresolvable references.
1714 - Added specific error message for duplicate targets.
1716 * docutils/writers/__init__.py:
1718 - Added assemble_parts method to the Writer class to allow for
1719 access to a documents individual parts.
1720 - Documented & set default for ``Writer.output`` attribute.
1722 * docutils/writers/html4css1.py:
1724 - Fixed unicode handling of attribute values (bug 760673).
1725 - Prevent duplication of "class" attribute values (bug report from
1727 - Improved table grid/border handling (prompted by report from Bob
1729 - Added support for table titles.
1730 - Added "<title />" for untitled docs, for XHTML conformance; thanks
1732 - Added functionality to keep track of individual parts of a document
1733 and store them in a dictionary as the "parts" attribute of the writer.
1734 Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1735 - Added proper support for the "scale" attribute of the "image"
1736 element. Contributed by Brent Cook.
1737 - Added ``--initial-header-level`` option.
1738 - Fixed bug: the body_pre_docinfo segment depended on there being a
1739 docinfo; if no docinfo, the document title was incorporated into
1740 the body segment. Adversely affected the publish_parts interface.
1742 * docutils/writers/latex2e.py:
1744 - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1745 about a missing file.
1746 - Added options and support: ``--compound-enumerators``,
1747 ``--section-prefix-for-enumerators``, and
1748 ``--section-enumerator-separator``. By John F Meinel Jr (SF patch
1750 - Added option ``--use-verbatim-when-possible``, to avoid
1751 problematic characters (eg, '~' in italian) in literal blocks.
1752 - It's now possible to use four section levels in the `book` and
1753 `report` LaTeX classes. The default `article` class still has
1756 * docs/config.txt: "Docutils Configuration Files", added to project.
1757 Moved config file entry descriptions from tools.txt.
1761 - Moved config file entry descriptions to config.txt.
1763 * spec/notes.txt: Continual updates. Added "Setting Up For Docutils
1766 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1767 Text Roles", added to project.
1769 * spec/rst/reStructuredText.txt:
1771 - Added description of support for <angle-bracketed> complex option
1772 arguments to option lists.
1773 - Added subsections for indented and quoted literal blocks.
1775 * test: Continually adding & updating tests.
1777 - Added test/test_settings.py & test/data/config_*.txt support
1779 - Added test/test_writers/test_htmlfragment.py.
1781 * test/DocutilsTestSupport.py:
1783 - Refactored LaTeX publisher test suite/case class names to make
1784 testing other writers easier.
1785 - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1786 to test the processing of HTML fragments which use the new
1787 publish_parts convenience function.
1789 * tools/buildhtml.py:
1791 - Added support for the "--prune" option.
1792 - Removed dependency on pep2html.py; plaintext PEPs no longer
1795 * tools/docutils.conf:
1797 - Updated for configuration file reorganization.
1799 * tools/rst2html.py:
1801 - copied from tools/html.py
1805 - added a 'scripts' section to configuration
1806 - added 'tools/rst2html.py' to the scripts section
1809 Release 0.3 (2003-06-24)
1810 ========================
1814 * Renamed "attribute" to "option" for directives/extensions.
1816 * Renamed transform method "transform" to "apply".
1818 * Renamed "options" to "settings" for runtime settings (as set by
1819 command-line options). Sometimes "option" (singular) became
1820 "settings" (plural). Some variations below:
1822 - document.options -> document.settings (stored in other objects as
1824 - option_spec -> settings_spec (not directives though)
1825 - OptionSpec -> SettingsSpec
1826 - cmdline_options -> settings_spec
1827 - relative_path_options -> relative_path_settings
1828 - option_default_overrides -> settings_default_overrides
1829 - Publisher.set_options -> Publisher.get_settings
1833 * COPYING.txt: Added "Public Domain Dedication".
1835 * FAQ.txt: Frequently asked questions, added to project.
1839 - Updated with PyPI Trove classifiers.
1840 - Conditional installation of third-party modules.
1842 * docutils/__init__.py:
1844 - Bumped version to 0.2.1 to reflect changes to I/O classes.
1845 - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1846 - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1847 - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1848 option and its effect on the PEP template & writer.
1849 - Bumped version to 0.2.4 due to changes to the PEP template &
1851 - Bumped version to 0.2.5 to reflect changes to Reporter output.
1852 - Added ``TransformSpec`` class for new transform system.
1853 - Bumped version to 0.2.6 for API changes (renaming).
1854 - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1855 convenience functions.
1856 - Added ``Component.component_type`` attribute.
1857 - Bumped version to 0.2.8 because of the internal parser switch from
1858 plain lists to the docutils.statemachine.StringList objects.
1859 - Bumped version to 0.2.9 because of the frontend.py API changes.
1860 - Bumped version to 0.2.10 due to changes to the project layout
1861 (third-party modules removed from the "docutils" package), and
1862 signature changes in ``io.Input``/``io.Output``.
1863 - Changed version to 0.3.0 for release.
1867 - Made ``publish()`` a bit more convenient.
1868 - Generalized ``Publisher.set_io``.
1869 - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1870 parameters; improved its docstring.
1871 - Added ``publish_file()`` and ``publish_string()``.
1872 - Factored ``Publisher.set_source()`` and ``.set_destination()``
1874 - Added support for "--dump-pseudo-xml", "--dump-settings", and
1875 "--dump-transforms" hidden options.
1876 - Added ``Publisher.apply_transforms()`` method.
1877 - Added ``Publisher.set_components()`` method; support for
1878 ``publish_*()`` conveninece functions.
1879 - Moved config file processing to docutils/frontend.py.
1880 - Added support for exit status ("exit_level" setting &
1881 ``enable_exit`` parameter for Publisher.publish() and convenience
1884 * docutils/frontend.py:
1886 - Check for & exit on identical source & destination paths.
1887 - Fixed bug with absolute paths & "--config".
1888 - Set non-command-line defaults in ``OptionParser.__init__()``:
1889 ``_source`` & ``_destination``.
1890 - Distributed ``relative_path_settings`` to components; updated
1891 ``OptionParser.populate_from_components()`` to combine it all.
1892 - Require list of keys in ``make_paths_absolute`` (was implicit in
1893 global ``relative_path_settings``).
1894 - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1895 "--dump-settings", and "--dump-transforms" hidden options.
1896 - Removed nasty internals-fiddling ``ConfigParser.get_section``
1897 code, replaced with correct code.
1898 - Added validation functionality for config files.
1899 - Added "--error-encoding" option/setting, "_disable_config"
1901 - Added encoding validation; updated "--input-encoding" and
1902 "--output-encoding"; added "--error-encoding-error-handler" and
1903 "--output-encoding-error-handler".
1904 - Moved config file processing from docutils/core.py.
1905 - Updated ``OptionParser.populate_from_components`` to handle new
1906 ``SettingsSpec.settings_defaults`` dict.
1907 - Added support for "-" => stdin/stdout.
1908 - Added "exit_level" setting ("--exit" option).
1912 - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1913 - Added automatic closing to ``FileInput`` and ``FileOutput``.
1914 - Delayed opening of ``FileOutput`` file until ``write()`` called.
1915 - ``FileOutput.write()`` now returns the encoded output string.
1916 - Try to get path/stream name automatically in ``FileInput`` &
1918 - Added defaults for source & destination paths.
1919 - Allow for Unicode I/O with an explicit "unicode" encoding.
1920 - Added ``Output.encode()``.
1921 - Removed dependency on runtime settings; pass encoding directly.
1922 - Recognize Unicode strings in ``Input.decode()``.
1923 - Added support for output encoding error handlers.
1925 * docutils/nodes.py:
1927 - Added "Invisible" element category class.
1928 - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1929 modification during a traversal.
1930 - Added element classes: ``line_block``, ``generated``, ``address``,
1931 ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1932 ``superscript``, ``subscript``, ``inline``
1933 - Added support for lists of nodes to ``Element.insert()``.
1934 - Fixed parent linking in ``Element.replace()``.
1935 - Added new abstract superclass ``FixedTextElement``; adds
1936 "xml:space" attribute.
1937 - Added support for "line" attribute of ``system_message`` nodes.
1938 - Added support for the observer pattern from ``utils.Reporter``.
1939 Added ``parse_messages`` and ``transform_messages`` attributes to
1940 ``document``, removed ``messages``. Added ``note_parse_message``
1941 and ``note_transform_message`` methods.
1942 - Added support for improved diagnostics:
1944 - Added "document", "source", and "line" internal attributes to
1945 ``Node``, set by ``Node.setup_child()``.
1946 - Converted variations on ``node.parent = self`` to
1947 ``self.setup_child(node)``.
1948 - Added ``document.current_source`` & ``.current_line``
1949 attributes, and ``.note_source`` observer method.
1950 - Changed "system_message" output to GNU-Tools format.
1952 - Added a "rawsource" attribute to the ``Text`` class, for text
1953 before backslash-escape resolution.
1954 - Support for new transform system.
1955 - Reworked ``pending`` element.
1956 - Fixed XML DOM bug (SF #660611).
1957 - Removed the ``interpeted`` element class and added
1958 ``title_reference``, ``abbreviation``, ``acronym``.
1959 - Made substitutions case-sensitive-but-forgiving; moved some code
1961 - Fixed Unicode bug on element attributes (report: William Dode).
1963 * docutils/optik.py: Removed from project; replaced with
1964 extras/optparse.py and extras/textwrap.py. These will be installed
1965 only if they're not already present in the Python installation.
1967 * docutils/roman.py: Moved to extras/roman.py; this will be installed
1968 only if it's not already present in the Python installation.
1970 * docutils/statemachine.py:
1972 - Factored out ``State.add_initial_transitions()`` so it can be
1974 - Converted whitespace-specific "blank" and "indent" transitions
1975 from special-case code to ordinary transitions: removed
1976 ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
1977 ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
1978 ``ws_initial_transitions`` attributes.
1979 - Removed ``State.match_transition()`` after merging it into
1981 - Added ``StateCorrection`` exception.
1982 - Added support for ``StateCorrection`` in ``StateMachine.run()``
1983 (moved ``TransitionCorrection`` support there too.)
1984 - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
1985 ``EOFError`` instead of ``IndexError``.
1986 - Added ``State.no_match`` method.
1987 - Added support for the Observer pattern, triggered by input line
1989 - Added ``strip_top`` parameter to
1990 ``StateMachineWS.get_first_known_indented``.
1991 - Made ``context`` a parameter to ``StateMachine.run()``.
1992 - Added ``ViewList`` & ``StringList`` classes;
1993 ``extract_indented()`` becomes ``StringList.get_indented()``.
1994 - Added ``StateMachine.insert_input()``.
1995 - Fixed ViewList slice handling for Python 2.3. Patch from (and
1996 thanks to) Fred Drake.
1998 * docutils/utils.py:
2000 - Added a ``source`` attribute to Reporter instances and
2001 ``system_message`` elements.
2002 - Added an observer pattern to ``utils.Reporter`` to keep track of
2004 - Fixed bugs in ``relative_path()``.
2005 - Added support for improved diagnostics.
2006 - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
2007 - Added support for encoding Reporter stderr output, and encoding
2009 - Reporter keeps track of the highest level system message yet
2012 * docutils/languages: Fixed bibliographic field language lookups.
2014 * docutils/languages/es.py: Added to project; Spanish mappings by
2015 Marcelo Huerta San Martin.
2017 * docutils/languages/fr.py: Added to project; French mappings by
2020 * docutils/languages/it.py: Added to project; Italian mappings by
2023 * docutils/languages/sk.py: Added to project; Slovak mappings by
2026 * docutils/parser/__init__.py:
2028 - Added ``Parser.finish_parse()`` method.
2030 * docutils/parser/rst/__init__.py:
2032 - Added options: "--pep-references", "--rfc-references",
2033 "--tab-width", "--trim-footnote-reference-space".
2035 * docutils/parsers/rst/states.py:
2037 - Changed "title under/overline too short" system messages from INFO
2038 to WARNING, and fixed its insertion location.
2039 - Fixed enumerated list item parsing to allow paragraphs & section
2040 titles to begin with enumerators.
2041 - Converted system messages to use the new "line" attribute.
2042 - Fixed a substitution reference edge case.
2043 - Added support for "--pep-references" and "--rfc-references"
2044 options; reworked ``Inliner`` code to make customization easier.
2045 - Removed field argument parsing.
2046 - Added support for short section title over/underlines.
2047 - Fixed "simple reference name" regexp to ignore text like
2048 "object.__method__"; not an anonymous reference.
2049 - Added support for improved diagnostics.
2050 - Reworked directive API, based on Dethe Elza's contribution. Added
2051 ``Body.parse_directive()``, ``.parse_directive_options()``,
2052 ``.parse_directive_arguments()`` methods.
2053 - Added ``ExtensionOptions`` class, to parse directive options
2054 without parsing field bodies. Factored
2055 ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
2056 ``ExtensionOptions``.
2057 - Improved definition list term/classifier parsing.
2058 - Added warnings for unknown directives.
2059 - Renamed ``Stuff`` to ``Struct``.
2060 - Now flagged as errors: transitions at the beginning or end of
2061 sections, empty sections (except title), and empty documents.
2062 - Updated for ``statemachine.StringList``.
2063 - Enabled recognition of schemeless email addresses in targets.
2064 - Added support for embedded URIs in hyperlink references.
2065 - Added backslash-escapes to inline markup end-string suffix.
2066 - Added support for correct interpreted text processing.
2067 - Fixed nested title parsing (topic, sidebar directives).
2068 - Added special processing of backslash-escaped whitespace (idea
2069 from David Abrahams).
2070 - Made substitutions case-sensitive-but-forgiving; moved some code
2071 to ``docutils.nodes``.
2072 - Added support for block quote attributions.
2073 - Added a kludge to work-around a conflict between the bubble-up
2074 parser strategy and short titles (<= 3 char-long over- &
2075 underlines). Fixes SF bug #738803 "infinite loop with multiple
2076 titles" submitted by Jason Diamond.
2077 - Added explicit interpreted text roles for standard inline markup:
2078 "emphasis", "strong", "literal".
2079 - Implemented "superscript" and "subscript" interpreted text roles.
2080 - Added initial support for "abbreviation" and "acronym" roles;
2082 - Added support for "--trim-footnote-reference-space" option.
2083 - Optional space before colons in directives & hyperlink targets.
2085 * docutils/parsers/rst/tableparser.py:
2087 - Fixed a bug that was producing unwanted empty rows in "simple"
2089 - Detect bad column spans in "simple" tables.
2091 * docutils/parsers/rst/directives: Updated all directive functions to
2094 * docutils/parsers/rst/directives/__init__.py:
2096 - Added ``flag()``, ``unchanged()``, ``path()``,
2097 ``nonnegative_int()``, ``choice()``, and ``class_option()``
2098 directive option helper functions.
2099 - Added warnings for unknown directives.
2100 - Return ``None`` for missing directives.
2101 - Added ``register_directive()``, thanks to William Dode and Paul
2104 * docutils/parsers/rst/directives/admonitions.py:
2106 - Added "admonition" directive.
2108 * docutils/parsers/rst/directives/body.py: Added to project. Contains
2109 the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2110 "parsed-literal", "rubric", "epigraph", "highlights" and
2111 "pull-quote" directives.
2113 * docutils/parsers/rst/directives/images.py:
2115 - Added an "align" attribute to the "image" & "figure" directives
2116 (by Adam Chodorowski).
2117 - Added "class" option to "image", and "figclass" to "figure".
2119 * docutils/parsers/rst/directives/misc.py:
2121 - Added "include", "raw", and "replace" directives, courtesy of
2123 - Added "unicode" and "class" directives.
2125 * docutils/parsers/rst/directives/parts.py:
2127 - Added the "sectnum" directive; by Dmitry Jemerov.
2128 - Added "class" option to "contents" directive.
2130 * docutils/parsers/rst/directives/references.py: Added to project.
2131 Contains the "target-notes" directive.
2133 * docutils/parsers/rst/languages/__init__.py:
2135 - Return ``None`` from get_language() for missing language modules.
2137 * docutils/parsers/rst/languages/de.py: Added to project; German
2138 mappings by Engelbert Gruber.
2140 * docutils/parsers/rst/languages/en.py:
2142 - Added interpreted text roles mapping.
2144 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2145 mappings by Marcelo Huerta San Martin.
2147 * docutils/parsers/rst/languages/fr.py: Added to project; French
2148 mappings by William Dode.
2150 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2151 mappings by Nicola Larosa.
2153 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2154 mappings by Miroslav Vasko.
2156 * docutils/readers/__init__.py:
2158 - Added support for the observer pattern from ``utils.Reporter``, in
2159 ``Reader.parse`` and ``Reader.transform``.
2160 - Removed ``Reader.transform()`` method.
2161 - Added default parameter values to ``Reader.__init__()`` to make
2162 instantiation easier.
2163 - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2165 * docutils/readers/pep.py:
2167 - Added the ``peps.TargetNotes`` transform to the Reader.
2168 - Removed PEP & RFC reference detection code; moved to
2169 parsers/rst/states.py as options (enabled here by default).
2170 - Added support for pre-acceptance PEPs (no PEP number yet).
2171 - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2174 * docutils/readers/python: Python Source Reader subpackage added to
2175 project, including preliminary versions of:
2178 - moduleparser.py: Parser for Python modules.
2180 * docutils/transforms/__init__.py:
2182 - Added ``Transformer`` class and completed transform reform.
2183 - Added unknown_reference_resolvers list for each transformer. This list holds
2184 the list of functions provided by each component of the transformer that
2185 help resolve references.
2187 * docutils/transforms/frontmatter.py:
2189 - Improved support for generic fields.
2190 - Fixed bibliographic field language lookups.
2192 * docutils/transforms/misc.py: Added to project. Miscellaneous
2195 * docutils/transforms/parts.py:
2197 - Moved the "id" attribute from TOC list items to the references
2198 (``Contents.build_contents()``).
2199 - Added the ``SectNum`` transform; by Dmitry Jemerov.
2200 - Added "class" attribute support to ``Contents``.
2202 * docutils/transforms/peps.py:
2204 - Added ``mask_email()`` function, updating to pep2html.py's
2206 - Linked "Content-Type: text/x-rst" to PEP 12.
2207 - Added the ``TargetNotes`` PEP-specific transform.
2208 - Added ``TargetNotes.cleanup_callback``.
2209 - Added title check to ``Headers``.
2211 * docutils/transforms/references.py:
2213 - Added the ``TargetNotes`` generic transform.
2214 - Split ``Hyperlinks`` into multiple transforms.
2215 - Fixed bug with multiply-indirect references (report: Bruce Smith).
2216 - Added check for circular indirect references.
2217 - Made substitutions case-sensitive-but-forgiving.
2219 * docutils/transforms/universal.py:
2221 - Added support for the "--expose-internal-attributes" option.
2222 - Removed ``Pending`` transform classes & data.
2224 * docutils/writers/__init__.py:
2226 - Removed ``Writer.transform()`` method.
2228 * docutils/writers/docutils-xml.py:
2230 - Added XML and doctype declarations.
2231 - Added "--no-doctype" and "--no-xml-declaration" options.
2233 * docutils/writers/html4css1.py:
2235 - "name" attributes only on these tags: a, applet, form, frame,
2237 - Added "name" attribute to <a> in section titles for Netscape 4
2238 support (bug report: Pearu Peterson).
2239 - Fixed targets (names) on footnote, citation, topic title,
2240 problematic, and system_message nodes (for Netscape 4).
2241 - Changed field names from "<td>" to "<th>".
2242 - Added "@" to "@" encoding to thwart address harvesters.
2243 - Improved the vertical whitespace optimization; ignore "invisible"
2244 nodes (targets, comments, etc.).
2245 - Improved inline literals with ``<span class="pre">`` around chunks
2246 of text and `` `` for runs of spaces.
2247 - Improved modularity of output; added ``self.body_pre_docinfo`` and
2248 ``self.docinfo`` segments.
2249 - Added support for "line_block", "address" elements.
2250 - Improved backlinks (footnotes & system_messages).
2251 - Improved system_message output.
2252 - Redefined "--stylesheet" as containing an invariant URL, used
2253 verbatim. Added "--stylesheet-path", interpreted w.r.t. the
2255 - Added "--footnote-references" option (superscript or brackets).
2256 - Added "--compact-lists" and "--no-compact-lists" options.
2257 - Added "--embed-stylesheet" and "--link-stylesheet" options;
2258 factored out ``HTMLTranslator.get_stylesheet_reference()``.
2259 - Improved field list rendering.
2260 - Added Docutils version to "generator" meta tag.
2261 - Fixed a bug with images; they must be inline, so wrapped in <p>.
2262 - Improved layout of <pre> HTML source.
2263 - Fixed attribute typo on <colspec>.
2264 - Refined XML prologue.
2265 - Support for no stylesheet.
2266 - Removed "interpreted" element support.
2267 - Added support for "title_reference", "sidebar", "attribution",
2268 "rubric", and generic "admonition" elements.
2269 - Added "--attribution" option.
2270 - Added support for "inline", "subscript", "superscript" elements.
2271 - Added initial support for "abbreviation" and "acronym";
2274 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2278 - Double quotes in literal blocks (special treatment for de/ngerman).
2279 - Added '--hyperlink-color' option ('0' turns off coloring of links).
2280 - Added "--attribution" option.
2281 - Right align attributions.
2283 * docutils/writers/pep_html.py:
2285 - Parameterized output encoding in PEP template.
2286 - Reworked substitutions from ``locals()`` into ``subs`` dict.
2287 - Redefined "--pep-stylesheet" as containing an invariant URL, used
2288 verbatim. Added "--pep-stylesheet-path", interpreted w.r.t. the
2290 - Added an override on the "--footnote-references" option.
2291 - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2292 - Added Docutils version to "generator" meta tag.
2293 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2297 - Added a "silent" setting for ``buildhtml.py``.
2298 - Added a "Getting Help" section.
2299 - Rearranged the structure.
2300 - Kept up to date, with new settings, command-line options etc.
2301 - Added section for ``rst2latex.py`` (Engelbert Gruber).
2302 - Converted settings table into a definition list.
2304 * docs/rst/quickstart.txt:
2306 - Added a table of contents.
2307 - Added feedback information.
2308 - Added mention of minimum section title underline lengths.
2309 - Removed the 4-character minimum for section title underlines.
2311 * docs/rst/quickref.html:
2313 - Added a "Getting Help" section.
2314 - Added a style to make section title backlinks more subtle.
2315 - Added mention of minimum section title underline lengths.
2316 - Removed the 4-character minimum for section title underlines.
2318 * extras: Directory added to project; contains third-party modules
2319 that Docutils depends on (optparse, textwrap, roman). These are
2320 only installed if they're not already present.
2322 * licenses: Directory added to project; contains copies of license
2323 files for non-public-domain files.
2327 - Changed the focus. It's about DTD elements: structural
2328 relationships, semantics, and external (public) attributes. Not
2329 about the element class library.
2330 - Moved some implementation-specific stuff into ``docutils.nodes``
2332 - Wrote descriptions of all common attributes and parameter
2333 entities. Filled in introductory material.
2334 - Working through the element descriptions: 55 down, 37 to go.
2335 - Removed "Representation of Horizontal Rules" to
2336 spec/rst/alternatives.txt.
2338 * spec/docutils.dtd:
2340 - Added "generated" inline element.
2341 - Added "line_block" body element.
2342 - Added "auto" attribute to "title".
2343 - Changed content models of "literal_block" and "doctest_block" to
2345 - Added ``%number;`` attribute type parameter entity.
2346 - Changed ``%structural.elements;`` to ``%section.elements``.
2347 - Updated attribute types; made more specific.
2348 - Added "address" bibliographic element.
2349 - Added "line" attribute to ``system_message`` element.
2350 - Removed "field_argument" element; "field_name" may contain
2351 multiple words and whitespace.
2352 - Changed public identifier to docutils.sf.net.
2353 - Removed "interpreted" element; added "title_reference",
2354 "abbreviation", "acronym".
2355 - Removed "refuri" attribute from "footnote_reference" and
2356 "citation_reference".
2357 - Added "sidebar", "rubric", "attribution", "admonition",
2358 "superscript", "subscript", and "inline" elements.
2360 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2362 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2364 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2366 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2369 * spec/transforms.txt: Added to project.
2371 * spec/howto: Added subdirectory, for developer how-to docs.
2373 * spec/howto/rst-directives.txt: Added to project. Original by Dethe
2374 Elza, edited & extended by David Goodger.
2376 * spec/howto/i18n.txt: Docutils Internationalization. Added to
2379 * spec/rst/alternatives.txt:
2381 - Added "Doctree Representation of Transitions" from
2383 - Updated "Inline External Targets" & closed the debate.
2384 - Added ideas for interpreted text syntax extensions.
2385 - Added "Nested Inline Markup" section.
2387 * spec/rst/directives.txt:
2389 - Added directives: "topic", "sectnum", "target-notes",
2390 "line-block", "parsed-literal", "include", "replace", "sidebar",
2391 "admonition", "rubric", "epigraph", "highlights", "unicode" and
2393 - Formalized descriptions of directive details.
2394 - Added an "align" attribute to the "image" & "figure" directives
2395 (by Adam Chodorowski).
2396 - Added "class" options to "topic", "sidebar", "line-block",
2397 "parsed-literal", "contents", and "image"; and "figclass" to
2400 * spec/rst/interpreted.txt: Added to project. Descriptions of
2401 interpreted text roles.
2403 * spec/rst/introduction.txt:
2405 - Added pointers to material for new users.
2407 * spec/rst/reStructuredText.txt:
2409 - Disambiguated comments (just add a newline after the "::").
2410 - Updated enumerated list description; added a discussion of the
2411 second-line validity checking.
2412 - Updated directive description.
2413 - Added a note redirecting newbies to the user docs.
2414 - Expanded description of inline markup start-strings in non-markup
2416 - Removed field arguments and made field lists a generic construct.
2417 - Removed the 4-character minimum for section title underlines.
2418 - Clarified term/classifier delimiter & inline markup ambiguity
2420 - Added "Embedded URIs".
2421 - Updated "Interpreted Text" section.
2422 - Added "Character-Level Inline Markup" section.
2424 * test: Continually adding & updating tests.
2426 - Moved test/test_rst/ to test/test_parsers/test_rst/.
2427 - Moved test/test_pep/ to test/test_readers/test_pep/.
2428 - Added test/test_readers/test_python/.
2429 - Added test/test_writers/ (Engelbert Gruber).
2433 - Made the ``locale.setlocale()`` calls in front ends
2436 * tools/buildhtml.py:
2438 - Added "--silent" option.
2439 - Fixed bug with absolute paths & "--config".
2440 - Updated for new I/O classes.
2441 - Added some exception handling.
2442 - Separated publishers' setting defaults; prevents interference.
2443 - Updated for new ``publish_file()`` convenience function.
2445 * tools/pep-html-template:
2447 - Allow for "--embed-stylesheet".
2448 - Added Docutils version to "generator" meta tag.
2449 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2450 - Conform to XHTML spec.
2452 * tools/pep2html.py:
2454 - Made ``argv`` a parameter to ``main()``.
2455 - Added support for "Content-Type:" header & arbitrary PEP formats.
2456 - Linked "Content-Type: text/plain" to PEP 9.
2457 - Files skipped (due to an error) are not pushed onto the server.
2458 - Updated for new I/O classes.
2459 - Added ``check_requirements()`` & ``pep_type_error()``.
2460 - Added some exception handling.
2461 - Updated for new ``publish_string()`` convenience function.
2462 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2464 * tools/quicktest.py:
2466 - Added "-V"/"--version" option.
2468 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2470 * tools/unicode2rstsubs.py: Added to project. Produces character
2471 entity files (reSructuredText substitutions) from the MathML master
2474 * tools/editors: Support code for editors, added to project. Contains
2475 ``emacs/restructuredtext.el``.
2477 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2479 - Added style for chunks of inline literals.
2480 - Removed margin for first child of table cells.
2481 - Right-aligned field list names.
2482 - Support for auto-numbered section titles in TOCs.
2483 - Increased the size of inline literals (<tt>) in titles.
2484 - Restored the light gray background for inline literals.
2485 - Added support for "line_block" elements.
2486 - Added style for "address" elements.
2487 - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2488 - Improved field list rendering.
2489 - Vertical whitespace improvements.
2490 - Removed "a.target" style.
2492 * tools/stylesheets/pep.css:
2494 - Fixed nested section margins.
2495 - Other changes parallel those of ``../default.css``.
2498 Release 0.2 (2002-07-31)
2499 ========================
2503 - The word "component" was being used ambiguously. From now on,
2504 "component" will be used to mean "Docutils component", as in Reader,
2505 Writer, Parser, or Transform. Portions of documents (Table of
2506 Contents, sections, etc.) will be called "document parts".
2507 - Did a grand renaming: a lot of ``verylongnames`` became
2508 ``very_long_names``.
2509 - Cleaned up imports: no more relative package imports or
2510 comma-separated lists of top-level modules.
2511 - Added support for an option values object which carries default
2512 settings and overrides (from command-line options and library use).
2513 - Added internal Unicode support, and support for both input and
2515 - Added support for the ``docutils.io.IO`` class & subclasses.
2519 * docutils/__init__.py:
2521 - Added ``ApplicationError`` and ``DataError``, for use throughout
2523 - Added ``Component`` base class for Docutils components; implements
2524 the ``supports`` method.
2525 - Added ``__version__`` (thus, ``docutils.__version__``).
2529 - Removed many keyword parameters to ``Publisher.__init__()`` and
2530 ``publish()``; bundled into an option values object. Added
2531 "argv", "usage", "description", and "option_spec" parameters for
2532 command-line support.
2533 - Added ``Publisher.process_command_line()`` and ``.set_options()``
2535 - Reworked I/O model for ``docutils.io`` wrappers.
2536 - Updated ``Publisher.set_options()``; now returns option values
2538 - Added support for configuration files (/etc/docutils.conf,
2539 ./docutils.conf, ~/.docutils).
2540 - Added ``Publisher.setup_option_parser()``.
2541 - Added default usage message and description.
2543 * docutils/frontend.py: Added to project; support for front-end
2544 (command-line) scripts. Option specifications may be augmented by
2545 components. Requires Optik (http://optik.sf.net/) for option
2546 processing (installed locally as docutils/optik.py).
2548 * docutils/io.py: Added to project; uniform API for a variety of input
2551 * docutils/nodes.py:
2553 - Added ``TreeCopyVisitor`` class.
2554 - Added a ``copy`` method to ``Node`` and subclasses.
2555 - Added a ``SkipDeparture`` exception for visitors.
2556 - Renamed ``TreePruningException`` from ``VisitorException``.
2557 - Added docstrings to ``TreePruningException``, subclasses, and
2559 - Improved docstrings.
2560 - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2561 - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2563 - Added ``decoration``, ``header``, and ``footer`` node classes, and
2564 ``PreDecorative`` mixin.
2565 - Reworked the name/id bookkeeping; to ``document``, removed
2566 ``explicit_targets`` and ``implicit_targets`` attributes, added
2567 ``nametypes`` attribute and ``set_name_id_map`` method.
2568 - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2570 - Added ``document.has_name()`` method.
2571 - Fixed DOM generation for list-attributes.
2572 - Added category class ``Labeled`` (used by footnotes & citations).
2573 - Added ``Element.set_class()`` method (sets "class" attribute).
2575 * docutils/optik.py: Added to project. Combined from the Optik
2576 package, with added option groups and other modifications. The use
2577 of this module is probably only temporary.
2579 * docutils/statemachine.py:
2581 - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2582 - Added underscores to improve many awkward names.
2583 - In ``string2lines()``, changed whitespace normalizing translation
2584 table to regexp; restores Python 2.0 compatibility with Unicode.
2586 * docutils/urischemes.py:
2588 - Filled in some descriptions.
2589 - Added "shttp" scheme.
2591 * docutils/utils.py:
2593 - Added ``clean_rcs_keywords`` function (moved from
2594 docutils/transforms/frontmatter.py
2595 ``DocInfo.filter_rcs_keywords``).
2596 - Added underscores to improve many awkward names.
2597 - Changed names of Reporter's thresholds:
2598 warning_level -> report_level; error_level -> halt_level.
2599 - Moved ``utils.id()`` to ``nodes.make_id()``.
2600 - Added ``relative_path(source, target)``.
2602 * docutils/languages/de.py: German mappings; added to project. Thanks
2603 to Gunnar Schwant for the translations.
2605 * docutils/languages/en.py: Added "Dedication" bibliographic field
2608 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2611 * docutils/parsers/rst/states.py:
2613 - Added underscores to improve many awkward names.
2614 - Added RFC-2822 header support.
2615 - Extracted the inline parsing code from ``RSTState`` to a separate
2616 class, ``Inliner``, which will allow easy subclassing.
2617 - Made local bindings for ``memo`` container & often-used contents
2618 (reduces code complexity a lot). See ``RSTState.runtime_init()``.
2619 - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2620 - Added ``MarkupMismatch`` exception; for late corrections.
2621 - Added ``-/:`` characters to inline markup's start string prefix,
2622 ``/`` to end string suffix.
2623 - Fixed a footnote bug.
2624 - Fixed a bug with literal blocks.
2625 - Applied patch from Simon Budig: simplified regexps with symbolic
2626 names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2627 - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2628 - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2629 - Allowed non-ASCII in "simple names" (directive names, field names,
2631 - Converted ``Inliner.patterns.initial`` to be dynamically built
2632 from parts with ``build_regexp()`` function.
2633 - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2634 - Updated docstrings.
2635 - Changed "table" to "grid_table"; added "simple_table" support.
2637 * docutils/parsers/rst/tableparser.py:
2639 - Changed ``TableParser`` to ``GridTableParser``.
2640 - Added ``SimpleTableParser``.
2641 - Refactored naming.
2643 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2644 a fallback language for directive names.
2646 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2647 directive to use a ``pending`` element, used only by HTML writers.
2649 * docutils/parsers/rst/directives/parts.py: Renamed from
2652 - Added "backlinks" attribute to "contents" directive.
2654 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2655 project by Adam Chodorowski.
2657 * docutils/readers/__init__.py: Gave Readers more control over
2658 choosing and instantiating Parsers.
2660 * docutils/readers/pep.py: Added to project; for PEP processing.
2662 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2663 requires a ``component`` parameter.
2665 * docutils/transforms/components.py: Added to project; transforms
2666 related to Docutils components.
2668 * docutils/transforms/frontmatter.py:
2670 - In ``DocInfo.extract_authors``, check for a single "author" in an
2671 "authors" group, and convert it to a single "author" element.
2672 - Added support for "Dedication" and generic bibliographic fields.
2674 * docutils/transforms/peps.py: Added to project; PEP-specific.
2676 * docutils/transforms/parts.py: Renamed from old components.py.
2678 - Added filter for `Contents`, to use alt-text for inline images,
2679 and to remove inline markup that doesn't make sense in the ToC.
2680 - Added "name" attribute to TOC topic depending on its title.
2681 - Added support for optional TOC backlinks.
2683 * docutils/transforms/references.py: Fixed indirect target resolution
2684 in ``Hyperlinks`` transform.
2686 * docutils/transforms/universal.py:
2688 - Changed ``Messages`` transform to properly filter out system
2689 messages below the warning threshold.
2690 - Added ``Decorations`` transform (support for ``--generator``,
2691 ``--date``, ``--time``, ``--source-link`` options).
2693 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2694 Engelbert Gruber's PDF writer.
2696 * docutils/writers/html4css1.py:
2698 - Made XHTML-compatible (switched to lowercase element & attribute
2699 names; empty tag format).
2700 - Escape double-dashes in comment text.
2701 - Improved boilerplate & modularity of output.
2702 - Exposed modular output in Writer class.
2703 - Added a "generator" meta tag to <head>.
2704 - Added support for the ``--stylesheet`` option.
2705 - Added support for ``decoration``, ``header``, and ``footer``
2707 - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2708 translation table to regexp; restores Python 2.0 compatibility
2710 - Added the translator class as instance variable to the Writer, to
2711 make it easily subclassable.
2712 - Improved option list spacing (thanks to Richard Jones).
2713 - Modified field list output.
2714 - Added backlinks to footnotes & citations.
2715 - Added percentage widths to "<col>" tags (from colspec).
2716 - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2717 "<span>" changed to "<var>".
2718 - Inline literals: "<code>" changed to "<tt>".
2719 - Many changes to optimize vertical space: compact simple lists etc.
2720 - Add a command-line options & directive attributes to control TOC
2721 and footnote/citation backlinks.
2722 - Added support for optional footnote/citation backlinks.
2723 - Added support for generic bibliographic fields.
2724 - Identify backrefs.
2725 - Relative URLs for stylesheet links.
2727 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2728 PEPs (subclass of ``html4css1.Writer``).
2730 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2732 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2733 of the Docutils internal doctree in XML.
2735 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2739 - Changed the title to "The Docutils Document Tree".
2740 - Added "Hyperlink Bookkeeping" section.
2742 * spec/docutils.dtd:
2744 - Added ``decoration``, ``header``, and ``footer`` elements.
2745 - Brought ``interpreted`` element in line with the parser: changed
2746 attribute "type" to "role", added "position".
2747 - Added support for generic bibliographic fields.
2749 * spec/notes.txt: Continual updates. Added "Project Policies".
2751 * spec/pep-0256.txt: Updated. Added "Roadmap to the Doctring PEPs"
2754 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2756 * spec/pep-0258.txt: Updated. Added text from pysource.txt and
2757 mailing list discussions.
2759 * spec/pep-0287.txt:
2761 - Renamed to "reStructuredText Docstring Format".
2763 - Reworked Q&A as an enumerated list.
2764 - Converted to reStructuredText format.
2766 * spec/pysource.dtd:
2768 - Reworked structural elements, incorporating ideas from Tony Ibbs.
2770 * spec/pysource.txt: Removed from project. Moved much of its contents
2773 * spec/rst/alternatives.txt:
2775 - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2776 - Added "Inline External Targets" section.
2778 * spec/rst/directives.txt:
2780 - Added "backlinks" attribute to "contents" directive.
2782 * spec/rst/problems.txt:
2784 - Updated the Enumerated List Markup discussion.
2785 - Added new alternative table markup syntaxes.
2787 * spec/rst/reStructuredText.txt:
2789 - Clarified field list usage.
2790 - Updated enumerated list description.
2791 - Clarified purpose of directives.
2792 - Added ``-/:`` characters to inline markup's start string prefix,
2793 ``/`` to end string suffix.
2794 - Updated "Authors" bibliographic field behavior.
2795 - Changed "inline hyperlink targets" to "inline internal targets".
2796 - Added "simple table" syntax to supplement the existing but
2797 newly-renamed "grid tables".
2798 - Added cautions for anonymous hyperlink use.
2799 - Added "Dedication" and generic bibliographic fields.
2801 * test: Made test modules standalone (subdirectories became packages).
2803 * test/DocutilsTestSupport.py:
2805 - Added support for PEP extensions to reStructuredText.
2806 - Added support for simple tables.
2807 - Refactored naming.
2809 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2811 - Now supports true packages containing test modules
2812 (``__init__.py`` files required); fixes duplicate module name bug.
2814 * test/test_pep/: Subpackage added to project; PEP testing.
2816 * test/test_rst/test_SimpleTableParser.py: Added to project.
2820 - Updated html.py and publish.py front-end tools to use the new
2821 command-line processing facilities of ``docutils.frontend``
2822 (exposed in ``docutils.core.Publisher``), reducing each to just a
2824 - Added ``locale.setlocale()`` calls to front-end tools.
2826 * tools/buildhtml.py: Added to project; batch-generates .html from all
2827 the .txt files in directories and subdirectories.
2829 * tools/default.css:
2831 - Added support for ``header`` and ``footer`` elements.
2832 - Added styles for "Dedication" topics (biblio fields).
2834 * tools/docutils.conf: A configuration file; added to project.
2836 * tools/docutils-xml.py: Added to project.
2838 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2840 * tools/pep-html-template: Added to project.
2842 * tools/pep2html.py: Added to project from Python (nondist/peps).
2843 Added support for Docutils (reStructuredText PEPs).
2845 * tools/quicktest.py:
2847 - Added the ``--attributes`` option, hacked a bit.
2848 - Added a second command-line argument (output file); cleaned up.
2850 * tools/stylesheets/: Subdirectory added to project.
2852 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2855 Release 0.1 (2002-04-20)
2856 ========================
2858 This is the first release of Docutils, merged from the now inactive
2859 reStructuredText__ and `Docstring Processing System`__ projects. For
2860 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2861 `DPS HISTORY`__ files.
2863 __ http://structuredtext.sourceforge.net/
2864 __ http://docstring.sourceforge.net/
2865 __ http://structuredtext.sourceforge.net/HISTORY.html
2866 __ http://docstring.sourceforge.net/HISTORY.html
2868 General changes: renamed 'dps' package to 'docutils'; renamed
2869 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2870 the test suites (reStructuredText's test/test_states renamed to
2871 test/test_rst); and all modifications required to make it all work.
2873 * docutils/parsers/rst/states.py:
2875 - Improved diagnostic system messages for missing blank lines.
2876 - Fixed substitution_reference bug.
2882 indent-tabs-mode: nil
2883 sentence-end-double-space: t