Contact: | grubert@users.sourceforge.net |
---|---|
Date: | 2012-06-18 |
Revision: | 7452 |
Web site: | http://docutils.sourceforge.net/ |
Copyright: | This document has been placed in the public domain. |
This document summarizes the major changes in recent releases. For a more detailed list of changes, please see the Docutils History.
Contents
Support for Python 2.3 will be dropped in version 0.10.
docutils/math, docutils/error_reporting.py, and docutils/urischemes.py will move to the utils package Code importing these modules needs to adapt, e.g.:
try: import docutils.math as math except ImportError: import docutils.utils.math as math
docutils.io.FileInput/FileOutput will no longer do a system-exit on IOError by default.
Roadmap:
0.10: | change of default behaviour to the equivalent of handle_io_errors=False, ignore and deprecate the handle_io_errors option. (allows us to clean up Docutils code and remove the error handling code from the FileInput/FileOutput classes) |
---|---|
0.10 + n: | deprecation warning to stderr if FileInput/FileOutput is called with handle_io_errors, |
0.10 + n+1: | remove the handle_io_errors option. |
General:
Several fixes for Python 3 usage.
docutils/setup.py
Fix [ 3527842 ]. Under Python 3, converted tests and tools were installed in the PYTHONPATH. Converted tests are now stored in docutils/test3/, tools no longer need conversion.
If you installed one of Docutils versions 0.7 ... 0.9 with setup.py install under Python 3, remove the spurious test/ and tools/ directories in the site library root.
General:
setup.py
docutils/utils.py -> docutils/utils/__init__.py
docutils/writers/html4css1/__init__.py
docutils/writers/latex2e/__init__.py
COPYING:
General:
reStructuredText:
most directives now support a "name" option that attaches a reference name. So you can write
.. figure:: image.png :name: figure name
as a short form of
.. _figure name: .. figure:: image.png
Internationalization:
Components:
HTML writer:
LaTeX2e writer:
XeTeX writer:
New writer generating LaTeX code for compiling with xelatex.
XeTeX uses unicode and modern font technologies.
and fixes and enhancements here and there.
Components:
General:
Note
Docutils 0.5 is the last version supporting Python 2.2.
Docutils 0.6 is compatible with Python versions from 2.3 up to 2.6 and convertible to 3.1 code.
Note
The "newlatex" writer is orphaned.
The recommended way to generate PDF output is to use either the LaTeX2e writer or one of the alternatives listed at http://docutils.sourceforge.net/docs/user/links.html#pdf.
Components:
reStructuredText:
Documentation:
Internationalization:
General:
Note
Docutils 0.4.x is the last version that will support Python 2.1. Docutils 0.5 will not be compatible with Python 2.1; Python 2.2 or later will be required.
Docutils 0.4.x is the last version that will make compromises in its HTML output for Netscape Navigator 4. Docutils 0.5 will require more up-to-date browsers (the exact definition is to be determined).
Components:
reStructuredText:
Internationalization:
Documentation:
General: