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.
* Support DBv5 revisions with full author name (not only authorinitials)
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)
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).
* Support chunk.tocs.and.lots in HTML Help
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.
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.
* Add support for qandaset.
* Support dbhtml/dbfo start PI for orderedlist numbering in both HTML and FO
* Added CVS header.
* Changed content model of text element to ANY rather than #PCDATA because
they could contain markup.
* 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.
* 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.
* Added support for "software" and "sectdesc" class values on refmiscinfo;
"software" is treated identically to "source", and "setdesc" is treated
identically to "manual".
* Added support for DocBook 5 namespace-stripping in manpages stylesheet.
Closes request #1210692.
* Added <xsl:template match="/"> 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.
* 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.
* Add task template in title.markup mode.
* Add children (with ids) of formal objects to target data.
* Added support for case when personname doesn't contain specific name
markup (as allowed in DocBook 5.0)
Extensions
The following changes have been made to the extensions code since the 1.69.1
release.
* Support Xalan 2.7
* Handle the case where the imageFn is actually a URI. This still needs
work.
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.
* Added parameters for header/footer table minimum height.
* Add the index.method parameter.
* 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.
* Add support for TOC for qandaset in fo output.
* Added parameter ulink.hyphenate.chars. Added parameter insert.link
.page.number.
* Implemented feature request #942524 to add insert.link.page.number to
allow link element cross references to have a page number.
* Add support for ulink.hyphenate.chars so more characters can be break
points in urls.
* Implemented patch #1075144 to make the url text in a ulink in FO output an
active link as well.
* table footnotes now have their own table.footnote.properties attribute
set.
* Add qandaset to root.elements.
* Added mode="page.sequence" to make it easier to put content into a page
sequence. First used for qandaset.
* Implemented feature request #1434408 to support formatting of biblioentry.
* Added biblioentry.properties.
* Support PTC/Arbortext bookmarks
* Added table.footnote.properties to permit table footnotes to format
differently from regular footnotes.
* 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.
* Added new attribute set toc.line.properties for controlling appearance of
lines in ToC/LoT
* 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).
* Add pgwide.properties attribute-set.
* 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.
* Improved support for task subelements
* 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.
* Made handling of paramdef/parameter in FO output consistent with that in
HTML and manpages output. Closes#1213259.
* 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.
* 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.
* 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
* 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.
* Add support for keep-together PI to informal objects.
* Add support for fop1.extensions.
* Add support for fop1 bookmarks.
* Add fop1.extentions parameter to add support for fop development version.
* Start supporting fop development version, which will become fop version 1.
* Add template for task in mode="xref-to".
* table footnotes now also get footnote.properties attribute-set.
* Added index.separator named template to compute the separator punctuation
based on locale.
* Added support for link, olink, and xref within OO Classsynopsis and
children. (Because DocBook NG/5 allows it).
* Support date as an inline
* Added new parameter keep.relative.image.uris
* Map Unicode space characters U+2000-U+200A to fo:leaders.
* Output a real em dash for em-dash dingbat (instead of two hypens).
* Support default label width parameters for itemized and ordered lists
* 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.
* Added parameters to support localization of index item punctuation.
* Added index.number.separator, index.range.separator, and
index.term.separator parameters to support localization of punctuation in
index entries.
* 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.
* 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.
* 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.
* Add sidebar titlepage placeholder attset for styles.
* Add titlepage for sidebar.
* 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.
* 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
HTML
The following changes have been made to the html code since the 1.69.1
release.
* implemented index.method parameter and three methods.
* added index.method parameter to support 3 indexing methods.
* Implemented feature request #1072510 as a processing instruction to permit
including external HTML content into HTML output.
* 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 ;-).
* Support dbhtml/dbfo start PI for orderedlist numbering in both HTML and FO
* Allow ToC without title also for set and book.
* Implemented floats uniformly for figure, example, equation and
informalfigure, informalexample, and informalequation.
* 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.
* 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:
<link rel="copyright" href="ln-id2524073.html" title="Legal Notice">
Closes#1476450. Thanks to Sam Steingold.
* 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.
* Improved support for task subelements
* 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.
* Process alt text with normalize-space(). Replace tab indents with spaces.
* Content of citation element is automatically linked to the bibliographic
entry with the corresponding abbrev.
* Add template for task in mode="xref-to".
* Suppress ID warnings if the .warnings parameter is 0
* Add support for floatstyle to figure.
* 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.
* Added 3 parameters for overriding gentext for index punctuation.
* Added parameters to support localization of index item punctuation. Added
index.separator named template to compute the separator punctuation based
on locale.
* Added a <div class="{$class}-contents"> wrapper around output of contents
of all formal objects. Also, added an optional <br class="{class}-break"/>
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.
<div class="equation"> <a name="three" id="three"></a>
<p class="title"><b>(1.3)</b></p>
<div class="equation-contents"> <span class="mathphrase">1+1=3</span>
</div> </div><br class="equation-break">
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; }
* Added a chunker.output.quiet top-level parameter so that the chunker can
be made quiet by default
* Added support for link, olink, and xref within OO Classsynopsis and
children. (Because DocBook NG/5 allows it).
* 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?
* 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.
* Support date as an inline
* Added new parameter keep.relative.image.uris
* 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.
* 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.
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.
* 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.
* 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.
* Added man.font.table.headings and man.font.table.title params, for
controlling font in table headings and titles.
* Added man.font.funcsynopsisinfo and man.font.funcprototype params, for
specifying the roff font (for example, BI, B, I) for funcsynopsisinfo and
funcprototype output.
* Added man.segtitle.suppress param.
If the value of man.segtitle.suppress is non-zero, then display of
segtitle contents is suppressed in output.
* 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
* 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.
* 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).
* Added boolean man.output.in.separate.dir param, to control whether or not
man files are output in separate directory.
* Added options for controlling indentation of verbatim output. Controlled
through the man.indentation.verbatims.adjust and
man.indentation.verbatims.value params. Closes#1242997
* 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.
* Changed line-spacing call before synopfragment to use ".sp -1n" ("n" units
specified) instead of plain ".sp -1"
* 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.
* Refined XPath statements and notification messages for refentry metadata
handling.
* 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.
* 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.
* Added support for DocBook 5 namespace-stripping in manpages stylesheet.
Closes request #1210692.
* 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].
* Added handling for table titles. Also fixed handling of nested tables;
nest tables are now "extracted" and displayed just after their parent
tables.
* 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.
* 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.
* 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.
* 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'".)
* 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.
* 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.)
* 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.
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.
* Support multiple indexing methods for different languages.
* 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.
* add support for page number references to link element too.
* Add support for more characters to hyphen on when ulink.hyphenate is
turned on.
* New attribute-set to format biblioentry and bibliomixed.
* 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 ;-).
* Added new attribute set toc.line.properties for controlling appearance of
lines in ToC/LoT
* Allow table footnotes to have different properties from regular footnotes.
* Set properties for pgwide="1" objects.
* 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.
* 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:
<link rel="copyright" href="ln-id2524073.html" title="Legal Notice">
Closes#1476450. Thanks to Sam Steingold.
* 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.
* 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.
* 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.
* Added man.font.table.headings and man.font.table.title params, for
controlling font in table headings and titles.
* Added man.font.funcsynopsisinfo and man.font.funcprototype params, for
specifying the roff font (for example, BI, B, I) for funcsynopsisinfo and
funcprototype output.
* Changed to select="0" in refclass.suppress (instead of ..>0</..)
* Added man.segtitle.suppress param.
If the value of man.segtitle.suppress is non-zero, then display of
segtitle contents is suppressed in output.
* 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
* 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.
* 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.
* Added support for "software" and "sectdesc" class values on refmiscinfo;
"software" is treated identically to "source", and "setdesc" is treated
identically to "manual".
* 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.
* 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.
* fop.extensions now only for FOP version 0.20.5 and earlier.
* Support for fop1 different from fop 0.20.5 and earlier.
* Reset default value to empty string so template uses gentext first, then
the parameter value if not empty.
* 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?
* Added new parameter keep.relative.image.uris
* Support default label width parameters for itemized and ordered lists
* Added parameters to localize punctuation in indexes.
* 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.
* Convert 'no' to string in default value.
* 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.
* 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
* Changed short descriptions in doc for *autolabel* params to match new
autolabel behavior.
Profiling
The following changes have been made to the profiling code since the 1.69.1
release.
* Profiling now works together with namespace stripping (V5 documents).
Namespace striping should work with all stylesheets named profile-, even
if they are not supporting namespace stripping in a non-profiling variant.
* Moved profiling stage out of templates. This make possible to reuse
profiled content by several templates and still maintaing node indentity
(needed for example for HTML Help where content is processed multiple
times).
I don't know why this was not on the top level before. Maybe some XSLT
processors choked on it. I hope this will be OK now.
Tools
The following changes have been made to the tools code since the 1.69.1
release.
* Moved Makefile.DocBook from contrib module to xsl module.
WordML
The following changes have been made to the wordml code since the 1.69.1
release.
* added contrib element, better handling of default paragraph style
* added bridgehead
* added blocks stylesheet to support bibliographies, glossaries and
qandasets
* added mediaobject caption
* added callouts
* added Word template file
* added abstract, fixed itemizedlist, ulink
* fixed Makefile added many features to Pages support added revhistory,
inlines, highlights, abstract
* fixed handling linebreaks when generating WordML added Apple Pages support
developer is officially maintaining the package.
The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list). Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
Changes to xsl/*
| 2005-08-11 Michael Smith <xmldoc@users.sourceforge.net>
|
| * RELEASE-NOTES.xml: Updated for 1.69.1 release.
|
| * VERSION: Version 1.69.1 released.
|
| 2005-07-19 Michael Smith <xmldoc@users.sourceforge.net>
|
| * Makefile: New file.
|
Changes to xsl/fo/*
| 2005-08-09 Robert Stayton <bobstayton@users.sourceforge.net>
|
| * autoidx.xsl: Fix bug 1247565: missing attribute set on
| symbol entries.
|
| * block.xsl, ebnf.xsl, table.xsl, titlepage.xsl: fo:table-body
| and fo:table-header now set start-indent and end-indent to
| zero to reset the table reference areas.
|
| 2005-08-05 Jirka Kosek <kosek@users.sourceforge.net>
|
| * autoidx.xsl: Fixed bug #1244478. Indexterms in informal
| objects are now getting correct page reference.
|
| 2005-07-27 Robert Stayton <bobstayton@users.sourceforge.net>
|
| * pagesetup.xsl: Fixed starting page number for first part
| element in single-sided output.
|
Changes to xsl/html/*
| 2005-08-11 Michael Smith <xmldoc@users.sourceforge.net>
|
| * annotations.xsl: Set default value of annotation.support
| param to 0 (off). Also, wrapped contents of the
| apply-annotations template in a "if" statement, so that
| those contents get evaluated only if annotation.support is
| non-zero. The reason for these changes was a report from
| Doug du Boulay (on the docbook-apps list) that processing of
| the apply-annotations template was consuming 75% of the
| total processing time for a 2.5Mb file. Anatoly Techtonik
| followed with a comment that with 1.69.0, "Compiling took
| about full working day on 12Mb file while earlier it was
| about 2-4 hours".
|
| 2005-08-04 Robert Stayton <bobstayton@users.sourceforge.net>
|
| * chunk-code.xsl, chunkfast.xsl: Add cf to
| exclude-result-prefixes because it is for internal use only.
|
Changes to xsl/manpages/*
| 2005-08-11 Michael Smith <xmldoc@users.sourceforge.net>
|
| * lists.xsl: Fixed check for first following siblings in
| lists.
|
| 2005-08-09 Michael Smith <xmldoc@users.sourceforge.net>
|
| * block.xsl, lists.xsl, utility.xsl: Output .sp macro in mixed
| blocks where we were outputting completely blank line
| before. Thanks (again) to Costin Stroie for pointing out the
| problems and providing a test case. Also, corrected the test
| for checking first preceding siblings of text nodes in mixed
| blocks (the test is used for determining whether or not we
| need to insert a line break before those nodes.)
|
| 2005-08-05 Michael Smith <xmldoc@users.sourceforge.net>
|
| * utility.xsl: Fixed bug that caused literal .sp to show up in
| output. (Thanks to Costin Stroie for reporting). WARNING:
| One of the consequences of this change is that the
| stylesheet no longer generates spaces at the end of certain
| lines. I had it doing that as a sort of hack to prevent
| certain kinds of problems in output. It seems like the hack
| my no longer be necessary. But if I am wrong, this change
| may cause spaces to show up at the beginning of some lines
| in "mixed content". If you see those, then this change has
| introduced a regression, and I will need to go back and
| figure out the right way to fix it (instead of the kludgy
| way I was doing it before. Also, instances like the
| following were showing up in some cases. .PP .sp That is, a
| .PP macro immediately followed by a .sp macro. I can think
| of no good read to ever generate that, and I am not sure why
| it is getting generated. So I have taked the lazy way out
| and caused the stylesheet to now strip out the .sp from all
| such instances, leaving just the .PP
|
| 2005-07-24 Michael Smith <xmldoc@users.sourceforge.net>
|
| * block.xsl, lists.xsl, utility.xsl: New file.
|
| * block.xsl, lists.xsl, utility.xsl: Fixed handling of lists
| with titles. Also reworked handling of space around lists.
| (Closes#1243003 and 1241371). Among other things, this
| change "normalizes" line space before and after verbatims.
| For most cases, the stylesheet now attempts to ensure each
| verbatim is preceded and followed by exactly one line of
| space.
|
Changes to xsl/params/*
| 2005-08-11 Michael Smith <xmldoc@users.sourceforge.net>
|
| * annotation.support.xml: Set default value of
| annotation.support param to 0 (off). Also, wrapped contents
| of the apply-annotations template in a "if" statement, so
| that those contents get evaluated only if annotation.support
| is non-zero. The reason for these changes was a report from
| Doug du Boulay (on the docbook-apps list) that processing of
| the apply-annotations template was consuming 75% of the
| total processing time for a 2.5Mb file. Anatoly Techtonik
| followed with a comment that with 1.69.0, "Compiling took
| about full working day on 12Mb file while earlier it was
| about 2-4 hours".
|
| 2005-08-06 <balls@users.sourceforge.net>
|
| * pages.template.xml: New file.
|
| 2005-08-05 Michael Smith <xmldoc@users.sourceforge.net>
|
| * man.string.subst.map.xml: Kruft removal.
|
| * man.string.subst.map.xml: Fixed bug that caused literal .sp
| to show up in output. (Thanks to Costin Stroie for
| reporting). WARNING: One of the consequences of this change
| is that the stylesheet no longer generates spaces at the end
| of certain lines. I had it doing that as a sort of hack to
| prevent certain kinds of problems in output. It seems like
| the hack my no longer be necessary. But if I am wrong, this
| change may cause spaces to show up at the beginning of some
| lines in "mixed content". If you see those, then this change
| has introduced a regression, and I will need to go back and
| figure out the right way to fix it (instead of the kludgy
| way I was doing it before. Also, instances like the
| following were showing up in some cases. .PP .sp That is, a
| .PP macro immediately followed by a .sp macro. I can think
| of no good read to ever generate that, and I am not sure why
| it is getting generated. So I have taked the lazy way out
| and caused the stylesheet to now strip out the .sp from all
| such instances, leaving just the .PP
|
| 2005-07-28 Robert Stayton <bobstayton@users.sourceforge.net>
|
| * part.autolabel.xml: Changed default part numbering format
| back to 'I'.
|
| 2005-07-24 Michael Smith <xmldoc@users.sourceforge.net>
|
| * man.string.subst.map.xml: New file.
|
| * man.string.subst.map.xml: Fixed handling of lists with
| titles. Also reworked handling of space around lists.
| (Closes#1243003 and 1241371). Among other things, this
| change "normalizes" line space before and after verbatims.
| For most cases, the stylesheet now attempts to ensure each
| verbatim is preceded and followed by exactly one line of
| space.
|
| 2005-07-20 Michael Smith <xmldoc@users.sourceforge.net>
|
| * appendix.autolabel.xml: New file.
|
| 2005-07-20 Norman Walsh <nwalsh@users.sourceforge.net>
|
| * appendix.autolabel.xml: Make appendixes use upperalpha
| numeration
|
Changes to xsl/wordml/*
| 2005-08-06 <balls@users.sourceforge.net>
|
| * docbook-pages.xsl, pages-normalise.xsl, param.ent,
| param.xweb, template-pages.xml: Added support for Apple
| Pages application
|
The release includes major feature changes, particularly in the
manpages stylesheets, as well as a large number of bug fixes. This
project is the home for the DocBook XSLT stylesheets and DSSSL
stylesheets and more.
This package was broken for a time, when the NO_BUILD that is set by
its Makefile broke the xmlcatmgr handling.
Increase the PKGREVISION now to have a known-good version of this package
again.
This release adds localization support for Farsi (thanks to Sina Heshmati) and
improved support for the XLink-based DocBook NG db:link element. Other than
that, it is a minor bug-fix update to the 1.68.0 release. The main thing it
fixes is a build error that caused the XSLT Java extensions to be jarred up
with the wrong package structure. Thanks to Jens Stavnstrup for quickly
reporting the problem, and to Mauritz Jeanson for investigating and finding the
cause.
Also use .tar.bz2 distfile.
This release includes some features changes, particularly for FO/PDF output,
and a number of bug fixes.
FO
* Moved footnote properties to attribute-sets.
* Added support for side floats, margin notes, and custom floats.
* Added new parameters body.start.indent and body.end.indent to the
set.flow.properties template.
* Added support for xml:id
* Added support for refdescriptor.
* Added support for multiple refnamedivs.
* Added index.entry.properties attribute-set to support customization of
index entries.
* Added set.flow.properties template call to each fo:flow to support
customizations entry point.
* Add support for @floatstyle in figure
* Moved hardcoded properties for index division titles to the
index.div.title.properties attribute-set.
* Added support for table-layout="auto" for XEP.
* Added index.div.title.properties attribute-set.
* $verbose parameter is now passed to most elements.
* Added refentry to toc in part, as it is permitted by the DocBook schema/
DTD.
* Added backmatter elements and article to toc in part, since they are
permitted by the DocBook schema/DTD.
* Added mode="toc" for simplesect, since it is now permitted in the toc if
simplesect.in.toc is set.
* Moved hard-coded properties to nongraphical.admonintion.properties and
graphical.admonition.properties attribute sets.
* Added support for sidebar-width and float-type processing instructions in
sidebar.
* For tables with HTML markup elements, added support for dbfo bgcolor PI,
the attribute-sets named table.properties, informaltable.properties,
table.table.properties, and table.cell.padding. Also added support for the
templates named table.cell.properties and table.cell.block.properties so
that tabstyles can be implemented. Also added support for tables containing
only tr instead of tbody with tr.
* Added new paramater hyphenate.verbatim.characters which can specify
characters after which a line break can occur in verbatim environments.
This parameter can be used to extend the initial set of characters which
contain only space and non-breakable space.
* Added itemizedlist.label.markup to enable selection of different bullet
symbol. Also added several potential bullet characters, commented out by
default.
* Enabled all id's in XEP output for external olinking.
HTML
* Added support for refdescriptor.
* Added support for multiple refnamedivs.
* Added support for xml:id
* refsynopsisdiv as a section for counting section levels
Images
* Added new SVG admonition graphics and navigation images.
Release 1.67.0
* A number of important bug fixes, documented in WhatsNew.
* Added Saxon8 extensions
* Enabled dbfo table-width on entrytbl in FO output
* Added support for role=strong on emphasis in FO output
* Added new FO parameter hyphenate.verbatim that can be used to turn on
"intelligent" wrapping of verbatim environments.
* Replaced all <tt></tt> output with <code></code>
* Changed admon.graphic.width template to a mode so that different
admonitions can have different graphical widths.
* Deprecated the HTML shade.verbatim parameter (use CSS instead)
* Wrapped ToC refentrytitle/refname and refpurpose in span with class values.
This makes it possible to style them using a CSS stylesheet.
* Use strong/em instead of b/i in HTML output
* Added support for converting Emphasis to groff italic and Emphasis role=
'bold' to bold. Controlled by emphasis.propagates.style param, but not
documented yet using litprog system. Will do that next (planning to add
some other parameter-controllable options for hyphenation and handling of
line spacing).
* callout.graphics.number.limit.xml param: Changed the default from 10 to 15.
* verbatim.properties: Added hyphenate=false
* Saxon and Xalan Text.java extensions: Added support for URIResolver() on
insertfile href's
* Added generated RELEASE-NOTES.txt file.
* Added INSTALL file (executable file for generating catalog.xml)
* Removed obsolete tools directory from package
Release 1.66.1
* A number of important bug fixes, documented in WhatsNew.
* Now xml:base attributes that are generated by an XInclude processor are
resolved for image files.
* Rewrote olink templates to support several new features.
o Extended full olink support to FO output.
o Add support for xrefstyle attribute in olinks.
o New parameters to support new olink features: insert.olink.page.number,
insert.olink.pdf.frag, olink.debug, olink.lang.fallback.sequence,
olink.properties, prefer.internal.olink. See the reference page for
each parameter for more information.
* Added index.on.type parameter for new type attribute introduced in DocBook
4.3 for indexterms and index. This allows you to create multiple indices
containing different categories of entries. For users of 4.2 and earlier,
you can use the new parameter index.on.role instead.
* Added new section.autolabel.max.depth parameter to turn off section
numbering below a certain depth. This permits you to number major section
levels and leave minor section levels unnumbered.
* Added footnote.sep.leader.properties attribute set to format the line
separating footnotes in printed output.
* Added parameter img.src.path as a prefix to HTML img src attributes. The
prefix is added to whatever path is already generated by the stylesheet for
each image file.
* Added new attribute-sets informalequation.properties,
informalexample.properties, informalfigure.properties, and
informaltable.properties, so each such element type can be formatted
individually if needed.
* Add component.label.includes.part.label parameter to add any part number to
chapter, appendix and other component labels when the label.from.part
parameter is nonzero. This permits you to distinguish multiple chapters
with the same chapter number in cross references and the TOC.
* Added chunk.separate.lots parameter for HTML output. This parameter lets
you generate separate chunk files for each LOT (list of tables, list of
figures, etc.).
* Added several table features:
o Added table.table.properties attribute set to add properties to the
fo:table element.
o Added placeholder templates named table.cell.properties and
table.cell.block.properties to enable adding properties to any
fo:table-cell or the cell's fo:block, respectively. These templates are
a start for implementing table styles.
* Added new attribute set component.title.properties for easy modifications
of component's title formatting in FO output.
* Added Saxon support for an encoding attribute on the textdata element.
Added new parameter textdata.default.encoding which specifies encoding when
encoding attribute on textdata is missing.
* Template label.this.section now controls whole section label, not only
sub-label which corresponds to particular label. Former behaviour was IMHO
bug as it was not usable.
* Formatting in titleabbrev for TOC and headers is preserved when there are
no hotlink elements in the title. Formerly the title showed only the text
of the title, no font changes or other markup.
* Added intial.page.number template to set the initial-page-number property
for page sequences in print output. Customizing this template lets you
change when page numbering restarts. This is similar to the
format.page.number template that lets you change how the page number
formatting changes in the output.
* Added force.page.count template to set the force-page-count property for
page sequences in print output. This is similar to the format.page.number
template.
* Sort language for localized index sorting in autoidx-ng.xsl is now taken
from document lang, not from system environment.
* Numbering and formatting of normal and ulink footnotes (if turned on) has
been unified. Now ulink footnotes are mixed in with any other footnotes.
* Added support for renderas attribute in section and sect1 et al. This
permits you to render a given section title as if it were a different
level.
* Added support for label attribute in footnote to manually supply the
footnote mark.
* Added support for DocBook 4.3 corpcredit element.
* Added support for a dbfo keep-together PI for formal objects (table,
figure, example, equation, programlisting). That permits a formal object to
be kept together if it is not already, or to be broken if it is very long
and the default keep-together is not appropriate.
* For graphics files, made file extension matching case insensitive, and
updated the list of graphics extensions.
* Allow calloutlist to have block content before the first callout
* Added dbfo-need processing instruction to provide soft page breaks.
* Added implementation of existing but unused default.image.width parameter
for graphics.
* Support DocBook NG tag inline element.
* It appears that XEP now supports Unicode characters in bookmarks. There is
no further need to strip accents from characters.
* Make segmentedlist HTML markup more semantic and available to CSS styles.
* Added user.preroot placeholder template to permit xsl-stylesheet and other
PIs and comments to be output before the HTML root element.
* Non-chunked legalnotice now gets an <a name="id"> element in HTML output so
it can be referenced with xref or link.
* In chunked HTML output, changed link rel="home" to rel="start", and link
rel="previous" to rel="prev", per W3C HTML 4.01 spec.
* Added several patches to htmlhelp from W. Borgert
* Added Bosnian locale file as common/bs.xml.
Changes to xsl/*
| 2004-02-27 Norman Walsh <nwalsh@users.sourceforge.net>
|
| * RELEASE-NOTES.xml: Updated
|
| * VERSION: Version 1.65.0 released.
|
| * VERSION: No really, version 1.65.0 released.
|
| 2004-02-24 Norman Walsh <nwalsh@users.sourceforge.net>
|
| * .cvsignore: Don't ignore debian anymore, it's gone
|
| 2004-01-08 Norman Walsh <nwalsh@users.sourceforge.net>
|
| * Makefile, VERSION: Tweaks for freshmeat-submit
|
| 2003-12-31 Jirka Kosek <kosek@users.sourceforge.net>
|
| * RELEASE-NOTES.xml: Info about new indexing method
|
| 2003-12-19 Norman Walsh <nwalsh@users.sourceforge.net>
|
| * Makefile: Check for DIFFVER and make sure tags happen
|
| * RELEASE-NOTES.xml: Not terribly interesting RELEASE NOTES
| file for 1.64.1
|
| 2003-12-17 Norman Walsh <nwalsh@users.sourceforge.net>
|
| * Makefile, VERSION: Prepare to support freshmeat-submit for
| next release
|
Changes to xsl/common/*
| 2004-02-18 Robert Stayton <bobstayton@users.sourceforge.net>
|
| * labels.xsl: Turn off procedure number when formal.procedures
| = 0.
|
| 2004-01-29 Norman Walsh <nwalsh@users.sourceforge.net>
|
| * subtitles.xsl, titles.xsl: Support 'info'
|
| 2004-01-26 Robert Stayton <bobstayton@users.sourceforge.net>
|
| * targets.xsl: Pass empty doctype parameters to write.chunk so
| the output can be used as an entity without DOCTYPE.
|
| 2003-12-31 Jirka Kosek <kosek@users.sourceforge.net>
|
| * autoidx-ng.xsl, l10n.dtd: Added support for new i18n
| friendly indexing method
|
Changes to xsl/fo/*
| 2004-02-26 Norman Walsh <nwalsh@users.sourceforge.net>
|
| * verbatim.xsl: Bug #875229: add
| white-space-treatment=preserve
|
| 2004-02-11 Robert Stayton <bobstayton@users.sourceforge.net>
|
| * formal.xsl: informal.object template now handles
| informalequation.
|
| 2004-02-06 Robert Stayton <bobstayton@users.sourceforge.net>
|
| * component.xsl: Add force-page-count="no-force" to preface
| when double.sided is off to prevent extra blank page.
|
| * component.xsl, division.xsl: Added
| force-page-count="no-force" when double.sided = 0 to prevent
| extra blank pages.
|
| 2004-01-30 Robert Stayton <bobstayton@users.sourceforge.net>
|
| * formal.xsl: calsTable template should use table.properties
| instead of formal.object.properties.
|
| 2004-01-29 Norman Walsh <nwalsh@users.sourceforge.net>
|
| * autotoc.xsl: Use titleabbrev in ToC
|
| * biblio.xsl: Support 'info' and 'personblurb'
|
| * docbook.xsl: Support DocBook NG by way of the following
| hack: if we find an NG document, do an identity transform to
| throw away the NG namespace and then process the result.
| Requires exsl:node-set().
|
| * docbookng.xsl: New file.
|
| * qandaset.xsl, titlepage.xsl: Support 'info'
|
| 2004-01-29 Robert Stayton <bobstayton@users.sourceforge.net>
|
| * titlepage.xsl: Fix for multiple editor elements running
| together.
|
| 2004-01-26 Robert Stayton <bobstayton@users.sourceforge.net>
|
| * pagesetup.xsl, param.ent, param.xweb: Added
| header.column.widths and footer.column.widths to permit
| adjustment of the header and footer widths.
|
| 2004-01-17 Robert Stayton <bobstayton@users.sourceforge.net>
|
| * xep.xsl: Added 'chapter' to test for adding TOC bookmark.
|
| 2004-01-16 Robert Stayton <bobstayton@users.sourceforge.net>
|
| * formal.xsl: Fixed bug in evaluation of @float in figure.
|
| 2004-01-13 Robert Stayton <bobstayton@users.sourceforge.net>
|
| * inline.xsl: Inline sequences now output id attribute if
| found.
|
| 2004-01-08 Norman Walsh <nwalsh@users.sourceforge.net>
|
| * biblio.xsl: Initial support for bibliolist
|
| * table.xsl: Abort if there's no @cols
|
| 2003-12-31 Jirka Kosek <kosek@users.sourceforge.net>
|
| * autoidx-ng.xsl: New file.
|
| 2003-12-30 Robert Stayton <bobstayton@users.sourceforge.net>
|
| * biblio.xsl, xref.xsl: Changed
| document($bibliography.collection) to
| document($bibliography.collection,.) so it will look in the
| current directory instead of the stylesheet directory.
|
| * graphics.xsl: Fixed test for graphic inside inlineequation.
|
| * xref.xsl: Added refsection to mode="xref-to" to support xref
| to refsection.
|
| 2003-12-16 Robert Stayton <bobstayton@users.sourceforge.net>
|
| * index.xsl, pagesetup.xsl, titlepage.templates.xml: Fixed bug
| in index title indents when $title.margin.left is non-zero.
|
Changes to xsl/html/*
| 2004-02-13 Robert Stayton <bobstayton@users.sourceforge.net>
|
| * biblio.xsl, glossary.xsl, index.xsl: Removed obsolete
| component.title.mode templates.
|
| 2004-01-29 Norman Walsh <nwalsh@users.sourceforge.net>
|
| * autotoc.xsl: Use titleabbrev in ToC
|
| * biblio.xsl: Support info in bibliography mode; support
| personblurb as an alternative to authorblurb
|
| * component.xsl: Support 'info'
|
| * docbook.xsl: Support DocBook NG by way of the following
| hack: if we find an NG document, do an identity transform to
| throw away the NG namespace and then process the result.
| Requires exsl:node-set().
|
| * docbookng.xsl: New file.
|
| * inline.xsl: Support 'tag' as a synonym for 'sgmltag'
|
| * lists.xsl: Make simpara in callout magic; don't output a p
| inside the li. Sigh.
|
| * table.xsl: Support bgcolor and class dbhtml PIs on table
| rows
|
| * titlepage.xsl: Support personblurb as a synonym for
| authorblurb
|
| * xref.xsl: Support xref to personblurb the same way as
| authorblurb
|
| 2004-01-08 Norman Walsh <nwalsh@users.sourceforge.net>
|
| * biblio.xsl: Initial support for bibliolist
|
| * table.xsl: Abort if there's no @cols
|
| 2003-12-31 Jirka Kosek <kosek@users.sourceforge.net>
|
| * autoidx-ng.xsl: New file.
|
| 2003-12-30 Robert Stayton <bobstayton@users.sourceforge.net>
|
| * biblio.xsl, xref.xsl: Changed
| document($bibliography.collection) to
| document($bibliography.collection,.) so it will look in the
| current directory instead of the stylesheet directory.
|
| * graphics.xsl: Fixed test for graphic inside inlineequation.
|
| * xref.xsl: Added refsection to mode="xref-to" to support xref
| to refsection.
|
Changes to xsl/htmlhelp/*
| 2004-02-19 Jirka Kosek <kosek@users.sourceforge.net>
|
| * htmlhelp-common.xsl: Added anchors to bibliodivs
|
Changes to xsl/javahelp/*
| 2003-12-21 Jirka Kosek <kosek@users.sourceforge.net>
|
| * javahelp.xsl: Fixed bug #864018
|
Changes to xsl/manpages/*
| 2004-02-04 <twaugh@users.sourceforge.net>
|
| * docbook.xsl, lists.xsl: Place-holder implementation for
| simplelist.
|
| 2004-01-30 <twaugh@users.sourceforge.net>
|
| * docbook.xsl: Add replacement dingbat characters.
|
| 2003-12-24 <twaugh@users.sourceforge.net>
|
| * lists.xsl: .RS/.RE doesn't nest precisely. Use .IP to fix up
| the environment. Part of bug #852714.
|
| * lists.xsl: Handle comments inside lists (part of bug
| #852714).
|
Changes to xsl/params/*
| 2004-02-13 Michael Smith <xmldoc@users.sourceforge.net>
|
| * htmlhelp.hhp.windows.xml, htmlhelp.show.toolbar.text.xml:
| remove stray single quotes for ID values; was causing
| generation of invalid filenames & breaking downstream builds
|
| 2004-01-31 Norman Walsh <nwalsh@users.sourceforge.net>
|
| * footer.column.widths.xml, header.column.widths.xml: Add
| quotes to make the parameters strings; '1 1 1' is not a
| valid number
|
| 2004-01-29 Robert Stayton <bobstayton@users.sourceforge.net>
|
| * footer.column.widths.xml, header.column.widths.xml: New
| file.
|
Changes to xsl/template/*
| 2004-01-29 Norman Walsh <nwalsh@users.sourceforge.net>
|
| * titlepage.xsl: Support 'info' everywhere
|
Changes to xsl/extensions/xalan2/.classes/*
| 2003-12-17 Norman Walsh <nwalsh@users.sourceforge.net>
|
| * Makefile.common: Support unicode.font in Xalan extensions
|
Changes to xsl/extensions/xalan2/com/nwalsh/xalan/*
| 2003-12-17 Norman Walsh <nwalsh@users.sourceforge.net>
|
| * FormatCallout.java, FormatUnicodeCallout.java, Params.java,
| Verbatim.java: Support unicode.font in Xalan extensions
|
Changes to xsl/*
| * Makefile: Check for DIFFVER and make sure tags happen
| * RELEASE-NOTES.xml: Not terribly interesting RELEASE NOTES
| file for 1.64.1
| * Makefile, VERSION: Prepare to support freshmeat-submit for
| next release
| * VERSION: Version 1.64.0 released.
| * VERSION: Version 1.63.0 released.
| * VERSION: Version 1.62.4 released.
Changes to xsl/common/*
| * .cvsignore, Makefile: Support sr_Latn locale
| * l10n.xml: Added sr_Latn.xml for Serbian in Latin script.
| * common.xsl: Fixed bug #851603 infinite recursion in
| copyright.year when no <year> elements at all.
| * common.xsl: section.level now computes refentry sections
| relative to container element.
| * gentext.xsl, labels.xsl, subtitles.xsl, table.xsl,
| targets.xsl, titles.xsl: Added CVS $Id$ comment.
| * labels.xsl: Fixed bug where sect1 generated infinite loop
| when root element and
| $section.label.includes.component.label is non zero.
| * gentext.xsl: Fixed cut-and-paste typo in substitute.markup
| template.
Changes to xsl/docsrc/*
| * htmlhelp.xml: Corrected parameter name
Changes to xsl/fo/*
| * index.xsl, pagesetup.xsl, titlepage.templates.xml: Fixed bug
| in index title indents when $title.margin.left is non-zero.
| * sections.xsl: Now marker respects $marker.section.level
| parameter.
| * param.ent, param.xweb: Added marker.section.level to control
| which sections are included in running headers or footers.
| * component.xsl: Fixed bug #605761 where article/appendix
| title did not respect the $title.margin.left setting. Use a
| new article.appendix.title.properties attribute set.
| * param.ent, param.xweb: Added
| article.appendix.title.properties to fix bug 605761.
| * param.ent, param.xweb: Added refentry.pagebreak parameter.
| * refentry.xsl: refnamediv now uses section.level template to
| compute title level.
| * refentry.xsl: Added $refentry.pagebreak parameter to make
| page breaks optional.
| * inline.xsl, param.ent, param.xweb: Support new parameters
| for superscript/subscript properties
| * lists.xsl: Processing of listitems now processes and
| preserves order of comments and PIs.
| * htmltbl.xsl, task.xsl: Added CVS $Id.
| * pagesetup.xsl: Remove $title.margin.left from the
| margin-left calculation when $passivetex.extensions != 0
| since it can't do the math.
| * lists.xsl: Make sure that fo:list-item-body always contains
| an fo:block
| * inline.xsl: Support code inline
| * formal.xsl: Moved id from fo:table to container block in
| informaltable to eliminate duplicate ids when multiple
| tgroups used.
| * graphics.xsl: Added GIF extensions which is supported by FOP
| * formal.xsl: Add comment about span not working in most FO
| processor because not on a child of fo:flow.
| * pagesetup.xsl: Added units to margin-left="0" in header and
| footer templates.
| * titlepage.xsl: width property added to revhistory table,
| with option to use <?dbfo table-width="xx%"?> processing
| instruction.
| * pagesetup.xsl: Removed title.margin.left indent for the
| index-*-draft page masters as well.
| * autoidx.xsl, index.xsl, param.ent, param.xweb: Significant
| index terms can get special rendering in XEP
| * lists.xsl: Support stepalternatives
| * lists.xsl: Fixed bug in variablelist width calc that was
| returning zero.
Changes to xsl/html/*
| * chunk-common.xsl: Fix ugly performance problem in
| footer.navigation (thanks again Guillaume du Bourguet)
| * inline.xsl: Fix bug [ 841586 ] id-attibute in firstterm
| prohibits link to glossary.
| * autotoc.xsl: Omit setindex from TOC if $generate.index = 0
| * table.xsl: Now colwidth="*" treated as colwidth="1*" for
| tablecolumns extension.
| * lists.xsl: Processing of listitems now processes and
| preserves order of comments and PIs.
| * autoidx.xsl, changebars.xsl, chunk-code.xsl,
| chunk-common.xsl, chunk.xsl, chunker.xsl, chunkfast.xsl,
| chunktoc.xsl, html-rtf.xsl, htmltbl.xsl, maketoc.xsl,
| manifest.xsl, oldchunker.xsl, onechunk.xsl,
| profile-chunk.xsl, profile-onechunk.xsl, task.xsl: Added CVS
| $Id$ comments.
| * Makefile.param, param.ent, param.xweb: Added new HTML Help
| parameters from patches by W. Borgert
| * chunk-common.xsl: Experimental fix for some xref linking
| issues in cases where dbhtml 'dir' is used.
| * chunk-common.xsl: Fix ugly performance problem with chunking
| (thanks Guillaume du Bourguet)
| * glossary.xsl: Fix bugs in formatting of glosslist
| * inline.xsl: Support code inline
| * chunk-common.xsl: Moved call to user.head.content to just
| before </head> to give the user the last word.
| * chunk-code.xsl: Remove index from Next and Previous when
| $generate.index = 0.
| * lists.xsl: Support stepalternatives
Changes to xsl/htmlhelp/*
| * htmlhelp-common.xsl: Fixed parameter name collision
| * htmlhelp-common.xsl: Added new HTML Help parameters from
| patches by W. Borgert
| * htmlhelp-common.xsl: Handle setindex in a proper way
Changes to xsl/manpages/*
| * lists.xsl: Fix nested lists properly.
| * docbook.xsl: Use .nf environment for literallayout.
| * docbook.xsl: Prevent duplicate .nf environments inside
| informalexample or screen. All fiftenn allowed contained
| element in these elements will provide its own.
| * docbook.xsl: Last commit reverted a previous change -- redo
| it.
| * docbook.xsl: Remove unused rule.
| * docbook.xsl: Fix literallayout inside para.
| * lists.xsl: Fix singly-nested lists.
| * docbook.xsl: Don't mess up roff markup in tables.
| * lists.xsl, synop.xsl: 2003-11-06 Tim Waugh
| <twaugh@redhat.com> * lists.xsl: Normalize space in
| itemizedlist/listitem. * synop.xsl: Likewise.
Changes to xsl/params/*
| * article.appendix.title.properties.xml: Fixed typo in
| use-attribute-sets attribute
| * title.margin.left.xml: Fix typo in parameter end tag
| * marker.section.level.xml: New file.
| * article.appendix.title.properties.xml: New file.
| * refentry.pagebreak.xml: New file.
| * refentry.title.properties.xml: Added space-before properties
| since page breaks are now optional. Added a description
| paragraph.
| * subscript.properties.xml, superscript.properties.xml: New
| file.
| * htmlhelp.display.progress.xml,
| htmlhelp.enhanced.decompilation.xml, htmlhelp.hhc.width.xml,
| htmlhelp.hhp.windows.xml,
| htmlhelp.remember.window.position.xml,
| htmlhelp.show.toolbar.text.xml,
| htmlhelp.window.geometry.xml: New file.
| * title.margin.left.xml: Set to zero if passivetex.extensions
| != 0 since PassiveTeX cannot handle the math expression with
| negative values.
| * index.preferred.page.properties.xml: New file.
Changes to xsl/extensions/xalan2/.classes/*
| * Makefile.common: Support unicode.font in Xalan extensions
Changes to xsl/extensions/xalan2/com/nwalsh/xalan/*
| * FormatCallout.java, FormatUnicodeCallout.java, Params.java,
| Verbatim.java: Support unicode.font in Xalan extensions
Lots of bug fixes and improvements.
o Initial support for timestamp PI. From now you can use
<?dbtimestamp format="Y-m-d H:M:S"?> to get current datetime
in your document. Added localization support for datetime
PI
o Added level 6 to test for section depth in section.level
template so that section.title.level6.properties will be
used for sections that are 6 deep or deeper. This should
also cause a h6 to be created in html output.
o Don't use SVG graphics if use.svg=0
o Now uses number-and-title-template for sections only if
section.autolabel is not zero.
o Added missing 'english-language-name' attribute to the l10n
element, and the missing 'style' attribute to the
template element so the current gentext documents will
validate.
o Corrected several references to parameter qanda.defaultlabel
that were missing the "$".
o Now accepts admon.textlabel parameter to turn off Note,
Warning, etc. label.
o FeatReq #684561: support more XEP metadata
o Added hyphenation support. Added support for coref. Added
beginpage support. (does nothing; see TDG).
o Added support for hyphenation-character,
hyphenation-push-character-count, and
hyphenation-remain-character-count
o Added root.properties, ebnf.assignment, and ebnf.statement.terminator
o Support bgcolor PI in table cells; make sure rowsep and
colsep don't have any effect on the last row or column
o Handle othercredit on titlepage a little better
o Applied fix from Jeff Beal that fixed the bug that put
secondary page numbers on primary entries. Same with tertiary
page numbers on secondary entries.
o Added definition of missing variable collection.
o Make footnote formatting 'normal' even when it occurs in a
context that has special formatting
o Added warning when glossary.collection is not blank, but it
cannot open the specified file.
o Pick up the frame attribute on table and informaltable.
o indexdiv/title in non-autogenerated indexes are now picked up.
o Removed (unused) component.title.properties
o Move IDs from page-sequences down to titlepage blocks
o Use proportional-column-width(1) on more tables.
Use proportional-column-width() for header/footer tables;
suppress relative-align when when using FOP
o Check for glossterm.auto.link when linking firstterms; don't
output gl. prefix on glossterm links
o Generate Part ToCs
o Support glossary, bibliography, and index in component ToCs.
o Refactored chunking code so that customization of chunk
algorithm and chunk elements is more practical
o Support textobject/phrase on inlinemediaobject.
o Support 'start' PI on ordered lists
o Fixed test of $toc PI to turn on qandaset TOC.
o Added process.chunk.footnotes to sect2 through 5 to fix bug
of missing footnotes when chunk level greater than 1.
o Added paramater toc.max.depth which controls maximal depth
of ToC as requested by PHP-DOC group.
Changes since 1.59.2:
Lots of bug fixes:
* Attributes to control the templates are now namespace qualified.
* Support use of titleabbrev in running headers and footers.
* Added (experimental) xref.with.number.and.title
parameter to enable number/title cross references even when the
default would be just the number.
* Generate part ToCs if they're requested.
* Use proportional-column-width() in header/footer tables.
* Handle alignment correctly when screenshot wraps a graphic in a figure.
* Format chapter and appendix cross references consistently.
* Attempt to support tables with multiple tgroups in FO.
* Output fo:table-columns in simplelist tables.
* Use titlepage.templates.xml for indexdiv and glossdiv formatting.
* Improve support for new bibliography elements.
* Added footnote.number.format, table.footnote.number.format,
footnote.number.symbols, and table.footnote.number.symbols for better
control of footnote markers.
* Added glossentry.show.acronyms.
* Suppress the draft-mode page masters when draft-mode is no.
* Make blank pages verso not recto. D'Oh!
* Improved formatting of ulink footnotes.
* Fixed bugs in graphic width/height calculations.
* Added class attributes to inline elements.
* Don't add .html to the filenames identified with the dbhtml PI.
* Don't force a ToC when sections contain refentrys.
* Make section title sizes a function of the body.master.size.
Release 1.59.2
The 1.59.2 fixes an FO bug in the page masters that causes FOP to fail.
o Removed the region-name from the region-body of blank pages. There's
no reason to give the body of blank pages a unique name and doing so
causes a mismatch that FOP detects.
o Output IDs for the first paragraphs in listitems.
o Fixed some small bugs in the handling of page numbers in double-sided
mode.
o Attempt to prevent duplicated IDs from being produced when endterm on
xref points to something with nested structure.
o Fix aligment problems in equations.
o Output the type attribute on unordered lists (UL) in HTML only if the
css.decoration parameter is true.
o Calculate the font size in formal.title.properties so that it's 1.2
times the base font size, not a fixed "12pt".
Release 1.59.1
The 1.59.1 fixes a few bugs.
o Added Bulgarian localization.
o Indexing improvements; localize book indexes to books but allow
setindex to index an entire set.
o The default value for rowsep and colsep is now "1" as per CALS.
o Added support for titleabbrev (use them for cross references).
o Improvements to mediaobject for selecting print vs. online images.
o Added seperate property sets for figures, examples, equations,
tabless, and procedures.
o Make lineannotations italic.
o Support xrefstyle attribute.
o Make endterm on xref higher priority than xreflabel target.
o Glossary formatting improvements.
The DocBook XSL stylesheets provide a serie of ready-to-use templates to
process documents based on the DocBook XML DTD. They can generate different
types of output files, like XHTML, slides, manpages, JavaDoc...
They are written in a modular fashion. Each of the HTML and FO stylesheets
starts with a driver file that assembles a collection of component files
into a complete stylesheet. This modular design puts similar things together
into smaller files that are easier to write and maintain than one big
stylesheet.
Approved by wiz.