Copyright © 2014 Red Hat, Inc. This material may only be distributed subject to the terms and conditions set forth in the GNU Free Documentation License (GFDL), V1.2 or later (the latest version is presently available at http://www.gnu.org/licenses/fdl.txt).
Abstract
This document describes the enhancements and fixes included in Publican 4.2.
Publican is available for download at https://fedorahosted.org/publican/.
The Publican User Guide is available at http://jfearn.fedorapeople.org/en-US/Publican/4.2/html/Users_Guide/index.html.
Publican 4.2 Release Notes
Previously, Publican used the <embed>
tag to insert video content into documents. However, some browers did not support video represented this way when the video was served from another site. Publican now uses an <iframe>
to embed video in pages, which works for video linked from other sites as well as video that's local to the document. BZ#752021
Previously, Publican would automatically set a column width for tables if no column width was set. That is, without specific instructions from an author, Publican would specify columns of equal size. This prevented browsers from resizing columns to fit content. Publican now sets a column width only if specified by the author. BZ#1084860
Previously, Publican used elaborate markup to denote code samples and admonition. These approaches have now been replaced by coloured bars at the side of the text, to create a less intrusive approach. BZ#1093498
Publican's common brand did not provide styles for the DocBook <tip>
element. Now <tip>
joins the other four element supported (<note>
, <important>
, and <warning>
). BZ#1033830
Publican 4.2 includes a new feature to increase the usability of documentation that includes long <programlisting>
s. The popper hides <programlisting>
s after their first four lines, and provides the reader with a control to expand the rest of the listing if they want to read it. BZ#1088051
Previously, Publican ignored leading whitespace in msgids when merging translations. Therefore, although the msgid was a correct representation of the XML, Publican would not replace the corresponding XML content with the msgstr. Publican now merges translated content with leading whitespace correctly. BZ#1097090
Publican 4.2 includes a new feature to increase the usability of documentation that includes parallel samples of code in multiple programming languages. Any <programlisting>
s grouped together in an <informalexample role="switchery">
element are presented to the reader in a single display area with tabs to switch between the various languages. BZ#1092351
Previously, Publican did not ensure that CDATA was never escaped or resolved. For example, entities in CDATA were resolved when creating POT files. CDATA is now preserved throughout all code paths in Publican. BZ#1101050
Publican 4.2 includes a new feature to assist in proof-reading documents in incomplete translations. Previously, Publican would never use strings marked fuzzy when bulding a translated document. However, such strings might differ only slightly from a recent translation and still allow a translator to read a string in context. Adding the --showfuzzy
option to a publican build command incorporates fuzzy strings tothether with completed translations.
Publican now uses the Locale::PO module to perform manipulations on PO files, rather than handling these itself.
Previously, when the characters "\n" occurred in verbatim text, Publican would not escape them when incorporating them into msgids for POT files. This difference in msgid precluded accurate translation. The "\n" characters are now properly escaped. BZ#1097091
Callouts for code samples in DocBook 4 content have not worked in recent versions of Publican, displaying broken images instead. Publican 4.2 corrects the path to the brand assets, and adds CSS to make the icon visible. BZ#1112899
Previously, any CDATA in a docunment would be followed by a newline. This behaviour is corected in Publican 4.2.BZ#1110611
Publican 4.2 provides a new output format: Markdown
. Specify this format the same way as any other; with the --formats
option when building a book. BZ#1120455
Publican 4.2 supports arbitrary links to be displayed alongside links to documents on the splash pages of a Publican-driven documentation site. Specify these links in the en-US/External_Links.xml
file of a splash page package, in the format:
<simplelist> <member role="10" title="The Ways And Means Of Pants" href="https://pants.example.com" version="6">Pants in all thier glory!</member> </simplelist>
Previously, Publican omitted the HTML table element <th>
from being processed into msgids in PO files, precluding the translation of the contents of these elements. Now Publican makes the contents of these elements available for translation.BZ#1127462
Revision History | |||
---|---|---|---|
Revision 4.2-1 | Wed Aug 27 2014 | ||
|