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
32 * docutils/frontend.py
34 - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
38 - Fix [ 3395948 ] (Work around encoding problems in Py3k).
39 - `mode` argument for FileOutput avoids code replication in
42 * docutils/utils.py -> docutils/utils/__init__.py
44 - docutils.utils is now a package (providing a place for sub-modules)
46 .. note:: docutils/math, docutils/error_reporting.py, and
47 docutils/urischemes.py will move to the utils package in the next
48 release, too. See RELEASE-NOTES__
52 - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
53 errors recording non-ASCII filenames (fixes [ 3434355 ]).
55 - Fix relative_path() with source=None and `unicode` target.
57 * docutils/parsers/rst/states.py
59 - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
60 characters and "international" quotes around inline markup.
61 - Use `field_marker` pattern to look for start of a
62 directive option block (fixes [ 3484857 ]).
64 * docutils/parsers/rst/tableparser.py
66 - Fix [ 2926161 ] for simple tables.
67 (Combining chars in grid tables still contribute to cell width.)
69 * docutils/writers/latex2e/__init__.py
71 - Support the `abbreviation` and `acronym` standard roles.
72 - Record only files required to generate the LaTeX source as dependencies.
73 - Fix handling of missing stylesheets.
74 - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
75 when suppressing LaTeX section numbering.
76 - Use ``\DUtitle`` for unsupported section levels
78 * docutils/writers/html4css1/__init__.py
80 - Change default for `math-output` setting to MathJax.
81 - Fix handling of missing stylesheets.
83 * docutils/writers/docutils_xml.py
85 - Use the visitor pattern with default_visit()/default_depart() methods
86 instead of minidom to facilitate special handling of selected nodes.
87 - Support raw XML (inserted as-is inside a <raw></raw> node).
89 * docutils/writers/manpage.py
91 - Do not emit comment line with trailing blank. Problematic for VCS.
93 Release 0.8.1 (2011-08-30)
94 ==========================
98 - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
99 and [ 3395920 ] (correct copyright info for rst.el).
103 - Apply [ 3303733 ] and [ 3365041 ] to fix tests under py3k.
105 * docutils/writers/latex2e/__init__.py
107 - Clean up Babel language setting. Restores Sphinx compatibility.
109 Release 0.8 (2011-07-07)
110 ========================
114 - Handle language codes according to `BCP 47`_.
115 - If the specified language is not supported by Docutils,
116 warn and fall back to English.
117 - Math support: reStructuredText "math" role and directive,
118 ``math`` and ``math_block`` doctree elements.
119 - Decode command line arguments with the locale's preferred encoding
120 (to allow, e.g., ``--title=Dornröschen``).
121 - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
122 - New sub-module `error_reporting`: handle encoding/decoding errors
123 when reporting exceptions.
124 - Some additions to the Docutils core are released under the 2-Clause BSD
125 license, see COPYING_ for details.
127 .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
128 .. _COPYING: COPYING.html
132 - Most directives now support a "name" option that attaches a
135 - Directive content may start on the first line also when the directive
136 type accepts options.
138 * docs/dev/policies.txt:
140 - Recommend the 2-Clause BSD license
141 (http://www.spdx.org/licenses/BSD-2-Clause)
142 for code that is kept under the author's copyright.
144 * tools/buildhtml.py:
146 - Fix ``--local`` switch.
148 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
150 * docutils/writers/html4css1/__init__.py
152 - Set "lang" argument for objects with class argument
153 "language-<language tag>".
154 - New setting "math-output" with support for HTML, MathML, and LaTeX.
156 * docutils/writers/latex2e/__init__.py
158 - Fix [ 3043986 ] AttributeError using :local: with table of content.
159 - Place title data in the document preamble.
160 - Load `babel` package only if required.
161 - Update list of supported languages.
162 - New config setting "hyperref-options".
163 No hard-coded "unicode" hyperref option (clash with xetex).
164 - Set language for custom roles, paragraphs, block-quotes, and
165 line-quotes with class argument "language-<language tag>".
166 - Fix [ 3095603 ] wrong quotes output for russian and other languages.
167 - Convert image URI to a local file path.
168 - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
169 has more than one paragraph (Wolfgang Scherer).
170 - \leavevmode before longtable only when needed (prevents spurious vspace)
171 - do not advance table counter for tables without caption
173 * docutils/writers/xetex/__init__.py
175 - New writer generating LaTeX code for compiling with ``xelatex``.
177 A separate writer (inheriting from latex2e) instead of a ``--xetex``
178 option allows separate config options for XeTeX vs. LaTeX2e.
180 * docutils/writers/manpage.py
182 - Fix: BUG#3219183 - vertical space in definition lists containing markup.
183 - Fix: vertical space cleaning for option group ``.``.
185 * tools/editors/emacs/rst.el:
187 - Fix [ 3001100 ] does not handle spaces in filenames
188 (thanks to Jakub Wilk)
192 - strip whitespace from stylesheet arguments
193 - exclude combining chars from column_width()
194 (partial fix for [ 2926161 ])
196 * docutils/parsers/rst/directives/misc.py:
198 - Fix [ 1830389 ] Replace not breaking on getting system_messages from
203 - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
204 ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
206 Release 0.7 (2010-07-07)
207 ========================
211 - Fix [ 2881769 ] setup configuration.
212 - Fix [ 2788716 ] reporting problems in included files.
216 - FileInput opens files as text files with universal newline support
217 (mode "rU", configurable with the new optional argument "mode").
221 - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
225 - Fix [ 2923723 ] let decode_path() tolerate path == None
227 * docutils/writers/html4css1/__init__.py
229 - Support SVG and SWF images (thanks to Stefan Rank).
230 - Generate valid XHTML for centered images with targets.
231 Use CSS classes instead of "align" tags for image alignment.
233 * docutils/writers/latex2e/__init__.py
235 - Use `transforms.writer_aux.Admonitions` to "normalize" special
237 - Use the ``\url`` command for URLs (breaks long URLs instead of
238 writing into the margin).
239 - Preserve runs of spaces in `inline literals`__.
240 - Deprecate ``figure_footnotes`` setting.
241 - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
242 - New ``latex_preamble`` setting.
243 - Use PDF standard fonts (Times/Helvetica/Courier) as default.
244 - Fix hyperlink targets (labels) for images, figures, and tables.
245 - Apply [ 2961988 ] Load babel after inputenc and fontenc.
246 - Apply [ 2961991 ] Call hyperref with unicode option.
247 - Drop the special `output_encoding`__ default ("latin-1").
248 The Docutils wide default (usually "UTF-8") is used instead.
249 - Render inline markup in document title and subtitle.
250 - Fix numbering depth with LaTeX section numbering.
251 - Update Unicode -> LaTeX translations.
252 - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
254 __ docs/ref/restructuredtext.html#inline-literals
255 __ docs/user/config.html#docutils-footnotes
256 __ docs/user/config.html#output_encoding
258 * docutils/writers/manpage.py
260 - Fix: supported attribute (thanks to peter2108).
261 - Remove trailing blanks in code (keep in sync with mercurial version).
262 - Titles level 1, that is ``.SH``, always uppercase.
263 - Apply patch from mg: literal text should be bold in man-pages.
267 - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
272 - Python 3 support: copy test/ and tools/ to the build-dir
273 and convert Python sources with 2to3.
276 Release 0.6 (2009-10-11)
277 ========================
281 - Docutils is now compatible with Python versions from 2.3 up to 2.6
282 and convertible to 3.1 code.
284 + Node.__nonzero__ returns True instead of 1.
285 + use os.walk instead os.path.walk.
286 + minimize "types" module where possible.
287 + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
288 + Text nodes now subclass unicode rather than UserString
289 (which is gone in python 3.0).
290 + 3.0 compatibility module docutils._compat
292 + Drop 2.2 compatibility workarounds.
293 + Drop extras/optparse.py and extras/textwrap.py
294 (stdlib modules since 2.3).
296 - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
297 - Unix man page export: manpage writer moved from sandbox to Doctutils
300 - Apply [ 1719345 ] Galician translation
301 - Apply [ 1905741 ] Polish translation
302 - Apply [ 1878977 ] make_id(): deaccent characters.
303 - Apply [ 2029251 ] return nonzero when tests fail.
304 - Fix [ 1692788 ] allow UTF-8 in style sheets.
305 - Fix [ 2781629 ] support non-ASCII chars in file names.
306 - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
307 - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
308 - Fix [ 2821266 ] --strict option works now like --halt=info.
309 - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
310 - Fix [ 1627229 ] hyperlink references in substitutions.
312 - The "newlatex" writer is orphaned.
316 - Documented Unicode characters allowed as inline markup openers,
317 closers, and delimiters.
318 - Allow units for all length specifications.
319 - Allow percent sign in "scale" argument of "figure" and "image" directives.
320 - Bugfix: The "figalign" argument of a figure now works as intended
321 (aligning the figure, not its contents).
322 - Align images with class "align-[right|center|left]"
323 (allows setting the alignment of an image in a figure).
327 - Added ``Element.__contains__`` method, for the in-operator.
329 * docutils/parsers/rst/states.py:
331 - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
332 - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
333 " " (non-breaking space), and "¡ ¿" openers.
335 * docutils/parsers/directives/misc.py:
337 - Added ``start-line`` and ``end-line`` options to "include"
338 directive to select a range of lines.
339 - Hard tabs in literal inclusions are replaced by spaces. This is
340 configurable via the new ``tab-width`` option of the "include" directive
341 (a negative tab-width prevents tab expansion).
345 - Add ``get_stylesheet_list`` function.
346 - Apply [ 2834836 ] print info at halt
348 * docutils/transforms/universal.py:
350 - Raise default priority of StripClasses to exclude stripped classes from
353 * docutils/writers/html4css1/__init__.py:
355 - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
356 separated list of stylesheets.
357 - Address [ 1938891 ] Inline literal text creates "pre" span only when
358 needed to prevent inter-word line wraps.
359 - Use `translate` method instead of repeated `replace` calls.
360 - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
361 classes to allow CSS styling that does not interfere with other
362 table-using constructs (field lists, citations, ...).
364 * docutils/writers/newlatex2e/__init__.py:
366 - Apply [ 1612821 ] Double quotes in literal text in Italian/German
368 * docutils/writers/latex2e/__init__.py (see also
369 `<docs/user/docutils-05-compat.sty.html>`__) :
371 - Add ``--embed-stylesheet`` option.
372 - Apply [ 1474017 ] image vertical alignment is reversed.
373 - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
374 - Change: has_key for dictionaries (not Nodes) to in-operator.
375 - Merge adjacent citations into one latex cite command.
376 - Failsave implementation of custom roles. LaTeX compilation now ignores
377 unknown classes instead of aborting with an error.
378 - Support custom roles based on standard roles.
379 - LaTeX packages can be used as ``--stylesheet`` arguments without
380 restriction. (A style sheet is now referenced with the ``\usepackage``
381 command, if it ends with ``.sty`` or has no extension.)
382 - Add ``bp`` to lenghts without unit (prevents LaTex errors).
383 - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
384 - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
385 2005-02-04 as a configurable length unit).
386 - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
387 if font-encoding is set to ''. LaTeX defaults to OT1 then.
388 - Set sub- and superscript role argument in text mode not as math.
389 Use a custom role based on sub-/superscript if you want italic shape.
390 - Shorter preamble and less dependencies: Load packages and define macros
391 only if required in the document.
392 - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
393 - New custom environments and commands with optional "classes" argument.
394 - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
395 - Better conformance to Docutils specifications with ``--use-latex-toc``.
396 Support for LaTeX generated ToC also with unnumbered sections.
397 - If 'sectnum_xform' is False, the 'sectnum' directive triggers
398 section numbering by LaTeX.
399 - Use default font in admonitions and sidebar.
400 - Align of image in a figure defaults to 'center'.
401 - Bugfix: Newlines around targets and references prevent run-together
403 - Fix internal hyperlinks.
404 - Use class defaults for page margins ('typearea' now optional).
405 - Float placement made configurable, default changed to "here definitely".
406 - Typeset generic topic as "quote block with title".
407 - Use template (file and configuration option).
408 - In the default template, load cmap.sty (fix text extraction in PDF) and
409 fixltx2e.sty (LaTeX patches, \textsubscript).
410 - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
411 - Use `translate` instead of repeated `replace` calls for text encoding.
412 - Hyperlinked footnotes and support for symbol footnotes and
413 ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
414 - Complete pairs of binary options
415 (``--figure-footnotes, --figure-citations, --link-stylesheet``,
416 ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
418 - font-encoding: "T1" (formerly implicitely set by 'ae').
419 - use-latex-toc: true (ToC with page numbers).
420 - use-latex-footnotes: true (no mixup with figures).
422 * docutils/writers/manpage.py
424 - Do not print version at document end, this is done by the viewer.
425 - Do not print date at document end, this is done by the viewer.
426 - Fix storage of docinfo fields for none standard fields.
428 * docutils/tools/rst2man.py
430 Release 0.5 (2008-06-25)
431 ========================
433 * docutils/languages/he.py: Added to project: Hebrew mappings by
436 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
437 mappings by Meir Kriheli.
439 * docutils/frontend.py:
441 - Configuration files are now assumed and required to be
443 - Paths of applied configuration files are now recorded in the
444 runtime setting ``_config_files`` (accessible via
445 ``--dump-settings``).
446 - Added ``--strip-elements-with-class`` and ``--strip-class``
447 options (``strip_elements_with_classes`` and ``strip_classes``
452 - Added code to determine the input encoding from data: encoding
453 declarations or the presence of byte order marks (UTF-8 & UTF-16).
454 - Added support for IronPython 1.0.
458 - Added ``document.__getstate__`` method, for pickling.
460 * docutils/parsers/rst/states.py:
462 - Allow ``+`` and ``:`` in reference names.
463 - Unquoted targets beginning with an underscore (``.. __target:
464 URI``) are no longer accepted.
465 - Added support for multiple attributions in a physical block quote
466 (indented text block), dividing it into multiple logical block
468 - Added support for unicode bullets in bullet lists: "•", "‣", and
470 - Added support for new object-oriented directive interface,
471 retaining compatibility to the old functional interface.
472 - Added support for throwing ``DirectiveError``'s from within
475 * docutils/parsers/rst/__init__.py:
477 - Added ``Directive`` base class.
478 - Added ``DirectiveError`` base class.
479 - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
482 * docutils/parsers/directives/:
484 - Refactored all reStructuredText directives to use the new
485 object-oriented directive interface. Errors are now (mostly)
486 thrown using the new ``DirectiveError`` class.
488 * docutils/parsers/directives/misc.py:
490 - Added ``start-after`` and ``end-before`` options to ``include``
491 directive; thanks to Stefan Rank.
493 * docutils/transforms/universal.py:
495 - Added ``StripClassesAndElements`` transform to remove from the
496 document tree all elements with classes in
497 ``settings.strip_elements_with_classes`` and all "classes"
498 attribute values in ``self.document.settings.strip_classes``.
500 * docutils/transforms/writer_aux.py:
502 - Added ``Admonitions`` transform to transform specific admonitions
503 (like ``note``, ``warning``, etc.) into generic admonitions with a
506 * docutils/writers/html4css1/__init__.py:
508 - Moved template functionality from the PEP/HTML writer here.
509 - Expanded the fragments available in the ``parts`` attribute.
510 - Moved ``id`` attributes from titles to surrounding ``div``
512 - Dropped all ``name`` attributes of ``a`` elements (``id`` is
513 universally supported now).
514 - ``template.txt`` is now opened in text mode instead of binary mode
515 (to ensure Windows compatibility).
516 - ``a`` elements now have an "internal" or "external" class,
517 depending on reference type.
519 * docutils/writers/html4css1/template.txt: Added to project.
521 * docutils/writers/pep_html/:
523 - Moved template functionality to the HTML writer.
525 * docutils/writers/s5_html/__init__.py:
527 - Added ``view_mode`` & ``hidden_controls`` settings
528 (``--view-mode`` & ``--hidden-controls/--visible-controls``
531 * docutils/writers/latex2e/__init__.py:
533 - Add ``--literal-block-env``
534 - Fix: escaping ``%`` in href urls.
535 - Move usepackage hyperref after stylesheet inclusion.
536 - Fix: scrartcl does not have chapter but scrreprt.
537 - Add newline after ``\end{verbatim}``.
538 - Merge smaller differences from latex2e_adaptive_preamble.
539 - Add ``use-part-section``.
540 - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
541 - Using leavemode option_list no longer needs to check if parent
542 is a definition list.
543 - Append ``\leavemode`` to definition list terms.
544 - No longer write visit\_/depart_definition_list_item comments to
546 - Table column width with 3 decimal places.
547 - Add table stubs support (boldfont).
548 - Add assemble_parts to writer.
549 - Add simply support for nested tables.
550 - Fix verbatim in tables if use-verbatim-when-possible.
551 - Use section commands down to subparagraph.
552 - Put ensuremath around some latin1 chars.
553 - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
554 - New option ``--use-bibtex=style,db1,db2``.
555 - New option ``--reference-label`` to allow usage of LaTeX ref for
556 labels in section references.
557 - Add a label after every section to support sectionnumbers as reference
559 - Fix: bug# 1605376 rst2latex: bad options group list
560 - Remove inactive code for use_optionlist_for_option_list.
561 - Remove latex comments from option_list output.
562 - Fix: bug# 1612270 double qoutes in italian literal.
563 - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
564 - Add option --use-latex-abstract.
565 - Image width unit ``px`` is translated to ``pt``.
566 - Add image height support.
567 - Fix: image width ``70%`` is converted ``0.700\linewidth``.
569 - Fix: Do not escape underscores in citation reference labels if
570 use-latex-citations is set.
571 - Use centering instead of center for figure contents, to avoid vertical
573 - Recognize table class: borderless, nolines, booktabs, standard.
574 - Fix: Renaming contents section does not work with latex writer; SF
576 - Applied patch for custom roles with classes from Edward Loper.
577 - Fixed bug that caused crashes with more than 256 lists.
579 * docutils/writers/pep_html/__init__.py:
581 - Changed to support new python.org website structure and
584 * docs/howto/security.txt: "Deploying Docutils Securely", added to
587 * tools/buildhtml.py:
589 -- Added ``ignore`` setting to exclude a list of shell patterns
590 (default: ``.svn:CVS``).
592 * tools/editors/emacs/rst.el:
594 - Changed license to "GPL".
595 - Added ``rst-straighten-decorations`` function.
596 - The ``compile`` module is now always loaded.
597 - Added ``rst-toggle-line-block`` function.
598 - Headings consisting only of non-ASCII characters are now
599 recognized by ``rst-toc`` and ``rst-adjust``.
600 - Added font-lock support for multi-line comments where the first
601 comment line is empty.
602 - Added ``(require 'font-lock)``.
606 - Provide descriptive error message if distutils is missing.
609 Release 0.4 (2006-01-09)
610 ========================
614 - Updated the project policies for trunk/branch development &
617 * docutils/__init__.py:
619 - Added ``__version_details__`` attribute to describe code source
620 (repository/snapshot/release).
621 - Replaced ``default_transforms`` attribute of TransformSpec with
622 ``get_transforms()`` method.
626 - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
627 functions, for document tree extraction and reprocessing.
631 - Added ``DocTreeInput`` class, for reprocessing existing documents.
632 - Added support for non-Unicode (e.g. binary) writer output.
636 - Re-introduced ``Targetable.indirect_reference_name``, for
637 MoinMoin/reST compatibility (removed in r3124/r3129).
638 - Added ``serial_escape`` function; escapes string values that are
639 elements of a list, for serialization. Modified Docutils-XML
640 writing (``Element._dom_node``) and pseudo-XML writing
641 (``Element.starttag``) to use ``serial_escape``.
642 - Added ``Node.deepcopy()`` method.
643 - Removed the internal lists ``document.substitution_refs``,
644 ``document.anonymous_refs``, and ``document.anonymous_targets``.
645 - Added a "container" element.
646 - Fixed bug where values of list-valued attributes of elements
647 originating from custom interpreted text roles (i.e., with custom
648 classes) were being shared between element instances. Reported by
651 * docutils/statemachine.py:
653 - Added trailing whitespace stripping to ``string2lines()``.
654 - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
655 Asian double-width character support.
659 - Added ``east_asian_column_width()`` for double-width character
662 * docutils/languages/ja.py: Added to project: Japanese mappings by
665 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
666 mappings by Panjunyong.
668 * docutils/parsers/null.py: Added to project; a do-nothing parser.
670 * docutils/parsers/rst/__init__.py:
672 - Added validator to tab_width setting, with test. Closes SF bug
673 #1212515, report from Wu Wei.
675 * docutils/parsers/rst/states.py:
677 - Fixed bug with escaped colons indicating a literal block.
678 - Fixed bug with enumerated lists (SF#1254145).
679 - Backslash-escaped colons inside of field names are now allowed.
680 - Targets (implicit and explicit), anonymous hyperlink references
681 and auto-numbered footnote references inside of substitution
682 definitions are now disallowed.
683 - Fixed bug: list items with blank first lines.
684 - Fixed bug: block quote attributions with indented second lines.
685 - Added East Asian double-width character support (Python 2.4 only).
687 * docutils/parsers/rst/tableparser.py:
689 - Added East Asian double-width character support (Python 2.4 only).
691 * docutils/parsers/rst/directives/body.py:
693 - Added the "container" directive.
695 * docutils/parsers/rst/directives/misc.py:
697 - Added the "default-role", "title", and "date" directives.
698 - Added standard data file syntax to the "include" directive.
699 - Added support for "class" directive content.
701 * docutils/parsers/rst/directives/images.py:
703 - Added ``indirect_reference_name`` support for images with a target
705 - Added support for image width and height units.
706 - Fixed bug with image "target" options.
708 * docutils/parsers/rst/directives/references.py:
710 - Added "class" attribute to "target-notes" directive, for
711 footnote_reference classes.
713 * docutils/parsers/rst/include/: Directory added to project; contains
714 standard data files for the "include" directive. Initial contents:
715 character entity substitution definition sets, and a set of
716 definitions for S5/HTML presentations.
718 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
719 mappings by David Goodger.
721 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
722 Simplified Chinese mappings by Panjunyong.
724 * docutils/readers/__init__.py:
726 - Added universal.Decorations and universal.ExposeInternals
727 transforms as default transforms for all readers.
728 - Added ``ReReader`` base class for readers that reread an existing
731 * docutils/readers/doctree.py: Added to project; a reader for existing
734 * docutils/transforms/frontmatter.py:
736 - Fixed the DocInfo transform to handle SVN-style expansion of the
738 - In ``DocInfo.extract_authors``, treat the contents of "authors"
741 * docutils/transforms/misc.py:
743 - Added misc.Transitions transform, extracted from
744 universal.FinalChecks.
746 * docutils/transforms/references.py:
748 - Added references.DanglingReferences transform, extracted from
749 universal.FinalChecks.
750 - Fixed bug with doubly-indirect substitutions.
751 - Added footnote_reference classes attribute to "TargetNotes".
752 - Fixed bug with circular substitution definitions that put Docutils
753 into an infinite loop.
755 * docutils/transforms/universal.py:
757 - Added universal.ExposeInternals transform, extracted from
758 universal.FinalChecks.
759 - Removed universal.FinalChecks transform (logic has been moved to
760 several new transforms).
761 - Fixed bug with the "expose_internals" setting and Text nodes
762 (exposed by the "rawsource" internal attribute).
763 - Added the universal.StripComments transform, implementation of the
764 "strip_comments" setting.
766 * docutils/transforms/writer_aux.py: Added to project; auxiliary
767 transforms for writers.
769 - Added ``Compound`` transform, which flattens compound paragraphs.
771 * docutils/writers/: Several writer modules (html4css1.py) were
772 converted into packages. Support modules and data files have been
773 moved into the packages. The stylesheets for the HTML writers are
774 now installed along with the code, the code knows where to find
775 them, and the default is to use them (actually, to embed them).
776 Some adjustments to configuration files may be necessary. The
777 easiest way to obtain the new default behavior is to remove all
778 settings whose name includes "stylesheet".
780 * docutils/writers/__init__.py:
782 - Added universal.Messages and universal.FilterMessages transforms
783 as default transforms for all writers.
784 - Added ``UnfilteredWriter`` base class for writers that pass the
785 document tree on unchanged.
787 * docutils/writers/docutils_xml.py:
789 - Made ``xmlcharrefreplace`` the default output encoding error
792 * docutils/writers/html4css1/:
794 - Added support for image width and height units.
795 - Made ``xmlcharrefreplace`` the default output encoding error
797 - Made ``--embed-stylesheet`` the default rather than
798 ``--link-stylesheet``.
799 - Moved "id" attribute from container (section etc.) to title's <a>
800 tag, to be on the same tag as "name".
801 (!!! To be reverted in Docutils 0.5.)
802 - Added vertical space between fields of field lists.
803 - Added ``--compact-field-lists`` option to remove vertical space in
805 - Made cloaking of email addresses with ``--cloak-email-addresses``
807 - Fixed support for centered images.
808 - Added support for class="compact" & class="open" lists.
810 * docutils/writers/latex2e/:
812 - Underscores in citekeys are no longer escaped.
814 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
815 mapping of Unicode characters to LaTeX equivalents.
817 * docutils/writers/s5_html/: Package added to project; writer for
820 * docs/dev/distributing.txt: Added to project; guide for distributors
821 (package maintainers).
823 * docs/dev/hacking.txt: Added to project; guide for developers.
825 * docs/ref/doctree.txt:
827 - Updated for plural attributes "classes", "ids", "names",
829 - Added the "container" element.
831 * docs/ref/docutils.dtd:
833 - Updated for plural attributes "classes", "ids", "names",
836 * docs/user/emacs.txt: Added to project; a document about Emacs
837 support for reStructuredText and Docutils.
839 * docs/user/links.txt: Added to project; lists of Docutils-related
842 * docs/user/mailing-lists.txt: Added to project; information about
843 Docutils-related mailing lists and how to access them.
845 * docs/user/slide-shows.txt: Added to project; example of and docs for
846 the S5/HTML writer (``rst2s5.py`` front end).
848 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
849 Files", added to project.
851 * test/coverage.sh: Added to project; test coverage script.
853 * test/DocutilsTestSupport.py:
855 - Added support for specifying runtime settings at the suite level.
857 * test/test_functional.py:
859 - Added the ``clear_output_directory`` function.
860 - Added support for ``_test_more`` functions in functional test
863 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
865 * tools/rstpep2html.py: Renamed from pep.py.
867 * tools/dev/create_unimap.py: Added to project; script to create the
868 docutils/writers/unimap_latex.py mapping file.
870 * tools/dev/profile_docutils.py: Added to project; profiler script.
872 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
874 * tools/editors/emacs/restructuredtext.el,
875 tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
876 Removed from project; the functionality is now contained in rst.el.
878 * tools/editors/emacs/rst.el: Added to project. Added many features
879 and fixed many bugs. See docs/user/emacs.txt for details.
881 * tools/stylesheets: Removed from project. Stylesheets have been
882 renamed and moved into writer packages.
885 Release 0.3.9 (2005-05-26)
886 ==========================
890 - Eliminated and replaced all uses of the old string attributes
891 ``id``, ``name``, ``dupname`` and ``class`` with references to the
892 new list attributes ``ids``, ``names``, ``dupnames`` and
893 ``classes`` throughout the whole source tree.
897 - Enabled ``--dump-*`` options when ``--traceback`` specified,
898 allowing for easier debugging.
899 - In ``Publisher.publish()``, expanded the generic top-level
902 * docutils/examples.py:
904 - Added ``internals`` function for exploration.
908 - Fixed ``Input.decode`` method to apply heuristics only if no
909 encoding is explicitly given, and to provide better reporting of
911 - The ``Input.decode`` method now removes byte order marks (BOMs)
916 - ``image`` element class changed to subclass of Element, not
917 TextElement (it's an empty element, and cannot contain text).
918 - Added ``attr_defaults`` dictionary for default attribute values.
919 - Added empty list as default value for the following attributes:
920 ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
921 - Added ``document.decoration`` attribute,
922 ``document.get_decoration`` method, and ``decoration.get_header``
923 & ``.get_footer`` methods.
924 - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
929 - Removed ``docutils.utils.Reporter.categories``,
930 ``docutils.utils.ConditionSet``, and all references to them, to
931 simplify error reporting.
933 * docutils/languages/nl.py: Added to project; Dutch mappings by
936 * docutils/parsers/rst/__init__.py:
938 - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
940 * docutils/parsers/rst/states.py:
942 - Added check for escaped at-mark to prevent email address recognition.
943 - Fixed option lists to allow spaces inside ``<angle-bracketed option
945 - Allowed whitespace in paths and URLs.
946 - Added auto-enumerated list items.
947 - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
949 - Added support for table stub columns.
951 * docutils/parsers/rst/directives/__init__.py:
953 - Allowed whitespace in paths (``path`` function).
954 - Added ``uri`` directive option conversion function.
956 * docutils/parsers/rst/directives/body.py:
958 - Fixed illegal context bug with "topic" directive (allowed within
959 sidebars; not within body elements).
961 * docutils/parsers/rst/directives/images.py:
963 - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
964 - Added support for the ``file_insertion_enabled`` setting in the
965 "figure" directive (disables "figwidth" option).
966 - "image" directive: added checks for valid values of "align" option,
967 depending on context. "figure" directive: added specialized
968 "align" option and attribute on "figure" element.
969 - Made ":figwidth: image" option of "figure" directive work again.
970 - Fixed bug with reference names containing uppercase letters
971 (e.g. ``Name_``) in "target" option of "image" directive.
973 * docutils/parsers/rst/directives/misc.py:
975 - Fixed "include" and "raw" directives to catch text decoding
977 - Allowed whitespace in "include" & "raw" directive paths.
978 - Added support for ``file_insertion_enabled`` & ``raw_enabled``
979 settings in "include" & "raw" directives.
981 * docutils/parsers/rst/directives/parts.py:
983 - Added "header" & "footer" directives.
984 - Fixed illegal context bug with "contents" directive (topics
985 allowed within sidebars; not within body elements).
987 * docutils/parsers/rst/directives/tables.py:
989 - Added "list-table" directive.
990 - Caught empty CSV table bug.
991 - Added support for the ``file_insertion_enabled`` setting in the
992 "csv-table" directive.
993 - Added ``stub-columns`` option to "csv-table" and "list-table"
996 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
997 mappings by Martijn Pieters.
999 * docutils/readers/standalone.py:
1001 - Added ``--section-subtitles`` and ``--no-section-subtitles``
1002 options to activate or deactivate the SectSubTitle transform.
1004 * docutils/transforms/frontmatter.py:
1006 - Added SectSubTitle transform to promote titles of lone
1007 subsections to subtitles.
1009 * docutils/transforms/references.py:
1011 - Fixed mislocated internal targets bug, by propagating internal
1012 targets to the next node, making use of the newly added support
1013 for multiple names and IDs.
1014 - Fixed duplicate footnote label bug.
1015 - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1018 * docutils/writers/html4css1.py:
1020 - Fixed unencoded stylesheet reference bug (characters like "&" in
1021 stylesheet references).
1022 - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1024 - Added support for multiple IDs per node by creating empty ``span``
1026 - Added the ``field_name_limit`` & ``option_limit`` settings &
1028 - Added support for table stub columns.
1029 - Added support for the ``align`` attribute on ``figure`` elements.
1030 - Added the ``cloak_email_addresses`` setting & support.
1031 - Added ``html_prolog``, ``html_head``, ``html_body``,
1032 ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1033 ``docutils.core.publish_parts``.
1034 - Added support for section subtitles.
1036 * docutils/writers/latex2e.py:
1038 - Fixed tables starting with more than one multirow cell.
1039 - Improved --use-latex-docinfo so that organization/contact/address
1040 fields are lumped with the last author field and appear on the
1042 - Made sure the titlepage is always shown with --use-latex-docinfo,
1043 even if the document has no title.
1044 - Made sure that latex doesn't fill in today's date if no date field
1046 - Added support for section subtitles.
1048 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1049 (under development).
1051 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1053 * docs/api/publisher.txt:
1055 - Added "``publish_parts`` Details" section.
1057 * docutils/dev/repository.txt: Added to project; information about the
1058 Docutils Subversion repository.
1060 * docs/ref/docutils.dtd:
1062 - Added a ``stub`` attribute to the ``colspec`` element via the
1063 ``tbl.colspec.att`` parameter entity.
1064 - Allowed topic elements within sidebars
1065 - Added an ``align`` attribute to the ``figure`` element.
1067 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1071 Release 0.3.7 (2004-12-24)
1072 ==========================
1074 * docutils/frontend.py:
1076 - Added options: --input-encoding-error-handler,
1077 --record-dependencies, --leave-footnote-reference-space,
1079 - Added command-line and config file support for "overrides" setting
1084 - Added support for input encoding error handler.
1086 * docutils/nodes.py:
1088 - Added dispatch_visit and dispatch_departure methods to
1089 NodeVisitor; useful as a hook for Visitors.
1090 - Changed structure of ``line_block``; added ``line``.
1091 - Added ``compound`` node class.
1092 - Added a mechanism for Visitors to transitionally ignore new node
1095 * docutils/utils.py:
1097 - Moved ``escape2null`` and ``unescape`` functions from
1098 docutils/parsers/rst/states.py.
1100 * docutils/parsers/rst/roles.py:
1103 - Changed role function API: the "text" parameter now takes
1104 null-escaped interpreted text content.
1106 * docutils/parsers/rst/states.py:
1108 - Fixed bug where a "role" directive in a nested parse would crash
1109 the parser; the state machine's "language" attribute was not being
1111 - Added support for line block syntax.
1112 - Fixed directive parsing bug: argument-less directives didn't
1113 notice that arguments were present.
1114 - Removed error checking for transitions.
1115 - Added support for multiple classifiers in definition list items.
1116 - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1117 - Changed role function API: the "text" parameter now takes
1118 null-escaped interpreted text content.
1119 - Empty sections and documents are allowed now.
1121 * docutils/parsers/rst/directives/__init__.py:
1123 - Added ``encoding`` directive option conversion function.
1124 - Allow multiple class names in class_option conversion function.
1126 * docutils/parsers/rst/directives/body.py:
1128 - Converted the line-block directive to use the new structure.
1129 - Extracted the old line-block functionality to the ``block``
1130 function (still used).
1131 - Added ``compound`` directive (thanks to Lea Wiemann).
1133 * docutils/parsers/rst/directives/misc.py:
1135 - Added "encoding" option to "include" and "raw" directives.
1136 - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1137 - Allow multiple class names in the "class" directive.
1139 * docutils/parsers/rst/directives/parts.py:
1141 - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1142 options. Thanks to Lele Gaifax.
1144 * docutils/parsers/rst/directives/tables.py:
1146 - Added "encoding" directive to "csv-table" directive.
1147 - Added workaround for lack of Unicode support in csv.py, for
1148 non-ASCII CSV input.
1150 * docutils/transforms/misc.py:
1152 - Fixed bug when multiple "class" directives are applied to a single
1154 - Enabled multiple format names for "raw" directive.
1156 * docutils/transforms/references.py:
1158 - Added support for trimming whitespace from beside substitution
1161 * docutils/transforms/universal.py:
1163 - FinalChecks now checks for illegal transitions and moves
1164 transitions between sections.
1166 * docutils/writers/html4css1.py:
1168 - HTMLTranslator.encode now converts U+00A0 to " ".
1169 - "stylesheet" and "stylesheet_path" settings are now mutually
1171 - Added support for the new line_block/line structure.
1172 - --footnote-references now overrides
1173 --trim-footnote-reference-space, if applicable.
1174 - Added support for ``compound`` elements.
1175 - Enabled multiple format names for "raw" directive.
1176 - ``<p>`` tags of a paragraph which is the only visible child of the
1177 document node are no longer stripped.
1178 - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1179 new method ``should_be_compact_paragraph()``.
1180 - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1182 - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1183 the output if they have their ``class`` attribute set.
1184 - The whole document is now surrounded by a ``<div
1185 class="document">`` element.
1186 - Body-level images are now wrapped by their own ``<div>`` elements,
1187 with image classes copied to the wrapper, and for images which
1188 have the ``:align:`` option set, the surrounding ``<div>`` now
1189 receives a class attribute (like ``class="align-left"``).
1191 * docutils/writers/latex2e.py:
1193 - no newline after depart_term.
1194 - Added translations for some Unicode quotes.
1195 - Added option "font-encoding", made package AE the default.
1196 - "stylesheet" and "stylesheet_path" settings are now mutually
1198 - --footnote-references now overrides
1199 --trim-footnote-reference-space, if applicable.
1200 - The footnote label style now matches the footnote reference style
1201 ("brackets" or "superscript").
1202 - Added support for ``compound`` elements.
1203 - Enabled multiple format names for "raw" directive.
1205 * docs/ref/docutils.dtd:
1207 - Changed structure of the ``line_block`` element; added ``line``.
1208 - Added ``compound`` element.
1209 - Added "ltrim" and "rtrim" attributes to
1210 ``substitution_definition`` element.
1211 - Enabled multiple format names for ``raw`` element.
1212 - Enabled multiple classifiers in ``definition_list_item`` elements.
1214 * docs/ref/rst/directives.txt
1216 - Marked "line-block" as deprecated.
1217 - "Class" directive now allows multiple class names.
1218 - Added "Rationale for Class Attribute Value Conversion".
1219 - Added warning about "raw" overuse/abuse.
1221 * docs/ref/rst/restructuredtext.txt:
1223 - Added syntax for line blocks.
1224 - Definition list items may have multiple classifiers.
1226 * docs/ref/rst/roles.txt:
1230 * tools/stylesheets/default.css:
1232 - Added support for the new line_block structure.
1233 - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1236 Release 0.3.5 (2004-07-29)
1237 ==========================
1241 * _`Documentation cleanup/reorganization`.
1243 - Created new subdirectories of docs/:
1245 * ``docs/user/``: introductory/tutorial material for end-users
1246 * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1247 * ``docs/api/``: API reference material for client-developers
1248 * ``docs/ref/``: reference material for all groups
1249 * ``docs/howto/``: for component-developers and core-developers
1250 * ``docs/peps/``: Python Enhancement Proposals
1252 - Moved ``docs/*`` to ``docs/user/``.
1253 - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1254 ``spec/`` to ``docs/dev``.
1255 - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1256 ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1257 - Moved ``alternatives.txt``, and ``problems.txt`` from
1258 ``spec/rst/`` to ``docs/dev/rst/``.
1259 - Moved ``reStructuredText.txt``, ``directives.txt``,
1260 ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1261 to ``docs/ref/rst/``. Renamed ``interpreted.txt`` to
1262 ``roles.txt``, ``reStructuredText.txt`` to
1263 ``restructuredtext.txt``.
1264 - Moved ``spec/howto/`` to ``docs/howto``.
1266 In order to keep the CVS history of moved files, we supplied
1267 SourceForge with a `script for modifying the Docutils CVS
1270 __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1272 After running the cleanup script:
1274 - Added ``docs/index.txt``.
1275 - Added a ``.htaccess`` file to the ``web`` module, containing
1276 redirects for all old paths to new paths. They'll preserve
1277 fragments (the "#name" part of a URL), and won't clutter up the
1278 file system, and will correct the URL in the user's browser.
1279 - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1280 ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1281 the "To Do" list itself in ``docs/dev/todo.txt``.
1282 - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1283 section of ``docs/dev/todo.txt``.
1284 - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1285 - Added "How To Report Bugs" to ``BUGS.txt``.
1286 - Went through all the sources and docs (including under web/) and
1287 updated links. Mostly done by Lea Wiemann; thanks Lea!
1288 (Still need to update links in the sandboxes.)
1292 * BUGS.txt: Added to project.
1294 * THANKS.txt: Added to project.
1296 * docutils/__init__.py:
1298 - 0.3.4: Post-release.
1302 - Added special error handling & advice for UnicodeEncodeError.
1303 - Refactored Publisher.publish (simplified exception handling &
1304 extracted debug dumps).
1305 - Renamed "enable_exit" parameter of convenience functions to
1306 "enable_exit_status".
1307 - Enabled traceback (exception propagation) by default in
1308 programmatic convenience functions.
1309 - Now publish_file and publish_cmdline convenience functions return
1310 the encoded string results in addition to their regular I/O.
1311 - Extracted common code from publish_file, publish_string, and
1312 publish_parts, into new publish_programmatically. Extracted
1313 settings code to ``Publisher.process_programmatic_settings``.
1314 - In Publisher.publish, disabled ``settings_overrides`` when
1315 ``settings`` is supplied; redundant.
1317 * docutils/frontend.py:
1319 - Added help text for "--output-encoding-error-handler" and
1320 "--error-encoding-error-handler".
1321 - Renamed "--exit" to "--exit-status".
1322 - Simplified default-setting code.
1324 * docutils/parsers/rst/__init__.py:
1326 - Added "--pep-base-url" and "--rfc-base-url" options.
1328 * docutils/parsers/rst/states.py:
1330 - Made URI recognition more aggressive and intelligent.
1332 * docutils/parsers/rst/directives/__init__.py:
1334 - Added several directive option conversion functions.
1336 * docutils/parsers/rst/directives/body.py:
1338 - Moved "table" directive to tables.py.
1340 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1343 * docutils/writers/latex2e.py:
1345 - Added "--table-style=(standard|booktabs|nolines)"
1346 - figures get "here" option (LaTeX per default puts them at bottom),
1347 and figure content is centered.
1348 - Rowspan support for tables.
1349 - Fix: admonition titles before first section.
1350 - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1351 - Replave ``_`` in literal by an underlined blank, because it has the correct
1353 - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1354 - A few unicode replacements, if output_encoding != utf
1355 - Add "--graphicx-option".
1356 - Indent literal-blocks.
1357 - Fix: omit ``\maketitle`` when there is no document title.
1359 * docs/index.txt: "Docutils Project Documentation Overview", added to
1362 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1363 Tool", added to project.
1365 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1367 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1369 * docs/dev/policies.txt: Added to project (extracted from
1370 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1372 * docs/dev/release.txt: Added to project (extracted from
1373 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1375 * docs/dev/testing.txt: Added to project.
1377 * docs/dev/website.txt: Added to project (extracted from
1378 ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1380 * docs/ref/rst/directives.txt:
1382 - Added directives: "table", "csv-table".
1384 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1385 added to project. 1 page for syntax, and a 1 page reference for
1386 directives and roles. Source text to be used as-is; not meant to be
1389 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1390 with a change of title.
1392 * test/functional/, contents, and test/test_functional.py: Added to
1395 * tools/buildhtml.py: Fixed bug with config file handling.
1397 * tools/html.py: Removed from project (duplicate of rst2html.py).
1399 * tools/pep2html.py: Removed from project (duplicate of Python's
1400 nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1401 Docutils-related PEPs in docs/peps/).
1403 * tools/rst2pseudoxml.py: Renamed from publish.py.
1405 * tools/rst2xml.py: Renamed from docutils-xml.py.
1407 * tools/test.txt: Removed from project; moved to
1408 docs/user/rst/demo.txt.
1410 * setup.py: Now also installs ``rst2latex.py``.
1413 Release 0.3.3 (2004-05-09)
1414 ==========================
1416 * docutils/__init__.py:
1418 - 0.3.1: Reorganized config file format (multiple sections); see
1420 - Added unknown_reference_resolvers attribute to TransformSpec.
1421 - 0.3.2: Interpreted text reorganization.
1426 - Catch system messages to stop tracebacks from parsing errors.
1427 - Catch exceptions during processing report & exit without
1428 tracebacks, except when "--traceback" used.
1429 - Reordered components for OptionParser; application comes last.
1430 - Added "config_section" parameter to several methods and functions,
1431 allowing front ends to easily specify their config file sections.
1432 - Added publish_parts convenience function to allow access to individual
1433 parts of a document.
1435 * docutils/examples.py: Added to project; practical examples of
1436 Docutils client code, to be used as-is or as models for variations.
1438 * docutils/frontend.py:
1440 - Added "--traceback" & "--no-traceback" options ("traceback"
1442 - Implemented support for config file reorganization:
1443 ``standard_config_files`` moved from ``ConfigParser`` to
1444 ``OptionParser``; added
1445 ``OptionParser.get_config_file_settings()`` and
1446 ``.get_standard_config_settings()``; support for old "[options]"
1447 section (with deprecation warning) and mapping from old to new
1449 - Reimplemented setting validation.
1450 - Enabled flexible boolean values: yes/no, true/false, on/off.
1451 - Added ``Values``, a subclass of ``optparse.Values``, with support
1452 for list setting attributes.
1453 - Added support for new ``DOCUTILSCONFIG`` environment variable;
1454 thanks to Beni Cherniavsky.
1455 - Added "--no-section-numbering" option.
1459 - Catch IOErrors when opening source & destination files, report &
1460 exit without tracebacks. Added ``handle_io_errors`` parameter to
1461 ``FileInput`` & ``FileOutput`` to enable caller error handling.
1463 * docutils/nodes.py:
1465 - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1466 method definitions (via ``exec``) to dynamic assignments (via
1467 ``setattr``); thanks to Roman Suzi.
1468 - Encapsulated visitor dynamic assignments in a function; thanks to
1470 - Added indirect_reference_name attribute to the Targetable
1471 class. This attribute holds the whitespace_normalized_name
1472 (contains mixed case) of a target.
1474 * docutils/statemachine.py:
1476 - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1477 - Added ``StringList.get_2D_block``.
1479 * docutils/utils.py:
1481 - Added "level" attribute to SystemMessage exceptions.
1483 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1486 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1489 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1490 Marcelo Huerta San Martin.
1492 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1493 mappings by Lalo Martins.
1495 * docutils/languages/ru.py: Added to project; Russian mappings by
1498 * docutils/parsers/rst/roles.py: Added to project. Contains
1499 interpreted text role functions, a registry for interpreted text
1500 roles, and an API for adding to and retrieving from the registry.
1501 Contributed by Edward Loper.
1503 * docutils/parsers/rst/states.py:
1505 - Updated ``RSTState.nested_parse`` for "include" in table cells.
1506 - Allowed true em-dash character and "---" as block quote
1508 - Added support for <angle-bracketed> complex option arguments
1510 - Fixed handling of backslashes in substitution definitions.
1511 - Fixed off-by-1 error with extra whitespace after substitution
1512 definition directive.
1513 - Added inline markup parsing to field lists' field names.
1514 - Added support for quoted (and unindented) literal blocks.
1515 Driven in part by a bribe from Frank Siebenlist (thanks!).
1516 - Parser now handles escapes in URIs correctly.
1517 - Made embedded-URIs' reference text omittable. Idea from Beni
1519 - Refactored explicit target processing code.
1520 - Added name attribute to references containing the reference name only
1521 through whitespace_normalize_name (no case changes).
1522 - parse_target no longer returns the refname after going through
1523 normalize_name. This is now handled in make_target.
1524 - Fixed bug relating to role-less interpreted text in non-English
1526 - Reorganized interpreted text processing; moved code into the new
1527 roles.py module. Contributed by Edward Loper.
1528 - Refactored ``Body.parse_directive`` into ``run_directive`` and
1529 ``parse_directive_block``.
1531 * docutils/parsers/rst/tableparser.py:
1533 - Reworked for ``StringList``, to support "include" directives in
1536 * docutils/parsers/rst/directives/__init__.py:
1538 - Renamed ``unchanged()`` directive option conversion function to
1539 ``unchanged_required``, and added a new ``unchanged``.
1540 - Catch unicode value too high error; fixes bug 781766.
1541 - Beefed up directive error reporting.
1543 * docutils/parsers/rst/directives/body.py:
1545 - Added basic "table" directive.
1547 * docutils/parsers/rst/directives/images.py:
1549 - Added "target" option to "image" directive.
1550 - Added name attribute to references containing the reference name only
1551 through whitespace_normalize_name (no case changes).
1553 * docutils/parsers/rst/directives/misc.py:
1555 - Isolated the import of the ``urllib2`` module; was causing
1556 problems on SourceForge (``libssl.so.2`` unavailable?).
1557 - Added the "role" directive for declaring custom interpreted text
1560 * docutils/parsers/rst/directives/parts.py:
1562 - The "contents" directive does more work up-front, creating the
1563 "topic" and "title", and leaving the "pending" node for the
1564 transform. Allows earlier reference resolution; fixes subtle bug.
1566 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1567 mappings by Jannie Hofmeyr.
1569 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1570 mappings by Marek Blaha.
1572 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1573 mappings by Marcelo Huerta San Martin.
1575 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1576 Portuguese mappings by Lalo Martins.
1578 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1579 mappings by Roman Suzi.
1581 * docutils/transforms/parts.py:
1583 - The "contents" directive does more work up-front, creating the
1584 "topic" and "title", and leaving the "pending" node for the
1585 transform. Allows earlier reference resolution; fixes subtle bug.
1586 - Added support for disabling of section numbering.
1588 * docutils/transforms/references.py:
1590 - Verifying that external targets are truly targets and not indirect
1591 references. This is because we are now adding a "name" attribute to
1592 references in addition to targets. Note sure if this is correct!
1593 - Added code to hook into the unknown_reference_resolvers list for a
1594 transformer in resolve_indirect_target. This allows the
1595 unknown_reference_resolvers to keep around indirect targets which
1596 docutils doesn't know about.
1597 - Added specific error message for duplicate targets.
1599 * docutils/transforms/universal.py:
1601 - Added FilterMessages transform (removes system messages below the
1602 verbosity threshold).
1603 - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1604 to FinalCheckVisitor for application-specific handling of
1605 unresolvable references.
1606 - Added specific error message for duplicate targets.
1608 * docutils/writers/__init__.py:
1610 - Added assemble_parts method to the Writer class to allow for
1611 access to a documents individual parts.
1612 - Documented & set default for ``Writer.output`` attribute.
1614 * docutils/writers/html4css1.py:
1616 - Fixed unicode handling of attribute values (bug 760673).
1617 - Prevent duplication of "class" attribute values (bug report from
1619 - Improved table grid/border handling (prompted by report from Bob
1621 - Added support for table titles.
1622 - Added "<title />" for untitled docs, for XHTML conformance; thanks
1624 - Added functionality to keep track of individual parts of a document
1625 and store them in a dictionary as the "parts" attribute of the writer.
1626 Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1627 - Added proper support for the "scale" attribute of the "image"
1628 element. Contributed by Brent Cook.
1629 - Added ``--initial-header-level`` option.
1630 - Fixed bug: the body_pre_docinfo segment depended on there being a
1631 docinfo; if no docinfo, the document title was incorporated into
1632 the body segment. Adversely affected the publish_parts interface.
1634 * docutils/writers/latex2e.py:
1636 - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1637 about a missing file.
1638 - Added options and support: ``--compound-enumerators``,
1639 ``--section-prefix-for-enumerators``, and
1640 ``--section-enumerator-separator``. By John F Meinel Jr (SF patch
1642 - Added option ``--use-verbatim-when-possible``, to avoid
1643 problematic characters (eg, '~' in italian) in literal blocks.
1644 - It's now possible to use four section levels in the `book` and
1645 `report` LaTeX classes. The default `article` class still has
1648 * docs/config.txt: "Docutils Configuration Files", added to project.
1649 Moved config file entry descriptions from tools.txt.
1653 - Moved config file entry descriptions to config.txt.
1655 * spec/notes.txt: Continual updates. Added "Setting Up For Docutils
1658 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1659 Text Roles", added to project.
1661 * spec/rst/reStructuredText.txt:
1663 - Added description of support for <angle-bracketed> complex option
1664 arguments to option lists.
1665 - Added subsections for indented and quoted literal blocks.
1667 * test: Continually adding & updating tests.
1669 - Added test/test_settings.py & test/data/config_*.txt support
1671 - Added test/test_writers/test_htmlfragment.py.
1673 * test/DocutilsTestSupport.py:
1675 - Refactored LaTeX publisher test suite/case class names to make
1676 testing other writers easier.
1677 - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1678 to test the processing of HTML fragments which use the new
1679 publish_parts convenience function.
1681 * tools/buildhtml.py:
1683 - Added support for the "--prune" option.
1684 - Removed dependency on pep2html.py; plaintext PEPs no longer
1687 * tools/docutils.conf:
1689 - Updated for configuration file reorganization.
1691 * tools/rst2html.py:
1693 - copied from tools/html.py
1697 - added a 'scripts' section to configuration
1698 - added 'tools/rst2html.py' to the scripts section
1701 Release 0.3 (2003-06-24)
1702 ========================
1706 * Renamed "attribute" to "option" for directives/extensions.
1708 * Renamed transform method "transform" to "apply".
1710 * Renamed "options" to "settings" for runtime settings (as set by
1711 command-line options). Sometimes "option" (singular) became
1712 "settings" (plural). Some variations below:
1714 - document.options -> document.settings (stored in other objects as
1716 - option_spec -> settings_spec (not directives though)
1717 - OptionSpec -> SettingsSpec
1718 - cmdline_options -> settings_spec
1719 - relative_path_options -> relative_path_settings
1720 - option_default_overrides -> settings_default_overrides
1721 - Publisher.set_options -> Publisher.get_settings
1725 * COPYING.txt: Added "Public Domain Dedication".
1727 * FAQ.txt: Frequently asked questions, added to project.
1731 - Updated with PyPI Trove classifiers.
1732 - Conditional installation of third-party modules.
1734 * docutils/__init__.py:
1736 - Bumped version to 0.2.1 to reflect changes to I/O classes.
1737 - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1738 - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1739 - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1740 option and its effect on the PEP template & writer.
1741 - Bumped version to 0.2.4 due to changes to the PEP template &
1743 - Bumped version to 0.2.5 to reflect changes to Reporter output.
1744 - Added ``TransformSpec`` class for new transform system.
1745 - Bumped version to 0.2.6 for API changes (renaming).
1746 - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1747 convenience functions.
1748 - Added ``Component.component_type`` attribute.
1749 - Bumped version to 0.2.8 because of the internal parser switch from
1750 plain lists to the docutils.statemachine.StringList objects.
1751 - Bumped version to 0.2.9 because of the frontend.py API changes.
1752 - Bumped version to 0.2.10 due to changes to the project layout
1753 (third-party modules removed from the "docutils" package), and
1754 signature changes in ``io.Input``/``io.Output``.
1755 - Changed version to 0.3.0 for release.
1759 - Made ``publish()`` a bit more convenient.
1760 - Generalized ``Publisher.set_io``.
1761 - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1762 parameters; improved its docstring.
1763 - Added ``publish_file()`` and ``publish_string()``.
1764 - Factored ``Publisher.set_source()`` and ``.set_destination()``
1766 - Added support for "--dump-pseudo-xml", "--dump-settings", and
1767 "--dump-transforms" hidden options.
1768 - Added ``Publisher.apply_transforms()`` method.
1769 - Added ``Publisher.set_components()`` method; support for
1770 ``publish_*()`` conveninece functions.
1771 - Moved config file processing to docutils/frontend.py.
1772 - Added support for exit status ("exit_level" setting &
1773 ``enable_exit`` parameter for Publisher.publish() and convenience
1776 * docutils/frontend.py:
1778 - Check for & exit on identical source & destination paths.
1779 - Fixed bug with absolute paths & "--config".
1780 - Set non-command-line defaults in ``OptionParser.__init__()``:
1781 ``_source`` & ``_destination``.
1782 - Distributed ``relative_path_settings`` to components; updated
1783 ``OptionParser.populate_from_components()`` to combine it all.
1784 - Require list of keys in ``make_paths_absolute`` (was implicit in
1785 global ``relative_path_settings``).
1786 - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1787 "--dump-settings", and "--dump-transforms" hidden options.
1788 - Removed nasty internals-fiddling ``ConfigParser.get_section``
1789 code, replaced with correct code.
1790 - Added validation functionality for config files.
1791 - Added "--error-encoding" option/setting, "_disable_config"
1793 - Added encoding validation; updated "--input-encoding" and
1794 "--output-encoding"; added "--error-encoding-error-handler" and
1795 "--output-encoding-error-handler".
1796 - Moved config file processing from docutils/core.py.
1797 - Updated ``OptionParser.populate_from_components`` to handle new
1798 ``SettingsSpec.settings_defaults`` dict.
1799 - Added support for "-" => stdin/stdout.
1800 - Added "exit_level" setting ("--exit" option).
1804 - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1805 - Added automatic closing to ``FileInput`` and ``FileOutput``.
1806 - Delayed opening of ``FileOutput`` file until ``write()`` called.
1807 - ``FileOutput.write()`` now returns the encoded output string.
1808 - Try to get path/stream name automatically in ``FileInput`` &
1810 - Added defaults for source & destination paths.
1811 - Allow for Unicode I/O with an explicit "unicode" encoding.
1812 - Added ``Output.encode()``.
1813 - Removed dependency on runtime settings; pass encoding directly.
1814 - Recognize Unicode strings in ``Input.decode()``.
1815 - Added support for output encoding error handlers.
1817 * docutils/nodes.py:
1819 - Added "Invisible" element category class.
1820 - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1821 modification during a traversal.
1822 - Added element classes: ``line_block``, ``generated``, ``address``,
1823 ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1824 ``superscript``, ``subscript``, ``inline``
1825 - Added support for lists of nodes to ``Element.insert()``.
1826 - Fixed parent linking in ``Element.replace()``.
1827 - Added new abstract superclass ``FixedTextElement``; adds
1828 "xml:space" attribute.
1829 - Added support for "line" attribute of ``system_message`` nodes.
1830 - Added support for the observer pattern from ``utils.Reporter``.
1831 Added ``parse_messages`` and ``transform_messages`` attributes to
1832 ``document``, removed ``messages``. Added ``note_parse_message``
1833 and ``note_transform_message`` methods.
1834 - Added support for improved diagnostics:
1836 - Added "document", "source", and "line" internal attributes to
1837 ``Node``, set by ``Node.setup_child()``.
1838 - Converted variations on ``node.parent = self`` to
1839 ``self.setup_child(node)``.
1840 - Added ``document.current_source`` & ``.current_line``
1841 attributes, and ``.note_source`` observer method.
1842 - Changed "system_message" output to GNU-Tools format.
1844 - Added a "rawsource" attribute to the ``Text`` class, for text
1845 before backslash-escape resolution.
1846 - Support for new transform system.
1847 - Reworked ``pending`` element.
1848 - Fixed XML DOM bug (SF #660611).
1849 - Removed the ``interpeted`` element class and added
1850 ``title_reference``, ``abbreviation``, ``acronym``.
1851 - Made substitutions case-sensitive-but-forgiving; moved some code
1853 - Fixed Unicode bug on element attributes (report: William Dode).
1855 * docutils/optik.py: Removed from project; replaced with
1856 extras/optparse.py and extras/textwrap.py. These will be installed
1857 only if they're not already present in the Python installation.
1859 * docutils/roman.py: Moved to extras/roman.py; this will be installed
1860 only if it's not already present in the Python installation.
1862 * docutils/statemachine.py:
1864 - Factored out ``State.add_initial_transitions()`` so it can be
1866 - Converted whitespace-specific "blank" and "indent" transitions
1867 from special-case code to ordinary transitions: removed
1868 ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
1869 ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
1870 ``ws_initial_transitions`` attributes.
1871 - Removed ``State.match_transition()`` after merging it into
1873 - Added ``StateCorrection`` exception.
1874 - Added support for ``StateCorrection`` in ``StateMachine.run()``
1875 (moved ``TransitionCorrection`` support there too.)
1876 - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
1877 ``EOFError`` instead of ``IndexError``.
1878 - Added ``State.no_match`` method.
1879 - Added support for the Observer pattern, triggered by input line
1881 - Added ``strip_top`` parameter to
1882 ``StateMachineWS.get_first_known_indented``.
1883 - Made ``context`` a parameter to ``StateMachine.run()``.
1884 - Added ``ViewList`` & ``StringList`` classes;
1885 ``extract_indented()`` becomes ``StringList.get_indented()``.
1886 - Added ``StateMachine.insert_input()``.
1887 - Fixed ViewList slice handling for Python 2.3. Patch from (and
1888 thanks to) Fred Drake.
1890 * docutils/utils.py:
1892 - Added a ``source`` attribute to Reporter instances and
1893 ``system_message`` elements.
1894 - Added an observer pattern to ``utils.Reporter`` to keep track of
1896 - Fixed bugs in ``relative_path()``.
1897 - Added support for improved diagnostics.
1898 - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
1899 - Added support for encoding Reporter stderr output, and encoding
1901 - Reporter keeps track of the highest level system message yet
1904 * docutils/languages: Fixed bibliographic field language lookups.
1906 * docutils/languages/es.py: Added to project; Spanish mappings by
1907 Marcelo Huerta San Martin.
1909 * docutils/languages/fr.py: Added to project; French mappings by
1912 * docutils/languages/it.py: Added to project; Italian mappings by
1915 * docutils/languages/sk.py: Added to project; Slovak mappings by
1918 * docutils/parser/__init__.py:
1920 - Added ``Parser.finish_parse()`` method.
1922 * docutils/parser/rst/__init__.py:
1924 - Added options: "--pep-references", "--rfc-references",
1925 "--tab-width", "--trim-footnote-reference-space".
1927 * docutils/parsers/rst/states.py:
1929 - Changed "title under/overline too short" system messages from INFO
1930 to WARNING, and fixed its insertion location.
1931 - Fixed enumerated list item parsing to allow paragraphs & section
1932 titles to begin with enumerators.
1933 - Converted system messages to use the new "line" attribute.
1934 - Fixed a substitution reference edge case.
1935 - Added support for "--pep-references" and "--rfc-references"
1936 options; reworked ``Inliner`` code to make customization easier.
1937 - Removed field argument parsing.
1938 - Added support for short section title over/underlines.
1939 - Fixed "simple reference name" regexp to ignore text like
1940 "object.__method__"; not an anonymous reference.
1941 - Added support for improved diagnostics.
1942 - Reworked directive API, based on Dethe Elza's contribution. Added
1943 ``Body.parse_directive()``, ``.parse_directive_options()``,
1944 ``.parse_directive_arguments()`` methods.
1945 - Added ``ExtensionOptions`` class, to parse directive options
1946 without parsing field bodies. Factored
1947 ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
1948 ``ExtensionOptions``.
1949 - Improved definition list term/classifier parsing.
1950 - Added warnings for unknown directives.
1951 - Renamed ``Stuff`` to ``Struct``.
1952 - Now flagged as errors: transitions at the beginning or end of
1953 sections, empty sections (except title), and empty documents.
1954 - Updated for ``statemachine.StringList``.
1955 - Enabled recognition of schemeless email addresses in targets.
1956 - Added support for embedded URIs in hyperlink references.
1957 - Added backslash-escapes to inline markup end-string suffix.
1958 - Added support for correct interpreted text processing.
1959 - Fixed nested title parsing (topic, sidebar directives).
1960 - Added special processing of backslash-escaped whitespace (idea
1961 from David Abrahams).
1962 - Made substitutions case-sensitive-but-forgiving; moved some code
1963 to ``docutils.nodes``.
1964 - Added support for block quote attributions.
1965 - Added a kludge to work-around a conflict between the bubble-up
1966 parser strategy and short titles (<= 3 char-long over- &
1967 underlines). Fixes SF bug #738803 "infinite loop with multiple
1968 titles" submitted by Jason Diamond.
1969 - Added explicit interpreted text roles for standard inline markup:
1970 "emphasis", "strong", "literal".
1971 - Implemented "superscript" and "subscript" interpreted text roles.
1972 - Added initial support for "abbreviation" and "acronym" roles;
1974 - Added support for "--trim-footnote-reference-space" option.
1975 - Optional space before colons in directives & hyperlink targets.
1977 * docutils/parsers/rst/tableparser.py:
1979 - Fixed a bug that was producing unwanted empty rows in "simple"
1981 - Detect bad column spans in "simple" tables.
1983 * docutils/parsers/rst/directives: Updated all directive functions to
1986 * docutils/parsers/rst/directives/__init__.py:
1988 - Added ``flag()``, ``unchanged()``, ``path()``,
1989 ``nonnegative_int()``, ``choice()``, and ``class_option()``
1990 directive option helper functions.
1991 - Added warnings for unknown directives.
1992 - Return ``None`` for missing directives.
1993 - Added ``register_directive()``, thanks to William Dode and Paul
1996 * docutils/parsers/rst/directives/admonitions.py:
1998 - Added "admonition" directive.
2000 * docutils/parsers/rst/directives/body.py: Added to project. Contains
2001 the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2002 "parsed-literal", "rubric", "epigraph", "highlights" and
2003 "pull-quote" directives.
2005 * docutils/parsers/rst/directives/images.py:
2007 - Added an "align" attribute to the "image" & "figure" directives
2008 (by Adam Chodorowski).
2009 - Added "class" option to "image", and "figclass" to "figure".
2011 * docutils/parsers/rst/directives/misc.py:
2013 - Added "include", "raw", and "replace" directives, courtesy of
2015 - Added "unicode" and "class" directives.
2017 * docutils/parsers/rst/directives/parts.py:
2019 - Added the "sectnum" directive; by Dmitry Jemerov.
2020 - Added "class" option to "contents" directive.
2022 * docutils/parsers/rst/directives/references.py: Added to project.
2023 Contains the "target-notes" directive.
2025 * docutils/parsers/rst/languages/__init__.py:
2027 - Return ``None`` from get_language() for missing language modules.
2029 * docutils/parsers/rst/languages/de.py: Added to project; German
2030 mappings by Engelbert Gruber.
2032 * docutils/parsers/rst/languages/en.py:
2034 - Added interpreted text roles mapping.
2036 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2037 mappings by Marcelo Huerta San Martin.
2039 * docutils/parsers/rst/languages/fr.py: Added to project; French
2040 mappings by William Dode.
2042 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2043 mappings by Nicola Larosa.
2045 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2046 mappings by Miroslav Vasko.
2048 * docutils/readers/__init__.py:
2050 - Added support for the observer pattern from ``utils.Reporter``, in
2051 ``Reader.parse`` and ``Reader.transform``.
2052 - Removed ``Reader.transform()`` method.
2053 - Added default parameter values to ``Reader.__init__()`` to make
2054 instantiation easier.
2055 - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2057 * docutils/readers/pep.py:
2059 - Added the ``peps.TargetNotes`` transform to the Reader.
2060 - Removed PEP & RFC reference detection code; moved to
2061 parsers/rst/states.py as options (enabled here by default).
2062 - Added support for pre-acceptance PEPs (no PEP number yet).
2063 - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2066 * docutils/readers/python: Python Source Reader subpackage added to
2067 project, including preliminary versions of:
2070 - moduleparser.py: Parser for Python modules.
2072 * docutils/transforms/__init__.py:
2074 - Added ``Transformer`` class and completed transform reform.
2075 - Added unknown_reference_resolvers list for each transformer. This list holds
2076 the list of functions provided by each component of the transformer that
2077 help resolve references.
2079 * docutils/transforms/frontmatter.py:
2081 - Improved support for generic fields.
2082 - Fixed bibliographic field language lookups.
2084 * docutils/transforms/misc.py: Added to project. Miscellaneous
2087 * docutils/transforms/parts.py:
2089 - Moved the "id" attribute from TOC list items to the references
2090 (``Contents.build_contents()``).
2091 - Added the ``SectNum`` transform; by Dmitry Jemerov.
2092 - Added "class" attribute support to ``Contents``.
2094 * docutils/transforms/peps.py:
2096 - Added ``mask_email()`` function, updating to pep2html.py's
2098 - Linked "Content-Type: text/x-rst" to PEP 12.
2099 - Added the ``TargetNotes`` PEP-specific transform.
2100 - Added ``TargetNotes.cleanup_callback``.
2101 - Added title check to ``Headers``.
2103 * docutils/transforms/references.py:
2105 - Added the ``TargetNotes`` generic transform.
2106 - Split ``Hyperlinks`` into multiple transforms.
2107 - Fixed bug with multiply-indirect references (report: Bruce Smith).
2108 - Added check for circular indirect references.
2109 - Made substitutions case-sensitive-but-forgiving.
2111 * docutils/transforms/universal.py:
2113 - Added support for the "--expose-internal-attributes" option.
2114 - Removed ``Pending`` transform classes & data.
2116 * docutils/writers/__init__.py:
2118 - Removed ``Writer.transform()`` method.
2120 * docutils/writers/docutils-xml.py:
2122 - Added XML and doctype declarations.
2123 - Added "--no-doctype" and "--no-xml-declaration" options.
2125 * docutils/writers/html4css1.py:
2127 - "name" attributes only on these tags: a, applet, form, frame,
2129 - Added "name" attribute to <a> in section titles for Netscape 4
2130 support (bug report: Pearu Peterson).
2131 - Fixed targets (names) on footnote, citation, topic title,
2132 problematic, and system_message nodes (for Netscape 4).
2133 - Changed field names from "<td>" to "<th>".
2134 - Added "@" to "@" encoding to thwart address harvesters.
2135 - Improved the vertical whitespace optimization; ignore "invisible"
2136 nodes (targets, comments, etc.).
2137 - Improved inline literals with ``<span class="pre">`` around chunks
2138 of text and `` `` for runs of spaces.
2139 - Improved modularity of output; added ``self.body_pre_docinfo`` and
2140 ``self.docinfo`` segments.
2141 - Added support for "line_block", "address" elements.
2142 - Improved backlinks (footnotes & system_messages).
2143 - Improved system_message output.
2144 - Redefined "--stylesheet" as containing an invariant URL, used
2145 verbatim. Added "--stylesheet-path", interpreted w.r.t. the
2147 - Added "--footnote-references" option (superscript or brackets).
2148 - Added "--compact-lists" and "--no-compact-lists" options.
2149 - Added "--embed-stylesheet" and "--link-stylesheet" options;
2150 factored out ``HTMLTranslator.get_stylesheet_reference()``.
2151 - Improved field list rendering.
2152 - Added Docutils version to "generator" meta tag.
2153 - Fixed a bug with images; they must be inline, so wrapped in <p>.
2154 - Improved layout of <pre> HTML source.
2155 - Fixed attribute typo on <colspec>.
2156 - Refined XML prologue.
2157 - Support for no stylesheet.
2158 - Removed "interpreted" element support.
2159 - Added support for "title_reference", "sidebar", "attribution",
2160 "rubric", and generic "admonition" elements.
2161 - Added "--attribution" option.
2162 - Added support for "inline", "subscript", "superscript" elements.
2163 - Added initial support for "abbreviation" and "acronym";
2166 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2170 - Double quotes in literal blocks (special treatment for de/ngerman).
2171 - Added '--hyperlink-color' option ('0' turns off coloring of links).
2172 - Added "--attribution" option.
2173 - Right align attributions.
2175 * docutils/writers/pep_html.py:
2177 - Parameterized output encoding in PEP template.
2178 - Reworked substitutions from ``locals()`` into ``subs`` dict.
2179 - Redefined "--pep-stylesheet" as containing an invariant URL, used
2180 verbatim. Added "--pep-stylesheet-path", interpreted w.r.t. the
2182 - Added an override on the "--footnote-references" option.
2183 - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2184 - Added Docutils version to "generator" meta tag.
2185 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2189 - Added a "silent" setting for ``buildhtml.py``.
2190 - Added a "Getting Help" section.
2191 - Rearranged the structure.
2192 - Kept up to date, with new settings, command-line options etc.
2193 - Added section for ``rst2latex.py`` (Engelbert Gruber).
2194 - Converted settings table into a definition list.
2196 * docs/rst/quickstart.txt:
2198 - Added a table of contents.
2199 - Added feedback information.
2200 - Added mention of minimum section title underline lengths.
2201 - Removed the 4-character minimum for section title underlines.
2203 * docs/rst/quickref.html:
2205 - Added a "Getting Help" section.
2206 - Added a style to make section title backlinks more subtle.
2207 - Added mention of minimum section title underline lengths.
2208 - Removed the 4-character minimum for section title underlines.
2210 * extras: Directory added to project; contains third-party modules
2211 that Docutils depends on (optparse, textwrap, roman). These are
2212 only installed if they're not already present.
2214 * licenses: Directory added to project; contains copies of license
2215 files for non-public-domain files.
2219 - Changed the focus. It's about DTD elements: structural
2220 relationships, semantics, and external (public) attributes. Not
2221 about the element class library.
2222 - Moved some implementation-specific stuff into ``docutils.nodes``
2224 - Wrote descriptions of all common attributes and parameter
2225 entities. Filled in introductory material.
2226 - Working through the element descriptions: 55 down, 37 to go.
2227 - Removed "Representation of Horizontal Rules" to
2228 spec/rst/alternatives.txt.
2230 * spec/docutils.dtd:
2232 - Added "generated" inline element.
2233 - Added "line_block" body element.
2234 - Added "auto" attribute to "title".
2235 - Changed content models of "literal_block" and "doctest_block" to
2237 - Added ``%number;`` attribute type parameter entity.
2238 - Changed ``%structural.elements;`` to ``%section.elements``.
2239 - Updated attribute types; made more specific.
2240 - Added "address" bibliographic element.
2241 - Added "line" attribute to ``system_message`` element.
2242 - Removed "field_argument" element; "field_name" may contain
2243 multiple words and whitespace.
2244 - Changed public identifier to docutils.sf.net.
2245 - Removed "interpreted" element; added "title_reference",
2246 "abbreviation", "acronym".
2247 - Removed "refuri" attribute from "footnote_reference" and
2248 "citation_reference".
2249 - Added "sidebar", "rubric", "attribution", "admonition",
2250 "superscript", "subscript", and "inline" elements.
2252 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2254 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2256 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2258 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2261 * spec/transforms.txt: Added to project.
2263 * spec/howto: Added subdirectory, for developer how-to docs.
2265 * spec/howto/rst-directives.txt: Added to project. Original by Dethe
2266 Elza, edited & extended by David Goodger.
2268 * spec/howto/i18n.txt: Docutils Internationalization. Added to
2271 * spec/rst/alternatives.txt:
2273 - Added "Doctree Representation of Transitions" from
2275 - Updated "Inline External Targets" & closed the debate.
2276 - Added ideas for interpreted text syntax extensions.
2277 - Added "Nested Inline Markup" section.
2279 * spec/rst/directives.txt:
2281 - Added directives: "topic", "sectnum", "target-notes",
2282 "line-block", "parsed-literal", "include", "replace", "sidebar",
2283 "admonition", "rubric", "epigraph", "highlights", "unicode" and
2285 - Formalized descriptions of directive details.
2286 - Added an "align" attribute to the "image" & "figure" directives
2287 (by Adam Chodorowski).
2288 - Added "class" options to "topic", "sidebar", "line-block",
2289 "parsed-literal", "contents", and "image"; and "figclass" to
2292 * spec/rst/interpreted.txt: Added to project. Descriptions of
2293 interpreted text roles.
2295 * spec/rst/introduction.txt:
2297 - Added pointers to material for new users.
2299 * spec/rst/reStructuredText.txt:
2301 - Disambiguated comments (just add a newline after the "::").
2302 - Updated enumerated list description; added a discussion of the
2303 second-line validity checking.
2304 - Updated directive description.
2305 - Added a note redirecting newbies to the user docs.
2306 - Expanded description of inline markup start-strings in non-markup
2308 - Removed field arguments and made field lists a generic construct.
2309 - Removed the 4-character minimum for section title underlines.
2310 - Clarified term/classifier delimiter & inline markup ambiguity
2312 - Added "Embedded URIs".
2313 - Updated "Interpreted Text" section.
2314 - Added "Character-Level Inline Markup" section.
2316 * test: Continually adding & updating tests.
2318 - Moved test/test_rst/ to test/test_parsers/test_rst/.
2319 - Moved test/test_pep/ to test/test_readers/test_pep/.
2320 - Added test/test_readers/test_python/.
2321 - Added test/test_writers/ (Engelbert Gruber).
2325 - Made the ``locale.setlocale()`` calls in front ends
2328 * tools/buildhtml.py:
2330 - Added "--silent" option.
2331 - Fixed bug with absolute paths & "--config".
2332 - Updated for new I/O classes.
2333 - Added some exception handling.
2334 - Separated publishers' setting defaults; prevents interference.
2335 - Updated for new ``publish_file()`` convenience function.
2337 * tools/pep-html-template:
2339 - Allow for "--embed-stylesheet".
2340 - Added Docutils version to "generator" meta tag.
2341 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2342 - Conform to XHTML spec.
2344 * tools/pep2html.py:
2346 - Made ``argv`` a parameter to ``main()``.
2347 - Added support for "Content-Type:" header & arbitrary PEP formats.
2348 - Linked "Content-Type: text/plain" to PEP 9.
2349 - Files skipped (due to an error) are not pushed onto the server.
2350 - Updated for new I/O classes.
2351 - Added ``check_requirements()`` & ``pep_type_error()``.
2352 - Added some exception handling.
2353 - Updated for new ``publish_string()`` convenience function.
2354 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2356 * tools/quicktest.py:
2358 - Added "-V"/"--version" option.
2360 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2362 * tools/unicode2rstsubs.py: Added to project. Produces character
2363 entity files (reSructuredText substitutions) from the MathML master
2366 * tools/editors: Support code for editors, added to project. Contains
2367 ``emacs/restructuredtext.el``.
2369 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2371 - Added style for chunks of inline literals.
2372 - Removed margin for first child of table cells.
2373 - Right-aligned field list names.
2374 - Support for auto-numbered section titles in TOCs.
2375 - Increased the size of inline literals (<tt>) in titles.
2376 - Restored the light gray background for inline literals.
2377 - Added support for "line_block" elements.
2378 - Added style for "address" elements.
2379 - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2380 - Improved field list rendering.
2381 - Vertical whitespace improvements.
2382 - Removed "a.target" style.
2384 * tools/stylesheets/pep.css:
2386 - Fixed nested section margins.
2387 - Other changes parallel those of ``../default.css``.
2390 Release 0.2 (2002-07-31)
2391 ========================
2395 - The word "component" was being used ambiguously. From now on,
2396 "component" will be used to mean "Docutils component", as in Reader,
2397 Writer, Parser, or Transform. Portions of documents (Table of
2398 Contents, sections, etc.) will be called "document parts".
2399 - Did a grand renaming: a lot of ``verylongnames`` became
2400 ``very_long_names``.
2401 - Cleaned up imports: no more relative package imports or
2402 comma-separated lists of top-level modules.
2403 - Added support for an option values object which carries default
2404 settings and overrides (from command-line options and library use).
2405 - Added internal Unicode support, and support for both input and
2407 - Added support for the ``docutils.io.IO`` class & subclasses.
2411 * docutils/__init__.py:
2413 - Added ``ApplicationError`` and ``DataError``, for use throughout
2415 - Added ``Component`` base class for Docutils components; implements
2416 the ``supports`` method.
2417 - Added ``__version__`` (thus, ``docutils.__version__``).
2421 - Removed many keyword parameters to ``Publisher.__init__()`` and
2422 ``publish()``; bundled into an option values object. Added
2423 "argv", "usage", "description", and "option_spec" parameters for
2424 command-line support.
2425 - Added ``Publisher.process_command_line()`` and ``.set_options()``
2427 - Reworked I/O model for ``docutils.io`` wrappers.
2428 - Updated ``Publisher.set_options()``; now returns option values
2430 - Added support for configuration files (/etc/docutils.conf,
2431 ./docutils.conf, ~/.docutils).
2432 - Added ``Publisher.setup_option_parser()``.
2433 - Added default usage message and description.
2435 * docutils/frontend.py: Added to project; support for front-end
2436 (command-line) scripts. Option specifications may be augmented by
2437 components. Requires Optik (http://optik.sf.net/) for option
2438 processing (installed locally as docutils/optik.py).
2440 * docutils/io.py: Added to project; uniform API for a variety of input
2443 * docutils/nodes.py:
2445 - Added ``TreeCopyVisitor`` class.
2446 - Added a ``copy`` method to ``Node`` and subclasses.
2447 - Added a ``SkipDeparture`` exception for visitors.
2448 - Renamed ``TreePruningException`` from ``VisitorException``.
2449 - Added docstrings to ``TreePruningException``, subclasses, and
2451 - Improved docstrings.
2452 - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2453 - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2455 - Added ``decoration``, ``header``, and ``footer`` node classes, and
2456 ``PreDecorative`` mixin.
2457 - Reworked the name/id bookkeeping; to ``document``, removed
2458 ``explicit_targets`` and ``implicit_targets`` attributes, added
2459 ``nametypes`` attribute and ``set_name_id_map`` method.
2460 - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2462 - Added ``document.has_name()`` method.
2463 - Fixed DOM generation for list-attributes.
2464 - Added category class ``Labeled`` (used by footnotes & citations).
2465 - Added ``Element.set_class()`` method (sets "class" attribute).
2467 * docutils/optik.py: Added to project. Combined from the Optik
2468 package, with added option groups and other modifications. The use
2469 of this module is probably only temporary.
2471 * docutils/statemachine.py:
2473 - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2474 - Added underscores to improve many awkward names.
2475 - In ``string2lines()``, changed whitespace normalizing translation
2476 table to regexp; restores Python 2.0 compatibility with Unicode.
2478 * docutils/urischemes.py:
2480 - Filled in some descriptions.
2481 - Added "shttp" scheme.
2483 * docutils/utils.py:
2485 - Added ``clean_rcs_keywords`` function (moved from
2486 docutils/transforms/frontmatter.py
2487 ``DocInfo.filter_rcs_keywords``).
2488 - Added underscores to improve many awkward names.
2489 - Changed names of Reporter's thresholds:
2490 warning_level -> report_level; error_level -> halt_level.
2491 - Moved ``utils.id()`` to ``nodes.make_id()``.
2492 - Added ``relative_path(source, target)``.
2494 * docutils/languages/de.py: German mappings; added to project. Thanks
2495 to Gunnar Schwant for the translations.
2497 * docutils/languages/en.py: Added "Dedication" bibliographic field
2500 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2503 * docutils/parsers/rst/states.py:
2505 - Added underscores to improve many awkward names.
2506 - Added RFC-2822 header support.
2507 - Extracted the inline parsing code from ``RSTState`` to a separate
2508 class, ``Inliner``, which will allow easy subclassing.
2509 - Made local bindings for ``memo`` container & often-used contents
2510 (reduces code complexity a lot). See ``RSTState.runtime_init()``.
2511 - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2512 - Added ``MarkupMismatch`` exception; for late corrections.
2513 - Added ``-/:`` characters to inline markup's start string prefix,
2514 ``/`` to end string suffix.
2515 - Fixed a footnote bug.
2516 - Fixed a bug with literal blocks.
2517 - Applied patch from Simon Budig: simplified regexps with symbolic
2518 names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2519 - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2520 - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2521 - Allowed non-ASCII in "simple names" (directive names, field names,
2523 - Converted ``Inliner.patterns.initial`` to be dynamically built
2524 from parts with ``build_regexp()`` function.
2525 - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2526 - Updated docstrings.
2527 - Changed "table" to "grid_table"; added "simple_table" support.
2529 * docutils/parsers/rst/tableparser.py:
2531 - Changed ``TableParser`` to ``GridTableParser``.
2532 - Added ``SimpleTableParser``.
2533 - Refactored naming.
2535 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2536 a fallback language for directive names.
2538 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2539 directive to use a ``pending`` element, used only by HTML writers.
2541 * docutils/parsers/rst/directives/parts.py: Renamed from
2544 - Added "backlinks" attribute to "contents" directive.
2546 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2547 project by Adam Chodorowski.
2549 * docutils/readers/__init__.py: Gave Readers more control over
2550 choosing and instantiating Parsers.
2552 * docutils/readers/pep.py: Added to project; for PEP processing.
2554 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2555 requires a ``component`` parameter.
2557 * docutils/transforms/components.py: Added to project; transforms
2558 related to Docutils components.
2560 * docutils/transforms/frontmatter.py:
2562 - In ``DocInfo.extract_authors``, check for a single "author" in an
2563 "authors" group, and convert it to a single "author" element.
2564 - Added support for "Dedication" and generic bibliographic fields.
2566 * docutils/transforms/peps.py: Added to project; PEP-specific.
2568 * docutils/transforms/parts.py: Renamed from old components.py.
2570 - Added filter for `Contents`, to use alt-text for inline images,
2571 and to remove inline markup that doesn't make sense in the ToC.
2572 - Added "name" attribute to TOC topic depending on its title.
2573 - Added support for optional TOC backlinks.
2575 * docutils/transforms/references.py: Fixed indirect target resolution
2576 in ``Hyperlinks`` transform.
2578 * docutils/transforms/universal.py:
2580 - Changed ``Messages`` transform to properly filter out system
2581 messages below the warning threshold.
2582 - Added ``Decorations`` transform (support for ``--generator``,
2583 ``--date``, ``--time``, ``--source-link`` options).
2585 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2586 Engelbert Gruber's PDF writer.
2588 * docutils/writers/html4css1.py:
2590 - Made XHTML-compatible (switched to lowercase element & attribute
2591 names; empty tag format).
2592 - Escape double-dashes in comment text.
2593 - Improved boilerplate & modularity of output.
2594 - Exposed modular output in Writer class.
2595 - Added a "generator" meta tag to <head>.
2596 - Added support for the ``--stylesheet`` option.
2597 - Added support for ``decoration``, ``header``, and ``footer``
2599 - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2600 translation table to regexp; restores Python 2.0 compatibility
2602 - Added the translator class as instance variable to the Writer, to
2603 make it easily subclassable.
2604 - Improved option list spacing (thanks to Richard Jones).
2605 - Modified field list output.
2606 - Added backlinks to footnotes & citations.
2607 - Added percentage widths to "<col>" tags (from colspec).
2608 - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2609 "<span>" changed to "<var>".
2610 - Inline literals: "<code>" changed to "<tt>".
2611 - Many changes to optimize vertical space: compact simple lists etc.
2612 - Add a command-line options & directive attributes to control TOC
2613 and footnote/citation backlinks.
2614 - Added support for optional footnote/citation backlinks.
2615 - Added support for generic bibliographic fields.
2616 - Identify backrefs.
2617 - Relative URLs for stylesheet links.
2619 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2620 PEPs (subclass of ``html4css1.Writer``).
2622 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2624 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2625 of the Docutils internal doctree in XML.
2627 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2631 - Changed the title to "The Docutils Document Tree".
2632 - Added "Hyperlink Bookkeeping" section.
2634 * spec/docutils.dtd:
2636 - Added ``decoration``, ``header``, and ``footer`` elements.
2637 - Brought ``interpreted`` element in line with the parser: changed
2638 attribute "type" to "role", added "position".
2639 - Added support for generic bibliographic fields.
2641 * spec/notes.txt: Continual updates. Added "Project Policies".
2643 * spec/pep-0256.txt: Updated. Added "Roadmap to the Doctring PEPs"
2646 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2648 * spec/pep-0258.txt: Updated. Added text from pysource.txt and
2649 mailing list discussions.
2651 * spec/pep-0287.txt:
2653 - Renamed to "reStructuredText Docstring Format".
2655 - Reworked Q&A as an enumerated list.
2656 - Converted to reStructuredText format.
2658 * spec/pysource.dtd:
2660 - Reworked structural elements, incorporating ideas from Tony Ibbs.
2662 * spec/pysource.txt: Removed from project. Moved much of its contents
2665 * spec/rst/alternatives.txt:
2667 - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2668 - Added "Inline External Targets" section.
2670 * spec/rst/directives.txt:
2672 - Added "backlinks" attribute to "contents" directive.
2674 * spec/rst/problems.txt:
2676 - Updated the Enumerated List Markup discussion.
2677 - Added new alternative table markup syntaxes.
2679 * spec/rst/reStructuredText.txt:
2681 - Clarified field list usage.
2682 - Updated enumerated list description.
2683 - Clarified purpose of directives.
2684 - Added ``-/:`` characters to inline markup's start string prefix,
2685 ``/`` to end string suffix.
2686 - Updated "Authors" bibliographic field behavior.
2687 - Changed "inline hyperlink targets" to "inline internal targets".
2688 - Added "simple table" syntax to supplement the existing but
2689 newly-renamed "grid tables".
2690 - Added cautions for anonymous hyperlink use.
2691 - Added "Dedication" and generic bibliographic fields.
2693 * test: Made test modules standalone (subdirectories became packages).
2695 * test/DocutilsTestSupport.py:
2697 - Added support for PEP extensions to reStructuredText.
2698 - Added support for simple tables.
2699 - Refactored naming.
2701 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2703 - Now supports true packages containing test modules
2704 (``__init__.py`` files required); fixes duplicate module name bug.
2706 * test/test_pep/: Subpackage added to project; PEP testing.
2708 * test/test_rst/test_SimpleTableParser.py: Added to project.
2712 - Updated html.py and publish.py front-end tools to use the new
2713 command-line processing facilities of ``docutils.frontend``
2714 (exposed in ``docutils.core.Publisher``), reducing each to just a
2716 - Added ``locale.setlocale()`` calls to front-end tools.
2718 * tools/buildhtml.py: Added to project; batch-generates .html from all
2719 the .txt files in directories and subdirectories.
2721 * tools/default.css:
2723 - Added support for ``header`` and ``footer`` elements.
2724 - Added styles for "Dedication" topics (biblio fields).
2726 * tools/docutils.conf: A configuration file; added to project.
2728 * tools/docutils-xml.py: Added to project.
2730 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2732 * tools/pep-html-template: Added to project.
2734 * tools/pep2html.py: Added to project from Python (nondist/peps).
2735 Added support for Docutils (reStructuredText PEPs).
2737 * tools/quicktest.py:
2739 - Added the ``--attributes`` option, hacked a bit.
2740 - Added a second command-line argument (output file); cleaned up.
2742 * tools/stylesheets/: Subdirectory added to project.
2744 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2747 Release 0.1 (2002-04-20)
2748 ========================
2750 This is the first release of Docutils, merged from the now inactive
2751 reStructuredText__ and `Docstring Processing System`__ projects. For
2752 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2753 `DPS HISTORY`__ files.
2755 __ http://structuredtext.sourceforge.net/
2756 __ http://docstring.sourceforge.net/
2757 __ http://structuredtext.sourceforge.net/HISTORY.html
2758 __ http://docstring.sourceforge.net/HISTORY.html
2760 General changes: renamed 'dps' package to 'docutils'; renamed
2761 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2762 the test suites (reStructuredText's test/test_states renamed to
2763 test/test_rst); and all modifications required to make it all work.
2765 * docutils/parsers/rst/states.py:
2767 - Improved diagnostic system messages for missing blank lines.
2768 - Fixed substitution_reference bug.
2774 indent-tabs-mode: nil
2775 sentence-end-double-space: t