Michael Smith [Thu, 1 Mar 2007 11:09:31 +0000 (11:09 +0000)]
Turned off xalan2.jar build. This removes DocBook XSL
Java extensions support for versions of Xalan prior to
Xalan 2.7. If you are currently using the extensions
with an earlier version of Xalan, you need to upgrade
to Xalan 2.7.
Bob Stayton [Wed, 28 Feb 2007 18:08:17 +0000 (18:08 +0000)]
Refactored the chunking modules to move all named templates to
chunk-common.xsl and all match templates to chunk-code.xsl, in
order to enable better chunk customization.
See the comments in chunk.xsl for more details.
Michael Smith [Mon, 26 Feb 2007 20:04:25 +0000 (20:04 +0000)]
Reverted necessary escaping of backslash, dot, and dash
out of the well-intentioned (but it now appears,
misguided) "marker" mechanism (introduced in the 1.72.0
release) -- which made use of alternative "marker"
characters as internal representations of those
characters, and then replaced them just prior to
serialization -- and back into what's basically the
system that was used prior to the 1.69.0 release; that
is, into a part of stylesheet code that gets executed
at the beginning of processing -- before any other roff
markup up is. This change obviates the need for the
marker system. It also requires a lot less RAM during
processing (for large files, the marker mechanism
ending up requiring gigabytes of memory).
Closes bug #1661177. Thanks to Scott Smedley for
providing a test case (the fvwm man page) that exposed
the problem with the marker mechanism.
Also moved the mechanism for converting non-breaking
spaces back into the same area of the stylesheet code.
Michael Smith [Wed, 21 Feb 2007 18:33:33 +0000 (18:33 +0000)]
Port from docs-in-db5 branch of all DocBook5-formatted
params and all associated build changes needed for
building the param.xsl files and docs from them.
Michael Smith [Wed, 21 Feb 2007 08:04:54 +0000 (08:04 +0000)]
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.
Jirka Kosek [Sun, 18 Feb 2007 22:12:16 +0000 (22:12 +0000)]
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
Michael Smith [Wed, 7 Feb 2007 16:40:42 +0000 (16:40 +0000)]
Make sure that all listitems in itemizedlist and orderedlist are
preceded by a blank line. This fixes a regression that occurred
when instances of the TP macro that were use in a previous
versions of the list-handling code were switched to RS/RE (because
TP doesn't support nesting). TP automatically generates a blank
line, but RS doesn't. So I added a .sp before each .RS
Michael Smith [Mon, 5 Feb 2007 07:20:57 +0000 (07:20 +0000)]
Made a number of changes related to elements with
out-of-line content:
- Added handling for mediaobject & inlinemedidaobject.
Each imagedata, audiodata, or videodata element
within a mediaobject or inline mediaobject is now
treated as a "notesource" and so handled in much the
same way as links and annotation/alt/footnotes.
That means a numbered marker is generated inline to
mark the place in the main flow where the imagedata,
audiodata, or videodata element occurs, and a
corresponding numbered endnote for it is generated in
the endnotes list at the end of the man page; the
endnote contains the URL from the fileref attribute
of the imagedata, audiodata, or videodata element.
For mediobject and inlinemediaobject instances that
have a textobject child, the textobject is displayed
within the main text flow.
- Renamed several man.link.* params to man.endnotes.*,
to reflect that fact that the endnotes list now
contains more than just links. Also did similar
renaming for a number of stylesheet-internal vars.
- Added support for xlink:href (along with existing
support for the legacy ulink element).
- Cleaned up and streamlined the endnotes-handling
code. It's still messy and klunky and the basic
mechanism it uses is very inefficent for documents
that contain a lot of notesources, but at least it's
a bit better than it was.
Michael Smith [Fri, 2 Feb 2007 05:58:19 +0000 (05:58 +0000)]
Moved slides and website stylesheets into xsl tree. They have
shipped as part of xsl for the last three releases now, just been
getting pulled in as part of the build. Now that we're using svn,
it's trivial to actually move them in (and to move them back out
if we need to).
Michael Smith [Tue, 30 Jan 2007 06:43:18 +0000 (06:43 +0000)]
Changed http URLs in xsl:import instances to relative paths
instead (to account for fact that Website and Slides stylesheets
now ship as part of docbook-xsl). Thanks to Daniel Leidert.
Michael Smith [Mon, 29 Jan 2007 22:34:50 +0000 (22:34 +0000)]
Did some cleanup to the install.sh source and added a
docbook-xsl-update script to the docbook-xsl distro, the purpose
of which is to facilitate easy sync-up to the latest docbook-xsl
snapshot (by means of rynsc).
Mauritz Jeanson [Sun, 28 Jan 2007 17:30:36 +0000 (17:30 +0000)]
Fixed bug #1644881:
* Added curly braces around all $language attribute values.
* Moved declaration of language variable to top level of stylesheet.
Tested with Xalan, Saxon, and xsltproc.
Michael Smith [Mon, 22 Jan 2007 08:31:25 +0000 (08:31 +0000)]
Quit trying to be so smart about determining version number for
previous release. Instead just store the version number in a file
under version control.
Michael Smith [Mon, 22 Jan 2007 07:53:29 +0000 (07:53 +0000)]
Quit trying to be so smart about figuring out what the revision
number for the previous release is. Instead, just add the
PreviousRevision to version control. It holds the revision number
of the previous release. (That revision number is used by the
build to determine what changes have been committed since the
previous release). Simpler and much less error-prone.
Michael Smith [Mon, 22 Jan 2007 07:33:08 +0000 (07:33 +0000)]
Set svn:executable property on makedb5xsl file. Added db5.mk
makefile for automating build of docbook5-xsl package. Removed
db5files/VERSION file (because the db5.mk makefile changes the
VERSION file in place instead of copying it).
Michael Smith [Mon, 22 Jan 2007 07:29:39 +0000 (07:29 +0000)]
Added capability to specific OFFLINE=yes to permit test builds of
"distrib" and "zip" targets when offline. Also, changed build such
that docsrc directory is not longer excluded from packaging.
Michael Smith [Mon, 22 Jan 2007 07:01:36 +0000 (07:01 +0000)]
Replaced all character entities and removed internal DTD subsets
(and thus removed reliance on external entity declarations for
ISO/W3C named character entities).
Michael Smith [Sun, 21 Jan 2007 08:37:12 +0000 (08:37 +0000)]
Changed VERSION file to include distro title (DocBook XSL
Stylesheets), and updated HTML, FO, and manpages stylesheets to
use that in their metadata sections (e.g., in HTML, the
<meta name="generator" ...> contents).
Michael Smith [Sun, 21 Jan 2007 08:33:44 +0000 (08:33 +0000)]
Removed single-pass namespace stripping from manpages stylesheet.
To process DocBook 5 instances, either use the experimental
namespace-aware DocBook 5 XSL 1.0 stylesheets, or pre-process your
source to do the namespace stripping (two-pass processing).