11 reStructuredText parsing:
13 * Added "-D relax-citation-characters" option.
14 * Added roles "mathml-display" and "mathml-inline" to force
16 * Role name is now passed in as fourth argument to role attribute
18 * DefineRole now allows defining other info about the role than just
20 * Plug-in directives can now have an init routine that gets called to
21 define and initialize them.
22 * Plug-ins can now define roles as well as directives.
23 * Roles can now define a reparse option which will cause the output to
24 be reparsed as reStructuredText.
28 * Added "-W chapter" and "-W cloak-email-addresses" options.
29 * Added a new '\styleliteralblock' style command.
30 * Fixed a problem with inferring minus signs.
31 * Fixed a problem with converting opening single quotes.
32 * Fixed handling of raw latex.
38 Directive 'code-block':
40 * Allow the 'states' executable to be found anywhere on the path, but
41 check standard locations first.
45 * Sort the dependent \usepackage modules so that there is a canonical
46 order for regression testing
50 * Sort the inline targets so that there is a canonical order for
56 There were no functional changes in this release.
58 Fixed the latex simple test not to use a code-block directive, which
59 compiles differently on different machines.
64 reStructuredText transforms:
66 * Fixed a bug with hyperlink resolution when a chained target went to
67 an indirect target to an internal target.
71 * Fixed a bug in dealing with raw DOM objects.
75 * Fixed bugs in line blocks
76 * Fixed bugs in parsed literals
77 * Fixed a bug where a paragraph ending in an interpreted text item did
78 not result in a new paragraph
79 * Fixed a bug with processing quotes around marked up text
80 * Fixed a bug with special characters in options
81 * Added support for outputting mathml to latex (requires
82 Text::ASCIIMathML 0.4 or later)
87 There were no functional changes in this release.
89 * Fixed some tests and expects to be compatible with perl 5.9.5.
90 * Modified Makefile.PL hopefully to be compatible with more versions
92 * Changed the way the system plug-in directive gets the message from
93 STDERR so that it will hopefully be compatible with more systems.
99 * Generated a fatal error if an input file cannot be opened.
101 ReStructuredText parsing:
103 * The target role now keeps the case of the target in creating its
108 * Process the :class: option on images.
109 * If the "-W image-exts" option is used (it's actually deprecated in
110 favor of "-D image-exts"), the default alt attribute now also uses
111 the substituted extension.
115 * Improved help text.
116 * Added "-W index-indirect-targets" option.
117 * Added "-W index-role-target" option.
121 * Added a "-W xref-role-target" option to specify which target role
122 (if any) should be used for cross references.
123 * The "-W xref-role-targets" option has been removed.
127 * Recoded to remove most dependencies on internal structure of DOM
128 objects outside of DOM.pm.
132 ReStructuredText parsing:
134 * Added a "target" role that allows separation of inline target tags
135 from the text that is displayed.
136 * Fixed a bug where, if two items in an enumerated list occurred with
137 no blank line between them and a third item was separated by a blank
138 line, the third item was put into a separate list.
142 * Exported the following new global variables: ``$DIRECTIVE`` and
147 * Mark a single paragraph in a compound as both class "compound-first"
149 * Fixed a bug where a class attribute on a field list did not
150 propagate to the output.
151 * Fixed a bug where an align attribute on a table did not propagate to
156 * Implemented the '-W doc-titles' and '-W index-role-targets' options.
157 * Output nothing instead of an empty table if there are no index
162 * Added the ``-W xref-role-targets`` option.
163 * Allowed the suffix to be an empty string.
167 * Fixed problem with find command in Makefile.PL that used a Linuxism.
168 * Made most of the perl modules use the subversion release as version number.
172 * Renamed ReleaseNotes.txt to ChangeLog so that it will appear as a
173 special file on CPAN.
174 * Made one more effort to fix the indexing of version numbers.
178 * Create lib/Text/Restructured.pm from lib/Text/Restructured.pm.PL so
179 we can insert the version number in to allow CPAN to index it
181 * Fixed a problem with creating regular-expression expects for tests.
185 Fixed problem with CPAN indexing of versions.
189 * Completely reworked the regression test structure so as not to be
190 dependent upon GNU make.
192 Writers 'dom' and 'xml':
194 * Fixed a bug with attribute strings that contain double quotes.
199 * Fixed a problem with Makefile.PL.
201 ReStructuredText parsing:
203 * Don't write messages to STDERR for errors in directives in test
208 * Fixed a problem with quote markes in "alt" image text.
209 * Added "-W body-only" flag.
213 * Fixed problems with running with -T.
218 * Fixed the help to parse as reStructuredText.
219 * Execute evals in ``Text::Restructured::Writer::Eval`` instead of ``Eval_::``.
220 * Initialize some of the opt variables to avoid warnings if not driven
223 ReStructuredText parsing:
225 * Added "-D image-exts" flag so that each writer doesn't have to
226 support the functionality separately.
230 * Added "-W enum-list-prefixes" flag.
231 * Documentation deprecates "-W image-exts".
235 * Be more lenient about including graphics for files that aren't in
236 the current directory.
237 * Fixed the processing of raw DOM elements to ignore those not
239 * Added a newline before admonitions so they're processed in vertical
244 * Added "-W parent-role" flag.
254 Updated the ``toc`` writer to have expanded abilities with the ``-W
255 file-suffix`` option.
257 Fixed the Makefile.PL so that hopefully at least some platforms will
258 pass regression tests.
260 Added release notes to the prest documentation.
265 Made the ``html``, ``toc``, and ``xref`` writers compatible with
266 non-breaking spaces in Perl 5.8.0 implementation of Unicode. (Unicode
267 implementation was fixed in Perl 5.8.6.)
269 All ``-D`` or ``-W`` option names can use either hyphens ("-") or
270 underscores ("_") for word separators; internally everything uses
273 reStructuredText parsing:
275 * Added hyphens to the following ``-D`` options: ``entry-attr``,
276 ``include-ext``, ``include-path``, ``nest-inline``, ``perl-path``,
277 ``row-attr``, ``table-attr``.
278 * Added the following ``-D`` options: ``file-insertion-enabled``,
279 ``ignore-include-errs``, ``raw-enabled``.
280 * Fixed a bug where explicit targets were not permitted within an
281 embedded url (e.g., '``reference <#explicit-target>``').
282 * Don't consider targets defined on the same source/line number to be
283 duplicate targets (can happen with multiply-included files).
284 * Fixed the checking for inconsistent title levels to be more robust.
285 * Keep an ``@INCLUDES`` array to keep track of the include stack. This
286 variable can be accessed in a ``perl``/``if`` directive.
287 * Fixed a bug where large grid tables could result in a deep
290 reStructuredText transforms:
292 * Added the ``-D docinfo-levels`` option.
293 * Changed the documentation to show the ``-D`` options with hyphens ("-")
294 instead of underscores ("_") separting words.
295 * The ``sectnum`` directive now processes starting from its containing
296 section, rather than from the top of the DOM tree.
300 * Added a ``:head:`` option.
304 * Export the ``$SOURCE``, ``$LINE``, and ``@INCLUDES`` for use in Perl
307 Directive '``perl``':
309 * Implemented ``:file:`` option.
310 * Exported ``@INCLUDES``.
312 Directive '``sectnum``':
314 * Added a ``:prefix-title:`` option.
318 * Inserted hyphen in the ``-W body-attr`` option.
319 * Updated for adding hyphens to the following ``-D`` options:
320 ``table-attr``, ``entry-attr``, ``row-attr``.
321 * Added ``-W image-exts`` option.
322 * Added support for ``:head:`` option of ``raw`` DOM.
323 * Fixed a bug with targets.
324 * Fixed a potential undefined variable warning for footnote references.
328 * Changed documentation for ``-W`` options to use hyphens ("-") instead of
329 underscores ("_") between words.
330 * Implemented ``-W output-header`` and ``-W title-underline`` options.
331 * Changed implementation to use a ``compound`` directive instead of a
332 ``raw`` directive to set the class for the generated contents.
333 * Removed a potential undefined variable warning for indirect targets.
337 * Updated documentation to show ``-W`` options with hyphens ("-") instead of
338 underscores ("_") to separate words.
339 * Restructured for simplicity.
340 * Changed the way non-breaking spaces are removed from generated DOM
341 objects since the auto-numbering may have things other than numbers
346 * Added the following ``-W`` options: ``appendix``, ``chapter``,
347 ``section``, ``xref-sections``, ``xref-targets``.
348 * Restructured the code for simplification.
352 Added support for ascii-mathml role and directive to produce mathml
353 markup. The mathml markup is only supported in the ``dom`` and ``html``
359 Went through code coverage reports and updated the tests to bring the
360 line and condition coverage up to 100% (except the soon-to-be-outdated
361 ``latex`` writer). This analysis resulted in the following fixes:
365 * Fixed a bug where help prints out multiple times if there are
367 * Relocated all the code for parsing and interpreting writer schemas
368 to ``Text::Restructured::Writer``.
369 * Fixed the version number not to end with a period.
370 * Don't use ``FindBin`` to append the directory in which the script is
371 found to its ``@INC`` path.
372 * Don't convert digits in ``-W`` options to underscores.
373 * Removed code for parsing DOM files to ``Text::Restructured::DOM::Parse``.
374 * Insert blank line in usage before "Descriptions of Plug-in
375 Directives" and "Descriptions of Writers".
377 reStructuredText parsing:
379 * Stricter option checking in most directives.
380 * Removed package globals and incorporated into a parser object.
381 * Initialize ``ANONYMOUS_TARGETS`` in init.
382 * Fixed the handling of inline literals in definition lists.
383 * Put a system message in the document rather than dying if a plug-in
384 directive fails to compile.
385 * Simplified the code by removing tests whose conditions were
387 * Fixed an infinite loop that could come up in processing nested
389 * Fixed an infinite loop that could come up if a line block started
390 with two or more blank lines.
391 * Fixed the removal of inline markup characters from normalized names.
392 * Have ``include`` directive do nothing if the file is empty, as opposed
393 to returning an empty paragraph.
394 * Added checks for the ``:prefix:`` and ``:suffix:`` options to the
395 ``role`` directive to be sure they're formatted correctly.
396 * Return a system message if the title in a table-type directive is
397 not a single paragraph.
398 * Merged the code for ``csv-table`` and ``list-table`` directives to the
400 * Fixed the ``:class:`` option for ``target-notes``.
402 reStructuredText transforms:
404 * Simplified code by removing branches whose conditions were
406 * Return a system message if evaluating transform code results in an
408 * Process ``:class:`` option for ``target-notes`` directive.
409 * Allow ``decorations`` transform to put in link to prest documentation if
412 Directive '``code_block``':
414 * Added ``-D code-block-states-file`` option.
415 * Do line numbering whether or not states can be run if
418 Directive '``system``':
420 * Return a ``PCDATA`` DOM if in a substitution definition context (instead
422 * Don't add a null paragraph if the text is empty.
426 * Updated to use ``$writer`` argument to access ``ProcessDOMPhase``.
430 * Changed the semantics of ``-W embed-stylesheet`` and ``-W stylesheet``.
431 * Added ``-W stylesheet2`` option to specify a secondary embedded stylesheet.
432 * Changed default of ``-W field-limit`` to 14 from 15.
433 * Reworked so all the writer's annotations are in DOM's ``{_html}`` member.
434 * Reworked so that DOM's ``{attr}`` member is read-only; HTML attributes
435 are all copied to ``{_html}{attr}`` member.
436 * Factored out much of the attribute handling into a ``GetAttr`` routine.
437 * Fixed output of literals embedded in literals.
441 * Restructured code for simplification
442 * Pass the a writer argument into ``QuoteStart``.
443 * Fixed processing of ``-W short-titles``.
444 * Added handler for interpreted roles.
448 * Simplified code for ``generated``.
452 * Simplified code for substitution definitions.
460 Updated manifest to add files that will allow the regression to pass
461 on machines with differing locales.
465 Added test files to fix problems when different locales use different
466 text for system error messages.
470 * Fixed problem that caused bare subroutines in writers to be compiled
472 * Removed the path out of the subroutine names created when compiling
474 * Fixed the ``#line`` directives for writer subroutines so that better
475 error messages/coverage results are obtained.
477 Made writers more efficient by renaming package subroutines to ``BEGIN``
478 so that they will always be called exactly once.
482 * Incorporated changes in docutils ``html`` writer:
484 * No longer change double-quotes to "``"``".
485 * No longer put a newline after a ``<pre>``.
489 First release that was indexable on CPAN.