or anything else).
Of course this only affects non-TTY output...
● Michael(tm) Smith: utility.xsl
Added inline.monoseq named template.
● Michael(tm) Smith: utility.xsl
don't bother using a custom register to store the previous
font-family value when setting blocks of text in code font; just
use \F[] .fam with no arg to switch back
● Michael(tm) Smith: endnotes.xsl
put links in blue in PS output (note that this matches how groff
renders content marked up with the .URL macro)
● Michael(tm) Smith: endnotes.xsl; param.xweb; param.ent
removed man.links.are.underlined and added man.font.links. Also,
changed the default font formatting for links to bold.
● Michael(tm) Smith: endnotes.xsl; param.xweb; param.ent
Added new param man.base.url.for.relative.links .. specifies a
base URL for relative links (for ulink, @xlink:href, imagedata,
audiodata, videodata) shown in the generated NOTES section of
man-page output. The value of man.base.url.for.relative.links is
prepended to any relative URI that is a value of ulink url,
xlink:href, or fileref attribute.
If you use relative URIs in link sources in your DocBook refentry
source, and you leave man.base.url.for.relative.links unset, the
relative links will appear "as is" in the NOTES section of any
man-page output generated from your source. That's probably not
what you want, because such relative links are only usable in the
context of HTML output. So, to make the links meaningful and
usable in the context of man-page output, set a value for
man.base.url.for.relative.links that points
to the online version of HTML output generated from your DocBook
refentry source. For example:
http://www.kernel.org/pub/software/scm/git/docs/
● Michael(tm) Smith: info.xsl
If a source refentry contains a Documentation or DOCUMENTATION
section, don't report it as having missing AUTHOR information.
Also, if missing a contrib/personblurb for a person or org, report
pointers to http://docbook.sf.net/el/personblurb and to
http://docbook.sf.net/el/contrib
● Michael(tm) Smith: info.xsl
If we encounter an author|editor|othercredit instance that lacks a
personblurb or contrib, report it to the user (because that means
we have no information about that author|editor|othercredit to
display in the generated AUTHOR|AUTHORS section...)
● Michael(tm) Smith: info.xsl; docbook.xsl; other.xsl
if we can't find any usable author data, emit a warning and insert
a fixme in the output
● Michael(tm) Smith: info.xsl
fixed bug in indenting of output for contrib instances in AUTHORS
section. Thanks to Daniel Leidert and the fglrx docs for exposing
the bug.
● Michael(tm) Smith: block.xsl
for a para or simpara that is the first child of a callout,
suppress the .sp or .PP that would normally be output (because in
those cases, the output goes into a table cell, and the .sp or .PP
markup causes a spurious linebreak before it when displayed
● Michael(tm) Smith: lists.xsl
Added support for rendering co callouts and calloutlist instances.
So you can now use simple callouts -- marking up programlisting
and such with co instances -- and have the callouts displayed in
man-page output. ("simple callouts" means using co@id and
callout@arearefs pointing to co@id instances; in man/roff output,
we can't/don't support markup that uses areaset and area)
● Michael(tm) Smith: block.xsl
only put a line of space after a verbatim if it's followed by a
text node or a paragraph
● Michael(tm) Smith: utility.xsl
put verbatim environments in slightly smaller font in non-TTY
output
● Michael(tm) Smith: lists.xsl
minor whitespace-only reformatting of lists.xsl source
● Michael(tm) Smith: lists.xsl
Made refinements/fixes to output of orderedlist and itemizedlist
-- in part, to get mysql man pages to display correctly. This
change causes a "\c" continuation marker to be added between
listitem markers and contents (to ensure that the content remains
on the same line as the marker when displayed)
● Michael(tm) Smith: block.xsl
put a line of vertical space after all verbatim output that has
sibling content following it (not just if that sibling content is
a text node)
● Michael(tm) Smith: block.xsl
refined spacing around titles for admonitions
● Michael(tm) Smith: block.xsl; other.xsl
Deal with case of verbatim environments that have a linebreak
after the opening tag. Assumption is that users generally don't
want that linebreak to appear in output, so we do some groff
hackery to mess with vertical spacing and close the space.
● Michael(tm) Smith: inline.xsl
indexterm instances now produce groff comments like this:
.\" primary: secondary: tertiary
remark instances, if non-empty, now produce groff comments
● Michael(tm) Smith: charmap.groff.xsl; other.xsl
convert no-break space character to groff "\ \&" (instead of just
"\ "). the reason is that if a space occurs at the end of a line,
our processing causes it to be eaten. a real-world case of this is
the mysql(1) man page. appending the "\&" prevents that
● Michael(tm) Smith: block.xsl
output "sp" before simpara output, not after it (outputting it
after results in undesirable whitespace in particular cases; for
example, in the hg/mercurial docs
● Michael(tm) Smith: table.xsl; synop.xsl; utility.xsl
renamed from title-preamble to pinch.together and replaced "sp -1"
between synopsis fragments with call to pinch.together instead
● Michael(tm) Smith: table.xsl
use title-preamble template for table titles (instead of "sp -1"
hack), and "sp 1" after all tables (instead of just "sp"
● Michael(tm) Smith: utility.xsl
created title-preamble template for suppressing line spacing after
headings
● Michael(tm) Smith: info.xsl
further refinement of indenting in AUTHORS section
● Michael(tm) Smith: block.xsl; other.xsl
refined handling of admonitions
● Michael(tm) Smith: lists.xsl
Use RS/RE in another place where we had IP ""
● Michael(tm) Smith: info.xsl
Replace (ab)use of IP with "sp -1" in AUTHORS section with RS/RE
instead.
● Michael(tm) Smith: table.xsl; synop.xsl; info.xsl
changed all instances of ".sp -1n" to ".sp -1"
● Michael(tm) Smith: other.xsl
add extra line before SH heads only in non-TTY output
● Michael(tm) Smith: block.xsl
Reworked output for admonitions (caution, important, note, tip,
warning). In TTY output, admonitions now get indented. In non-TTY
output, a colored marker (yellow) is displayed next to them.
● Michael(tm) Smith: other.xsl
Added BM/EM macros for putting a colored marker in margin next to
a block of text.
● Michael(tm) Smith: utility.xsl
created make.bold.title template by moving title-bolding part out
from nested-section-title template. This allows the bolding to
also be used by the template for formatting admonitions
● Michael(tm) Smith: info.xsl
put .br before copyright contents to prevent them from getting run in
● Michael(tm) Smith: refentry.xsl; other.xsl; utility.xsl
made point size of output for Refsect2 and Refsect3 heads bigger
● Michael(tm) Smith: other.xsl
put slightly more space between SH head and underline in non-TTY
output
● Michael(tm) Smith: param.xweb; param.ent; other.xsl
Added the man.charmap.subset.profile.english parameter and refined
the handling of charmap subsets to differentiate between English
and non-English source.
This way charmap subsets are now handled is this:
If the value of the man.charmap.use.subset parameter is non-zero,
and your DocBook source is not written in English (that is, if its
lang or xml:lang attribute has a value other than en), then the
character-map subset specified by the man.charmap.subset.profile
parameter is used instead of the full roff character map.
Otherwise, if the lang or xml:lang attribute on the root element
in your DocBook source or on the first refentry element in your
source has the value en or if it has no lang or xml:lang
attribute, then the character-map subset specified by the
man.charmap.subset.profile.english parameter is used instead of
man.charmap.subset.profile.
The difference between the two subsets is that
man.charmap.subset.profile provides mappings for characters in
Western European languages that are not part of the Roman
(English) alphabet (ASCII character set).
● Michael(tm) Smith: other.xsl
Various updates, mainly related to uppercasing SH titles:
- added a "Language: " metadata line to the top comment area of
output man pages, to indicate the language the page is in
- added a "toupper" macro of doing locale-aware uppercasing of
SH titles and cross-references to SH titles; the mechanism
relies on the uppercase.alpha and lowercase.alpha DocBook
gentext keys to do locale-aware uppercasing based on the
language the page is written in
- added a "string.shuffle" template, which provides a library
function for "shuffling" two strings together into a single
string; it takes the first character for the first string, the
first character from second string, etc. The only current use
for it is to generate the argument for the groff tr request
that does string uppercasing.
- added make.tr.uppercase.arg and make.tr.normalcase.arg named
templates for use in generating groff code for uppercasing and
"normal"-casing SH titles
- made the BB/BE "background drawing" macros have effect only in
non-TTY output
- output a few comments in the top part of source
● Michael(tm) Smith: utility.xsl
removed some leftover kruft
● Michael(tm) Smith: refentry.xsl
To create the name(s) for each man page, we now replace any spaces
in the refname(s) with underscores. This ensures that tools like
lexgrog(1) will be able to parse the name (lexgrog won't parse
names that contain spaces).
● Michael(tm) Smith: docbook.xsl
Put a comment into source of man page to indicate where the main
content starts. (We now have a few of macro definitions at the
start of the source, so putting this comment in helps those that
might be viewing the source.)
● Michael(tm) Smith: refentry.xsl
refined mechanism for generating SH titles
● Michael(tm) Smith: charmap.groff.xsl
Added zcaron, Zcaron, scaron, and Scaron to the groff character map.
This means that generated Finnish man pages will no longer contain
any raw accented characters -- they'll instead by marked up with
groff escapes.
● Michael(tm) Smith: other.xsl; utility.xsl
corrected a regression I introduced about a year ago that caused
dots to be output just as "\." -- instead needs to be "\&." (which
is what it will be now, after this change)
● Michael(tm) Smith: refentry.xsl
Changed backend handling for generating titles for SH sections and
for cross-references to those sections. This should have no effect
on TTY output (behavior should remain the same hopefully) but
results in titles in normal case (instead of uppercase) in PS
output.
● Michael(tm) Smith: info.xsl
use make.subheading template to make subheadings for AUTHORS and
COPYRIGHT sections (instead of harcoding roff markup)
● Michael(tm) Smith: block.xsl
put code font around programlisting etc.
● Michael(tm) Smith: synop.xsl; docbook.xsl
embed custom macro definitions in man pages, plus wrap synopsis in
code font
● Michael(tm) Smith: endnotes.xsl
use the make.subheading template to generated SH subheading for
endnotes section.
● Michael(tm) Smith: lists.xsl
Added some templates for generating if-then-else conditional
markup in groff, so let's use those instead of hard-coding it in
multiple places...
● Michael(tm) Smith: other.xsl; utility.xsl
Initial checkin of some changes related to making PS/PDF output
from "man -l -Tps" look better. The current changes:
- render synopsis and verbatim sections in a monospace/code font
- put a light-grey background behind all programlisting, screen,
and literallayout instances
- prevent SH heads in PS output from being rendered in uppercase
(as they are in console output)
- also display xrefs to SH heads in PS output in normal case
(instead of uppercase)
- draw a line under SH heads in PS output
The changes made to the code to support the above features were:
- added some embedded/custom macros: one for conditionally
upper-casing SH x-refs, one for redefining the SH macro
itself, with some conditional handling for PS output, and
finally a macro for putting a background/screen (filled box)
around a block of text (e.g., a program listing) in PS output
- added utility templates for wrapping blocks of text in code
font; also templates for inline code font
● Robert Stayton: refentry.xsl
refpurpose nodes now get apply-templates instead of just normalize-space().
● Michael(tm) Smith: lists.xsl
Fixed alignment of first lined of text for each listitem in
orderedlist output for TTY. Existing code seemed to have been
causing an extra undesirable space to appear.
● Michael(tm) Smith: lists.xsl
Wrapped some roff conditionals around roff markup for orderedlist
and itemizedlist output, so that the lists look acceptable in PS
output as well as TTY.
● Michael(tm) Smith: pi.xsl; synop.xsl; param.xweb; param.ent
Added the man.funcsynopsis.style parameter. Has the same effect in
manpages output as the funcsynopsis.style parameter has in HTML
output -- except that its default value is 'ansi' instead of 'kr'.
● Michael(tm) Smith: synop.xsl
Reworked handling of K&R funcprototype output. It no longer relies
on the HTML kr-tabular templates, but instead just does direct
transformation to roff. For K&R output, it displays the paramdef
output in an indented list following the prototype.
● Michael(tm) Smith: synop.xsl
Properly integrated handling for K&R output into manpages
stylesheet. The choice between K&R output and ANSI output is
currently controlled through use of the (HTML) funcsynopsis.style
parameter. Note that because the mechanism does currently rely on
funcsynopsis.style, the default in manpages output is now K&R
(because that's the default of that param). But I suppose I ought
to create a man.funcsynopsis.style and make the default for that
ANSI (to preserve the existing default behavior).
● Michael(tm) Smith: docbook.xsl
added manpages/pi.xsl file
● Michael(tm) Smith: .cvsignore; pi.xsl
Added "dbman funcsynopsis-style" PI and incorporated it into the
doc build.
● Michael(tm) Smith: refentry.xsl
Fixed regression that caused an unescaped dash to be output
between refname and refpurpose content. Closes bug #1894244.
Thanks to Daniel Leidert.
● Michael(tm) Smith: other.xsl
Fixed problem with dots being escaped in filenames of generated
man files. Closes #1827195. Thanks to Daniel Leidert.
● Michael(tm) Smith: inline.xsl
Added support for processing structfield (was appearing in roff
output surrounded by HTML tags; fixed so that it gets roff
ital markup). Closes bug #1858329. Thanks to Sam Varshavchik.
Epub
The following changes have been made to the epub code since the 1.73.2 release.
● Keith Fahlgren: bin/spec/README; bin/spec/epub_realbook_spec.rb
'Realbook' spec now passes
● Keith Fahlgren: bin/dbtoepub; README; bin/spec/README; bin/lib/docbook.rb;
bin/spec/epub_r⋯
Very primitive Windows support for dbtoepub reference implementation; README for running tests and for the .epub target in general; shorter realbook test document (still fails for now)
● Keith Fahlgren: bin/dbtoepub; bin/spec/epub_regressions_spec.rb; bin/lib/
docbook.rb; bin/s⋯
Changes to OPF spine to not duplicate idrefs for documents with parts not at the root; regression specs for same
● Keith Fahlgren: docbook.xsl
Fixing linking to cover @id, distinct from other needs of cover-image-id (again, thanks to Martin Goerner)
● Keith Fahlgren: docbook.xsl
Updating the title of the toc element in the guide to be more explicit (thanks to Martin Goerner)
● Keith Fahlgren: bin/spec/examples/amasque_exploded/content.opf; bin/spec/
examples/amasque_⋯
Initial checkin/merge of epub target from work provided by Paul Norton of Adobe
and Keith Fahlgren of O'Reilly.
● Keith Fahlgren: docbook.xsl
== General epub test support
$ spec -O ~/.spec.opts spec/epub_spec.rb
DocBook::Epub
- should be able to be created
- should fail on a nonexistent file
- should be able to render to a file
- should create a file after rendering
- should have the correct mimetype after rendering
- should be valid .epub after rendering an article
- should be valid .epub after rendering an article without sections
- should be valid .epub after rendering a book
- should be valid .epub after rendering a book even if it has one graphic
- should be valid .epub after rendering a book even if it has many graphics
- should be valid .epub after rendering a book even if it has many duplicated graphics
- should report an empty file as invalid
- should confirm that a valid .epub file is valid
- should not include PDFs in rendered epub files as valid image inclusions
- should include a TOC link in rendered epub files for s
Finished in 20.608395 seconds
15 examples, 0 failures
== Verbose epub test coverage against _all_ of the testdocs
Fails on only (errors truncated):
1)
'DocBook::Epub should be able to render a valid .epub for the test document /Users/keith/work/docbook-dev/trunk/xsl/epub/bin/spec/testdocs/calloutlist.003.xml [30]' FAILED
'DocBook::Epub should be able to render a valid .epub for the test document /Users/keith/work/docbook-dev/trunk/xsl/epub/bin/spec/testdocs/cmdsynopsis.001.xml [35]' FAILED
....
Finished in 629.89194 seconds
224 examples, 15 failures
224 examples, 15 failures yields 6% failure rate
HTMLHelp
The following changes have been made to the htmlhelp code since the 1.73.2
release.
● Mauritz Jeanson: htmlhelp-common.xsl
Added to calls to
the write.chunk, write.chunk.with.doctype, and write.text.chunk templates.
This makes chunk.quietly=1 suppress chunk filename messages also for help
support files (which seems to be what one would expect). See bug #1648360.
Eclipse
The following changes have been made to the eclipse code since the 1.73.2
release.
● David Cramer: eclipse.xsl
Use sortas attributes (if they exist) when sorting indexterms
● David Cramer: eclipse.xsl
Added support for indexterm/see in eclipse index.xml
● Mauritz Jeanson: eclipse.xsl
Added
to helpidx template.
● David Cramer: eclipse.xsl
Generate index.xml file and add related goo to plugin.xml file. Does not yet support see and seealso.
● Mauritz Jeanson: eclipse.xsl
Added to calls to
the write.chunk, write.chunk.with.doctype, and write.text.chunk templates.
This makes chunk.quietly=1 suppress chunk filename messages also for help
support files (which seems to be what one would expect). See bug #1648360.
JavaHelp
The following changes have been made to the javahelp code since the 1.73.2
release.
● Mauritz Jeanson: javahelp.xsl
Added to calls to
the write.chunk, write.chunk.with.doctype, and write.text.chunk templates.
This makes chunk.quietly=1 suppress chunk filename messages also for help
support files (which seems to be what one would expect). See bug #1648360.
Roundtrip
The following changes have been made to the roundtrip code since the 1.73.2
release.
● Steve Ball: blocks2dbk.xsl; wordml2normalise.xsl
fix table/cell borders for wordml, fix formal figure, add emphasis-strong
● Mauritz Jeanson: supported.xml
Changed @cols to 5.
● Steve Ball: blocks2dbk.xsl; blocks2dbk.dtd; template.xml
added pubdate, fixed metadata handling in biblioentry
● Steve Ball: supported.xml
Added support for edition.
● Steve Ball: docbook-pages.xsl; wordml-blocks.xsl; docbook.xsl; wordml.xsl;
pages-normalise⋯
Removed stylesheets for old, deprecated conversion method.
● Steve Ball: specifications.xml; dbk2ooo.xsl; blocks2dbk.xsl; dbk2pages.xsl;
blocks2dbk.dtd⋯
Added support for Open Office, added edition element, improved list and table support in Word and Pages
● Steve Ball: normalise-common.xsl; blocks2dbk.xsl; dbk2pages.xsl;
template-pages.xml; templ⋯
Fixed bug in WordML table handling, improved table handling for Pages 08, synchronised WordML and Pages templates.
● Steve Ball: normalise-common.xsl; blocks2dbk.xsl; wordml2normalise.xsl;
dbk2wp.xsl
fix caption, attributes
● Steve Ball: specifications.xml; blocks2dbk.xsl; wordml2normalise.xsl;
blocks2dbk.dtd; temp⋯
Fixes to table and list handling
● Steve Ball: blocks2dbk.xsl
added support for explicit emphasis character styles
● Steve Ball: wordml2normalise.xsl
added support for customisation in image handling
● Steve Ball: blocks2dbk.xsl
Added inlinemediaobject support for metadata.
● Steve Ball: normalise-common.xsl; blocks2dbk.xsl; template.xml;
dbk2wordml.xsl; dbk2wp.xsl
Added support file. Added style locking. Conversion bug fixes.
Slides
The following changes have been made to the slides code since the 1.73.2
release.
● Michael(tm) Smith: fo/Makefile; html/Makefile
Added checks and hacks to various makefiles to enable building
under Cygwin. This stuff is ugly and maybe not worth the mess and
trouble, but does seem to work as expected and not break anything
else.
● Jirka Kosek: html/plain.xsl
Added support for showing foil number
Website
The following changes have been made to the website code since the 1.73.2
release.
● Michael(tm) Smith: extensions/saxon64/.classes/.gitignore; extensions/
xalan2/.classes/com/⋯
renamed a bunch more .cvsignore files to .gitignore (to facilitate use of git-svn)
Params
The following changes have been made to the params code since the 1.73.2
release.
● Keith Fahlgren: epub.autolabel.xml
New parameter for epub, epub.autolabel
● Mauritz Jeanson: table.frame.border.color.xml; table.cell.padding.xml;
table.cell.border.t⋯
Added missing refpurposes and descriptions.
● Keith Fahlgren: ade.extensions.xml
Extensions to support Adobe Digital Editions extensions in .epub output.
● Mauritz Jeanson: fop.extensions.xml; fop1.extensions.xml
Clarified that fop1.extensions is for FOP 0.90 and later. Version 1 is not here yet...
● Michael(tm) Smith: man.links.are.underlined.xml;
man.endnotes.list.enabled.xml; man.font.l⋯
removed man.links.are.underlined and added man.font.links. Also,
changed the default font formatting for links to bold.
● Michael(tm) Smith: man.base.url.for.relative.links.xml
Added new param man.base.url.for.relative.links .. specifies a
base URL for relative links (for ulink, @xlink:href, imagedata,
audiodata, videodata) shown in the generated NOTES section of
man-page output. The value of man.base.url.for.relative.links is
prepended to any relative URI that is a value of ulink url,
xlink:href, or fileref attribute.
If you use relative URIs in link sources in your DocBook refentry
source, and you leave man.base.url.for.relative.links unset, the
relative links will appear "as is" in the NOTES section of any
man-page output generated from your source. That's probably not
what you want, because such relative links are only usable in the
context of HTML output. So, to make the links meaningful and
usable in the context of man-page output, set a value for
man.base.url.for.relative.links that points
to the online version of HTML output generated from your DocBook
refentry source. For example:
http://www.kernel.org/pub/software/scm/git/docs/
● Michael(tm) Smith: man.string.subst.map.xml
squeeze .sp\n.sp into a single .sp (to prevent a extra, spurious
line of whitespace from being inserted after programlisting etc.
in certain cases)
● Michael(tm) Smith: refentry.manual.fallback.profile.xml;
refentry.source.fallback.profile.⋯
don't use refmiscinfo@class=date value as fallback for refentry
"source" or "manual" metadata fields
● Michael(tm) Smith: man.charmap.subset.profile.xml; man.charmap.enabled.xml;
man.charmap.su⋯
made some further doc tweaks related to the
man.charmap.subset.profile.english param
● Michael(tm) Smith: man.charmap.subset.profile.xml; man.charmap.enabled.xml;
man.charmap.su⋯
Added the man.charmap.subset.profile.english parameter and refined
the handling of charmap subsets to differentiate between English
and non-English source.
This way charmap subsets are now handled is this:
If the value of the man.charmap.use.subset parameter is non-zero,
and your DocBook source is not written in English (that is, if its
lang or xml:lang attribute has a value other than en), then the
character-map subset specified by the man.charmap.subset.profile
parameter is used instead of the full roff character map.
Otherwise, if the lang or xml:lang attribute on the root element
in your DocBook source or on the first refentry element in your
source has the value en or if it has no lang or xml:lang
attribute, then the character-map subset specified by the
man.charmap.subset.profile.english parameter is used instead of
man.charmap.subset.profile.
The difference between the two subsets is that
man.charmap.subset.profile provides mappings for characters in
Western European languages that are not part of the Roman
(English) alphabet (ASCII character set).
● Michael(tm) Smith: man.charmap.subset.profile.xml
Added to default charmap used by manpages:
- the "letters" part of the 'C1 Controls And Latin-1 Supplement
(Latin-1 Supplement)' Unicode block
- Latin Extended-A block (but not all of the characters from
that block have mappings in groff, so some of them are still
passed through as-is)
The effects of this change are that in man pages generated for
most Western European languages and for Finnish, all characters
not part of the Roman alphabet are (e.g., "accented" characters)
are converted to groff escapes.
Previously, by default we passed through those characters as is
(and users needed to use the full charmap if they wanted to have
those characters converted).
As a result of this change, man pages generated for Western
European languages will be viewable in some environments in which
they are not viewable if the "raw" non-Roman characters are in them.
● Mauritz Jeanson: generate.legalnotice.link.xml;
generate.revhistory.link.xml
Added information on how the filename is computed.
● Mauritz Jeanson: default.table.width.xml
Clarified PI usage.
● Michael(tm) Smith: man.funcsynopsis.style.xml
Added the man.funcsynopsis.style parameter. Has the same effect in
manpages output as the funcsynopsis.style parameter has in HTML
output -- except that its default value is 'ansi' instead of 'kr'.
● Michael(tm) Smith: funcsynopsis.tabular.threshold.xml
Removed the funcsynopsis.tabular.threshold param. It's no longer
being used in the code and hasn't been since mid 2006.
● Mauritz Jeanson: table.properties.xml
Set keep-together.within-column to "auto". This seems to be the most sensible
default value for tables.
● Mauritz Jeanson: informal.object.properties.xml;
admon.graphics.extension.xml; informalequ⋯
Several small documentation fixes.
● Mauritz Jeanson: manifest.in.base.dir.xml
Wording fixes.
● Mauritz Jeanson: header.content.properties.xml;
footer.content.properties.xml
Added refpurpose.
● Mauritz Jeanson: ulink.footnotes.xml; ulink.show.xml
Updated for DocBook 5.
● Mauritz Jeanson: index.method.xml; glossterm.auto.link.xml
Spelling and wording fixes.
● Mauritz Jeanson: callout.graphics.extension.xml
Clarifed available graphics formats and extensions.
● Mauritz Jeanson: footnote.sep.leader.properties.xml
Corrected refpurpose.
● Jirka Kosek: footnote.properties.xml
Added more properties which make it possible to render correctly footnotes placed inside verbatim elements.
● Mauritz Jeanson: img.src.path.xml
img.src.path works with inlinegraphic too.
● Mauritz Jeanson: saxon.character.representation.xml
Added TCG link.
● Mauritz Jeanson: img.src.path.xml
Updated description of img.src.path. Bug #1785224 revealed that
there was a risk of misunderstanding how it works.
Profiling
The following changes have been made to the profiling code since the 1.73.2
release.
● Jirka Kosek: xsl2profile.xsl
Added new rules to profile all content generated by HTML Help (including alias files)
● Robert Stayton: profile-mode.xsl
use mode="profile" instead of xsl:copy-of for attributes so
they can be more easily customized.
Tools
The following changes have been made to the tools code since the 1.73.2
release.
● Michael(tm) Smith: make/Makefile.DocBook
various changes and additions to support making with asciidoc as
an input format
● Michael(tm) Smith: make/Makefile.DocBook
make dblatex the default PDF maker for the example makefile
● Michael(tm) Smith: xsl/build/html2roff.xsl
Reworked handling of K&R funcprototype output. It no longer relies
on the HTML kr-tabular templates, but instead just does direct
transformation to roff. For K&R output, it displays the paramdef
output in an indented list following the prototype.
● Mauritz Jeanson: xsl/build/make-xsl-params.xsl
Made attribute-sets members of the param list. This enables links to attribute-sets in the
reference documentation.
● Michael(tm) Smith: xsl/build/html2roff.xsl
use .BI handling in K&R funsynopsis output for manpages, just as
we do already of ANSI output
● Michael(tm) Smith: xsl/build/html2roff.xsl
Implemented initial support for handling tabular K&R output of
funcprototype in manpages output. Accomplished by adding more
templates to the intermediate HTML-to-roff stylesheet that the
build uses to create the manpages/html-synop.xsl stylesheet.
● Michael(tm) Smith: xsl/build/doc-link-docbook.xsl
Made the xsl/tools/xsl/build/doc-link-docbook.xsl stylesheet
import profile-docbook.xsl, so that we can do profiling of release
notes. Corrected some problems in the target for the release-notes
HTML build.
Extensions
The following changes have been made to the extensions code since the 1.73.2
release.
● Keith Fahlgren: Makefile
Use DOCBOOK_SVN variable everywhere, please; build with PDF_MAKER
● Michael(tm) Smith: Makefile
moved extensions build targets from master xsl/Makefile to
xsl/extensions/Makefile
● Michael(tm) Smith: .cvsignore
re-adding empty extensions subdir
XSL-Saxon
The following changes have been made to the xsl-saxon code since the 1.73.2
release.
● Michael(tm) Smith: VERSION
bring xsl2, xsl-saxon, and xsl-xalan VERSION files up-to-date with
recent change to snapshot build infrastructure
● Michael(tm) Smith: nbproject/build-impl.xml; nbproject/project.properties
Changed hard-coded file references in "clean" target to variable
references. Closes #1792043. Thanks to Daniel Leidert.
● Michael(tm) Smith: VERSION; Makefile
Did post-release wrap-up of xsl-saxon and xsl-xalan dirs
● Michael(tm) Smith: nbproject/build-impl.xml; VERSION; Makefile; test
More tweaks to get release-ready
XSL-Xalan
The following changes have been made to the xsl-xalan code since the 1.73.2
release.
● Michael(tm) Smith: VERSION
bring xsl2, xsl-saxon, and xsl-xalan VERSION files up-to-date with
recent change to snapshot build infrastructure
● Michael(tm) Smith: nbproject/build-impl.xml
Changed hard-coded file references in "clean" target to variable
references. Closes #1792043. Thanks to Daniel Leidert.
● Michael(tm) Smith: Makefile; VERSION
Did post-release wrap-up of xsl-saxon and xsl-xalan dirs
● Michael(tm) Smith: Makefile; nbproject/build-impl.xml; VERSION
More tweaks to get release-ready
XSL-libxslt
The following changes have been made to the xsl-libxslt code since the 1.73.2
release.
● Mauritz Jeanson: python/xslt.py
Print the result to stdout if no outfile has been given.
Some unnecessary semicolons removed.
● Mauritz Jeanson: python/xslt.py
Added a function that quotes parameter values (to ensure that they are interpreted as strings).
Replaced deprecated functions from the string module with string methods.
● Michael(tm) Smith: python/README; python/README.LIBXSLT
renamed xsl-libxslt/python/README to xsl-libxslt/python/README.LIBXSLT
● Mauritz Jeanson: python/README
Tweaked the text a little.
Release Notes: 1.73.2
This is solely a minor bug-fix update to the 1.73.1 release. It fixes a
packaging error in the 1.73.1 package, as well as a bug in footnote handling in
FO output.
Release: 1.73.1
This is mostly a bug-fix update to the 1.73.0 release.
Gentext
The following changes have been made to the gentext code since the 1.73.0
release.
● Mauritz Jeanson: locale/de.xml
Applied patch #1766009.
● Michael(tm) Smith: locale/lv.xml
Added localization for ProductionSet.
FO
The following changes have been made to the fo code since the 1.73.0 release.
● Mauritz Jeanson: table.xsl
Modified the tgroup template so that, for tables with multiple tgroups,
a width attribute is output on all corresponding fo:tables. Previously,
there was a test prohibiting this (and a comment saying that outputting more
than one width attribute will cause an error). But this seems to be no longer
relevant; it is not a problem with FOP 0.93 or XEP 4.10. Closes bug #1760559.
● Mauritz Jeanson: graphics.xsl
Replaced useless elements with warning messages (textinsert extension).
● Mauritz Jeanson: admon.xsl
Enabled generation of ids (on fo:wrapper) for indexterms in admonition titles, so that page
references in the index can be created. Closes bug #1775086.
HTML
The following changes have been made to the html code since the 1.73.0 release.
● Mauritz Jeanson: titlepage.xsl
Added to abstract template
so that footnotes in info/abstract are processed. Closes bug #1760907.
● Michael(tm) Smith: pi.xsl; synop.xsl
Changed handling of HTML output for the cmdsynopsis and
funcsynopsis elements, such that a@id instances are generated for
them if they are descendants of any element containing a dbcmdlist
or dbfunclist PI. Also, update the embedded reference docs for the
dbcmdlist and dbfunclist PIs to make it clear that they can be
used within any element for which cmdsynopsis or funcsynopsis are
valid children.
● Michael(tm) Smith: formal.xsl
Reverted the part of revision 6952 that caused a@id anchors to be
generated for output of informal objects. Thanks to Sam Steingold
for reporting.
● Robert Stayton: glossary.xsl
Account for a glossary with no glossdiv or glossentry children.
● Mauritz Jeanson: titlepage.xsl
Modified legalnotice template so that the base.name parameter is calculated
in the same way as for revhistory chunks. Using did not work for single-page output since
the template with that mode is in chunk-code.xsl.
● Mauritz Jeanson: graphics.xsl
Updated support for SVG (must be a child of imagedata in DB 5).
Added support for MathML in imagedata.
● Mauritz Jeanson: pi.xsl
Added documentation for the dbhh PI (used for context-sensitive HTML Help).
(The two templates matching 'dbhh' are still in htmlhelp-common.xsl).
Manpages
The following changes have been made to the manpages code since the 1.73.0
release.
● Michael(tm) Smith: endnotes.xsl
In manpages output, generate warnings about notesources with
non-para children only if the notesource is a footnote or
annotation. Thanks to Sam Steingold for reporting problems with
the existing handling.
HTMLHelp
The following changes have been made to the htmlhelp code since the 1.73.0
release.
● Michael(tm) Smith: htmlhelp-common.xsl
Added single-pass namespace-stripping support to the htmlhelp,
eclipse, and javahelp stylesheets.
Eclipse
The following changes have been made to the eclipse code since the 1.73.0
release.
● Michael(tm) Smith: eclipse.xsl
Added single-pass namespace-stripping support to the htmlhelp,
eclipse, and javahelp stylesheets.
JavaHelp
The following changes have been made to the javahelp code since the 1.73.0
release.
● Michael(tm) Smith: javahelp.xsl
Added single-pass namespace-stripping support to the htmlhelp,
eclipse, and javahelp stylesheets.
Roundtrip
The following changes have been made to the roundtrip code since the 1.73.0
release.
● Steve Ball: blocks2dbk.xsl; blocks2dbk.dtd; pages2normalise.xsl
Modularised blocks2dbk to allow customisation,
Added support for tables to pages2normalise
Params
The following changes have been made to the params code since the 1.73.0
release.
● Robert Stayton: procedure.properties.xml
procedure was inheriting keep-together from formal.object.properties, but
a procedure does not need to be kept together by default.
● Dave Pawson: title.font.family.xml;
component.label.includes.part.label.xml; table.frame.b⋯
Regular formatting re-org.
Release: 1.73.0
This release includes important bug fixes and adds the following significant
feature changes:
New localizations and localization updates
We added two new localizations: Latvian and Esperanto, and made updates to
the Czech, Chinese Simplified, Mongolian, Serbian, Italian, and Ukrainian
localizations.
ISO690 citation style for bibliography output.
Set the bibliography.style parameter to iso690 to use ISO690 style.
New documentation for processing instructions (PI)
The reference documentation that ships with the release now includes
documentation on all PIs that you can use to control output from the
stylesheets.
New profiling parameters for audience and wordsize
You can now do profiling based on the values of the audience and wordsize
attributes.
Changes to man-page output
The manpages stylesheet now supports single-pass profiling and single-pass
DocBook 5 namespace stripping (just as the HTML and FO stylesheets also
do). Also, added handling for mediaobject & inlinemediaobject. (Each
imagedata, audiodata, or videodata element within a mediaobject or inline
mediaobject is now treated as a "notesource" and so handled in much the
same way as links and annotation/alt/footnote are in manpages output.) And
added the man.authors.section.enabled and man.copyright.section.enabled
parameters to enable control over whether output includes auto-generated
AUTHORS and COPYRIGHT sections.
Highlighting support for C
The highlighting mechanism for generating syntax-highlighted code snippets
in output now supports C code listings (along with Java, PHP, XSLT, and
others).
Experimental docbook-xsl-update script
We added an experimental docbook-xsl-update script, the purpose of which is
to facilitate easy sync-up to the latest docbook-xsl snapshot (by means of
rsync).
Gentext
The following changes have been made to the gentext code since the 1.72.0
release.
● Michael(tm) Smith: locale/lv.xml; Makefile
Added Latvian localization file, from Girts Ziemelis.
● Dongsheng Song: locale/zh_cn.xml
Brought up to date with en.xml in terms of items. A few strings marked for translation.
● Jirka Kosek: locale/cs.xml
Added missing translations
● Robert Stayton: locale/eo.xml
New locale for Esperanto.
● Robert Stayton: locale/mn.xml
Update from Ganbold Tsagaankhuu.
● Jirka Kosek: locale/en.xml; locale/cs.xml
Rules for normalizing glossary entries before they are sorted can be now different for each language.
● Michael(tm) Smith: locale/sr_Latn.xml; locale/sr.xml
Committed changes from Miloš Komarčević to Serbian files.
● Robert Stayton: locale/ja.xml
Fix chapter in context xref-number-and-title
● Robert Stayton: locale/it.xml
Improved version from contributor.
● Mauritz Jeanson: locale/uk.xml
Applied patch 1592083.
Common
The following changes have been made to the common code since the 1.72.0
release.
● Michael(tm) Smith: labels.xsl
Changed handling of reference auto-labeling such that reference
(when it appears at the component level) is now affected by the
label.from.part param, just as preface, chapter, and appendix.
● Michael(tm) Smith: common.xsl
Added support to the HTML stylesheets for proper processing of
orgname as a child of author.
● Michael(tm) Smith: refentry.xsl
Refined logging output of refentry metadata-gathering template;
for some cases of "missing" elements (refmiscinfo stuff, etc.),
the log messages now include URL to corresponding page in the
Definitive Guide (TDG).
● Robert Stayton: titles.xsl
Add refsection/info/title support.
● Michael(tm) Smith: titles.xsl
Added support for correct handling of xref to elements that
contain info/title descendants but no title children.
This should be further refined so that it handles any *info
elements. And there are probably some other places where similar
handling for *info/title should be added.
● Mauritz Jeanson: pi.xsl
Modified in datetime.format template to work
around Xalan bug.
FO
The following changes have been made to the fo code since the 1.72.0 release.
● Robert Stayton: component.xsl
Add parameters to the page.sequence utility template.
● Mauritz Jeanson: xref.xsl
Added template for xref to area/areaset.
Part of fix for bug #1675513 (xref to area broken).
● Michael(tm) Smith: inline.xsl
Added template match for person element to fo stylesheet.
● Robert Stayton: lists.xsl
Added support for spacing="compact" in variablelist, per bug report #1722540.
● Robert Stayton: table.xsl
table pgwide="1" should also use pgwide.properties attribute-set.
● Mauritz Jeanson: inline.xsl
Make citations numbered if bibliography.numbered != 0.
● Robert Stayton: param.xweb; param.ent
Add new profiling parameters for audience and wordsize.
● Robert Stayton: param.xweb; param.ent
Added callout.icon.size parameter.
● Robert Stayton: inline.xsl; xref.xsl
Add support for xlink as olink.
● Robert Stayton: autotoc.xsl; param.xweb; param.ent
Add support for qanda.in.toc to fo TOC.
● Robert Stayton: component.xsl
Improved the page.sequence utility template for use with book.
● Robert Stayton: division.xsl
Refactored the big book template into smaller pieces.
Used the "page.sequence" utility template in
component.xsl to shorten the toc piece.
Added placeholder templates for front.cover and back.cover.
● Robert Stayton: param.xweb; param.ent; sections.xsl
Add section.container.element parameter to enable
pgwide spans inside sections.
● Robert Stayton: param.xweb; param.ent; component.xsl
Add component.titlepage.properties attribute-set to
support span="all" and other properties.
● Robert Stayton: htmltbl.xsl; table.xsl
Apply table.row.properties template to html tr rows too.
Add keep-with-next to table.row.properties when row is in thead.
● Robert Stayton: table.xsl
Add support for default.table.frame parameter.
Fix bug 1575446 rowsep last check for @morerows.
● Robert Stayton: refentry.xsl
Add support for info/title in refsections.
● David Cramer: qandaset.xsl
Make fo questions and answers behave the same way as html
● Jirka Kosek: lists.xsl
Added missing attribute set for procedure
● Jirka Kosek: param.xweb; biblio.xsl; docbook.xsl; param.ent;
biblio-iso690.xsl
Added support for formatting biblioentries according to ISO690 citation style.
New bibliography style can be turned on by setting parameter bibliography.style to "iso690"
The code was provided by Jana Dvorakova
● Robert Stayton: param.xweb; param.ent; pagesetup.xsl
Add header.table.properties and footer.table.properties attribute-sets.
● Robert Stayton: inline.xsl
Add fop1.extensions for menuchoice arrow handling exception.
HTML
The following changes have been made to the html code since the 1.72.0 release.
● Mauritz Jeanson: param.xweb; param.ent
Moved declaration and documentation of javahelp.encoding from javahelp.xsl to the
regular "parameter machinery".
● Michael(tm) Smith: admon.xsl
Changed handling of titles for note, warning, caution, important,
tip admonitions: We now output and HTML h3 head only if
admon.textlabel is non-zero or if the admonition actually contains
a title; otherwise, we don't output an h3 head at all.
(Previously, we were outputting an empty h3 if the admon.textlabel
was zero and if the admonition had no title.)
● Mauritz Jeanson: xref.xsl
Added template for xref to area/areaset.
Part of fix for bug #1675513 (xref to area broken).
● Mauritz Jeanson: titlepage.xsl; component.xsl; division.xsl; sections.xsl
Added fixes to avoid duplicate ids when generate.id.attributes = 1.
This (hopefully) closes bug #1671052.
● Michael(tm) Smith: formal.xsl; pi.xsl
Made the dbfunclist PI work as intended. Also added doc for
dbfunclist and dbcmdlist PIs.
● Michael(tm) Smith: pi.xsl; synop.xsl
Made the dbcmdlist work the way it appears to have been intended
to work. Restored dbhtml-dir template back to pi.xsl.
● Michael(tm) Smith: titlepage.xsl; param.xweb; param.ent
Added new param abstract.notitle.enabled.
If non-zero, in output of the abstract element on titlepages,
display of the abstract title is suppressed.
Because sometimes you really don't want or need that title
there...
● Michael(tm) Smith: chunk-code.xsl; graphics.xsl
When we are chunking long descriptions for mediaobject instances
into separate HTML output files, and use.id.as.filename is
non-zero, if a mediaobject has an ID, use that ID as the basename
for the long-description file (otherwise, we generate an ID for it
and use that ID as the basename for the file).
The parallels the recent change made to cause IDs for legalnotice
instances to be used as basenames for legalnotice chunks.
Also, made some minor refinements to the recent changes for
legalnotice chunk handling.
● Michael(tm) Smith: titlepage.xsl
Added support to the HTML stylesheets for proper processing of
orgname as a child of author.
● Michael(tm) Smith: chunk-code.xsl
When $generate.legalnotice.link is non-zero and
$use.id.as.filename is also non-zero, if a legalnotice has an ID,
then instead of assigning the "ln-" basename to the
output file for that legalnotice, just use its real ID as the
basename for the file -- as we do when chunking other elements
that have IDs.
● David Cramer: xref.xsl
Handle alt text on xrefs to steps when the step doesn't have a title.
● David Cramer: lists.xsl
Added element around term in variablelist when formatted as table to avoid misalignment of term and listitem in xhtml (non-quirks mode) output
● David Cramer: qandaset.xsl
Added
element around question and answer labels to avoid misalignment of label and listitem in xhtml (non-quirks mode) output
● David Cramer: lists.xsl
Added