Release Notes for the DocBook XSL Stylesheets $Revision: 7393 $ $Date: 2007-08-30 22:13:49 +0900 (Thu, 30 Aug 2007) $ 2007-08-30 This release-notes document is available in the following formats: HTML, PDF, plain text; it provides a per-release list of enhancements and changes to the stylesheets public APIs (user-configurable parameters) and excludes descriptions of most bug fixes. For a complete list of all changes (including all bug fixes) that have been made since the previous release, see the separate NEWS (plain text) or NEWS.html files. Also available: An online hyperlinked change history (warning: big file) of all changes made over the entire history of the codebase. As with all DocBook Project dot one plus releases, this release aspires to be stable (in contrast to dot-zero releases, which are experimental). ------------------------------------------------------------------------------ Table of Contents Release Notes: 1.73.2 Release: 1.73.1 Gentext FO HTML Manpages HTMLHelp Eclipse JavaHelp Roundtrip Params Release: 1.73.0 Gentext Common FO HTML Manpages Eclipse JavaHelp Roundtrip Params Highlighting Profiling Lib Tools XSL-Saxon XSL-Xalan Release: 1.72.0 Common FO HTML Manpages Params Template Roundtrip Release: 1.71.1 Common FO HTML Highlighting Manpages Params Profiling Release: 1.71.0 Common Extensions FO HTML Highlighting Manpages Params Tools Release: 1.70.1 FO HTML HTMLHelp Params Release: 1.70.0 Common Extensions FO HTML Manpages Params Profiling Tools WordML Release 1.69.1 Release 1.69.0 Common FO Help HTML man Release 1.68.1 Release 1.68.0 Release 1.67.2 Release 1.67.1 Release 1.67.0 Release 1.66.1 Release 1.65.0 Release 1.64.1 Release 1.61.0 Release 1.60.1 Release 1.59.2 Release 1.59.1 Release 1.58.0 Release 1.57.0 Release 1.56.0 Older releases About dot-zero releases Release Notes: 1.73.2 This is solely a minor bug-fix update to the 1.73.1 release. It fixes a packaging error in the 1.73.1 package, as well as a bug in footnote handling in FO output. Release: 1.73.1 This is mostly a bug-fix update to the 1.73.0 release. Gentext The following changes have been made to the gentext code since the 1.73.0 release. * Mauritz Jeanson: locale/de.xml Applied patch #1766009. * Michael(tm) Smith: locale/lv.xml Added localization for ProductionSet. FO The following changes have been made to the fo code since the 1.73.0 release. * Mauritz Jeanson: table.xsl Modified the tgroup template so that, for tables with multiple tgroups, a width attribute is output on all corresponding fo:tables. Previously, there was a test prohibiting this (and a comment saying that outputting more than one width attribute will cause an error). But this seems to be no longer relevant; it is not a problem with FOP 0.93 or XEP 4.10. Closes bug #1760559. * Mauritz Jeanson: graphics.xsl Replaced useless elements with warning messages (textinsert extension). * Mauritz Jeanson: admon.xsl Enabled generation of ids (on fo:wrapper) for indexterms in admonition titles, so that page references in the index can be created. Closes bug #1775086. HTML The following changes have been made to the html code since the 1.73.0 release. * Mauritz Jeanson: titlepage.xsl Added to abstract template so that footnotes in info/abstract are processed. Closes bug #1760907. * Michael(tm) Smith: pi.xsl; synop.xsl Changed handling of HTML output for the cmdsynopsis and funcsynopsis elements, such that a@id instances are generated for them if they are descendants of any element containing a dbcmdlist or dbfunclist PI. Also, update the embedded reference docs for the dbcmdlist and dbfunclist PIs to make it clear that they can be used within any element for which cmdsynopsis or funcsynopsis are valid children. * Michael(tm) Smith: formal.xsl Reverted the part of revision 6952 that caused a@id anchors to be generated for output of informal objects. Thanks to Sam Steingold for reporting. * Robert Stayton: glossary.xsl Account for a glossary with no glossdiv or glossentry children. * Mauritz Jeanson: titlepage.xsl Modified legalnotice template so that the base.name parameter is calculated in the same way as for revhistory chunks. Using did not work for single-page output since the template with that mode is in chunk-code.xsl. * Mauritz Jeanson: graphics.xsl Updated support for SVG (must be a child of imagedata in DB 5). Added support for MathML in imagedata. * Mauritz Jeanson: pi.xsl Added documentation for the dbhh PI (used for context-sensitive HTML Help). (The two templates matching 'dbhh' are still in htmlhelp-common.xsl). Manpages The following changes have been made to the manpages code since the 1.73.0 release. * Michael(tm) Smith: endnotes.xsl In manpages output, generate warnings about notesources with non-para children only if the notesource is a footnote or annotation. Thanks to Sam Steingold for reporting problems with the existing handling. HTMLHelp The following changes have been made to the htmlhelp code since the 1.73.0 release. * Michael(tm) Smith: htmlhelp-common.xsl Added single-pass namespace-stripping support to the htmlhelp, eclipse, and javahelp stylesheets. Eclipse The following changes have been made to the eclipse code since the 1.73.0 release. * Michael(tm) Smith: eclipse.xsl Added single-pass namespace-stripping support to the htmlhelp, eclipse, and javahelp stylesheets. JavaHelp The following changes have been made to the javahelp code since the 1.73.0 release. * Michael(tm) Smith: javahelp.xsl Added single-pass namespace-stripping support to the htmlhelp, eclipse, and javahelp stylesheets. Roundtrip The following changes have been made to the roundtrip code since the 1.73.0 release. * Steve Ball: blocks2dbk.xsl; blocks2dbk.dtd; pages2normalise.xsl Modularised blocks2dbk to allow customisation, Added support for tables to pages2normalise Params The following changes have been made to the params code since the 1.73.0 release. * Robert Stayton: procedure.properties.xml procedure was inheriting keep-together from formal.object.properties, but a procedure does not need to be kept together by default. * Dave Pawson: title.font.family.xml; component.label.includes.part.label.xml; table.frame.b Regular formatting re-org. Release: 1.73.0 This release includes important bug fixes and adds the following significant feature changes: New localizations and localization updates We added two new localizations: Latvian and Esperanto, and made updates to the Czech, Chinese Simplified, Mongolian, Serbian, Italian, and Ukrainian localizations. ISO690 citation style for bibliography output. Set the bibliography.style parameter to iso690 to use ISO690 style. New documentation for processing instructions (PI) The reference documentation that ships with the release now includes documentation on all PIs that you can use to control output from the stylesheets. New profiling parameters for audience and wordsize You can now do profiling based on the values of the audience and wordsize attributes. Changes to man-page output The manpages stylesheet now supports single-pass profiling and single-pass DocBook 5 namespace stripping (just as the HTML and FO stylesheets also do). Also, added handling for mediaobject & inlinemediaobject. (Each imagedata, audiodata, or videodata element within a mediaobject or inline mediaobject is now treated as a "notesource" and so handled in much the same way as links and annotation/alt/footnote are in manpages output.) And added the man.authors.section.enabled and man.copyright.section.enabled parameters to enable control over whether output includes auto-generated AUTHORS and COPYRIGHT sections. Highlighting support for C The highlighting mechanism for generating syntax-highlighted code snippets in output now supports C code listings (along with Java, PHP, XSLT, and others). Experimental docbook-xsl-update script We added an experimental docbook-xsl-update script, the purpose of which is to facilitate easy sync-up to the latest docbook-xsl snapshot (by means of rsync). Gentext The following changes have been made to the gentext code since the 1.72.0 release. * Michael(tm) Smith: locale/lv.xml; Makefile Added Latvian localization file, from Girts Ziemelis. * Dongsheng Song: locale/zh_cn.xml Brought up to date with en.xml in terms of items. A few strings marked for translation. * Jirka Kosek: locale/cs.xml Added missing translations * Robert Stayton: locale/eo.xml New locale for Esperanto. * Robert Stayton: locale/mn.xml Update from Ganbold Tsagaankhuu. * Jirka Kosek: locale/en.xml; locale/cs.xml Rules for normalizing glossary entries before they are sorted can be now different for each language. * Michael(tm) Smith: locale/sr_Latn.xml; locale/sr.xml Committed changes from Milo Komarevi to Serbian files. * Robert Stayton: locale/ja.xml Fix chapter in context xref-number-and-title * Robert Stayton: locale/it.xml Improved version from contributor. * Mauritz Jeanson: locale/uk.xml Applied patch 1592083. Common The following changes have been made to the common code since the 1.72.0 release. * Michael(tm) Smith: labels.xsl Changed handling of reference auto-labeling such that reference (when it appears at the component level) is now affected by the label.from.part param, just as preface, chapter, and appendix. * Michael(tm) Smith: common.xsl Added support to the HTML stylesheets for proper processing of orgname as a child of author. * Michael(tm) Smith: refentry.xsl Refined logging output of refentry metadata-gathering template; for some cases of "missing" elements (refmiscinfo stuff, etc.), the log messages now include URL to corresponding page in the Definitive Guide (TDG). * Robert Stayton: titles.xsl Add refsection/info/title support. * Michael(tm) Smith: titles.xsl Added support for correct handling of xref to elements that contain info/title descendants but no title children. This should be further refined so that it handles any *info elements. And there are probably some other places where similar handling for *info/title should be added. * Mauritz Jeanson: pi.xsl Modified in datetime.format template to work around Xalan bug. FO The following changes have been made to the fo code since the 1.72.0 release. * Robert Stayton: component.xsl Add parameters to the page.sequence utility template. * Mauritz Jeanson: xref.xsl Added template for xref to area/areaset. Part of fix for bug #1675513 (xref to area broken). * Michael(tm) Smith: inline.xsl Added template match for person element to fo stylesheet. * Robert Stayton: lists.xsl Added support for spacing="compact" in variablelist, per bug report #1722540. * Robert Stayton: table.xsl table pgwide="1" should also use pgwide.properties attribute-set. * Mauritz Jeanson: inline.xsl Make citations numbered if bibliography.numbered != 0. * Robert Stayton: param.xweb; param.ent Add new profiling parameters for audience and wordsize. * Robert Stayton: param.xweb; param.ent Added callout.icon.size parameter. * Robert Stayton: inline.xsl; xref.xsl Add support for xlink as olink. * Robert Stayton: autotoc.xsl; param.xweb; param.ent Add support for qanda.in.toc to fo TOC. * Robert Stayton: component.xsl Improved the page.sequence utility template for use with book. * Robert Stayton: division.xsl Refactored the big book template into smaller pieces. Used the "page.sequence" utility template in component.xsl to shorten the toc piece. Added placeholder templates for front.cover and back.cover. * Robert Stayton: param.xweb; param.ent; sections.xsl Add section.container.element parameter to enable pgwide spans inside sections. * Robert Stayton: param.xweb; param.ent; component.xsl Add component.titlepage.properties attribute-set to support span="all" and other properties. * Robert Stayton: htmltbl.xsl; table.xsl Apply table.row.properties template to html tr rows too. Add keep-with-next to table.row.properties when row is in thead. * Robert Stayton: table.xsl Add support for default.table.frame parameter. Fix bug 1575446 rowsep last check for @morerows. * Robert Stayton: refentry.xsl Add support for info/title in refsections. * David Cramer: qandaset.xsl Make fo questions and answers behave the same way as html * Jirka Kosek: lists.xsl Added missing attribute set for procedure * Jirka Kosek: param.xweb; biblio.xsl; docbook.xsl; param.ent; biblio-iso690.xsl Added support for formatting biblioentries according to ISO690 citation style. New bibliography style can be turned on by setting parameter bibliography.style to "iso690" The code was provided by Jana Dvorakova * Robert Stayton: param.xweb; param.ent; pagesetup.xsl Add header.table.properties and footer.table.properties attribute-sets. * Robert Stayton: inline.xsl Add fop1.extensions for menuchoice arrow handling exception. HTML The following changes have been made to the html code since the 1.72.0 release. * Mauritz Jeanson: param.xweb; param.ent Moved declaration and documentation of javahelp.encoding from javahelp.xsl to the regular "parameter machinery". * Michael(tm) Smith: admon.xsl Changed handling of titles for note, warning, caution, important, tip admonitions: We now output and HTML h3 head only if admon.textlabel is non-zero or if the admonition actually contains a title; otherwise, we don't output an h3 head at all. (Previously, we were outputting an empty h3 if the admon.textlabel was zero and if the admonition had no title.) * Mauritz Jeanson: xref.xsl Added template for xref to area/areaset. Part of fix for bug #1675513 (xref to area broken). * Mauritz Jeanson: titlepage.xsl; component.xsl; division.xsl; sections.xsl Added fixes to avoid duplicate ids when generate.id.attributes = 1. This (hopefully) closes bug #1671052. * Michael(tm) Smith: formal.xsl; pi.xsl Made the dbfunclist PI work as intended. Also added doc for dbfunclist and dbcmdlist PIs. * Michael(tm) Smith: pi.xsl; synop.xsl Made the dbcmdlist work the way it appears to have been intended to work. Restored dbhtml-dir template back to pi.xsl. * Michael(tm) Smith: titlepage.xsl; param.xweb; param.ent Added new param abstract.notitle.enabled. If non-zero, in output of the abstract element on titlepages, display of the abstract title is suppressed. Because sometimes you really don't want or need that title there... * Michael(tm) Smith: chunk-code.xsl; graphics.xsl When we are chunking long descriptions for mediaobject instances into separate HTML output files, and use.id.as.filename is non-zero, if a mediaobject has an ID, use that ID as the basename for the long-description file (otherwise, we generate an ID for it and use that ID as the basename for the file). The parallels the recent change made to cause IDs for legalnotice instances to be used as basenames for legalnotice chunks. Also, made some minor refinements to the recent changes for legalnotice chunk handling. * Michael(tm) Smith: titlepage.xsl Added support to the HTML stylesheets for proper processing of orgname as a child of author. * Michael(tm) Smith: chunk-code.xsl When $generate.legalnotice.link is non-zero and $use.id.as.filename is also non-zero, if a legalnotice has an ID, then instead of assigning the "ln-" basename to the output file for that legalnotice, just use its real ID as the basename for the file -- as we do when chunking other elements that have IDs. * David Cramer: xref.xsl Handle alt text on xrefs to steps when the step doesn't have a title. * David Cramer: lists.xsl Added

element around term in variablelist when formatted as table to avoid misalignment of term and listitem in xhtml (non-quirks mode) output * David Cramer: qandaset.xsl Added

element around question and answer labels to avoid misalignment of label and listitem in xhtml (non-quirks mode) output * David Cramer: lists.xsl Added

element around callouts to avoid misalignment of callout and listitem in xhtml (non-quirks mode) output * Mauritz Jeanson: inline.xsl Make citations numbered if bibliography.numbered != 0. * Robert Stayton: param.xweb; param.ent Add support for new profiling attributes audience and wordsize. * Robert Stayton: inline.xsl; xref.xsl Add support for xlink olinks. * Jirka Kosek: glossary.xsl Rules for normalizing glossary entries before they are sorted can be now different for each language. * Robert Stayton: chunk-common.xsl; chunk-code.xsl; manifest.xsl; chunk.xsl Refactored the chunking modules to move all named templates to chunk-common.xsl and all match templates to chunk-code.xsl, in order to enable better chunk customization. See the comments in chunk.xsl for more details. * Robert Stayton: lists.xsl Add anchor for xml:id for listitem in varlistentry. * Robert Stayton: refentry.xsl Add support for info/title in refsections for db5. * Jirka Kosek: param.xweb; biblio.xsl; docbook.xsl; param.ent; biblio-iso690.xsl Added support for formatting biblioentries according to ISO690 citation style. New bibliography style can be turned on by setting parameter bibliography.style to "iso690" The code was provided by Jana Dvorakova * Robert Stayton: inline.xsl; xref.xsl Add call to class.attribute to output elements so they can have a class value too. * Mauritz Jeanson: glossary.xsl Fixed bug #1644881: * Added curly braces around all $language attribute values. * Moved declaration of language variable to top level of stylesheet. Tested with Xalan, Saxon, and xsltproc. Manpages The following changes have been made to the manpages code since the 1.72.0 release. * Michael(tm) Smith: param.xweb; docbook.xsl; param.ent Added the man.authors.section.enabled and man.copyright.section.enabled parameters. Set those to zero when you want to suppress display of the auto-generated AUTHORS and COPYRIGHT sections. Closes request #1467806. Thanks to Daniel Leidert. * Michael(tm) Smith: docbook.xsl Took the test that the manpages stylesheet does to see if there are any Refentry chilren in current doc, and made it namespace-agnostic. Reason for that is because the test otherwise won't work when it is copied over into the generated profile-docbook.xsl stylesheet. * Michael(tm) Smith: Makefile Added a manpages/profile-docbook.xsl file to enable single-pass profiling for manpages output. * Michael(tm) Smith: info.xsl Output copyright and legalnotice in man-page output in whatever place they are in in document order. Closes #1690539. Thanks to Daniel Leidert for reporting. * Michael(tm) Smith: docbook.xsl Restored support for single-pass namespace stripping to manpages stylesheet. * Michael(tm) Smith: synop.xsl; block.xsl; info.xsl; inline.xsl; lists.xsl; endnotes.xsl; ut Changed handling of bold and italic/underline output in manpages output. Should be transparent to users, but... This touches handling of all bold and italic/underline output. The exact change is that the mode="bold" and mode="italic" utility templates were changed to named templates. (I think maybe I've changed it back and forth from mode to named before, so this is maybe re-reverting it yet again). Anyway, the reason for the change is that the templates are sometimes call on dynamically node-sets, and using modes to format those doesn't allow passing info about the current/real context node from the source (not the node-set created by the stylesheet) to that formatting stage. The named templates allow the context to be passed in as a parameter, so that the bold/ital formatting template can use context-aware condition checking. This was basically necessary in order to suppress bold formatting in titles, which otherwise gets screwed up because of the numbnut way that roff handles nested bold/ital. Closes #1674534). Much thanks to Daniel Leidert, whose in his docbook-xsl bug-finding kung-fu has achieved Grand Master status. * Michael(tm) Smith: block.xsl Fixed handling of example instances by adding the example element to the same template we use for processing figure. Closes #1674538. Thanks to Daniel Leidert. * Michael(tm) Smith: utility.xsl Don't include lang in manpages filename/pathname if lang=en (that is, only generate lang-qualified file-/pathnames for non-English). * Michael(tm) Smith: endnotes.xsl In manpages output, emit warnings for notesources (footnote, etc.) that have something other than para as a child. The numbered-with-hanging-indent formatting that's used for rendering endnotes in the NOTES section of man pages places some limits/assumptions on how the DocBook source is marked up; namely, for notesources (footnote, annotation, etc.) that can contain block-level children, if the they have a block-level child such as a table or itemizedlist or orderedlist that is the first child of a footnote, we have no way of rendering/indenting its content properly in the endnotes list. Thus, the manpages stylesheet not emits a warning message for that case, and suggests the "fix" (which is to wrap the table or itemizedlist or whatever in a para that has some preferatory text. * Michael(tm) Smith: utility.xsl Added support to mixed-block template for handling tables in mixed-blocks (e.g., as child of para) correctly. * Michael(tm) Smith: table.xsl; synop.xsl; block.xsl; info.xsl; lists.xsl; refentry.xsl; end Reverted necessary escaping of backslash, dot, and dash out of the well-intentioned (but it now appears, misguided) "marker" mechanism (introduced in the 1.72.0 release) -- which made use of alternative "marker" characters as internal representations of those characters, and then replaced them just prior to serialization -- and back into what's basically the system that was used prior to the 1.69.0 release; that is, into a part of stylesheet code that gets executed at the beginning of processing -- before any other roff markup up is. This change obviates the need for the marker system. It also requires a lot less RAM during processing (for large files, the marker mechanism ending up requiring gigabytes of memory). Closes bug #1661177. Thanks to Scott Smedley for providing a test case (the fvwm man page) that exposed the problem with the marker mechanism. Also moved the mechanism for converting non-breaking spaces back into the same area of the stylesheet code. * Michael(tm) Smith: lists.xsl Fixed problem with incorrect formatting of nested variablelist. Closes bug #1650931. Thanks to Daniel "Eagle Eye" Leidert. * Michael(tm) Smith: lists.xsl Make sure that all listitems in itemizedlist and orderedlist are preceded by a blank line. This fixes a regression that occurred when instances of the TP macro that were use in a previous versions of the list-handling code were switched to RS/RE (because TP doesn't support nesting). TP automatically generates a blank line, but RS doesn't. So I added a .sp before each .RS * Michael(tm) Smith: block.xsl; inline.xsl; param.xweb; docbook.xsl; links.xsl; param.ent Made a number of changes related to elements with out-of-line content: - Added handling for mediaobject & inlinemediaobject. Each imagedata, audiodata, or videodata element within a mediaobject or inline mediaobject is now treated as a "notesource" and so handled in much the same way as links and annotation/alt/footnotes. That means a numbered marker is generated inline to mark the place in the main flow where the imagedata, audiodata, or videodata element occurs, and a corresponding numbered endnote for it is generated in the endnotes list at the end of the man page; the endnote contains the URL from the fileref attribute of the imagedata, audiodata, or videodata element. For mediobject and inlinemediaobject instances that have a textobject child, the textobject is displayed within the main text flow. - Renamed several man.link.* params to man.endnotes.*, to reflect that fact that the endnotes list now contains more than just links. Also did similar renaming for a number of stylesheet-internal vars. - Added support for xlink:href (along with existing support for the legacy ulink element). - Cleaned up and streamlined the endnotes-handling code. It's still messy and klunky and the basic mechanism it uses is very inefficent for documents that contain a lot of notesources, but at least it's a bit better than it was. Eclipse The following changes have been made to the eclipse code since the 1.72.0 release. * Mauritz Jeanson: Makefile Fixed bug #1715093: Makefile for creating profiled version of eclipse.xsl added. * David Cramer: eclipse.xsl Added normalize-space around to avoid leading whitespace from appearing in the output if there's extra leading whitespace (e.g. Foo) in the source JavaHelp The following changes have been made to the javahelp code since the 1.72.0 release. * Mauritz Jeanson: javahelp.xsl Implemented FR #1230233 (sorted index in javahelp). * Mauritz Jeanson: javahelp.xsl Added normalize-space() around titles and index entries to work around whitespace problems. Added support for glossary and bibliography in toc and map files. Roundtrip The following changes have been made to the roundtrip code since the 1.72.0 release. * Steve Ball: blocks2dbk.xsl; wordml2normalise.xsl; normalise2sections.xsl; sections2blocks. new stylesheets for better word processor support and easier maintenance * Steve Ball: template-pages.xml; dbk2wp.xsl; sections-spec.xml fixed bugs Params The following changes have been made to the params code since the 1.72.0 release. * Mauritz Jeanson: htmlhelp.button.back.xml; htmlhelp.button.forward.xml; htmlhelp.button.zo Modified refpurpose text. * Mauritz Jeanson: htmlhelp.map.file.xml; htmlhelp.force.map.and.alias.xml; htmlhelp.alias.f Fixed typos, made some small changes. * Mauritz Jeanson: javahelp.encoding.xml Moved declaration and documentation of javahelp.encoding from javahelp.xsl to the regular "parameter machinery". * Mauritz Jeanson: generate.id.attributes.xml Added refpurpose text. * Mauritz Jeanson: annotation.js.xml; annotation.graphic.open.xml; annotation.graphic.close. Added better refpurpose texts. * Michael(tm) Smith: chunker.output.cdata-section-elements.xml; chunker.output.standalone.xm Fixed some broken formatting in source files for chunker.* params, as pointed out by Dave Pawson. * Michael(tm) Smith: label.from.part.xml Changed handling of reference auto-labeling such that reference (when it appears at the component level) is now affected by the label.from.part param, just as preface, chapter, and appendix. * Mauritz Jeanson: callout.graphics.extension.xml Clarified that 'extension' refers to file names. * Michael(tm) Smith: abstract.notitle.enabled.xml Added new param abstract.notitle.enabled. If non-zero, in output of the abstract element on titlepages, display of the abstract title is suppressed. Because sometimes you really don't want or need that title there... * Michael(tm) Smith: man.string.subst.map.xml Updated manpages string-substitute map to reflect fact that because of another recent change to suppress bold markup in .SH output, we no longer need to add a workaround for the accidental uppercasing of roff escapes that occurred previously. * Jirka Kosek: margin.note.float.type.xml; title.font.family.xml; table.frame.border.color.x Improved parameter metadata * Robert Stayton: profile.wordsize.xml; profile.audience.xml Add support for profiling on new attributes audience and wordsize. * Robert Stayton: callout.graphics.number.limit.xml; callout.graphics.extension.xml Added SVG graphics for fo output. * Robert Stayton: callout.icon.size.xml Set size of callout graphics. * Jirka Kosek: default.units.xml; chunker.output.method.xml; toc.list.type.xml; output.inden Updated parameter metadata to the new format. * Jirka Kosek: man.output.quietly.xml; title.font.family.xml; footnote.sep.leader.properties Added type annotations into parameter definition files. * Robert Stayton: section.container.element.xml Support spans in sections for certain processors. * Robert Stayton: component.titlepage.properties.xml Empty attribute set for top level component titlepage block. Allows setting a span on title info. * Jirka Kosek: bibliography.style.xml Added link to WiKi page with description of special markup needed for ISO690 biblioentries * Robert Stayton: make.year.ranges.xml Clarify that multiple year elements are required. * Robert Stayton: id.warnings.xml Turn off id.warnings by default. * Jirka Kosek: bibliography.style.xml Added support for formatting biblioentries according to ISO690 citation style. New bibliography style can be turned on by setting parameter bibliography.style to "iso690" The code was provided by Jana Dvorakova * Robert Stayton: header.table.properties.xml; footer.table.properties.xml Support adding table properties to header and footer tables. Highlighting The following changes have been made to the highlighting code since the 1.72.0 release. * Jirka Kosek: c-hl.xml; xslthl-config.xml Added support for C language. Provided by Bruno Guegan. Profiling The following changes have been made to the profiling code since the 1.72.0 release. * Robert Stayton: profile-mode.xsl Add support for new profiling attributes audience and wordsize. Lib The following changes have been made to the lib code since the 1.72.0 release. * Michael(tm) Smith: lib.xweb Changed name of prepend-pad template to pad-string and twheeked so it can do both right/left padding. Tools The following changes have been made to the tools code since the 1.72.0 release. * Michael(tm) Smith: bin; bin/docbook-xsl-update Did some cleanup to the install.sh source and added a docbook-xsl-update script to the docbook-xsl distro, the purpose of which is to facilitate easy sync-up to the latest docbook-xsl snapshot (by means of rsync). XSL-Saxon The following changes have been made to the xsl-saxon code since the 1.72.0 release. * Mauritz Jeanson: xalan27/src/com/nwalsh/xalan/Verbatim.java; xalan27/src/com/nwalsh/xalan/ Added modifications so that the new callout.icon.size parameter is taken into account. This parameter is used for FO output (where SVG now is the default graphics format for callouts). * Mauritz Jeanson: saxon65/src/com/nwalsh/saxon/FormatCallout.java; xalan27/src/com/nwalsh/x Added code for generating id attributes on callouts in HTML and FO output. These patches enable cross-references to callouts placed by area coordinates. It works for graphic, unicode and text callouts. Part of fix for bug #1675513 (xref to area broken). * Michael(tm) Smith: saxon65/src/com/nwalsh/saxon/Website.java; xalan27/src/com/nwalsh/xalan Copied over Website XSL Java extensions. XSL-Xalan The following changes have been made to the xsl-xalan code since the 1.72.0 release. * Michael(tm) Smith: Makefile; xalan2 Turned off xalan2.jar build. This removes DocBook XSL Java extensions support for versions of Xalan prior to Xalan 2.7. If you are currently using the extensions with an earlier version of Xalan, you need to upgrade to Xalan 2.7. * Mauritz Jeanson: xalan27/src/com/nwalsh/xalan/Verbatim.java; xalan27/src/com/nwalsh/xalan/ Added modifications so that the new callout.icon.size parameter is taken into account. This parameter is used for FO output (where SVG now is the default graphics format for callouts). * Mauritz Jeanson: saxon65/src/com/nwalsh/saxon/FormatCallout.java; xalan27/src/com/nwalsh/x Added code for generating id attributes on callouts in HTML and FO output. These patches enable cross-references to callouts placed by area coordinates. It works for graphic, unicode and text callouts. Part of fix for bug #1675513 (xref to area broken). * Michael(tm) Smith: saxon65/src/com/nwalsh/saxon/Website.java; xalan27/src/com/nwalsh/xalan Copied over Website XSL Java extensions. Release: 1.72.0 This release includes important bug fixes and adds the following significant feature changes: Automatic sorting of glossary entries The HTML and FO stylesheets now support automatic sorting of glossary entries. To enable glossary sorting, set the value of the glossary.sort parameter to 1 (by default, its value is 0). When you enable glossary sorting, glossentry elements within a glossary, glossdiv, or glosslist are sorted on the glossterm, using the current language setting. If you dont enable glossary sorting, then the order of glossentry elements is left as is that is, they are not sorted but are instead just displayed in document order. WordML renamed to Roundtrip, OpenOffice support added Stylesheets for roundtrip conversion between documents in OpenOffice format (ODF) and DocBook XML have been added to the set of stylesheets that formerly had the collective title WordML, and that set of stylesheets has been renamed to Roundtrip to better reflect the actual scope and purpose of its contents. So the DocBook XSL Stylesheets now support roundtrip conversion (with certain limitations) of WordML, OpenOffice, and Apple Pages documents to and from DocBook XML. Including QandASet questions in TOCs The HTML stylesheet now provides support for including QandASet questions in the document TOC. To enable display of questions in the document TOC, set the value of the qanda.in.toc to 1 (by default, its 0). When you enable qanda.in.toc, then the generated table of contents for a document will include qandaset titles, qandadiv titles, and question elements. The default value of zero excludes them from the TOC. Note The qanda.in.toc parameter does not affect any tables of contents that may be generated within a qandaset or qandadiv (only in the document TOC). Language identifier in man-page filenames and pathnames Added new parameter man.output.lang.in.name.enabled, which controls whether a language identifier is included in man-page filenames and pathnames. It works like this: If the value of man.output.lang.in.name.enabled is non-zero, man-page files are output with a language identifier included in their filenames or pathnames as follows: * if man.output.subdirs.enabled is non-zero, each file is output to, e.g., a /$lang/man8/foo.8 pathname * if man.output.subdirs.enabled is zero, each file is output with a foo.$lang.8 filename index.page.number.properties property set For FO output, use the index.page.number.properties to control formatting of page numbers in index output to (for example) to display page numbers in index output in a different color (to indicate that they are links). Crop marks in output from Antenna House XSL Formatter Support has been added for generating crop marks in print/PDF output generated using Antenna House XSL Formatter More string-substitution hooks in manpages output The man.string.subst.map.local.pre and man.string.subst.map.local.post parameters have been added to enable easier control over custom string substitutions. Moved verbatim properties to attribute-set The hardcoded properties used in verbatim elements (literallayout, programlisting, screen) were moved to the verbatim.properties attribute-set so they can be more easily customized. enhanced simple.xlink template Now the simple.xlink template in inline.xsl works with cross reference elements xref and link as well. Also, more elements call simple.xlink, which enables DB5 xlink functionality. DocBook 5 compatibility Stylesheets now consistently support DocBook 5 attributes (such as xml:id). Also, DocBook 5 info elements are now checked along with other *info elements, and the use of name() function was replaced by local-name() so it also matches on DocBook 5 elements. These changes enable reusing the stylesheets with DocBook 5 documents with minimal fixup. HTML class attributes now handled in class.attribute mode The HTML class attributes were formerly hardcoded to the element name. Now the class attribute is generated by applying templates in class.attribute mode so class attribute names can be customized. The default is still the element name. arabic-indic numbering enabled in autolabels Numbering of chapter, sections, and pages can now use arabic-indic numbering when number format is set to 'arabicindic' or to . The following is a detailed list of changes (not including bug fixes) that have been made since the 1.71.1 release. Common The following changes have been made to the common code since the 1.71.1 release. * Add support for arabicindic numbering to autolabel.format template. * Finish support for @xml:id everywhere @id is used. * replace name() with local-name() in most cases. * Add support for info. * Add utility template tabstyle to return the tabstyle from any table element. FO The following changes have been made to the fo code since the 1.71.1 release. * Add support for sorting glossary entries * Add table.row.properties template to customize table rows. * Moved all properties to attribute-sets so can be customized more easily. * Add index.page.number.properties attribute-set to format page numbers. * xref now supports xlink:href, using simple.xlink template. * Rewrote simple.xlink, and call it with all charseq templates. * Add simple.xlink processing to term and member elements. * Add support for crop marks in Antenna House. HTML The following changes have been made to the html code since the 1.71.1 release. * Add support for sorting glossary entries * Add support for qanda.in.toc to add qandaentry questions to document TOC. * add simple.xlink support to variablelist term and simplelist member. * *.propagates.style now handled in class.attribute mode. * add class parameter to class.attribute mode to set default class. * Convert all class attributes to use the class.attribute mode so class names can be customized more easily. * Add class.attribute mode to generate class attributes. * Added simple.xlink to most remaining inlines. Changed class attributes to applying class.attributes mode. * Changed xref template to use simple.xlink tempalte. * Improve generate.html.title to work with link targets too. * Improved simple.xlink to support link and xref. * Use new link.title.attribute now. * Rewrote simple.xlink to handle linkend also. Better computation of title attribute on link too. * Handle Xalan quirk as special case. * Add support for info. * Fixed imagemaps so they work properly going from calspair coords to HTML area coords. Manpages The following changes have been made to the manpages code since the 1.71.1 release. * Added doc for man.output.lang.in.name.enabled parameter. This checkin completes support for writing file/pathnames for man-pages with $lang include in the names. Closes #1585967. knightly accolades to Daniel Leidert for providing the feature request. * Added new param man.output.lang.in.name.enabled, which controls whether $LANG value is included in manpages filenames and pathnames. It works like this: If the value of man.output.lang.in.name.enabled is non-zero, man-page files are output with the $lang value included in their filenames or pathnames as follows; - if man.output.subdirs.enabled is non-zero, each file is output to, e.g., a /$lang/man8/foo.8 pathname - if man.output.subdirs.enabled is zero, each file is output with a foo.$lang.8 filename * Use "\e" instead of "\\" for backslash output, because the groff docs say that's the correct thing to do; also because testing (thanks, Paul Dubois) shows that "\\" doesn't always work as expected; for example, "\\" within a table seems to mess things up. * Added the man.string.subst.map.local.pre and man.string.subst.map.local.post parameters. Those parameters enable local additions and changes to string-substitution mappings without the need to change the value of man.string.subst.map parameter (which is for standard system mappings). Closes #1456738. Thanks to Sam Steingold for constructing a true stylesheet torture test (the clisp docs) that exposed the need for these params. * Added the Markup element to the list of elements that get output in bold. Thanks to Eric S. Raymond. * Replaced all dots in roff requests with U+2302 ("house" character), and added escaping in output for all instances of dot that are not in roff requests. This fixes the problem case where a string beginning with a dot (for example, the string ".bashrc") might occur at the beginning of a line in output, in which case would mistakenly get interpreted as a roff request. Thanks to Eric S. Raymond for pushing to fix this. * Made change to ensure that list content nested in itemizedlist and orderedlist instances is properly indented. This is a switch from using .TP to format those lists to using .RS/.RE to format them instead (because .TP does not allow nesting). Closes bug #1602616. Thanks to Daniel Leidert. Params The following changes have been made to the params code since the 1.71.1 release. * Added doc for man.output.lang.in.name.enabled parameter. This checkin completes support for writing file/pathnames for man-pages with $lang include in the names. Closes #1585967. knightly accolades to Daniel Leidert for providing the feature request. * Added new param man.output.lang.in.name.enabled, which controls whether $LANG value is included in manpages filenames and pathnames. It works like this: If the value of man.output.lang.in.name.enabled is non-zero, man-page files are output with the $lang value included in their filenames or pathnames as follows; - if man.output.subdirs.enabled is non-zero, each file is output to, e.g., a /$lang/man8/foo.8 pathname - if man.output.subdirs.enabled is zero, each file is output with a foo.$lang.8 filename * Added the man.string.subst.map.local.pre and man.string.subst.map.local.post parameters. Those parameters enable local additions and changes to string-substitution mappings without the need to change the value of man.string.subst.map parameter (which is for standard system mappings). Closes #1456738. Thanks to Sam Steingold for constructing a true stylesheet torture test (the clisp docs) that exposed the need for these params. * Add index.page.number.properties by default. * Added index.page.number.properties to allow customizations of page numbers in indexes. * Move show-destination="replace" property from template to attribute-set so it can be customized. * Add support for sorting glossary entries * Add option to include qanda in tables of contents. * Moved all properties to attribute-sets so can be customized more easily. Template The following changes have been made to the template code since the 1.71.1 release. * Added workaround for Xalan bug: use for-each and copy instead of copy-of (#1604770). Roundtrip The following changes have been made to the roundtrip code since the 1.71.1 release. * rename to roundtrip, add OpenOffice support Release: 1.71.1 This is a minor update to the 1.71.0 release. Along with a number of bug fixes, it includes two feature changes: * Added support for profiling based on xml:lang and status attributes. * Added initial support in manpages output for footnote, annotation, and alt instances. Basically, they all now get handled the same way ulink instances are. They are treated as a class as "note sources": A numbered marker is generated at the place in the main text flow where they occur, then their contents are displayed in an endnotes section at the end of the man page. Common The following changes have been made to the common code since the 1.71.1 release. * For backward compatability autoidx-ng.xsl is invoking "kosek" indexing method again. * Add support for Xalan generating a root xml:base like saxon. FO The following changes have been made to the fo code since the 1.71.1 release. * For backward compatability autoidx-ng.xsl is invoking "kosek" indexing method again. * Add support for Xalan to add root node xml:base for db5 docs. * Added support for profiling based on xml:lang and status attributes. HTML The following changes have been made to the html code since the 1.71.1 release. * For backward compatability autoidx-ng.xsl is invoking "kosek" indexing method again. * Add support for Xalan to add root node xml:base for db5 docs. * Added support for profiling based on xml:lang and status attributes. * Made changes in namespace declarations to prevent xmllint's canonicalizer from treating them as relative namespace URIs. - Changed xmlns:k="java:com.isogen.saxoni18n.Saxoni18nService" to xmlns:k="http://www.isogen.com/functions/com.isogen.saxoni18n.Saxoni18nService"; Saxon accepts either form (see http://www.saxonica.com/documentation/extensibility/functions.html); to Saxon, "the part of the URI before the final '/' is immaterial". - Changed, e.g. xmlns:xverb="com.nwalsh.xalan.Verbatim" to xmlns:xverb="xalan://com.nwalsh.xalan.Verbatim"; Xalan accepts either form (see http://xml.apache.org/xalan-j/extensions.html#java-namespace-declare); just as Saxon does, it will "simply use the string to the right of the rightmost forward slash as the Java class name". - Changed xmlns:xalanredirect="org.apache.xalan.xslt.extensions.Redirect" to xmlns:redirect="http://xml.apache.org/xalan/redirect", and adjusted associated code to make the current Xalan redirect spec. (see http://xml.apache.org/xalan-j/apidocs/org/apache/xalan/lib/Redirect.html) * Added the html.append and chunk.append parameters. By default, the value of both is empty; but the internal DocBook XSL stylesheets build sets their value to " ", in order to ensure that all files in the docbook-xsl-doc package end in a newline character. (Because diff and some other tools may emit error messages and/or not behave as expected when processing files that are not newline-terminated.) Highlighting The following changes have been made to the highlighting code since the 1.71.1 release. * Added license information Manpages The following changes have been made to the manpages code since the 1.71.1 release. * Added initial support in manpages output for footnote, annotation, and alt instances. Basically, they all now get handled the same way ulink instances are. They are treated as a class as "note sources": A numbered marker is generated at the place in the main text flow where they occur, then their contents are displayed in an endnotes section at the end of the man page (currently titled REFERENCES, for English output, but will be changed to NOTES). This support is not yet complete. It works for most "normal" cases, but probably mishandles a good number of cases. More testing will be needed to expose the problems. It may well also introduce some bugs and regressions in other areas, including basic paragraph handling, handling of "mixed block" content, handling of other indented content, and handling of authorblurb and personblurb in the AUTHORS section. Params The following changes have been made to the params code since the 1.71.1 release. * Added support for profiling based on xml:lang and status attributes. * Added the html.append and chunk.append parameters. By default, the value of both is empty; but the internal DocBook XSL stylesheets build sets their value to " ", in order to ensure that all files in the docbook-xsl-doc package end in a newline character. (Because diff and some other tools may emit error messages and/or not behave as expected when processing files that are not newline-terminated.) Profiling The following changes have been made to the profiling code since the 1.71.1 release. * Added support for profiling based on xml:lang and status attributes. Release: 1.71.0 This is mainly a bug fix release, but it also includes two significant feature changes: Highlighting support added The stylesheets now include support for source-code highlighting in output of programlisting instances (controlled through the highlight.source parameter). The Java-based implementation requires Saxon and makes use of Michal Molhanecs XSLTHL. More details are available at Jirka Koseks website: http://xmlguru.cz/2006/07/docbook-syntax-highlighting The support is currently limited to highlighting of XML, Java, PHP, Delphi, Modula-2 sources, and INI files. Changes to autoindexing The templates that handle alternative indexing methods were reworked to avoid errors produced by certain processors not being able to tolerate the presence of unused functions. With this release, none of the code for the 'kimber' or 'kosek' methods is included in the default stylesheets. In order to use one of those methods, your customization layer must import one of the optional stylesheet modules: * html/autoidx-kosek.xsl * html/autoidx-kimber.xsl * fo/autoidx-kosek.xsl * fo/autoidx-kimber.xsl See the index.method parameter reference page for more information. Two other changes to note: * The default indexing method now can handle accented characters in latin-based alphabets, not just English. This means accented latin letters will group and sort with their unaccented counterpart. * The default value for the index.method parameter was changed from 'english' to 'basic' because now the default method can handle latin-based alphabets, not just English. The following is a list of changes that have been made since the 1.70.1 release. Common The following changes have been made to the common code since the 1.70.1 release. * Added reference.autolabel parameter for controlling labels on reference output. * Support rows that are *completely* overlapped by the preceding row * New modules for supporting indexing extensions. * Support startinglinenumber on orderedlist Extensions The following changes have been made to the extensions code since the 1.70.1 release. * Completely reworked extensions build system; now uses NetBeans and ant FO The following changes have been made to the fo code since the 1.70.1 release. * xsl:sort lang attribute now uses two-char substring of lang attribute. * Support titlecase "Java", "Perl", and "IDL" as values for the language attribute on classsynopsis, etc. (instead of just lowercase "java", "perl", and "idl"). Also support "c++" and "C++" (instead of just "cpp"). Affects HTML, FO, and manpages output. Closes bug 1552332. Thanks to "Brian A. Vanderburg II". * Added support for the reference.autolabel param in (X)HTML and FO output. * Support rows that are *completely* overlapped by the preceding row * Rearranged templates for the 3 indexing methods and changed method named 'english' to 'basic'. * New modules for supporting indexing extensions. * Turn off blank-body for fop1.extensions too since fop 0.92 does not support it either. * Add Xalan variant to test for exslt:node-set function. Xalan can use function named node-set(), but doesn't recognize it using function-available(). * Added support to FO stylesheets for handling instances of Org where it occurs outside of *info content. In HTML stylesheets, moved handling of Org out of info.xsl and into inline.xsl. In both FO and HTML stylesheets, added support for correctly processing Affiliation and Jobtitle. * Don't output punctuation between Refname and Refpurpose if Refpurpose is empty. Also corrected handling of Refsect2/title instances, and removed some debugging stuff that was generated in manpages output to mark the ends of sections. * Added new email.delimiters.enabled param. If non-zero (the default), delimiters are generated around e-mail addresses (output of the email element). If zero, the delimiters are suppressed. * Initial support of syntax highlighting of programlistings. * Chapter after preface should restart numbering of pages. HTML The following changes have been made to the html code since the 1.70.1 release. * xsl:sort lang attribute now uses two-char substring of lang attribute. * Support titlecase "Java", "Perl", and "IDL" as values for the language attribute on classsynopsis, etc. (instead of just lowercase "java", "perl", and "idl"). Also support "c++" and "C++" (instead of just "cpp"). Affects HTML, FO, and manpages output. Closes bug 1552332. Thanks to "Brian A. Vanderburg II". * Added support for the reference.autolabel param in (X)HTML and FO output. * Support rows that are *completely* overlapped by the preceding row * Rearranged templates for the 3 indexing methods and changed method named 'english' to 'basic'. * New modules for supporting indexing extensions. * Added several new HTML parameters for controlling appearance of content on HTML title pages: contrib.inline.enabled: If non-zero (the default), output of the contrib element is displayed as inline content rather than as block content. othercredit.like.author.enabled: If non-zero, output of the othercredit element on titlepages is displayed in the same style as author and editor output. If zero (the default), othercredit output is displayed using a style different than that of author and editor. blurb.on.titlepage.enabled: If non-zero, output from authorblurb and personblurb elements is displayed on title pages. If zero (the default), output from those elements is suppressed on title pages (unless you are using a titlepage customization that causes them to be included). editedby.enabled If non-zero (the default), a localized Edited by heading is displayed above editor names in output of the editor element. * Add Xalan variant to test for exslt:node-set function. Xalan can use function named node-set(), but doesn't recognize it using function-available(). * Added support to FO stylesheets for handling instances of Org where it occurs outside of *info content. In HTML stylesheets, moved handling of Org out of info.xsl and into inline.xsl. In both FO and HTML stylesheets, added support for correctly processing Affiliation and Jobtitle. * Don't output punctuation between Refname and Refpurpose if Refpurpose is empty. Also corrected handling of Refsect2/title instances, and removed some debugging stuff that was generated in manpages output to mark the ends of sections. * Added new email.delimiters.enabled param. If non-zero (the default), delimiters are generated around e-mail addresses (output of the email element). If zero, the delimiters are suppressed. * Added qanda.nested.in.toc param. Default value is zero. If non-zero, instances of "nested" Qandaentry (ones that are children of Answer elements) are displayed in the TOC. Closes patch 1509018 (from Daniel Leidert). Currently on affects HTML output (no patch for FO output provided). * Improved handling of relative locations generated files * Initial support of syntax highlighting of programlistings. * Support org * Support person * Support $keep.relative.image.uris also when chunking Highlighting The following changes have been made to the highlighting code since the 1.70.1 release. * Initial support of syntax highlighting of programlistings. Manpages The following changes have been made to the manpages code since the 1.70.1 release. * Suppress footnote markers and output warning that footnotes are not yet supported. * Handle instances of address/otheraddr/ulink in author et al in the same way as email instances; that is, display them on the same linke as the author, editor, etc., name. * Don't number or link-list any Ulink instance whose string value is identical to the value of its url attribute. Just display it inline. * Don't output punctuation between Refname and Refpurpose if Refpurpose is empty. Also corrected handling of Refsect2/title instances, and removed some debugging stuff that was generated in manpages output to mark the ends of sections. * Added new email.delimiters.enabled param. If non-zero (the default), delimiters are generated around e-mail addresses (output of the email element). If zero, the delimiters are suppressed. * In manpages output, if the last/nearest *info element for particular Refentry has multiple Copyright and/or Legalnotice children, process them all (not just the first ones). Closes bug 1524576. Thanks to Sam Steingold for the report and to Daniel Leidert for providing a patch. Params The following changes have been made to the params code since the 1.70.1 release. * Added reference.autolabel parameter for controlling labels on reference output. * Added namespace declarations to document elements for all param files. * Updated index.method doc to describe revised setup for importing index extensions. * Added several new HTML parameters for controlling appearance of content on HTML title pages: contrib.inline.enabled: If non-zero (the default), output of the contrib element is displayed as inline content rather than as block content. othercredit.like.author.enabled: If non-zero, output of the othercredit element on titlepages is displayed in the same style as author and editor output. If zero (the default), othercredit output is displayed using a style different than that of author and editor. blurb.on.titlepage.enabled: If non-zero, output from authorblurb and personblurb elements is displayed on title pages. If zero (the default), output from those elements is suppressed on title pages (unless you are using a titlepage customization that causes them to be included). editedby.enabled If non-zero (the default), a localized Edited by heading is displayed above editor names in output of the editor element. * Added new email.delimiters.enabled param. If non-zero (the default), delimiters are generated around e-mail addresses (output of the email element). If zero, the delimiters are suppressed. * Added qanda.nested.in.toc param. Default value is zero. If non-zero, instances of "nested" Qandaentry (ones that are children of Answer elements) are displayed in the TOC. Closes patch 1509018 (from Daniel Leidert). Currently on affects HTML output (no patch for FO output provided). * Initial support of syntax highlighting of programlistings. Tools The following changes have been made to the tools code since the 1.70.1 release. * Racheted down font sizes of headings in example makefile FO output. * Added param and attribute set to example makefile, for getting wrapping in verbatims in FO output. * Renamed Makefile.paramDoc to Makefile.docParam. * Added Makefile.paramDoc file, for creating versions of param.xsl files with doc embedded. * Added variable to example makefile for controlling whether HTML or XHTML is generated. Release: 1.70.1 This is a stable release of the 1.70 stylesheets. It includes only a few small changes from 1.70.0. The following is a list of changes that have been made since the 1.70.0 release. FO The following changes have been made to the fo code since the 1.70.0 release. * Added three new attribute sets (revhistory.title.properties, revhistory.table.properties and revhistory.table.cell.properties) for controlling appearance of revhistory in FO output. Modified: fo/block.xsl,1.34; fo/param.ent,1.101; fo/param.xweb,1.114; fo/titlepage.xsl,1.41; params/revhistory.table.cell.properties.xml,1.1; params/revhistory.table.properties.xml,1.1; params/revhistory.title.properties.xml,1.1 - Jirka Kosek * Support DBv5 revisions with full author name (not only authorinitials) Modified: fo/block.xsl,1.33; fo/titlepage.xsl,1.40 - Jirka Kosek HTML The following changes have been made to the html code since the 1.70.0 release. * Support DBv5 revisions with full author name (not only authorinitials) Modified: html/block.xsl,1.23; html/titlepage.xsl,1.34 - Jirka Kosek HTMLHelp The following changes have been made to the htmlhelp code since the 1.70.0 release. * htmlhelp.generate.index is now param, not variable. This means that you can override its setting from outside. This is useful when you generate indexterms on the fly (see http://www.xml.com/pub/a/2004/07/14/dbndx.html?page=3). Modified: htmlhelp/htmlhelp-common.xsl,1.38 - Jirka Kosek * Support chunk.tocs.and.lots in HTML Help Modified: htmlhelp/htmlhelp-common.xsl,1.37 - Jirka Kosek Params The following changes have been made to the params code since the 1.70.0 release. * Added three new attribute sets (revhistory.title.properties, revhistory.table.properties and revhistory.table.cell.properties) for controlling appearance of revhistory in FO output. Modified: fo/block.xsl,1.34; fo/param.ent,1.101; fo/param.xweb,1.114; fo/titlepage.xsl,1.41; params/revhistory.table.cell.properties.xml,1.1; params/revhistory.table.properties.xml,1.1; params/revhistory.title.properties.xml,1.1 - Jirka Kosek Release: 1.70.0 As with all DocBook Project dot-zero releases, this is an experimental release. It will be followed shortly by a stable release. This release adds a number of new features, including: * support for selecting alternative index-collation methods (in particular, support for using a collation library developed by Eliot Kimber) * improved handling of DocBook 5 document instances (through a namespace-stripping mechanism) * full support for CALS and HTML tables in manpages output * a mechanism for preserving relative URIs in documents that make use of XInclude * support for the "new" .90 version of FOP * enhanced capabilities for controlling formatting of lists in HTML and FO output * autogeneration of AUTHOR and COPYRIGHT sections in manpages output * support for generating crop marks in FO/PDF output * support for qandaset as a root element in FO output * support for floatstyle and orient on all table types * support for floatstyle in figure, and example * pgwide.properties attribute-set supports extending figure, example and table into the left indent area instead of spanning multiple columns. The following is a detailed list of enhancements and API changes that have been made since the 1.69.1 release. Common The following changes have been made to the common code since the 1.69.1 release. * Add the xsl:key for the kimber indexing method. Modified: common/autoidx-ng.xsl,1.2 - Robert Stayton * Add support for qandaset. Modified: common/labels.xsl,1.37; common/subtitles.xsl,1.7; common/titles.xsl,1.35 - Robert Stayton * Support dbhtml/dbfo start PI for orderedlist numbering in both HTML and FO Modified: common/common.xsl,1.61; html/lists.xsl,1.50 - Norman Walsh * Added CVS header. Modified: common/stripns.xsl,1.12 - Robert Stayton * Changed content model of text element to ANY rather than #PCDATA because they could contain markup. Modified: common/targetdatabase.dtd,1.7 - Robert Stayton * Added refentry.meta.get.quietly param. If zero (the default), notes and warnings about "missing" markup are generated during gathering of refentry metadata. If non-zero, the metadata is gathered "quietly" -- that is, the notes and warnings are suppressed. NOTE: If you are processing a large amount of refentry content, you may be able to speed up processing significantly by setting a non-zero value for refentry.meta.get.quietly. Modified: common/refentry.xsl,1.17; manpages/param.ent,1.15; manpages/param.xweb,1.17; params/refentry.meta.get.quietly.xml,1.1 - Michael(tm) Smith * After namespace stripping, the source document is the temporary tree created by the stripping process and it has the wrong base URI for relative references. Earlier versions of this code used to try to fix that by patching the elements with relative @fileref attributes. That was inadequate because it calculated an absolute base URI without considering that there might be xml:base attributes already in effect. It seems obvious now that the right thing to do is simply to put the xml:base on the root of the document. And that seems to work. Modified: common/stripns.xsl,1.7 - Norman Walsh * Added support for "software" and "sectdesc" class values on refmiscinfo; "software" is treated identically to "source", and "setdesc" is treated identically to "manual". Modified: common/refentry.xsl,1.10; params/man.th.extra2.max.length.xml,1.3; params/refentry.source.name.profile.xml,1.4 - Michael(tm) Smith * Added support for DocBook 5 namespace-stripping in manpages stylesheet. Closes request #1210692. Modified: common/common.xsl,1.56; manpages/docbook.xsl,1.57 - Michael(tm) Smith * Added to make stripns.xsl usable as a standalone stylesheet for stripping out DocBook 5/NG to DocBook 4. Note that DocBook XSLT drivers that include this stylesheet all override the match="/" template. Modified: common/stripns.xsl,1.4 - Michael(tm) Smith * Number figures, examples, and tables from book if there is no prefix (i.e. if chapter.autolabel is set to 0). This avoids having the list of figures where the figures mysteriously restart their numeration periodically when chapter.autolabel is set to 0. Modified: common/labels.xsl,1.36 - David Cramer * Add task template in title.markup mode. Modified: common/titles.xsl,1.34 - Robert Stayton * Add children (with ids) of formal objects to target data. Modified: common/targets.xsl,1.10 - Robert Stayton * Added support for case when personname doesn't contain specific name markup (as allowed in DocBook 5.0) Modified: common/common.xsl,1.54 - Jirka Kosek Extensions The following changes have been made to the extensions code since the 1.69.1 release. * Support Xalan 2.7 Modified: extensions/xalan27/.cvsignore,1.1; extensions/xalan27/build.xml,1.1; extensions/xalan27/nbproject/.cvsignore,1.1; extensions/xalan27/nbproject/build-impl.xml,1.1; extensions/xalan27/nbproject/genfiles.properties,1.1; extensions/xalan27/nbproject/project.properties,1.1; extensions/xalan27/nbproject/project.xml,1.1; extensions/xalan27/src/com/nwalsh/xalan/CVS.java,1.1; extensions/xalan27/src/com/nwalsh/xalan/Callout.java,1.1; extensions/xalan27/src/com/nwalsh/xalan/FormatCallout.java,1.1; extensions/xalan27/src/com/nwalsh/xalan/FormatDingbatCallout.java,1.1; extensions/xalan27/src/com/nwalsh/xalan/FormatGraphicCallout.java,1.1; extensions/xalan27/src/com/nwalsh/xalan/FormatTextCallout.java,1.1; extensions/xalan27/src/com/nwalsh/xalan/FormatUnicodeCallout.java,1.1; extensions/xalan27/src/com/nwalsh/xalan/Func.java,1.1; extensions/xalan27/src/com/nwalsh/xalan/ImageIntrinsics.java,1.1; extensions/xalan27/src/com/nwalsh/xalan/Params.java,1.1; extensions/xalan27/src/com/nwalsh/xalan/Table.java,1.1; extensions/xalan27/src/com/nwalsh/xalan/Text.java,1.1; extensions/xalan27/src/com/nwalsh/xalan/Verbatim.java,1.1 - Norman Walsh * Handle the case where the imageFn is actually a URI. This still needs work. Modified: extensions/saxon643/com/nwalsh/saxon/ImageIntrinsics.java,1.4 - Norman Walsh FO The following changes have been made to the fo code since the 1.69.1 release. * Adapted to the new indexing code. Now works just like a wrapper that calls kosek indexing method, originally implemented here. Modified: fo/autoidx-ng.xsl,1.5 - Jirka Kosek * Added parameters for header/footer table minimum height. Modified: fo/pagesetup.xsl,1.60; fo/param.ent,1.100; fo/param.xweb,1.113 - Robert Stayton * Add the index.method parameter. Modified: fo/param.ent,1.99; fo/param.xweb,1.112 - Robert Stayton * Integrate support for three indexing methods: - the original English-only method. - Jirka Kosek's method using EXSLT extensions. - Eliot Kimber's method using Saxon extensions. Use the 'index.method' parameter to select. Modified: fo/autoidx.xsl,1.38 - Robert Stayton * Add support for TOC for qandaset in fo output. Modified: fo/autotoc.xsl,1.30; fo/qandaset.xsl,1.20 - Robert Stayton * Added parameter ulink.hyphenate.chars. Added parameter insert.link .page.number. Modified: fo/param.ent,1.98; fo/param.xweb,1.111 - Robert Stayton * Implemented feature request #942524 to add insert.link.page.number to allow link element cross references to have a page number. Modified: fo/xref.xsl,1.67 - Robert Stayton * Add support for ulink.hyphenate.chars so more characters can be break points in urls. Modified: fo/xref.xsl,1.66 - Robert Stayton * Implemented patch #1075144 to make the url text in a ulink in FO output an active link as well. Modified: fo/xref.xsl,1.65 - Robert Stayton * table footnotes now have their own table.footnote.properties attribute set. Modified: fo/footnote.xsl,1.23 - Robert Stayton * Add qandaset to root.elements. Modified: fo/docbook.xsl,1.41 - Robert Stayton * Added mode="page.sequence" to make it easier to put content into a page sequence. First used for qandaset. Modified: fo/component.xsl,1.37 - Robert Stayton * Implemented feature request #1434408 to support formatting of biblioentry. Modified: fo/biblio.xsl,1.35 - Robert Stayton * Added biblioentry.properties. Modified: fo/param.ent,1.97; fo/param.xweb,1.110 - Robert Stayton * Support PTC/Arbortext bookmarks Modified: fo/docbook.xsl,1.40; fo/ptc.xsl,1.1 - Norman Walsh * Added table.footnote.properties to permit table footnotes to format differently from regular footnotes. Modified: fo/param.ent,1.96; fo/param.xweb,1.109 - Robert Stayton * Refactored table templates to unify their processing and support all options in all types. Now table and informaltable, in both Cals and Html markup, use the same templates where possible, and all support pgwide, rotation, and floats. There is also a placeholder table.container template to support wrapping a table in a layout table, so the XEP table title "continued" extension can be more easily implemented. Modified: fo/formal.xsl,1.52; fo/htmltbl.xsl,1.9; fo/table.xsl,1.48 - Robert Stayton * Added new attribute set toc.line.properties for controlling appearance of lines in ToC/LoT Modified: fo/autotoc.xsl,1.29; fo/param.ent,1.95; fo/param.xweb,1.108 - Jirka Kosek * Added support for float to example and equation. Added support for pgwide to figure, example, and equation (the latter two via a dbfo pgwide="1" processing instruction). Modified: fo/formal.xsl,1.51 - Robert Stayton * Add pgwide.properties attribute-set. Modified: fo/param.ent,1.94; fo/param.xweb,1.107 - Robert Stayton * Added refclass.suppress param. If the value of refclass.suppress is non-zero, then display refclass contents is suppressed in output. Affects HTML and FO output only. Modified: fo/param.ent,1.93; fo/param.xweb,1.106; html/param.ent,1.90; html/param.xweb,1.99; params/refclass.suppress.xml,1.1 - Michael(tm) Smith * Improved support for task subelements Modified: fo/task.xsl,1.3; html/task.xsl,1.3 - Jirka Kosek * Adjusted spacing around K&R-formatted Funcdef and Paramdef output such that it can more easily be discerned where one ends and the other begins. Closes #1213264. Modified: fo/synop.xsl,1.18 - Michael(tm) Smith * Made handling of paramdef/parameter in FO output consistent with that in HTML and manpages output. Closes #1213259. Modified: fo/synop.xsl,1.17 - Michael(tm) Smith * Made handling of Refnamediv consistent with formatting in HTML and manpages output; specifically, changed so that Refname (comma-separated list of multiple instances found) is used (instead of Refentrytitle as previously), then em-dash, then the Refpurpose. Closes #1212562. Modified: fo/refentry.xsl,1.30 - Michael(tm) Smith * Added output of Releaseinfo to recto titlepage ("copyright" page) for Book in FO output. This makes it consistent with HTML output. Closes #1327034. Thanks to Paul DuBois for reporting. Modified: fo/titlepage.templates.xml,1.28 - Michael(tm) Smith * Added condition for setting block-progression-dimension.minimum on table-row, instead of height, when fop1.extensions is non-zero. For an explanation of the reason for the change, see: http://wiki.apache.org/xmlgraphics-fop/Troubleshooting/CommonLogMessages Modified: fo/pagesetup.xsl,1.59 - Michael(tm) Smith * Added new refclass.suppress param for suppressing display of Refclass in HTML and FO output. Did not add it to manpages because manpages stylesheet is currently just silently ignoring Refclass anyway. Closes request #1461065. Thanks to Davor Ocelic (docelic) for reporting. Modified: fo/refentry.xsl,1.29; html/refentry.xsl,1.23 - Michael(tm) Smith * Add support for keep-together PI to informal objects. Modified: fo/formal.xsl,1.50 - Robert Stayton * Add support for fop1.extensions. Modified: fo/formal.xsl,1.49; fo/graphics.xsl,1.44; fo/table.xsl,1.47 - Robert Stayton * Add support for fop1 bookmarks. Modified: fo/docbook.xsl,1.39 - Robert Stayton * Add fop1.extentions parameter to add support for fop development version. Modified: fo/param.ent,1.92; fo/param.xweb,1.105 - Robert Stayton * Start supporting fop development version, which will become fop version 1. Modified: fo/fop1.xsl,1.1 - Robert Stayton * Add template for task in mode="xref-to". Modified: fo/xref.xsl,1.63; html/xref.xsl,1.57 - Robert Stayton * table footnotes now also get footnote.properties attribute-set. Modified: fo/footnote.xsl,1.22 - Robert Stayton * Added index.separator named template to compute the separator punctuation based on locale. Modified: fo/autoidx.xsl,1.36 - Robert Stayton * Added support for link, olink, and xref within OO Classsynopsis and children. (Because DocBook NG/5 allows it). Modified: fo/synop.xsl,1.15; html/synop.xsl,1.19 - Michael(tm) Smith * Support date as an inline Modified: fo/inline.xsl,1.43; html/inline.xsl,1.46 - Norman Walsh * Added new parameter keep.relative.image.uris Modified: fo/param.ent,1.91; fo/param.xweb,1.104; html/param.ent,1.87; html/param.xweb,1.96; params/keep.relative.image.uris.xml,1.1 - Norman Walsh * Map Unicode space characters U+2000-U+200A to fo:leaders. Modified: fo/docbook.xsl,1.38; fo/passivetex.xsl,1.4; fo/spaces.xsl,1.1 - Jirka Kosek * Output a real em dash for em-dash dingbat (instead of two hypens). Modified: fo/fo.xsl,1.7 - Michael(tm) Smith * Support default label width parameters for itemized and ordered lists Modified: fo/lists.xsl,1.64; fo/param.ent,1.90; fo/param.xweb,1.103; params/itemizedlist.label.width.xml,1.1; params/orderedlist.label.width.xml,1.1 - Norman Walsh * Generate localized title for Refsynopsisdiv if no appropriate Title descendant found in source. Closes #1212398. This change makes behavior for the Synopsis title consistent with the behavior of HTML and manpages output. Also, added xsl:use-attribute-sets="normal.para.spacing" to block generated for Cmdsynopsis output. Previously, that block had no spacing at all specified, which resulted it being crammed up to closely to the Synopsis head. Modified: fo/refentry.xsl,1.28; fo/synop.xsl,1.13 - Michael(tm) Smith * Added parameters to support localization of index item punctuation. Modified: fo/autoidx.xsl,1.35 - Robert Stayton * Added index.number.separator, index.range.separator, and index.term.separator parameters to support localization of punctuation in index entries. Modified: fo/param.ent,1.89; fo/param.xweb,1.102 - Robert Stayton * Added "Cross References" section in HTML doc (for consistency with the FO doc). Also, moved the existing FO "Cross References" section to follow the "Linking" section. Modified: fo/param.xweb,1.101; html/param.xweb,1.95 - Michael(tm) Smith * Added ID attribues to all Reference elements (e.g., id="tables" for the doc for section on Table params). So pages for all subsections of ref docs now have stable filenames instead of arbitrary generated filenames. Modified: fo/param.xweb,1.100; html/param.xweb,1.94 - Michael(tm) Smith * Added two new parameters for handling of multi-term varlistentry elements: variablelist.term.break.after: When the variablelist.term.break.after is non-zero, it will generate a line break after each term multi-term varlistentry. variablelist.term.separator: When a varlistentry contains multiple term elements, the string specified in the value of the variablelist.term.separator parameter is placed after each term except the last. The default is ", " (a comma followed by a space). To suppress rendering of the separator, set the value of variablelist.term.separator to the empty string (""). These parameters are primarily intended to be useful if you have multi-term varlistentries that have long terms. Closes #1306676. Thanks to Sam Steingold for providing an example "lots of long terms" doc that demonstrated the value of having these options. Also, added normalize-space() call to processing of each term. This change affects all output formats (HTML, PDF, manpages). The default behavior should pretty much remain the same as before, but it is possible (as always) that the change may introduce some new bugginess. Modified: fo/lists.xsl,1.62; fo/param.ent,1.88; fo/param.xweb,1.99; html/lists.xsl,1.48; html/param.ent,1.86; html/param.xweb,1.93; manpages/lists.xsl,1.22; manpages/param.ent,1.14; manpages/param.xweb,1.16; params/variablelist.term.break.after.xml,1.1; params/variablelist.term.separator.xml,1.1 - Michael(tm) Smith * Add sidebar titlepage placeholder attset for styles. Modified: fo/titlepage.xsl,1.37 - Robert Stayton * Add titlepage for sidebar. Modified: fo/titlepage.templates.xml,1.27 - Robert Stayton * Implemented RFE #1292615. Added bunch of new parameters (attribute sets) that affect list presentation: list.block.properties, itemizedlist.properties, orderedlist .properties, itemizedlist.label.properties and orderedlist.label .properties. Default behaviour of stylesheets has not been changed but further customizations will be much more easier. Modified: fo/lists.xsl,1.61; fo/param.ent,1.87; fo/param.xweb,1.98; params/itemizedlist.label.properties.xml,1.1; params/itemizedlist.properties.xml,1.1; params/list.block.properties.xml,1.1; params/orderedlist.label.properties.xml,1.1; params/orderedlist.properties.xml,1.1 - Jirka Kosek * Implemented RFE #1242092. You can enable crop marks in your document by setting crop.marks=1 and xep.extensions=1. Appearance of crop marks can be controlled by parameters crop.mark.bleed (6pt), crop.mark.offset (24pt) and crop.mark.width (0.5pt). Also there is new named template called user-xep-pis. You can overwrite it in order to produce some PIs that can control XEP as described in http://www.renderx.com/reference.html#Output_Formats Modified: fo/docbook.xsl,1.36; fo/param.ent,1.86; fo/param.xweb,1.97; fo/xep.xsl,1.23; params/crop.mark.bleed.xml,1.1; params/crop.mark.offset.xml,1.1; params/crop.mark.width.xml,1.1; params/crop.marks.xml,1.1 - Jirka Kosek HTML The following changes have been made to the html code since the 1.69.1 release. * implemented index.method parameter and three methods. Modified: html/autoidx.xsl,1.28 - Robert Stayton * added index.method parameter to support 3 indexing methods. Modified: html/param.ent,1.94; html/param.xweb,1.103 - Robert Stayton * Implemented feature request #1072510 as a processing instruction to permit including external HTML content into HTML output. Modified: html/pi.xsl,1.9 - Robert Stayton * Added new parameter chunk.tocs.and.lots.has.title which controls presence of title in a separate chunk with ToC/LoT. Disabling title can be very useful if you are generating frameset output (well, yes those frames, but some customers really want them ;-). Modified: html/chunk-code.xsl,1.15; html/param.ent,1.93; html/param.xweb,1.102; params/chunk.tocs.and.lots.has.title.xml,1.1 - Jirka Kosek * Support dbhtml/dbfo start PI for orderedlist numbering in both HTML and FO Modified: common/common.xsl,1.61; html/lists.xsl,1.50 - Norman Walsh * Allow ToC without title also for set and book. Modified: html/autotoc.xsl,1.37; html/division.xsl,1.12 - Jirka Kosek * Implemented floats uniformly for figure, example, equation and informalfigure, informalexample, and informalequation. Modified: html/formal.xsl,1.22 - Robert Stayton * Added the autotoc.label.in.hyperlink param. If the value of autotoc.label.in.hyperlink is non-zero, labels are included in hyperlinked titles in the TOC. If it is instead zero, labels are still displayed prior to the hyperlinked titles, but are not hyperlinked along with the titles. Closes patch #1065868. Thanks to anatoly techtonik for the patch. Modified: html/autotoc.xsl,1.36; html/param.ent,1.92; html/param.xweb,1.101; params/autotoc.label.in.hyperlink.xml,1.1 - Michael(tm) Smith * Added two new params: html.head.legalnotice.link.types and html.head. legalnotice.link.multiple. If the value of the generate.legalnotice.link is non-zero, then the stylesheet generates (in the head section of the HTML source) either a single HTML link element or, if the value of the html.head.legalnotice. link.multiple is non-zero, one link element for each link type specified. Each link has the following attributes: - a rel attribute whose value is derived from the value of html.head. legalnotice.link.types - an href attribute whose value is set to the URL of the file containing the legalnotice - a title attribute whose value is set to the title of the corresponding legalnotice (or a title programatically determined by the stylesheet) For example: Closes #1476450. Thanks to Sam Steingold. Modified: html/chunk-common.xsl,1.45; html/param.ent,1.91; html/param.xweb,1.100; params/generate.legalnotice.link.xml,1.4; params/html.head.legalnotice.link.multiple.xml,1.1; params/html.head.legalnotice.link.types.xml,1.1 - Michael(tm) Smith * Added refclass.suppress param. If the value of refclass.suppress is non-zero, then display refclass contents is suppressed in output. Affects HTML and FO output only. Modified: fo/param.ent,1.93; fo/param.xweb,1.106; html/param.ent,1.90; html/param.xweb,1.99; params/refclass.suppress.xml,1.1 - Michael(tm) Smith * Improved support for task subelements Modified: fo/task.xsl,1.3; html/task.xsl,1.3 - Jirka Kosek * Added new refclass.suppress param for suppressing display of Refclass in HTML and FO output. Did not add it to manpages because manpages stylesheet is currently just silently ignoring Refclass anyway. Closes request #1461065. Thanks to Davor Ocelic (docelic) for reporting. Modified: fo/refentry.xsl,1.29; html/refentry.xsl,1.23 - Michael(tm) Smith * Process alt text with normalize-space(). Replace tab indents with spaces. Modified: html/graphics.xsl,1.57 - Robert Stayton * Content of citation element is automatically linked to the bibliographic entry with the corresponding abbrev. Modified: html/biblio.xsl,1.26; html/inline.xsl,1.47; html/xref.xsl,1.58 - Jirka Kosek * Add template for task in mode="xref-to". Modified: fo/xref.xsl,1.63; html/xref.xsl,1.57 - Robert Stayton * Suppress ID warnings if the .warnings parameter is 0 Modified: html/html.xsl,1.17 - Norman Walsh * Add support for floatstyle to figure. Modified: html/formal.xsl,1.21 - Robert Stayton * Handling of xref to area/areaset need support in extensions code also. I currently have no time to touch extensions code, so code is here to be enabled when extension is fixed also. Modified: html/xref.xsl,1.56 - Jirka Kosek * Added 3 parameters for overriding gentext for index punctuation. Modified: html/param.ent,1.89; html/param.xweb,1.98 - Robert Stayton * Added parameters to support localization of index item punctuation. Added index.separator named template to compute the separator punctuation based on locale. Modified: html/autoidx.xsl,1.27 - Robert Stayton * Added a

wrapper around output of contents of all formal objects. Also, added an optional
linebreak after all formal objects. WARNING: Because this change places an additional DIV between the DIV wrapper for the equation and the equation contents, it may break some existing CSS stylesheets that have been created with the assumption that there would never be an intervening DIV there. The following is an example of what Equation output looks like as a result of the changes described above.

(1.3)

1+1=3

Rationale: These changes allow CSS control of the placement of the formal-object title relative to the formal-object contents. For example, using the CSS "float" property enables the title and contents to be rendered on the same line. Example stylesheet: .equation { margin-top: 20px; margin-bottom: 20px; } .equation-contents { float: left; } .equation .title { margin-top: 0; float: right; margin-right: 200px; } .equation .title b { font-weight: normal; } .equation-break { clear: both; } Note that the purpose of the ".equation-break" class is to provide a way to clear off the floats. If you want to instead have the equation title rendered to the left of the equation contents, you can do something like this: .equation { margin-top: 20px; width: 300px; margin-bottom: 20px; } .equation-contents { float: right; } .equation .title { margin-top: 0; float: left; margin-right: 200px; } .equation .title b { font-weight: normal; } .equation-break { clear: both; } Modified: html/formal.xsl,1.20 - Michael(tm) Smith * Added a chunker.output.quiet top-level parameter so that the chunker can be made quiet by default Modified: html/chunker.xsl,1.26 - Norman Walsh * Added support for link, olink, and xref within OO Classsynopsis and children. (Because DocBook NG/5 allows it). Modified: fo/synop.xsl,1.15; html/synop.xsl,1.19 - Michael(tm) Smith * New parameter: id.warnings. If non-zero, warnings are generated for titled objects that don't have titles. True by default; I wonder if this will be too aggressive? Modified: html/biblio.xsl,1.25; html/component.xsl,1.27; html/division.xsl,1.11; html/formal.xsl,1.19; html/glossary.xsl,1.20; html/html.xsl,1.13; html/index.xsl,1.16; html/param.ent,1.88; html/param.xweb,1.97; html/refentry.xsl,1.22; html/sections.xsl,1.30; params/id.warnings.xml,1.1 - Norman Walsh * If the keep.relative.image.uris parameter is true, don't use the absolute URI (as calculated from xml:base) in the img src attribute, us the value the author specified. Note that we still have to calculate the absolute filename for use in the image intrinsics extension. Modified: html/graphics.xsl,1.56 - Norman Walsh * Support date as an inline Modified: fo/inline.xsl,1.43; html/inline.xsl,1.46 - Norman Walsh * Added new parameter keep.relative.image.uris Modified: fo/param.ent,1.91; fo/param.xweb,1.104; html/param.ent,1.87; html/param.xweb,1.96; params/keep.relative.image.uris.xml,1.1 - Norman Walsh * Added two new parameters for handling of multi-term varlistentry elements: variablelist.term.break.after: When the variablelist.term.break.after is non-zero, it will generate a line break after each term multi-term varlistentry. variablelist.term.separator: When a varlistentry contains multiple term elements, the string specified in the value of the variablelist.term.separator parameter is placed after each term except the last. The default is ", " (a comma followed by a space). To suppress rendering of the separator, set the value of variablelist.term.separator to the empty string (""). These parameters are primarily intended to be useful if you have multi-term varlistentries that have long terms. Closes #1306676. Thanks to Sam Steingold for providing an example "lots of long terms" doc that demonstrated the value of having these options. Also, added normalize-space() call to processing of each term. This change affects all output formats (HTML, PDF, manpages). The default behavior should pretty much remain the same as before, but it is possible (as always) that the change may introduce some new bugginess. Modified: fo/lists.xsl,1.62; fo/param.ent,1.88; fo/param.xweb,1.99; html/lists.xsl,1.48; html/param.ent,1.86; html/param.xweb,1.93; manpages/lists.xsl,1.22; manpages/param.ent,1.14; manpages/param.xweb,1.16; params/variablelist.term.break.after.xml,1.1; params/variablelist.term.separator.xml,1.1 - Michael(tm) Smith * Added "wrapper-name" param to inline.charseq named template, enabling it to output inlines other than just "span". Acronym and Abbrev templates now use inline.charseq to output HTML "acronym" and "abbr" elements (instead of "span"). Closes #1305468. Thanks to Sam Steingold for suggesting the change. Modified: html/inline.xsl,1.45 - Michael(tm) Smith Manpages The following changes have been made to the manpages code since the 1.69.1 release. * Added the following params: - man.indent.width (string-valued) - man.indent.refsect (boolean) - man.indent.blurbs (boolean) - man.indent.lists (boolean) - man.indent.verbatims (boolean) Note that in earlier snapshots, man.indent.width was named man.indentation.default.value and the boolean params had names like man.indentation.*.adjust. Also the man.indent.blurbs param was called man.indentation.authors.adjust (or something). The behavior now is: If the value of a particular man.indent.* boolean param is non-zero, the corresponding contents (refsect*, list items, authorblurb/personblurb, vervatims) are displayed with a left margin indented by a width equal to the value of man.indent.width. Modified: params/man.indent.blurbs.xml,1.1; manpages/docbook.xsl,1.74; manpages/info.xsl,1.20; manpages/lists.xsl,1.30; manpages/other.xsl,1.20; manpages/param.ent,1.22; manpages/param.xweb,1.24; manpages/refentry.xsl,1.14; params/man.indent.lists.xml,1.1; params/man.indent.refsect.xml,1.1; params/man.indent.verbatims.xml,1.1; params/man.indent.width.xml,1.1 - Michael(tm) Smith * Added man.table.footnotes.divider param. In each table that contains footenotes, the string specified by the man. table.footnotes.divider parameter is output before the list of footnotes for the table. Modified: manpages/docbook.xsl,1.73; manpages/links.xsl,1.6; manpages/param.ent,1.21; manpages/param.xweb,1.23; params/man.table.footnotes.divider.xml,1.1 - Michael(tm) Smith * Added the man.output.in.separate.dir, man.output.base.dir, and man.output.subdirs.enabled parameters. The man.output.base.dir parameter specifies the base directory into which man-page files are output. The man.output.subdirs.enabled parameter controls whether the files are output in subdirectories within the base directory. The values of the man.output.base.dir and man.output.subdirs.enabled parameters are used only if the value of man.output.in.separate.dir parameter is non-zero. If the value of man.output.in.separate.dir is zero, man-page files are not output in a separate directory. Modified: manpages/docbook.xsl,1.72; manpages/param.ent,1.20; manpages/param.xweb,1.22; params/man.output.base.dir.xml,1.1; params/man.output.in.separate.dir.xml,1.1; params/man.output.subdirs.enabled.xml,1.1 - Michael(tm) Smith * Added man.font.table.headings and man.font.table.title params, for controlling font in table headings and titles. Modified: manpages/docbook.xsl,1.71; manpages/param.ent,1.19; manpages/param.xweb,1.21; params/man.font.table.headings.xml,1.1; params/man.font.table.title.xml,1.1 - Michael(tm) Smith * Added man.font.funcsynopsisinfo and man.font.funcprototype params, for specifying the roff font (for example, BI, B, I) for funcsynopsisinfo and funcprototype output. Modified: manpages/block.xsl,1.19; manpages/docbook.xsl,1.69; manpages/param.ent,1.18; manpages/param.xweb,1.20; manpages/synop.xsl,1.29; manpages/table.xsl,1.21; params/man.font.funcprototype.xml,1.1; params/man.font.funcsynopsisinfo.xml,1.1 - Michael(tm) Smith * Added man.segtitle.suppress param. If the value of man.segtitle.suppress is non-zero, then display of segtitle contents is suppressed in output. Modified: manpages/docbook.xsl,1.68; manpages/param.ent,1.17; manpages/param.xweb,1.19; params/man.segtitle.suppress.xml,1.1 - Michael(tm) Smith * Added man.output.manifest.enabled and man.output.manifest.filename params. If man.output.manifest.enabled is non-zero, a list of filenames for man pages generated by the stylesheet transformation is written to the file named by man.output.manifest.filename Modified: manpages/docbook.xsl,1.67; manpages/other.xsl,1.19; manpages/param.ent,1.16; manpages/param.xweb,1.18; params/man.output.manifest.enabled.xml,1.1; params/man.output.manifest.filename.xml,1.1; tools/make/Makefile.DocBook,1.4 - Michael(tm) Smith * Added refentry.meta.get.quietly param. If zero (the default), notes and warnings about "missing" markup are generated during gathering of refentry metadata. If non-zero, the metadata is gathered "quietly" -- that is, the notes and warnings are suppressed. NOTE: If you are processing a large amount of refentry content, you may be able to speed up processing significantly by setting a non-zero value for refentry.meta.get.quietly. Modified: common/refentry.xsl,1.17; manpages/param.ent,1.15; manpages/param.xweb,1.17; params/refentry.meta.get.quietly.xml,1.1 - Michael(tm) Smith * Changed names of all boolean indentation params to man.indent.* Also discarded individual man.indent.*.value params and switched to just using a common man.indent.width param (3n by default). Modified: manpages/docbook.xsl,1.66; manpages/info.xsl,1.19; manpages/lists.xsl,1.29; manpages/other.xsl,1.18; manpages/refentry.xsl,1.13 - Michael(tm) Smith * Added boolean man.output.in.separate.dir param, to control whether or not man files are output in separate directory. Modified: manpages/docbook.xsl,1.65; manpages/utility.xsl,1.14 - Michael(tm) Smith * Added options for controlling indentation of verbatim output. Controlled through the man.indentation.verbatims.adjust and man.indentation.verbatims.value params. Closes #1242997 Modified: manpages/block.xsl,1.15; manpages/docbook.xsl,1.64 - Michael(tm) Smith * Added options for controlling indentation in lists and in *blurb output in the AUTHORS section. Controlled through the man.indentation.lists.adjust, man.indentation.lists.value, man.indentation.authors.adjust, and man.indentation.authors.value parameters. Default is 3 characters (instead of the roff default of 8 characters). Closes #1449369. Also, removed the indent that was being set on informalexample outuput. I will instead add an option for indenting verbatims, which I think is what the informalexample indent was intended for originally. Modified: manpages/block.xsl,1.14; manpages/docbook.xsl,1.63; manpages/info.xsl,1.18; manpages/lists.xsl,1.28 - Michael(tm) Smith * Changed line-spacing call before synopfragment to use ".sp -1n" ("n" units specified) instead of plain ".sp -1" Modified: manpages/synop.xsl,1.28 - Michael(tm) Smith * Added support for writing man files into a specific output directory and into appropriate subdirectories within that output directory. Controlled through the man.base.dir parameter (similar to the base.dir support in the HTML stylesheet) and the man.subdirs.enabled parameter, which automatically determines the name of an appropriate subdir (for example, man/man7, man/man1, etc.) based on the section number/manvolnum of the source Refentry. Closes #1255036 and #1170317. Thanks to Denis Bradford for the original feature request, and to Costin Stroie for submitting a patch that was very helpful in implementing the support. Modified: manpages/docbook.xsl,1.62; manpages/utility.xsl,1.13 - Michael(tm) Smith * Refined XPath statements and notification messages for refentry metadata handling. Modified: common/common.xsl,1.59; common/refentry.xsl,1.14; manpages/docbook.xsl,1.61; manpages/other.xsl,1.17 - Michael(tm) Smith * Added support for copyright and legalnotice. The manpages stylesheets now output a COPYRIGHT section, after the AUTHORS section, if a copyright or legalnotice is found in the source. The section contains the copyright contents followed by the legalnotice contents. Closes #1450209. Modified: manpages/docbook.xsl,1.59; manpages/info.xsl,1.17 - Michael(tm) Smith * Drastically reworked all of the XPath expressions used in refentry metadata gathering -- completely removed $parentinfo and turned $info into a set of nodes that includes the *info contents of the Refentry plus the *info contents all all of its ancestor elements. The basic XPath expression now used throughout is (using the example of checking for a date): (($info[//date])[last()]/date)[1]. That selects the "last" *info/date date in document order -- that is, the one eitther on the Refentry itself or on the closest ancestor to the Refentry. It's likely this change may break some things; may need to pick up some pieces later. Also, changed the default value for the man.th.extra2.max.length from 40 to 30. Modified: common/common.xsl,1.58; common/refentry.xsl,1.7; params/man.th.extra2.max.length.xml,1.2; params/refentry.date.profile.xml,1.2; params/refentry.manual.profile.xml,1.2; params/refentry.source.name.profile.xml,1.2; params/refentry.version.profile.xml,1.2; manpages/docbook.xsl,1.58; manpages/other.xsl,1.15 - Michael(tm) Smith * Added support for DocBook 5 namespace-stripping in manpages stylesheet. Closes request #1210692. Modified: common/common.xsl,1.56; manpages/docbook.xsl,1.57 - Michael(tm) Smith * Fixed handling of table footnotes. With this checkin, the table support in the manpages stylesheet is now basically feature complete. So this change closes request #619532, "No support for tables" -- the oldest currently open manpages feature request, submitted by Ben Secrest (blsecres) on 2002-10-07. Congratulations to me [patting myself on the back]. Modified: manpages/block.xsl,1.11; manpages/docbook.xsl,1.55; manpages/table.xsl,1.15 - Michael(tm) Smith * Added handling for table titles. Also fixed handling of nested tables; nest tables are now "extracted" and displayed just after their parent tables. Modified: manpages/docbook.xsl,1.54; manpages/table.xsl,1.14 - Michael(tm) Smith * Added option for turning off bold formatting in Funcsynopsis. Boldface formatting in function synopsis is mandated in the man(7) man page and is used almost universally in existing man pages. Despite that, it really does look like crap to have an entire Funcsynopsis output in bold, so I added params for turning off the bold formatting and/or replacing it with a different roff special font (e.g., "RI" for alternating roman/italic instead of the default "BI" for alternating bold/italic). The new params are "man.funcprototype.font" and "man.funcsynopsisinfo.font". To be documented later. Closes #1452247. Thanks to Joe Orton for the feature request. Modified: params/man.string.subst.map.xml,1.16; manpages/block.xsl,1.10; manpages/docbook.xsl,1.51; manpages/inline.xsl,1.16; manpages/synop.xsl,1.27 - Michael(tm) Smith * Use AUTHORS instead of AUTHOR if we have multiple people to attribute. Also, fixed checking such that we generate author section even if we don't have an author (as long as there is at least one other person/entity we can put in the section). Also adjusted assembly of content for Author metainfo field such that we now not only use author, but try to find a "best match" if we can't find an author name to put there. Closes #1233592. Thanks to Sam Steingold for the request. Modified: manpages/info.xsl,1.12 - Michael(tm) Smith * Changes for request #1243027, "Impove handling of AUTHOR section." This adds support for Collab, Corpauthor, Corpcredt, Orgname, Publishername, and Publisher. Also adds support for output of Affiliation and its children, and support for using gentext strings for auto-attributing roles (Author, Editor, Publisher, Translator, etc.). Also did a lot of code cleanup and modularization of all the AUTHOR handling code. And fixed a bug that was causing Author info to not be picked up correctly for metainfo comment we embed in man-page source. Modified: manpages/info.xsl,1.11 - Michael(tm) Smith * Support bold output for "emphasis remap='B'". (because Eric Raymond's doclifter(1) tool converts groff source marked up with ".B" request or "\fB" escapes to DocBook "emphasis remap='B'".) Modified: manpages/inline.xsl,1.14 - Michael(tm) Smith * Added support for Segmentedlist. Details: Output is tabular, with no option for "list" type output. Output for Segtitle elements can be supressed by setting man.segtitle.suppress. If Segtitle content is output, it is rendered in italic type (not bold because not all terminals support bold and so italic ensures the stand out on those terminals). Extra space (.sp line) at end of table code ensures that it gets handled correctly in the case where its source is the child of a Para. Closes feature-request #1400097. Thanks to Daniel Leidert for the patch and push, and to Alastair Rankine for filing the original feature request. Modified: manpages/lists.xsl,1.23; manpages/utility.xsl,1.10 - Michael(tm) Smith * Improved handling or Author/Editor/Othercredit. Reworked content of (non-visible) comment added at top of each page (metadata stuff). Added support for generating a manifest file (useful for cleaning up after builds, etc.) Modified: manpages/docbook.xsl,1.46; manpages/info.xsl,1.9; manpages/other.xsl,1.12; manpages/utility.xsl,1.6 - Michael(tm) Smith * Added two new parameters for handling of multi-term varlistentry elements: variablelist.term.break.after: When the variablelist.term.break.after is non-zero, it will generate a line break after each term multi-term varlistentry. variablelist.term.separator: When a varlistentry contains multiple term elements, the string specified in the value of the variablelist.term.separator parameter is placed after each term except the last. The default is ", " (a comma followed by a space). To suppress rendering of the separator, set the value of variablelist.term.separator to the empty string (""). These parameters are primarily intended to be useful if you have multi-term varlistentries that have long terms. Closes #1306676. Thanks to Sam Steingold for providing an example "lots of long terms" doc that demonstrated the value of having these options. Also, added normalize-space() call to processing of each term. This change affects all output formats (HTML, PDF, manpages). The default behavior should pretty much remain the same as before, but it is possible (as always) that the change may introduce some new bugginess. Modified: fo/lists.xsl,1.62; fo/param.ent,1.88; fo/param.xweb,1.99; html/lists.xsl,1.48; html/param.ent,1.86; html/param.xweb,1.93; manpages/lists.xsl,1.22; manpages/param.ent,1.14; manpages/param.xweb,1.16; params/variablelist.term.break.after.xml,1.1; params/variablelist.term.separator.xml,1.1 - Michael(tm) Smith Params The following changes have been made to the params code since the 1.69.1 release. * New parameters to set header/footer table minimum height. Modified: params/footer.table.height.xml,1.1; params/header.table.height.xml,1.1 - Robert Stayton * Support multiple indexing methods for different languages. Modified: params/index.method.xml,1.1 - Robert Stayton * Remove qandaset and qandadiv from generate.toc for fo output because formerly it wasn't working, but now it is and the default behavior should stay the same. Modified: params/generate.toc.xml,1.8 - Robert Stayton * add support for page number references to link element too. Modified: params/insert.link.page.number.xml,1.1 - Robert Stayton * Add support for more characters to hyphen on when ulink.hyphenate is turned on. Modified: params/ulink.hyphenate.chars.xml,1.1; params/ulink.hyphenate.xml,1.3 - Robert Stayton * New attribute-set to format biblioentry and bibliomixed. Modified: params/biblioentry.properties.xml,1.1 - Robert Stayton * Added new parameter chunk.tocs.and.lots.has.title which controls presence of title in a separate chunk with ToC/LoT. Disabling title can be very useful if you are generating frameset output (well, yes those frames, but some customers really want them ;-). Modified: html/chunk-code.xsl,1.15; html/param.ent,1.93; html/param.xweb,1.102; params/chunk.tocs.and.lots.has.title.xml,1.1 - Jirka Kosek * Added new attribute set toc.line.properties for controlling appearance of lines in ToC/LoT Modified: params/toc.line.properties.xml,1.1 - Jirka Kosek * Allow table footnotes to have different properties from regular footnotes. Modified: params/table.footnote.properties.xml,1.1 - Robert Stayton * Set properties for pgwide="1" objects. Modified: params/pgwide.properties.xml,1.1 - Robert Stayton * Added the autotoc.label.in.hyperlink param. If the value of autotoc.label.in.hyperlink is non-zero, labels are included in hyperlinked titles in the TOC. If it is instead zero, labels are still displayed prior to the hyperlinked titles, but are not hyperlinked along with the titles. Closes patch #1065868. Thanks to anatoly techtonik for the patch. Modified: html/autotoc.xsl,1.36; html/param.ent,1.92; html/param.xweb,1.101; params/autotoc.label.in.hyperlink.xml,1.1 - Michael(tm) Smith * Added two new params: html.head.legalnotice.link.types and html.head. legalnotice.link.multiple. If the value of the generate.legalnotice.link is non-zero, then the stylesheet generates (in the head section of the HTML source) either a single HTML link element or, if the value of the html.head.legalnotice. link.multiple is non-zero, one link element for each link type specified. Each link has the following attributes: - a rel attribute whose value is derived from the value of html.head. legalnotice.link.types - an href attribute whose value is set to the URL of the file containing the legalnotice - a title attribute whose value is set to the title of the corresponding legalnotice (or a title programatically determined by the stylesheet) For example: Closes #1476450. Thanks to Sam Steingold. Modified: html/chunk-common.xsl,1.45; html/param.ent,1.91; html/param.xweb,1.100; params/generate.legalnotice.link.xml,1.4; params/html.head.legalnotice.link.multiple.xml,1.1; params/html.head.legalnotice.link.types.xml,1.1 - Michael(tm) Smith * Added the following params: - man.indent.width (string-valued) - man.indent.refsect (boolean) - man.indent.blurbs (boolean) - man.indent.lists (boolean) - man.indent.verbatims (boolean) Note that in earlier snapshots, man.indent.width was named man.indentation.default.value and the boolean params had names like man.indentation.*.adjust. Also the man.indent.blurbs param was called man.indentation.authors.adjust (or something). The behavior now is: If the value of a particular man.indent.* boolean param is non-zero, the corresponding contents (refsect*, list items, authorblurb/personblurb, vervatims) are displayed with a left margin indented by a width equal to the value of man.indent.width. Modified: params/man.indent.blurbs.xml,1.1; manpages/docbook.xsl,1.74; manpages/info.xsl,1.20; manpages/lists.xsl,1.30; manpages/other.xsl,1.20; manpages/param.ent,1.22; manpages/param.xweb,1.24; manpages/refentry.xsl,1.14; params/man.indent.lists.xml,1.1; params/man.indent.refsect.xml,1.1; params/man.indent.verbatims.xml,1.1; params/man.indent.width.xml,1.1 - Michael(tm) Smith * Added man.table.footnotes.divider param. In each table that contains footenotes, the string specified by the man. table.footnotes.divider parameter is output before the list of footnotes for the table. Modified: manpages/docbook.xsl,1.73; manpages/links.xsl,1.6; manpages/param.ent,1.21; manpages/param.xweb,1.23; params/man.table.footnotes.divider.xml,1.1 - Michael(tm) Smith * Added the man.output.in.separate.dir, man.output.base.dir, and man.output.subdirs.enabled parameters. The man.output.base.dir parameter specifies the base directory into which man-page files are output. The man.output.subdirs.enabled parameter controls whether the files are output in subdirectories within the base directory. The values of the man.output.base.dir and man.output.subdirs.enabled parameters are used only if the value of man.output.in.separate.dir parameter is non-zero. If the value of man.output.in.separate.dir is zero, man-page files are not output in a separate directory. Modified: manpages/docbook.xsl,1.72; manpages/param.ent,1.20; manpages/param.xweb,1.22; params/man.output.base.dir.xml,1.1; params/man.output.in.separate.dir.xml,1.1; params/man.output.subdirs.enabled.xml,1.1 - Michael(tm) Smith * Added man.font.table.headings and man.font.table.title params, for controlling font in table headings and titles. Modified: manpages/docbook.xsl,1.71; manpages/param.ent,1.19; manpages/param.xweb,1.21; params/man.font.table.headings.xml,1.1; params/man.font.table.title.xml,1.1 - Michael(tm) Smith * Added man.font.funcsynopsisinfo and man.font.funcprototype params, for specifying the roff font (for example, BI, B, I) for funcsynopsisinfo and funcprototype output. Modified: manpages/block.xsl,1.19; manpages/docbook.xsl,1.69; manpages/param.ent,1.18; manpages/param.xweb,1.20; manpages/synop.xsl,1.29; manpages/table.xsl,1.21; params/man.font.funcprototype.xml,1.1; params/man.font.funcsynopsisinfo.xml,1.1 - Michael(tm) Smith * Changed to select="0" in refclass.suppress (instead of ..>0 as a child of the list. For example: