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
25 .. _Pygments: http://pygments.org/
27 * docutils/writers/latex2e/__init__.py
29 - Support the `abbreviation` and `acronym` standard roles.
31 Release 0.8.1 (2011-08-30)
32 ==========================
36 - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
37 and [ 3395920 ] (correct copyright info for rst.el).
41 - Apply [ 3303733 ] and [ 3365041 ] to fix tests under py3k.
43 * docutils/writers/latex2e/__init__.py
45 - Clean up Babel language setting. Restores Sphinx compatibility.
47 Release 0.8 (2011-07-07)
48 ========================
52 - Handle language codes according to `BCP 47`_.
53 - If the specified language is not supported by Docutils,
54 warn and fall back to English.
55 - Math support: reStructuredText "math" role and directive,
56 ``math`` and ``math_block`` doctree elements.
57 - Decode command line arguments with the locale's preferred encoding
58 (to allow, e.g., ``--title=Dornröschen``).
59 - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
60 - New sub-module `error_reporting`: handle encoding/decoding errors
61 when reporting exceptions.
62 - Some additions to the Docutils core are released under the 2-Clause BSD
63 license, see COPYING_ for details.
65 .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
66 .. _COPYING: COPYING.html
70 - Most directives now support a "name" option that attaches a
73 - Directive content may start on the first line also when the directive
76 * docs/dev/policies.txt:
78 - Recommend the 2-Clause BSD license
79 (http://www.spdx.org/licenses/BSD-2-Clause)
80 for code that is kept under the author's copyright.
84 - Fix ``--local`` switch.
86 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
88 * docutils/writers/html4css1/__init__.py
90 - Set "lang" argument for objects with class argument
91 "language-<language tag>".
92 - New setting "math-output" with support for HTML, MathML, and LaTeX.
94 * docutils/writers/latex2e/__init__.py
96 - Fix [ 3043986 ] AttributeError using :local: with table of content.
97 - Place title data in the document preamble.
98 - Load `babel` package only if required.
99 - Update list of supported languages.
100 - New config setting "hyperref-options".
101 No hard-coded "unicode" hyperref option (clash with xetex).
102 - Set language for custom roles, paragraphs, block-quotes, and
103 line-quotes with class argument "language-<language tag>".
104 - Fix [ 3095603 ] wrong quotes output for russian and other languages.
105 - Convert image URI to a local file path.
106 - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
107 has more than one paragraph (Wolfgang Scherer).
108 - \leavevmode before longtable only when needed (prevents spurious vspace)
109 - do not advance table counter for tables without caption
111 * docutils/writers/xetex/__init__.py
113 - New writer generating LaTeX code for compiling with ``xelatex``.
115 A separate writer (inheriting from latex2e) instead of a ``--xetex``
116 option allows separate config options for XeTeX vs. LaTeX2e.
118 * docutils/writers/manpage.py
120 - Fix: BUG#3219183 - vertical space in definition lists containing markup.
121 - Fix: vertical space cleaning for option group ``.``.
123 * tools/editors/emacs/rst.el:
125 - Fix [ 3001100 ] does not handle spaces in filenames
126 (thanks to Jakub Wilk)
130 - strip whitespace from stylesheet arguments
131 - exclude combining chars from column_width
132 (partial fix for [ 2926161 ])
134 * docutils/parsers/rst/directives/misc.py:
136 - Fix [ 1830389 ] Replace not breaking on getting system_messages from
141 - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
142 ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
144 Release 0.7 (2010-07-07)
145 ========================
149 - Fix [ 2881769 ] setup configuration.
150 - Fix [ 2788716 ] reporting problems in included files.
154 - FileInput opens files as text files with universal newline support
155 (mode "rU", configurable with the new optional argument "mode").
159 - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
163 - Fix [ 2923723 ] let decode_path() tolerate path == None
165 * docutils/writers/html4css1/__init__.py
167 - Support SVG and SWF images (thanks to Stefan Rank).
168 - Generate valid XHTML for centered images with targets.
169 Use CSS classes instead of "align" tags for image alignment.
171 * docutils/writers/latex2e/__init__.py
173 - Use `transforms.writer_aux.Admonitions` to "normalize" special
175 - Use the ``\url`` command for URLs (breaks long URLs instead of
176 writing into the margin).
177 - Preserve runs of spaces in `inline literals`__.
178 - Deprecate ``figure_footnotes`` setting.
179 - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
180 - New ``latex_preamble`` setting.
181 - Use PDF standard fonts (Times/Helvetica/Courier) as default.
182 - Fix hyperlink targets (labels) for images, figures, and tables.
183 - Apply [ 2961988 ] Load babel after inputenc and fontenc.
184 - Apply [ 2961991 ] Call hyperref with unicode option.
185 - Drop the special `output_encoding`__ default ("latin-1").
186 The Docutils wide default (usually "UTF-8") is used instead.
187 - Render inline markup in document title and subtitle.
188 - Fix numbering depth with LaTeX section numbering.
189 - Update Unicode -> LaTeX translations.
190 - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
192 __ docs/ref/restructuredtext.html#inline-literals
193 __ docs/user/config.html#docutils-footnotes
194 __ docs/user/config.html#output_encoding
196 * docutils/writers/manpage.py
198 - Fix: supported attribute (thanks to peter2108).
199 - Remove trailing blanks in code (keep in sync with mercurial version).
200 - Titles level 1, that is ``.SH``, always uppercase.
201 - Apply patch from mg: literal text should be bold in man-pages.
205 - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
210 - Python 3 support: copy test/ and tools/ to the build-dir
211 and convert Python sources with 2to3.
214 Release 0.6 (2009-10-11)
215 ========================
219 - Docutils is now compatible with Python versions from 2.3 up to 2.6
220 and convertible to 3.1 code.
222 + Node.__nonzero__ returns True instead of 1.
223 + use os.walk instead os.path.walk.
224 + minimize "types" module where possible.
225 + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
226 + Text nodes now subclass unicode rather than UserString
227 (which is gone in python 3.0).
228 + 3.0 compatibility module docutils._compat
230 + Drop 2.2 compatibility workarounds.
231 + Drop extras/optparse.py and extras/textwrap.py
232 (stdlib modules since 2.3).
234 - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
235 - Unix man page export: manpage writer moved from sandbox to Doctutils
238 - Apply [ 1719345 ] Galician translation
239 - Apply [ 1905741 ] Polish translation
240 - Apply [ 1878977 ] make_id(): deaccent characters.
241 - Apply [ 2029251 ] return nonzero when tests fail.
242 - Fix [ 1692788 ] allow UTF-8 in style sheets.
243 - Fix [ 2781629 ] support non-ASCII chars in file names.
244 - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
245 - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
246 - Fix [ 2821266 ] --strict option works now like --halt=info.
247 - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
248 - Fix [ 1627229 ] hyperlink references in substitutions.
250 - The "newlatex" writer is orphaned.
254 - Documented Unicode characters allowed as inline markup openers,
255 closers, and delimiters.
256 - Allow units for all length specifications.
257 - Allow percent sign in "scale" argument of "figure" and "image" directives.
258 - Bugfix: The "figalign" argument of a figure now works as intended
259 (aligning the figure, not its contents).
260 - Align images with class "align-[right|center|left]"
261 (allows setting the alignment of an image in a figure).
265 - Added ``Element.__contains__`` method, for the in-operator.
267 * docutils/parsers/rst/states.py:
269 - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
270 - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
271 " " (non-breaking space), and "¡ ¿" openers.
273 * docutils/parsers/directives/misc.py:
275 - Added ``start-line`` and ``end-line`` options to "include"
276 directive to select a range of lines.
277 - Hard tabs in literal inclusions are replaced by spaces. This is
278 configurable via the new ``tab-width`` option of the "include" directive
279 (a negative tab-width prevents tab expansion).
283 - Add ``get_stylesheet_list`` function.
284 - Apply [ 2834836 ] print info at halt
286 * docutils/transforms/universal.py:
288 - Raise default priority of StripClasses to exclude stripped classes from
291 * docutils/writers/html4css1/__init__.py:
293 - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
294 separated list of stylesheets.
295 - Address [ 1938891 ] Inline literal text creates "pre" span only when
296 needed to prevent inter-word line wraps.
297 - Use `translate` method instead of repeated `replace` calls.
298 - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
299 classes to allow CSS styling that does not interfere with other
300 table-using constructs (field lists, citations, ...).
302 * docutils/writers/newlatex2e/__init__.py:
304 - Apply [ 1612821 ] Double quotes in literal text in Italian/German
306 * docutils/writers/latex2e/__init__.py (see also
307 `<docs/user/docutils-05-compat.sty.html>`__) :
309 - Add ``--embed-stylesheet`` option.
310 - Apply [ 1474017 ] image vertical alignment is reversed.
311 - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
312 - Change: has_key for dictionaries (not Nodes) to in-operator.
313 - Merge adjacent citations into one latex cite command.
314 - Failsave implementation of custom roles. LaTeX compilation now ignores
315 unknown classes instead of aborting with an error.
316 - Support custom roles based on standard roles.
317 - LaTeX packages can be used as ``--stylesheet`` arguments without
318 restriction. (A style sheet is now referenced with the ``\usepackage``
319 command, if it ends with ``.sty`` or has no extension.)
320 - Add ``bp`` to lenghts without unit (prevents LaTex errors).
321 - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
322 - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
323 2005-02-04 as a configurable length unit).
324 - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
325 if font-encoding is set to ''. LaTeX defaults to OT1 then.
326 - Set sub- and superscript role argument in text mode not as math.
327 Use a custom role based on sub-/superscript if you want italic shape.
328 - Shorter preamble and less dependencies: Load packages and define macros
329 only if required in the document.
330 - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
331 - New custom environments and commands with optional "classes" argument.
332 - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
333 - Better conformance to Docutils specifications with ``--use-latex-toc``.
334 Support for LaTeX generated ToC also with unnumbered sections.
335 - If 'sectnum_xform' is False, the 'sectnum' directive triggers
336 section numbering by LaTeX.
337 - Use default font in admonitions and sidebar.
338 - Align of image in a figure defaults to 'center'.
339 - Bugfix: Newlines around targets and references prevent run-together
341 - Fix internal hyperlinks.
342 - Use class defaults for page margins ('typearea' now optional).
343 - Float placement made configurable, default changed to "here definitely".
344 - Typeset generic topic as "quote block with title".
345 - Use template (file and configuration option).
346 - In the default template, load cmap.sty (fix text extraction in PDF) and
347 fixltx2e.sty (LaTeX patches, \textsubscript).
348 - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
349 - Use `translate` instead of repeated `replace` calls for text encoding.
350 - Hyperlinked footnotes and support for symbol footnotes and
351 ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
352 - Complete pairs of binary options
353 (``--figure-footnotes, --figure-citations, --link-stylesheet``,
354 ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
356 - font-encoding: "T1" (formerly implicitely set by 'ae').
357 - use-latex-toc: true (ToC with page numbers).
358 - use-latex-footnotes: true (no mixup with figures).
360 * docutils/writers/manpage.py
362 - Do not print version at document end, this is done by the viewer.
363 - Do not print date at document end, this is done by the viewer.
364 - Fix storage of docinfo fields for none standard fields.
366 * docutils/tools/rst2man.py
368 Release 0.5 (2008-06-25)
369 ========================
371 * docutils/languages/he.py: Added to project: Hebrew mappings by
374 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
375 mappings by Meir Kriheli.
377 * docutils/frontend.py:
379 - Configuration files are now assumed and required to be
381 - Paths of applied configuration files are now recorded in the
382 runtime setting ``_config_files`` (accessible via
383 ``--dump-settings``).
384 - Added ``--strip-elements-with-class`` and ``--strip-class``
385 options (``strip_elements_with_classes`` and ``strip_classes``
390 - Added code to determine the input encoding from data: encoding
391 declarations or the presence of byte order marks (UTF-8 & UTF-16).
392 - Added support for IronPython 1.0.
396 - Added ``document.__getstate__`` method, for pickling.
398 * docutils/parsers/rst/states.py:
400 - Allow ``+`` and ``:`` in reference names.
401 - Unquoted targets beginning with an underscore (``.. __target:
402 URI``) are no longer accepted.
403 - Added support for multiple attributions in a physical block quote
404 (indented text block), dividing it into multiple logical block
406 - Added support for unicode bullets in bullet lists: "•", "‣", and
408 - Added support for new object-oriented directive interface,
409 retaining compatibility to the old functional interface.
410 - Added support for throwing ``DirectiveError``'s from within
413 * docutils/parsers/rst/__init__.py:
415 - Added ``Directive`` base class.
416 - Added ``DirectiveError`` base class.
417 - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
420 * docutils/parsers/directives/:
422 - Refactored all reStructuredText directives to use the new
423 object-oriented directive interface. Errors are now (mostly)
424 thrown using the new ``DirectiveError`` class.
426 * docutils/parsers/directives/misc.py:
428 - Added ``start-after`` and ``end-before`` options to ``include``
429 directive; thanks to Stefan Rank.
431 * docutils/transforms/universal.py:
433 - Added ``StripClassesAndElements`` transform to remove from the
434 document tree all elements with classes in
435 ``settings.strip_elements_with_classes`` and all "classes"
436 attribute values in ``self.document.settings.strip_classes``.
438 * docutils/transforms/writer_aux.py:
440 - Added ``Admonitions`` transform to transform specific admonitions
441 (like ``note``, ``warning``, etc.) into generic admonitions with a
444 * docutils/writers/html4css1/__init__.py:
446 - Moved template functionality from the PEP/HTML writer here.
447 - Expanded the fragments available in the ``parts`` attribute.
448 - Moved ``id`` attributes from titles to surrounding ``div``
450 - Dropped all ``name`` attributes of ``a`` elements (``id`` is
451 universally supported now).
452 - ``template.txt`` is now opened in text mode instead of binary mode
453 (to ensure Windows compatibility).
454 - ``a`` elements now have an "internal" or "external" class,
455 depending on reference type.
457 * docutils/writers/html4css1/template.txt: Added to project.
459 * docutils/writers/pep_html/:
461 - Moved template functionality to the HTML writer.
463 * docutils/writers/s5_html/__init__.py:
465 - Added ``view_mode`` & ``hidden_controls`` settings
466 (``--view-mode`` & ``--hidden-controls/--visible-controls``
469 * docutils/writers/latex2e/__init__.py:
471 - Add ``--literal-block-env``
472 - Fix: escaping ``%`` in href urls.
473 - Move usepackage hyperref after stylesheet inclusion.
474 - Fix: scrartcl does not have chapter but scrreprt.
475 - Add newline after ``\end{verbatim}``.
476 - Merge smaller differences from latex2e_adaptive_preamble.
477 - Add ``use-part-section``.
478 - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
479 - Using leavemode option_list no longer needs to check if parent
480 is a definition list.
481 - Append ``\leavemode`` to definition list terms.
482 - No longer write visit\_/depart_definition_list_item comments to
484 - Table column width with 3 decimal places.
485 - Add table stubs support (boldfont).
486 - Add assemble_parts to writer.
487 - Add simply support for nested tables.
488 - Fix verbatim in tables if use-verbatim-when-possible.
489 - Use section commands down to subparagraph.
490 - Put ensuremath around some latin1 chars.
491 - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
492 - New option ``--use-bibtex=style,db1,db2``.
493 - New option ``--reference-label`` to allow usage of LaTeX ref for
494 labels in section references.
495 - Add a label after every section to support sectionnumbers as reference
497 - Fix: bug# 1605376 rst2latex: bad options group list
498 - Remove inactive code for use_optionlist_for_option_list.
499 - Remove latex comments from option_list output.
500 - Fix: bug# 1612270 double qoutes in italian literal.
501 - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
502 - Add option --use-latex-abstract.
503 - Image width unit ``px`` is translated to ``pt``.
504 - Add image height support.
505 - Fix: image width ``70%`` is converted ``0.700\linewidth``.
507 - Fix: Do not escape underscores in citation reference labels if
508 use-latex-citations is set.
509 - Use centering instead of center for figure contents, to avoid vertical
511 - Recognize table class: borderless, nolines, booktabs, standard.
512 - Fix: Renaming contents section does not work with latex writer; SF
514 - Applied patch for custom roles with classes from Edward Loper.
515 - Fixed bug that caused crashes with more than 256 lists.
517 * docutils/writers/pep_html/__init__.py:
519 - Changed to support new python.org website structure and
522 * docs/howto/security.txt: "Deploying Docutils Securely", added to
525 * tools/buildhtml.py:
527 -- Added ``ignore`` setting to exclude a list of shell patterns
528 (default: ``.svn:CVS``).
530 * tools/editors/emacs/rst.el:
532 - Changed license to "GPL".
533 - Added ``rst-straighten-decorations`` function.
534 - The ``compile`` module is now always loaded.
535 - Added ``rst-toggle-line-block`` function.
536 - Headings consisting only of non-ASCII characters are now
537 recognized by ``rst-toc`` and ``rst-adjust``.
538 - Added font-lock support for multi-line comments where the first
539 comment line is empty.
540 - Added ``(require 'font-lock)``.
544 - Provide descriptive error message if distutils is missing.
547 Release 0.4 (2006-01-09)
548 ========================
552 - Updated the project policies for trunk/branch development &
555 * docutils/__init__.py:
557 - Added ``__version_details__`` attribute to describe code source
558 (repository/snapshot/release).
559 - Replaced ``default_transforms`` attribute of TransformSpec with
560 ``get_transforms()`` method.
564 - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
565 functions, for document tree extraction and reprocessing.
569 - Added ``DocTreeInput`` class, for reprocessing existing documents.
570 - Added support for non-Unicode (e.g. binary) writer output.
574 - Re-introduced ``Targetable.indirect_reference_name``, for
575 MoinMoin/reST compatibility (removed in r3124/r3129).
576 - Added ``serial_escape`` function; escapes string values that are
577 elements of a list, for serialization. Modified Docutils-XML
578 writing (``Element._dom_node``) and pseudo-XML writing
579 (``Element.starttag``) to use ``serial_escape``.
580 - Added ``Node.deepcopy()`` method.
581 - Removed the internal lists ``document.substitution_refs``,
582 ``document.anonymous_refs``, and ``document.anonymous_targets``.
583 - Added a "container" element.
584 - Fixed bug where values of list-valued attributes of elements
585 originating from custom interpreted text roles (i.e., with custom
586 classes) were being shared between element instances. Reported by
589 * docutils/statemachine.py:
591 - Added trailing whitespace stripping to ``string2lines()``.
592 - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
593 Asian double-width character support.
597 - Added ``east_asian_column_width()`` for double-width character
600 * docutils/languages/ja.py: Added to project: Japanese mappings by
603 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
604 mappings by Panjunyong.
606 * docutils/parsers/null.py: Added to project; a do-nothing parser.
608 * docutils/parsers/rst/__init__.py:
610 - Added validator to tab_width setting, with test. Closes SF bug
611 #1212515, report from Wu Wei.
613 * docutils/parsers/rst/states.py:
615 - Fixed bug with escaped colons indicating a literal block.
616 - Fixed bug with enumerated lists (SF#1254145).
617 - Backslash-escaped colons inside of field names are now allowed.
618 - Targets (implicit and explicit), anonymous hyperlink references
619 and auto-numbered footnote references inside of substitution
620 definitions are now disallowed.
621 - Fixed bug: list items with blank first lines.
622 - Fixed bug: block quote attributions with indented second lines.
623 - Added East Asian double-width character support (Python 2.4 only).
625 * docutils/parsers/rst/tableparser.py:
627 - Added East Asian double-width character support (Python 2.4 only).
629 * docutils/parsers/rst/directives/body.py:
631 - Added the "container" directive.
633 * docutils/parsers/rst/directives/misc.py:
635 - Added the "default-role", "title", and "date" directives.
636 - Added standard data file syntax to the "include" directive.
637 - Added support for "class" directive content.
639 * docutils/parsers/rst/directives/images.py:
641 - Added ``indirect_reference_name`` support for images with a target
643 - Added support for image width and height units.
644 - Fixed bug with image "target" options.
646 * docutils/parsers/rst/directives/references.py:
648 - Added "class" attribute to "target-notes" directive, for
649 footnote_reference classes.
651 * docutils/parsers/rst/include/: Directory added to project; contains
652 standard data files for the "include" directive. Initial contents:
653 character entity substitution definition sets, and a set of
654 definitions for S5/HTML presentations.
656 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
657 mappings by David Goodger.
659 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
660 Simplified Chinese mappings by Panjunyong.
662 * docutils/readers/__init__.py:
664 - Added universal.Decorations and universal.ExposeInternals
665 transforms as default transforms for all readers.
666 - Added ``ReReader`` base class for readers that reread an existing
669 * docutils/readers/doctree.py: Added to project; a reader for existing
672 * docutils/transforms/frontmatter.py:
674 - Fixed the DocInfo transform to handle SVN-style expansion of the
676 - In ``DocInfo.extract_authors``, treat the contents of "authors"
679 * docutils/transforms/misc.py:
681 - Added misc.Transitions transform, extracted from
682 universal.FinalChecks.
684 * docutils/transforms/references.py:
686 - Added references.DanglingReferences transform, extracted from
687 universal.FinalChecks.
688 - Fixed bug with doubly-indirect substitutions.
689 - Added footnote_reference classes attribute to "TargetNotes".
690 - Fixed bug with circular substitution definitions that put Docutils
691 into an infinite loop.
693 * docutils/transforms/universal.py:
695 - Added universal.ExposeInternals transform, extracted from
696 universal.FinalChecks.
697 - Removed universal.FinalChecks transform (logic has been moved to
698 several new transforms).
699 - Fixed bug with the "expose_internals" setting and Text nodes
700 (exposed by the "rawsource" internal attribute).
701 - Added the universal.StripComments transform, implementation of the
702 "strip_comments" setting.
704 * docutils/transforms/writer_aux.py: Added to project; auxiliary
705 transforms for writers.
707 - Added ``Compound`` transform, which flattens compound paragraphs.
709 * docutils/writers/: Several writer modules (html4css1.py) were
710 converted into packages. Support modules and data files have been
711 moved into the packages. The stylesheets for the HTML writers are
712 now installed along with the code, the code knows where to find
713 them, and the default is to use them (actually, to embed them).
714 Some adjustments to configuration files may be necessary. The
715 easiest way to obtain the new default behavior is to remove all
716 settings whose name includes "stylesheet".
718 * docutils/writers/__init__.py:
720 - Added universal.Messages and universal.FilterMessages transforms
721 as default transforms for all writers.
722 - Added ``UnfilteredWriter`` base class for writers that pass the
723 document tree on unchanged.
725 * docutils/writers/docutils_xml.py:
727 - Made ``xmlcharrefreplace`` the default output encoding error
730 * docutils/writers/html4css1/:
732 - Added support for image width and height units.
733 - Made ``xmlcharrefreplace`` the default output encoding error
735 - Made ``--embed-stylesheet`` the default rather than
736 ``--link-stylesheet``.
737 - Moved "id" attribute from container (section etc.) to title's <a>
738 tag, to be on the same tag as "name".
739 (!!! To be reverted in Docutils 0.5.)
740 - Added vertical space between fields of field lists.
741 - Added ``--compact-field-lists`` option to remove vertical space in
743 - Made cloaking of email addresses with ``--cloak-email-addresses``
745 - Fixed support for centered images.
746 - Added support for class="compact" & class="open" lists.
748 * docutils/writers/latex2e/:
750 - Underscores in citekeys are no longer escaped.
752 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
753 mapping of Unicode characters to LaTeX equivalents.
755 * docutils/writers/s5_html/: Package added to project; writer for
758 * docs/dev/distributing.txt: Added to project; guide for distributors
759 (package maintainers).
761 * docs/dev/hacking.txt: Added to project; guide for developers.
763 * docs/ref/doctree.txt:
765 - Updated for plural attributes "classes", "ids", "names",
767 - Added the "container" element.
769 * docs/ref/docutils.dtd:
771 - Updated for plural attributes "classes", "ids", "names",
774 * docs/user/emacs.txt: Added to project; a document about Emacs
775 support for reStructuredText and Docutils.
777 * docs/user/links.txt: Added to project; lists of Docutils-related
780 * docs/user/mailing-lists.txt: Added to project; information about
781 Docutils-related mailing lists and how to access them.
783 * docs/user/slide-shows.txt: Added to project; example of and docs for
784 the S5/HTML writer (``rst2s5.py`` front end).
786 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
787 Files", added to project.
789 * test/coverage.sh: Added to project; test coverage script.
791 * test/DocutilsTestSupport.py:
793 - Added support for specifying runtime settings at the suite level.
795 * test/test_functional.py:
797 - Added the ``clear_output_directory`` function.
798 - Added support for ``_test_more`` functions in functional test
801 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
803 * tools/rstpep2html.py: Renamed from pep.py.
805 * tools/dev/create_unimap.py: Added to project; script to create the
806 docutils/writers/unimap_latex.py mapping file.
808 * tools/dev/profile_docutils.py: Added to project; profiler script.
810 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
812 * tools/editors/emacs/restructuredtext.el,
813 tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
814 Removed from project; the functionality is now contained in rst.el.
816 * tools/editors/emacs/rst.el: Added to project. Added many features
817 and fixed many bugs. See docs/user/emacs.txt for details.
819 * tools/stylesheets: Removed from project. Stylesheets have been
820 renamed and moved into writer packages.
823 Release 0.3.9 (2005-05-26)
824 ==========================
828 - Eliminated and replaced all uses of the old string attributes
829 ``id``, ``name``, ``dupname`` and ``class`` with references to the
830 new list attributes ``ids``, ``names``, ``dupnames`` and
831 ``classes`` throughout the whole source tree.
835 - Enabled ``--dump-*`` options when ``--traceback`` specified,
836 allowing for easier debugging.
837 - In ``Publisher.publish()``, expanded the generic top-level
840 * docutils/examples.py:
842 - Added ``internals`` function for exploration.
846 - Fixed ``Input.decode`` method to apply heuristics only if no
847 encoding is explicitly given, and to provide better reporting of
849 - The ``Input.decode`` method now removes byte order marks (BOMs)
854 - ``image`` element class changed to subclass of Element, not
855 TextElement (it's an empty element, and cannot contain text).
856 - Added ``attr_defaults`` dictionary for default attribute values.
857 - Added empty list as default value for the following attributes:
858 ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
859 - Added ``document.decoration`` attribute,
860 ``document.get_decoration`` method, and ``decoration.get_header``
861 & ``.get_footer`` methods.
862 - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
867 - Removed ``docutils.utils.Reporter.categories``,
868 ``docutils.utils.ConditionSet``, and all references to them, to
869 simplify error reporting.
871 * docutils/languages/nl.py: Added to project; Dutch mappings by
874 * docutils/parsers/rst/__init__.py:
876 - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
878 * docutils/parsers/rst/states.py:
880 - Added check for escaped at-mark to prevent email address recognition.
881 - Fixed option lists to allow spaces inside ``<angle-bracketed option
883 - Allowed whitespace in paths and URLs.
884 - Added auto-enumerated list items.
885 - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
887 - Added support for table stub columns.
889 * docutils/parsers/rst/directives/__init__.py:
891 - Allowed whitespace in paths (``path`` function).
892 - Added ``uri`` directive option conversion function.
894 * docutils/parsers/rst/directives/body.py:
896 - Fixed illegal context bug with "topic" directive (allowed within
897 sidebars; not within body elements).
899 * docutils/parsers/rst/directives/images.py:
901 - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
902 - Added support for the ``file_insertion_enabled`` setting in the
903 "figure" directive (disables "figwidth" option).
904 - "image" directive: added checks for valid values of "align" option,
905 depending on context. "figure" directive: added specialized
906 "align" option and attribute on "figure" element.
907 - Made ":figwidth: image" option of "figure" directive work again.
908 - Fixed bug with reference names containing uppercase letters
909 (e.g. ``Name_``) in "target" option of "image" directive.
911 * docutils/parsers/rst/directives/misc.py:
913 - Fixed "include" and "raw" directives to catch text decoding
915 - Allowed whitespace in "include" & "raw" directive paths.
916 - Added support for ``file_insertion_enabled`` & ``raw_enabled``
917 settings in "include" & "raw" directives.
919 * docutils/parsers/rst/directives/parts.py:
921 - Added "header" & "footer" directives.
922 - Fixed illegal context bug with "contents" directive (topics
923 allowed within sidebars; not within body elements).
925 * docutils/parsers/rst/directives/tables.py:
927 - Added "list-table" directive.
928 - Caught empty CSV table bug.
929 - Added support for the ``file_insertion_enabled`` setting in the
930 "csv-table" directive.
931 - Added ``stub-columns`` option to "csv-table" and "list-table"
934 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
935 mappings by Martijn Pieters.
937 * docutils/readers/standalone.py:
939 - Added ``--section-subtitles`` and ``--no-section-subtitles``
940 options to activate or deactivate the SectSubTitle transform.
942 * docutils/transforms/frontmatter.py:
944 - Added SectSubTitle transform to promote titles of lone
945 subsections to subtitles.
947 * docutils/transforms/references.py:
949 - Fixed mislocated internal targets bug, by propagating internal
950 targets to the next node, making use of the newly added support
951 for multiple names and IDs.
952 - Fixed duplicate footnote label bug.
953 - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
956 * docutils/writers/html4css1.py:
958 - Fixed unencoded stylesheet reference bug (characters like "&" in
959 stylesheet references).
960 - ``target`` nodes now appear as ``span`` tags (instead of ``a``
962 - Added support for multiple IDs per node by creating empty ``span``
964 - Added the ``field_name_limit`` & ``option_limit`` settings &
966 - Added support for table stub columns.
967 - Added support for the ``align`` attribute on ``figure`` elements.
968 - Added the ``cloak_email_addresses`` setting & support.
969 - Added ``html_prolog``, ``html_head``, ``html_body``,
970 ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
971 ``docutils.core.publish_parts``.
972 - Added support for section subtitles.
974 * docutils/writers/latex2e.py:
976 - Fixed tables starting with more than one multirow cell.
977 - Improved --use-latex-docinfo so that organization/contact/address
978 fields are lumped with the last author field and appear on the
980 - Made sure the titlepage is always shown with --use-latex-docinfo,
981 even if the document has no title.
982 - Made sure that latex doesn't fill in today's date if no date field
984 - Added support for section subtitles.
986 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
989 * docutils/writers/null.py: Added to project; a do-nothing Writer.
991 * docs/api/publisher.txt:
993 - Added "``publish_parts`` Details" section.
995 * docutils/dev/repository.txt: Added to project; information about the
996 Docutils Subversion repository.
998 * docs/ref/docutils.dtd:
1000 - Added a ``stub`` attribute to the ``colspec`` element via the
1001 ``tbl.colspec.att`` parameter entity.
1002 - Allowed topic elements within sidebars
1003 - Added an ``align`` attribute to the ``figure`` element.
1005 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1009 Release 0.3.7 (2004-12-24)
1010 ==========================
1012 * docutils/frontend.py:
1014 - Added options: --input-encoding-error-handler,
1015 --record-dependencies, --leave-footnote-reference-space,
1017 - Added command-line and config file support for "overrides" setting
1022 - Added support for input encoding error handler.
1024 * docutils/nodes.py:
1026 - Added dispatch_visit and dispatch_departure methods to
1027 NodeVisitor; useful as a hook for Visitors.
1028 - Changed structure of ``line_block``; added ``line``.
1029 - Added ``compound`` node class.
1030 - Added a mechanism for Visitors to transitionally ignore new node
1033 * docutils/utils.py:
1035 - Moved ``escape2null`` and ``unescape`` functions from
1036 docutils/parsers/rst/states.py.
1038 * docutils/parsers/rst/roles.py:
1041 - Changed role function API: the "text" parameter now takes
1042 null-escaped interpreted text content.
1044 * docutils/parsers/rst/states.py:
1046 - Fixed bug where a "role" directive in a nested parse would crash
1047 the parser; the state machine's "language" attribute was not being
1049 - Added support for line block syntax.
1050 - Fixed directive parsing bug: argument-less directives didn't
1051 notice that arguments were present.
1052 - Removed error checking for transitions.
1053 - Added support for multiple classifiers in definition list items.
1054 - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1055 - Changed role function API: the "text" parameter now takes
1056 null-escaped interpreted text content.
1057 - Empty sections and documents are allowed now.
1059 * docutils/parsers/rst/directives/__init__.py:
1061 - Added ``encoding`` directive option conversion function.
1062 - Allow multiple class names in class_option conversion function.
1064 * docutils/parsers/rst/directives/body.py:
1066 - Converted the line-block directive to use the new structure.
1067 - Extracted the old line-block functionality to the ``block``
1068 function (still used).
1069 - Added ``compound`` directive (thanks to Lea Wiemann).
1071 * docutils/parsers/rst/directives/misc.py:
1073 - Added "encoding" option to "include" and "raw" directives.
1074 - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1075 - Allow multiple class names in the "class" directive.
1077 * docutils/parsers/rst/directives/parts.py:
1079 - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1080 options. Thanks to Lele Gaifax.
1082 * docutils/parsers/rst/directives/tables.py:
1084 - Added "encoding" directive to "csv-table" directive.
1085 - Added workaround for lack of Unicode support in csv.py, for
1086 non-ASCII CSV input.
1088 * docutils/transforms/misc.py:
1090 - Fixed bug when multiple "class" directives are applied to a single
1092 - Enabled multiple format names for "raw" directive.
1094 * docutils/transforms/references.py:
1096 - Added support for trimming whitespace from beside substitution
1099 * docutils/transforms/universal.py:
1101 - FinalChecks now checks for illegal transitions and moves
1102 transitions between sections.
1104 * docutils/writers/html4css1.py:
1106 - HTMLTranslator.encode now converts U+00A0 to " ".
1107 - "stylesheet" and "stylesheet_path" settings are now mutually
1109 - Added support for the new line_block/line structure.
1110 - --footnote-references now overrides
1111 --trim-footnote-reference-space, if applicable.
1112 - Added support for ``compound`` elements.
1113 - Enabled multiple format names for "raw" directive.
1114 - ``<p>`` tags of a paragraph which is the only visible child of the
1115 document node are no longer stripped.
1116 - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1117 new method ``should_be_compact_paragraph()``.
1118 - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1120 - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1121 the output if they have their ``class`` attribute set.
1122 - The whole document is now surrounded by a ``<div
1123 class="document">`` element.
1124 - Body-level images are now wrapped by their own ``<div>`` elements,
1125 with image classes copied to the wrapper, and for images which
1126 have the ``:align:`` option set, the surrounding ``<div>`` now
1127 receives a class attribute (like ``class="align-left"``).
1129 * docutils/writers/latex2e.py:
1131 - no newline after depart_term.
1132 - Added translations for some Unicode quotes.
1133 - Added option "font-encoding", made package AE the default.
1134 - "stylesheet" and "stylesheet_path" settings are now mutually
1136 - --footnote-references now overrides
1137 --trim-footnote-reference-space, if applicable.
1138 - The footnote label style now matches the footnote reference style
1139 ("brackets" or "superscript").
1140 - Added support for ``compound`` elements.
1141 - Enabled multiple format names for "raw" directive.
1143 * docs/ref/docutils.dtd:
1145 - Changed structure of the ``line_block`` element; added ``line``.
1146 - Added ``compound`` element.
1147 - Added "ltrim" and "rtrim" attributes to
1148 ``substitution_definition`` element.
1149 - Enabled multiple format names for ``raw`` element.
1150 - Enabled multiple classifiers in ``definition_list_item`` elements.
1152 * docs/ref/rst/directives.txt
1154 - Marked "line-block" as deprecated.
1155 - "Class" directive now allows multiple class names.
1156 - Added "Rationale for Class Attribute Value Conversion".
1157 - Added warning about "raw" overuse/abuse.
1159 * docs/ref/rst/restructuredtext.txt:
1161 - Added syntax for line blocks.
1162 - Definition list items may have multiple classifiers.
1164 * docs/ref/rst/roles.txt:
1168 * tools/stylesheets/default.css:
1170 - Added support for the new line_block structure.
1171 - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1174 Release 0.3.5 (2004-07-29)
1175 ==========================
1179 * _`Documentation cleanup/reorganization`.
1181 - Created new subdirectories of docs/:
1183 * ``docs/user/``: introductory/tutorial material for end-users
1184 * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1185 * ``docs/api/``: API reference material for client-developers
1186 * ``docs/ref/``: reference material for all groups
1187 * ``docs/howto/``: for component-developers and core-developers
1188 * ``docs/peps/``: Python Enhancement Proposals
1190 - Moved ``docs/*`` to ``docs/user/``.
1191 - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1192 ``spec/`` to ``docs/dev``.
1193 - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1194 ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1195 - Moved ``alternatives.txt``, and ``problems.txt`` from
1196 ``spec/rst/`` to ``docs/dev/rst/``.
1197 - Moved ``reStructuredText.txt``, ``directives.txt``,
1198 ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1199 to ``docs/ref/rst/``. Renamed ``interpreted.txt`` to
1200 ``roles.txt``, ``reStructuredText.txt`` to
1201 ``restructuredtext.txt``.
1202 - Moved ``spec/howto/`` to ``docs/howto``.
1204 In order to keep the CVS history of moved files, we supplied
1205 SourceForge with a `script for modifying the Docutils CVS
1208 __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1210 After running the cleanup script:
1212 - Added ``docs/index.txt``.
1213 - Added a ``.htaccess`` file to the ``web`` module, containing
1214 redirects for all old paths to new paths. They'll preserve
1215 fragments (the "#name" part of a URL), and won't clutter up the
1216 file system, and will correct the URL in the user's browser.
1217 - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1218 ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1219 the "To Do" list itself in ``docs/dev/todo.txt``.
1220 - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1221 section of ``docs/dev/todo.txt``.
1222 - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1223 - Added "How To Report Bugs" to ``BUGS.txt``.
1224 - Went through all the sources and docs (including under web/) and
1225 updated links. Mostly done by Lea Wiemann; thanks Lea!
1226 (Still need to update links in the sandboxes.)
1230 * BUGS.txt: Added to project.
1232 * THANKS.txt: Added to project.
1234 * docutils/__init__.py:
1236 - 0.3.4: Post-release.
1240 - Added special error handling & advice for UnicodeEncodeError.
1241 - Refactored Publisher.publish (simplified exception handling &
1242 extracted debug dumps).
1243 - Renamed "enable_exit" parameter of convenience functions to
1244 "enable_exit_status".
1245 - Enabled traceback (exception propagation) by default in
1246 programmatic convenience functions.
1247 - Now publish_file and publish_cmdline convenience functions return
1248 the encoded string results in addition to their regular I/O.
1249 - Extracted common code from publish_file, publish_string, and
1250 publish_parts, into new publish_programmatically. Extracted
1251 settings code to ``Publisher.process_programmatic_settings``.
1252 - In Publisher.publish, disabled ``settings_overrides`` when
1253 ``settings`` is supplied; redundant.
1255 * docutils/frontend.py:
1257 - Added help text for "--output-encoding-error-handler" and
1258 "--error-encoding-error-handler".
1259 - Renamed "--exit" to "--exit-status".
1260 - Simplified default-setting code.
1262 * docutils/parsers/rst/__init__.py:
1264 - Added "--pep-base-url" and "--rfc-base-url" options.
1266 * docutils/parsers/rst/states.py:
1268 - Made URI recognition more aggressive and intelligent.
1270 * docutils/parsers/rst/directives/__init__.py:
1272 - Added several directive option conversion functions.
1274 * docutils/parsers/rst/directives/body.py:
1276 - Moved "table" directive to tables.py.
1278 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1281 * docutils/writers/latex2e.py:
1283 - Added "--table-style=(standard|booktabs|nolines)"
1284 - figures get "here" option (LaTeX per default puts them at bottom),
1285 and figure content is centered.
1286 - Rowspan support for tables.
1287 - Fix: admonition titles before first section.
1288 - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1289 - Replave ``_`` in literal by an underlined blank, because it has the correct
1291 - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1292 - A few unicode replacements, if output_encoding != utf
1293 - Add "--graphicx-option".
1294 - Indent literal-blocks.
1295 - Fix: omit ``\maketitle`` when there is no document title.
1297 * docs/index.txt: "Docutils Project Documentation Overview", added to
1300 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1301 Tool", added to project.
1303 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1305 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1307 * docs/dev/policies.txt: Added to project (extracted from
1308 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1310 * docs/dev/release.txt: Added to project (extracted from
1311 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1313 * docs/dev/testing.txt: Added to project.
1315 * docs/dev/website.txt: Added to project (extracted from
1316 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1318 * docs/ref/rst/directives.txt:
1320 - Added directives: "table", "csv-table".
1322 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1323 added to project. 1 page for syntax, and a 1 page reference for
1324 directives and roles. Source text to be used as-is; not meant to be
1327 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1328 with a change of title.
1330 * test/functional/, contents, and test/test_functional.py: Added to
1333 * tools/buildhtml.py: Fixed bug with config file handling.
1335 * tools/html.py: Removed from project (duplicate of rst2html.py).
1337 * tools/pep2html.py: Removed from project (duplicate of Python's
1338 nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1339 Docutils-related PEPs in docs/peps/).
1341 * tools/rst2pseudoxml.py: Renamed from publish.py.
1343 * tools/rst2xml.py: Renamed from docutils-xml.py.
1345 * tools/test.txt: Removed from project; moved to
1346 docs/user/rst/demo.txt.
1348 * setup.py: Now also installs ``rst2latex.py``.
1351 Release 0.3.3 (2004-05-09)
1352 ==========================
1354 * docutils/__init__.py:
1356 - 0.3.1: Reorganized config file format (multiple sections); see
1358 - Added unknown_reference_resolvers attribute to TransformSpec.
1359 - 0.3.2: Interpreted text reorganization.
1364 - Catch system messages to stop tracebacks from parsing errors.
1365 - Catch exceptions during processing report & exit without
1366 tracebacks, except when "--traceback" used.
1367 - Reordered components for OptionParser; application comes last.
1368 - Added "config_section" parameter to several methods and functions,
1369 allowing front ends to easily specify their config file sections.
1370 - Added publish_parts convenience function to allow access to individual
1371 parts of a document.
1373 * docutils/examples.py: Added to project; practical examples of
1374 Docutils client code, to be used as-is or as models for variations.
1376 * docutils/frontend.py:
1378 - Added "--traceback" & "--no-traceback" options ("traceback"
1380 - Implemented support for config file reorganization:
1381 ``standard_config_files`` moved from ``ConfigParser`` to
1382 ``OptionParser``; added
1383 ``OptionParser.get_config_file_settings()`` and
1384 ``.get_standard_config_settings()``; support for old "[options]"
1385 section (with deprecation warning) and mapping from old to new
1387 - Reimplemented setting validation.
1388 - Enabled flexible boolean values: yes/no, true/false, on/off.
1389 - Added ``Values``, a subclass of ``optparse.Values``, with support
1390 for list setting attributes.
1391 - Added support for new ``DOCUTILSCONFIG`` environment variable;
1392 thanks to Beni Cherniavsky.
1393 - Added "--no-section-numbering" option.
1397 - Catch IOErrors when opening source & destination files, report &
1398 exit without tracebacks. Added ``handle_io_errors`` parameter to
1399 ``FileInput`` & ``FileOutput`` to enable caller error handling.
1401 * docutils/nodes.py:
1403 - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1404 method definitions (via ``exec``) to dynamic assignments (via
1405 ``setattr``); thanks to Roman Suzi.
1406 - Encapsulated visitor dynamic assignments in a function; thanks to
1408 - Added indirect_reference_name attribute to the Targetable
1409 class. This attribute holds the whitespace_normalized_name
1410 (contains mixed case) of a target.
1412 * docutils/statemachine.py:
1414 - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1415 - Added ``StringList.get_2D_block``.
1417 * docutils/utils.py:
1419 - Added "level" attribute to SystemMessage exceptions.
1421 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1424 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1427 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1428 Marcelo Huerta San Martin.
1430 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1431 mappings by Lalo Martins.
1433 * docutils/languages/ru.py: Added to project; Russian mappings by
1436 * docutils/parsers/rst/roles.py: Added to project. Contains
1437 interpreted text role functions, a registry for interpreted text
1438 roles, and an API for adding to and retrieving from the registry.
1439 Contributed by Edward Loper.
1441 * docutils/parsers/rst/states.py:
1443 - Updated ``RSTState.nested_parse`` for "include" in table cells.
1444 - Allowed true em-dash character and "---" as block quote
1446 - Added support for <angle-bracketed> complex option arguments
1448 - Fixed handling of backslashes in substitution definitions.
1449 - Fixed off-by-1 error with extra whitespace after substitution
1450 definition directive.
1451 - Added inline markup parsing to field lists' field names.
1452 - Added support for quoted (and unindented) literal blocks.
1453 Driven in part by a bribe from Frank Siebenlist (thanks!).
1454 - Parser now handles escapes in URIs correctly.
1455 - Made embedded-URIs' reference text omittable. Idea from Beni
1457 - Refactored explicit target processing code.
1458 - Added name attribute to references containing the reference name only
1459 through whitespace_normalize_name (no case changes).
1460 - parse_target no longer returns the refname after going through
1461 normalize_name. This is now handled in make_target.
1462 - Fixed bug relating to role-less interpreted text in non-English
1464 - Reorganized interpreted text processing; moved code into the new
1465 roles.py module. Contributed by Edward Loper.
1466 - Refactored ``Body.parse_directive`` into ``run_directive`` and
1467 ``parse_directive_block``.
1469 * docutils/parsers/rst/tableparser.py:
1471 - Reworked for ``StringList``, to support "include" directives in
1474 * docutils/parsers/rst/directives/__init__.py:
1476 - Renamed ``unchanged()`` directive option conversion function to
1477 ``unchanged_required``, and added a new ``unchanged``.
1478 - Catch unicode value too high error; fixes bug 781766.
1479 - Beefed up directive error reporting.
1481 * docutils/parsers/rst/directives/body.py:
1483 - Added basic "table" directive.
1485 * docutils/parsers/rst/directives/images.py:
1487 - Added "target" option to "image" directive.
1488 - Added name attribute to references containing the reference name only
1489 through whitespace_normalize_name (no case changes).
1491 * docutils/parsers/rst/directives/misc.py:
1493 - Isolated the import of the ``urllib2`` module; was causing
1494 problems on SourceForge (``libssl.so.2`` unavailable?).
1495 - Added the "role" directive for declaring custom interpreted text
1498 * docutils/parsers/rst/directives/parts.py:
1500 - The "contents" directive does more work up-front, creating the
1501 "topic" and "title", and leaving the "pending" node for the
1502 transform. Allows earlier reference resolution; fixes subtle bug.
1504 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1505 mappings by Jannie Hofmeyr.
1507 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1508 mappings by Marek Blaha.
1510 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1511 mappings by Marcelo Huerta San Martin.
1513 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1514 Portuguese mappings by Lalo Martins.
1516 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1517 mappings by Roman Suzi.
1519 * docutils/transforms/parts.py:
1521 - The "contents" directive does more work up-front, creating the
1522 "topic" and "title", and leaving the "pending" node for the
1523 transform. Allows earlier reference resolution; fixes subtle bug.
1524 - Added support for disabling of section numbering.
1526 * docutils/transforms/references.py:
1528 - Verifying that external targets are truly targets and not indirect
1529 references. This is because we are now adding a "name" attribute to
1530 references in addition to targets. Note sure if this is correct!
1531 - Added code to hook into the unknown_reference_resolvers list for a
1532 transformer in resolve_indirect_target. This allows the
1533 unknown_reference_resolvers to keep around indirect targets which
1534 docutils doesn't know about.
1535 - Added specific error message for duplicate targets.
1537 * docutils/transforms/universal.py:
1539 - Added FilterMessages transform (removes system messages below the
1540 verbosity threshold).
1541 - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1542 to FinalCheckVisitor for application-specific handling of
1543 unresolvable references.
1544 - Added specific error message for duplicate targets.
1546 * docutils/writers/__init__.py:
1548 - Added assemble_parts method to the Writer class to allow for
1549 access to a documents individual parts.
1550 - Documented & set default for ``Writer.output`` attribute.
1552 * docutils/writers/html4css1.py:
1554 - Fixed unicode handling of attribute values (bug 760673).
1555 - Prevent duplication of "class" attribute values (bug report from
1557 - Improved table grid/border handling (prompted by report from Bob
1559 - Added support for table titles.
1560 - Added "<title />" for untitled docs, for XHTML conformance; thanks
1562 - Added functionality to keep track of individual parts of a document
1563 and store them in a dictionary as the "parts" attribute of the writer.
1564 Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1565 - Added proper support for the "scale" attribute of the "image"
1566 element. Contributed by Brent Cook.
1567 - Added ``--initial-header-level`` option.
1568 - Fixed bug: the body_pre_docinfo segment depended on there being a
1569 docinfo; if no docinfo, the document title was incorporated into
1570 the body segment. Adversely affected the publish_parts interface.
1572 * docutils/writers/latex2e.py:
1574 - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1575 about a missing file.
1576 - Added options and support: ``--compound-enumerators``,
1577 ``--section-prefix-for-enumerators``, and
1578 ``--section-enumerator-separator``. By John F Meinel Jr (SF patch
1580 - Added option ``--use-verbatim-when-possible``, to avoid
1581 problematic characters (eg, '~' in italian) in literal blocks.
1582 - It's now possible to use four section levels in the `book` and
1583 `report` LaTeX classes. The default `article` class still has
1586 * docs/config.txt: "Docutils Configuration Files", added to project.
1587 Moved config file entry descriptions from tools.txt.
1591 - Moved config file entry descriptions to config.txt.
1593 * spec/notes.txt: Continual updates. Added "Setting Up For Docutils
1596 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1597 Text Roles", added to project.
1599 * spec/rst/reStructuredText.txt:
1601 - Added description of support for <angle-bracketed> complex option
1602 arguments to option lists.
1603 - Added subsections for indented and quoted literal blocks.
1605 * test: Continually adding & updating tests.
1607 - Added test/test_settings.py & test/data/config_*.txt support
1609 - Added test/test_writers/test_htmlfragment.py.
1611 * test/DocutilsTestSupport.py:
1613 - Refactored LaTeX publisher test suite/case class names to make
1614 testing other writers easier.
1615 - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1616 to test the processing of HTML fragments which use the new
1617 publish_parts convenience function.
1619 * tools/buildhtml.py:
1621 - Added support for the "--prune" option.
1622 - Removed dependency on pep2html.py; plaintext PEPs no longer
1625 * tools/docutils.conf:
1627 - Updated for configuration file reorganization.
1629 * tools/rst2html.py:
1631 - copied from tools/html.py
1635 - added a 'scripts' section to configuration
1636 - added 'tools/rst2html.py' to the scripts section
1639 Release 0.3 (2003-06-24)
1640 ========================
1644 * Renamed "attribute" to "option" for directives/extensions.
1646 * Renamed transform method "transform" to "apply".
1648 * Renamed "options" to "settings" for runtime settings (as set by
1649 command-line options). Sometimes "option" (singular) became
1650 "settings" (plural). Some variations below:
1652 - document.options -> document.settings (stored in other objects as
1654 - option_spec -> settings_spec (not directives though)
1655 - OptionSpec -> SettingsSpec
1656 - cmdline_options -> settings_spec
1657 - relative_path_options -> relative_path_settings
1658 - option_default_overrides -> settings_default_overrides
1659 - Publisher.set_options -> Publisher.get_settings
1663 * COPYING.txt: Added "Public Domain Dedication".
1665 * FAQ.txt: Frequently asked questions, added to project.
1669 - Updated with PyPI Trove classifiers.
1670 - Conditional installation of third-party modules.
1672 * docutils/__init__.py:
1674 - Bumped version to 0.2.1 to reflect changes to I/O classes.
1675 - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1676 - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1677 - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1678 option and its effect on the PEP template & writer.
1679 - Bumped version to 0.2.4 due to changes to the PEP template &
1681 - Bumped version to 0.2.5 to reflect changes to Reporter output.
1682 - Added ``TransformSpec`` class for new transform system.
1683 - Bumped version to 0.2.6 for API changes (renaming).
1684 - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1685 convenience functions.
1686 - Added ``Component.component_type`` attribute.
1687 - Bumped version to 0.2.8 because of the internal parser switch from
1688 plain lists to the docutils.statemachine.StringList objects.
1689 - Bumped version to 0.2.9 because of the frontend.py API changes.
1690 - Bumped version to 0.2.10 due to changes to the project layout
1691 (third-party modules removed from the "docutils" package), and
1692 signature changes in ``io.Input``/``io.Output``.
1693 - Changed version to 0.3.0 for release.
1697 - Made ``publish()`` a bit more convenient.
1698 - Generalized ``Publisher.set_io``.
1699 - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1700 parameters; improved its docstring.
1701 - Added ``publish_file()`` and ``publish_string()``.
1702 - Factored ``Publisher.set_source()`` and ``.set_destination()``
1704 - Added support for "--dump-pseudo-xml", "--dump-settings", and
1705 "--dump-transforms" hidden options.
1706 - Added ``Publisher.apply_transforms()`` method.
1707 - Added ``Publisher.set_components()`` method; support for
1708 ``publish_*()`` conveninece functions.
1709 - Moved config file processing to docutils/frontend.py.
1710 - Added support for exit status ("exit_level" setting &
1711 ``enable_exit`` parameter for Publisher.publish() and convenience
1714 * docutils/frontend.py:
1716 - Check for & exit on identical source & destination paths.
1717 - Fixed bug with absolute paths & "--config".
1718 - Set non-command-line defaults in ``OptionParser.__init__()``:
1719 ``_source`` & ``_destination``.
1720 - Distributed ``relative_path_settings`` to components; updated
1721 ``OptionParser.populate_from_components()`` to combine it all.
1722 - Require list of keys in ``make_paths_absolute`` (was implicit in
1723 global ``relative_path_settings``).
1724 - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1725 "--dump-settings", and "--dump-transforms" hidden options.
1726 - Removed nasty internals-fiddling ``ConfigParser.get_section``
1727 code, replaced with correct code.
1728 - Added validation functionality for config files.
1729 - Added "--error-encoding" option/setting, "_disable_config"
1731 - Added encoding validation; updated "--input-encoding" and
1732 "--output-encoding"; added "--error-encoding-error-handler" and
1733 "--output-encoding-error-handler".
1734 - Moved config file processing from docutils/core.py.
1735 - Updated ``OptionParser.populate_from_components`` to handle new
1736 ``SettingsSpec.settings_defaults`` dict.
1737 - Added support for "-" => stdin/stdout.
1738 - Added "exit_level" setting ("--exit" option).
1742 - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1743 - Added automatic closing to ``FileInput`` and ``FileOutput``.
1744 - Delayed opening of ``FileOutput`` file until ``write()`` called.
1745 - ``FileOutput.write()`` now returns the encoded output string.
1746 - Try to get path/stream name automatically in ``FileInput`` &
1748 - Added defaults for source & destination paths.
1749 - Allow for Unicode I/O with an explicit "unicode" encoding.
1750 - Added ``Output.encode()``.
1751 - Removed dependency on runtime settings; pass encoding directly.
1752 - Recognize Unicode strings in ``Input.decode()``.
1753 - Added support for output encoding error handlers.
1755 * docutils/nodes.py:
1757 - Added "Invisible" element category class.
1758 - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1759 modification during a traversal.
1760 - Added element classes: ``line_block``, ``generated``, ``address``,
1761 ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1762 ``superscript``, ``subscript``, ``inline``
1763 - Added support for lists of nodes to ``Element.insert()``.
1764 - Fixed parent linking in ``Element.replace()``.
1765 - Added new abstract superclass ``FixedTextElement``; adds
1766 "xml:space" attribute.
1767 - Added support for "line" attribute of ``system_message`` nodes.
1768 - Added support for the observer pattern from ``utils.Reporter``.
1769 Added ``parse_messages`` and ``transform_messages`` attributes to
1770 ``document``, removed ``messages``. Added ``note_parse_message``
1771 and ``note_transform_message`` methods.
1772 - Added support for improved diagnostics:
1774 - Added "document", "source", and "line" internal attributes to
1775 ``Node``, set by ``Node.setup_child()``.
1776 - Converted variations on ``node.parent = self`` to
1777 ``self.setup_child(node)``.
1778 - Added ``document.current_source`` & ``.current_line``
1779 attributes, and ``.note_source`` observer method.
1780 - Changed "system_message" output to GNU-Tools format.
1782 - Added a "rawsource" attribute to the ``Text`` class, for text
1783 before backslash-escape resolution.
1784 - Support for new transform system.
1785 - Reworked ``pending`` element.
1786 - Fixed XML DOM bug (SF #660611).
1787 - Removed the ``interpeted`` element class and added
1788 ``title_reference``, ``abbreviation``, ``acronym``.
1789 - Made substitutions case-sensitive-but-forgiving; moved some code
1791 - Fixed Unicode bug on element attributes (report: William Dode).
1793 * docutils/optik.py: Removed from project; replaced with
1794 extras/optparse.py and extras/textwrap.py. These will be installed
1795 only if they're not already present in the Python installation.
1797 * docutils/roman.py: Moved to extras/roman.py; this will be installed
1798 only if it's not already present in the Python installation.
1800 * docutils/statemachine.py:
1802 - Factored out ``State.add_initial_transitions()`` so it can be
1804 - Converted whitespace-specific "blank" and "indent" transitions
1805 from special-case code to ordinary transitions: removed
1806 ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
1807 ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
1808 ``ws_initial_transitions`` attributes.
1809 - Removed ``State.match_transition()`` after merging it into
1811 - Added ``StateCorrection`` exception.
1812 - Added support for ``StateCorrection`` in ``StateMachine.run()``
1813 (moved ``TransitionCorrection`` support there too.)
1814 - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
1815 ``EOFError`` instead of ``IndexError``.
1816 - Added ``State.no_match`` method.
1817 - Added support for the Observer pattern, triggered by input line
1819 - Added ``strip_top`` parameter to
1820 ``StateMachineWS.get_first_known_indented``.
1821 - Made ``context`` a parameter to ``StateMachine.run()``.
1822 - Added ``ViewList`` & ``StringList`` classes;
1823 ``extract_indented()`` becomes ``StringList.get_indented()``.
1824 - Added ``StateMachine.insert_input()``.
1825 - Fixed ViewList slice handling for Python 2.3. Patch from (and
1826 thanks to) Fred Drake.
1828 * docutils/utils.py:
1830 - Added a ``source`` attribute to Reporter instances and
1831 ``system_message`` elements.
1832 - Added an observer pattern to ``utils.Reporter`` to keep track of
1834 - Fixed bugs in ``relative_path()``.
1835 - Added support for improved diagnostics.
1836 - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
1837 - Added support for encoding Reporter stderr output, and encoding
1839 - Reporter keeps track of the highest level system message yet
1842 * docutils/languages: Fixed bibliographic field language lookups.
1844 * docutils/languages/es.py: Added to project; Spanish mappings by
1845 Marcelo Huerta San Martin.
1847 * docutils/languages/fr.py: Added to project; French mappings by
1850 * docutils/languages/it.py: Added to project; Italian mappings by
1853 * docutils/languages/sk.py: Added to project; Slovak mappings by
1856 * docutils/parser/__init__.py:
1858 - Added ``Parser.finish_parse()`` method.
1860 * docutils/parser/rst/__init__.py:
1862 - Added options: "--pep-references", "--rfc-references",
1863 "--tab-width", "--trim-footnote-reference-space".
1865 * docutils/parsers/rst/states.py:
1867 - Changed "title under/overline too short" system messages from INFO
1868 to WARNING, and fixed its insertion location.
1869 - Fixed enumerated list item parsing to allow paragraphs & section
1870 titles to begin with enumerators.
1871 - Converted system messages to use the new "line" attribute.
1872 - Fixed a substitution reference edge case.
1873 - Added support for "--pep-references" and "--rfc-references"
1874 options; reworked ``Inliner`` code to make customization easier.
1875 - Removed field argument parsing.
1876 - Added support for short section title over/underlines.
1877 - Fixed "simple reference name" regexp to ignore text like
1878 "object.__method__"; not an anonymous reference.
1879 - Added support for improved diagnostics.
1880 - Reworked directive API, based on Dethe Elza's contribution. Added
1881 ``Body.parse_directive()``, ``.parse_directive_options()``,
1882 ``.parse_directive_arguments()`` methods.
1883 - Added ``ExtensionOptions`` class, to parse directive options
1884 without parsing field bodies. Factored
1885 ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
1886 ``ExtensionOptions``.
1887 - Improved definition list term/classifier parsing.
1888 - Added warnings for unknown directives.
1889 - Renamed ``Stuff`` to ``Struct``.
1890 - Now flagged as errors: transitions at the beginning or end of
1891 sections, empty sections (except title), and empty documents.
1892 - Updated for ``statemachine.StringList``.
1893 - Enabled recognition of schemeless email addresses in targets.
1894 - Added support for embedded URIs in hyperlink references.
1895 - Added backslash-escapes to inline markup end-string suffix.
1896 - Added support for correct interpreted text processing.
1897 - Fixed nested title parsing (topic, sidebar directives).
1898 - Added special processing of backslash-escaped whitespace (idea
1899 from David Abrahams).
1900 - Made substitutions case-sensitive-but-forgiving; moved some code
1901 to ``docutils.nodes``.
1902 - Added support for block quote attributions.
1903 - Added a kludge to work-around a conflict between the bubble-up
1904 parser strategy and short titles (<= 3 char-long over- &
1905 underlines). Fixes SF bug #738803 "infinite loop with multiple
1906 titles" submitted by Jason Diamond.
1907 - Added explicit interpreted text roles for standard inline markup:
1908 "emphasis", "strong", "literal".
1909 - Implemented "superscript" and "subscript" interpreted text roles.
1910 - Added initial support for "abbreviation" and "acronym" roles;
1912 - Added support for "--trim-footnote-reference-space" option.
1913 - Optional space before colons in directives & hyperlink targets.
1915 * docutils/parsers/rst/tableparser.py:
1917 - Fixed a bug that was producing unwanted empty rows in "simple"
1919 - Detect bad column spans in "simple" tables.
1921 * docutils/parsers/rst/directives: Updated all directive functions to
1924 * docutils/parsers/rst/directives/__init__.py:
1926 - Added ``flag()``, ``unchanged()``, ``path()``,
1927 ``nonnegative_int()``, ``choice()``, and ``class_option()``
1928 directive option helper functions.
1929 - Added warnings for unknown directives.
1930 - Return ``None`` for missing directives.
1931 - Added ``register_directive()``, thanks to William Dode and Paul
1934 * docutils/parsers/rst/directives/admonitions.py:
1936 - Added "admonition" directive.
1938 * docutils/parsers/rst/directives/body.py: Added to project. Contains
1939 the "topic", "sidebar" (from Patrick O'Brien), "line-block",
1940 "parsed-literal", "rubric", "epigraph", "highlights" and
1941 "pull-quote" directives.
1943 * docutils/parsers/rst/directives/images.py:
1945 - Added an "align" attribute to the "image" & "figure" directives
1946 (by Adam Chodorowski).
1947 - Added "class" option to "image", and "figclass" to "figure".
1949 * docutils/parsers/rst/directives/misc.py:
1951 - Added "include", "raw", and "replace" directives, courtesy of
1953 - Added "unicode" and "class" directives.
1955 * docutils/parsers/rst/directives/parts.py:
1957 - Added the "sectnum" directive; by Dmitry Jemerov.
1958 - Added "class" option to "contents" directive.
1960 * docutils/parsers/rst/directives/references.py: Added to project.
1961 Contains the "target-notes" directive.
1963 * docutils/parsers/rst/languages/__init__.py:
1965 - Return ``None`` from get_language() for missing language modules.
1967 * docutils/parsers/rst/languages/de.py: Added to project; German
1968 mappings by Engelbert Gruber.
1970 * docutils/parsers/rst/languages/en.py:
1972 - Added interpreted text roles mapping.
1974 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
1975 mappings by Marcelo Huerta San Martin.
1977 * docutils/parsers/rst/languages/fr.py: Added to project; French
1978 mappings by William Dode.
1980 * docutils/parsers/rst/languages/it.py: Added to project; Italian
1981 mappings by Nicola Larosa.
1983 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
1984 mappings by Miroslav Vasko.
1986 * docutils/readers/__init__.py:
1988 - Added support for the observer pattern from ``utils.Reporter``, in
1989 ``Reader.parse`` and ``Reader.transform``.
1990 - Removed ``Reader.transform()`` method.
1991 - Added default parameter values to ``Reader.__init__()`` to make
1992 instantiation easier.
1993 - Removed bogus aliases: "restructuredtext" is *not* a Reader.
1995 * docutils/readers/pep.py:
1997 - Added the ``peps.TargetNotes`` transform to the Reader.
1998 - Removed PEP & RFC reference detection code; moved to
1999 parsers/rst/states.py as options (enabled here by default).
2000 - Added support for pre-acceptance PEPs (no PEP number yet).
2001 - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2004 * docutils/readers/python: Python Source Reader subpackage added to
2005 project, including preliminary versions of:
2008 - moduleparser.py: Parser for Python modules.
2010 * docutils/transforms/__init__.py:
2012 - Added ``Transformer`` class and completed transform reform.
2013 - Added unknown_reference_resolvers list for each transformer. This list holds
2014 the list of functions provided by each component of the transformer that
2015 help resolve references.
2017 * docutils/transforms/frontmatter.py:
2019 - Improved support for generic fields.
2020 - Fixed bibliographic field language lookups.
2022 * docutils/transforms/misc.py: Added to project. Miscellaneous
2025 * docutils/transforms/parts.py:
2027 - Moved the "id" attribute from TOC list items to the references
2028 (``Contents.build_contents()``).
2029 - Added the ``SectNum`` transform; by Dmitry Jemerov.
2030 - Added "class" attribute support to ``Contents``.
2032 * docutils/transforms/peps.py:
2034 - Added ``mask_email()`` function, updating to pep2html.py's
2036 - Linked "Content-Type: text/x-rst" to PEP 12.
2037 - Added the ``TargetNotes`` PEP-specific transform.
2038 - Added ``TargetNotes.cleanup_callback``.
2039 - Added title check to ``Headers``.
2041 * docutils/transforms/references.py:
2043 - Added the ``TargetNotes`` generic transform.
2044 - Split ``Hyperlinks`` into multiple transforms.
2045 - Fixed bug with multiply-indirect references (report: Bruce Smith).
2046 - Added check for circular indirect references.
2047 - Made substitutions case-sensitive-but-forgiving.
2049 * docutils/transforms/universal.py:
2051 - Added support for the "--expose-internal-attributes" option.
2052 - Removed ``Pending`` transform classes & data.
2054 * docutils/writers/__init__.py:
2056 - Removed ``Writer.transform()`` method.
2058 * docutils/writers/docutils-xml.py:
2060 - Added XML and doctype declarations.
2061 - Added "--no-doctype" and "--no-xml-declaration" options.
2063 * docutils/writers/html4css1.py:
2065 - "name" attributes only on these tags: a, applet, form, frame,
2067 - Added "name" attribute to <a> in section titles for Netscape 4
2068 support (bug report: Pearu Peterson).
2069 - Fixed targets (names) on footnote, citation, topic title,
2070 problematic, and system_message nodes (for Netscape 4).
2071 - Changed field names from "<td>" to "<th>".
2072 - Added "@" to "@" encoding to thwart address harvesters.
2073 - Improved the vertical whitespace optimization; ignore "invisible"
2074 nodes (targets, comments, etc.).
2075 - Improved inline literals with ``<span class="pre">`` around chunks
2076 of text and `` `` for runs of spaces.
2077 - Improved modularity of output; added ``self.body_pre_docinfo`` and
2078 ``self.docinfo`` segments.
2079 - Added support for "line_block", "address" elements.
2080 - Improved backlinks (footnotes & system_messages).
2081 - Improved system_message output.
2082 - Redefined "--stylesheet" as containing an invariant URL, used
2083 verbatim. Added "--stylesheet-path", interpreted w.r.t. the
2085 - Added "--footnote-references" option (superscript or brackets).
2086 - Added "--compact-lists" and "--no-compact-lists" options.
2087 - Added "--embed-stylesheet" and "--link-stylesheet" options;
2088 factored out ``HTMLTranslator.get_stylesheet_reference()``.
2089 - Improved field list rendering.
2090 - Added Docutils version to "generator" meta tag.
2091 - Fixed a bug with images; they must be inline, so wrapped in <p>.
2092 - Improved layout of <pre> HTML source.
2093 - Fixed attribute typo on <colspec>.
2094 - Refined XML prologue.
2095 - Support for no stylesheet.
2096 - Removed "interpreted" element support.
2097 - Added support for "title_reference", "sidebar", "attribution",
2098 "rubric", and generic "admonition" elements.
2099 - Added "--attribution" option.
2100 - Added support for "inline", "subscript", "superscript" elements.
2101 - Added initial support for "abbreviation" and "acronym";
2104 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2108 - Double quotes in literal blocks (special treatment for de/ngerman).
2109 - Added '--hyperlink-color' option ('0' turns off coloring of links).
2110 - Added "--attribution" option.
2111 - Right align attributions.
2113 * docutils/writers/pep_html.py:
2115 - Parameterized output encoding in PEP template.
2116 - Reworked substitutions from ``locals()`` into ``subs`` dict.
2117 - Redefined "--pep-stylesheet" as containing an invariant URL, used
2118 verbatim. Added "--pep-stylesheet-path", interpreted w.r.t. the
2120 - Added an override on the "--footnote-references" option.
2121 - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2122 - Added Docutils version to "generator" meta tag.
2123 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2127 - Added a "silent" setting for ``buildhtml.py``.
2128 - Added a "Getting Help" section.
2129 - Rearranged the structure.
2130 - Kept up to date, with new settings, command-line options etc.
2131 - Added section for ``rst2latex.py`` (Engelbert Gruber).
2132 - Converted settings table into a definition list.
2134 * docs/rst/quickstart.txt:
2136 - Added a table of contents.
2137 - Added feedback information.
2138 - Added mention of minimum section title underline lengths.
2139 - Removed the 4-character minimum for section title underlines.
2141 * docs/rst/quickref.html:
2143 - Added a "Getting Help" section.
2144 - Added a style to make section title backlinks more subtle.
2145 - Added mention of minimum section title underline lengths.
2146 - Removed the 4-character minimum for section title underlines.
2148 * extras: Directory added to project; contains third-party modules
2149 that Docutils depends on (optparse, textwrap, roman). These are
2150 only installed if they're not already present.
2152 * licenses: Directory added to project; contains copies of license
2153 files for non-public-domain files.
2157 - Changed the focus. It's about DTD elements: structural
2158 relationships, semantics, and external (public) attributes. Not
2159 about the element class library.
2160 - Moved some implementation-specific stuff into ``docutils.nodes``
2162 - Wrote descriptions of all common attributes and parameter
2163 entities. Filled in introductory material.
2164 - Working through the element descriptions: 55 down, 37 to go.
2165 - Removed "Representation of Horizontal Rules" to
2166 spec/rst/alternatives.txt.
2168 * spec/docutils.dtd:
2170 - Added "generated" inline element.
2171 - Added "line_block" body element.
2172 - Added "auto" attribute to "title".
2173 - Changed content models of "literal_block" and "doctest_block" to
2175 - Added ``%number;`` attribute type parameter entity.
2176 - Changed ``%structural.elements;`` to ``%section.elements``.
2177 - Updated attribute types; made more specific.
2178 - Added "address" bibliographic element.
2179 - Added "line" attribute to ``system_message`` element.
2180 - Removed "field_argument" element; "field_name" may contain
2181 multiple words and whitespace.
2182 - Changed public identifier to docutils.sf.net.
2183 - Removed "interpreted" element; added "title_reference",
2184 "abbreviation", "acronym".
2185 - Removed "refuri" attribute from "footnote_reference" and
2186 "citation_reference".
2187 - Added "sidebar", "rubric", "attribution", "admonition",
2188 "superscript", "subscript", and "inline" elements.
2190 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2192 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2194 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2196 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2199 * spec/transforms.txt: Added to project.
2201 * spec/howto: Added subdirectory, for developer how-to docs.
2203 * spec/howto/rst-directives.txt: Added to project. Original by Dethe
2204 Elza, edited & extended by David Goodger.
2206 * spec/howto/i18n.txt: Docutils Internationalization. Added to
2209 * spec/rst/alternatives.txt:
2211 - Added "Doctree Representation of Transitions" from
2213 - Updated "Inline External Targets" & closed the debate.
2214 - Added ideas for interpreted text syntax extensions.
2215 - Added "Nested Inline Markup" section.
2217 * spec/rst/directives.txt:
2219 - Added directives: "topic", "sectnum", "target-notes",
2220 "line-block", "parsed-literal", "include", "replace", "sidebar",
2221 "admonition", "rubric", "epigraph", "highlights", "unicode" and
2223 - Formalized descriptions of directive details.
2224 - Added an "align" attribute to the "image" & "figure" directives
2225 (by Adam Chodorowski).
2226 - Added "class" options to "topic", "sidebar", "line-block",
2227 "parsed-literal", "contents", and "image"; and "figclass" to
2230 * spec/rst/interpreted.txt: Added to project. Descriptions of
2231 interpreted text roles.
2233 * spec/rst/introduction.txt:
2235 - Added pointers to material for new users.
2237 * spec/rst/reStructuredText.txt:
2239 - Disambiguated comments (just add a newline after the "::").
2240 - Updated enumerated list description; added a discussion of the
2241 second-line validity checking.
2242 - Updated directive description.
2243 - Added a note redirecting newbies to the user docs.
2244 - Expanded description of inline markup start-strings in non-markup
2246 - Removed field arguments and made field lists a generic construct.
2247 - Removed the 4-character minimum for section title underlines.
2248 - Clarified term/classifier delimiter & inline markup ambiguity
2250 - Added "Embedded URIs".
2251 - Updated "Interpreted Text" section.
2252 - Added "Character-Level Inline Markup" section.
2254 * test: Continually adding & updating tests.
2256 - Moved test/test_rst/ to test/test_parsers/test_rst/.
2257 - Moved test/test_pep/ to test/test_readers/test_pep/.
2258 - Added test/test_readers/test_python/.
2259 - Added test/test_writers/ (Engelbert Gruber).
2263 - Made the ``locale.setlocale()`` calls in front ends
2266 * tools/buildhtml.py:
2268 - Added "--silent" option.
2269 - Fixed bug with absolute paths & "--config".
2270 - Updated for new I/O classes.
2271 - Added some exception handling.
2272 - Separated publishers' setting defaults; prevents interference.
2273 - Updated for new ``publish_file()`` convenience function.
2275 * tools/pep-html-template:
2277 - Allow for "--embed-stylesheet".
2278 - Added Docutils version to "generator" meta tag.
2279 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2280 - Conform to XHTML spec.
2282 * tools/pep2html.py:
2284 - Made ``argv`` a parameter to ``main()``.
2285 - Added support for "Content-Type:" header & arbitrary PEP formats.
2286 - Linked "Content-Type: text/plain" to PEP 9.
2287 - Files skipped (due to an error) are not pushed onto the server.
2288 - Updated for new I/O classes.
2289 - Added ``check_requirements()`` & ``pep_type_error()``.
2290 - Added some exception handling.
2291 - Updated for new ``publish_string()`` convenience function.
2292 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2294 * tools/quicktest.py:
2296 - Added "-V"/"--version" option.
2298 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2300 * tools/unicode2rstsubs.py: Added to project. Produces character
2301 entity files (reSructuredText substitutions) from the MathML master
2304 * tools/editors: Support code for editors, added to project. Contains
2305 ``emacs/restructuredtext.el``.
2307 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2309 - Added style for chunks of inline literals.
2310 - Removed margin for first child of table cells.
2311 - Right-aligned field list names.
2312 - Support for auto-numbered section titles in TOCs.
2313 - Increased the size of inline literals (<tt>) in titles.
2314 - Restored the light gray background for inline literals.
2315 - Added support for "line_block" elements.
2316 - Added style for "address" elements.
2317 - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2318 - Improved field list rendering.
2319 - Vertical whitespace improvements.
2320 - Removed "a.target" style.
2322 * tools/stylesheets/pep.css:
2324 - Fixed nested section margins.
2325 - Other changes parallel those of ``../default.css``.
2328 Release 0.2 (2002-07-31)
2329 ========================
2333 - The word "component" was being used ambiguously. From now on,
2334 "component" will be used to mean "Docutils component", as in Reader,
2335 Writer, Parser, or Transform. Portions of documents (Table of
2336 Contents, sections, etc.) will be called "document parts".
2337 - Did a grand renaming: a lot of ``verylongnames`` became
2338 ``very_long_names``.
2339 - Cleaned up imports: no more relative package imports or
2340 comma-separated lists of top-level modules.
2341 - Added support for an option values object which carries default
2342 settings and overrides (from command-line options and library use).
2343 - Added internal Unicode support, and support for both input and
2345 - Added support for the ``docutils.io.IO`` class & subclasses.
2349 * docutils/__init__.py:
2351 - Added ``ApplicationError`` and ``DataError``, for use throughout
2353 - Added ``Component`` base class for Docutils components; implements
2354 the ``supports`` method.
2355 - Added ``__version__`` (thus, ``docutils.__version__``).
2359 - Removed many keyword parameters to ``Publisher.__init__()`` and
2360 ``publish()``; bundled into an option values object. Added
2361 "argv", "usage", "description", and "option_spec" parameters for
2362 command-line support.
2363 - Added ``Publisher.process_command_line()`` and ``.set_options()``
2365 - Reworked I/O model for ``docutils.io`` wrappers.
2366 - Updated ``Publisher.set_options()``; now returns option values
2368 - Added support for configuration files (/etc/docutils.conf,
2369 ./docutils.conf, ~/.docutils).
2370 - Added ``Publisher.setup_option_parser()``.
2371 - Added default usage message and description.
2373 * docutils/frontend.py: Added to project; support for front-end
2374 (command-line) scripts. Option specifications may be augmented by
2375 components. Requires Optik (http://optik.sf.net/) for option
2376 processing (installed locally as docutils/optik.py).
2378 * docutils/io.py: Added to project; uniform API for a variety of input
2381 * docutils/nodes.py:
2383 - Added ``TreeCopyVisitor`` class.
2384 - Added a ``copy`` method to ``Node`` and subclasses.
2385 - Added a ``SkipDeparture`` exception for visitors.
2386 - Renamed ``TreePruningException`` from ``VisitorException``.
2387 - Added docstrings to ``TreePruningException``, subclasses, and
2389 - Improved docstrings.
2390 - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2391 - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2393 - Added ``decoration``, ``header``, and ``footer`` node classes, and
2394 ``PreDecorative`` mixin.
2395 - Reworked the name/id bookkeeping; to ``document``, removed
2396 ``explicit_targets`` and ``implicit_targets`` attributes, added
2397 ``nametypes`` attribute and ``set_name_id_map`` method.
2398 - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2400 - Added ``document.has_name()`` method.
2401 - Fixed DOM generation for list-attributes.
2402 - Added category class ``Labeled`` (used by footnotes & citations).
2403 - Added ``Element.set_class()`` method (sets "class" attribute).
2405 * docutils/optik.py: Added to project. Combined from the Optik
2406 package, with added option groups and other modifications. The use
2407 of this module is probably only temporary.
2409 * docutils/statemachine.py:
2411 - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2412 - Added underscores to improve many awkward names.
2413 - In ``string2lines()``, changed whitespace normalizing translation
2414 table to regexp; restores Python 2.0 compatibility with Unicode.
2416 * docutils/urischemes.py:
2418 - Filled in some descriptions.
2419 - Added "shttp" scheme.
2421 * docutils/utils.py:
2423 - Added ``clean_rcs_keywords`` function (moved from
2424 docutils/transforms/frontmatter.py
2425 ``DocInfo.filter_rcs_keywords``).
2426 - Added underscores to improve many awkward names.
2427 - Changed names of Reporter's thresholds:
2428 warning_level -> report_level; error_level -> halt_level.
2429 - Moved ``utils.id()`` to ``nodes.make_id()``.
2430 - Added ``relative_path(source, target)``.
2432 * docutils/languages/de.py: German mappings; added to project. Thanks
2433 to Gunnar Schwant for the translations.
2435 * docutils/languages/en.py: Added "Dedication" bibliographic field
2438 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2441 * docutils/parsers/rst/states.py:
2443 - Added underscores to improve many awkward names.
2444 - Added RFC-2822 header support.
2445 - Extracted the inline parsing code from ``RSTState`` to a separate
2446 class, ``Inliner``, which will allow easy subclassing.
2447 - Made local bindings for ``memo`` container & often-used contents
2448 (reduces code complexity a lot). See ``RSTState.runtime_init()``.
2449 - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2450 - Added ``MarkupMismatch`` exception; for late corrections.
2451 - Added ``-/:`` characters to inline markup's start string prefix,
2452 ``/`` to end string suffix.
2453 - Fixed a footnote bug.
2454 - Fixed a bug with literal blocks.
2455 - Applied patch from Simon Budig: simplified regexps with symbolic
2456 names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2457 - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2458 - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2459 - Allowed non-ASCII in "simple names" (directive names, field names,
2461 - Converted ``Inliner.patterns.initial`` to be dynamically built
2462 from parts with ``build_regexp()`` function.
2463 - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2464 - Updated docstrings.
2465 - Changed "table" to "grid_table"; added "simple_table" support.
2467 * docutils/parsers/rst/tableparser.py:
2469 - Changed ``TableParser`` to ``GridTableParser``.
2470 - Added ``SimpleTableParser``.
2471 - Refactored naming.
2473 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2474 a fallback language for directive names.
2476 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2477 directive to use a ``pending`` element, used only by HTML writers.
2479 * docutils/parsers/rst/directives/parts.py: Renamed from
2482 - Added "backlinks" attribute to "contents" directive.
2484 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2485 project by Adam Chodorowski.
2487 * docutils/readers/__init__.py: Gave Readers more control over
2488 choosing and instantiating Parsers.
2490 * docutils/readers/pep.py: Added to project; for PEP processing.
2492 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2493 requires a ``component`` parameter.
2495 * docutils/transforms/components.py: Added to project; transforms
2496 related to Docutils components.
2498 * docutils/transforms/frontmatter.py:
2500 - In ``DocInfo.extract_authors``, check for a single "author" in an
2501 "authors" group, and convert it to a single "author" element.
2502 - Added support for "Dedication" and generic bibliographic fields.
2504 * docutils/transforms/peps.py: Added to project; PEP-specific.
2506 * docutils/transforms/parts.py: Renamed from old components.py.
2508 - Added filter for `Contents`, to use alt-text for inline images,
2509 and to remove inline markup that doesn't make sense in the ToC.
2510 - Added "name" attribute to TOC topic depending on its title.
2511 - Added support for optional TOC backlinks.
2513 * docutils/transforms/references.py: Fixed indirect target resolution
2514 in ``Hyperlinks`` transform.
2516 * docutils/transforms/universal.py:
2518 - Changed ``Messages`` transform to properly filter out system
2519 messages below the warning threshold.
2520 - Added ``Decorations`` transform (support for ``--generator``,
2521 ``--date``, ``--time``, ``--source-link`` options).
2523 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2524 Engelbert Gruber's PDF writer.
2526 * docutils/writers/html4css1.py:
2528 - Made XHTML-compatible (switched to lowercase element & attribute
2529 names; empty tag format).
2530 - Escape double-dashes in comment text.
2531 - Improved boilerplate & modularity of output.
2532 - Exposed modular output in Writer class.
2533 - Added a "generator" meta tag to <head>.
2534 - Added support for the ``--stylesheet`` option.
2535 - Added support for ``decoration``, ``header``, and ``footer``
2537 - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2538 translation table to regexp; restores Python 2.0 compatibility
2540 - Added the translator class as instance variable to the Writer, to
2541 make it easily subclassable.
2542 - Improved option list spacing (thanks to Richard Jones).
2543 - Modified field list output.
2544 - Added backlinks to footnotes & citations.
2545 - Added percentage widths to "<col>" tags (from colspec).
2546 - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2547 "<span>" changed to "<var>".
2548 - Inline literals: "<code>" changed to "<tt>".
2549 - Many changes to optimize vertical space: compact simple lists etc.
2550 - Add a command-line options & directive attributes to control TOC
2551 and footnote/citation backlinks.
2552 - Added support for optional footnote/citation backlinks.
2553 - Added support for generic bibliographic fields.
2554 - Identify backrefs.
2555 - Relative URLs for stylesheet links.
2557 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2558 PEPs (subclass of ``html4css1.Writer``).
2560 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2562 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2563 of the Docutils internal doctree in XML.
2565 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2569 - Changed the title to "The Docutils Document Tree".
2570 - Added "Hyperlink Bookkeeping" section.
2572 * spec/docutils.dtd:
2574 - Added ``decoration``, ``header``, and ``footer`` elements.
2575 - Brought ``interpreted`` element in line with the parser: changed
2576 attribute "type" to "role", added "position".
2577 - Added support for generic bibliographic fields.
2579 * spec/notes.txt: Continual updates. Added "Project Policies".
2581 * spec/pep-0256.txt: Updated. Added "Roadmap to the Doctring PEPs"
2584 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2586 * spec/pep-0258.txt: Updated. Added text from pysource.txt and
2587 mailing list discussions.
2589 * spec/pep-0287.txt:
2591 - Renamed to "reStructuredText Docstring Format".
2593 - Reworked Q&A as an enumerated list.
2594 - Converted to reStructuredText format.
2596 * spec/pysource.dtd:
2598 - Reworked structural elements, incorporating ideas from Tony Ibbs.
2600 * spec/pysource.txt: Removed from project. Moved much of its contents
2603 * spec/rst/alternatives.txt:
2605 - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2606 - Added "Inline External Targets" section.
2608 * spec/rst/directives.txt:
2610 - Added "backlinks" attribute to "contents" directive.
2612 * spec/rst/problems.txt:
2614 - Updated the Enumerated List Markup discussion.
2615 - Added new alternative table markup syntaxes.
2617 * spec/rst/reStructuredText.txt:
2619 - Clarified field list usage.
2620 - Updated enumerated list description.
2621 - Clarified purpose of directives.
2622 - Added ``-/:`` characters to inline markup's start string prefix,
2623 ``/`` to end string suffix.
2624 - Updated "Authors" bibliographic field behavior.
2625 - Changed "inline hyperlink targets" to "inline internal targets".
2626 - Added "simple table" syntax to supplement the existing but
2627 newly-renamed "grid tables".
2628 - Added cautions for anonymous hyperlink use.
2629 - Added "Dedication" and generic bibliographic fields.
2631 * test: Made test modules standalone (subdirectories became packages).
2633 * test/DocutilsTestSupport.py:
2635 - Added support for PEP extensions to reStructuredText.
2636 - Added support for simple tables.
2637 - Refactored naming.
2639 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2641 - Now supports true packages containing test modules
2642 (``__init__.py`` files required); fixes duplicate module name bug.
2644 * test/test_pep/: Subpackage added to project; PEP testing.
2646 * test/test_rst/test_SimpleTableParser.py: Added to project.
2650 - Updated html.py and publish.py front-end tools to use the new
2651 command-line processing facilities of ``docutils.frontend``
2652 (exposed in ``docutils.core.Publisher``), reducing each to just a
2654 - Added ``locale.setlocale()`` calls to front-end tools.
2656 * tools/buildhtml.py: Added to project; batch-generates .html from all
2657 the .txt files in directories and subdirectories.
2659 * tools/default.css:
2661 - Added support for ``header`` and ``footer`` elements.
2662 - Added styles for "Dedication" topics (biblio fields).
2664 * tools/docutils.conf: A configuration file; added to project.
2666 * tools/docutils-xml.py: Added to project.
2668 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2670 * tools/pep-html-template: Added to project.
2672 * tools/pep2html.py: Added to project from Python (nondist/peps).
2673 Added support for Docutils (reStructuredText PEPs).
2675 * tools/quicktest.py:
2677 - Added the ``--attributes`` option, hacked a bit.
2678 - Added a second command-line argument (output file); cleaned up.
2680 * tools/stylesheets/: Subdirectory added to project.
2682 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2685 Release 0.1 (2002-04-20)
2686 ========================
2688 This is the first release of Docutils, merged from the now inactive
2689 reStructuredText__ and `Docstring Processing System`__ projects. For
2690 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2691 `DPS HISTORY`__ files.
2693 __ http://structuredtext.sourceforge.net/
2694 __ http://docstring.sourceforge.net/
2695 __ http://structuredtext.sourceforge.net/HISTORY.html
2696 __ http://docstring.sourceforge.net/HISTORY.html
2698 General changes: renamed 'dps' package to 'docutils'; renamed
2699 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2700 the test suites (reStructuredText's test/test_states renamed to
2701 test/test_rst); and all modifications required to make it all work.
2703 * docutils/parsers/rst/states.py:
2705 - Improved diagnostic system messages for missing blank lines.
2706 - Fixed substitution_reference bug.
2712 indent-tabs-mode: nil
2713 sentence-end-double-space: t