math update
[docutils.git] / RELEASE-NOTES.txt
blob8d1969bbbe7bc37c1b7952555c4ab759de996004
1 ========================
2  Docutils Release Notes
3 ========================
5 :Author: Lea Wiemann
6 :Contact: LeWiemann@gmail.com
7 :Date: $Date$
8 :Revision: $Revision$
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
18 .. contents::
21 Changes Since 0.7
22 =================
24 * COPYING:
26   The XeTeX writer and the math subpackage are, in accordance with the
27   `Docutils policies`_, licensed under the `Apache License version 2.0`_.
28   Note, that this license is `compatible with GPL`_ version 3, but not
29   GPL version 2.
31   .. _Docutils policies: docs/dev/policies.txt
32   .. _Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
33   .. _compatible with GPL: http://www.gnu.org/licenses/license-list.html
35 * General:
37   - Handle language codes according to `BCP 47`_.
38   - If the specified langauage is not supported by Docutils,
39     warn and fall back to English.
40   - Math support: reStructuredText "math" role and directive,
41     ``math`` and ``math_block`` doctree elements.
42   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
44 .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
47 Release 0.7 (2010-07-07)
48 ========================
50 Components:
52 * HTML writer:
54   - Support SVG and SWF images (thanks to Stefan Rank).
55   - Generate valid XHTML for centered images with targets.
56     Use CSS classes instead of "align" tags for image alignment.
58 * LaTeX2e writer:
60   - Use the ``\url`` command for URLs (breaks long URLs instead of writing
61     into the margin).
62   - Preserve runs of spaces in 'inline literals'.
63   - Deprecate ``figure_footnotes`` setting.
64   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
65   - New ``latex_preamble`` setting.
66   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
67   - `hyperref` package called with ``unicode`` option (see the
68     `hyperref config tips`__ for how to override).
69   - Drop the special `output_encoding`__ default ("latin-1").
70     The Docutils wide default (usually "UTF-8") is used instead.
72 __ docs/user/config.html#docutils-footnotes
73 __ docs/user/latex.html#hyperlinks
74 __ docs/user/latex.html#output-encoding
76 * manpage writer:
78   - Titles level 1, that is ``.SH``, always uppercase.
79   - Apply patch from mg: literal text should be bold in man-pages.
81 General:
83 * io.FileInput opens files as text files with universal newline support
84   (mode "rU", configurable with the new optional argument "mode").
86 * setup.py:
88   - Python 3 support: copy test/ and tools/ to the build-dir
89     and convert Python sources with 2to3.
91 Release 0.6 (2009-10-11)
92 ========================
94 .. Note::
96    Docutils 0.5 is the last version supporting Python 2.2.
98    Docutils 0.6 is compatible with Python versions from 2.3 up to 2.6
99    and convertible to 3.1 code.
101 .. note::
103    The "newlatex" writer is orphaned.
105    The recommended way to generate PDF output is to use either the
106    LaTeX2e writer or one of the alternatives listed at
107    http://docutils.sourceforge.net/docs/user/links.html#pdf.
109 * reStructuredText:
111   - Allow length units for all length specifications.
112   - Allow percent sign in "scale" argument of "figure" and "image" directives.
113   - Bugfix: The "figalign" argument of a figure now works as intended
114     (aligning the figure not its contents).
115   - Align images with class "align-[right|center|left]"
116     (allows setting the alignment of an image in a figure).
117   - Hard tabs in literal inclusions are replaced by spaces. This is
118     configurable via the new "tab-width" option of the "include" directive
119     (a negative tab-width prevents tab expansion).
121 * HTML writer:
123   - ``--stylesheet`` and ``--stylesheet-path`` options now support a comma
124     separated list of stylesheets.
126 * LaTeX2e writer:
128   - New defaults:
129     - font-encoding: "T1" (formerly implicitely set by 'ae').
130     - use-latex-toc: true (ToC with page numbers).
131     - use-latex-footnotes: true (no mixup with figures).
132     - Float placement defaults to "here definitely" (configurable).
133     - Align of image in a figure defaults to 'center'.
134     - Use class defaults for page margins ('typearea' now optional).
135   - Support LaTeX packages as ``--stylesheet`` arguments.
136   - Use ``bp`` for lengths without unit or unit ``pt``,
137     do not convert ``px`` to ``pt``.
138   - Do not use 'ae' and 'aeguill' packages if font-encoding is set to ''.
139   - Set sub- and superscript role argument as text not math.
140   - Support custom roles based on standard roles.
141   - Load packages and define macros only if required in the document.
142   - All Docutils specific LaTeX macros are prefixed with ``DU``.
143   - Better conformance to Docutils specifications with "use_latex_toc".
144   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
145     section numbering by LaTeX.
146   - Use default font in admonitions and sidebar.
147   - Typeset generic topic as "quote with title".
148   - Use template (file and configuration option).
149   - Render doctest blocks as literal blocks (indented).
151 * ODT writer:
153   - moved from sandbox to Doctutils core.
155 * manpage writer:
157   - moved from sandbox to Doctutils core.
160 Release 0.5 (2008-06-25)
161 ========================
163 Components:
165 * HTML writer.
167   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
168     universally supported now).
170 * LaTeX2e writer:
172   - Better bibTeX citation support.
173   - Add ``--literal-block-env``
175 * PEP writer:
177   - Changed to support new python.org website structure and
178     pep2pyramid.py.
180 reStructuredText:
182 * Changed the directive API to a new object-oriented system.
183   (Compatibility for the old, functional-style directive interface is
184   retained.)  See the updated `Creating reStructuredText Directives`__
185   how-to.
187   __ docs/howto/rst-directives.html
189 * Allow ``+`` and ``:`` in reference names requested for citations.
191 Documentation:
193 * Added `Deploying Docutils Securely`__
195   __ docs/howto/security.txt
197 Internationalization:
199 * Added hebrew mappings.
201 General:
203 * Configuration files are now assumed and required to be
204   UTF-8-encoded.
206 * Added docutils/writers/html4css1/template.txt.
208 * Enhance emacs support.
210 Release 0.4 (2006-01-09)
211 ========================
213 .. Note::
215    Docutils 0.4.x is the last version that will support Python 2.1.
216    Docutils 0.5 will *not* be compatible with Python 2.1; Python 2.2
217    or later will be required.
219    Docutils 0.4.x is the last version that will make compromises in
220    its HTML output for Netscape Navigator 4.  Docutils 0.5 will
221    require more up-to-date browsers (the exact definition is to be
222    determined).
224 Components:
226 * Added an `S5/HTML writer`__ and the rst2s5.py__ front end:
227   multi-platform, multi-browser HTML slide shows.
229   __ docs/user/slide-shows.html
230   __ docs/user/tools.html#rst2s5-py
232 * The newlatex2e writer is nearing completion.
234 * Added a DocTree reader, ``publish_doctree`` and
235   ``publish_from_doctree`` convenience functions, for document tree
236   extraction and reprocessing.
238 reStructuredText:
240 * Added directives: "container__" (generic block-level container),
241   "default-role__" (role used for \`backtick\` syntax), "title__"
242   (document title metadata), and "date__" (generate the current local
243   date, for substitution definitions).
245   __ docs/ref/rst/directives.html#container
246   __ docs/ref/rst/directives.html#default-role
247   __ docs/ref/rst/directives.html#title
248   __ docs/ref/rst/directives.html#date
250 * Length units are now supported for image__ sizes.
252   __ docs/ref/rst/directives.html#image
254 * Added `standard definition files`__ for special characters etc.
256   __ docs/ref/rst/definitions.html
258 Internationalization:
260 * Added Japanese and Simplified Chinese language mappings, and support
261   for double-width CJK-characters in tables and section titles.
263 Documentation:
265 * Added a `guide for distributors`__ (package maintainers) and a
266   `guide for developers`__.
268   __ docs/dev/distributing.html
269   __ docs/dev/hacking.html
271 General:
273 * Added significant `Emacs support for reST`__.
275   __ docs/user/emacs.html
277 * Added a `--strip-comments`__ option.
279   __ docs/user/config.html#strip-comments
281 * `--embed-stylesheet`__ is now the default for the HTML writer
282   (rather than --link-stylesheet).
284   __ docs/user/config.html#embed-stylesheet
287 Release 0.3.9 (2005-05-26)
288 ==========================
290 * Added "file_insertion_enabled__" and "raw_enabled__" settings.
292   __ docs/user/config.html#file-insertion-enabled
293   __ docs/user/config.html#raw-enabled
295 * Added `auto-enumerated lists`__.
297   __ docs/ref/rst/restructuredtext.html#enumerated-lists
299 * Added `"header" and "footer"`__ directives.
301   __ docs/ref/rst/directives.html#document-header-footer
303 * Added "list-table__" directive.
305   __ docs/ref/rst/directives.html#list-table
307 * Added support for `section subtitles`__.
309   __ docs/user/config.html#sectsubtitle-xform
311 * Added "field_name_limit__" and "option_limit__" settings to HTML writer.
313   __ docs/user/config.html#field-name-limit
314   __ docs/user/config.html#option-limit
316 * Added "cloak_email_addresses__" setting to HTML writer.
318   __ docs/user/config.html#cloak-email-addresses
320 * UTF-8 BOMs are now removed from the input stream.
323 Release 0.3.7 (2004-12-24)
324 ==========================
326 * A special "`line block`__" syntax has been added.  (Also see the
327   `quick reference`__.)
329   __ docs/ref/rst/restructuredtext.html#line-blocks
330   __ docs/user/rst/quickref.html#line-blocks
332 * Empty sections are now allowed.
334 * A "raw__" role has been added.
336   __ docs/ref/rst/roles.html#raw
338 * The LaTeX writer now escapes consecutive dashes (like "--" or "---")
339   so that they are no longer transformed by LaTeX to en or em dashes.
340   (Please see the FAQ__ for how to represent such dashes.)
342   __ FAQ.html#how-can-i-represent-esoteric-characters-e-g-character-entities-in-a-document
344 * A `dependency recorder`__ has been added.
346   __ docs/user/config.html#record-dependencies
348 * A directive has been added for `compound paragraphs`__.
350   __ docs/ref/rst/directives.html#compound-paragraph
353 Release 0.3.5 (2004-07-29)
354 ==========================
356 * Improved, extended and reorganized the documentation__.
358   __ docs/index.html
360 * Added "csv-table__" directive.
362   __ docs/ref/rst/directives.html#csv-table