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.
17 Release 0.8 (2011-07-07)
18 ========================
22 - Handle language codes according to `BCP 47`_.
23 - If the specified language is not supported by Docutils,
24 warn and fall back to English.
25 - Math support: reStructuredText "math" role and directive,
26 ``math`` and ``math_block`` doctree elements.
27 - Decode command line arguments with the locale's preferred encoding
28 (to allow, e.g., ``--title=Dornröschen``).
29 - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
30 - New sub-module `error_reporting`: handle encoding/decoding errors
31 when reporting exceptions.
32 - Some additions to the Docutils core are released under the 2-Clause BSD
33 license, see COPYING_ for details.
35 .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
36 .. _COPYING: COPYING.html
40 - Most directives now support a "name" option that attaches a
43 - Directive content may start on the first line also when the directive
46 * docs/dev/policies.txt:
48 - Recommend the 2-Clause BSD license
49 (http://www.spdx.org/licenses/BSD-2-Clause)
50 for code that is kept under the author's copyright.
54 - Fix ``--local`` switch.
56 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
58 * docutils/writers/html4css1/__init__.py
60 - Set "lang" argument for objects with class argument
61 "language-<language tag>".
62 - New setting "math-output" with support for HTML, MathML, and LaTeX.
64 * docutils/writers/latex2e/__init__.py
66 - Fix [ 3043986 ] AttributeError using :local: with table of content.
67 - Place title data in the document preamble.
68 - Load `babel` package only if required.
69 - Update list of supported languages.
70 - New config setting "hyperref-options".
71 No hard-coded "unicode" hyperref option (clash with xetex).
72 - Set language for custom roles, paragraphs, block-quotes, and
73 line-quotes with class argument "language-<language tag>".
74 - Fix [ 3095603 ] wrong quotes output for russian and other languages.
75 - Convert image URI to a local file path.
76 - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
77 has more than one paragraph (Wolfgang Scherer).
78 - \leavevmode before longtable only when needed (prevents spurious vspace)
79 - do not advance table counter for tables without caption
81 * docutils/writers/xetex/__init__.py
83 - New writer generating LaTeX code for compiling with ``xelatex``.
85 A separate writer (inheriting from latex2e) instead of a ``--xetex``
86 option allows separate config options for XeTeX vs. LaTeX2e.
88 * docutils/writers/manpage.py
90 - Fix: BUG#3219183 - vertical space in definition lists containing markup.
91 - Fix: vertical space cleaning for option group ``.``.
93 * tools/editors/emacs/rst.el:
95 - Fix [ 3001100 ] does not handle spaces in filenames
96 (thanks to Jakub Wilk)
100 - strip whitespace from stylesheet arguments
101 - exclude combining chars from column_width
102 (partial fix for [ 2926161 ])
104 * docutils/parsers/rst/directives/misc.py:
106 - Fix [ 1830389 ] Replace not breaking on getting system_messages from
111 - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
112 ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
114 Release 0.7 (2010-07-07)
115 ========================
119 - Fix [ 2881769 ] setup configuration.
120 - Fix [ 2788716 ] reporting problems in included files.
124 - FileInput opens files as text files with universal newline support
125 (mode "rU", configurable with the new optional argument "mode").
129 - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
133 - Fix [ 2923723 ] let decode_path() tolerate path == None
135 * docutils/writers/html4css1/__init__.py
137 - Support SVG and SWF images (thanks to Stefan Rank).
138 - Generate valid XHTML for centered images with targets.
139 Use CSS classes instead of "align" tags for image alignment.
141 * docutils/writers/latex2e/__init__.py
143 - Use `transforms.writer_aux.Admonitions` to "normalize" special
145 - Use the ``\url`` command for URLs (breaks long URLs instead of
146 writing into the margin).
147 - Preserve runs of spaces in `inline literals`__.
148 - Deprecate ``figure_footnotes`` setting.
149 - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
150 - New ``latex_preamble`` setting.
151 - Use PDF standard fonts (Times/Helvetica/Courier) as default.
152 - Fix hyperlink targets (labels) for images, figures, and tables.
153 - Apply [ 2961988 ] Load babel after inputenc and fontenc.
154 - Apply [ 2961991 ] Call hyperref with unicode option.
155 - Drop the special `output_encoding`__ default ("latin-1").
156 The Docutils wide default (usually "UTF-8") is used instead.
157 - Render inline markup in document title and subtitle.
158 - Fix numbering depth with LaTeX section numbering.
159 - Update Unicode -> LaTeX translations.
160 - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
162 __ docs/ref/restructuredtext.html#inline-literals
163 __ docs/user/config.html#docutils-footnotes
164 __ docs/user/config.html#output_encoding
166 * docutils/writers/manpage.py
168 - Fix: supported attribute (thanks to peter2108).
169 - Remove trailing blanks in code (keep in sync with mercurial version).
170 - Titles level 1, that is ``.SH``, always uppercase.
171 - Apply patch from mg: literal text should be bold in man-pages.
175 - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
180 - Python 3 support: copy test/ and tools/ to the build-dir
181 and convert Python sources with 2to3.
184 Release 0.6 (2009-10-11)
185 ========================
189 - Docutils is now compatible with Python versions from 2.3 up to 2.6
190 and convertible to 3.1 code.
192 + Node.__nonzero__ returns True instead of 1.
193 + use os.walk instead os.path.walk.
194 + minimize "types" module where possible.
195 + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
196 + Text nodes now subclass unicode rather than UserString
197 (which is gone in python 3.0).
198 + 3.0 compatibility module docutils._compat
200 + Drop 2.2 compatibility workarounds.
201 + Drop extras/optparse.py and extras/textwrap.py
202 (stdlib modules since 2.3).
204 - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
205 - Unix man page export: manpage writer moved from sandbox to Doctutils
208 - Apply [ 1719345 ] Galician translation
209 - Apply [ 1905741 ] Polish translation
210 - Apply [ 1878977 ] make_id(): deaccent characters.
211 - Apply [ 2029251 ] return nonzero when tests fail.
212 - Fix [ 1692788 ] allow UTF-8 in style sheets.
213 - Fix [ 2781629 ] support non-ASCII chars in file names.
214 - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
215 - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
216 - Fix [ 2821266 ] --strict option works now like --halt=info.
217 - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
218 - Fix [ 1627229 ] hyperlink references in substitutions.
220 - The "newlatex" writer is orphaned.
224 - Documented Unicode characters allowed as inline markup openers,
225 closers, and delimiters.
226 - Allow units for all length specifications.
227 - Allow percent sign in "scale" argument of "figure" and "image" directives.
228 - Bugfix: The "figalign" argument of a figure now works as intended
229 (aligning the figure, not its contents).
230 - Align images with class "align-[right|center|left]"
231 (allows setting the alignment of an image in a figure).
235 - Added ``Element.__contains__`` method, for the in-operator.
237 * docutils/parsers/rst/states.py:
239 - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
240 - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
241 " " (non-breaking space), and "¡ ¿" openers.
243 * docutils/parsers/directives/misc.py:
245 - Added ``start-line`` and ``end-line`` options to "include"
246 directive to select a range of lines.
247 - Hard tabs in literal inclusions are replaced by spaces. This is
248 configurable via the new ``tab-width`` option of the "include" directive
249 (a negative tab-width prevents tab expansion).
253 - Add ``get_stylesheet_list`` function.
254 - Apply [ 2834836 ] print info at halt
256 * docutils/transforms/universal.py:
258 - Raise default priority of StripClasses to exclude stripped classes from
261 * docutils/writers/html4css1/__init__.py:
263 - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
264 separated list of stylesheets.
265 - Address [ 1938891 ] Inline literal text creates "pre" span only when
266 needed to prevent inter-word line wraps.
267 - Use `translate` method instead of repeated `replace` calls.
268 - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
269 classes to allow CSS styling that does not interfere with other
270 table-using constructs (field lists, citations, ...).
272 * docutils/writers/newlatex2e/__init__.py:
274 - Apply [ 1612821 ] Double quotes in literal text in Italian/German
276 * docutils/writers/latex2e/__init__.py (see also
277 `<docs/user/docutils-05-compat.sty.html>`__) :
279 - Add ``--embed-stylesheet`` option.
280 - Apply [ 1474017 ] image vertical alignment is reversed.
281 - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
282 - Change: has_key for dictionaries (not Nodes) to in-operator.
283 - Merge adjacent citations into one latex cite command.
284 - Failsave implementation of custom roles. LaTeX compilation now ignores
285 unknown classes instead of aborting with an error.
286 - Support custom roles based on standard roles.
287 - LaTeX packages can be used as ``--stylesheet`` arguments without
288 restriction. (A style sheet is now referenced with the ``\usepackage``
289 command, if it ends with ``.sty`` or has no extension.)
290 - Add ``bp`` to lenghts without unit (prevents LaTex errors).
291 - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
292 - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
293 2005-02-04 as a configurable length unit).
294 - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
295 if font-encoding is set to ''. LaTeX defaults to OT1 then.
296 - Set sub- and superscript role argument in text mode not as math.
297 Use a custom role based on sub-/superscript if you want italic shape.
298 - Shorter preamble and less dependencies: Load packages and define macros
299 only if required in the document.
300 - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
301 - New custom environments and commands with optional "classes" argument.
302 - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
303 - Better conformance to Docutils specifications with ``--use-latex-toc``.
304 Support for LaTeX generated ToC also with unnumbered sections.
305 - If 'sectnum_xform' is False, the 'sectnum' directive triggers
306 section numbering by LaTeX.
307 - Use default font in admonitions and sidebar.
308 - Align of image in a figure defaults to 'center'.
309 - Bugfix: Newlines around targets and references prevent run-together
311 - Fix internal hyperlinks.
312 - Use class defaults for page margins ('typearea' now optional).
313 - Float placement made configurable, default changed to "here definitely".
314 - Typeset generic topic as "quote block with title".
315 - Use template (file and configuration option).
316 - In the default template, load cmap.sty (fix text extraction in PDF) and
317 fixltx2e.sty (LaTeX patches, \textsubscript).
318 - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
319 - Use `translate` instead of repeated `replace` calls for text encoding.
320 - Hyperlinked footnotes and support for symbol footnotes and
321 ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
322 - Complete pairs of binary options
323 (``--figure-footnotes, --figure-citations, --link-stylesheet``,
324 ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
326 - font-encoding: "T1" (formerly implicitely set by 'ae').
327 - use-latex-toc: true (ToC with page numbers).
328 - use-latex-footnotes: true (no mixup with figures).
330 * docutils/writers/manpage.py
332 - Do not print version at document end, this is done by the viewer.
333 - Do not print date at document end, this is done by the viewer.
334 - Fix storage of docinfo fields for none standard fields.
336 * docutils/tools/rst2man.py
338 Release 0.5 (2008-06-25)
339 ========================
341 * docutils/languages/he.py: Added to project: Hebrew mappings by
344 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
345 mappings by Meir Kriheli.
347 * docutils/frontend.py:
349 - Configuration files are now assumed and required to be
351 - Paths of applied configuration files are now recorded in the
352 runtime setting ``_config_files`` (accessible via
353 ``--dump-settings``).
354 - Added ``--strip-elements-with-class`` and ``--strip-class``
355 options (``strip_elements_with_classes`` and ``strip_classes``
360 - Added code to determine the input encoding from data: encoding
361 declarations or the presence of byte order marks (UTF-8 & UTF-16).
362 - Added support for IronPython 1.0.
366 - Added ``document.__getstate__`` method, for pickling.
368 * docutils/parsers/rst/states.py:
370 - Allow ``+`` and ``:`` in reference names.
371 - Unquoted targets beginning with an underscore (``.. __target:
372 URI``) are no longer accepted.
373 - Added support for multiple attributions in a physical block quote
374 (indented text block), dividing it into multiple logical block
376 - Added support for unicode bullets in bullet lists: "•", "‣", and
378 - Added support for new object-oriented directive interface,
379 retaining compatibility to the old functional interface.
380 - Added support for throwing ``DirectiveError``'s from within
383 * docutils/parsers/rst/__init__.py:
385 - Added ``Directive`` base class.
386 - Added ``DirectiveError`` base class.
387 - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
390 * docutils/parsers/directives/:
392 - Refactored all reStructuredText directives to use the new
393 object-oriented directive interface. Errors are now (mostly)
394 thrown using the new ``DirectiveError`` class.
396 * docutils/parsers/directives/misc.py:
398 - Added ``start-after`` and ``end-before`` options to ``include``
399 directive; thanks to Stefan Rank.
401 * docutils/transforms/universal.py:
403 - Added ``StripClassesAndElements`` transform to remove from the
404 document tree all elements with classes in
405 ``settings.strip_elements_with_classes`` and all "classes"
406 attribute values in ``self.document.settings.strip_classes``.
408 * docutils/transforms/writer_aux.py:
410 - Added ``Admonitions`` transform to transform specific admonitions
411 (like ``note``, ``warning``, etc.) into generic admonitions with a
414 * docutils/writers/html4css1/__init__.py:
416 - Moved template functionality from the PEP/HTML writer here.
417 - Expanded the fragments available in the ``parts`` attribute.
418 - Moved ``id`` attributes from titles to surrounding ``div``
420 - Dropped all ``name`` attributes of ``a`` elements (``id`` is
421 universally supported now).
422 - ``template.txt`` is now opened in text mode instead of binary mode
423 (to ensure Windows compatibility).
424 - ``a`` elements now have an "internal" or "external" class,
425 depending on reference type.
427 * docutils/writers/html4css1/template.txt: Added to project.
429 * docutils/writers/pep_html/:
431 - Moved template functionality to the HTML writer.
433 * docutils/writers/s5_html/__init__.py:
435 - Added ``view_mode`` & ``hidden_controls`` settings
436 (``--view-mode`` & ``--hidden-controls/--visible-controls``
439 * docutils/writers/latex2e/__init__.py:
441 - Add ``--literal-block-env``
442 - Fix: escaping ``%`` in href urls.
443 - Move usepackage hyperref after stylesheet inclusion.
444 - Fix: scrartcl does not have chapter but scrreprt.
445 - Add newline after ``\end{verbatim}``.
446 - Merge smaller differences from latex2e_adaptive_preamble.
447 - Add ``use-part-section``.
448 - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
449 - Using leavemode option_list no longer needs to check if parent
450 is a definition list.
451 - Append ``\leavemode`` to definition list terms.
452 - No longer write visit\_/depart_definition_list_item comments to
454 - Table column width with 3 decimal places.
455 - Add table stubs support (boldfont).
456 - Add assemble_parts to writer.
457 - Add simply support for nested tables.
458 - Fix verbatim in tables if use-verbatim-when-possible.
459 - Use section commands down to subparagraph.
460 - Put ensuremath around some latin1 chars.
461 - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
462 - New option ``--use-bibtex=style,db1,db2``.
463 - New option ``--reference-label`` to allow usage of LaTeX ref for
464 labels in section references.
465 - Add a label after every section to support sectionnumbers as reference
467 - Fix: bug# 1605376 rst2latex: bad options group list
468 - Remove inactive code for use_optionlist_for_option_list.
469 - Remove latex comments from option_list output.
470 - Fix: bug# 1612270 double qoutes in italian literal.
471 - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
472 - Add option --use-latex-abstract.
473 - Image width unit ``px`` is translated to ``pt``.
474 - Add image height support.
475 - Fix: image width ``70%`` is converted ``0.700\linewidth``.
477 - Fix: Do not escape underscores in citation reference labels if
478 use-latex-citations is set.
479 - Use centering instead of center for figure contents, to avoid vertical
481 - Recognize table class: borderless, nolines, booktabs, standard.
482 - Fix: Renaming contents section does not work with latex writer; SF
484 - Applied patch for custom roles with classes from Edward Loper.
485 - Fixed bug that caused crashes with more than 256 lists.
487 * docutils/writers/pep_html/__init__.py:
489 - Changed to support new python.org website structure and
492 * docs/howto/security.txt: "Deploying Docutils Securely", added to
495 * tools/buildhtml.py:
497 -- Added ``ignore`` setting to exclude a list of shell patterns
498 (default: ``.svn:CVS``).
500 * tools/editors/emacs/rst.el:
502 - Changed license to "GPL".
503 - Added ``rst-straighten-decorations`` function.
504 - The ``compile`` module is now always loaded.
505 - Added ``rst-toggle-line-block`` function.
506 - Headings consisting only of non-ASCII characters are now
507 recognized by ``rst-toc`` and ``rst-adjust``.
508 - Added font-lock support for multi-line comments where the first
509 comment line is empty.
510 - Added ``(require 'font-lock)``.
514 - Provide descriptive error message if distutils is missing.
517 Release 0.4 (2006-01-09)
518 ========================
522 - Updated the project policies for trunk/branch development &
525 * docutils/__init__.py:
527 - Added ``__version_details__`` attribute to describe code source
528 (repository/snapshot/release).
529 - Replaced ``default_transforms`` attribute of TransformSpec with
530 ``get_transforms()`` method.
534 - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
535 functions, for document tree extraction and reprocessing.
539 - Added ``DocTreeInput`` class, for reprocessing existing documents.
540 - Added support for non-Unicode (e.g. binary) writer output.
544 - Re-introduced ``Targetable.indirect_reference_name``, for
545 MoinMoin/reST compatibility (removed in r3124/r3129).
546 - Added ``serial_escape`` function; escapes string values that are
547 elements of a list, for serialization. Modified Docutils-XML
548 writing (``Element._dom_node``) and pseudo-XML writing
549 (``Element.starttag``) to use ``serial_escape``.
550 - Added ``Node.deepcopy()`` method.
551 - Removed the internal lists ``document.substitution_refs``,
552 ``document.anonymous_refs``, and ``document.anonymous_targets``.
553 - Added a "container" element.
554 - Fixed bug where values of list-valued attributes of elements
555 originating from custom interpreted text roles (i.e., with custom
556 classes) were being shared between element instances. Reported by
559 * docutils/statemachine.py:
561 - Added trailing whitespace stripping to ``string2lines()``.
562 - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
563 Asian double-width character support.
567 - Added ``east_asian_column_width()`` for double-width character
570 * docutils/languages/ja.py: Added to project: Japanese mappings by
573 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
574 mappings by Panjunyong.
576 * docutils/parsers/null.py: Added to project; a do-nothing parser.
578 * docutils/parsers/rst/__init__.py:
580 - Added validator to tab_width setting, with test. Closes SF bug
581 #1212515, report from Wu Wei.
583 * docutils/parsers/rst/states.py:
585 - Fixed bug with escaped colons indicating a literal block.
586 - Fixed bug with enumerated lists (SF#1254145).
587 - Backslash-escaped colons inside of field names are now allowed.
588 - Targets (implicit and explicit), anonymous hyperlink references
589 and auto-numbered footnote references inside of substitution
590 definitions are now disallowed.
591 - Fixed bug: list items with blank first lines.
592 - Fixed bug: block quote attributions with indented second lines.
593 - Added East Asian double-width character support (Python 2.4 only).
595 * docutils/parsers/rst/tableparser.py:
597 - Added East Asian double-width character support (Python 2.4 only).
599 * docutils/parsers/rst/directives/body.py:
601 - Added the "container" directive.
603 * docutils/parsers/rst/directives/misc.py:
605 - Added the "default-role", "title", and "date" directives.
606 - Added standard data file syntax to the "include" directive.
607 - Added support for "class" directive content.
609 * docutils/parsers/rst/directives/images.py:
611 - Added ``indirect_reference_name`` support for images with a target
613 - Added support for image width and height units.
614 - Fixed bug with image "target" options.
616 * docutils/parsers/rst/directives/references.py:
618 - Added "class" attribute to "target-notes" directive, for
619 footnote_reference classes.
621 * docutils/parsers/rst/include/: Directory added to project; contains
622 standard data files for the "include" directive. Initial contents:
623 character entity substitution definition sets, and a set of
624 definitions for S5/HTML presentations.
626 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
627 mappings by David Goodger.
629 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
630 Simplified Chinese mappings by Panjunyong.
632 * docutils/readers/__init__.py:
634 - Added universal.Decorations and universal.ExposeInternals
635 transforms as default transforms for all readers.
636 - Added ``ReReader`` base class for readers that reread an existing
639 * docutils/readers/doctree.py: Added to project; a reader for existing
642 * docutils/transforms/frontmatter.py:
644 - Fixed the DocInfo transform to handle SVN-style expansion of the
646 - In ``DocInfo.extract_authors``, treat the contents of "authors"
649 * docutils/transforms/misc.py:
651 - Added misc.Transitions transform, extracted from
652 universal.FinalChecks.
654 * docutils/transforms/references.py:
656 - Added references.DanglingReferences transform, extracted from
657 universal.FinalChecks.
658 - Fixed bug with doubly-indirect substitutions.
659 - Added footnote_reference classes attribute to "TargetNotes".
660 - Fixed bug with circular substitution definitions that put Docutils
661 into an infinite loop.
663 * docutils/transforms/universal.py:
665 - Added universal.ExposeInternals transform, extracted from
666 universal.FinalChecks.
667 - Removed universal.FinalChecks transform (logic has been moved to
668 several new transforms).
669 - Fixed bug with the "expose_internals" setting and Text nodes
670 (exposed by the "rawsource" internal attribute).
671 - Added the universal.StripComments transform, implementation of the
672 "strip_comments" setting.
674 * docutils/transforms/writer_aux.py: Added to project; auxiliary
675 transforms for writers.
677 - Added ``Compound`` transform, which flattens compound paragraphs.
679 * docutils/writers/: Several writer modules (html4css1.py) were
680 converted into packages. Support modules and data files have been
681 moved into the packages. The stylesheets for the HTML writers are
682 now installed along with the code, the code knows where to find
683 them, and the default is to use them (actually, to embed them).
684 Some adjustments to configuration files may be necessary. The
685 easiest way to obtain the new default behavior is to remove all
686 settings whose name includes "stylesheet".
688 * docutils/writers/__init__.py:
690 - Added universal.Messages and universal.FilterMessages transforms
691 as default transforms for all writers.
692 - Added ``UnfilteredWriter`` base class for writers that pass the
693 document tree on unchanged.
695 * docutils/writers/docutils_xml.py:
697 - Made ``xmlcharrefreplace`` the default output encoding error
700 * docutils/writers/html4css1/:
702 - Added support for image width and height units.
703 - Made ``xmlcharrefreplace`` the default output encoding error
705 - Made ``--embed-stylesheet`` the default rather than
706 ``--link-stylesheet``.
707 - Moved "id" attribute from container (section etc.) to title's <a>
708 tag, to be on the same tag as "name".
709 (!!! To be reverted in Docutils 0.5.)
710 - Added vertical space between fields of field lists.
711 - Added ``--compact-field-lists`` option to remove vertical space in
713 - Made cloaking of email addresses with ``--cloak-email-addresses``
715 - Fixed support for centered images.
716 - Added support for class="compact" & class="open" lists.
718 * docutils/writers/latex2e/:
720 - Underscores in citekeys are no longer escaped.
722 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
723 mapping of Unicode characters to LaTeX equivalents.
725 * docutils/writers/s5_html/: Package added to project; writer for
728 * docs/dev/distributing.txt: Added to project; guide for distributors
729 (package maintainers).
731 * docs/dev/hacking.txt: Added to project; guide for developers.
733 * docs/ref/doctree.txt:
735 - Updated for plural attributes "classes", "ids", "names",
737 - Added the "container" element.
739 * docs/ref/docutils.dtd:
741 - Updated for plural attributes "classes", "ids", "names",
744 * docs/user/emacs.txt: Added to project; a document about Emacs
745 support for reStructuredText and Docutils.
747 * docs/user/links.txt: Added to project; lists of Docutils-related
750 * docs/user/mailing-lists.txt: Added to project; information about
751 Docutils-related mailing lists and how to access them.
753 * docs/user/slide-shows.txt: Added to project; example of and docs for
754 the S5/HTML writer (``rst2s5.py`` front end).
756 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
757 Files", added to project.
759 * test/coverage.sh: Added to project; test coverage script.
761 * test/DocutilsTestSupport.py:
763 - Added support for specifying runtime settings at the suite level.
765 * test/test_functional.py:
767 - Added the ``clear_output_directory`` function.
768 - Added support for ``_test_more`` functions in functional test
771 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
773 * tools/rstpep2html.py: Renamed from pep.py.
775 * tools/dev/create_unimap.py: Added to project; script to create the
776 docutils/writers/unimap_latex.py mapping file.
778 * tools/dev/profile_docutils.py: Added to project; profiler script.
780 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
782 * tools/editors/emacs/restructuredtext.el,
783 tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
784 Removed from project; the functionality is now contained in rst.el.
786 * tools/editors/emacs/rst.el: Added to project. Added many features
787 and fixed many bugs. See docs/user/emacs.txt for details.
789 * tools/stylesheets: Removed from project. Stylesheets have been
790 renamed and moved into writer packages.
793 Release 0.3.9 (2005-05-26)
794 ==========================
798 - Eliminated and replaced all uses of the old string attributes
799 ``id``, ``name``, ``dupname`` and ``class`` with references to the
800 new list attributes ``ids``, ``names``, ``dupnames`` and
801 ``classes`` throughout the whole source tree.
805 - Enabled ``--dump-*`` options when ``--traceback`` specified,
806 allowing for easier debugging.
807 - In ``Publisher.publish()``, expanded the generic top-level
810 * docutils/examples.py:
812 - Added ``internals`` function for exploration.
816 - Fixed ``Input.decode`` method to apply heuristics only if no
817 encoding is explicitly given, and to provide better reporting of
819 - The ``Input.decode`` method now removes byte order marks (BOMs)
824 - ``image`` element class changed to subclass of Element, not
825 TextElement (it's an empty element, and cannot contain text).
826 - Added ``attr_defaults`` dictionary for default attribute values.
827 - Added empty list as default value for the following attributes:
828 ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
829 - Added ``document.decoration`` attribute,
830 ``document.get_decoration`` method, and ``decoration.get_header``
831 & ``.get_footer`` methods.
832 - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
837 - Removed ``docutils.utils.Reporter.categories``,
838 ``docutils.utils.ConditionSet``, and all references to them, to
839 simplify error reporting.
841 * docutils/languages/nl.py: Added to project; Dutch mappings by
844 * docutils/parsers/rst/__init__.py:
846 - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
848 * docutils/parsers/rst/states.py:
850 - Added check for escaped at-mark to prevent email address recognition.
851 - Fixed option lists to allow spaces inside ``<angle-bracketed option
853 - Allowed whitespace in paths and URLs.
854 - Added auto-enumerated list items.
855 - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
857 - Added support for table stub columns.
859 * docutils/parsers/rst/directives/__init__.py:
861 - Allowed whitespace in paths (``path`` function).
862 - Added ``uri`` directive option conversion function.
864 * docutils/parsers/rst/directives/body.py:
866 - Fixed illegal context bug with "topic" directive (allowed within
867 sidebars; not within body elements).
869 * docutils/parsers/rst/directives/images.py:
871 - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
872 - Added support for the ``file_insertion_enabled`` setting in the
873 "figure" directive (disables "figwidth" option).
874 - "image" directive: added checks for valid values of "align" option,
875 depending on context. "figure" directive: added specialized
876 "align" option and attribute on "figure" element.
877 - Made ":figwidth: image" option of "figure" directive work again.
878 - Fixed bug with reference names containing uppercase letters
879 (e.g. ``Name_``) in "target" option of "image" directive.
881 * docutils/parsers/rst/directives/misc.py:
883 - Fixed "include" and "raw" directives to catch text decoding
885 - Allowed whitespace in "include" & "raw" directive paths.
886 - Added support for ``file_insertion_enabled`` & ``raw_enabled``
887 settings in "include" & "raw" directives.
889 * docutils/parsers/rst/directives/parts.py:
891 - Added "header" & "footer" directives.
892 - Fixed illegal context bug with "contents" directive (topics
893 allowed within sidebars; not within body elements).
895 * docutils/parsers/rst/directives/tables.py:
897 - Added "list-table" directive.
898 - Caught empty CSV table bug.
899 - Added support for the ``file_insertion_enabled`` setting in the
900 "csv-table" directive.
901 - Added ``stub-columns`` option to "csv-table" and "list-table"
904 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
905 mappings by Martijn Pieters.
907 * docutils/readers/standalone.py:
909 - Added ``--section-subtitles`` and ``--no-section-subtitles``
910 options to activate or deactivate the SectSubTitle transform.
912 * docutils/transforms/frontmatter.py:
914 - Added SectSubTitle transform to promote titles of lone
915 subsections to subtitles.
917 * docutils/transforms/references.py:
919 - Fixed mislocated internal targets bug, by propagating internal
920 targets to the next node, making use of the newly added support
921 for multiple names and IDs.
922 - Fixed duplicate footnote label bug.
923 - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
926 * docutils/writers/html4css1.py:
928 - Fixed unencoded stylesheet reference bug (characters like "&" in
929 stylesheet references).
930 - ``target`` nodes now appear as ``span`` tags (instead of ``a``
932 - Added support for multiple IDs per node by creating empty ``span``
934 - Added the ``field_name_limit`` & ``option_limit`` settings &
936 - Added support for table stub columns.
937 - Added support for the ``align`` attribute on ``figure`` elements.
938 - Added the ``cloak_email_addresses`` setting & support.
939 - Added ``html_prolog``, ``html_head``, ``html_body``,
940 ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
941 ``docutils.core.publish_parts``.
942 - Added support for section subtitles.
944 * docutils/writers/latex2e.py:
946 - Fixed tables starting with more than one multirow cell.
947 - Improved --use-latex-docinfo so that organization/contact/address
948 fields are lumped with the last author field and appear on the
950 - Made sure the titlepage is always shown with --use-latex-docinfo,
951 even if the document has no title.
952 - Made sure that latex doesn't fill in today's date if no date field
954 - Added support for section subtitles.
956 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
959 * docutils/writers/null.py: Added to project; a do-nothing Writer.
961 * docs/api/publisher.txt:
963 - Added "``publish_parts`` Details" section.
965 * docutils/dev/repository.txt: Added to project; information about the
966 Docutils Subversion repository.
968 * docs/ref/docutils.dtd:
970 - Added a ``stub`` attribute to the ``colspec`` element via the
971 ``tbl.colspec.att`` parameter entity.
972 - Allowed topic elements within sidebars
973 - Added an ``align`` attribute to the ``figure`` element.
975 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
979 Release 0.3.7 (2004-12-24)
980 ==========================
982 * docutils/frontend.py:
984 - Added options: --input-encoding-error-handler,
985 --record-dependencies, --leave-footnote-reference-space,
987 - Added command-line and config file support for "overrides" setting
992 - Added support for input encoding error handler.
996 - Added dispatch_visit and dispatch_departure methods to
997 NodeVisitor; useful as a hook for Visitors.
998 - Changed structure of ``line_block``; added ``line``.
999 - Added ``compound`` node class.
1000 - Added a mechanism for Visitors to transitionally ignore new node
1003 * docutils/utils.py:
1005 - Moved ``escape2null`` and ``unescape`` functions from
1006 docutils/parsers/rst/states.py.
1008 * docutils/parsers/rst/roles.py:
1011 - Changed role function API: the "text" parameter now takes
1012 null-escaped interpreted text content.
1014 * docutils/parsers/rst/states.py:
1016 - Fixed bug where a "role" directive in a nested parse would crash
1017 the parser; the state machine's "language" attribute was not being
1019 - Added support for line block syntax.
1020 - Fixed directive parsing bug: argument-less directives didn't
1021 notice that arguments were present.
1022 - Removed error checking for transitions.
1023 - Added support for multiple classifiers in definition list items.
1024 - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1025 - Changed role function API: the "text" parameter now takes
1026 null-escaped interpreted text content.
1027 - Empty sections and documents are allowed now.
1029 * docutils/parsers/rst/directives/__init__.py:
1031 - Added ``encoding`` directive option conversion function.
1032 - Allow multiple class names in class_option conversion function.
1034 * docutils/parsers/rst/directives/body.py:
1036 - Converted the line-block directive to use the new structure.
1037 - Extracted the old line-block functionality to the ``block``
1038 function (still used).
1039 - Added ``compound`` directive (thanks to Lea Wiemann).
1041 * docutils/parsers/rst/directives/misc.py:
1043 - Added "encoding" option to "include" and "raw" directives.
1044 - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1045 - Allow multiple class names in the "class" directive.
1047 * docutils/parsers/rst/directives/parts.py:
1049 - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1050 options. Thanks to Lele Gaifax.
1052 * docutils/parsers/rst/directives/tables.py:
1054 - Added "encoding" directive to "csv-table" directive.
1055 - Added workaround for lack of Unicode support in csv.py, for
1056 non-ASCII CSV input.
1058 * docutils/transforms/misc.py:
1060 - Fixed bug when multiple "class" directives are applied to a single
1062 - Enabled multiple format names for "raw" directive.
1064 * docutils/transforms/references.py:
1066 - Added support for trimming whitespace from beside substitution
1069 * docutils/transforms/universal.py:
1071 - FinalChecks now checks for illegal transitions and moves
1072 transitions between sections.
1074 * docutils/writers/html4css1.py:
1076 - HTMLTranslator.encode now converts U+00A0 to " ".
1077 - "stylesheet" and "stylesheet_path" settings are now mutually
1079 - Added support for the new line_block/line structure.
1080 - --footnote-references now overrides
1081 --trim-footnote-reference-space, if applicable.
1082 - Added support for ``compound`` elements.
1083 - Enabled multiple format names for "raw" directive.
1084 - ``<p>`` tags of a paragraph which is the only visible child of the
1085 document node are no longer stripped.
1086 - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1087 new method ``should_be_compact_paragraph()``.
1088 - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1090 - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1091 the output if they have their ``class`` attribute set.
1092 - The whole document is now surrounded by a ``<div
1093 class="document">`` element.
1094 - Body-level images are now wrapped by their own ``<div>`` elements,
1095 with image classes copied to the wrapper, and for images which
1096 have the ``:align:`` option set, the surrounding ``<div>`` now
1097 receives a class attribute (like ``class="align-left"``).
1099 * docutils/writers/latex2e.py:
1101 - no newline after depart_term.
1102 - Added translations for some Unicode quotes.
1103 - Added option "font-encoding", made package AE the default.
1104 - "stylesheet" and "stylesheet_path" settings are now mutually
1106 - --footnote-references now overrides
1107 --trim-footnote-reference-space, if applicable.
1108 - The footnote label style now matches the footnote reference style
1109 ("brackets" or "superscript").
1110 - Added support for ``compound`` elements.
1111 - Enabled multiple format names for "raw" directive.
1113 * docs/ref/docutils.dtd:
1115 - Changed structure of the ``line_block`` element; added ``line``.
1116 - Added ``compound`` element.
1117 - Added "ltrim" and "rtrim" attributes to
1118 ``substitution_definition`` element.
1119 - Enabled multiple format names for ``raw`` element.
1120 - Enabled multiple classifiers in ``definition_list_item`` elements.
1122 * docs/ref/rst/directives.txt
1124 - Marked "line-block" as deprecated.
1125 - "Class" directive now allows multiple class names.
1126 - Added "Rationale for Class Attribute Value Conversion".
1127 - Added warning about "raw" overuse/abuse.
1129 * docs/ref/rst/restructuredtext.txt:
1131 - Added syntax for line blocks.
1132 - Definition list items may have multiple classifiers.
1134 * docs/ref/rst/roles.txt:
1138 * tools/stylesheets/default.css:
1140 - Added support for the new line_block structure.
1141 - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1144 Release 0.3.5 (2004-07-29)
1145 ==========================
1149 * _`Documentation cleanup/reorganization`.
1151 - Created new subdirectories of docs/:
1153 * ``docs/user/``: introductory/tutorial material for end-users
1154 * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1155 * ``docs/api/``: API reference material for client-developers
1156 * ``docs/ref/``: reference material for all groups
1157 * ``docs/howto/``: for component-developers and core-developers
1158 * ``docs/peps/``: Python Enhancement Proposals
1160 - Moved ``docs/*`` to ``docs/user/``.
1161 - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1162 ``spec/`` to ``docs/dev``.
1163 - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1164 ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1165 - Moved ``alternatives.txt``, and ``problems.txt`` from
1166 ``spec/rst/`` to ``docs/dev/rst/``.
1167 - Moved ``reStructuredText.txt``, ``directives.txt``,
1168 ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1169 to ``docs/ref/rst/``. Renamed ``interpreted.txt`` to
1170 ``roles.txt``, ``reStructuredText.txt`` to
1171 ``restructuredtext.txt``.
1172 - Moved ``spec/howto/`` to ``docs/howto``.
1174 In order to keep the CVS history of moved files, we supplied
1175 SourceForge with a `script for modifying the Docutils CVS
1178 __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1180 After running the cleanup script:
1182 - Added ``docs/index.txt``.
1183 - Added a ``.htaccess`` file to the ``web`` module, containing
1184 redirects for all old paths to new paths. They'll preserve
1185 fragments (the "#name" part of a URL), and won't clutter up the
1186 file system, and will correct the URL in the user's browser.
1187 - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1188 ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1189 the "To Do" list itself in ``docs/dev/todo.txt``.
1190 - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1191 section of ``docs/dev/todo.txt``.
1192 - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1193 - Added "How To Report Bugs" to ``BUGS.txt``.
1194 - Went through all the sources and docs (including under web/) and
1195 updated links. Mostly done by Lea Wiemann; thanks Lea!
1196 (Still need to update links in the sandboxes.)
1200 * BUGS.txt: Added to project.
1202 * THANKS.txt: Added to project.
1204 * docutils/__init__.py:
1206 - 0.3.4: Post-release.
1210 - Added special error handling & advice for UnicodeEncodeError.
1211 - Refactored Publisher.publish (simplified exception handling &
1212 extracted debug dumps).
1213 - Renamed "enable_exit" parameter of convenience functions to
1214 "enable_exit_status".
1215 - Enabled traceback (exception propagation) by default in
1216 programmatic convenience functions.
1217 - Now publish_file and publish_cmdline convenience functions return
1218 the encoded string results in addition to their regular I/O.
1219 - Extracted common code from publish_file, publish_string, and
1220 publish_parts, into new publish_programmatically. Extracted
1221 settings code to ``Publisher.process_programmatic_settings``.
1222 - In Publisher.publish, disabled ``settings_overrides`` when
1223 ``settings`` is supplied; redundant.
1225 * docutils/frontend.py:
1227 - Added help text for "--output-encoding-error-handler" and
1228 "--error-encoding-error-handler".
1229 - Renamed "--exit" to "--exit-status".
1230 - Simplified default-setting code.
1232 * docutils/parsers/rst/__init__.py:
1234 - Added "--pep-base-url" and "--rfc-base-url" options.
1236 * docutils/parsers/rst/states.py:
1238 - Made URI recognition more aggressive and intelligent.
1240 * docutils/parsers/rst/directives/__init__.py:
1242 - Added several directive option conversion functions.
1244 * docutils/parsers/rst/directives/body.py:
1246 - Moved "table" directive to tables.py.
1248 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1251 * docutils/writers/latex2e.py:
1253 - Added "--table-style=(standard|booktabs|nolines)"
1254 - figures get "here" option (LaTeX per default puts them at bottom),
1255 and figure content is centered.
1256 - Rowspan support for tables.
1257 - Fix: admonition titles before first section.
1258 - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1259 - Replave ``_`` in literal by an underlined blank, because it has the correct
1261 - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1262 - A few unicode replacements, if output_encoding != utf
1263 - Add "--graphicx-option".
1264 - Indent literal-blocks.
1265 - Fix: omit ``\maketitle`` when there is no document title.
1267 * docs/index.txt: "Docutils Project Documentation Overview", added to
1270 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1271 Tool", added to project.
1273 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1275 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1277 * docs/dev/policies.txt: Added to project (extracted from
1278 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1280 * docs/dev/release.txt: Added to project (extracted from
1281 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1283 * docs/dev/testing.txt: Added to project.
1285 * docs/dev/website.txt: Added to project (extracted from
1286 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1288 * docs/ref/rst/directives.txt:
1290 - Added directives: "table", "csv-table".
1292 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1293 added to project. 1 page for syntax, and a 1 page reference for
1294 directives and roles. Source text to be used as-is; not meant to be
1297 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1298 with a change of title.
1300 * test/functional/, contents, and test/test_functional.py: Added to
1303 * tools/buildhtml.py: Fixed bug with config file handling.
1305 * tools/html.py: Removed from project (duplicate of rst2html.py).
1307 * tools/pep2html.py: Removed from project (duplicate of Python's
1308 nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1309 Docutils-related PEPs in docs/peps/).
1311 * tools/rst2pseudoxml.py: Renamed from publish.py.
1313 * tools/rst2xml.py: Renamed from docutils-xml.py.
1315 * tools/test.txt: Removed from project; moved to
1316 docs/user/rst/demo.txt.
1318 * setup.py: Now also installs ``rst2latex.py``.
1321 Release 0.3.3 (2004-05-09)
1322 ==========================
1324 * docutils/__init__.py:
1326 - 0.3.1: Reorganized config file format (multiple sections); see
1328 - Added unknown_reference_resolvers attribute to TransformSpec.
1329 - 0.3.2: Interpreted text reorganization.
1334 - Catch system messages to stop tracebacks from parsing errors.
1335 - Catch exceptions during processing report & exit without
1336 tracebacks, except when "--traceback" used.
1337 - Reordered components for OptionParser; application comes last.
1338 - Added "config_section" parameter to several methods and functions,
1339 allowing front ends to easily specify their config file sections.
1340 - Added publish_parts convenience function to allow access to individual
1341 parts of a document.
1343 * docutils/examples.py: Added to project; practical examples of
1344 Docutils client code, to be used as-is or as models for variations.
1346 * docutils/frontend.py:
1348 - Added "--traceback" & "--no-traceback" options ("traceback"
1350 - Implemented support for config file reorganization:
1351 ``standard_config_files`` moved from ``ConfigParser`` to
1352 ``OptionParser``; added
1353 ``OptionParser.get_config_file_settings()`` and
1354 ``.get_standard_config_settings()``; support for old "[options]"
1355 section (with deprecation warning) and mapping from old to new
1357 - Reimplemented setting validation.
1358 - Enabled flexible boolean values: yes/no, true/false, on/off.
1359 - Added ``Values``, a subclass of ``optparse.Values``, with support
1360 for list setting attributes.
1361 - Added support for new ``DOCUTILSCONFIG`` environment variable;
1362 thanks to Beni Cherniavsky.
1363 - Added "--no-section-numbering" option.
1367 - Catch IOErrors when opening source & destination files, report &
1368 exit without tracebacks. Added ``handle_io_errors`` parameter to
1369 ``FileInput`` & ``FileOutput`` to enable caller error handling.
1371 * docutils/nodes.py:
1373 - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1374 method definitions (via ``exec``) to dynamic assignments (via
1375 ``setattr``); thanks to Roman Suzi.
1376 - Encapsulated visitor dynamic assignments in a function; thanks to
1378 - Added indirect_reference_name attribute to the Targetable
1379 class. This attribute holds the whitespace_normalized_name
1380 (contains mixed case) of a target.
1382 * docutils/statemachine.py:
1384 - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1385 - Added ``StringList.get_2D_block``.
1387 * docutils/utils.py:
1389 - Added "level" attribute to SystemMessage exceptions.
1391 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1394 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1397 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1398 Marcelo Huerta San Martin.
1400 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1401 mappings by Lalo Martins.
1403 * docutils/languages/ru.py: Added to project; Russian mappings by
1406 * docutils/parsers/rst/roles.py: Added to project. Contains
1407 interpreted text role functions, a registry for interpreted text
1408 roles, and an API for adding to and retrieving from the registry.
1409 Contributed by Edward Loper.
1411 * docutils/parsers/rst/states.py:
1413 - Updated ``RSTState.nested_parse`` for "include" in table cells.
1414 - Allowed true em-dash character and "---" as block quote
1416 - Added support for <angle-bracketed> complex option arguments
1418 - Fixed handling of backslashes in substitution definitions.
1419 - Fixed off-by-1 error with extra whitespace after substitution
1420 definition directive.
1421 - Added inline markup parsing to field lists' field names.
1422 - Added support for quoted (and unindented) literal blocks.
1423 Driven in part by a bribe from Frank Siebenlist (thanks!).
1424 - Parser now handles escapes in URIs correctly.
1425 - Made embedded-URIs' reference text omittable. Idea from Beni
1427 - Refactored explicit target processing code.
1428 - Added name attribute to references containing the reference name only
1429 through whitespace_normalize_name (no case changes).
1430 - parse_target no longer returns the refname after going through
1431 normalize_name. This is now handled in make_target.
1432 - Fixed bug relating to role-less interpreted text in non-English
1434 - Reorganized interpreted text processing; moved code into the new
1435 roles.py module. Contributed by Edward Loper.
1436 - Refactored ``Body.parse_directive`` into ``run_directive`` and
1437 ``parse_directive_block``.
1439 * docutils/parsers/rst/tableparser.py:
1441 - Reworked for ``StringList``, to support "include" directives in
1444 * docutils/parsers/rst/directives/__init__.py:
1446 - Renamed ``unchanged()`` directive option conversion function to
1447 ``unchanged_required``, and added a new ``unchanged``.
1448 - Catch unicode value too high error; fixes bug 781766.
1449 - Beefed up directive error reporting.
1451 * docutils/parsers/rst/directives/body.py:
1453 - Added basic "table" directive.
1455 * docutils/parsers/rst/directives/images.py:
1457 - Added "target" option to "image" directive.
1458 - Added name attribute to references containing the reference name only
1459 through whitespace_normalize_name (no case changes).
1461 * docutils/parsers/rst/directives/misc.py:
1463 - Isolated the import of the ``urllib2`` module; was causing
1464 problems on SourceForge (``libssl.so.2`` unavailable?).
1465 - Added the "role" directive for declaring custom interpreted text
1468 * docutils/parsers/rst/directives/parts.py:
1470 - The "contents" directive does more work up-front, creating the
1471 "topic" and "title", and leaving the "pending" node for the
1472 transform. Allows earlier reference resolution; fixes subtle bug.
1474 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1475 mappings by Jannie Hofmeyr.
1477 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1478 mappings by Marek Blaha.
1480 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1481 mappings by Marcelo Huerta San Martin.
1483 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1484 Portuguese mappings by Lalo Martins.
1486 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1487 mappings by Roman Suzi.
1489 * docutils/transforms/parts.py:
1491 - The "contents" directive does more work up-front, creating the
1492 "topic" and "title", and leaving the "pending" node for the
1493 transform. Allows earlier reference resolution; fixes subtle bug.
1494 - Added support for disabling of section numbering.
1496 * docutils/transforms/references.py:
1498 - Verifying that external targets are truly targets and not indirect
1499 references. This is because we are now adding a "name" attribute to
1500 references in addition to targets. Note sure if this is correct!
1501 - Added code to hook into the unknown_reference_resolvers list for a
1502 transformer in resolve_indirect_target. This allows the
1503 unknown_reference_resolvers to keep around indirect targets which
1504 docutils doesn't know about.
1505 - Added specific error message for duplicate targets.
1507 * docutils/transforms/universal.py:
1509 - Added FilterMessages transform (removes system messages below the
1510 verbosity threshold).
1511 - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1512 to FinalCheckVisitor for application-specific handling of
1513 unresolvable references.
1514 - Added specific error message for duplicate targets.
1516 * docutils/writers/__init__.py:
1518 - Added assemble_parts method to the Writer class to allow for
1519 access to a documents individual parts.
1520 - Documented & set default for ``Writer.output`` attribute.
1522 * docutils/writers/html4css1.py:
1524 - Fixed unicode handling of attribute values (bug 760673).
1525 - Prevent duplication of "class" attribute values (bug report from
1527 - Improved table grid/border handling (prompted by report from Bob
1529 - Added support for table titles.
1530 - Added "<title />" for untitled docs, for XHTML conformance; thanks
1532 - Added functionality to keep track of individual parts of a document
1533 and store them in a dictionary as the "parts" attribute of the writer.
1534 Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1535 - Added proper support for the "scale" attribute of the "image"
1536 element. Contributed by Brent Cook.
1537 - Added ``--initial-header-level`` option.
1538 - Fixed bug: the body_pre_docinfo segment depended on there being a
1539 docinfo; if no docinfo, the document title was incorporated into
1540 the body segment. Adversely affected the publish_parts interface.
1542 * docutils/writers/latex2e.py:
1544 - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1545 about a missing file.
1546 - Added options and support: ``--compound-enumerators``,
1547 ``--section-prefix-for-enumerators``, and
1548 ``--section-enumerator-separator``. By John F Meinel Jr (SF patch
1550 - Added option ``--use-verbatim-when-possible``, to avoid
1551 problematic characters (eg, '~' in italian) in literal blocks.
1552 - It's now possible to use four section levels in the `book` and
1553 `report` LaTeX classes. The default `article` class still has
1556 * docs/config.txt: "Docutils Configuration Files", added to project.
1557 Moved config file entry descriptions from tools.txt.
1561 - Moved config file entry descriptions to config.txt.
1563 * spec/notes.txt: Continual updates. Added "Setting Up For Docutils
1566 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1567 Text Roles", added to project.
1569 * spec/rst/reStructuredText.txt:
1571 - Added description of support for <angle-bracketed> complex option
1572 arguments to option lists.
1573 - Added subsections for indented and quoted literal blocks.
1575 * test: Continually adding & updating tests.
1577 - Added test/test_settings.py & test/data/config_*.txt support
1579 - Added test/test_writers/test_htmlfragment.py.
1581 * test/DocutilsTestSupport.py:
1583 - Refactored LaTeX publisher test suite/case class names to make
1584 testing other writers easier.
1585 - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1586 to test the processing of HTML fragments which use the new
1587 publish_parts convenience function.
1589 * tools/buildhtml.py:
1591 - Added support for the "--prune" option.
1592 - Removed dependency on pep2html.py; plaintext PEPs no longer
1595 * tools/docutils.conf:
1597 - Updated for configuration file reorganization.
1599 * tools/rst2html.py:
1601 - copied from tools/html.py
1605 - added a 'scripts' section to configuration
1606 - added 'tools/rst2html.py' to the scripts section
1609 Release 0.3 (2003-06-24)
1610 ========================
1614 * Renamed "attribute" to "option" for directives/extensions.
1616 * Renamed transform method "transform" to "apply".
1618 * Renamed "options" to "settings" for runtime settings (as set by
1619 command-line options). Sometimes "option" (singular) became
1620 "settings" (plural). Some variations below:
1622 - document.options -> document.settings (stored in other objects as
1624 - option_spec -> settings_spec (not directives though)
1625 - OptionSpec -> SettingsSpec
1626 - cmdline_options -> settings_spec
1627 - relative_path_options -> relative_path_settings
1628 - option_default_overrides -> settings_default_overrides
1629 - Publisher.set_options -> Publisher.get_settings
1633 * COPYING.txt: Added "Public Domain Dedication".
1635 * FAQ.txt: Frequently asked questions, added to project.
1639 - Updated with PyPI Trove classifiers.
1640 - Conditional installation of third-party modules.
1642 * docutils/__init__.py:
1644 - Bumped version to 0.2.1 to reflect changes to I/O classes.
1645 - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1646 - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1647 - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1648 option and its effect on the PEP template & writer.
1649 - Bumped version to 0.2.4 due to changes to the PEP template &
1651 - Bumped version to 0.2.5 to reflect changes to Reporter output.
1652 - Added ``TransformSpec`` class for new transform system.
1653 - Bumped version to 0.2.6 for API changes (renaming).
1654 - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1655 convenience functions.
1656 - Added ``Component.component_type`` attribute.
1657 - Bumped version to 0.2.8 because of the internal parser switch from
1658 plain lists to the docutils.statemachine.StringList objects.
1659 - Bumped version to 0.2.9 because of the frontend.py API changes.
1660 - Bumped version to 0.2.10 due to changes to the project layout
1661 (third-party modules removed from the "docutils" package), and
1662 signature changes in ``io.Input``/``io.Output``.
1663 - Changed version to 0.3.0 for release.
1667 - Made ``publish()`` a bit more convenient.
1668 - Generalized ``Publisher.set_io``.
1669 - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1670 parameters; improved its docstring.
1671 - Added ``publish_file()`` and ``publish_string()``.
1672 - Factored ``Publisher.set_source()`` and ``.set_destination()``
1674 - Added support for "--dump-pseudo-xml", "--dump-settings", and
1675 "--dump-transforms" hidden options.
1676 - Added ``Publisher.apply_transforms()`` method.
1677 - Added ``Publisher.set_components()`` method; support for
1678 ``publish_*()`` conveninece functions.
1679 - Moved config file processing to docutils/frontend.py.
1680 - Added support for exit status ("exit_level" setting &
1681 ``enable_exit`` parameter for Publisher.publish() and convenience
1684 * docutils/frontend.py:
1686 - Check for & exit on identical source & destination paths.
1687 - Fixed bug with absolute paths & "--config".
1688 - Set non-command-line defaults in ``OptionParser.__init__()``:
1689 ``_source`` & ``_destination``.
1690 - Distributed ``relative_path_settings`` to components; updated
1691 ``OptionParser.populate_from_components()`` to combine it all.
1692 - Require list of keys in ``make_paths_absolute`` (was implicit in
1693 global ``relative_path_settings``).
1694 - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1695 "--dump-settings", and "--dump-transforms" hidden options.
1696 - Removed nasty internals-fiddling ``ConfigParser.get_section``
1697 code, replaced with correct code.
1698 - Added validation functionality for config files.
1699 - Added "--error-encoding" option/setting, "_disable_config"
1701 - Added encoding validation; updated "--input-encoding" and
1702 "--output-encoding"; added "--error-encoding-error-handler" and
1703 "--output-encoding-error-handler".
1704 - Moved config file processing from docutils/core.py.
1705 - Updated ``OptionParser.populate_from_components`` to handle new
1706 ``SettingsSpec.settings_defaults`` dict.
1707 - Added support for "-" => stdin/stdout.
1708 - Added "exit_level" setting ("--exit" option).
1712 - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1713 - Added automatic closing to ``FileInput`` and ``FileOutput``.
1714 - Delayed opening of ``FileOutput`` file until ``write()`` called.
1715 - ``FileOutput.write()`` now returns the encoded output string.
1716 - Try to get path/stream name automatically in ``FileInput`` &
1718 - Added defaults for source & destination paths.
1719 - Allow for Unicode I/O with an explicit "unicode" encoding.
1720 - Added ``Output.encode()``.
1721 - Removed dependency on runtime settings; pass encoding directly.
1722 - Recognize Unicode strings in ``Input.decode()``.
1723 - Added support for output encoding error handlers.
1725 * docutils/nodes.py:
1727 - Added "Invisible" element category class.
1728 - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1729 modification during a traversal.
1730 - Added element classes: ``line_block``, ``generated``, ``address``,
1731 ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1732 ``superscript``, ``subscript``, ``inline``
1733 - Added support for lists of nodes to ``Element.insert()``.
1734 - Fixed parent linking in ``Element.replace()``.
1735 - Added new abstract superclass ``FixedTextElement``; adds
1736 "xml:space" attribute.
1737 - Added support for "line" attribute of ``system_message`` nodes.
1738 - Added support for the observer pattern from ``utils.Reporter``.
1739 Added ``parse_messages`` and ``transform_messages`` attributes to
1740 ``document``, removed ``messages``. Added ``note_parse_message``
1741 and ``note_transform_message`` methods.
1742 - Added support for improved diagnostics:
1744 - Added "document", "source", and "line" internal attributes to
1745 ``Node``, set by ``Node.setup_child()``.
1746 - Converted variations on ``node.parent = self`` to
1747 ``self.setup_child(node)``.
1748 - Added ``document.current_source`` & ``.current_line``
1749 attributes, and ``.note_source`` observer method.
1750 - Changed "system_message" output to GNU-Tools format.
1752 - Added a "rawsource" attribute to the ``Text`` class, for text
1753 before backslash-escape resolution.
1754 - Support for new transform system.
1755 - Reworked ``pending`` element.
1756 - Fixed XML DOM bug (SF #660611).
1757 - Removed the ``interpeted`` element class and added
1758 ``title_reference``, ``abbreviation``, ``acronym``.
1759 - Made substitutions case-sensitive-but-forgiving; moved some code
1761 - Fixed Unicode bug on element attributes (report: William Dode).
1763 * docutils/optik.py: Removed from project; replaced with
1764 extras/optparse.py and extras/textwrap.py. These will be installed
1765 only if they're not already present in the Python installation.
1767 * docutils/roman.py: Moved to extras/roman.py; this will be installed
1768 only if it's not already present in the Python installation.
1770 * docutils/statemachine.py:
1772 - Factored out ``State.add_initial_transitions()`` so it can be
1774 - Converted whitespace-specific "blank" and "indent" transitions
1775 from special-case code to ordinary transitions: removed
1776 ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
1777 ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
1778 ``ws_initial_transitions`` attributes.
1779 - Removed ``State.match_transition()`` after merging it into
1781 - Added ``StateCorrection`` exception.
1782 - Added support for ``StateCorrection`` in ``StateMachine.run()``
1783 (moved ``TransitionCorrection`` support there too.)
1784 - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
1785 ``EOFError`` instead of ``IndexError``.
1786 - Added ``State.no_match`` method.
1787 - Added support for the Observer pattern, triggered by input line
1789 - Added ``strip_top`` parameter to
1790 ``StateMachineWS.get_first_known_indented``.
1791 - Made ``context`` a parameter to ``StateMachine.run()``.
1792 - Added ``ViewList`` & ``StringList`` classes;
1793 ``extract_indented()`` becomes ``StringList.get_indented()``.
1794 - Added ``StateMachine.insert_input()``.
1795 - Fixed ViewList slice handling for Python 2.3. Patch from (and
1796 thanks to) Fred Drake.
1798 * docutils/utils.py:
1800 - Added a ``source`` attribute to Reporter instances and
1801 ``system_message`` elements.
1802 - Added an observer pattern to ``utils.Reporter`` to keep track of
1804 - Fixed bugs in ``relative_path()``.
1805 - Added support for improved diagnostics.
1806 - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
1807 - Added support for encoding Reporter stderr output, and encoding
1809 - Reporter keeps track of the highest level system message yet
1812 * docutils/languages: Fixed bibliographic field language lookups.
1814 * docutils/languages/es.py: Added to project; Spanish mappings by
1815 Marcelo Huerta San Martin.
1817 * docutils/languages/fr.py: Added to project; French mappings by
1820 * docutils/languages/it.py: Added to project; Italian mappings by
1823 * docutils/languages/sk.py: Added to project; Slovak mappings by
1826 * docutils/parser/__init__.py:
1828 - Added ``Parser.finish_parse()`` method.
1830 * docutils/parser/rst/__init__.py:
1832 - Added options: "--pep-references", "--rfc-references",
1833 "--tab-width", "--trim-footnote-reference-space".
1835 * docutils/parsers/rst/states.py:
1837 - Changed "title under/overline too short" system messages from INFO
1838 to WARNING, and fixed its insertion location.
1839 - Fixed enumerated list item parsing to allow paragraphs & section
1840 titles to begin with enumerators.
1841 - Converted system messages to use the new "line" attribute.
1842 - Fixed a substitution reference edge case.
1843 - Added support for "--pep-references" and "--rfc-references"
1844 options; reworked ``Inliner`` code to make customization easier.
1845 - Removed field argument parsing.
1846 - Added support for short section title over/underlines.
1847 - Fixed "simple reference name" regexp to ignore text like
1848 "object.__method__"; not an anonymous reference.
1849 - Added support for improved diagnostics.
1850 - Reworked directive API, based on Dethe Elza's contribution. Added
1851 ``Body.parse_directive()``, ``.parse_directive_options()``,
1852 ``.parse_directive_arguments()`` methods.
1853 - Added ``ExtensionOptions`` class, to parse directive options
1854 without parsing field bodies. Factored
1855 ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
1856 ``ExtensionOptions``.
1857 - Improved definition list term/classifier parsing.
1858 - Added warnings for unknown directives.
1859 - Renamed ``Stuff`` to ``Struct``.
1860 - Now flagged as errors: transitions at the beginning or end of
1861 sections, empty sections (except title), and empty documents.
1862 - Updated for ``statemachine.StringList``.
1863 - Enabled recognition of schemeless email addresses in targets.
1864 - Added support for embedded URIs in hyperlink references.
1865 - Added backslash-escapes to inline markup end-string suffix.
1866 - Added support for correct interpreted text processing.
1867 - Fixed nested title parsing (topic, sidebar directives).
1868 - Added special processing of backslash-escaped whitespace (idea
1869 from David Abrahams).
1870 - Made substitutions case-sensitive-but-forgiving; moved some code
1871 to ``docutils.nodes``.
1872 - Added support for block quote attributions.
1873 - Added a kludge to work-around a conflict between the bubble-up
1874 parser strategy and short titles (<= 3 char-long over- &
1875 underlines). Fixes SF bug #738803 "infinite loop with multiple
1876 titles" submitted by Jason Diamond.
1877 - Added explicit interpreted text roles for standard inline markup:
1878 "emphasis", "strong", "literal".
1879 - Implemented "superscript" and "subscript" interpreted text roles.
1880 - Added initial support for "abbreviation" and "acronym" roles;
1882 - Added support for "--trim-footnote-reference-space" option.
1883 - Optional space before colons in directives & hyperlink targets.
1885 * docutils/parsers/rst/tableparser.py:
1887 - Fixed a bug that was producing unwanted empty rows in "simple"
1889 - Detect bad column spans in "simple" tables.
1891 * docutils/parsers/rst/directives: Updated all directive functions to
1894 * docutils/parsers/rst/directives/__init__.py:
1896 - Added ``flag()``, ``unchanged()``, ``path()``,
1897 ``nonnegative_int()``, ``choice()``, and ``class_option()``
1898 directive option helper functions.
1899 - Added warnings for unknown directives.
1900 - Return ``None`` for missing directives.
1901 - Added ``register_directive()``, thanks to William Dode and Paul
1904 * docutils/parsers/rst/directives/admonitions.py:
1906 - Added "admonition" directive.
1908 * docutils/parsers/rst/directives/body.py: Added to project. Contains
1909 the "topic", "sidebar" (from Patrick O'Brien), "line-block",
1910 "parsed-literal", "rubric", "epigraph", "highlights" and
1911 "pull-quote" directives.
1913 * docutils/parsers/rst/directives/images.py:
1915 - Added an "align" attribute to the "image" & "figure" directives
1916 (by Adam Chodorowski).
1917 - Added "class" option to "image", and "figclass" to "figure".
1919 * docutils/parsers/rst/directives/misc.py:
1921 - Added "include", "raw", and "replace" directives, courtesy of
1923 - Added "unicode" and "class" directives.
1925 * docutils/parsers/rst/directives/parts.py:
1927 - Added the "sectnum" directive; by Dmitry Jemerov.
1928 - Added "class" option to "contents" directive.
1930 * docutils/parsers/rst/directives/references.py: Added to project.
1931 Contains the "target-notes" directive.
1933 * docutils/parsers/rst/languages/__init__.py:
1935 - Return ``None`` from get_language() for missing language modules.
1937 * docutils/parsers/rst/languages/de.py: Added to project; German
1938 mappings by Engelbert Gruber.
1940 * docutils/parsers/rst/languages/en.py:
1942 - Added interpreted text roles mapping.
1944 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
1945 mappings by Marcelo Huerta San Martin.
1947 * docutils/parsers/rst/languages/fr.py: Added to project; French
1948 mappings by William Dode.
1950 * docutils/parsers/rst/languages/it.py: Added to project; Italian
1951 mappings by Nicola Larosa.
1953 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
1954 mappings by Miroslav Vasko.
1956 * docutils/readers/__init__.py:
1958 - Added support for the observer pattern from ``utils.Reporter``, in
1959 ``Reader.parse`` and ``Reader.transform``.
1960 - Removed ``Reader.transform()`` method.
1961 - Added default parameter values to ``Reader.__init__()`` to make
1962 instantiation easier.
1963 - Removed bogus aliases: "restructuredtext" is *not* a Reader.
1965 * docutils/readers/pep.py:
1967 - Added the ``peps.TargetNotes`` transform to the Reader.
1968 - Removed PEP & RFC reference detection code; moved to
1969 parsers/rst/states.py as options (enabled here by default).
1970 - Added support for pre-acceptance PEPs (no PEP number yet).
1971 - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
1974 * docutils/readers/python: Python Source Reader subpackage added to
1975 project, including preliminary versions of:
1978 - moduleparser.py: Parser for Python modules.
1980 * docutils/transforms/__init__.py:
1982 - Added ``Transformer`` class and completed transform reform.
1983 - Added unknown_reference_resolvers list for each transformer. This list holds
1984 the list of functions provided by each component of the transformer that
1985 help resolve references.
1987 * docutils/transforms/frontmatter.py:
1989 - Improved support for generic fields.
1990 - Fixed bibliographic field language lookups.
1992 * docutils/transforms/misc.py: Added to project. Miscellaneous
1995 * docutils/transforms/parts.py:
1997 - Moved the "id" attribute from TOC list items to the references
1998 (``Contents.build_contents()``).
1999 - Added the ``SectNum`` transform; by Dmitry Jemerov.
2000 - Added "class" attribute support to ``Contents``.
2002 * docutils/transforms/peps.py:
2004 - Added ``mask_email()`` function, updating to pep2html.py's
2006 - Linked "Content-Type: text/x-rst" to PEP 12.
2007 - Added the ``TargetNotes`` PEP-specific transform.
2008 - Added ``TargetNotes.cleanup_callback``.
2009 - Added title check to ``Headers``.
2011 * docutils/transforms/references.py:
2013 - Added the ``TargetNotes`` generic transform.
2014 - Split ``Hyperlinks`` into multiple transforms.
2015 - Fixed bug with multiply-indirect references (report: Bruce Smith).
2016 - Added check for circular indirect references.
2017 - Made substitutions case-sensitive-but-forgiving.
2019 * docutils/transforms/universal.py:
2021 - Added support for the "--expose-internal-attributes" option.
2022 - Removed ``Pending`` transform classes & data.
2024 * docutils/writers/__init__.py:
2026 - Removed ``Writer.transform()`` method.
2028 * docutils/writers/docutils-xml.py:
2030 - Added XML and doctype declarations.
2031 - Added "--no-doctype" and "--no-xml-declaration" options.
2033 * docutils/writers/html4css1.py:
2035 - "name" attributes only on these tags: a, applet, form, frame,
2037 - Added "name" attribute to <a> in section titles for Netscape 4
2038 support (bug report: Pearu Peterson).
2039 - Fixed targets (names) on footnote, citation, topic title,
2040 problematic, and system_message nodes (for Netscape 4).
2041 - Changed field names from "<td>" to "<th>".
2042 - Added "@" to "@" encoding to thwart address harvesters.
2043 - Improved the vertical whitespace optimization; ignore "invisible"
2044 nodes (targets, comments, etc.).
2045 - Improved inline literals with ``<span class="pre">`` around chunks
2046 of text and `` `` for runs of spaces.
2047 - Improved modularity of output; added ``self.body_pre_docinfo`` and
2048 ``self.docinfo`` segments.
2049 - Added support for "line_block", "address" elements.
2050 - Improved backlinks (footnotes & system_messages).
2051 - Improved system_message output.
2052 - Redefined "--stylesheet" as containing an invariant URL, used
2053 verbatim. Added "--stylesheet-path", interpreted w.r.t. the
2055 - Added "--footnote-references" option (superscript or brackets).
2056 - Added "--compact-lists" and "--no-compact-lists" options.
2057 - Added "--embed-stylesheet" and "--link-stylesheet" options;
2058 factored out ``HTMLTranslator.get_stylesheet_reference()``.
2059 - Improved field list rendering.
2060 - Added Docutils version to "generator" meta tag.
2061 - Fixed a bug with images; they must be inline, so wrapped in <p>.
2062 - Improved layout of <pre> HTML source.
2063 - Fixed attribute typo on <colspec>.
2064 - Refined XML prologue.
2065 - Support for no stylesheet.
2066 - Removed "interpreted" element support.
2067 - Added support for "title_reference", "sidebar", "attribution",
2068 "rubric", and generic "admonition" elements.
2069 - Added "--attribution" option.
2070 - Added support for "inline", "subscript", "superscript" elements.
2071 - Added initial support for "abbreviation" and "acronym";
2074 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2078 - Double quotes in literal blocks (special treatment for de/ngerman).
2079 - Added '--hyperlink-color' option ('0' turns off coloring of links).
2080 - Added "--attribution" option.
2081 - Right align attributions.
2083 * docutils/writers/pep_html.py:
2085 - Parameterized output encoding in PEP template.
2086 - Reworked substitutions from ``locals()`` into ``subs`` dict.
2087 - Redefined "--pep-stylesheet" as containing an invariant URL, used
2088 verbatim. Added "--pep-stylesheet-path", interpreted w.r.t. the
2090 - Added an override on the "--footnote-references" option.
2091 - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2092 - Added Docutils version to "generator" meta tag.
2093 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2097 - Added a "silent" setting for ``buildhtml.py``.
2098 - Added a "Getting Help" section.
2099 - Rearranged the structure.
2100 - Kept up to date, with new settings, command-line options etc.
2101 - Added section for ``rst2latex.py`` (Engelbert Gruber).
2102 - Converted settings table into a definition list.
2104 * docs/rst/quickstart.txt:
2106 - Added a table of contents.
2107 - Added feedback information.
2108 - Added mention of minimum section title underline lengths.
2109 - Removed the 4-character minimum for section title underlines.
2111 * docs/rst/quickref.html:
2113 - Added a "Getting Help" section.
2114 - Added a style to make section title backlinks more subtle.
2115 - Added mention of minimum section title underline lengths.
2116 - Removed the 4-character minimum for section title underlines.
2118 * extras: Directory added to project; contains third-party modules
2119 that Docutils depends on (optparse, textwrap, roman). These are
2120 only installed if they're not already present.
2122 * licenses: Directory added to project; contains copies of license
2123 files for non-public-domain files.
2127 - Changed the focus. It's about DTD elements: structural
2128 relationships, semantics, and external (public) attributes. Not
2129 about the element class library.
2130 - Moved some implementation-specific stuff into ``docutils.nodes``
2132 - Wrote descriptions of all common attributes and parameter
2133 entities. Filled in introductory material.
2134 - Working through the element descriptions: 55 down, 37 to go.
2135 - Removed "Representation of Horizontal Rules" to
2136 spec/rst/alternatives.txt.
2138 * spec/docutils.dtd:
2140 - Added "generated" inline element.
2141 - Added "line_block" body element.
2142 - Added "auto" attribute to "title".
2143 - Changed content models of "literal_block" and "doctest_block" to
2145 - Added ``%number;`` attribute type parameter entity.
2146 - Changed ``%structural.elements;`` to ``%section.elements``.
2147 - Updated attribute types; made more specific.
2148 - Added "address" bibliographic element.
2149 - Added "line" attribute to ``system_message`` element.
2150 - Removed "field_argument" element; "field_name" may contain
2151 multiple words and whitespace.
2152 - Changed public identifier to docutils.sf.net.
2153 - Removed "interpreted" element; added "title_reference",
2154 "abbreviation", "acronym".
2155 - Removed "refuri" attribute from "footnote_reference" and
2156 "citation_reference".
2157 - Added "sidebar", "rubric", "attribution", "admonition",
2158 "superscript", "subscript", and "inline" elements.
2160 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2162 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2164 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2166 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2169 * spec/transforms.txt: Added to project.
2171 * spec/howto: Added subdirectory, for developer how-to docs.
2173 * spec/howto/rst-directives.txt: Added to project. Original by Dethe
2174 Elza, edited & extended by David Goodger.
2176 * spec/howto/i18n.txt: Docutils Internationalization. Added to
2179 * spec/rst/alternatives.txt:
2181 - Added "Doctree Representation of Transitions" from
2183 - Updated "Inline External Targets" & closed the debate.
2184 - Added ideas for interpreted text syntax extensions.
2185 - Added "Nested Inline Markup" section.
2187 * spec/rst/directives.txt:
2189 - Added directives: "topic", "sectnum", "target-notes",
2190 "line-block", "parsed-literal", "include", "replace", "sidebar",
2191 "admonition", "rubric", "epigraph", "highlights", "unicode" and
2193 - Formalized descriptions of directive details.
2194 - Added an "align" attribute to the "image" & "figure" directives
2195 (by Adam Chodorowski).
2196 - Added "class" options to "topic", "sidebar", "line-block",
2197 "parsed-literal", "contents", and "image"; and "figclass" to
2200 * spec/rst/interpreted.txt: Added to project. Descriptions of
2201 interpreted text roles.
2203 * spec/rst/introduction.txt:
2205 - Added pointers to material for new users.
2207 * spec/rst/reStructuredText.txt:
2209 - Disambiguated comments (just add a newline after the "::").
2210 - Updated enumerated list description; added a discussion of the
2211 second-line validity checking.
2212 - Updated directive description.
2213 - Added a note redirecting newbies to the user docs.
2214 - Expanded description of inline markup start-strings in non-markup
2216 - Removed field arguments and made field lists a generic construct.
2217 - Removed the 4-character minimum for section title underlines.
2218 - Clarified term/classifier delimiter & inline markup ambiguity
2220 - Added "Embedded URIs".
2221 - Updated "Interpreted Text" section.
2222 - Added "Character-Level Inline Markup" section.
2224 * test: Continually adding & updating tests.
2226 - Moved test/test_rst/ to test/test_parsers/test_rst/.
2227 - Moved test/test_pep/ to test/test_readers/test_pep/.
2228 - Added test/test_readers/test_python/.
2229 - Added test/test_writers/ (Engelbert Gruber).
2233 - Made the ``locale.setlocale()`` calls in front ends
2236 * tools/buildhtml.py:
2238 - Added "--silent" option.
2239 - Fixed bug with absolute paths & "--config".
2240 - Updated for new I/O classes.
2241 - Added some exception handling.
2242 - Separated publishers' setting defaults; prevents interference.
2243 - Updated for new ``publish_file()`` convenience function.
2245 * tools/pep-html-template:
2247 - Allow for "--embed-stylesheet".
2248 - Added Docutils version to "generator" meta tag.
2249 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2250 - Conform to XHTML spec.
2252 * tools/pep2html.py:
2254 - Made ``argv`` a parameter to ``main()``.
2255 - Added support for "Content-Type:" header & arbitrary PEP formats.
2256 - Linked "Content-Type: text/plain" to PEP 9.
2257 - Files skipped (due to an error) are not pushed onto the server.
2258 - Updated for new I/O classes.
2259 - Added ``check_requirements()`` & ``pep_type_error()``.
2260 - Added some exception handling.
2261 - Updated for new ``publish_string()`` convenience function.
2262 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2264 * tools/quicktest.py:
2266 - Added "-V"/"--version" option.
2268 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2270 * tools/unicode2rstsubs.py: Added to project. Produces character
2271 entity files (reSructuredText substitutions) from the MathML master
2274 * tools/editors: Support code for editors, added to project. Contains
2275 ``emacs/restructuredtext.el``.
2277 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2279 - Added style for chunks of inline literals.
2280 - Removed margin for first child of table cells.
2281 - Right-aligned field list names.
2282 - Support for auto-numbered section titles in TOCs.
2283 - Increased the size of inline literals (<tt>) in titles.
2284 - Restored the light gray background for inline literals.
2285 - Added support for "line_block" elements.
2286 - Added style for "address" elements.
2287 - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2288 - Improved field list rendering.
2289 - Vertical whitespace improvements.
2290 - Removed "a.target" style.
2292 * tools/stylesheets/pep.css:
2294 - Fixed nested section margins.
2295 - Other changes parallel those of ``../default.css``.
2298 Release 0.2 (2002-07-31)
2299 ========================
2303 - The word "component" was being used ambiguously. From now on,
2304 "component" will be used to mean "Docutils component", as in Reader,
2305 Writer, Parser, or Transform. Portions of documents (Table of
2306 Contents, sections, etc.) will be called "document parts".
2307 - Did a grand renaming: a lot of ``verylongnames`` became
2308 ``very_long_names``.
2309 - Cleaned up imports: no more relative package imports or
2310 comma-separated lists of top-level modules.
2311 - Added support for an option values object which carries default
2312 settings and overrides (from command-line options and library use).
2313 - Added internal Unicode support, and support for both input and
2315 - Added support for the ``docutils.io.IO`` class & subclasses.
2319 * docutils/__init__.py:
2321 - Added ``ApplicationError`` and ``DataError``, for use throughout
2323 - Added ``Component`` base class for Docutils components; implements
2324 the ``supports`` method.
2325 - Added ``__version__`` (thus, ``docutils.__version__``).
2329 - Removed many keyword parameters to ``Publisher.__init__()`` and
2330 ``publish()``; bundled into an option values object. Added
2331 "argv", "usage", "description", and "option_spec" parameters for
2332 command-line support.
2333 - Added ``Publisher.process_command_line()`` and ``.set_options()``
2335 - Reworked I/O model for ``docutils.io`` wrappers.
2336 - Updated ``Publisher.set_options()``; now returns option values
2338 - Added support for configuration files (/etc/docutils.conf,
2339 ./docutils.conf, ~/.docutils).
2340 - Added ``Publisher.setup_option_parser()``.
2341 - Added default usage message and description.
2343 * docutils/frontend.py: Added to project; support for front-end
2344 (command-line) scripts. Option specifications may be augmented by
2345 components. Requires Optik (http://optik.sf.net/) for option
2346 processing (installed locally as docutils/optik.py).
2348 * docutils/io.py: Added to project; uniform API for a variety of input
2351 * docutils/nodes.py:
2353 - Added ``TreeCopyVisitor`` class.
2354 - Added a ``copy`` method to ``Node`` and subclasses.
2355 - Added a ``SkipDeparture`` exception for visitors.
2356 - Renamed ``TreePruningException`` from ``VisitorException``.
2357 - Added docstrings to ``TreePruningException``, subclasses, and
2359 - Improved docstrings.
2360 - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2361 - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2363 - Added ``decoration``, ``header``, and ``footer`` node classes, and
2364 ``PreDecorative`` mixin.
2365 - Reworked the name/id bookkeeping; to ``document``, removed
2366 ``explicit_targets`` and ``implicit_targets`` attributes, added
2367 ``nametypes`` attribute and ``set_name_id_map`` method.
2368 - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2370 - Added ``document.has_name()`` method.
2371 - Fixed DOM generation for list-attributes.
2372 - Added category class ``Labeled`` (used by footnotes & citations).
2373 - Added ``Element.set_class()`` method (sets "class" attribute).
2375 * docutils/optik.py: Added to project. Combined from the Optik
2376 package, with added option groups and other modifications. The use
2377 of this module is probably only temporary.
2379 * docutils/statemachine.py:
2381 - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2382 - Added underscores to improve many awkward names.
2383 - In ``string2lines()``, changed whitespace normalizing translation
2384 table to regexp; restores Python 2.0 compatibility with Unicode.
2386 * docutils/urischemes.py:
2388 - Filled in some descriptions.
2389 - Added "shttp" scheme.
2391 * docutils/utils.py:
2393 - Added ``clean_rcs_keywords`` function (moved from
2394 docutils/transforms/frontmatter.py
2395 ``DocInfo.filter_rcs_keywords``).
2396 - Added underscores to improve many awkward names.
2397 - Changed names of Reporter's thresholds:
2398 warning_level -> report_level; error_level -> halt_level.
2399 - Moved ``utils.id()`` to ``nodes.make_id()``.
2400 - Added ``relative_path(source, target)``.
2402 * docutils/languages/de.py: German mappings; added to project. Thanks
2403 to Gunnar Schwant for the translations.
2405 * docutils/languages/en.py: Added "Dedication" bibliographic field
2408 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2411 * docutils/parsers/rst/states.py:
2413 - Added underscores to improve many awkward names.
2414 - Added RFC-2822 header support.
2415 - Extracted the inline parsing code from ``RSTState`` to a separate
2416 class, ``Inliner``, which will allow easy subclassing.
2417 - Made local bindings for ``memo`` container & often-used contents
2418 (reduces code complexity a lot). See ``RSTState.runtime_init()``.
2419 - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2420 - Added ``MarkupMismatch`` exception; for late corrections.
2421 - Added ``-/:`` characters to inline markup's start string prefix,
2422 ``/`` to end string suffix.
2423 - Fixed a footnote bug.
2424 - Fixed a bug with literal blocks.
2425 - Applied patch from Simon Budig: simplified regexps with symbolic
2426 names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2427 - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2428 - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2429 - Allowed non-ASCII in "simple names" (directive names, field names,
2431 - Converted ``Inliner.patterns.initial`` to be dynamically built
2432 from parts with ``build_regexp()`` function.
2433 - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2434 - Updated docstrings.
2435 - Changed "table" to "grid_table"; added "simple_table" support.
2437 * docutils/parsers/rst/tableparser.py:
2439 - Changed ``TableParser`` to ``GridTableParser``.
2440 - Added ``SimpleTableParser``.
2441 - Refactored naming.
2443 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2444 a fallback language for directive names.
2446 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2447 directive to use a ``pending`` element, used only by HTML writers.
2449 * docutils/parsers/rst/directives/parts.py: Renamed from
2452 - Added "backlinks" attribute to "contents" directive.
2454 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2455 project by Adam Chodorowski.
2457 * docutils/readers/__init__.py: Gave Readers more control over
2458 choosing and instantiating Parsers.
2460 * docutils/readers/pep.py: Added to project; for PEP processing.
2462 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2463 requires a ``component`` parameter.
2465 * docutils/transforms/components.py: Added to project; transforms
2466 related to Docutils components.
2468 * docutils/transforms/frontmatter.py:
2470 - In ``DocInfo.extract_authors``, check for a single "author" in an
2471 "authors" group, and convert it to a single "author" element.
2472 - Added support for "Dedication" and generic bibliographic fields.
2474 * docutils/transforms/peps.py: Added to project; PEP-specific.
2476 * docutils/transforms/parts.py: Renamed from old components.py.
2478 - Added filter for `Contents`, to use alt-text for inline images,
2479 and to remove inline markup that doesn't make sense in the ToC.
2480 - Added "name" attribute to TOC topic depending on its title.
2481 - Added support for optional TOC backlinks.
2483 * docutils/transforms/references.py: Fixed indirect target resolution
2484 in ``Hyperlinks`` transform.
2486 * docutils/transforms/universal.py:
2488 - Changed ``Messages`` transform to properly filter out system
2489 messages below the warning threshold.
2490 - Added ``Decorations`` transform (support for ``--generator``,
2491 ``--date``, ``--time``, ``--source-link`` options).
2493 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2494 Engelbert Gruber's PDF writer.
2496 * docutils/writers/html4css1.py:
2498 - Made XHTML-compatible (switched to lowercase element & attribute
2499 names; empty tag format).
2500 - Escape double-dashes in comment text.
2501 - Improved boilerplate & modularity of output.
2502 - Exposed modular output in Writer class.
2503 - Added a "generator" meta tag to <head>.
2504 - Added support for the ``--stylesheet`` option.
2505 - Added support for ``decoration``, ``header``, and ``footer``
2507 - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2508 translation table to regexp; restores Python 2.0 compatibility
2510 - Added the translator class as instance variable to the Writer, to
2511 make it easily subclassable.
2512 - Improved option list spacing (thanks to Richard Jones).
2513 - Modified field list output.
2514 - Added backlinks to footnotes & citations.
2515 - Added percentage widths to "<col>" tags (from colspec).
2516 - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2517 "<span>" changed to "<var>".
2518 - Inline literals: "<code>" changed to "<tt>".
2519 - Many changes to optimize vertical space: compact simple lists etc.
2520 - Add a command-line options & directive attributes to control TOC
2521 and footnote/citation backlinks.
2522 - Added support for optional footnote/citation backlinks.
2523 - Added support for generic bibliographic fields.
2524 - Identify backrefs.
2525 - Relative URLs for stylesheet links.
2527 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2528 PEPs (subclass of ``html4css1.Writer``).
2530 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2532 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2533 of the Docutils internal doctree in XML.
2535 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2539 - Changed the title to "The Docutils Document Tree".
2540 - Added "Hyperlink Bookkeeping" section.
2542 * spec/docutils.dtd:
2544 - Added ``decoration``, ``header``, and ``footer`` elements.
2545 - Brought ``interpreted`` element in line with the parser: changed
2546 attribute "type" to "role", added "position".
2547 - Added support for generic bibliographic fields.
2549 * spec/notes.txt: Continual updates. Added "Project Policies".
2551 * spec/pep-0256.txt: Updated. Added "Roadmap to the Doctring PEPs"
2554 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2556 * spec/pep-0258.txt: Updated. Added text from pysource.txt and
2557 mailing list discussions.
2559 * spec/pep-0287.txt:
2561 - Renamed to "reStructuredText Docstring Format".
2563 - Reworked Q&A as an enumerated list.
2564 - Converted to reStructuredText format.
2566 * spec/pysource.dtd:
2568 - Reworked structural elements, incorporating ideas from Tony Ibbs.
2570 * spec/pysource.txt: Removed from project. Moved much of its contents
2573 * spec/rst/alternatives.txt:
2575 - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2576 - Added "Inline External Targets" section.
2578 * spec/rst/directives.txt:
2580 - Added "backlinks" attribute to "contents" directive.
2582 * spec/rst/problems.txt:
2584 - Updated the Enumerated List Markup discussion.
2585 - Added new alternative table markup syntaxes.
2587 * spec/rst/reStructuredText.txt:
2589 - Clarified field list usage.
2590 - Updated enumerated list description.
2591 - Clarified purpose of directives.
2592 - Added ``-/:`` characters to inline markup's start string prefix,
2593 ``/`` to end string suffix.
2594 - Updated "Authors" bibliographic field behavior.
2595 - Changed "inline hyperlink targets" to "inline internal targets".
2596 - Added "simple table" syntax to supplement the existing but
2597 newly-renamed "grid tables".
2598 - Added cautions for anonymous hyperlink use.
2599 - Added "Dedication" and generic bibliographic fields.
2601 * test: Made test modules standalone (subdirectories became packages).
2603 * test/DocutilsTestSupport.py:
2605 - Added support for PEP extensions to reStructuredText.
2606 - Added support for simple tables.
2607 - Refactored naming.
2609 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2611 - Now supports true packages containing test modules
2612 (``__init__.py`` files required); fixes duplicate module name bug.
2614 * test/test_pep/: Subpackage added to project; PEP testing.
2616 * test/test_rst/test_SimpleTableParser.py: Added to project.
2620 - Updated html.py and publish.py front-end tools to use the new
2621 command-line processing facilities of ``docutils.frontend``
2622 (exposed in ``docutils.core.Publisher``), reducing each to just a
2624 - Added ``locale.setlocale()`` calls to front-end tools.
2626 * tools/buildhtml.py: Added to project; batch-generates .html from all
2627 the .txt files in directories and subdirectories.
2629 * tools/default.css:
2631 - Added support for ``header`` and ``footer`` elements.
2632 - Added styles for "Dedication" topics (biblio fields).
2634 * tools/docutils.conf: A configuration file; added to project.
2636 * tools/docutils-xml.py: Added to project.
2638 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2640 * tools/pep-html-template: Added to project.
2642 * tools/pep2html.py: Added to project from Python (nondist/peps).
2643 Added support for Docutils (reStructuredText PEPs).
2645 * tools/quicktest.py:
2647 - Added the ``--attributes`` option, hacked a bit.
2648 - Added a second command-line argument (output file); cleaned up.
2650 * tools/stylesheets/: Subdirectory added to project.
2652 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2655 Release 0.1 (2002-04-20)
2656 ========================
2658 This is the first release of Docutils, merged from the now inactive
2659 reStructuredText__ and `Docstring Processing System`__ projects. For
2660 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2661 `DPS HISTORY`__ files.
2663 __ http://structuredtext.sourceforge.net/
2664 __ http://docstring.sourceforge.net/
2665 __ http://structuredtext.sourceforge.net/HISTORY.html
2666 __ http://docstring.sourceforge.net/HISTORY.html
2668 General changes: renamed 'dps' package to 'docutils'; renamed
2669 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2670 the test suites (reStructuredText's test/test_states renamed to
2671 test/test_rst); and all modifications required to make it all work.
2673 * docutils/parsers/rst/states.py:
2675 - Improved diagnostic system messages for missing blank lines.
2676 - Fixed substitution_reference bug.
2682 indent-tabs-mode: nil
2683 sentence-end-double-space: t