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.
22 - reStructuredText "code" role and directive with syntax highlighting
24 - "code" option of the "include" directive.
25 - Fix parse_option_marker for option arguments containing ``=``.
27 .. _Pygments: http://pygments.org/
31 - Fix [ 3395948 ] (Work around encoding problems in Py3k).
35 - DependencyList uses io.FileOutput to prevent errors recording
36 non-ASCII filenames (fixes [ 3434355 ].
38 * docutils/parsers/rst/states.py
40 - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
41 characters and "international" quotes around inline markup.
43 * docutils/parsers/rst/tableparser.py
45 - Fix [ 2926161 ] for simple tables.
46 (Combining chars in grid tables still contribute to cell width.)
48 * docutils/writers/latex2e/__init__.py
50 - Support the `abbreviation` and `acronym` standard roles.
52 * docutils/writers/html4css1/__init__.py
54 - change default for `math-output` setting to MathJax
56 Release 0.8.1 (2011-08-30)
57 ==========================
61 - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
62 and [ 3395920 ] (correct copyright info for rst.el).
66 - Apply [ 3303733 ] and [ 3365041 ] to fix tests under py3k.
68 * docutils/writers/latex2e/__init__.py
70 - Clean up Babel language setting. Restores Sphinx compatibility.
72 Release 0.8 (2011-07-07)
73 ========================
77 - Handle language codes according to `BCP 47`_.
78 - If the specified language is not supported by Docutils,
79 warn and fall back to English.
80 - Math support: reStructuredText "math" role and directive,
81 ``math`` and ``math_block`` doctree elements.
82 - Decode command line arguments with the locale's preferred encoding
83 (to allow, e.g., ``--title=Dornröschen``).
84 - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
85 - New sub-module `error_reporting`: handle encoding/decoding errors
86 when reporting exceptions.
87 - Some additions to the Docutils core are released under the 2-Clause BSD
88 license, see COPYING_ for details.
90 .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
91 .. _COPYING: COPYING.html
95 - Most directives now support a "name" option that attaches a
98 - Directive content may start on the first line also when the directive
101 * docs/dev/policies.txt:
103 - Recommend the 2-Clause BSD license
104 (http://www.spdx.org/licenses/BSD-2-Clause)
105 for code that is kept under the author's copyright.
107 * tools/buildhtml.py:
109 - Fix ``--local`` switch.
111 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
113 * docutils/writers/html4css1/__init__.py
115 - Set "lang" argument for objects with class argument
116 "language-<language tag>".
117 - New setting "math-output" with support for HTML, MathML, and LaTeX.
119 * docutils/writers/latex2e/__init__.py
121 - Fix [ 3043986 ] AttributeError using :local: with table of content.
122 - Place title data in the document preamble.
123 - Load `babel` package only if required.
124 - Update list of supported languages.
125 - New config setting "hyperref-options".
126 No hard-coded "unicode" hyperref option (clash with xetex).
127 - Set language for custom roles, paragraphs, block-quotes, and
128 line-quotes with class argument "language-<language tag>".
129 - Fix [ 3095603 ] wrong quotes output for russian and other languages.
130 - Convert image URI to a local file path.
131 - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
132 has more than one paragraph (Wolfgang Scherer).
133 - \leavevmode before longtable only when needed (prevents spurious vspace)
134 - do not advance table counter for tables without caption
136 * docutils/writers/xetex/__init__.py
138 - New writer generating LaTeX code for compiling with ``xelatex``.
140 A separate writer (inheriting from latex2e) instead of a ``--xetex``
141 option allows separate config options for XeTeX vs. LaTeX2e.
143 * docutils/writers/manpage.py
145 - Fix: BUG#3219183 - vertical space in definition lists containing markup.
146 - Fix: vertical space cleaning for option group ``.``.
148 * tools/editors/emacs/rst.el:
150 - Fix [ 3001100 ] does not handle spaces in filenames
151 (thanks to Jakub Wilk)
155 - strip whitespace from stylesheet arguments
156 - exclude combining chars from column_width()
157 (partial fix for [ 2926161 ])
159 * docutils/parsers/rst/directives/misc.py:
161 - Fix [ 1830389 ] Replace not breaking on getting system_messages from
166 - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
167 ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
169 Release 0.7 (2010-07-07)
170 ========================
174 - Fix [ 2881769 ] setup configuration.
175 - Fix [ 2788716 ] reporting problems in included files.
179 - FileInput opens files as text files with universal newline support
180 (mode "rU", configurable with the new optional argument "mode").
184 - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
188 - Fix [ 2923723 ] let decode_path() tolerate path == None
190 * docutils/writers/html4css1/__init__.py
192 - Support SVG and SWF images (thanks to Stefan Rank).
193 - Generate valid XHTML for centered images with targets.
194 Use CSS classes instead of "align" tags for image alignment.
196 * docutils/writers/latex2e/__init__.py
198 - Use `transforms.writer_aux.Admonitions` to "normalize" special
200 - Use the ``\url`` command for URLs (breaks long URLs instead of
201 writing into the margin).
202 - Preserve runs of spaces in `inline literals`__.
203 - Deprecate ``figure_footnotes`` setting.
204 - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
205 - New ``latex_preamble`` setting.
206 - Use PDF standard fonts (Times/Helvetica/Courier) as default.
207 - Fix hyperlink targets (labels) for images, figures, and tables.
208 - Apply [ 2961988 ] Load babel after inputenc and fontenc.
209 - Apply [ 2961991 ] Call hyperref with unicode option.
210 - Drop the special `output_encoding`__ default ("latin-1").
211 The Docutils wide default (usually "UTF-8") is used instead.
212 - Render inline markup in document title and subtitle.
213 - Fix numbering depth with LaTeX section numbering.
214 - Update Unicode -> LaTeX translations.
215 - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
217 __ docs/ref/restructuredtext.html#inline-literals
218 __ docs/user/config.html#docutils-footnotes
219 __ docs/user/config.html#output_encoding
221 * docutils/writers/manpage.py
223 - Fix: supported attribute (thanks to peter2108).
224 - Remove trailing blanks in code (keep in sync with mercurial version).
225 - Titles level 1, that is ``.SH``, always uppercase.
226 - Apply patch from mg: literal text should be bold in man-pages.
230 - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
235 - Python 3 support: copy test/ and tools/ to the build-dir
236 and convert Python sources with 2to3.
239 Release 0.6 (2009-10-11)
240 ========================
244 - Docutils is now compatible with Python versions from 2.3 up to 2.6
245 and convertible to 3.1 code.
247 + Node.__nonzero__ returns True instead of 1.
248 + use os.walk instead os.path.walk.
249 + minimize "types" module where possible.
250 + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
251 + Text nodes now subclass unicode rather than UserString
252 (which is gone in python 3.0).
253 + 3.0 compatibility module docutils._compat
255 + Drop 2.2 compatibility workarounds.
256 + Drop extras/optparse.py and extras/textwrap.py
257 (stdlib modules since 2.3).
259 - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
260 - Unix man page export: manpage writer moved from sandbox to Doctutils
263 - Apply [ 1719345 ] Galician translation
264 - Apply [ 1905741 ] Polish translation
265 - Apply [ 1878977 ] make_id(): deaccent characters.
266 - Apply [ 2029251 ] return nonzero when tests fail.
267 - Fix [ 1692788 ] allow UTF-8 in style sheets.
268 - Fix [ 2781629 ] support non-ASCII chars in file names.
269 - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
270 - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
271 - Fix [ 2821266 ] --strict option works now like --halt=info.
272 - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
273 - Fix [ 1627229 ] hyperlink references in substitutions.
275 - The "newlatex" writer is orphaned.
279 - Documented Unicode characters allowed as inline markup openers,
280 closers, and delimiters.
281 - Allow units for all length specifications.
282 - Allow percent sign in "scale" argument of "figure" and "image" directives.
283 - Bugfix: The "figalign" argument of a figure now works as intended
284 (aligning the figure, not its contents).
285 - Align images with class "align-[right|center|left]"
286 (allows setting the alignment of an image in a figure).
290 - Added ``Element.__contains__`` method, for the in-operator.
292 * docutils/parsers/rst/states.py:
294 - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
295 - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
296 " " (non-breaking space), and "¡ ¿" openers.
298 * docutils/parsers/directives/misc.py:
300 - Added ``start-line`` and ``end-line`` options to "include"
301 directive to select a range of lines.
302 - Hard tabs in literal inclusions are replaced by spaces. This is
303 configurable via the new ``tab-width`` option of the "include" directive
304 (a negative tab-width prevents tab expansion).
308 - Add ``get_stylesheet_list`` function.
309 - Apply [ 2834836 ] print info at halt
311 * docutils/transforms/universal.py:
313 - Raise default priority of StripClasses to exclude stripped classes from
316 * docutils/writers/html4css1/__init__.py:
318 - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
319 separated list of stylesheets.
320 - Address [ 1938891 ] Inline literal text creates "pre" span only when
321 needed to prevent inter-word line wraps.
322 - Use `translate` method instead of repeated `replace` calls.
323 - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
324 classes to allow CSS styling that does not interfere with other
325 table-using constructs (field lists, citations, ...).
327 * docutils/writers/newlatex2e/__init__.py:
329 - Apply [ 1612821 ] Double quotes in literal text in Italian/German
331 * docutils/writers/latex2e/__init__.py (see also
332 `<docs/user/docutils-05-compat.sty.html>`__) :
334 - Add ``--embed-stylesheet`` option.
335 - Apply [ 1474017 ] image vertical alignment is reversed.
336 - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
337 - Change: has_key for dictionaries (not Nodes) to in-operator.
338 - Merge adjacent citations into one latex cite command.
339 - Failsave implementation of custom roles. LaTeX compilation now ignores
340 unknown classes instead of aborting with an error.
341 - Support custom roles based on standard roles.
342 - LaTeX packages can be used as ``--stylesheet`` arguments without
343 restriction. (A style sheet is now referenced with the ``\usepackage``
344 command, if it ends with ``.sty`` or has no extension.)
345 - Add ``bp`` to lenghts without unit (prevents LaTex errors).
346 - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
347 - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
348 2005-02-04 as a configurable length unit).
349 - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
350 if font-encoding is set to ''. LaTeX defaults to OT1 then.
351 - Set sub- and superscript role argument in text mode not as math.
352 Use a custom role based on sub-/superscript if you want italic shape.
353 - Shorter preamble and less dependencies: Load packages and define macros
354 only if required in the document.
355 - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
356 - New custom environments and commands with optional "classes" argument.
357 - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
358 - Better conformance to Docutils specifications with ``--use-latex-toc``.
359 Support for LaTeX generated ToC also with unnumbered sections.
360 - If 'sectnum_xform' is False, the 'sectnum' directive triggers
361 section numbering by LaTeX.
362 - Use default font in admonitions and sidebar.
363 - Align of image in a figure defaults to 'center'.
364 - Bugfix: Newlines around targets and references prevent run-together
366 - Fix internal hyperlinks.
367 - Use class defaults for page margins ('typearea' now optional).
368 - Float placement made configurable, default changed to "here definitely".
369 - Typeset generic topic as "quote block with title".
370 - Use template (file and configuration option).
371 - In the default template, load cmap.sty (fix text extraction in PDF) and
372 fixltx2e.sty (LaTeX patches, \textsubscript).
373 - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
374 - Use `translate` instead of repeated `replace` calls for text encoding.
375 - Hyperlinked footnotes and support for symbol footnotes and
376 ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
377 - Complete pairs of binary options
378 (``--figure-footnotes, --figure-citations, --link-stylesheet``,
379 ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
381 - font-encoding: "T1" (formerly implicitely set by 'ae').
382 - use-latex-toc: true (ToC with page numbers).
383 - use-latex-footnotes: true (no mixup with figures).
385 * docutils/writers/manpage.py
387 - Do not print version at document end, this is done by the viewer.
388 - Do not print date at document end, this is done by the viewer.
389 - Fix storage of docinfo fields for none standard fields.
391 * docutils/tools/rst2man.py
393 Release 0.5 (2008-06-25)
394 ========================
396 * docutils/languages/he.py: Added to project: Hebrew mappings by
399 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
400 mappings by Meir Kriheli.
402 * docutils/frontend.py:
404 - Configuration files are now assumed and required to be
406 - Paths of applied configuration files are now recorded in the
407 runtime setting ``_config_files`` (accessible via
408 ``--dump-settings``).
409 - Added ``--strip-elements-with-class`` and ``--strip-class``
410 options (``strip_elements_with_classes`` and ``strip_classes``
415 - Added code to determine the input encoding from data: encoding
416 declarations or the presence of byte order marks (UTF-8 & UTF-16).
417 - Added support for IronPython 1.0.
421 - Added ``document.__getstate__`` method, for pickling.
423 * docutils/parsers/rst/states.py:
425 - Allow ``+`` and ``:`` in reference names.
426 - Unquoted targets beginning with an underscore (``.. __target:
427 URI``) are no longer accepted.
428 - Added support for multiple attributions in a physical block quote
429 (indented text block), dividing it into multiple logical block
431 - Added support for unicode bullets in bullet lists: "•", "‣", and
433 - Added support for new object-oriented directive interface,
434 retaining compatibility to the old functional interface.
435 - Added support for throwing ``DirectiveError``'s from within
438 * docutils/parsers/rst/__init__.py:
440 - Added ``Directive`` base class.
441 - Added ``DirectiveError`` base class.
442 - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
445 * docutils/parsers/directives/:
447 - Refactored all reStructuredText directives to use the new
448 object-oriented directive interface. Errors are now (mostly)
449 thrown using the new ``DirectiveError`` class.
451 * docutils/parsers/directives/misc.py:
453 - Added ``start-after`` and ``end-before`` options to ``include``
454 directive; thanks to Stefan Rank.
456 * docutils/transforms/universal.py:
458 - Added ``StripClassesAndElements`` transform to remove from the
459 document tree all elements with classes in
460 ``settings.strip_elements_with_classes`` and all "classes"
461 attribute values in ``self.document.settings.strip_classes``.
463 * docutils/transforms/writer_aux.py:
465 - Added ``Admonitions`` transform to transform specific admonitions
466 (like ``note``, ``warning``, etc.) into generic admonitions with a
469 * docutils/writers/html4css1/__init__.py:
471 - Moved template functionality from the PEP/HTML writer here.
472 - Expanded the fragments available in the ``parts`` attribute.
473 - Moved ``id`` attributes from titles to surrounding ``div``
475 - Dropped all ``name`` attributes of ``a`` elements (``id`` is
476 universally supported now).
477 - ``template.txt`` is now opened in text mode instead of binary mode
478 (to ensure Windows compatibility).
479 - ``a`` elements now have an "internal" or "external" class,
480 depending on reference type.
482 * docutils/writers/html4css1/template.txt: Added to project.
484 * docutils/writers/pep_html/:
486 - Moved template functionality to the HTML writer.
488 * docutils/writers/s5_html/__init__.py:
490 - Added ``view_mode`` & ``hidden_controls`` settings
491 (``--view-mode`` & ``--hidden-controls/--visible-controls``
494 * docutils/writers/latex2e/__init__.py:
496 - Add ``--literal-block-env``
497 - Fix: escaping ``%`` in href urls.
498 - Move usepackage hyperref after stylesheet inclusion.
499 - Fix: scrartcl does not have chapter but scrreprt.
500 - Add newline after ``\end{verbatim}``.
501 - Merge smaller differences from latex2e_adaptive_preamble.
502 - Add ``use-part-section``.
503 - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
504 - Using leavemode option_list no longer needs to check if parent
505 is a definition list.
506 - Append ``\leavemode`` to definition list terms.
507 - No longer write visit\_/depart_definition_list_item comments to
509 - Table column width with 3 decimal places.
510 - Add table stubs support (boldfont).
511 - Add assemble_parts to writer.
512 - Add simply support for nested tables.
513 - Fix verbatim in tables if use-verbatim-when-possible.
514 - Use section commands down to subparagraph.
515 - Put ensuremath around some latin1 chars.
516 - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
517 - New option ``--use-bibtex=style,db1,db2``.
518 - New option ``--reference-label`` to allow usage of LaTeX ref for
519 labels in section references.
520 - Add a label after every section to support sectionnumbers as reference
522 - Fix: bug# 1605376 rst2latex: bad options group list
523 - Remove inactive code for use_optionlist_for_option_list.
524 - Remove latex comments from option_list output.
525 - Fix: bug# 1612270 double qoutes in italian literal.
526 - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
527 - Add option --use-latex-abstract.
528 - Image width unit ``px`` is translated to ``pt``.
529 - Add image height support.
530 - Fix: image width ``70%`` is converted ``0.700\linewidth``.
532 - Fix: Do not escape underscores in citation reference labels if
533 use-latex-citations is set.
534 - Use centering instead of center for figure contents, to avoid vertical
536 - Recognize table class: borderless, nolines, booktabs, standard.
537 - Fix: Renaming contents section does not work with latex writer; SF
539 - Applied patch for custom roles with classes from Edward Loper.
540 - Fixed bug that caused crashes with more than 256 lists.
542 * docutils/writers/pep_html/__init__.py:
544 - Changed to support new python.org website structure and
547 * docs/howto/security.txt: "Deploying Docutils Securely", added to
550 * tools/buildhtml.py:
552 -- Added ``ignore`` setting to exclude a list of shell patterns
553 (default: ``.svn:CVS``).
555 * tools/editors/emacs/rst.el:
557 - Changed license to "GPL".
558 - Added ``rst-straighten-decorations`` function.
559 - The ``compile`` module is now always loaded.
560 - Added ``rst-toggle-line-block`` function.
561 - Headings consisting only of non-ASCII characters are now
562 recognized by ``rst-toc`` and ``rst-adjust``.
563 - Added font-lock support for multi-line comments where the first
564 comment line is empty.
565 - Added ``(require 'font-lock)``.
569 - Provide descriptive error message if distutils is missing.
572 Release 0.4 (2006-01-09)
573 ========================
577 - Updated the project policies for trunk/branch development &
580 * docutils/__init__.py:
582 - Added ``__version_details__`` attribute to describe code source
583 (repository/snapshot/release).
584 - Replaced ``default_transforms`` attribute of TransformSpec with
585 ``get_transforms()`` method.
589 - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
590 functions, for document tree extraction and reprocessing.
594 - Added ``DocTreeInput`` class, for reprocessing existing documents.
595 - Added support for non-Unicode (e.g. binary) writer output.
599 - Re-introduced ``Targetable.indirect_reference_name``, for
600 MoinMoin/reST compatibility (removed in r3124/r3129).
601 - Added ``serial_escape`` function; escapes string values that are
602 elements of a list, for serialization. Modified Docutils-XML
603 writing (``Element._dom_node``) and pseudo-XML writing
604 (``Element.starttag``) to use ``serial_escape``.
605 - Added ``Node.deepcopy()`` method.
606 - Removed the internal lists ``document.substitution_refs``,
607 ``document.anonymous_refs``, and ``document.anonymous_targets``.
608 - Added a "container" element.
609 - Fixed bug where values of list-valued attributes of elements
610 originating from custom interpreted text roles (i.e., with custom
611 classes) were being shared between element instances. Reported by
614 * docutils/statemachine.py:
616 - Added trailing whitespace stripping to ``string2lines()``.
617 - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
618 Asian double-width character support.
622 - Added ``east_asian_column_width()`` for double-width character
625 * docutils/languages/ja.py: Added to project: Japanese mappings by
628 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
629 mappings by Panjunyong.
631 * docutils/parsers/null.py: Added to project; a do-nothing parser.
633 * docutils/parsers/rst/__init__.py:
635 - Added validator to tab_width setting, with test. Closes SF bug
636 #1212515, report from Wu Wei.
638 * docutils/parsers/rst/states.py:
640 - Fixed bug with escaped colons indicating a literal block.
641 - Fixed bug with enumerated lists (SF#1254145).
642 - Backslash-escaped colons inside of field names are now allowed.
643 - Targets (implicit and explicit), anonymous hyperlink references
644 and auto-numbered footnote references inside of substitution
645 definitions are now disallowed.
646 - Fixed bug: list items with blank first lines.
647 - Fixed bug: block quote attributions with indented second lines.
648 - Added East Asian double-width character support (Python 2.4 only).
650 * docutils/parsers/rst/tableparser.py:
652 - Added East Asian double-width character support (Python 2.4 only).
654 * docutils/parsers/rst/directives/body.py:
656 - Added the "container" directive.
658 * docutils/parsers/rst/directives/misc.py:
660 - Added the "default-role", "title", and "date" directives.
661 - Added standard data file syntax to the "include" directive.
662 - Added support for "class" directive content.
664 * docutils/parsers/rst/directives/images.py:
666 - Added ``indirect_reference_name`` support for images with a target
668 - Added support for image width and height units.
669 - Fixed bug with image "target" options.
671 * docutils/parsers/rst/directives/references.py:
673 - Added "class" attribute to "target-notes" directive, for
674 footnote_reference classes.
676 * docutils/parsers/rst/include/: Directory added to project; contains
677 standard data files for the "include" directive. Initial contents:
678 character entity substitution definition sets, and a set of
679 definitions for S5/HTML presentations.
681 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
682 mappings by David Goodger.
684 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
685 Simplified Chinese mappings by Panjunyong.
687 * docutils/readers/__init__.py:
689 - Added universal.Decorations and universal.ExposeInternals
690 transforms as default transforms for all readers.
691 - Added ``ReReader`` base class for readers that reread an existing
694 * docutils/readers/doctree.py: Added to project; a reader for existing
697 * docutils/transforms/frontmatter.py:
699 - Fixed the DocInfo transform to handle SVN-style expansion of the
701 - In ``DocInfo.extract_authors``, treat the contents of "authors"
704 * docutils/transforms/misc.py:
706 - Added misc.Transitions transform, extracted from
707 universal.FinalChecks.
709 * docutils/transforms/references.py:
711 - Added references.DanglingReferences transform, extracted from
712 universal.FinalChecks.
713 - Fixed bug with doubly-indirect substitutions.
714 - Added footnote_reference classes attribute to "TargetNotes".
715 - Fixed bug with circular substitution definitions that put Docutils
716 into an infinite loop.
718 * docutils/transforms/universal.py:
720 - Added universal.ExposeInternals transform, extracted from
721 universal.FinalChecks.
722 - Removed universal.FinalChecks transform (logic has been moved to
723 several new transforms).
724 - Fixed bug with the "expose_internals" setting and Text nodes
725 (exposed by the "rawsource" internal attribute).
726 - Added the universal.StripComments transform, implementation of the
727 "strip_comments" setting.
729 * docutils/transforms/writer_aux.py: Added to project; auxiliary
730 transforms for writers.
732 - Added ``Compound`` transform, which flattens compound paragraphs.
734 * docutils/writers/: Several writer modules (html4css1.py) were
735 converted into packages. Support modules and data files have been
736 moved into the packages. The stylesheets for the HTML writers are
737 now installed along with the code, the code knows where to find
738 them, and the default is to use them (actually, to embed them).
739 Some adjustments to configuration files may be necessary. The
740 easiest way to obtain the new default behavior is to remove all
741 settings whose name includes "stylesheet".
743 * docutils/writers/__init__.py:
745 - Added universal.Messages and universal.FilterMessages transforms
746 as default transforms for all writers.
747 - Added ``UnfilteredWriter`` base class for writers that pass the
748 document tree on unchanged.
750 * docutils/writers/docutils_xml.py:
752 - Made ``xmlcharrefreplace`` the default output encoding error
755 * docutils/writers/html4css1/:
757 - Added support for image width and height units.
758 - Made ``xmlcharrefreplace`` the default output encoding error
760 - Made ``--embed-stylesheet`` the default rather than
761 ``--link-stylesheet``.
762 - Moved "id" attribute from container (section etc.) to title's <a>
763 tag, to be on the same tag as "name".
764 (!!! To be reverted in Docutils 0.5.)
765 - Added vertical space between fields of field lists.
766 - Added ``--compact-field-lists`` option to remove vertical space in
768 - Made cloaking of email addresses with ``--cloak-email-addresses``
770 - Fixed support for centered images.
771 - Added support for class="compact" & class="open" lists.
773 * docutils/writers/latex2e/:
775 - Underscores in citekeys are no longer escaped.
777 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
778 mapping of Unicode characters to LaTeX equivalents.
780 * docutils/writers/s5_html/: Package added to project; writer for
783 * docs/dev/distributing.txt: Added to project; guide for distributors
784 (package maintainers).
786 * docs/dev/hacking.txt: Added to project; guide for developers.
788 * docs/ref/doctree.txt:
790 - Updated for plural attributes "classes", "ids", "names",
792 - Added the "container" element.
794 * docs/ref/docutils.dtd:
796 - Updated for plural attributes "classes", "ids", "names",
799 * docs/user/emacs.txt: Added to project; a document about Emacs
800 support for reStructuredText and Docutils.
802 * docs/user/links.txt: Added to project; lists of Docutils-related
805 * docs/user/mailing-lists.txt: Added to project; information about
806 Docutils-related mailing lists and how to access them.
808 * docs/user/slide-shows.txt: Added to project; example of and docs for
809 the S5/HTML writer (``rst2s5.py`` front end).
811 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
812 Files", added to project.
814 * test/coverage.sh: Added to project; test coverage script.
816 * test/DocutilsTestSupport.py:
818 - Added support for specifying runtime settings at the suite level.
820 * test/test_functional.py:
822 - Added the ``clear_output_directory`` function.
823 - Added support for ``_test_more`` functions in functional test
826 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
828 * tools/rstpep2html.py: Renamed from pep.py.
830 * tools/dev/create_unimap.py: Added to project; script to create the
831 docutils/writers/unimap_latex.py mapping file.
833 * tools/dev/profile_docutils.py: Added to project; profiler script.
835 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
837 * tools/editors/emacs/restructuredtext.el,
838 tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
839 Removed from project; the functionality is now contained in rst.el.
841 * tools/editors/emacs/rst.el: Added to project. Added many features
842 and fixed many bugs. See docs/user/emacs.txt for details.
844 * tools/stylesheets: Removed from project. Stylesheets have been
845 renamed and moved into writer packages.
848 Release 0.3.9 (2005-05-26)
849 ==========================
853 - Eliminated and replaced all uses of the old string attributes
854 ``id``, ``name``, ``dupname`` and ``class`` with references to the
855 new list attributes ``ids``, ``names``, ``dupnames`` and
856 ``classes`` throughout the whole source tree.
860 - Enabled ``--dump-*`` options when ``--traceback`` specified,
861 allowing for easier debugging.
862 - In ``Publisher.publish()``, expanded the generic top-level
865 * docutils/examples.py:
867 - Added ``internals`` function for exploration.
871 - Fixed ``Input.decode`` method to apply heuristics only if no
872 encoding is explicitly given, and to provide better reporting of
874 - The ``Input.decode`` method now removes byte order marks (BOMs)
879 - ``image`` element class changed to subclass of Element, not
880 TextElement (it's an empty element, and cannot contain text).
881 - Added ``attr_defaults`` dictionary for default attribute values.
882 - Added empty list as default value for the following attributes:
883 ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
884 - Added ``document.decoration`` attribute,
885 ``document.get_decoration`` method, and ``decoration.get_header``
886 & ``.get_footer`` methods.
887 - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
892 - Removed ``docutils.utils.Reporter.categories``,
893 ``docutils.utils.ConditionSet``, and all references to them, to
894 simplify error reporting.
896 * docutils/languages/nl.py: Added to project; Dutch mappings by
899 * docutils/parsers/rst/__init__.py:
901 - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
903 * docutils/parsers/rst/states.py:
905 - Added check for escaped at-mark to prevent email address recognition.
906 - Fixed option lists to allow spaces inside ``<angle-bracketed option
908 - Allowed whitespace in paths and URLs.
909 - Added auto-enumerated list items.
910 - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
912 - Added support for table stub columns.
914 * docutils/parsers/rst/directives/__init__.py:
916 - Allowed whitespace in paths (``path`` function).
917 - Added ``uri`` directive option conversion function.
919 * docutils/parsers/rst/directives/body.py:
921 - Fixed illegal context bug with "topic" directive (allowed within
922 sidebars; not within body elements).
924 * docutils/parsers/rst/directives/images.py:
926 - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
927 - Added support for the ``file_insertion_enabled`` setting in the
928 "figure" directive (disables "figwidth" option).
929 - "image" directive: added checks for valid values of "align" option,
930 depending on context. "figure" directive: added specialized
931 "align" option and attribute on "figure" element.
932 - Made ":figwidth: image" option of "figure" directive work again.
933 - Fixed bug with reference names containing uppercase letters
934 (e.g. ``Name_``) in "target" option of "image" directive.
936 * docutils/parsers/rst/directives/misc.py:
938 - Fixed "include" and "raw" directives to catch text decoding
940 - Allowed whitespace in "include" & "raw" directive paths.
941 - Added support for ``file_insertion_enabled`` & ``raw_enabled``
942 settings in "include" & "raw" directives.
944 * docutils/parsers/rst/directives/parts.py:
946 - Added "header" & "footer" directives.
947 - Fixed illegal context bug with "contents" directive (topics
948 allowed within sidebars; not within body elements).
950 * docutils/parsers/rst/directives/tables.py:
952 - Added "list-table" directive.
953 - Caught empty CSV table bug.
954 - Added support for the ``file_insertion_enabled`` setting in the
955 "csv-table" directive.
956 - Added ``stub-columns`` option to "csv-table" and "list-table"
959 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
960 mappings by Martijn Pieters.
962 * docutils/readers/standalone.py:
964 - Added ``--section-subtitles`` and ``--no-section-subtitles``
965 options to activate or deactivate the SectSubTitle transform.
967 * docutils/transforms/frontmatter.py:
969 - Added SectSubTitle transform to promote titles of lone
970 subsections to subtitles.
972 * docutils/transforms/references.py:
974 - Fixed mislocated internal targets bug, by propagating internal
975 targets to the next node, making use of the newly added support
976 for multiple names and IDs.
977 - Fixed duplicate footnote label bug.
978 - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
981 * docutils/writers/html4css1.py:
983 - Fixed unencoded stylesheet reference bug (characters like "&" in
984 stylesheet references).
985 - ``target`` nodes now appear as ``span`` tags (instead of ``a``
987 - Added support for multiple IDs per node by creating empty ``span``
989 - Added the ``field_name_limit`` & ``option_limit`` settings &
991 - Added support for table stub columns.
992 - Added support for the ``align`` attribute on ``figure`` elements.
993 - Added the ``cloak_email_addresses`` setting & support.
994 - Added ``html_prolog``, ``html_head``, ``html_body``,
995 ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
996 ``docutils.core.publish_parts``.
997 - Added support for section subtitles.
999 * docutils/writers/latex2e.py:
1001 - Fixed tables starting with more than one multirow cell.
1002 - Improved --use-latex-docinfo so that organization/contact/address
1003 fields are lumped with the last author field and appear on the
1005 - Made sure the titlepage is always shown with --use-latex-docinfo,
1006 even if the document has no title.
1007 - Made sure that latex doesn't fill in today's date if no date field
1009 - Added support for section subtitles.
1011 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1012 (under development).
1014 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1016 * docs/api/publisher.txt:
1018 - Added "``publish_parts`` Details" section.
1020 * docutils/dev/repository.txt: Added to project; information about the
1021 Docutils Subversion repository.
1023 * docs/ref/docutils.dtd:
1025 - Added a ``stub`` attribute to the ``colspec`` element via the
1026 ``tbl.colspec.att`` parameter entity.
1027 - Allowed topic elements within sidebars
1028 - Added an ``align`` attribute to the ``figure`` element.
1030 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1034 Release 0.3.7 (2004-12-24)
1035 ==========================
1037 * docutils/frontend.py:
1039 - Added options: --input-encoding-error-handler,
1040 --record-dependencies, --leave-footnote-reference-space,
1042 - Added command-line and config file support for "overrides" setting
1047 - Added support for input encoding error handler.
1049 * docutils/nodes.py:
1051 - Added dispatch_visit and dispatch_departure methods to
1052 NodeVisitor; useful as a hook for Visitors.
1053 - Changed structure of ``line_block``; added ``line``.
1054 - Added ``compound`` node class.
1055 - Added a mechanism for Visitors to transitionally ignore new node
1058 * docutils/utils.py:
1060 - Moved ``escape2null`` and ``unescape`` functions from
1061 docutils/parsers/rst/states.py.
1063 * docutils/parsers/rst/roles.py:
1066 - Changed role function API: the "text" parameter now takes
1067 null-escaped interpreted text content.
1069 * docutils/parsers/rst/states.py:
1071 - Fixed bug where a "role" directive in a nested parse would crash
1072 the parser; the state machine's "language" attribute was not being
1074 - Added support for line block syntax.
1075 - Fixed directive parsing bug: argument-less directives didn't
1076 notice that arguments were present.
1077 - Removed error checking for transitions.
1078 - Added support for multiple classifiers in definition list items.
1079 - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1080 - Changed role function API: the "text" parameter now takes
1081 null-escaped interpreted text content.
1082 - Empty sections and documents are allowed now.
1084 * docutils/parsers/rst/directives/__init__.py:
1086 - Added ``encoding`` directive option conversion function.
1087 - Allow multiple class names in class_option conversion function.
1089 * docutils/parsers/rst/directives/body.py:
1091 - Converted the line-block directive to use the new structure.
1092 - Extracted the old line-block functionality to the ``block``
1093 function (still used).
1094 - Added ``compound`` directive (thanks to Lea Wiemann).
1096 * docutils/parsers/rst/directives/misc.py:
1098 - Added "encoding" option to "include" and "raw" directives.
1099 - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1100 - Allow multiple class names in the "class" directive.
1102 * docutils/parsers/rst/directives/parts.py:
1104 - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1105 options. Thanks to Lele Gaifax.
1107 * docutils/parsers/rst/directives/tables.py:
1109 - Added "encoding" directive to "csv-table" directive.
1110 - Added workaround for lack of Unicode support in csv.py, for
1111 non-ASCII CSV input.
1113 * docutils/transforms/misc.py:
1115 - Fixed bug when multiple "class" directives are applied to a single
1117 - Enabled multiple format names for "raw" directive.
1119 * docutils/transforms/references.py:
1121 - Added support for trimming whitespace from beside substitution
1124 * docutils/transforms/universal.py:
1126 - FinalChecks now checks for illegal transitions and moves
1127 transitions between sections.
1129 * docutils/writers/html4css1.py:
1131 - HTMLTranslator.encode now converts U+00A0 to " ".
1132 - "stylesheet" and "stylesheet_path" settings are now mutually
1134 - Added support for the new line_block/line structure.
1135 - --footnote-references now overrides
1136 --trim-footnote-reference-space, if applicable.
1137 - Added support for ``compound`` elements.
1138 - Enabled multiple format names for "raw" directive.
1139 - ``<p>`` tags of a paragraph which is the only visible child of the
1140 document node are no longer stripped.
1141 - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1142 new method ``should_be_compact_paragraph()``.
1143 - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1145 - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1146 the output if they have their ``class`` attribute set.
1147 - The whole document is now surrounded by a ``<div
1148 class="document">`` element.
1149 - Body-level images are now wrapped by their own ``<div>`` elements,
1150 with image classes copied to the wrapper, and for images which
1151 have the ``:align:`` option set, the surrounding ``<div>`` now
1152 receives a class attribute (like ``class="align-left"``).
1154 * docutils/writers/latex2e.py:
1156 - no newline after depart_term.
1157 - Added translations for some Unicode quotes.
1158 - Added option "font-encoding", made package AE the default.
1159 - "stylesheet" and "stylesheet_path" settings are now mutually
1161 - --footnote-references now overrides
1162 --trim-footnote-reference-space, if applicable.
1163 - The footnote label style now matches the footnote reference style
1164 ("brackets" or "superscript").
1165 - Added support for ``compound`` elements.
1166 - Enabled multiple format names for "raw" directive.
1168 * docs/ref/docutils.dtd:
1170 - Changed structure of the ``line_block`` element; added ``line``.
1171 - Added ``compound`` element.
1172 - Added "ltrim" and "rtrim" attributes to
1173 ``substitution_definition`` element.
1174 - Enabled multiple format names for ``raw`` element.
1175 - Enabled multiple classifiers in ``definition_list_item`` elements.
1177 * docs/ref/rst/directives.txt
1179 - Marked "line-block" as deprecated.
1180 - "Class" directive now allows multiple class names.
1181 - Added "Rationale for Class Attribute Value Conversion".
1182 - Added warning about "raw" overuse/abuse.
1184 * docs/ref/rst/restructuredtext.txt:
1186 - Added syntax for line blocks.
1187 - Definition list items may have multiple classifiers.
1189 * docs/ref/rst/roles.txt:
1193 * tools/stylesheets/default.css:
1195 - Added support for the new line_block structure.
1196 - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1199 Release 0.3.5 (2004-07-29)
1200 ==========================
1204 * _`Documentation cleanup/reorganization`.
1206 - Created new subdirectories of docs/:
1208 * ``docs/user/``: introductory/tutorial material for end-users
1209 * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1210 * ``docs/api/``: API reference material for client-developers
1211 * ``docs/ref/``: reference material for all groups
1212 * ``docs/howto/``: for component-developers and core-developers
1213 * ``docs/peps/``: Python Enhancement Proposals
1215 - Moved ``docs/*`` to ``docs/user/``.
1216 - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1217 ``spec/`` to ``docs/dev``.
1218 - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1219 ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1220 - Moved ``alternatives.txt``, and ``problems.txt`` from
1221 ``spec/rst/`` to ``docs/dev/rst/``.
1222 - Moved ``reStructuredText.txt``, ``directives.txt``,
1223 ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1224 to ``docs/ref/rst/``. Renamed ``interpreted.txt`` to
1225 ``roles.txt``, ``reStructuredText.txt`` to
1226 ``restructuredtext.txt``.
1227 - Moved ``spec/howto/`` to ``docs/howto``.
1229 In order to keep the CVS history of moved files, we supplied
1230 SourceForge with a `script for modifying the Docutils CVS
1233 __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1235 After running the cleanup script:
1237 - Added ``docs/index.txt``.
1238 - Added a ``.htaccess`` file to the ``web`` module, containing
1239 redirects for all old paths to new paths. They'll preserve
1240 fragments (the "#name" part of a URL), and won't clutter up the
1241 file system, and will correct the URL in the user's browser.
1242 - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1243 ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1244 the "To Do" list itself in ``docs/dev/todo.txt``.
1245 - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1246 section of ``docs/dev/todo.txt``.
1247 - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1248 - Added "How To Report Bugs" to ``BUGS.txt``.
1249 - Went through all the sources and docs (including under web/) and
1250 updated links. Mostly done by Lea Wiemann; thanks Lea!
1251 (Still need to update links in the sandboxes.)
1255 * BUGS.txt: Added to project.
1257 * THANKS.txt: Added to project.
1259 * docutils/__init__.py:
1261 - 0.3.4: Post-release.
1265 - Added special error handling & advice for UnicodeEncodeError.
1266 - Refactored Publisher.publish (simplified exception handling &
1267 extracted debug dumps).
1268 - Renamed "enable_exit" parameter of convenience functions to
1269 "enable_exit_status".
1270 - Enabled traceback (exception propagation) by default in
1271 programmatic convenience functions.
1272 - Now publish_file and publish_cmdline convenience functions return
1273 the encoded string results in addition to their regular I/O.
1274 - Extracted common code from publish_file, publish_string, and
1275 publish_parts, into new publish_programmatically. Extracted
1276 settings code to ``Publisher.process_programmatic_settings``.
1277 - In Publisher.publish, disabled ``settings_overrides`` when
1278 ``settings`` is supplied; redundant.
1280 * docutils/frontend.py:
1282 - Added help text for "--output-encoding-error-handler" and
1283 "--error-encoding-error-handler".
1284 - Renamed "--exit" to "--exit-status".
1285 - Simplified default-setting code.
1287 * docutils/parsers/rst/__init__.py:
1289 - Added "--pep-base-url" and "--rfc-base-url" options.
1291 * docutils/parsers/rst/states.py:
1293 - Made URI recognition more aggressive and intelligent.
1295 * docutils/parsers/rst/directives/__init__.py:
1297 - Added several directive option conversion functions.
1299 * docutils/parsers/rst/directives/body.py:
1301 - Moved "table" directive to tables.py.
1303 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1306 * docutils/writers/latex2e.py:
1308 - Added "--table-style=(standard|booktabs|nolines)"
1309 - figures get "here" option (LaTeX per default puts them at bottom),
1310 and figure content is centered.
1311 - Rowspan support for tables.
1312 - Fix: admonition titles before first section.
1313 - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1314 - Replave ``_`` in literal by an underlined blank, because it has the correct
1316 - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1317 - A few unicode replacements, if output_encoding != utf
1318 - Add "--graphicx-option".
1319 - Indent literal-blocks.
1320 - Fix: omit ``\maketitle`` when there is no document title.
1322 * docs/index.txt: "Docutils Project Documentation Overview", added to
1325 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1326 Tool", added to project.
1328 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1330 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1332 * docs/dev/policies.txt: Added to project (extracted from
1333 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1335 * docs/dev/release.txt: Added to project (extracted from
1336 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1338 * docs/dev/testing.txt: Added to project.
1340 * docs/dev/website.txt: Added to project (extracted from
1341 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1343 * docs/ref/rst/directives.txt:
1345 - Added directives: "table", "csv-table".
1347 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1348 added to project. 1 page for syntax, and a 1 page reference for
1349 directives and roles. Source text to be used as-is; not meant to be
1352 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1353 with a change of title.
1355 * test/functional/, contents, and test/test_functional.py: Added to
1358 * tools/buildhtml.py: Fixed bug with config file handling.
1360 * tools/html.py: Removed from project (duplicate of rst2html.py).
1362 * tools/pep2html.py: Removed from project (duplicate of Python's
1363 nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1364 Docutils-related PEPs in docs/peps/).
1366 * tools/rst2pseudoxml.py: Renamed from publish.py.
1368 * tools/rst2xml.py: Renamed from docutils-xml.py.
1370 * tools/test.txt: Removed from project; moved to
1371 docs/user/rst/demo.txt.
1373 * setup.py: Now also installs ``rst2latex.py``.
1376 Release 0.3.3 (2004-05-09)
1377 ==========================
1379 * docutils/__init__.py:
1381 - 0.3.1: Reorganized config file format (multiple sections); see
1383 - Added unknown_reference_resolvers attribute to TransformSpec.
1384 - 0.3.2: Interpreted text reorganization.
1389 - Catch system messages to stop tracebacks from parsing errors.
1390 - Catch exceptions during processing report & exit without
1391 tracebacks, except when "--traceback" used.
1392 - Reordered components for OptionParser; application comes last.
1393 - Added "config_section" parameter to several methods and functions,
1394 allowing front ends to easily specify their config file sections.
1395 - Added publish_parts convenience function to allow access to individual
1396 parts of a document.
1398 * docutils/examples.py: Added to project; practical examples of
1399 Docutils client code, to be used as-is or as models for variations.
1401 * docutils/frontend.py:
1403 - Added "--traceback" & "--no-traceback" options ("traceback"
1405 - Implemented support for config file reorganization:
1406 ``standard_config_files`` moved from ``ConfigParser`` to
1407 ``OptionParser``; added
1408 ``OptionParser.get_config_file_settings()`` and
1409 ``.get_standard_config_settings()``; support for old "[options]"
1410 section (with deprecation warning) and mapping from old to new
1412 - Reimplemented setting validation.
1413 - Enabled flexible boolean values: yes/no, true/false, on/off.
1414 - Added ``Values``, a subclass of ``optparse.Values``, with support
1415 for list setting attributes.
1416 - Added support for new ``DOCUTILSCONFIG`` environment variable;
1417 thanks to Beni Cherniavsky.
1418 - Added "--no-section-numbering" option.
1422 - Catch IOErrors when opening source & destination files, report &
1423 exit without tracebacks. Added ``handle_io_errors`` parameter to
1424 ``FileInput`` & ``FileOutput`` to enable caller error handling.
1426 * docutils/nodes.py:
1428 - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1429 method definitions (via ``exec``) to dynamic assignments (via
1430 ``setattr``); thanks to Roman Suzi.
1431 - Encapsulated visitor dynamic assignments in a function; thanks to
1433 - Added indirect_reference_name attribute to the Targetable
1434 class. This attribute holds the whitespace_normalized_name
1435 (contains mixed case) of a target.
1437 * docutils/statemachine.py:
1439 - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1440 - Added ``StringList.get_2D_block``.
1442 * docutils/utils.py:
1444 - Added "level" attribute to SystemMessage exceptions.
1446 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1449 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1452 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1453 Marcelo Huerta San Martin.
1455 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1456 mappings by Lalo Martins.
1458 * docutils/languages/ru.py: Added to project; Russian mappings by
1461 * docutils/parsers/rst/roles.py: Added to project. Contains
1462 interpreted text role functions, a registry for interpreted text
1463 roles, and an API for adding to and retrieving from the registry.
1464 Contributed by Edward Loper.
1466 * docutils/parsers/rst/states.py:
1468 - Updated ``RSTState.nested_parse`` for "include" in table cells.
1469 - Allowed true em-dash character and "---" as block quote
1471 - Added support for <angle-bracketed> complex option arguments
1473 - Fixed handling of backslashes in substitution definitions.
1474 - Fixed off-by-1 error with extra whitespace after substitution
1475 definition directive.
1476 - Added inline markup parsing to field lists' field names.
1477 - Added support for quoted (and unindented) literal blocks.
1478 Driven in part by a bribe from Frank Siebenlist (thanks!).
1479 - Parser now handles escapes in URIs correctly.
1480 - Made embedded-URIs' reference text omittable. Idea from Beni
1482 - Refactored explicit target processing code.
1483 - Added name attribute to references containing the reference name only
1484 through whitespace_normalize_name (no case changes).
1485 - parse_target no longer returns the refname after going through
1486 normalize_name. This is now handled in make_target.
1487 - Fixed bug relating to role-less interpreted text in non-English
1489 - Reorganized interpreted text processing; moved code into the new
1490 roles.py module. Contributed by Edward Loper.
1491 - Refactored ``Body.parse_directive`` into ``run_directive`` and
1492 ``parse_directive_block``.
1494 * docutils/parsers/rst/tableparser.py:
1496 - Reworked for ``StringList``, to support "include" directives in
1499 * docutils/parsers/rst/directives/__init__.py:
1501 - Renamed ``unchanged()`` directive option conversion function to
1502 ``unchanged_required``, and added a new ``unchanged``.
1503 - Catch unicode value too high error; fixes bug 781766.
1504 - Beefed up directive error reporting.
1506 * docutils/parsers/rst/directives/body.py:
1508 - Added basic "table" directive.
1510 * docutils/parsers/rst/directives/images.py:
1512 - Added "target" option to "image" directive.
1513 - Added name attribute to references containing the reference name only
1514 through whitespace_normalize_name (no case changes).
1516 * docutils/parsers/rst/directives/misc.py:
1518 - Isolated the import of the ``urllib2`` module; was causing
1519 problems on SourceForge (``libssl.so.2`` unavailable?).
1520 - Added the "role" directive for declaring custom interpreted text
1523 * docutils/parsers/rst/directives/parts.py:
1525 - The "contents" directive does more work up-front, creating the
1526 "topic" and "title", and leaving the "pending" node for the
1527 transform. Allows earlier reference resolution; fixes subtle bug.
1529 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1530 mappings by Jannie Hofmeyr.
1532 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1533 mappings by Marek Blaha.
1535 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1536 mappings by Marcelo Huerta San Martin.
1538 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1539 Portuguese mappings by Lalo Martins.
1541 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1542 mappings by Roman Suzi.
1544 * docutils/transforms/parts.py:
1546 - The "contents" directive does more work up-front, creating the
1547 "topic" and "title", and leaving the "pending" node for the
1548 transform. Allows earlier reference resolution; fixes subtle bug.
1549 - Added support for disabling of section numbering.
1551 * docutils/transforms/references.py:
1553 - Verifying that external targets are truly targets and not indirect
1554 references. This is because we are now adding a "name" attribute to
1555 references in addition to targets. Note sure if this is correct!
1556 - Added code to hook into the unknown_reference_resolvers list for a
1557 transformer in resolve_indirect_target. This allows the
1558 unknown_reference_resolvers to keep around indirect targets which
1559 docutils doesn't know about.
1560 - Added specific error message for duplicate targets.
1562 * docutils/transforms/universal.py:
1564 - Added FilterMessages transform (removes system messages below the
1565 verbosity threshold).
1566 - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1567 to FinalCheckVisitor for application-specific handling of
1568 unresolvable references.
1569 - Added specific error message for duplicate targets.
1571 * docutils/writers/__init__.py:
1573 - Added assemble_parts method to the Writer class to allow for
1574 access to a documents individual parts.
1575 - Documented & set default for ``Writer.output`` attribute.
1577 * docutils/writers/html4css1.py:
1579 - Fixed unicode handling of attribute values (bug 760673).
1580 - Prevent duplication of "class" attribute values (bug report from
1582 - Improved table grid/border handling (prompted by report from Bob
1584 - Added support for table titles.
1585 - Added "<title />" for untitled docs, for XHTML conformance; thanks
1587 - Added functionality to keep track of individual parts of a document
1588 and store them in a dictionary as the "parts" attribute of the writer.
1589 Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1590 - Added proper support for the "scale" attribute of the "image"
1591 element. Contributed by Brent Cook.
1592 - Added ``--initial-header-level`` option.
1593 - Fixed bug: the body_pre_docinfo segment depended on there being a
1594 docinfo; if no docinfo, the document title was incorporated into
1595 the body segment. Adversely affected the publish_parts interface.
1597 * docutils/writers/latex2e.py:
1599 - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1600 about a missing file.
1601 - Added options and support: ``--compound-enumerators``,
1602 ``--section-prefix-for-enumerators``, and
1603 ``--section-enumerator-separator``. By John F Meinel Jr (SF patch
1605 - Added option ``--use-verbatim-when-possible``, to avoid
1606 problematic characters (eg, '~' in italian) in literal blocks.
1607 - It's now possible to use four section levels in the `book` and
1608 `report` LaTeX classes. The default `article` class still has
1611 * docs/config.txt: "Docutils Configuration Files", added to project.
1612 Moved config file entry descriptions from tools.txt.
1616 - Moved config file entry descriptions to config.txt.
1618 * spec/notes.txt: Continual updates. Added "Setting Up For Docutils
1621 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1622 Text Roles", added to project.
1624 * spec/rst/reStructuredText.txt:
1626 - Added description of support for <angle-bracketed> complex option
1627 arguments to option lists.
1628 - Added subsections for indented and quoted literal blocks.
1630 * test: Continually adding & updating tests.
1632 - Added test/test_settings.py & test/data/config_*.txt support
1634 - Added test/test_writers/test_htmlfragment.py.
1636 * test/DocutilsTestSupport.py:
1638 - Refactored LaTeX publisher test suite/case class names to make
1639 testing other writers easier.
1640 - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1641 to test the processing of HTML fragments which use the new
1642 publish_parts convenience function.
1644 * tools/buildhtml.py:
1646 - Added support for the "--prune" option.
1647 - Removed dependency on pep2html.py; plaintext PEPs no longer
1650 * tools/docutils.conf:
1652 - Updated for configuration file reorganization.
1654 * tools/rst2html.py:
1656 - copied from tools/html.py
1660 - added a 'scripts' section to configuration
1661 - added 'tools/rst2html.py' to the scripts section
1664 Release 0.3 (2003-06-24)
1665 ========================
1669 * Renamed "attribute" to "option" for directives/extensions.
1671 * Renamed transform method "transform" to "apply".
1673 * Renamed "options" to "settings" for runtime settings (as set by
1674 command-line options). Sometimes "option" (singular) became
1675 "settings" (plural). Some variations below:
1677 - document.options -> document.settings (stored in other objects as
1679 - option_spec -> settings_spec (not directives though)
1680 - OptionSpec -> SettingsSpec
1681 - cmdline_options -> settings_spec
1682 - relative_path_options -> relative_path_settings
1683 - option_default_overrides -> settings_default_overrides
1684 - Publisher.set_options -> Publisher.get_settings
1688 * COPYING.txt: Added "Public Domain Dedication".
1690 * FAQ.txt: Frequently asked questions, added to project.
1694 - Updated with PyPI Trove classifiers.
1695 - Conditional installation of third-party modules.
1697 * docutils/__init__.py:
1699 - Bumped version to 0.2.1 to reflect changes to I/O classes.
1700 - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1701 - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1702 - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1703 option and its effect on the PEP template & writer.
1704 - Bumped version to 0.2.4 due to changes to the PEP template &
1706 - Bumped version to 0.2.5 to reflect changes to Reporter output.
1707 - Added ``TransformSpec`` class for new transform system.
1708 - Bumped version to 0.2.6 for API changes (renaming).
1709 - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1710 convenience functions.
1711 - Added ``Component.component_type`` attribute.
1712 - Bumped version to 0.2.8 because of the internal parser switch from
1713 plain lists to the docutils.statemachine.StringList objects.
1714 - Bumped version to 0.2.9 because of the frontend.py API changes.
1715 - Bumped version to 0.2.10 due to changes to the project layout
1716 (third-party modules removed from the "docutils" package), and
1717 signature changes in ``io.Input``/``io.Output``.
1718 - Changed version to 0.3.0 for release.
1722 - Made ``publish()`` a bit more convenient.
1723 - Generalized ``Publisher.set_io``.
1724 - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1725 parameters; improved its docstring.
1726 - Added ``publish_file()`` and ``publish_string()``.
1727 - Factored ``Publisher.set_source()`` and ``.set_destination()``
1729 - Added support for "--dump-pseudo-xml", "--dump-settings", and
1730 "--dump-transforms" hidden options.
1731 - Added ``Publisher.apply_transforms()`` method.
1732 - Added ``Publisher.set_components()`` method; support for
1733 ``publish_*()`` conveninece functions.
1734 - Moved config file processing to docutils/frontend.py.
1735 - Added support for exit status ("exit_level" setting &
1736 ``enable_exit`` parameter for Publisher.publish() and convenience
1739 * docutils/frontend.py:
1741 - Check for & exit on identical source & destination paths.
1742 - Fixed bug with absolute paths & "--config".
1743 - Set non-command-line defaults in ``OptionParser.__init__()``:
1744 ``_source`` & ``_destination``.
1745 - Distributed ``relative_path_settings`` to components; updated
1746 ``OptionParser.populate_from_components()`` to combine it all.
1747 - Require list of keys in ``make_paths_absolute`` (was implicit in
1748 global ``relative_path_settings``).
1749 - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1750 "--dump-settings", and "--dump-transforms" hidden options.
1751 - Removed nasty internals-fiddling ``ConfigParser.get_section``
1752 code, replaced with correct code.
1753 - Added validation functionality for config files.
1754 - Added "--error-encoding" option/setting, "_disable_config"
1756 - Added encoding validation; updated "--input-encoding" and
1757 "--output-encoding"; added "--error-encoding-error-handler" and
1758 "--output-encoding-error-handler".
1759 - Moved config file processing from docutils/core.py.
1760 - Updated ``OptionParser.populate_from_components`` to handle new
1761 ``SettingsSpec.settings_defaults`` dict.
1762 - Added support for "-" => stdin/stdout.
1763 - Added "exit_level" setting ("--exit" option).
1767 - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1768 - Added automatic closing to ``FileInput`` and ``FileOutput``.
1769 - Delayed opening of ``FileOutput`` file until ``write()`` called.
1770 - ``FileOutput.write()`` now returns the encoded output string.
1771 - Try to get path/stream name automatically in ``FileInput`` &
1773 - Added defaults for source & destination paths.
1774 - Allow for Unicode I/O with an explicit "unicode" encoding.
1775 - Added ``Output.encode()``.
1776 - Removed dependency on runtime settings; pass encoding directly.
1777 - Recognize Unicode strings in ``Input.decode()``.
1778 - Added support for output encoding error handlers.
1780 * docutils/nodes.py:
1782 - Added "Invisible" element category class.
1783 - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1784 modification during a traversal.
1785 - Added element classes: ``line_block``, ``generated``, ``address``,
1786 ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1787 ``superscript``, ``subscript``, ``inline``
1788 - Added support for lists of nodes to ``Element.insert()``.
1789 - Fixed parent linking in ``Element.replace()``.
1790 - Added new abstract superclass ``FixedTextElement``; adds
1791 "xml:space" attribute.
1792 - Added support for "line" attribute of ``system_message`` nodes.
1793 - Added support for the observer pattern from ``utils.Reporter``.
1794 Added ``parse_messages`` and ``transform_messages`` attributes to
1795 ``document``, removed ``messages``. Added ``note_parse_message``
1796 and ``note_transform_message`` methods.
1797 - Added support for improved diagnostics:
1799 - Added "document", "source", and "line" internal attributes to
1800 ``Node``, set by ``Node.setup_child()``.
1801 - Converted variations on ``node.parent = self`` to
1802 ``self.setup_child(node)``.
1803 - Added ``document.current_source`` & ``.current_line``
1804 attributes, and ``.note_source`` observer method.
1805 - Changed "system_message" output to GNU-Tools format.
1807 - Added a "rawsource" attribute to the ``Text`` class, for text
1808 before backslash-escape resolution.
1809 - Support for new transform system.
1810 - Reworked ``pending`` element.
1811 - Fixed XML DOM bug (SF #660611).
1812 - Removed the ``interpeted`` element class and added
1813 ``title_reference``, ``abbreviation``, ``acronym``.
1814 - Made substitutions case-sensitive-but-forgiving; moved some code
1816 - Fixed Unicode bug on element attributes (report: William Dode).
1818 * docutils/optik.py: Removed from project; replaced with
1819 extras/optparse.py and extras/textwrap.py. These will be installed
1820 only if they're not already present in the Python installation.
1822 * docutils/roman.py: Moved to extras/roman.py; this will be installed
1823 only if it's not already present in the Python installation.
1825 * docutils/statemachine.py:
1827 - Factored out ``State.add_initial_transitions()`` so it can be
1829 - Converted whitespace-specific "blank" and "indent" transitions
1830 from special-case code to ordinary transitions: removed
1831 ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
1832 ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
1833 ``ws_initial_transitions`` attributes.
1834 - Removed ``State.match_transition()`` after merging it into
1836 - Added ``StateCorrection`` exception.
1837 - Added support for ``StateCorrection`` in ``StateMachine.run()``
1838 (moved ``TransitionCorrection`` support there too.)
1839 - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
1840 ``EOFError`` instead of ``IndexError``.
1841 - Added ``State.no_match`` method.
1842 - Added support for the Observer pattern, triggered by input line
1844 - Added ``strip_top`` parameter to
1845 ``StateMachineWS.get_first_known_indented``.
1846 - Made ``context`` a parameter to ``StateMachine.run()``.
1847 - Added ``ViewList`` & ``StringList`` classes;
1848 ``extract_indented()`` becomes ``StringList.get_indented()``.
1849 - Added ``StateMachine.insert_input()``.
1850 - Fixed ViewList slice handling for Python 2.3. Patch from (and
1851 thanks to) Fred Drake.
1853 * docutils/utils.py:
1855 - Added a ``source`` attribute to Reporter instances and
1856 ``system_message`` elements.
1857 - Added an observer pattern to ``utils.Reporter`` to keep track of
1859 - Fixed bugs in ``relative_path()``.
1860 - Added support for improved diagnostics.
1861 - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
1862 - Added support for encoding Reporter stderr output, and encoding
1864 - Reporter keeps track of the highest level system message yet
1867 * docutils/languages: Fixed bibliographic field language lookups.
1869 * docutils/languages/es.py: Added to project; Spanish mappings by
1870 Marcelo Huerta San Martin.
1872 * docutils/languages/fr.py: Added to project; French mappings by
1875 * docutils/languages/it.py: Added to project; Italian mappings by
1878 * docutils/languages/sk.py: Added to project; Slovak mappings by
1881 * docutils/parser/__init__.py:
1883 - Added ``Parser.finish_parse()`` method.
1885 * docutils/parser/rst/__init__.py:
1887 - Added options: "--pep-references", "--rfc-references",
1888 "--tab-width", "--trim-footnote-reference-space".
1890 * docutils/parsers/rst/states.py:
1892 - Changed "title under/overline too short" system messages from INFO
1893 to WARNING, and fixed its insertion location.
1894 - Fixed enumerated list item parsing to allow paragraphs & section
1895 titles to begin with enumerators.
1896 - Converted system messages to use the new "line" attribute.
1897 - Fixed a substitution reference edge case.
1898 - Added support for "--pep-references" and "--rfc-references"
1899 options; reworked ``Inliner`` code to make customization easier.
1900 - Removed field argument parsing.
1901 - Added support for short section title over/underlines.
1902 - Fixed "simple reference name" regexp to ignore text like
1903 "object.__method__"; not an anonymous reference.
1904 - Added support for improved diagnostics.
1905 - Reworked directive API, based on Dethe Elza's contribution. Added
1906 ``Body.parse_directive()``, ``.parse_directive_options()``,
1907 ``.parse_directive_arguments()`` methods.
1908 - Added ``ExtensionOptions`` class, to parse directive options
1909 without parsing field bodies. Factored
1910 ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
1911 ``ExtensionOptions``.
1912 - Improved definition list term/classifier parsing.
1913 - Added warnings for unknown directives.
1914 - Renamed ``Stuff`` to ``Struct``.
1915 - Now flagged as errors: transitions at the beginning or end of
1916 sections, empty sections (except title), and empty documents.
1917 - Updated for ``statemachine.StringList``.
1918 - Enabled recognition of schemeless email addresses in targets.
1919 - Added support for embedded URIs in hyperlink references.
1920 - Added backslash-escapes to inline markup end-string suffix.
1921 - Added support for correct interpreted text processing.
1922 - Fixed nested title parsing (topic, sidebar directives).
1923 - Added special processing of backslash-escaped whitespace (idea
1924 from David Abrahams).
1925 - Made substitutions case-sensitive-but-forgiving; moved some code
1926 to ``docutils.nodes``.
1927 - Added support for block quote attributions.
1928 - Added a kludge to work-around a conflict between the bubble-up
1929 parser strategy and short titles (<= 3 char-long over- &
1930 underlines). Fixes SF bug #738803 "infinite loop with multiple
1931 titles" submitted by Jason Diamond.
1932 - Added explicit interpreted text roles for standard inline markup:
1933 "emphasis", "strong", "literal".
1934 - Implemented "superscript" and "subscript" interpreted text roles.
1935 - Added initial support for "abbreviation" and "acronym" roles;
1937 - Added support for "--trim-footnote-reference-space" option.
1938 - Optional space before colons in directives & hyperlink targets.
1940 * docutils/parsers/rst/tableparser.py:
1942 - Fixed a bug that was producing unwanted empty rows in "simple"
1944 - Detect bad column spans in "simple" tables.
1946 * docutils/parsers/rst/directives: Updated all directive functions to
1949 * docutils/parsers/rst/directives/__init__.py:
1951 - Added ``flag()``, ``unchanged()``, ``path()``,
1952 ``nonnegative_int()``, ``choice()``, and ``class_option()``
1953 directive option helper functions.
1954 - Added warnings for unknown directives.
1955 - Return ``None`` for missing directives.
1956 - Added ``register_directive()``, thanks to William Dode and Paul
1959 * docutils/parsers/rst/directives/admonitions.py:
1961 - Added "admonition" directive.
1963 * docutils/parsers/rst/directives/body.py: Added to project. Contains
1964 the "topic", "sidebar" (from Patrick O'Brien), "line-block",
1965 "parsed-literal", "rubric", "epigraph", "highlights" and
1966 "pull-quote" directives.
1968 * docutils/parsers/rst/directives/images.py:
1970 - Added an "align" attribute to the "image" & "figure" directives
1971 (by Adam Chodorowski).
1972 - Added "class" option to "image", and "figclass" to "figure".
1974 * docutils/parsers/rst/directives/misc.py:
1976 - Added "include", "raw", and "replace" directives, courtesy of
1978 - Added "unicode" and "class" directives.
1980 * docutils/parsers/rst/directives/parts.py:
1982 - Added the "sectnum" directive; by Dmitry Jemerov.
1983 - Added "class" option to "contents" directive.
1985 * docutils/parsers/rst/directives/references.py: Added to project.
1986 Contains the "target-notes" directive.
1988 * docutils/parsers/rst/languages/__init__.py:
1990 - Return ``None`` from get_language() for missing language modules.
1992 * docutils/parsers/rst/languages/de.py: Added to project; German
1993 mappings by Engelbert Gruber.
1995 * docutils/parsers/rst/languages/en.py:
1997 - Added interpreted text roles mapping.
1999 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2000 mappings by Marcelo Huerta San Martin.
2002 * docutils/parsers/rst/languages/fr.py: Added to project; French
2003 mappings by William Dode.
2005 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2006 mappings by Nicola Larosa.
2008 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2009 mappings by Miroslav Vasko.
2011 * docutils/readers/__init__.py:
2013 - Added support for the observer pattern from ``utils.Reporter``, in
2014 ``Reader.parse`` and ``Reader.transform``.
2015 - Removed ``Reader.transform()`` method.
2016 - Added default parameter values to ``Reader.__init__()`` to make
2017 instantiation easier.
2018 - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2020 * docutils/readers/pep.py:
2022 - Added the ``peps.TargetNotes`` transform to the Reader.
2023 - Removed PEP & RFC reference detection code; moved to
2024 parsers/rst/states.py as options (enabled here by default).
2025 - Added support for pre-acceptance PEPs (no PEP number yet).
2026 - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2029 * docutils/readers/python: Python Source Reader subpackage added to
2030 project, including preliminary versions of:
2033 - moduleparser.py: Parser for Python modules.
2035 * docutils/transforms/__init__.py:
2037 - Added ``Transformer`` class and completed transform reform.
2038 - Added unknown_reference_resolvers list for each transformer. This list holds
2039 the list of functions provided by each component of the transformer that
2040 help resolve references.
2042 * docutils/transforms/frontmatter.py:
2044 - Improved support for generic fields.
2045 - Fixed bibliographic field language lookups.
2047 * docutils/transforms/misc.py: Added to project. Miscellaneous
2050 * docutils/transforms/parts.py:
2052 - Moved the "id" attribute from TOC list items to the references
2053 (``Contents.build_contents()``).
2054 - Added the ``SectNum`` transform; by Dmitry Jemerov.
2055 - Added "class" attribute support to ``Contents``.
2057 * docutils/transforms/peps.py:
2059 - Added ``mask_email()`` function, updating to pep2html.py's
2061 - Linked "Content-Type: text/x-rst" to PEP 12.
2062 - Added the ``TargetNotes`` PEP-specific transform.
2063 - Added ``TargetNotes.cleanup_callback``.
2064 - Added title check to ``Headers``.
2066 * docutils/transforms/references.py:
2068 - Added the ``TargetNotes`` generic transform.
2069 - Split ``Hyperlinks`` into multiple transforms.
2070 - Fixed bug with multiply-indirect references (report: Bruce Smith).
2071 - Added check for circular indirect references.
2072 - Made substitutions case-sensitive-but-forgiving.
2074 * docutils/transforms/universal.py:
2076 - Added support for the "--expose-internal-attributes" option.
2077 - Removed ``Pending`` transform classes & data.
2079 * docutils/writers/__init__.py:
2081 - Removed ``Writer.transform()`` method.
2083 * docutils/writers/docutils-xml.py:
2085 - Added XML and doctype declarations.
2086 - Added "--no-doctype" and "--no-xml-declaration" options.
2088 * docutils/writers/html4css1.py:
2090 - "name" attributes only on these tags: a, applet, form, frame,
2092 - Added "name" attribute to <a> in section titles for Netscape 4
2093 support (bug report: Pearu Peterson).
2094 - Fixed targets (names) on footnote, citation, topic title,
2095 problematic, and system_message nodes (for Netscape 4).
2096 - Changed field names from "<td>" to "<th>".
2097 - Added "@" to "@" encoding to thwart address harvesters.
2098 - Improved the vertical whitespace optimization; ignore "invisible"
2099 nodes (targets, comments, etc.).
2100 - Improved inline literals with ``<span class="pre">`` around chunks
2101 of text and `` `` for runs of spaces.
2102 - Improved modularity of output; added ``self.body_pre_docinfo`` and
2103 ``self.docinfo`` segments.
2104 - Added support for "line_block", "address" elements.
2105 - Improved backlinks (footnotes & system_messages).
2106 - Improved system_message output.
2107 - Redefined "--stylesheet" as containing an invariant URL, used
2108 verbatim. Added "--stylesheet-path", interpreted w.r.t. the
2110 - Added "--footnote-references" option (superscript or brackets).
2111 - Added "--compact-lists" and "--no-compact-lists" options.
2112 - Added "--embed-stylesheet" and "--link-stylesheet" options;
2113 factored out ``HTMLTranslator.get_stylesheet_reference()``.
2114 - Improved field list rendering.
2115 - Added Docutils version to "generator" meta tag.
2116 - Fixed a bug with images; they must be inline, so wrapped in <p>.
2117 - Improved layout of <pre> HTML source.
2118 - Fixed attribute typo on <colspec>.
2119 - Refined XML prologue.
2120 - Support for no stylesheet.
2121 - Removed "interpreted" element support.
2122 - Added support for "title_reference", "sidebar", "attribution",
2123 "rubric", and generic "admonition" elements.
2124 - Added "--attribution" option.
2125 - Added support for "inline", "subscript", "superscript" elements.
2126 - Added initial support for "abbreviation" and "acronym";
2129 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2133 - Double quotes in literal blocks (special treatment for de/ngerman).
2134 - Added '--hyperlink-color' option ('0' turns off coloring of links).
2135 - Added "--attribution" option.
2136 - Right align attributions.
2138 * docutils/writers/pep_html.py:
2140 - Parameterized output encoding in PEP template.
2141 - Reworked substitutions from ``locals()`` into ``subs`` dict.
2142 - Redefined "--pep-stylesheet" as containing an invariant URL, used
2143 verbatim. Added "--pep-stylesheet-path", interpreted w.r.t. the
2145 - Added an override on the "--footnote-references" option.
2146 - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2147 - Added Docutils version to "generator" meta tag.
2148 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2152 - Added a "silent" setting for ``buildhtml.py``.
2153 - Added a "Getting Help" section.
2154 - Rearranged the structure.
2155 - Kept up to date, with new settings, command-line options etc.
2156 - Added section for ``rst2latex.py`` (Engelbert Gruber).
2157 - Converted settings table into a definition list.
2159 * docs/rst/quickstart.txt:
2161 - Added a table of contents.
2162 - Added feedback information.
2163 - Added mention of minimum section title underline lengths.
2164 - Removed the 4-character minimum for section title underlines.
2166 * docs/rst/quickref.html:
2168 - Added a "Getting Help" section.
2169 - Added a style to make section title backlinks more subtle.
2170 - Added mention of minimum section title underline lengths.
2171 - Removed the 4-character minimum for section title underlines.
2173 * extras: Directory added to project; contains third-party modules
2174 that Docutils depends on (optparse, textwrap, roman). These are
2175 only installed if they're not already present.
2177 * licenses: Directory added to project; contains copies of license
2178 files for non-public-domain files.
2182 - Changed the focus. It's about DTD elements: structural
2183 relationships, semantics, and external (public) attributes. Not
2184 about the element class library.
2185 - Moved some implementation-specific stuff into ``docutils.nodes``
2187 - Wrote descriptions of all common attributes and parameter
2188 entities. Filled in introductory material.
2189 - Working through the element descriptions: 55 down, 37 to go.
2190 - Removed "Representation of Horizontal Rules" to
2191 spec/rst/alternatives.txt.
2193 * spec/docutils.dtd:
2195 - Added "generated" inline element.
2196 - Added "line_block" body element.
2197 - Added "auto" attribute to "title".
2198 - Changed content models of "literal_block" and "doctest_block" to
2200 - Added ``%number;`` attribute type parameter entity.
2201 - Changed ``%structural.elements;`` to ``%section.elements``.
2202 - Updated attribute types; made more specific.
2203 - Added "address" bibliographic element.
2204 - Added "line" attribute to ``system_message`` element.
2205 - Removed "field_argument" element; "field_name" may contain
2206 multiple words and whitespace.
2207 - Changed public identifier to docutils.sf.net.
2208 - Removed "interpreted" element; added "title_reference",
2209 "abbreviation", "acronym".
2210 - Removed "refuri" attribute from "footnote_reference" and
2211 "citation_reference".
2212 - Added "sidebar", "rubric", "attribution", "admonition",
2213 "superscript", "subscript", and "inline" elements.
2215 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2217 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2219 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2221 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2224 * spec/transforms.txt: Added to project.
2226 * spec/howto: Added subdirectory, for developer how-to docs.
2228 * spec/howto/rst-directives.txt: Added to project. Original by Dethe
2229 Elza, edited & extended by David Goodger.
2231 * spec/howto/i18n.txt: Docutils Internationalization. Added to
2234 * spec/rst/alternatives.txt:
2236 - Added "Doctree Representation of Transitions" from
2238 - Updated "Inline External Targets" & closed the debate.
2239 - Added ideas for interpreted text syntax extensions.
2240 - Added "Nested Inline Markup" section.
2242 * spec/rst/directives.txt:
2244 - Added directives: "topic", "sectnum", "target-notes",
2245 "line-block", "parsed-literal", "include", "replace", "sidebar",
2246 "admonition", "rubric", "epigraph", "highlights", "unicode" and
2248 - Formalized descriptions of directive details.
2249 - Added an "align" attribute to the "image" & "figure" directives
2250 (by Adam Chodorowski).
2251 - Added "class" options to "topic", "sidebar", "line-block",
2252 "parsed-literal", "contents", and "image"; and "figclass" to
2255 * spec/rst/interpreted.txt: Added to project. Descriptions of
2256 interpreted text roles.
2258 * spec/rst/introduction.txt:
2260 - Added pointers to material for new users.
2262 * spec/rst/reStructuredText.txt:
2264 - Disambiguated comments (just add a newline after the "::").
2265 - Updated enumerated list description; added a discussion of the
2266 second-line validity checking.
2267 - Updated directive description.
2268 - Added a note redirecting newbies to the user docs.
2269 - Expanded description of inline markup start-strings in non-markup
2271 - Removed field arguments and made field lists a generic construct.
2272 - Removed the 4-character minimum for section title underlines.
2273 - Clarified term/classifier delimiter & inline markup ambiguity
2275 - Added "Embedded URIs".
2276 - Updated "Interpreted Text" section.
2277 - Added "Character-Level Inline Markup" section.
2279 * test: Continually adding & updating tests.
2281 - Moved test/test_rst/ to test/test_parsers/test_rst/.
2282 - Moved test/test_pep/ to test/test_readers/test_pep/.
2283 - Added test/test_readers/test_python/.
2284 - Added test/test_writers/ (Engelbert Gruber).
2288 - Made the ``locale.setlocale()`` calls in front ends
2291 * tools/buildhtml.py:
2293 - Added "--silent" option.
2294 - Fixed bug with absolute paths & "--config".
2295 - Updated for new I/O classes.
2296 - Added some exception handling.
2297 - Separated publishers' setting defaults; prevents interference.
2298 - Updated for new ``publish_file()`` convenience function.
2300 * tools/pep-html-template:
2302 - Allow for "--embed-stylesheet".
2303 - Added Docutils version to "generator" meta tag.
2304 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2305 - Conform to XHTML spec.
2307 * tools/pep2html.py:
2309 - Made ``argv`` a parameter to ``main()``.
2310 - Added support for "Content-Type:" header & arbitrary PEP formats.
2311 - Linked "Content-Type: text/plain" to PEP 9.
2312 - Files skipped (due to an error) are not pushed onto the server.
2313 - Updated for new I/O classes.
2314 - Added ``check_requirements()`` & ``pep_type_error()``.
2315 - Added some exception handling.
2316 - Updated for new ``publish_string()`` convenience function.
2317 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2319 * tools/quicktest.py:
2321 - Added "-V"/"--version" option.
2323 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2325 * tools/unicode2rstsubs.py: Added to project. Produces character
2326 entity files (reSructuredText substitutions) from the MathML master
2329 * tools/editors: Support code for editors, added to project. Contains
2330 ``emacs/restructuredtext.el``.
2332 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2334 - Added style for chunks of inline literals.
2335 - Removed margin for first child of table cells.
2336 - Right-aligned field list names.
2337 - Support for auto-numbered section titles in TOCs.
2338 - Increased the size of inline literals (<tt>) in titles.
2339 - Restored the light gray background for inline literals.
2340 - Added support for "line_block" elements.
2341 - Added style for "address" elements.
2342 - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2343 - Improved field list rendering.
2344 - Vertical whitespace improvements.
2345 - Removed "a.target" style.
2347 * tools/stylesheets/pep.css:
2349 - Fixed nested section margins.
2350 - Other changes parallel those of ``../default.css``.
2353 Release 0.2 (2002-07-31)
2354 ========================
2358 - The word "component" was being used ambiguously. From now on,
2359 "component" will be used to mean "Docutils component", as in Reader,
2360 Writer, Parser, or Transform. Portions of documents (Table of
2361 Contents, sections, etc.) will be called "document parts".
2362 - Did a grand renaming: a lot of ``verylongnames`` became
2363 ``very_long_names``.
2364 - Cleaned up imports: no more relative package imports or
2365 comma-separated lists of top-level modules.
2366 - Added support for an option values object which carries default
2367 settings and overrides (from command-line options and library use).
2368 - Added internal Unicode support, and support for both input and
2370 - Added support for the ``docutils.io.IO`` class & subclasses.
2374 * docutils/__init__.py:
2376 - Added ``ApplicationError`` and ``DataError``, for use throughout
2378 - Added ``Component`` base class for Docutils components; implements
2379 the ``supports`` method.
2380 - Added ``__version__`` (thus, ``docutils.__version__``).
2384 - Removed many keyword parameters to ``Publisher.__init__()`` and
2385 ``publish()``; bundled into an option values object. Added
2386 "argv", "usage", "description", and "option_spec" parameters for
2387 command-line support.
2388 - Added ``Publisher.process_command_line()`` and ``.set_options()``
2390 - Reworked I/O model for ``docutils.io`` wrappers.
2391 - Updated ``Publisher.set_options()``; now returns option values
2393 - Added support for configuration files (/etc/docutils.conf,
2394 ./docutils.conf, ~/.docutils).
2395 - Added ``Publisher.setup_option_parser()``.
2396 - Added default usage message and description.
2398 * docutils/frontend.py: Added to project; support for front-end
2399 (command-line) scripts. Option specifications may be augmented by
2400 components. Requires Optik (http://optik.sf.net/) for option
2401 processing (installed locally as docutils/optik.py).
2403 * docutils/io.py: Added to project; uniform API for a variety of input
2406 * docutils/nodes.py:
2408 - Added ``TreeCopyVisitor`` class.
2409 - Added a ``copy`` method to ``Node`` and subclasses.
2410 - Added a ``SkipDeparture`` exception for visitors.
2411 - Renamed ``TreePruningException`` from ``VisitorException``.
2412 - Added docstrings to ``TreePruningException``, subclasses, and
2414 - Improved docstrings.
2415 - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2416 - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2418 - Added ``decoration``, ``header``, and ``footer`` node classes, and
2419 ``PreDecorative`` mixin.
2420 - Reworked the name/id bookkeeping; to ``document``, removed
2421 ``explicit_targets`` and ``implicit_targets`` attributes, added
2422 ``nametypes`` attribute and ``set_name_id_map`` method.
2423 - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2425 - Added ``document.has_name()`` method.
2426 - Fixed DOM generation for list-attributes.
2427 - Added category class ``Labeled`` (used by footnotes & citations).
2428 - Added ``Element.set_class()`` method (sets "class" attribute).
2430 * docutils/optik.py: Added to project. Combined from the Optik
2431 package, with added option groups and other modifications. The use
2432 of this module is probably only temporary.
2434 * docutils/statemachine.py:
2436 - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2437 - Added underscores to improve many awkward names.
2438 - In ``string2lines()``, changed whitespace normalizing translation
2439 table to regexp; restores Python 2.0 compatibility with Unicode.
2441 * docutils/urischemes.py:
2443 - Filled in some descriptions.
2444 - Added "shttp" scheme.
2446 * docutils/utils.py:
2448 - Added ``clean_rcs_keywords`` function (moved from
2449 docutils/transforms/frontmatter.py
2450 ``DocInfo.filter_rcs_keywords``).
2451 - Added underscores to improve many awkward names.
2452 - Changed names of Reporter's thresholds:
2453 warning_level -> report_level; error_level -> halt_level.
2454 - Moved ``utils.id()`` to ``nodes.make_id()``.
2455 - Added ``relative_path(source, target)``.
2457 * docutils/languages/de.py: German mappings; added to project. Thanks
2458 to Gunnar Schwant for the translations.
2460 * docutils/languages/en.py: Added "Dedication" bibliographic field
2463 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2466 * docutils/parsers/rst/states.py:
2468 - Added underscores to improve many awkward names.
2469 - Added RFC-2822 header support.
2470 - Extracted the inline parsing code from ``RSTState`` to a separate
2471 class, ``Inliner``, which will allow easy subclassing.
2472 - Made local bindings for ``memo`` container & often-used contents
2473 (reduces code complexity a lot). See ``RSTState.runtime_init()``.
2474 - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2475 - Added ``MarkupMismatch`` exception; for late corrections.
2476 - Added ``-/:`` characters to inline markup's start string prefix,
2477 ``/`` to end string suffix.
2478 - Fixed a footnote bug.
2479 - Fixed a bug with literal blocks.
2480 - Applied patch from Simon Budig: simplified regexps with symbolic
2481 names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2482 - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2483 - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2484 - Allowed non-ASCII in "simple names" (directive names, field names,
2486 - Converted ``Inliner.patterns.initial`` to be dynamically built
2487 from parts with ``build_regexp()`` function.
2488 - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2489 - Updated docstrings.
2490 - Changed "table" to "grid_table"; added "simple_table" support.
2492 * docutils/parsers/rst/tableparser.py:
2494 - Changed ``TableParser`` to ``GridTableParser``.
2495 - Added ``SimpleTableParser``.
2496 - Refactored naming.
2498 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2499 a fallback language for directive names.
2501 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2502 directive to use a ``pending`` element, used only by HTML writers.
2504 * docutils/parsers/rst/directives/parts.py: Renamed from
2507 - Added "backlinks" attribute to "contents" directive.
2509 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2510 project by Adam Chodorowski.
2512 * docutils/readers/__init__.py: Gave Readers more control over
2513 choosing and instantiating Parsers.
2515 * docutils/readers/pep.py: Added to project; for PEP processing.
2517 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2518 requires a ``component`` parameter.
2520 * docutils/transforms/components.py: Added to project; transforms
2521 related to Docutils components.
2523 * docutils/transforms/frontmatter.py:
2525 - In ``DocInfo.extract_authors``, check for a single "author" in an
2526 "authors" group, and convert it to a single "author" element.
2527 - Added support for "Dedication" and generic bibliographic fields.
2529 * docutils/transforms/peps.py: Added to project; PEP-specific.
2531 * docutils/transforms/parts.py: Renamed from old components.py.
2533 - Added filter for `Contents`, to use alt-text for inline images,
2534 and to remove inline markup that doesn't make sense in the ToC.
2535 - Added "name" attribute to TOC topic depending on its title.
2536 - Added support for optional TOC backlinks.
2538 * docutils/transforms/references.py: Fixed indirect target resolution
2539 in ``Hyperlinks`` transform.
2541 * docutils/transforms/universal.py:
2543 - Changed ``Messages`` transform to properly filter out system
2544 messages below the warning threshold.
2545 - Added ``Decorations`` transform (support for ``--generator``,
2546 ``--date``, ``--time``, ``--source-link`` options).
2548 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2549 Engelbert Gruber's PDF writer.
2551 * docutils/writers/html4css1.py:
2553 - Made XHTML-compatible (switched to lowercase element & attribute
2554 names; empty tag format).
2555 - Escape double-dashes in comment text.
2556 - Improved boilerplate & modularity of output.
2557 - Exposed modular output in Writer class.
2558 - Added a "generator" meta tag to <head>.
2559 - Added support for the ``--stylesheet`` option.
2560 - Added support for ``decoration``, ``header``, and ``footer``
2562 - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2563 translation table to regexp; restores Python 2.0 compatibility
2565 - Added the translator class as instance variable to the Writer, to
2566 make it easily subclassable.
2567 - Improved option list spacing (thanks to Richard Jones).
2568 - Modified field list output.
2569 - Added backlinks to footnotes & citations.
2570 - Added percentage widths to "<col>" tags (from colspec).
2571 - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2572 "<span>" changed to "<var>".
2573 - Inline literals: "<code>" changed to "<tt>".
2574 - Many changes to optimize vertical space: compact simple lists etc.
2575 - Add a command-line options & directive attributes to control TOC
2576 and footnote/citation backlinks.
2577 - Added support for optional footnote/citation backlinks.
2578 - Added support for generic bibliographic fields.
2579 - Identify backrefs.
2580 - Relative URLs for stylesheet links.
2582 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2583 PEPs (subclass of ``html4css1.Writer``).
2585 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2587 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2588 of the Docutils internal doctree in XML.
2590 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2594 - Changed the title to "The Docutils Document Tree".
2595 - Added "Hyperlink Bookkeeping" section.
2597 * spec/docutils.dtd:
2599 - Added ``decoration``, ``header``, and ``footer`` elements.
2600 - Brought ``interpreted`` element in line with the parser: changed
2601 attribute "type" to "role", added "position".
2602 - Added support for generic bibliographic fields.
2604 * spec/notes.txt: Continual updates. Added "Project Policies".
2606 * spec/pep-0256.txt: Updated. Added "Roadmap to the Doctring PEPs"
2609 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2611 * spec/pep-0258.txt: Updated. Added text from pysource.txt and
2612 mailing list discussions.
2614 * spec/pep-0287.txt:
2616 - Renamed to "reStructuredText Docstring Format".
2618 - Reworked Q&A as an enumerated list.
2619 - Converted to reStructuredText format.
2621 * spec/pysource.dtd:
2623 - Reworked structural elements, incorporating ideas from Tony Ibbs.
2625 * spec/pysource.txt: Removed from project. Moved much of its contents
2628 * spec/rst/alternatives.txt:
2630 - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2631 - Added "Inline External Targets" section.
2633 * spec/rst/directives.txt:
2635 - Added "backlinks" attribute to "contents" directive.
2637 * spec/rst/problems.txt:
2639 - Updated the Enumerated List Markup discussion.
2640 - Added new alternative table markup syntaxes.
2642 * spec/rst/reStructuredText.txt:
2644 - Clarified field list usage.
2645 - Updated enumerated list description.
2646 - Clarified purpose of directives.
2647 - Added ``-/:`` characters to inline markup's start string prefix,
2648 ``/`` to end string suffix.
2649 - Updated "Authors" bibliographic field behavior.
2650 - Changed "inline hyperlink targets" to "inline internal targets".
2651 - Added "simple table" syntax to supplement the existing but
2652 newly-renamed "grid tables".
2653 - Added cautions for anonymous hyperlink use.
2654 - Added "Dedication" and generic bibliographic fields.
2656 * test: Made test modules standalone (subdirectories became packages).
2658 * test/DocutilsTestSupport.py:
2660 - Added support for PEP extensions to reStructuredText.
2661 - Added support for simple tables.
2662 - Refactored naming.
2664 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2666 - Now supports true packages containing test modules
2667 (``__init__.py`` files required); fixes duplicate module name bug.
2669 * test/test_pep/: Subpackage added to project; PEP testing.
2671 * test/test_rst/test_SimpleTableParser.py: Added to project.
2675 - Updated html.py and publish.py front-end tools to use the new
2676 command-line processing facilities of ``docutils.frontend``
2677 (exposed in ``docutils.core.Publisher``), reducing each to just a
2679 - Added ``locale.setlocale()`` calls to front-end tools.
2681 * tools/buildhtml.py: Added to project; batch-generates .html from all
2682 the .txt files in directories and subdirectories.
2684 * tools/default.css:
2686 - Added support for ``header`` and ``footer`` elements.
2687 - Added styles for "Dedication" topics (biblio fields).
2689 * tools/docutils.conf: A configuration file; added to project.
2691 * tools/docutils-xml.py: Added to project.
2693 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2695 * tools/pep-html-template: Added to project.
2697 * tools/pep2html.py: Added to project from Python (nondist/peps).
2698 Added support for Docutils (reStructuredText PEPs).
2700 * tools/quicktest.py:
2702 - Added the ``--attributes`` option, hacked a bit.
2703 - Added a second command-line argument (output file); cleaned up.
2705 * tools/stylesheets/: Subdirectory added to project.
2707 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2710 Release 0.1 (2002-04-20)
2711 ========================
2713 This is the first release of Docutils, merged from the now inactive
2714 reStructuredText__ and `Docstring Processing System`__ projects. For
2715 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2716 `DPS HISTORY`__ files.
2718 __ http://structuredtext.sourceforge.net/
2719 __ http://docstring.sourceforge.net/
2720 __ http://structuredtext.sourceforge.net/HISTORY.html
2721 __ http://docstring.sourceforge.net/HISTORY.html
2723 General changes: renamed 'dps' package to 'docutils'; renamed
2724 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2725 the test suites (reStructuredText's test/test_states renamed to
2726 test/test_rst); and all modifications required to make it all work.
2728 * docutils/parsers/rst/states.py:
2730 - Improved diagnostic system messages for missing blank lines.
2731 - Fixed substitution_reference bug.
2737 indent-tabs-mode: nil
2738 sentence-end-double-space: t