Changes since the 1.78.1 release
Note: This document lists changes only since the 1.78.1 release. If you instead
want a record of the complete list of changes for the codebase over its entire
history, you can obtain one by running the following commands:
svn checkout svn://svn.code.sf.net/p/docbook/code/trunk/xsl
svn log --xml --verbose xsl > ChangeHistory.xml
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Table of Contents
Release Notes: 1.79.1
Gentext
Common
FO
HTML
Manpages
Epub
HTMLHelp
Eclipse
JavaHelp
Slides
Website
Webhelp
Params
Profiling
Lib
Tools
Template
Extensions
Release Notes: 1.79.1
The following is a list of changes that have been made since the 1.78.1
release.
Gentext
The following changes have been made to the gentext code since the 1.78.1
release.
• Robert Stayton: locale/hu.xml
Check in PubDate fixes from bug #1372
• Dongsheng Song: locale/zh.xml; locale/zh_cn.xml
Fix Auditlocale.pl warning.
• Robert Stayton: locale/en.xml
Add elements dialogue, drama, and poetry from DocBook Publishers.
• Robert Stayton: locale/pt.xml
updates from DocBook user.
• Robert Stayton: locale/en.xml
Fix wording.
• Robert Stayton: locale/en.xml
Fix line breaks.
• Robert Stayton: locale/en.xml
Add text message for unsupported video and audio.
• Jirka Kosek: xsl/xsl-primary-is-locale.xsl
Initial work on Ant build, common (L10N) directory handled so far
• Robert Stayton: locale/ur.xml
Add email address for contributor.
• Robert Stayton: locale/ur.xml
Check in contributed locale file from Wasif Hasan Baig,
contributed through SourceForge Patch # 187.
• kasunbg: locale/nl.xml
Committing Dutch translations of DocBook WebHelp. Patch provided by Marja van Waes.
• kasunbg: locale/ru.xml
Committing patch for Russian translations of webhelp. Patch provided by Alex Loginov and Yuri Chornoivan. Patch #1325
• kasunbg: locale/uk.xml
Committing Ukrainian translations for Webhelp. Patch by Yuri Chornoivan. Patch #1324
• tom_schr: locale/ca.xml; locale/da.xml; locale/cs.xml; locale/es.xml;
locale/fr.xml; local⋯
Added missing keycap context for ca, cs, da, es, et, eu, and fr
• tom_schr: locale/en.xml; locale/de.xml
Added option key for keycap context
• tom_schr: locale/de.xml
Added key="optional-step" as done in r9745
• Robert Stayton: locale/en.xml
Add key="optional-step".
Common
The following changes have been made to the common code since the 1.78.1
release.
• tom_schr: common.xsl
Added quotes around linkend to make spaces visible
• Jirka Kosek: build.xml
Added ant build for HTML stylesheets
• Jirka Kosek: build.xml
Initial work on Ant build, common (L10N) directory handled so far
• Robert Stayton: titles.xsl
Replace hardcoded English text for question and answer elements
in mode="title.markup" with localized templates.
• Robert Stayton: addns.xsl
Move addns.xsl module from releasetools to common in preparation
for switching to ns as the base stylesheets.
• Robert Stayton: l10n.xml; Makefile
Add new locale file ur.xml for Urdu.
• Robert Stayton: titles.xsl
Add missing template with match="toc" mode="title.markup".
• tom_schr: titles.xsl
Fixed problem when referencing empty ulinks; use @url instead
• stilor: olink.xsl
Make olink errors/warnings overridable in customizations.
• stilor: labels.xsl
Pass the object referenced as a parameter to mode="intralabel.punctuation"
template.
• stilor: olink.xsl
1. Make page citations on to paragraphs conditional on a new parameter,
$insert.xref.page.number.para, default to 'yes' (before, page citations were
added unconditionally). Remove similar special-casing for .
2. Disable page citations for @xrefstyle="template:..." (if needed, they
can be added with %p in the template - but they can't be disabled).
• Robert Stayton: olink.xsl; titles.xsl; common.xsl
Pass referrer and target params to mode="xrefstyle" to allow customizations
to be more specific.
• Robert Stayton: olink.xsl; titles.xsl; common.xsl
Add mode="xrefstyle" to replace many instances of redundant
code determining the xrefstyle with xsl:apply-templates
select="." mode="xrefstyle". Also allows stylesheet
customization to specify an xrefstyle per element type.
• Robert Stayton: gentext.xsl; labels.xsl
Add support for procedure title contained in info or blockinfo.
• Robert Stayton: common.xsl
In person.name template, change 'style' variable to a param
so the name style can be selected by passing a param.
• Robert Stayton: gentext.xsl
Fix bug in collect.xref.targets that failed when $referrer template
param not set by olink's xref-to. Fixed using submitted patch.
FO
The following changes have been made to the fo code since the 1.78.1 release.
• Robert Stayton: lists.xsl
Fix bug #1368 "link to term with id does not work"
• Robert Stayton: block.xsl
Fix bug #1367 double attribution in epigraph.
• Robert Stayton: param.xweb; param.ent
Add missing profile.outputformat param.
• Robert Stayton: publishers.xsl
Fix namespace declarations.
• Robert Stayton: titlepage.xsl
Add default attribute-sets for new Publishers elements.
• Robert Stayton: param.ent
Fix typo
• Robert Stayton: titlepage.templates.xml
Add new DocBook Publishers elements.
• Robert Stayton: docbook.xsl
Add inclusion of new publishers.xsl module.
• Robert Stayton: publishers.xsl
Stylesheet module added to support new elements in DocBook Publishers.
• Robert Stayton: param.xweb; param.ent
Add the 9 new attribute sets for DocBook Publishers.
• Robert Stayton: xref.xsl
Fix bug #1355 glossseealso generates duplicate id in certain cases.
• Robert Stayton: xref.xsl
fix bug #1360 indexterm in varlistentry/term generates an error when xref to that term.
• Robert Stayton: inline.xsl
Fix bug #13598 inline.monoseq and other inline.*seq handle links incorrectly.
• Robert Stayton: pi.xsl
Fix bug in dbfo-need for admonitions, and get dbfo-need
working properly in FOP1.1.
• Robert Stayton: pagesetup.xsl
Remove obsolete hardcoded margin-left="0pt" for the block
containing header or footer.
• Robert Stayton: graphics.xsl
Fix bug #1336 to add support for recognizing
file:/ image URLs as absolute paths.
• Robert Stayton: autotoc.xsl
Add support in TOC for article as child of set.
• Robert Stayton: xref.xsl
Fix bug #1337 Elements with olink role do not behave as olink
elements.
• Jirka Kosek: build.xml
Added ant build for FO
• stilor: inline.xsl
Only count regular elements (without @role="bold", etc) when determining
whether nested emphasis needs to be displayed in italics or in regular; otherwise,
the order of nesting in and affects the font
used.
• Robert Stayton: fop1.xsl; ptc.xsl
Apply patch #190 to include refsections in bookmarks for fop1 and
ptc.xsl.
• Robert Stayton: block.xsl
Change the epigraph template to support schema extensions
by processing all of its children instead of specific elements.
• tom_schr: pagesetup.xsl
Added "user.declarations" hook to implemented [#1330]
Added empty "user.declarations" template to make it easier for adding
custom fo:declaration elements. The template is empty by default.
• Robert Stayton: inline.xsl
Fix test for nested links.
• Robert Stayton: biblio.xsl
Now biblioset outputs its id if it has one.
• Robert Stayton: xref.xsl
pass xrefstyle param from link element to gentext.template so
optional page number can be formatted to a style.
• Robert Stayton: docbook.xsl
Streamline handling of namespace fixup in preparation for making
the namespaced version the source base.
• Robert Stayton: fo.xsl
FOP 1.1 now supports writing-mode="rl-tb", so add that change to the
$direction.mode parameter.
• Robert Stayton: autoidx.xsl
Add missing xlink namespace declaration to the root element.
• Robert Stayton: param.xweb; param.ent; autoidx.xsl
Add support for $autolink.index.see to automatically form links
between see and seealso index elements and primary elements
in the index.
• Robert Stayton: inline.xsl
Add element name to warning message for nested links.
• Robert Stayton: inline.xsl
Fix bug #1306: warn of nested links.
• Robert Stayton: component.xsl
Fix bug #1320 so template page.sequence tests $content to make
sure it is not empty.
• Robert Stayton: autotoc.xsl; refentry.xsl; param.xweb; docbook.xsl;
param.ent; component.x⋯
Add support for $show.bookmarks param to turn bookmarks on or
off.
• Robert Stayton: docbook.xsl
Add missing variable bookmarks.state.
• Robert Stayton: docbook.xsl
Add missing $document.element variable to new generate.bookmarks
template.
• Robert Stayton: autotoc.xsl; refentry.xsl; param.xweb; docbook.xsl;
param.ent; component.x⋯
Add support for standard XSL 1.1 bookmarks and parameter
$xsl1.1.bookmarks to turn them on or off.
• stilor: xref.xsl
Fix invalid href generated if $insert.olink.pdf.frag=0 and $fop1.extensions=1.
• stilor: autotoc.xsl; param.xweb; param.ent; toc.xsl
Replace literal space inserted next to fo:leader in ToC with a padding. This
works around a bug in FOP (see FOP-1444).
Make ToC fo:leader properties configurable via attribute set.
• stilor: titlepage.templates.xml
Remove autoguessing of the namespace for wrapper elements; determine namespace by prefix, if any.
• Mauritz Jeanson: table.xsl
Bug #1246: added missing with-param.
• stilor: xref.xsl
Make olink errors/warnings overridable in customizations.
• stilor: param.xweb; param.ent; xref.xsl
1. Make page citations on to paragraphs conditional on a new parameter,
$insert.xref.page.number.para, default to 'yes' (before, page citations were
added unconditionally). Remove similar special-casing for .
2. Disable page citations for @xrefstyle="template:..." (if needed, they
can be added with %p in the template - but they can't be disabled).
• stilor: fop1.xsl
Skip generating fox:destination on a footnote - id attribute on footnotes is not
passed to generated FO, so FOP complains about unresolved ID in destination.
• Mauritz Jeanson: lists.xsl
Fixed typo.
• tom_schr: lists.xsl
Fixed bug#1311 and added missing para.properties
• Robert Stayton: xref.xsl
Pass referrer and target params to mode="xrefstyle" to allow customizations
to be more specific.
• Robert Stayton: xref.xsl
Add mode="xrefstyle" to replace many instances of redundant
code determining the xrefstyle with xsl:apply-templates
select="." mode="xrefstyle". Also allows stylesheet
customization to specify an xrefstyle per element type.
• tom_schr: xref.xsl
Pass referrer and xrefstyle to "xref-to-suffix" and "xref-to-prefix"
modes (to use the same signature than "xref-to" mode) as discussed with
Bob on the mailinglist (2013-09-12)
• tom_schr: pi.xsl; verbatim.xsl
Fix for enhancement/bug#1312: Support font size in verbatim elements
• Robert Stayton: fop1.xsl
Unchanged, testing snapshot builds.
• Robert Stayton: docbook.xsl
No change, testing snapshot builds.
• Robert Stayton: block.xsl
No change, testing snapshot builds.
• Robert Stayton: block.xsl
No change, just checking snapshot build process.
• Robert Stayton: toc.xsl
Add missing template for tocdiv/title elements to fix bug #1310.
• Robert Stayton: docbook.xsl
Fix process.root template so document title can come from info as well.
• Robert Stayton: lists.xsl
Add support for procedure title when contained in blockinfo or info.
• Robert Stayton: fop1.xsl
Fix mode="fop1.foxdest" so only elements with id attribute get
a fox:destination in the output.
• Robert Stayton: fop1.xsl
Remove extraneous call from fop1.foxdest mode per patch submission.
• Robert Stayton: autotoc.xsl
Add toc.margin.properties attribute-set to list.of.titles so
it matches the TOC list.
• Robert Stayton: inline.xsl
Adjust exception for fop for menuchoice separator to
use the $symbol.font.family if it is set.
• Robert Stayton: division.xsl
Fix comment.
• Robert Stayton: param.ent
Fix typo that prevents param.xsl update.
• Robert Stayton: lists.xsl; param.xweb; param.ent
Add mark.optional.procedure.steps param.
• Robert Stayton: qandaset.xsl
Fix bug in question template that output empty list-item-label when
defaultlabel = 'none'.
HTML
The following changes have been made to the html code since the 1.78.1 release.
• Robert Stayton: block.xsl
Fix Bug #1367 epigraph attribution appears twice in html output.
• Robert Stayton: param.xweb; param.ent
Add missing profile.outputformat param.
• Robert Stayton: titlepage.xsl; docbook.xsl; titlepage.templates.xml
Add support for DocBook Publishers elements.
• Robert Stayton: publishers.xsl
New module to support new elements in DocBook Publishers schema.
• Robert Stayton: table.xsl
Fix bug #1348 where class of output table not being set correctly.
• Robert Stayton: table.xsl
A table emitted by tgroup template now calls "common.html.attributes"
to get the class attribute handled correctly.
• Robert Stayton: inline.xsl
Fix bug #13598 inline.monoseq and other inline.*seq handle links incorrectly.
• Robert Stayton: refentry.xsl
Add template for refpurpose in no.anchor.mode to generate
the dash separator in TOC line for the refentry when
the refpurpose contains a link or indexterm.
• Robert Stayton: inline.xsl
Add missing call to id.attribute template for orgdiv.
• Robert Stayton: xref.xsl
If a link or xref has an @id or @xml:id, then add a span to
include the id because simple.xlink no longer generates the
id attribute.
• Robert Stayton: inline.xsl
Remove call to id.attribute template in simple.xlink
because it produces duplicate ids in the output because
the element template calling simple.xlink generates the
id attribute.
• Robert Stayton: graphics.xsl
Check in fix for bug #1336 to support absolute file URLs
that start with file:/. Also consolidate code that determines
whether an image file path is relative into a new template
variable $is.relative.
• Robert Stayton: chunk-code.xsl
Add support for set nested inside set to recursive-chunk-filename.
• Robert Stayton: autotoc.xsl
Add support for set TOC to contain nested set or article
elements.
• Jirka Kosek: build.xml
Added clean targets
• Jirka Kosek: build.xml
Added ant build for HTML stylesheets
• Robert Stayton: glossary.xsl
Move any indexterms in glossentry to be inside dt, instead of
after dt which is invalid.
• Robert Stayton: htmltbl.xsl
Fix bug #1334 to copy through HTML table attributes @scope and @id.
• Robert Stayton: block.xsl
Change the epigraph template to support schema extensions
by processing all of its children instead of specific elements.
• Robert Stayton: titlepage.xsl
Fix bug in handling of multiple editors and "edited by" label.
• Robert Stayton: titlepage.templates.xml
Fix misnamed attribute in sidebar template.
• Robert Stayton: inline.xsl
Fix check for nested links.
• Robert Stayton: chunk-common.xsl; chunktoc.xsl; chunk-code.xsl
Adjust handling of namespace fixup to streamline distro builds.
• Robert Stayton: docbook.xsl
Adjust handling of namespace conversion to streamline distro
build.
• Robert Stayton: table.xsl
Fix bug #1298 where @rowheader = 'firstcol' incorrectly assigns