1 .. -*- coding: utf-8 -*-
7 :Author: David Goodger; open to all Docutils developers
8 :Contact: goodger@python.org
11 :Web site: http://docutils.sourceforge.net/
12 :Copyright: This document has been placed in the public domain.
21 - New reStructuredText "code" role and directive and "code" option
22 of the "include" directive with syntax highlighting by Pygments_.
23 - Fix parse_option_marker for option arguments containing ``=``.
25 .. _Pygments: http://pygments.org/
29 - Fix [ 2971827 ] and [ 3442827 ]
30 extras/roman.py moved to docutils/utils/roman.py
34 - Fix [ 3395948 ] (Work around encoding problems in Py3k).
36 * docutils/utils.py -> docutils/utils/__init__.py
38 - docutils.utils is now a package (providing a place for sub-modules)
40 .. important:: docutils/math, docutils/error_reporting.py, and
41 docutils/urischemes.py will move to the utils package in the next
42 release, too. Code importing these modules needs to adapt
43 (``import docutils.math`` -> ``import docutils.utils.math``, etc.).
45 - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
46 errors recording non-ASCII filenames (fixes [ 3434355 ].
48 * docutils/parsers/rst/states.py
50 - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
51 characters and "international" quotes around inline markup.
53 * docutils/parsers/rst/tableparser.py
55 - Fix [ 2926161 ] for simple tables.
56 (Combining chars in grid tables still contribute to cell width.)
58 * docutils/writers/latex2e/__init__.py
60 - Support the `abbreviation` and `acronym` standard roles.
61 - Record only files required to generate the LaTeX source as dependencies.
62 - Fix handling of missing stylesheets.
64 * docutils/writers/html4css1/__init__.py
66 - Change default for `math-output` setting to MathJax.
67 - Fix handling of missing stylesheets.
69 * docutils/writers/docutils_xml.py
71 - Use the visitor pattern with default_visit()/default_depart() methods
72 instead of minidom to facilitate special handling of selected nodes.
73 - Support raw XML (inserted as-is inside a <raw></raw> node).
75 * docutils/writers/manpage.py
77 - Do not emit comment line with trailing blank. Problematic for VCS.
79 Release 0.8.1 (2011-08-30)
80 ==========================
84 - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
85 and [ 3395920 ] (correct copyright info for rst.el).
89 - Apply [ 3303733 ] and [ 3365041 ] to fix tests under py3k.
91 * docutils/writers/latex2e/__init__.py
93 - Clean up Babel language setting. Restores Sphinx compatibility.
95 Release 0.8 (2011-07-07)
96 ========================
100 - Handle language codes according to `BCP 47`_.
101 - If the specified language is not supported by Docutils,
102 warn and fall back to English.
103 - Math support: reStructuredText "math" role and directive,
104 ``math`` and ``math_block`` doctree elements.
105 - Decode command line arguments with the locale's preferred encoding
106 (to allow, e.g., ``--title=Dornröschen``).
107 - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
108 - New sub-module `error_reporting`: handle encoding/decoding errors
109 when reporting exceptions.
110 - Some additions to the Docutils core are released under the 2-Clause BSD
111 license, see COPYING_ for details.
113 .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
114 .. _COPYING: COPYING.html
118 - Most directives now support a "name" option that attaches a
121 - Directive content may start on the first line also when the directive
122 type accepts options.
124 * docs/dev/policies.txt:
126 - Recommend the 2-Clause BSD license
127 (http://www.spdx.org/licenses/BSD-2-Clause)
128 for code that is kept under the author's copyright.
130 * tools/buildhtml.py:
132 - Fix ``--local`` switch.
134 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
136 * docutils/writers/html4css1/__init__.py
138 - Set "lang" argument for objects with class argument
139 "language-<language tag>".
140 - New setting "math-output" with support for HTML, MathML, and LaTeX.
142 * docutils/writers/latex2e/__init__.py
144 - Fix [ 3043986 ] AttributeError using :local: with table of content.
145 - Place title data in the document preamble.
146 - Load `babel` package only if required.
147 - Update list of supported languages.
148 - New config setting "hyperref-options".
149 No hard-coded "unicode" hyperref option (clash with xetex).
150 - Set language for custom roles, paragraphs, block-quotes, and
151 line-quotes with class argument "language-<language tag>".
152 - Fix [ 3095603 ] wrong quotes output for russian and other languages.
153 - Convert image URI to a local file path.
154 - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
155 has more than one paragraph (Wolfgang Scherer).
156 - \leavevmode before longtable only when needed (prevents spurious vspace)
157 - do not advance table counter for tables without caption
159 * docutils/writers/xetex/__init__.py
161 - New writer generating LaTeX code for compiling with ``xelatex``.
163 A separate writer (inheriting from latex2e) instead of a ``--xetex``
164 option allows separate config options for XeTeX vs. LaTeX2e.
166 * docutils/writers/manpage.py
168 - Fix: BUG#3219183 - vertical space in definition lists containing markup.
169 - Fix: vertical space cleaning for option group ``.``.
171 * tools/editors/emacs/rst.el:
173 - Fix [ 3001100 ] does not handle spaces in filenames
174 (thanks to Jakub Wilk)
178 - strip whitespace from stylesheet arguments
179 - exclude combining chars from column_width()
180 (partial fix for [ 2926161 ])
182 * docutils/parsers/rst/directives/misc.py:
184 - Fix [ 1830389 ] Replace not breaking on getting system_messages from
189 - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
190 ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
192 Release 0.7 (2010-07-07)
193 ========================
197 - Fix [ 2881769 ] setup configuration.
198 - Fix [ 2788716 ] reporting problems in included files.
202 - FileInput opens files as text files with universal newline support
203 (mode "rU", configurable with the new optional argument "mode").
207 - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
211 - Fix [ 2923723 ] let decode_path() tolerate path == None
213 * docutils/writers/html4css1/__init__.py
215 - Support SVG and SWF images (thanks to Stefan Rank).
216 - Generate valid XHTML for centered images with targets.
217 Use CSS classes instead of "align" tags for image alignment.
219 * docutils/writers/latex2e/__init__.py
221 - Use `transforms.writer_aux.Admonitions` to "normalize" special
223 - Use the ``\url`` command for URLs (breaks long URLs instead of
224 writing into the margin).
225 - Preserve runs of spaces in `inline literals`__.
226 - Deprecate ``figure_footnotes`` setting.
227 - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
228 - New ``latex_preamble`` setting.
229 - Use PDF standard fonts (Times/Helvetica/Courier) as default.
230 - Fix hyperlink targets (labels) for images, figures, and tables.
231 - Apply [ 2961988 ] Load babel after inputenc and fontenc.
232 - Apply [ 2961991 ] Call hyperref with unicode option.
233 - Drop the special `output_encoding`__ default ("latin-1").
234 The Docutils wide default (usually "UTF-8") is used instead.
235 - Render inline markup in document title and subtitle.
236 - Fix numbering depth with LaTeX section numbering.
237 - Update Unicode -> LaTeX translations.
238 - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
240 __ docs/ref/restructuredtext.html#inline-literals
241 __ docs/user/config.html#docutils-footnotes
242 __ docs/user/config.html#output_encoding
244 * docutils/writers/manpage.py
246 - Fix: supported attribute (thanks to peter2108).
247 - Remove trailing blanks in code (keep in sync with mercurial version).
248 - Titles level 1, that is ``.SH``, always uppercase.
249 - Apply patch from mg: literal text should be bold in man-pages.
253 - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
258 - Python 3 support: copy test/ and tools/ to the build-dir
259 and convert Python sources with 2to3.
262 Release 0.6 (2009-10-11)
263 ========================
267 - Docutils is now compatible with Python versions from 2.3 up to 2.6
268 and convertible to 3.1 code.
270 + Node.__nonzero__ returns True instead of 1.
271 + use os.walk instead os.path.walk.
272 + minimize "types" module where possible.
273 + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
274 + Text nodes now subclass unicode rather than UserString
275 (which is gone in python 3.0).
276 + 3.0 compatibility module docutils._compat
278 + Drop 2.2 compatibility workarounds.
279 + Drop extras/optparse.py and extras/textwrap.py
280 (stdlib modules since 2.3).
282 - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
283 - Unix man page export: manpage writer moved from sandbox to Doctutils
286 - Apply [ 1719345 ] Galician translation
287 - Apply [ 1905741 ] Polish translation
288 - Apply [ 1878977 ] make_id(): deaccent characters.
289 - Apply [ 2029251 ] return nonzero when tests fail.
290 - Fix [ 1692788 ] allow UTF-8 in style sheets.
291 - Fix [ 2781629 ] support non-ASCII chars in file names.
292 - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
293 - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
294 - Fix [ 2821266 ] --strict option works now like --halt=info.
295 - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
296 - Fix [ 1627229 ] hyperlink references in substitutions.
298 - The "newlatex" writer is orphaned.
302 - Documented Unicode characters allowed as inline markup openers,
303 closers, and delimiters.
304 - Allow units for all length specifications.
305 - Allow percent sign in "scale" argument of "figure" and "image" directives.
306 - Bugfix: The "figalign" argument of a figure now works as intended
307 (aligning the figure, not its contents).
308 - Align images with class "align-[right|center|left]"
309 (allows setting the alignment of an image in a figure).
313 - Added ``Element.__contains__`` method, for the in-operator.
315 * docutils/parsers/rst/states.py:
317 - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
318 - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
319 " " (non-breaking space), and "¡ ¿" openers.
321 * docutils/parsers/directives/misc.py:
323 - Added ``start-line`` and ``end-line`` options to "include"
324 directive to select a range of lines.
325 - Hard tabs in literal inclusions are replaced by spaces. This is
326 configurable via the new ``tab-width`` option of the "include" directive
327 (a negative tab-width prevents tab expansion).
331 - Add ``get_stylesheet_list`` function.
332 - Apply [ 2834836 ] print info at halt
334 * docutils/transforms/universal.py:
336 - Raise default priority of StripClasses to exclude stripped classes from
339 * docutils/writers/html4css1/__init__.py:
341 - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
342 separated list of stylesheets.
343 - Address [ 1938891 ] Inline literal text creates "pre" span only when
344 needed to prevent inter-word line wraps.
345 - Use `translate` method instead of repeated `replace` calls.
346 - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
347 classes to allow CSS styling that does not interfere with other
348 table-using constructs (field lists, citations, ...).
350 * docutils/writers/newlatex2e/__init__.py:
352 - Apply [ 1612821 ] Double quotes in literal text in Italian/German
354 * docutils/writers/latex2e/__init__.py (see also
355 `<docs/user/docutils-05-compat.sty.html>`__) :
357 - Add ``--embed-stylesheet`` option.
358 - Apply [ 1474017 ] image vertical alignment is reversed.
359 - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
360 - Change: has_key for dictionaries (not Nodes) to in-operator.
361 - Merge adjacent citations into one latex cite command.
362 - Failsave implementation of custom roles. LaTeX compilation now ignores
363 unknown classes instead of aborting with an error.
364 - Support custom roles based on standard roles.
365 - LaTeX packages can be used as ``--stylesheet`` arguments without
366 restriction. (A style sheet is now referenced with the ``\usepackage``
367 command, if it ends with ``.sty`` or has no extension.)
368 - Add ``bp`` to lenghts without unit (prevents LaTex errors).
369 - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
370 - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
371 2005-02-04 as a configurable length unit).
372 - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
373 if font-encoding is set to ''. LaTeX defaults to OT1 then.
374 - Set sub- and superscript role argument in text mode not as math.
375 Use a custom role based on sub-/superscript if you want italic shape.
376 - Shorter preamble and less dependencies: Load packages and define macros
377 only if required in the document.
378 - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
379 - New custom environments and commands with optional "classes" argument.
380 - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
381 - Better conformance to Docutils specifications with ``--use-latex-toc``.
382 Support for LaTeX generated ToC also with unnumbered sections.
383 - If 'sectnum_xform' is False, the 'sectnum' directive triggers
384 section numbering by LaTeX.
385 - Use default font in admonitions and sidebar.
386 - Align of image in a figure defaults to 'center'.
387 - Bugfix: Newlines around targets and references prevent run-together
389 - Fix internal hyperlinks.
390 - Use class defaults for page margins ('typearea' now optional).
391 - Float placement made configurable, default changed to "here definitely".
392 - Typeset generic topic as "quote block with title".
393 - Use template (file and configuration option).
394 - In the default template, load cmap.sty (fix text extraction in PDF) and
395 fixltx2e.sty (LaTeX patches, \textsubscript).
396 - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
397 - Use `translate` instead of repeated `replace` calls for text encoding.
398 - Hyperlinked footnotes and support for symbol footnotes and
399 ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
400 - Complete pairs of binary options
401 (``--figure-footnotes, --figure-citations, --link-stylesheet``,
402 ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
404 - font-encoding: "T1" (formerly implicitely set by 'ae').
405 - use-latex-toc: true (ToC with page numbers).
406 - use-latex-footnotes: true (no mixup with figures).
408 * docutils/writers/manpage.py
410 - Do not print version at document end, this is done by the viewer.
411 - Do not print date at document end, this is done by the viewer.
412 - Fix storage of docinfo fields for none standard fields.
414 * docutils/tools/rst2man.py
416 Release 0.5 (2008-06-25)
417 ========================
419 * docutils/languages/he.py: Added to project: Hebrew mappings by
422 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
423 mappings by Meir Kriheli.
425 * docutils/frontend.py:
427 - Configuration files are now assumed and required to be
429 - Paths of applied configuration files are now recorded in the
430 runtime setting ``_config_files`` (accessible via
431 ``--dump-settings``).
432 - Added ``--strip-elements-with-class`` and ``--strip-class``
433 options (``strip_elements_with_classes`` and ``strip_classes``
438 - Added code to determine the input encoding from data: encoding
439 declarations or the presence of byte order marks (UTF-8 & UTF-16).
440 - Added support for IronPython 1.0.
444 - Added ``document.__getstate__`` method, for pickling.
446 * docutils/parsers/rst/states.py:
448 - Allow ``+`` and ``:`` in reference names.
449 - Unquoted targets beginning with an underscore (``.. __target:
450 URI``) are no longer accepted.
451 - Added support for multiple attributions in a physical block quote
452 (indented text block), dividing it into multiple logical block
454 - Added support for unicode bullets in bullet lists: "•", "‣", and
456 - Added support for new object-oriented directive interface,
457 retaining compatibility to the old functional interface.
458 - Added support for throwing ``DirectiveError``'s from within
461 * docutils/parsers/rst/__init__.py:
463 - Added ``Directive`` base class.
464 - Added ``DirectiveError`` base class.
465 - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
468 * docutils/parsers/directives/:
470 - Refactored all reStructuredText directives to use the new
471 object-oriented directive interface. Errors are now (mostly)
472 thrown using the new ``DirectiveError`` class.
474 * docutils/parsers/directives/misc.py:
476 - Added ``start-after`` and ``end-before`` options to ``include``
477 directive; thanks to Stefan Rank.
479 * docutils/transforms/universal.py:
481 - Added ``StripClassesAndElements`` transform to remove from the
482 document tree all elements with classes in
483 ``settings.strip_elements_with_classes`` and all "classes"
484 attribute values in ``self.document.settings.strip_classes``.
486 * docutils/transforms/writer_aux.py:
488 - Added ``Admonitions`` transform to transform specific admonitions
489 (like ``note``, ``warning``, etc.) into generic admonitions with a
492 * docutils/writers/html4css1/__init__.py:
494 - Moved template functionality from the PEP/HTML writer here.
495 - Expanded the fragments available in the ``parts`` attribute.
496 - Moved ``id`` attributes from titles to surrounding ``div``
498 - Dropped all ``name`` attributes of ``a`` elements (``id`` is
499 universally supported now).
500 - ``template.txt`` is now opened in text mode instead of binary mode
501 (to ensure Windows compatibility).
502 - ``a`` elements now have an "internal" or "external" class,
503 depending on reference type.
505 * docutils/writers/html4css1/template.txt: Added to project.
507 * docutils/writers/pep_html/:
509 - Moved template functionality to the HTML writer.
511 * docutils/writers/s5_html/__init__.py:
513 - Added ``view_mode`` & ``hidden_controls`` settings
514 (``--view-mode`` & ``--hidden-controls/--visible-controls``
517 * docutils/writers/latex2e/__init__.py:
519 - Add ``--literal-block-env``
520 - Fix: escaping ``%`` in href urls.
521 - Move usepackage hyperref after stylesheet inclusion.
522 - Fix: scrartcl does not have chapter but scrreprt.
523 - Add newline after ``\end{verbatim}``.
524 - Merge smaller differences from latex2e_adaptive_preamble.
525 - Add ``use-part-section``.
526 - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
527 - Using leavemode option_list no longer needs to check if parent
528 is a definition list.
529 - Append ``\leavemode`` to definition list terms.
530 - No longer write visit\_/depart_definition_list_item comments to
532 - Table column width with 3 decimal places.
533 - Add table stubs support (boldfont).
534 - Add assemble_parts to writer.
535 - Add simply support for nested tables.
536 - Fix verbatim in tables if use-verbatim-when-possible.
537 - Use section commands down to subparagraph.
538 - Put ensuremath around some latin1 chars.
539 - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
540 - New option ``--use-bibtex=style,db1,db2``.
541 - New option ``--reference-label`` to allow usage of LaTeX ref for
542 labels in section references.
543 - Add a label after every section to support sectionnumbers as reference
545 - Fix: bug# 1605376 rst2latex: bad options group list
546 - Remove inactive code for use_optionlist_for_option_list.
547 - Remove latex comments from option_list output.
548 - Fix: bug# 1612270 double qoutes in italian literal.
549 - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
550 - Add option --use-latex-abstract.
551 - Image width unit ``px`` is translated to ``pt``.
552 - Add image height support.
553 - Fix: image width ``70%`` is converted ``0.700\linewidth``.
555 - Fix: Do not escape underscores in citation reference labels if
556 use-latex-citations is set.
557 - Use centering instead of center for figure contents, to avoid vertical
559 - Recognize table class: borderless, nolines, booktabs, standard.
560 - Fix: Renaming contents section does not work with latex writer; SF
562 - Applied patch for custom roles with classes from Edward Loper.
563 - Fixed bug that caused crashes with more than 256 lists.
565 * docutils/writers/pep_html/__init__.py:
567 - Changed to support new python.org website structure and
570 * docs/howto/security.txt: "Deploying Docutils Securely", added to
573 * tools/buildhtml.py:
575 -- Added ``ignore`` setting to exclude a list of shell patterns
576 (default: ``.svn:CVS``).
578 * tools/editors/emacs/rst.el:
580 - Changed license to "GPL".
581 - Added ``rst-straighten-decorations`` function.
582 - The ``compile`` module is now always loaded.
583 - Added ``rst-toggle-line-block`` function.
584 - Headings consisting only of non-ASCII characters are now
585 recognized by ``rst-toc`` and ``rst-adjust``.
586 - Added font-lock support for multi-line comments where the first
587 comment line is empty.
588 - Added ``(require 'font-lock)``.
592 - Provide descriptive error message if distutils is missing.
595 Release 0.4 (2006-01-09)
596 ========================
600 - Updated the project policies for trunk/branch development &
603 * docutils/__init__.py:
605 - Added ``__version_details__`` attribute to describe code source
606 (repository/snapshot/release).
607 - Replaced ``default_transforms`` attribute of TransformSpec with
608 ``get_transforms()`` method.
612 - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
613 functions, for document tree extraction and reprocessing.
617 - Added ``DocTreeInput`` class, for reprocessing existing documents.
618 - Added support for non-Unicode (e.g. binary) writer output.
622 - Re-introduced ``Targetable.indirect_reference_name``, for
623 MoinMoin/reST compatibility (removed in r3124/r3129).
624 - Added ``serial_escape`` function; escapes string values that are
625 elements of a list, for serialization. Modified Docutils-XML
626 writing (``Element._dom_node``) and pseudo-XML writing
627 (``Element.starttag``) to use ``serial_escape``.
628 - Added ``Node.deepcopy()`` method.
629 - Removed the internal lists ``document.substitution_refs``,
630 ``document.anonymous_refs``, and ``document.anonymous_targets``.
631 - Added a "container" element.
632 - Fixed bug where values of list-valued attributes of elements
633 originating from custom interpreted text roles (i.e., with custom
634 classes) were being shared between element instances. Reported by
637 * docutils/statemachine.py:
639 - Added trailing whitespace stripping to ``string2lines()``.
640 - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
641 Asian double-width character support.
645 - Added ``east_asian_column_width()`` for double-width character
648 * docutils/languages/ja.py: Added to project: Japanese mappings by
651 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
652 mappings by Panjunyong.
654 * docutils/parsers/null.py: Added to project; a do-nothing parser.
656 * docutils/parsers/rst/__init__.py:
658 - Added validator to tab_width setting, with test. Closes SF bug
659 #1212515, report from Wu Wei.
661 * docutils/parsers/rst/states.py:
663 - Fixed bug with escaped colons indicating a literal block.
664 - Fixed bug with enumerated lists (SF#1254145).
665 - Backslash-escaped colons inside of field names are now allowed.
666 - Targets (implicit and explicit), anonymous hyperlink references
667 and auto-numbered footnote references inside of substitution
668 definitions are now disallowed.
669 - Fixed bug: list items with blank first lines.
670 - Fixed bug: block quote attributions with indented second lines.
671 - Added East Asian double-width character support (Python 2.4 only).
673 * docutils/parsers/rst/tableparser.py:
675 - Added East Asian double-width character support (Python 2.4 only).
677 * docutils/parsers/rst/directives/body.py:
679 - Added the "container" directive.
681 * docutils/parsers/rst/directives/misc.py:
683 - Added the "default-role", "title", and "date" directives.
684 - Added standard data file syntax to the "include" directive.
685 - Added support for "class" directive content.
687 * docutils/parsers/rst/directives/images.py:
689 - Added ``indirect_reference_name`` support for images with a target
691 - Added support for image width and height units.
692 - Fixed bug with image "target" options.
694 * docutils/parsers/rst/directives/references.py:
696 - Added "class" attribute to "target-notes" directive, for
697 footnote_reference classes.
699 * docutils/parsers/rst/include/: Directory added to project; contains
700 standard data files for the "include" directive. Initial contents:
701 character entity substitution definition sets, and a set of
702 definitions for S5/HTML presentations.
704 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
705 mappings by David Goodger.
707 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
708 Simplified Chinese mappings by Panjunyong.
710 * docutils/readers/__init__.py:
712 - Added universal.Decorations and universal.ExposeInternals
713 transforms as default transforms for all readers.
714 - Added ``ReReader`` base class for readers that reread an existing
717 * docutils/readers/doctree.py: Added to project; a reader for existing
720 * docutils/transforms/frontmatter.py:
722 - Fixed the DocInfo transform to handle SVN-style expansion of the
724 - In ``DocInfo.extract_authors``, treat the contents of "authors"
727 * docutils/transforms/misc.py:
729 - Added misc.Transitions transform, extracted from
730 universal.FinalChecks.
732 * docutils/transforms/references.py:
734 - Added references.DanglingReferences transform, extracted from
735 universal.FinalChecks.
736 - Fixed bug with doubly-indirect substitutions.
737 - Added footnote_reference classes attribute to "TargetNotes".
738 - Fixed bug with circular substitution definitions that put Docutils
739 into an infinite loop.
741 * docutils/transforms/universal.py:
743 - Added universal.ExposeInternals transform, extracted from
744 universal.FinalChecks.
745 - Removed universal.FinalChecks transform (logic has been moved to
746 several new transforms).
747 - Fixed bug with the "expose_internals" setting and Text nodes
748 (exposed by the "rawsource" internal attribute).
749 - Added the universal.StripComments transform, implementation of the
750 "strip_comments" setting.
752 * docutils/transforms/writer_aux.py: Added to project; auxiliary
753 transforms for writers.
755 - Added ``Compound`` transform, which flattens compound paragraphs.
757 * docutils/writers/: Several writer modules (html4css1.py) were
758 converted into packages. Support modules and data files have been
759 moved into the packages. The stylesheets for the HTML writers are
760 now installed along with the code, the code knows where to find
761 them, and the default is to use them (actually, to embed them).
762 Some adjustments to configuration files may be necessary. The
763 easiest way to obtain the new default behavior is to remove all
764 settings whose name includes "stylesheet".
766 * docutils/writers/__init__.py:
768 - Added universal.Messages and universal.FilterMessages transforms
769 as default transforms for all writers.
770 - Added ``UnfilteredWriter`` base class for writers that pass the
771 document tree on unchanged.
773 * docutils/writers/docutils_xml.py:
775 - Made ``xmlcharrefreplace`` the default output encoding error
778 * docutils/writers/html4css1/:
780 - Added support for image width and height units.
781 - Made ``xmlcharrefreplace`` the default output encoding error
783 - Made ``--embed-stylesheet`` the default rather than
784 ``--link-stylesheet``.
785 - Moved "id" attribute from container (section etc.) to title's <a>
786 tag, to be on the same tag as "name".
787 (!!! To be reverted in Docutils 0.5.)
788 - Added vertical space between fields of field lists.
789 - Added ``--compact-field-lists`` option to remove vertical space in
791 - Made cloaking of email addresses with ``--cloak-email-addresses``
793 - Fixed support for centered images.
794 - Added support for class="compact" & class="open" lists.
796 * docutils/writers/latex2e/:
798 - Underscores in citekeys are no longer escaped.
800 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
801 mapping of Unicode characters to LaTeX equivalents.
803 * docutils/writers/s5_html/: Package added to project; writer for
806 * docs/dev/distributing.txt: Added to project; guide for distributors
807 (package maintainers).
809 * docs/dev/hacking.txt: Added to project; guide for developers.
811 * docs/ref/doctree.txt:
813 - Updated for plural attributes "classes", "ids", "names",
815 - Added the "container" element.
817 * docs/ref/docutils.dtd:
819 - Updated for plural attributes "classes", "ids", "names",
822 * docs/user/emacs.txt: Added to project; a document about Emacs
823 support for reStructuredText and Docutils.
825 * docs/user/links.txt: Added to project; lists of Docutils-related
828 * docs/user/mailing-lists.txt: Added to project; information about
829 Docutils-related mailing lists and how to access them.
831 * docs/user/slide-shows.txt: Added to project; example of and docs for
832 the S5/HTML writer (``rst2s5.py`` front end).
834 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
835 Files", added to project.
837 * test/coverage.sh: Added to project; test coverage script.
839 * test/DocutilsTestSupport.py:
841 - Added support for specifying runtime settings at the suite level.
843 * test/test_functional.py:
845 - Added the ``clear_output_directory`` function.
846 - Added support for ``_test_more`` functions in functional test
849 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
851 * tools/rstpep2html.py: Renamed from pep.py.
853 * tools/dev/create_unimap.py: Added to project; script to create the
854 docutils/writers/unimap_latex.py mapping file.
856 * tools/dev/profile_docutils.py: Added to project; profiler script.
858 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
860 * tools/editors/emacs/restructuredtext.el,
861 tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
862 Removed from project; the functionality is now contained in rst.el.
864 * tools/editors/emacs/rst.el: Added to project. Added many features
865 and fixed many bugs. See docs/user/emacs.txt for details.
867 * tools/stylesheets: Removed from project. Stylesheets have been
868 renamed and moved into writer packages.
871 Release 0.3.9 (2005-05-26)
872 ==========================
876 - Eliminated and replaced all uses of the old string attributes
877 ``id``, ``name``, ``dupname`` and ``class`` with references to the
878 new list attributes ``ids``, ``names``, ``dupnames`` and
879 ``classes`` throughout the whole source tree.
883 - Enabled ``--dump-*`` options when ``--traceback`` specified,
884 allowing for easier debugging.
885 - In ``Publisher.publish()``, expanded the generic top-level
888 * docutils/examples.py:
890 - Added ``internals`` function for exploration.
894 - Fixed ``Input.decode`` method to apply heuristics only if no
895 encoding is explicitly given, and to provide better reporting of
897 - The ``Input.decode`` method now removes byte order marks (BOMs)
902 - ``image`` element class changed to subclass of Element, not
903 TextElement (it's an empty element, and cannot contain text).
904 - Added ``attr_defaults`` dictionary for default attribute values.
905 - Added empty list as default value for the following attributes:
906 ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
907 - Added ``document.decoration`` attribute,
908 ``document.get_decoration`` method, and ``decoration.get_header``
909 & ``.get_footer`` methods.
910 - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
915 - Removed ``docutils.utils.Reporter.categories``,
916 ``docutils.utils.ConditionSet``, and all references to them, to
917 simplify error reporting.
919 * docutils/languages/nl.py: Added to project; Dutch mappings by
922 * docutils/parsers/rst/__init__.py:
924 - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
926 * docutils/parsers/rst/states.py:
928 - Added check for escaped at-mark to prevent email address recognition.
929 - Fixed option lists to allow spaces inside ``<angle-bracketed option
931 - Allowed whitespace in paths and URLs.
932 - Added auto-enumerated list items.
933 - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
935 - Added support for table stub columns.
937 * docutils/parsers/rst/directives/__init__.py:
939 - Allowed whitespace in paths (``path`` function).
940 - Added ``uri`` directive option conversion function.
942 * docutils/parsers/rst/directives/body.py:
944 - Fixed illegal context bug with "topic" directive (allowed within
945 sidebars; not within body elements).
947 * docutils/parsers/rst/directives/images.py:
949 - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
950 - Added support for the ``file_insertion_enabled`` setting in the
951 "figure" directive (disables "figwidth" option).
952 - "image" directive: added checks for valid values of "align" option,
953 depending on context. "figure" directive: added specialized
954 "align" option and attribute on "figure" element.
955 - Made ":figwidth: image" option of "figure" directive work again.
956 - Fixed bug with reference names containing uppercase letters
957 (e.g. ``Name_``) in "target" option of "image" directive.
959 * docutils/parsers/rst/directives/misc.py:
961 - Fixed "include" and "raw" directives to catch text decoding
963 - Allowed whitespace in "include" & "raw" directive paths.
964 - Added support for ``file_insertion_enabled`` & ``raw_enabled``
965 settings in "include" & "raw" directives.
967 * docutils/parsers/rst/directives/parts.py:
969 - Added "header" & "footer" directives.
970 - Fixed illegal context bug with "contents" directive (topics
971 allowed within sidebars; not within body elements).
973 * docutils/parsers/rst/directives/tables.py:
975 - Added "list-table" directive.
976 - Caught empty CSV table bug.
977 - Added support for the ``file_insertion_enabled`` setting in the
978 "csv-table" directive.
979 - Added ``stub-columns`` option to "csv-table" and "list-table"
982 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
983 mappings by Martijn Pieters.
985 * docutils/readers/standalone.py:
987 - Added ``--section-subtitles`` and ``--no-section-subtitles``
988 options to activate or deactivate the SectSubTitle transform.
990 * docutils/transforms/frontmatter.py:
992 - Added SectSubTitle transform to promote titles of lone
993 subsections to subtitles.
995 * docutils/transforms/references.py:
997 - Fixed mislocated internal targets bug, by propagating internal
998 targets to the next node, making use of the newly added support
999 for multiple names and IDs.
1000 - Fixed duplicate footnote label bug.
1001 - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1004 * docutils/writers/html4css1.py:
1006 - Fixed unencoded stylesheet reference bug (characters like "&" in
1007 stylesheet references).
1008 - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1010 - Added support for multiple IDs per node by creating empty ``span``
1012 - Added the ``field_name_limit`` & ``option_limit`` settings &
1014 - Added support for table stub columns.
1015 - Added support for the ``align`` attribute on ``figure`` elements.
1016 - Added the ``cloak_email_addresses`` setting & support.
1017 - Added ``html_prolog``, ``html_head``, ``html_body``,
1018 ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1019 ``docutils.core.publish_parts``.
1020 - Added support for section subtitles.
1022 * docutils/writers/latex2e.py:
1024 - Fixed tables starting with more than one multirow cell.
1025 - Improved --use-latex-docinfo so that organization/contact/address
1026 fields are lumped with the last author field and appear on the
1028 - Made sure the titlepage is always shown with --use-latex-docinfo,
1029 even if the document has no title.
1030 - Made sure that latex doesn't fill in today's date if no date field
1032 - Added support for section subtitles.
1034 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1035 (under development).
1037 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1039 * docs/api/publisher.txt:
1041 - Added "``publish_parts`` Details" section.
1043 * docutils/dev/repository.txt: Added to project; information about the
1044 Docutils Subversion repository.
1046 * docs/ref/docutils.dtd:
1048 - Added a ``stub`` attribute to the ``colspec`` element via the
1049 ``tbl.colspec.att`` parameter entity.
1050 - Allowed topic elements within sidebars
1051 - Added an ``align`` attribute to the ``figure`` element.
1053 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1057 Release 0.3.7 (2004-12-24)
1058 ==========================
1060 * docutils/frontend.py:
1062 - Added options: --input-encoding-error-handler,
1063 --record-dependencies, --leave-footnote-reference-space,
1065 - Added command-line and config file support for "overrides" setting
1070 - Added support for input encoding error handler.
1072 * docutils/nodes.py:
1074 - Added dispatch_visit and dispatch_departure methods to
1075 NodeVisitor; useful as a hook for Visitors.
1076 - Changed structure of ``line_block``; added ``line``.
1077 - Added ``compound`` node class.
1078 - Added a mechanism for Visitors to transitionally ignore new node
1081 * docutils/utils.py:
1083 - Moved ``escape2null`` and ``unescape`` functions from
1084 docutils/parsers/rst/states.py.
1086 * docutils/parsers/rst/roles.py:
1089 - Changed role function API: the "text" parameter now takes
1090 null-escaped interpreted text content.
1092 * docutils/parsers/rst/states.py:
1094 - Fixed bug where a "role" directive in a nested parse would crash
1095 the parser; the state machine's "language" attribute was not being
1097 - Added support for line block syntax.
1098 - Fixed directive parsing bug: argument-less directives didn't
1099 notice that arguments were present.
1100 - Removed error checking for transitions.
1101 - Added support for multiple classifiers in definition list items.
1102 - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1103 - Changed role function API: the "text" parameter now takes
1104 null-escaped interpreted text content.
1105 - Empty sections and documents are allowed now.
1107 * docutils/parsers/rst/directives/__init__.py:
1109 - Added ``encoding`` directive option conversion function.
1110 - Allow multiple class names in class_option conversion function.
1112 * docutils/parsers/rst/directives/body.py:
1114 - Converted the line-block directive to use the new structure.
1115 - Extracted the old line-block functionality to the ``block``
1116 function (still used).
1117 - Added ``compound`` directive (thanks to Lea Wiemann).
1119 * docutils/parsers/rst/directives/misc.py:
1121 - Added "encoding" option to "include" and "raw" directives.
1122 - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1123 - Allow multiple class names in the "class" directive.
1125 * docutils/parsers/rst/directives/parts.py:
1127 - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1128 options. Thanks to Lele Gaifax.
1130 * docutils/parsers/rst/directives/tables.py:
1132 - Added "encoding" directive to "csv-table" directive.
1133 - Added workaround for lack of Unicode support in csv.py, for
1134 non-ASCII CSV input.
1136 * docutils/transforms/misc.py:
1138 - Fixed bug when multiple "class" directives are applied to a single
1140 - Enabled multiple format names for "raw" directive.
1142 * docutils/transforms/references.py:
1144 - Added support for trimming whitespace from beside substitution
1147 * docutils/transforms/universal.py:
1149 - FinalChecks now checks for illegal transitions and moves
1150 transitions between sections.
1152 * docutils/writers/html4css1.py:
1154 - HTMLTranslator.encode now converts U+00A0 to " ".
1155 - "stylesheet" and "stylesheet_path" settings are now mutually
1157 - Added support for the new line_block/line structure.
1158 - --footnote-references now overrides
1159 --trim-footnote-reference-space, if applicable.
1160 - Added support for ``compound`` elements.
1161 - Enabled multiple format names for "raw" directive.
1162 - ``<p>`` tags of a paragraph which is the only visible child of the
1163 document node are no longer stripped.
1164 - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1165 new method ``should_be_compact_paragraph()``.
1166 - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1168 - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1169 the output if they have their ``class`` attribute set.
1170 - The whole document is now surrounded by a ``<div
1171 class="document">`` element.
1172 - Body-level images are now wrapped by their own ``<div>`` elements,
1173 with image classes copied to the wrapper, and for images which
1174 have the ``:align:`` option set, the surrounding ``<div>`` now
1175 receives a class attribute (like ``class="align-left"``).
1177 * docutils/writers/latex2e.py:
1179 - no newline after depart_term.
1180 - Added translations for some Unicode quotes.
1181 - Added option "font-encoding", made package AE the default.
1182 - "stylesheet" and "stylesheet_path" settings are now mutually
1184 - --footnote-references now overrides
1185 --trim-footnote-reference-space, if applicable.
1186 - The footnote label style now matches the footnote reference style
1187 ("brackets" or "superscript").
1188 - Added support for ``compound`` elements.
1189 - Enabled multiple format names for "raw" directive.
1191 * docs/ref/docutils.dtd:
1193 - Changed structure of the ``line_block`` element; added ``line``.
1194 - Added ``compound`` element.
1195 - Added "ltrim" and "rtrim" attributes to
1196 ``substitution_definition`` element.
1197 - Enabled multiple format names for ``raw`` element.
1198 - Enabled multiple classifiers in ``definition_list_item`` elements.
1200 * docs/ref/rst/directives.txt
1202 - Marked "line-block" as deprecated.
1203 - "Class" directive now allows multiple class names.
1204 - Added "Rationale for Class Attribute Value Conversion".
1205 - Added warning about "raw" overuse/abuse.
1207 * docs/ref/rst/restructuredtext.txt:
1209 - Added syntax for line blocks.
1210 - Definition list items may have multiple classifiers.
1212 * docs/ref/rst/roles.txt:
1216 * tools/stylesheets/default.css:
1218 - Added support for the new line_block structure.
1219 - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1222 Release 0.3.5 (2004-07-29)
1223 ==========================
1227 * _`Documentation cleanup/reorganization`.
1229 - Created new subdirectories of docs/:
1231 * ``docs/user/``: introductory/tutorial material for end-users
1232 * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1233 * ``docs/api/``: API reference material for client-developers
1234 * ``docs/ref/``: reference material for all groups
1235 * ``docs/howto/``: for component-developers and core-developers
1236 * ``docs/peps/``: Python Enhancement Proposals
1238 - Moved ``docs/*`` to ``docs/user/``.
1239 - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1240 ``spec/`` to ``docs/dev``.
1241 - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1242 ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1243 - Moved ``alternatives.txt``, and ``problems.txt`` from
1244 ``spec/rst/`` to ``docs/dev/rst/``.
1245 - Moved ``reStructuredText.txt``, ``directives.txt``,
1246 ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1247 to ``docs/ref/rst/``. Renamed ``interpreted.txt`` to
1248 ``roles.txt``, ``reStructuredText.txt`` to
1249 ``restructuredtext.txt``.
1250 - Moved ``spec/howto/`` to ``docs/howto``.
1252 In order to keep the CVS history of moved files, we supplied
1253 SourceForge with a `script for modifying the Docutils CVS
1256 __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1258 After running the cleanup script:
1260 - Added ``docs/index.txt``.
1261 - Added a ``.htaccess`` file to the ``web`` module, containing
1262 redirects for all old paths to new paths. They'll preserve
1263 fragments (the "#name" part of a URL), and won't clutter up the
1264 file system, and will correct the URL in the user's browser.
1265 - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1266 ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1267 the "To Do" list itself in ``docs/dev/todo.txt``.
1268 - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1269 section of ``docs/dev/todo.txt``.
1270 - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1271 - Added "How To Report Bugs" to ``BUGS.txt``.
1272 - Went through all the sources and docs (including under web/) and
1273 updated links. Mostly done by Lea Wiemann; thanks Lea!
1274 (Still need to update links in the sandboxes.)
1278 * BUGS.txt: Added to project.
1280 * THANKS.txt: Added to project.
1282 * docutils/__init__.py:
1284 - 0.3.4: Post-release.
1288 - Added special error handling & advice for UnicodeEncodeError.
1289 - Refactored Publisher.publish (simplified exception handling &
1290 extracted debug dumps).
1291 - Renamed "enable_exit" parameter of convenience functions to
1292 "enable_exit_status".
1293 - Enabled traceback (exception propagation) by default in
1294 programmatic convenience functions.
1295 - Now publish_file and publish_cmdline convenience functions return
1296 the encoded string results in addition to their regular I/O.
1297 - Extracted common code from publish_file, publish_string, and
1298 publish_parts, into new publish_programmatically. Extracted
1299 settings code to ``Publisher.process_programmatic_settings``.
1300 - In Publisher.publish, disabled ``settings_overrides`` when
1301 ``settings`` is supplied; redundant.
1303 * docutils/frontend.py:
1305 - Added help text for "--output-encoding-error-handler" and
1306 "--error-encoding-error-handler".
1307 - Renamed "--exit" to "--exit-status".
1308 - Simplified default-setting code.
1310 * docutils/parsers/rst/__init__.py:
1312 - Added "--pep-base-url" and "--rfc-base-url" options.
1314 * docutils/parsers/rst/states.py:
1316 - Made URI recognition more aggressive and intelligent.
1318 * docutils/parsers/rst/directives/__init__.py:
1320 - Added several directive option conversion functions.
1322 * docutils/parsers/rst/directives/body.py:
1324 - Moved "table" directive to tables.py.
1326 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1329 * docutils/writers/latex2e.py:
1331 - Added "--table-style=(standard|booktabs|nolines)"
1332 - figures get "here" option (LaTeX per default puts them at bottom),
1333 and figure content is centered.
1334 - Rowspan support for tables.
1335 - Fix: admonition titles before first section.
1336 - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1337 - Replave ``_`` in literal by an underlined blank, because it has the correct
1339 - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1340 - A few unicode replacements, if output_encoding != utf
1341 - Add "--graphicx-option".
1342 - Indent literal-blocks.
1343 - Fix: omit ``\maketitle`` when there is no document title.
1345 * docs/index.txt: "Docutils Project Documentation Overview", added to
1348 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1349 Tool", added to project.
1351 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1353 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1355 * docs/dev/policies.txt: Added to project (extracted from
1356 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1358 * docs/dev/release.txt: Added to project (extracted from
1359 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1361 * docs/dev/testing.txt: Added to project.
1363 * docs/dev/website.txt: Added to project (extracted from
1364 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1366 * docs/ref/rst/directives.txt:
1368 - Added directives: "table", "csv-table".
1370 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1371 added to project. 1 page for syntax, and a 1 page reference for
1372 directives and roles. Source text to be used as-is; not meant to be
1375 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1376 with a change of title.
1378 * test/functional/, contents, and test/test_functional.py: Added to
1381 * tools/buildhtml.py: Fixed bug with config file handling.
1383 * tools/html.py: Removed from project (duplicate of rst2html.py).
1385 * tools/pep2html.py: Removed from project (duplicate of Python's
1386 nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1387 Docutils-related PEPs in docs/peps/).
1389 * tools/rst2pseudoxml.py: Renamed from publish.py.
1391 * tools/rst2xml.py: Renamed from docutils-xml.py.
1393 * tools/test.txt: Removed from project; moved to
1394 docs/user/rst/demo.txt.
1396 * setup.py: Now also installs ``rst2latex.py``.
1399 Release 0.3.3 (2004-05-09)
1400 ==========================
1402 * docutils/__init__.py:
1404 - 0.3.1: Reorganized config file format (multiple sections); see
1406 - Added unknown_reference_resolvers attribute to TransformSpec.
1407 - 0.3.2: Interpreted text reorganization.
1412 - Catch system messages to stop tracebacks from parsing errors.
1413 - Catch exceptions during processing report & exit without
1414 tracebacks, except when "--traceback" used.
1415 - Reordered components for OptionParser; application comes last.
1416 - Added "config_section" parameter to several methods and functions,
1417 allowing front ends to easily specify their config file sections.
1418 - Added publish_parts convenience function to allow access to individual
1419 parts of a document.
1421 * docutils/examples.py: Added to project; practical examples of
1422 Docutils client code, to be used as-is or as models for variations.
1424 * docutils/frontend.py:
1426 - Added "--traceback" & "--no-traceback" options ("traceback"
1428 - Implemented support for config file reorganization:
1429 ``standard_config_files`` moved from ``ConfigParser`` to
1430 ``OptionParser``; added
1431 ``OptionParser.get_config_file_settings()`` and
1432 ``.get_standard_config_settings()``; support for old "[options]"
1433 section (with deprecation warning) and mapping from old to new
1435 - Reimplemented setting validation.
1436 - Enabled flexible boolean values: yes/no, true/false, on/off.
1437 - Added ``Values``, a subclass of ``optparse.Values``, with support
1438 for list setting attributes.
1439 - Added support for new ``DOCUTILSCONFIG`` environment variable;
1440 thanks to Beni Cherniavsky.
1441 - Added "--no-section-numbering" option.
1445 - Catch IOErrors when opening source & destination files, report &
1446 exit without tracebacks. Added ``handle_io_errors`` parameter to
1447 ``FileInput`` & ``FileOutput`` to enable caller error handling.
1449 * docutils/nodes.py:
1451 - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1452 method definitions (via ``exec``) to dynamic assignments (via
1453 ``setattr``); thanks to Roman Suzi.
1454 - Encapsulated visitor dynamic assignments in a function; thanks to
1456 - Added indirect_reference_name attribute to the Targetable
1457 class. This attribute holds the whitespace_normalized_name
1458 (contains mixed case) of a target.
1460 * docutils/statemachine.py:
1462 - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1463 - Added ``StringList.get_2D_block``.
1465 * docutils/utils.py:
1467 - Added "level" attribute to SystemMessage exceptions.
1469 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1472 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1475 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1476 Marcelo Huerta San Martin.
1478 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1479 mappings by Lalo Martins.
1481 * docutils/languages/ru.py: Added to project; Russian mappings by
1484 * docutils/parsers/rst/roles.py: Added to project. Contains
1485 interpreted text role functions, a registry for interpreted text
1486 roles, and an API for adding to and retrieving from the registry.
1487 Contributed by Edward Loper.
1489 * docutils/parsers/rst/states.py:
1491 - Updated ``RSTState.nested_parse`` for "include" in table cells.
1492 - Allowed true em-dash character and "---" as block quote
1494 - Added support for <angle-bracketed> complex option arguments
1496 - Fixed handling of backslashes in substitution definitions.
1497 - Fixed off-by-1 error with extra whitespace after substitution
1498 definition directive.
1499 - Added inline markup parsing to field lists' field names.
1500 - Added support for quoted (and unindented) literal blocks.
1501 Driven in part by a bribe from Frank Siebenlist (thanks!).
1502 - Parser now handles escapes in URIs correctly.
1503 - Made embedded-URIs' reference text omittable. Idea from Beni
1505 - Refactored explicit target processing code.
1506 - Added name attribute to references containing the reference name only
1507 through whitespace_normalize_name (no case changes).
1508 - parse_target no longer returns the refname after going through
1509 normalize_name. This is now handled in make_target.
1510 - Fixed bug relating to role-less interpreted text in non-English
1512 - Reorganized interpreted text processing; moved code into the new
1513 roles.py module. Contributed by Edward Loper.
1514 - Refactored ``Body.parse_directive`` into ``run_directive`` and
1515 ``parse_directive_block``.
1517 * docutils/parsers/rst/tableparser.py:
1519 - Reworked for ``StringList``, to support "include" directives in
1522 * docutils/parsers/rst/directives/__init__.py:
1524 - Renamed ``unchanged()`` directive option conversion function to
1525 ``unchanged_required``, and added a new ``unchanged``.
1526 - Catch unicode value too high error; fixes bug 781766.
1527 - Beefed up directive error reporting.
1529 * docutils/parsers/rst/directives/body.py:
1531 - Added basic "table" directive.
1533 * docutils/parsers/rst/directives/images.py:
1535 - Added "target" option to "image" directive.
1536 - Added name attribute to references containing the reference name only
1537 through whitespace_normalize_name (no case changes).
1539 * docutils/parsers/rst/directives/misc.py:
1541 - Isolated the import of the ``urllib2`` module; was causing
1542 problems on SourceForge (``libssl.so.2`` unavailable?).
1543 - Added the "role" directive for declaring custom interpreted text
1546 * docutils/parsers/rst/directives/parts.py:
1548 - The "contents" directive does more work up-front, creating the
1549 "topic" and "title", and leaving the "pending" node for the
1550 transform. Allows earlier reference resolution; fixes subtle bug.
1552 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1553 mappings by Jannie Hofmeyr.
1555 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1556 mappings by Marek Blaha.
1558 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1559 mappings by Marcelo Huerta San Martin.
1561 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1562 Portuguese mappings by Lalo Martins.
1564 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1565 mappings by Roman Suzi.
1567 * docutils/transforms/parts.py:
1569 - The "contents" directive does more work up-front, creating the
1570 "topic" and "title", and leaving the "pending" node for the
1571 transform. Allows earlier reference resolution; fixes subtle bug.
1572 - Added support for disabling of section numbering.
1574 * docutils/transforms/references.py:
1576 - Verifying that external targets are truly targets and not indirect
1577 references. This is because we are now adding a "name" attribute to
1578 references in addition to targets. Note sure if this is correct!
1579 - Added code to hook into the unknown_reference_resolvers list for a
1580 transformer in resolve_indirect_target. This allows the
1581 unknown_reference_resolvers to keep around indirect targets which
1582 docutils doesn't know about.
1583 - Added specific error message for duplicate targets.
1585 * docutils/transforms/universal.py:
1587 - Added FilterMessages transform (removes system messages below the
1588 verbosity threshold).
1589 - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1590 to FinalCheckVisitor for application-specific handling of
1591 unresolvable references.
1592 - Added specific error message for duplicate targets.
1594 * docutils/writers/__init__.py:
1596 - Added assemble_parts method to the Writer class to allow for
1597 access to a documents individual parts.
1598 - Documented & set default for ``Writer.output`` attribute.
1600 * docutils/writers/html4css1.py:
1602 - Fixed unicode handling of attribute values (bug 760673).
1603 - Prevent duplication of "class" attribute values (bug report from
1605 - Improved table grid/border handling (prompted by report from Bob
1607 - Added support for table titles.
1608 - Added "<title />" for untitled docs, for XHTML conformance; thanks
1610 - Added functionality to keep track of individual parts of a document
1611 and store them in a dictionary as the "parts" attribute of the writer.
1612 Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1613 - Added proper support for the "scale" attribute of the "image"
1614 element. Contributed by Brent Cook.
1615 - Added ``--initial-header-level`` option.
1616 - Fixed bug: the body_pre_docinfo segment depended on there being a
1617 docinfo; if no docinfo, the document title was incorporated into
1618 the body segment. Adversely affected the publish_parts interface.
1620 * docutils/writers/latex2e.py:
1622 - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1623 about a missing file.
1624 - Added options and support: ``--compound-enumerators``,
1625 ``--section-prefix-for-enumerators``, and
1626 ``--section-enumerator-separator``. By John F Meinel Jr (SF patch
1628 - Added option ``--use-verbatim-when-possible``, to avoid
1629 problematic characters (eg, '~' in italian) in literal blocks.
1630 - It's now possible to use four section levels in the `book` and
1631 `report` LaTeX classes. The default `article` class still has
1634 * docs/config.txt: "Docutils Configuration Files", added to project.
1635 Moved config file entry descriptions from tools.txt.
1639 - Moved config file entry descriptions to config.txt.
1641 * spec/notes.txt: Continual updates. Added "Setting Up For Docutils
1644 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1645 Text Roles", added to project.
1647 * spec/rst/reStructuredText.txt:
1649 - Added description of support for <angle-bracketed> complex option
1650 arguments to option lists.
1651 - Added subsections for indented and quoted literal blocks.
1653 * test: Continually adding & updating tests.
1655 - Added test/test_settings.py & test/data/config_*.txt support
1657 - Added test/test_writers/test_htmlfragment.py.
1659 * test/DocutilsTestSupport.py:
1661 - Refactored LaTeX publisher test suite/case class names to make
1662 testing other writers easier.
1663 - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1664 to test the processing of HTML fragments which use the new
1665 publish_parts convenience function.
1667 * tools/buildhtml.py:
1669 - Added support for the "--prune" option.
1670 - Removed dependency on pep2html.py; plaintext PEPs no longer
1673 * tools/docutils.conf:
1675 - Updated for configuration file reorganization.
1677 * tools/rst2html.py:
1679 - copied from tools/html.py
1683 - added a 'scripts' section to configuration
1684 - added 'tools/rst2html.py' to the scripts section
1687 Release 0.3 (2003-06-24)
1688 ========================
1692 * Renamed "attribute" to "option" for directives/extensions.
1694 * Renamed transform method "transform" to "apply".
1696 * Renamed "options" to "settings" for runtime settings (as set by
1697 command-line options). Sometimes "option" (singular) became
1698 "settings" (plural). Some variations below:
1700 - document.options -> document.settings (stored in other objects as
1702 - option_spec -> settings_spec (not directives though)
1703 - OptionSpec -> SettingsSpec
1704 - cmdline_options -> settings_spec
1705 - relative_path_options -> relative_path_settings
1706 - option_default_overrides -> settings_default_overrides
1707 - Publisher.set_options -> Publisher.get_settings
1711 * COPYING.txt: Added "Public Domain Dedication".
1713 * FAQ.txt: Frequently asked questions, added to project.
1717 - Updated with PyPI Trove classifiers.
1718 - Conditional installation of third-party modules.
1720 * docutils/__init__.py:
1722 - Bumped version to 0.2.1 to reflect changes to I/O classes.
1723 - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1724 - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1725 - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1726 option and its effect on the PEP template & writer.
1727 - Bumped version to 0.2.4 due to changes to the PEP template &
1729 - Bumped version to 0.2.5 to reflect changes to Reporter output.
1730 - Added ``TransformSpec`` class for new transform system.
1731 - Bumped version to 0.2.6 for API changes (renaming).
1732 - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1733 convenience functions.
1734 - Added ``Component.component_type`` attribute.
1735 - Bumped version to 0.2.8 because of the internal parser switch from
1736 plain lists to the docutils.statemachine.StringList objects.
1737 - Bumped version to 0.2.9 because of the frontend.py API changes.
1738 - Bumped version to 0.2.10 due to changes to the project layout
1739 (third-party modules removed from the "docutils" package), and
1740 signature changes in ``io.Input``/``io.Output``.
1741 - Changed version to 0.3.0 for release.
1745 - Made ``publish()`` a bit more convenient.
1746 - Generalized ``Publisher.set_io``.
1747 - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1748 parameters; improved its docstring.
1749 - Added ``publish_file()`` and ``publish_string()``.
1750 - Factored ``Publisher.set_source()`` and ``.set_destination()``
1752 - Added support for "--dump-pseudo-xml", "--dump-settings", and
1753 "--dump-transforms" hidden options.
1754 - Added ``Publisher.apply_transforms()`` method.
1755 - Added ``Publisher.set_components()`` method; support for
1756 ``publish_*()`` conveninece functions.
1757 - Moved config file processing to docutils/frontend.py.
1758 - Added support for exit status ("exit_level" setting &
1759 ``enable_exit`` parameter for Publisher.publish() and convenience
1762 * docutils/frontend.py:
1764 - Check for & exit on identical source & destination paths.
1765 - Fixed bug with absolute paths & "--config".
1766 - Set non-command-line defaults in ``OptionParser.__init__()``:
1767 ``_source`` & ``_destination``.
1768 - Distributed ``relative_path_settings`` to components; updated
1769 ``OptionParser.populate_from_components()`` to combine it all.
1770 - Require list of keys in ``make_paths_absolute`` (was implicit in
1771 global ``relative_path_settings``).
1772 - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1773 "--dump-settings", and "--dump-transforms" hidden options.
1774 - Removed nasty internals-fiddling ``ConfigParser.get_section``
1775 code, replaced with correct code.
1776 - Added validation functionality for config files.
1777 - Added "--error-encoding" option/setting, "_disable_config"
1779 - Added encoding validation; updated "--input-encoding" and
1780 "--output-encoding"; added "--error-encoding-error-handler" and
1781 "--output-encoding-error-handler".
1782 - Moved config file processing from docutils/core.py.
1783 - Updated ``OptionParser.populate_from_components`` to handle new
1784 ``SettingsSpec.settings_defaults`` dict.
1785 - Added support for "-" => stdin/stdout.
1786 - Added "exit_level" setting ("--exit" option).
1790 - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1791 - Added automatic closing to ``FileInput`` and ``FileOutput``.
1792 - Delayed opening of ``FileOutput`` file until ``write()`` called.
1793 - ``FileOutput.write()`` now returns the encoded output string.
1794 - Try to get path/stream name automatically in ``FileInput`` &
1796 - Added defaults for source & destination paths.
1797 - Allow for Unicode I/O with an explicit "unicode" encoding.
1798 - Added ``Output.encode()``.
1799 - Removed dependency on runtime settings; pass encoding directly.
1800 - Recognize Unicode strings in ``Input.decode()``.
1801 - Added support for output encoding error handlers.
1803 * docutils/nodes.py:
1805 - Added "Invisible" element category class.
1806 - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1807 modification during a traversal.
1808 - Added element classes: ``line_block``, ``generated``, ``address``,
1809 ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1810 ``superscript``, ``subscript``, ``inline``
1811 - Added support for lists of nodes to ``Element.insert()``.
1812 - Fixed parent linking in ``Element.replace()``.
1813 - Added new abstract superclass ``FixedTextElement``; adds
1814 "xml:space" attribute.
1815 - Added support for "line" attribute of ``system_message`` nodes.
1816 - Added support for the observer pattern from ``utils.Reporter``.
1817 Added ``parse_messages`` and ``transform_messages`` attributes to
1818 ``document``, removed ``messages``. Added ``note_parse_message``
1819 and ``note_transform_message`` methods.
1820 - Added support for improved diagnostics:
1822 - Added "document", "source", and "line" internal attributes to
1823 ``Node``, set by ``Node.setup_child()``.
1824 - Converted variations on ``node.parent = self`` to
1825 ``self.setup_child(node)``.
1826 - Added ``document.current_source`` & ``.current_line``
1827 attributes, and ``.note_source`` observer method.
1828 - Changed "system_message" output to GNU-Tools format.
1830 - Added a "rawsource" attribute to the ``Text`` class, for text
1831 before backslash-escape resolution.
1832 - Support for new transform system.
1833 - Reworked ``pending`` element.
1834 - Fixed XML DOM bug (SF #660611).
1835 - Removed the ``interpeted`` element class and added
1836 ``title_reference``, ``abbreviation``, ``acronym``.
1837 - Made substitutions case-sensitive-but-forgiving; moved some code
1839 - Fixed Unicode bug on element attributes (report: William Dode).
1841 * docutils/optik.py: Removed from project; replaced with
1842 extras/optparse.py and extras/textwrap.py. These will be installed
1843 only if they're not already present in the Python installation.
1845 * docutils/roman.py: Moved to extras/roman.py; this will be installed
1846 only if it's not already present in the Python installation.
1848 * docutils/statemachine.py:
1850 - Factored out ``State.add_initial_transitions()`` so it can be
1852 - Converted whitespace-specific "blank" and "indent" transitions
1853 from special-case code to ordinary transitions: removed
1854 ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
1855 ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
1856 ``ws_initial_transitions`` attributes.
1857 - Removed ``State.match_transition()`` after merging it into
1859 - Added ``StateCorrection`` exception.
1860 - Added support for ``StateCorrection`` in ``StateMachine.run()``
1861 (moved ``TransitionCorrection`` support there too.)
1862 - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
1863 ``EOFError`` instead of ``IndexError``.
1864 - Added ``State.no_match`` method.
1865 - Added support for the Observer pattern, triggered by input line
1867 - Added ``strip_top`` parameter to
1868 ``StateMachineWS.get_first_known_indented``.
1869 - Made ``context`` a parameter to ``StateMachine.run()``.
1870 - Added ``ViewList`` & ``StringList`` classes;
1871 ``extract_indented()`` becomes ``StringList.get_indented()``.
1872 - Added ``StateMachine.insert_input()``.
1873 - Fixed ViewList slice handling for Python 2.3. Patch from (and
1874 thanks to) Fred Drake.
1876 * docutils/utils.py:
1878 - Added a ``source`` attribute to Reporter instances and
1879 ``system_message`` elements.
1880 - Added an observer pattern to ``utils.Reporter`` to keep track of
1882 - Fixed bugs in ``relative_path()``.
1883 - Added support for improved diagnostics.
1884 - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
1885 - Added support for encoding Reporter stderr output, and encoding
1887 - Reporter keeps track of the highest level system message yet
1890 * docutils/languages: Fixed bibliographic field language lookups.
1892 * docutils/languages/es.py: Added to project; Spanish mappings by
1893 Marcelo Huerta San Martin.
1895 * docutils/languages/fr.py: Added to project; French mappings by
1898 * docutils/languages/it.py: Added to project; Italian mappings by
1901 * docutils/languages/sk.py: Added to project; Slovak mappings by
1904 * docutils/parser/__init__.py:
1906 - Added ``Parser.finish_parse()`` method.
1908 * docutils/parser/rst/__init__.py:
1910 - Added options: "--pep-references", "--rfc-references",
1911 "--tab-width", "--trim-footnote-reference-space".
1913 * docutils/parsers/rst/states.py:
1915 - Changed "title under/overline too short" system messages from INFO
1916 to WARNING, and fixed its insertion location.
1917 - Fixed enumerated list item parsing to allow paragraphs & section
1918 titles to begin with enumerators.
1919 - Converted system messages to use the new "line" attribute.
1920 - Fixed a substitution reference edge case.
1921 - Added support for "--pep-references" and "--rfc-references"
1922 options; reworked ``Inliner`` code to make customization easier.
1923 - Removed field argument parsing.
1924 - Added support for short section title over/underlines.
1925 - Fixed "simple reference name" regexp to ignore text like
1926 "object.__method__"; not an anonymous reference.
1927 - Added support for improved diagnostics.
1928 - Reworked directive API, based on Dethe Elza's contribution. Added
1929 ``Body.parse_directive()``, ``.parse_directive_options()``,
1930 ``.parse_directive_arguments()`` methods.
1931 - Added ``ExtensionOptions`` class, to parse directive options
1932 without parsing field bodies. Factored
1933 ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
1934 ``ExtensionOptions``.
1935 - Improved definition list term/classifier parsing.
1936 - Added warnings for unknown directives.
1937 - Renamed ``Stuff`` to ``Struct``.
1938 - Now flagged as errors: transitions at the beginning or end of
1939 sections, empty sections (except title), and empty documents.
1940 - Updated for ``statemachine.StringList``.
1941 - Enabled recognition of schemeless email addresses in targets.
1942 - Added support for embedded URIs in hyperlink references.
1943 - Added backslash-escapes to inline markup end-string suffix.
1944 - Added support for correct interpreted text processing.
1945 - Fixed nested title parsing (topic, sidebar directives).
1946 - Added special processing of backslash-escaped whitespace (idea
1947 from David Abrahams).
1948 - Made substitutions case-sensitive-but-forgiving; moved some code
1949 to ``docutils.nodes``.
1950 - Added support for block quote attributions.
1951 - Added a kludge to work-around a conflict between the bubble-up
1952 parser strategy and short titles (<= 3 char-long over- &
1953 underlines). Fixes SF bug #738803 "infinite loop with multiple
1954 titles" submitted by Jason Diamond.
1955 - Added explicit interpreted text roles for standard inline markup:
1956 "emphasis", "strong", "literal".
1957 - Implemented "superscript" and "subscript" interpreted text roles.
1958 - Added initial support for "abbreviation" and "acronym" roles;
1960 - Added support for "--trim-footnote-reference-space" option.
1961 - Optional space before colons in directives & hyperlink targets.
1963 * docutils/parsers/rst/tableparser.py:
1965 - Fixed a bug that was producing unwanted empty rows in "simple"
1967 - Detect bad column spans in "simple" tables.
1969 * docutils/parsers/rst/directives: Updated all directive functions to
1972 * docutils/parsers/rst/directives/__init__.py:
1974 - Added ``flag()``, ``unchanged()``, ``path()``,
1975 ``nonnegative_int()``, ``choice()``, and ``class_option()``
1976 directive option helper functions.
1977 - Added warnings for unknown directives.
1978 - Return ``None`` for missing directives.
1979 - Added ``register_directive()``, thanks to William Dode and Paul
1982 * docutils/parsers/rst/directives/admonitions.py:
1984 - Added "admonition" directive.
1986 * docutils/parsers/rst/directives/body.py: Added to project. Contains
1987 the "topic", "sidebar" (from Patrick O'Brien), "line-block",
1988 "parsed-literal", "rubric", "epigraph", "highlights" and
1989 "pull-quote" directives.
1991 * docutils/parsers/rst/directives/images.py:
1993 - Added an "align" attribute to the "image" & "figure" directives
1994 (by Adam Chodorowski).
1995 - Added "class" option to "image", and "figclass" to "figure".
1997 * docutils/parsers/rst/directives/misc.py:
1999 - Added "include", "raw", and "replace" directives, courtesy of
2001 - Added "unicode" and "class" directives.
2003 * docutils/parsers/rst/directives/parts.py:
2005 - Added the "sectnum" directive; by Dmitry Jemerov.
2006 - Added "class" option to "contents" directive.
2008 * docutils/parsers/rst/directives/references.py: Added to project.
2009 Contains the "target-notes" directive.
2011 * docutils/parsers/rst/languages/__init__.py:
2013 - Return ``None`` from get_language() for missing language modules.
2015 * docutils/parsers/rst/languages/de.py: Added to project; German
2016 mappings by Engelbert Gruber.
2018 * docutils/parsers/rst/languages/en.py:
2020 - Added interpreted text roles mapping.
2022 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2023 mappings by Marcelo Huerta San Martin.
2025 * docutils/parsers/rst/languages/fr.py: Added to project; French
2026 mappings by William Dode.
2028 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2029 mappings by Nicola Larosa.
2031 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2032 mappings by Miroslav Vasko.
2034 * docutils/readers/__init__.py:
2036 - Added support for the observer pattern from ``utils.Reporter``, in
2037 ``Reader.parse`` and ``Reader.transform``.
2038 - Removed ``Reader.transform()`` method.
2039 - Added default parameter values to ``Reader.__init__()`` to make
2040 instantiation easier.
2041 - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2043 * docutils/readers/pep.py:
2045 - Added the ``peps.TargetNotes`` transform to the Reader.
2046 - Removed PEP & RFC reference detection code; moved to
2047 parsers/rst/states.py as options (enabled here by default).
2048 - Added support for pre-acceptance PEPs (no PEP number yet).
2049 - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2052 * docutils/readers/python: Python Source Reader subpackage added to
2053 project, including preliminary versions of:
2056 - moduleparser.py: Parser for Python modules.
2058 * docutils/transforms/__init__.py:
2060 - Added ``Transformer`` class and completed transform reform.
2061 - Added unknown_reference_resolvers list for each transformer. This list holds
2062 the list of functions provided by each component of the transformer that
2063 help resolve references.
2065 * docutils/transforms/frontmatter.py:
2067 - Improved support for generic fields.
2068 - Fixed bibliographic field language lookups.
2070 * docutils/transforms/misc.py: Added to project. Miscellaneous
2073 * docutils/transforms/parts.py:
2075 - Moved the "id" attribute from TOC list items to the references
2076 (``Contents.build_contents()``).
2077 - Added the ``SectNum`` transform; by Dmitry Jemerov.
2078 - Added "class" attribute support to ``Contents``.
2080 * docutils/transforms/peps.py:
2082 - Added ``mask_email()`` function, updating to pep2html.py's
2084 - Linked "Content-Type: text/x-rst" to PEP 12.
2085 - Added the ``TargetNotes`` PEP-specific transform.
2086 - Added ``TargetNotes.cleanup_callback``.
2087 - Added title check to ``Headers``.
2089 * docutils/transforms/references.py:
2091 - Added the ``TargetNotes`` generic transform.
2092 - Split ``Hyperlinks`` into multiple transforms.
2093 - Fixed bug with multiply-indirect references (report: Bruce Smith).
2094 - Added check for circular indirect references.
2095 - Made substitutions case-sensitive-but-forgiving.
2097 * docutils/transforms/universal.py:
2099 - Added support for the "--expose-internal-attributes" option.
2100 - Removed ``Pending`` transform classes & data.
2102 * docutils/writers/__init__.py:
2104 - Removed ``Writer.transform()`` method.
2106 * docutils/writers/docutils-xml.py:
2108 - Added XML and doctype declarations.
2109 - Added "--no-doctype" and "--no-xml-declaration" options.
2111 * docutils/writers/html4css1.py:
2113 - "name" attributes only on these tags: a, applet, form, frame,
2115 - Added "name" attribute to <a> in section titles for Netscape 4
2116 support (bug report: Pearu Peterson).
2117 - Fixed targets (names) on footnote, citation, topic title,
2118 problematic, and system_message nodes (for Netscape 4).
2119 - Changed field names from "<td>" to "<th>".
2120 - Added "@" to "@" encoding to thwart address harvesters.
2121 - Improved the vertical whitespace optimization; ignore "invisible"
2122 nodes (targets, comments, etc.).
2123 - Improved inline literals with ``<span class="pre">`` around chunks
2124 of text and `` `` for runs of spaces.
2125 - Improved modularity of output; added ``self.body_pre_docinfo`` and
2126 ``self.docinfo`` segments.
2127 - Added support for "line_block", "address" elements.
2128 - Improved backlinks (footnotes & system_messages).
2129 - Improved system_message output.
2130 - Redefined "--stylesheet" as containing an invariant URL, used
2131 verbatim. Added "--stylesheet-path", interpreted w.r.t. the
2133 - Added "--footnote-references" option (superscript or brackets).
2134 - Added "--compact-lists" and "--no-compact-lists" options.
2135 - Added "--embed-stylesheet" and "--link-stylesheet" options;
2136 factored out ``HTMLTranslator.get_stylesheet_reference()``.
2137 - Improved field list rendering.
2138 - Added Docutils version to "generator" meta tag.
2139 - Fixed a bug with images; they must be inline, so wrapped in <p>.
2140 - Improved layout of <pre> HTML source.
2141 - Fixed attribute typo on <colspec>.
2142 - Refined XML prologue.
2143 - Support for no stylesheet.
2144 - Removed "interpreted" element support.
2145 - Added support for "title_reference", "sidebar", "attribution",
2146 "rubric", and generic "admonition" elements.
2147 - Added "--attribution" option.
2148 - Added support for "inline", "subscript", "superscript" elements.
2149 - Added initial support for "abbreviation" and "acronym";
2152 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2156 - Double quotes in literal blocks (special treatment for de/ngerman).
2157 - Added '--hyperlink-color' option ('0' turns off coloring of links).
2158 - Added "--attribution" option.
2159 - Right align attributions.
2161 * docutils/writers/pep_html.py:
2163 - Parameterized output encoding in PEP template.
2164 - Reworked substitutions from ``locals()`` into ``subs`` dict.
2165 - Redefined "--pep-stylesheet" as containing an invariant URL, used
2166 verbatim. Added "--pep-stylesheet-path", interpreted w.r.t. the
2168 - Added an override on the "--footnote-references" option.
2169 - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2170 - Added Docutils version to "generator" meta tag.
2171 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2175 - Added a "silent" setting for ``buildhtml.py``.
2176 - Added a "Getting Help" section.
2177 - Rearranged the structure.
2178 - Kept up to date, with new settings, command-line options etc.
2179 - Added section for ``rst2latex.py`` (Engelbert Gruber).
2180 - Converted settings table into a definition list.
2182 * docs/rst/quickstart.txt:
2184 - Added a table of contents.
2185 - Added feedback information.
2186 - Added mention of minimum section title underline lengths.
2187 - Removed the 4-character minimum for section title underlines.
2189 * docs/rst/quickref.html:
2191 - Added a "Getting Help" section.
2192 - Added a style to make section title backlinks more subtle.
2193 - Added mention of minimum section title underline lengths.
2194 - Removed the 4-character minimum for section title underlines.
2196 * extras: Directory added to project; contains third-party modules
2197 that Docutils depends on (optparse, textwrap, roman). These are
2198 only installed if they're not already present.
2200 * licenses: Directory added to project; contains copies of license
2201 files for non-public-domain files.
2205 - Changed the focus. It's about DTD elements: structural
2206 relationships, semantics, and external (public) attributes. Not
2207 about the element class library.
2208 - Moved some implementation-specific stuff into ``docutils.nodes``
2210 - Wrote descriptions of all common attributes and parameter
2211 entities. Filled in introductory material.
2212 - Working through the element descriptions: 55 down, 37 to go.
2213 - Removed "Representation of Horizontal Rules" to
2214 spec/rst/alternatives.txt.
2216 * spec/docutils.dtd:
2218 - Added "generated" inline element.
2219 - Added "line_block" body element.
2220 - Added "auto" attribute to "title".
2221 - Changed content models of "literal_block" and "doctest_block" to
2223 - Added ``%number;`` attribute type parameter entity.
2224 - Changed ``%structural.elements;`` to ``%section.elements``.
2225 - Updated attribute types; made more specific.
2226 - Added "address" bibliographic element.
2227 - Added "line" attribute to ``system_message`` element.
2228 - Removed "field_argument" element; "field_name" may contain
2229 multiple words and whitespace.
2230 - Changed public identifier to docutils.sf.net.
2231 - Removed "interpreted" element; added "title_reference",
2232 "abbreviation", "acronym".
2233 - Removed "refuri" attribute from "footnote_reference" and
2234 "citation_reference".
2235 - Added "sidebar", "rubric", "attribution", "admonition",
2236 "superscript", "subscript", and "inline" elements.
2238 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2240 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2242 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2244 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2247 * spec/transforms.txt: Added to project.
2249 * spec/howto: Added subdirectory, for developer how-to docs.
2251 * spec/howto/rst-directives.txt: Added to project. Original by Dethe
2252 Elza, edited & extended by David Goodger.
2254 * spec/howto/i18n.txt: Docutils Internationalization. Added to
2257 * spec/rst/alternatives.txt:
2259 - Added "Doctree Representation of Transitions" from
2261 - Updated "Inline External Targets" & closed the debate.
2262 - Added ideas for interpreted text syntax extensions.
2263 - Added "Nested Inline Markup" section.
2265 * spec/rst/directives.txt:
2267 - Added directives: "topic", "sectnum", "target-notes",
2268 "line-block", "parsed-literal", "include", "replace", "sidebar",
2269 "admonition", "rubric", "epigraph", "highlights", "unicode" and
2271 - Formalized descriptions of directive details.
2272 - Added an "align" attribute to the "image" & "figure" directives
2273 (by Adam Chodorowski).
2274 - Added "class" options to "topic", "sidebar", "line-block",
2275 "parsed-literal", "contents", and "image"; and "figclass" to
2278 * spec/rst/interpreted.txt: Added to project. Descriptions of
2279 interpreted text roles.
2281 * spec/rst/introduction.txt:
2283 - Added pointers to material for new users.
2285 * spec/rst/reStructuredText.txt:
2287 - Disambiguated comments (just add a newline after the "::").
2288 - Updated enumerated list description; added a discussion of the
2289 second-line validity checking.
2290 - Updated directive description.
2291 - Added a note redirecting newbies to the user docs.
2292 - Expanded description of inline markup start-strings in non-markup
2294 - Removed field arguments and made field lists a generic construct.
2295 - Removed the 4-character minimum for section title underlines.
2296 - Clarified term/classifier delimiter & inline markup ambiguity
2298 - Added "Embedded URIs".
2299 - Updated "Interpreted Text" section.
2300 - Added "Character-Level Inline Markup" section.
2302 * test: Continually adding & updating tests.
2304 - Moved test/test_rst/ to test/test_parsers/test_rst/.
2305 - Moved test/test_pep/ to test/test_readers/test_pep/.
2306 - Added test/test_readers/test_python/.
2307 - Added test/test_writers/ (Engelbert Gruber).
2311 - Made the ``locale.setlocale()`` calls in front ends
2314 * tools/buildhtml.py:
2316 - Added "--silent" option.
2317 - Fixed bug with absolute paths & "--config".
2318 - Updated for new I/O classes.
2319 - Added some exception handling.
2320 - Separated publishers' setting defaults; prevents interference.
2321 - Updated for new ``publish_file()`` convenience function.
2323 * tools/pep-html-template:
2325 - Allow for "--embed-stylesheet".
2326 - Added Docutils version to "generator" meta tag.
2327 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2328 - Conform to XHTML spec.
2330 * tools/pep2html.py:
2332 - Made ``argv`` a parameter to ``main()``.
2333 - Added support for "Content-Type:" header & arbitrary PEP formats.
2334 - Linked "Content-Type: text/plain" to PEP 9.
2335 - Files skipped (due to an error) are not pushed onto the server.
2336 - Updated for new I/O classes.
2337 - Added ``check_requirements()`` & ``pep_type_error()``.
2338 - Added some exception handling.
2339 - Updated for new ``publish_string()`` convenience function.
2340 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2342 * tools/quicktest.py:
2344 - Added "-V"/"--version" option.
2346 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2348 * tools/unicode2rstsubs.py: Added to project. Produces character
2349 entity files (reSructuredText substitutions) from the MathML master
2352 * tools/editors: Support code for editors, added to project. Contains
2353 ``emacs/restructuredtext.el``.
2355 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2357 - Added style for chunks of inline literals.
2358 - Removed margin for first child of table cells.
2359 - Right-aligned field list names.
2360 - Support for auto-numbered section titles in TOCs.
2361 - Increased the size of inline literals (<tt>) in titles.
2362 - Restored the light gray background for inline literals.
2363 - Added support for "line_block" elements.
2364 - Added style for "address" elements.
2365 - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2366 - Improved field list rendering.
2367 - Vertical whitespace improvements.
2368 - Removed "a.target" style.
2370 * tools/stylesheets/pep.css:
2372 - Fixed nested section margins.
2373 - Other changes parallel those of ``../default.css``.
2376 Release 0.2 (2002-07-31)
2377 ========================
2381 - The word "component" was being used ambiguously. From now on,
2382 "component" will be used to mean "Docutils component", as in Reader,
2383 Writer, Parser, or Transform. Portions of documents (Table of
2384 Contents, sections, etc.) will be called "document parts".
2385 - Did a grand renaming: a lot of ``verylongnames`` became
2386 ``very_long_names``.
2387 - Cleaned up imports: no more relative package imports or
2388 comma-separated lists of top-level modules.
2389 - Added support for an option values object which carries default
2390 settings and overrides (from command-line options and library use).
2391 - Added internal Unicode support, and support for both input and
2393 - Added support for the ``docutils.io.IO`` class & subclasses.
2397 * docutils/__init__.py:
2399 - Added ``ApplicationError`` and ``DataError``, for use throughout
2401 - Added ``Component`` base class for Docutils components; implements
2402 the ``supports`` method.
2403 - Added ``__version__`` (thus, ``docutils.__version__``).
2407 - Removed many keyword parameters to ``Publisher.__init__()`` and
2408 ``publish()``; bundled into an option values object. Added
2409 "argv", "usage", "description", and "option_spec" parameters for
2410 command-line support.
2411 - Added ``Publisher.process_command_line()`` and ``.set_options()``
2413 - Reworked I/O model for ``docutils.io`` wrappers.
2414 - Updated ``Publisher.set_options()``; now returns option values
2416 - Added support for configuration files (/etc/docutils.conf,
2417 ./docutils.conf, ~/.docutils).
2418 - Added ``Publisher.setup_option_parser()``.
2419 - Added default usage message and description.
2421 * docutils/frontend.py: Added to project; support for front-end
2422 (command-line) scripts. Option specifications may be augmented by
2423 components. Requires Optik (http://optik.sf.net/) for option
2424 processing (installed locally as docutils/optik.py).
2426 * docutils/io.py: Added to project; uniform API for a variety of input
2429 * docutils/nodes.py:
2431 - Added ``TreeCopyVisitor`` class.
2432 - Added a ``copy`` method to ``Node`` and subclasses.
2433 - Added a ``SkipDeparture`` exception for visitors.
2434 - Renamed ``TreePruningException`` from ``VisitorException``.
2435 - Added docstrings to ``TreePruningException``, subclasses, and
2437 - Improved docstrings.
2438 - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2439 - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2441 - Added ``decoration``, ``header``, and ``footer`` node classes, and
2442 ``PreDecorative`` mixin.
2443 - Reworked the name/id bookkeeping; to ``document``, removed
2444 ``explicit_targets`` and ``implicit_targets`` attributes, added
2445 ``nametypes`` attribute and ``set_name_id_map`` method.
2446 - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2448 - Added ``document.has_name()`` method.
2449 - Fixed DOM generation for list-attributes.
2450 - Added category class ``Labeled`` (used by footnotes & citations).
2451 - Added ``Element.set_class()`` method (sets "class" attribute).
2453 * docutils/optik.py: Added to project. Combined from the Optik
2454 package, with added option groups and other modifications. The use
2455 of this module is probably only temporary.
2457 * docutils/statemachine.py:
2459 - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2460 - Added underscores to improve many awkward names.
2461 - In ``string2lines()``, changed whitespace normalizing translation
2462 table to regexp; restores Python 2.0 compatibility with Unicode.
2464 * docutils/urischemes.py:
2466 - Filled in some descriptions.
2467 - Added "shttp" scheme.
2469 * docutils/utils.py:
2471 - Added ``clean_rcs_keywords`` function (moved from
2472 docutils/transforms/frontmatter.py
2473 ``DocInfo.filter_rcs_keywords``).
2474 - Added underscores to improve many awkward names.
2475 - Changed names of Reporter's thresholds:
2476 warning_level -> report_level; error_level -> halt_level.
2477 - Moved ``utils.id()`` to ``nodes.make_id()``.
2478 - Added ``relative_path(source, target)``.
2480 * docutils/languages/de.py: German mappings; added to project. Thanks
2481 to Gunnar Schwant for the translations.
2483 * docutils/languages/en.py: Added "Dedication" bibliographic field
2486 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2489 * docutils/parsers/rst/states.py:
2491 - Added underscores to improve many awkward names.
2492 - Added RFC-2822 header support.
2493 - Extracted the inline parsing code from ``RSTState`` to a separate
2494 class, ``Inliner``, which will allow easy subclassing.
2495 - Made local bindings for ``memo`` container & often-used contents
2496 (reduces code complexity a lot). See ``RSTState.runtime_init()``.
2497 - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2498 - Added ``MarkupMismatch`` exception; for late corrections.
2499 - Added ``-/:`` characters to inline markup's start string prefix,
2500 ``/`` to end string suffix.
2501 - Fixed a footnote bug.
2502 - Fixed a bug with literal blocks.
2503 - Applied patch from Simon Budig: simplified regexps with symbolic
2504 names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2505 - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2506 - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2507 - Allowed non-ASCII in "simple names" (directive names, field names,
2509 - Converted ``Inliner.patterns.initial`` to be dynamically built
2510 from parts with ``build_regexp()`` function.
2511 - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2512 - Updated docstrings.
2513 - Changed "table" to "grid_table"; added "simple_table" support.
2515 * docutils/parsers/rst/tableparser.py:
2517 - Changed ``TableParser`` to ``GridTableParser``.
2518 - Added ``SimpleTableParser``.
2519 - Refactored naming.
2521 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2522 a fallback language for directive names.
2524 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2525 directive to use a ``pending`` element, used only by HTML writers.
2527 * docutils/parsers/rst/directives/parts.py: Renamed from
2530 - Added "backlinks" attribute to "contents" directive.
2532 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2533 project by Adam Chodorowski.
2535 * docutils/readers/__init__.py: Gave Readers more control over
2536 choosing and instantiating Parsers.
2538 * docutils/readers/pep.py: Added to project; for PEP processing.
2540 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2541 requires a ``component`` parameter.
2543 * docutils/transforms/components.py: Added to project; transforms
2544 related to Docutils components.
2546 * docutils/transforms/frontmatter.py:
2548 - In ``DocInfo.extract_authors``, check for a single "author" in an
2549 "authors" group, and convert it to a single "author" element.
2550 - Added support for "Dedication" and generic bibliographic fields.
2552 * docutils/transforms/peps.py: Added to project; PEP-specific.
2554 * docutils/transforms/parts.py: Renamed from old components.py.
2556 - Added filter for `Contents`, to use alt-text for inline images,
2557 and to remove inline markup that doesn't make sense in the ToC.
2558 - Added "name" attribute to TOC topic depending on its title.
2559 - Added support for optional TOC backlinks.
2561 * docutils/transforms/references.py: Fixed indirect target resolution
2562 in ``Hyperlinks`` transform.
2564 * docutils/transforms/universal.py:
2566 - Changed ``Messages`` transform to properly filter out system
2567 messages below the warning threshold.
2568 - Added ``Decorations`` transform (support for ``--generator``,
2569 ``--date``, ``--time``, ``--source-link`` options).
2571 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2572 Engelbert Gruber's PDF writer.
2574 * docutils/writers/html4css1.py:
2576 - Made XHTML-compatible (switched to lowercase element & attribute
2577 names; empty tag format).
2578 - Escape double-dashes in comment text.
2579 - Improved boilerplate & modularity of output.
2580 - Exposed modular output in Writer class.
2581 - Added a "generator" meta tag to <head>.
2582 - Added support for the ``--stylesheet`` option.
2583 - Added support for ``decoration``, ``header``, and ``footer``
2585 - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2586 translation table to regexp; restores Python 2.0 compatibility
2588 - Added the translator class as instance variable to the Writer, to
2589 make it easily subclassable.
2590 - Improved option list spacing (thanks to Richard Jones).
2591 - Modified field list output.
2592 - Added backlinks to footnotes & citations.
2593 - Added percentage widths to "<col>" tags (from colspec).
2594 - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2595 "<span>" changed to "<var>".
2596 - Inline literals: "<code>" changed to "<tt>".
2597 - Many changes to optimize vertical space: compact simple lists etc.
2598 - Add a command-line options & directive attributes to control TOC
2599 and footnote/citation backlinks.
2600 - Added support for optional footnote/citation backlinks.
2601 - Added support for generic bibliographic fields.
2602 - Identify backrefs.
2603 - Relative URLs for stylesheet links.
2605 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2606 PEPs (subclass of ``html4css1.Writer``).
2608 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2610 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2611 of the Docutils internal doctree in XML.
2613 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2617 - Changed the title to "The Docutils Document Tree".
2618 - Added "Hyperlink Bookkeeping" section.
2620 * spec/docutils.dtd:
2622 - Added ``decoration``, ``header``, and ``footer`` elements.
2623 - Brought ``interpreted`` element in line with the parser: changed
2624 attribute "type" to "role", added "position".
2625 - Added support for generic bibliographic fields.
2627 * spec/notes.txt: Continual updates. Added "Project Policies".
2629 * spec/pep-0256.txt: Updated. Added "Roadmap to the Doctring PEPs"
2632 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2634 * spec/pep-0258.txt: Updated. Added text from pysource.txt and
2635 mailing list discussions.
2637 * spec/pep-0287.txt:
2639 - Renamed to "reStructuredText Docstring Format".
2641 - Reworked Q&A as an enumerated list.
2642 - Converted to reStructuredText format.
2644 * spec/pysource.dtd:
2646 - Reworked structural elements, incorporating ideas from Tony Ibbs.
2648 * spec/pysource.txt: Removed from project. Moved much of its contents
2651 * spec/rst/alternatives.txt:
2653 - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2654 - Added "Inline External Targets" section.
2656 * spec/rst/directives.txt:
2658 - Added "backlinks" attribute to "contents" directive.
2660 * spec/rst/problems.txt:
2662 - Updated the Enumerated List Markup discussion.
2663 - Added new alternative table markup syntaxes.
2665 * spec/rst/reStructuredText.txt:
2667 - Clarified field list usage.
2668 - Updated enumerated list description.
2669 - Clarified purpose of directives.
2670 - Added ``-/:`` characters to inline markup's start string prefix,
2671 ``/`` to end string suffix.
2672 - Updated "Authors" bibliographic field behavior.
2673 - Changed "inline hyperlink targets" to "inline internal targets".
2674 - Added "simple table" syntax to supplement the existing but
2675 newly-renamed "grid tables".
2676 - Added cautions for anonymous hyperlink use.
2677 - Added "Dedication" and generic bibliographic fields.
2679 * test: Made test modules standalone (subdirectories became packages).
2681 * test/DocutilsTestSupport.py:
2683 - Added support for PEP extensions to reStructuredText.
2684 - Added support for simple tables.
2685 - Refactored naming.
2687 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2689 - Now supports true packages containing test modules
2690 (``__init__.py`` files required); fixes duplicate module name bug.
2692 * test/test_pep/: Subpackage added to project; PEP testing.
2694 * test/test_rst/test_SimpleTableParser.py: Added to project.
2698 - Updated html.py and publish.py front-end tools to use the new
2699 command-line processing facilities of ``docutils.frontend``
2700 (exposed in ``docutils.core.Publisher``), reducing each to just a
2702 - Added ``locale.setlocale()`` calls to front-end tools.
2704 * tools/buildhtml.py: Added to project; batch-generates .html from all
2705 the .txt files in directories and subdirectories.
2707 * tools/default.css:
2709 - Added support for ``header`` and ``footer`` elements.
2710 - Added styles for "Dedication" topics (biblio fields).
2712 * tools/docutils.conf: A configuration file; added to project.
2714 * tools/docutils-xml.py: Added to project.
2716 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2718 * tools/pep-html-template: Added to project.
2720 * tools/pep2html.py: Added to project from Python (nondist/peps).
2721 Added support for Docutils (reStructuredText PEPs).
2723 * tools/quicktest.py:
2725 - Added the ``--attributes`` option, hacked a bit.
2726 - Added a second command-line argument (output file); cleaned up.
2728 * tools/stylesheets/: Subdirectory added to project.
2730 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2733 Release 0.1 (2002-04-20)
2734 ========================
2736 This is the first release of Docutils, merged from the now inactive
2737 reStructuredText__ and `Docstring Processing System`__ projects. For
2738 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2739 `DPS HISTORY`__ files.
2741 __ http://structuredtext.sourceforge.net/
2742 __ http://docstring.sourceforge.net/
2743 __ http://structuredtext.sourceforge.net/HISTORY.html
2744 __ http://docstring.sourceforge.net/HISTORY.html
2746 General changes: renamed 'dps' package to 'docutils'; renamed
2747 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2748 the test suites (reStructuredText's test/test_states renamed to
2749 test/test_rst); and all modifications required to make it all work.
2751 * docutils/parsers/rst/states.py:
2753 - Improved diagnostic system messages for missing blank lines.
2754 - Fixed substitution_reference bug.
2760 indent-tabs-mode: nil
2761 sentence-end-double-space: t