1 ========================
3 ========================
6 :Contact: LeWiemann@gmail.com
9 :Web site: http://docutils.sourceforge.net/
10 :Copyright: This document has been placed in the public domain.
13 This document summarizes the major changes in recent releases. For a
14 more detailed list of changes, please see the `Docutils History`_.
16 .. _Docutils History: HISTORY.html
20 Release 0.9 (unpublished)
21 =========================
25 - reStructuredText "code" role and directive with syntax highlighting
27 - "code" option of the "include" directive.
29 .. _Pygments: http://pygments.org/
31 * docutils/utils.py -> docutils/utils/__init__.py
33 - docutils.utils is now a package (providing a place for sub-modules)
35 .. important:: docutils/math, docutils/error_reporting.py, and
36 docutils/urischemes.py will move to the utils package in the next
37 release, too. Code importing these modules needs to adapt
38 (``import docutils.math`` -> ``import docutils.utils.math``, etc.).
40 * docutils/writers/html4css1/__init__.py
42 - change default for `math-output` setting to MathJax
44 * docutils/writers/latex2e/__init__.py
46 - Record only files required to generate the LaTeX source as dependencies.
49 Release 0.8.1 (2011-08-30)
50 ==========================
54 - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
55 and [ 3395920 ] (correct copyright info for rst.el).
59 - Apply [ 3303733 ] and [ 3365041 ] to fix tests under py3k.
61 * docutils/writers/latex2e/__init__.py
63 - Clean up Babel language setting. Restores Sphinx compatibility.
65 Release 0.8 (2011-07-07)
66 ========================
70 - Some additions to the Docutils core are released under the 2-Clause BSD
75 - Handle language codes according to `BCP 47`_.
76 - If the specified langauage is not supported by Docutils,
77 warn and fall back to English.
78 - Math support: reStructuredText "math" role and directive,
79 ``math`` and ``math_block`` doctree elements.
80 - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
82 .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
86 - most directives now support a "name" option that attaches a
87 reference name. So you can write ::
100 * Added lithuanian mappings.
106 - New setting "math-output" with support for HTML, MathML, and LaTeX.
110 - Convert image URI to a local file path.
111 - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
112 has more than one paragraph (Wolfgang Scherer).
116 - New writer generating LaTeX code for compiling with ``xelatex``.
118 XeTeX uses unicode and modern font technologies.
120 * and fixes and enhancements here and there.
122 Release 0.7 (2010-07-07)
123 ========================
129 - Support SVG and SWF images (thanks to Stefan Rank).
130 - Generate valid XHTML for centered images with targets.
131 Use CSS classes instead of "align" tags for image alignment.
135 - Use the ``\url`` command for URLs (breaks long URLs instead of writing
137 - Preserve runs of spaces in 'inline literals'.
138 - Deprecate ``figure_footnotes`` setting.
139 - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
140 - New ``latex_preamble`` setting.
141 - Use PDF standard fonts (Times/Helvetica/Courier) as default.
142 - `hyperref` package called with ``unicode`` option (see the
143 `hyperref config tips`__ for how to override).
144 - Drop the special `output_encoding`__ default ("latin-1").
145 The Docutils wide default (usually "UTF-8") is used instead.
147 __ docs/user/config.html#docutils-footnotes
148 __ docs/user/latex.html#hyperlinks
149 __ docs/user/latex.html#output-encoding
153 - Titles level 1, that is ``.SH``, always uppercase.
154 - Apply patch from mg: literal text should be bold in man-pages.
158 * io.FileInput opens files as text files with universal newline support
159 (mode "rU", configurable with the new optional argument "mode").
163 - Python 3 support: copy test/ and tools/ to the build-dir
164 and convert Python sources with 2to3.
166 Release 0.6 (2009-10-11)
167 ========================
171 Docutils 0.5 is the last version supporting Python 2.2.
173 Docutils 0.6 is compatible with Python versions from 2.3 up to 2.6
174 and convertible to 3.1 code.
178 The "newlatex" writer is orphaned.
180 The recommended way to generate PDF output is to use either the
181 LaTeX2e writer or one of the alternatives listed at
182 http://docutils.sourceforge.net/docs/user/links.html#pdf.
186 - Allow length units for all length specifications.
187 - Allow percent sign in "scale" argument of "figure" and "image" directives.
188 - Bugfix: The "figalign" argument of a figure now works as intended
189 (aligning the figure not its contents).
190 - Align images with class "align-[right|center|left]"
191 (allows setting the alignment of an image in a figure).
192 - Hard tabs in literal inclusions are replaced by spaces. This is
193 configurable via the new "tab-width" option of the "include" directive
194 (a negative tab-width prevents tab expansion).
198 - ``--stylesheet`` and ``--stylesheet-path`` options now support a comma
199 separated list of stylesheets.
204 - font-encoding: "T1" (formerly implicitely set by 'ae').
205 - use-latex-toc: true (ToC with page numbers).
206 - use-latex-footnotes: true (no mixup with figures).
207 - Float placement defaults to "here definitely" (configurable).
208 - Align of image in a figure defaults to 'center'.
209 - Use class defaults for page margins ('typearea' now optional).
210 - Support LaTeX packages as ``--stylesheet`` arguments.
211 - Use ``bp`` for lengths without unit or unit ``pt``,
212 do not convert ``px`` to ``pt``.
213 - Do not use 'ae' and 'aeguill' packages if font-encoding is set to ''.
214 - Set sub- and superscript role argument as text not math.
215 - Support custom roles based on standard roles.
216 - Load packages and define macros only if required in the document.
217 - All Docutils specific LaTeX macros are prefixed with ``DU``.
218 - Better conformance to Docutils specifications with "use_latex_toc".
219 - If 'sectnum_xform' is False, the 'sectnum' directive triggers
220 section numbering by LaTeX.
221 - Use default font in admonitions and sidebar.
222 - Typeset generic topic as "quote with title".
223 - Use template (file and configuration option).
224 - Render doctest blocks as literal blocks (indented).
228 - moved from sandbox to Doctutils core.
232 - moved from sandbox to Doctutils core.
235 Release 0.5 (2008-06-25)
236 ========================
242 - Dropped all ``name`` attributes of ``a`` elements (``id`` is
243 universally supported now).
247 - Better bibTeX citation support.
248 - Add ``--literal-block-env``
252 - Changed to support new python.org website structure and
257 * Changed the directive API to a new object-oriented system.
258 (Compatibility for the old, functional-style directive interface is
259 retained.) See the updated `Creating reStructuredText Directives`__
262 __ docs/howto/rst-directives.html
264 * Allow ``+`` and ``:`` in reference names requested for citations.
268 * Added `Deploying Docutils Securely`__
270 __ docs/howto/security.txt
272 Internationalization:
274 * Added hebrew mappings.
278 * Configuration files are now assumed and required to be
281 * Added docutils/writers/html4css1/template.txt.
283 * Enhance emacs support.
285 Release 0.4 (2006-01-09)
286 ========================
290 Docutils 0.4.x is the last version that will support Python 2.1.
291 Docutils 0.5 will *not* be compatible with Python 2.1; Python 2.2
292 or later will be required.
294 Docutils 0.4.x is the last version that will make compromises in
295 its HTML output for Netscape Navigator 4. Docutils 0.5 will
296 require more up-to-date browsers (the exact definition is to be
301 * Added an `S5/HTML writer`__ and the rst2s5.py__ front end:
302 multi-platform, multi-browser HTML slide shows.
304 __ docs/user/slide-shows.html
305 __ docs/user/tools.html#rst2s5-py
307 * The newlatex2e writer is nearing completion.
309 * Added a DocTree reader, ``publish_doctree`` and
310 ``publish_from_doctree`` convenience functions, for document tree
311 extraction and reprocessing.
315 * Added directives: "container__" (generic block-level container),
316 "default-role__" (role used for \`backtick\` syntax), "title__"
317 (document title metadata), and "date__" (generate the current local
318 date, for substitution definitions).
320 __ docs/ref/rst/directives.html#container
321 __ docs/ref/rst/directives.html#default-role
322 __ docs/ref/rst/directives.html#title
323 __ docs/ref/rst/directives.html#date
325 * Length units are now supported for image__ sizes.
327 __ docs/ref/rst/directives.html#image
329 * Added `standard definition files`__ for special characters etc.
331 __ docs/ref/rst/definitions.html
333 Internationalization:
335 * Added Japanese and Simplified Chinese language mappings, and support
336 for double-width CJK-characters in tables and section titles.
340 * Added a `guide for distributors`__ (package maintainers) and a
341 `guide for developers`__.
343 __ docs/dev/distributing.html
344 __ docs/dev/hacking.html
348 * Added significant `Emacs support for reST`__.
350 __ docs/user/emacs.html
352 * Added a `--strip-comments`__ option.
354 __ docs/user/config.html#strip-comments
356 * `--embed-stylesheet`__ is now the default for the HTML writer
357 (rather than --link-stylesheet).
359 __ docs/user/config.html#embed-stylesheet
362 Release 0.3.9 (2005-05-26)
363 ==========================
365 * Added "file_insertion_enabled__" and "raw_enabled__" settings.
367 __ docs/user/config.html#file-insertion-enabled
368 __ docs/user/config.html#raw-enabled
370 * Added `auto-enumerated lists`__.
372 __ docs/ref/rst/restructuredtext.html#enumerated-lists
374 * Added `"header" and "footer"`__ directives.
376 __ docs/ref/rst/directives.html#document-header-footer
378 * Added "list-table__" directive.
380 __ docs/ref/rst/directives.html#list-table
382 * Added support for `section subtitles`__.
384 __ docs/user/config.html#sectsubtitle-xform
386 * Added "field_name_limit__" and "option_limit__" settings to HTML writer.
388 __ docs/user/config.html#field-name-limit
389 __ docs/user/config.html#option-limit
391 * Added "cloak_email_addresses__" setting to HTML writer.
393 __ docs/user/config.html#cloak-email-addresses
395 * UTF-8 BOMs are now removed from the input stream.
398 Release 0.3.7 (2004-12-24)
399 ==========================
401 * A special "`line block`__" syntax has been added. (Also see the
402 `quick reference`__.)
404 __ docs/ref/rst/restructuredtext.html#line-blocks
405 __ docs/user/rst/quickref.html#line-blocks
407 * Empty sections are now allowed.
409 * A "raw__" role has been added.
411 __ docs/ref/rst/roles.html#raw
413 * The LaTeX writer now escapes consecutive dashes (like "--" or "---")
414 so that they are no longer transformed by LaTeX to en or em dashes.
415 (Please see the FAQ__ for how to represent such dashes.)
417 __ FAQ.html#how-can-i-represent-esoteric-characters-e-g-character-entities-in-a-document
419 * A `dependency recorder`__ has been added.
421 __ docs/user/config.html#record-dependencies
423 * A directive has been added for `compound paragraphs`__.
425 __ docs/ref/rst/directives.html#compound-paragraph
428 Release 0.3.5 (2004-07-29)
429 ==========================
431 * Improved, extended and reorganized the documentation__.
435 * Added "csv-table__" directive.
437 __ docs/ref/rst/directives.html#csv-table