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).
Michael Smith [Fri, 19 Jan 2007 11:40:50 +0000 (11:40 +0000)]
Added doc for man.output.lang.in.name.enabled parameter. This
checkin completes support for writing file/pathnames for man-pages
with $lang include in the names. Closes #1585967. knightly
accolades to Daniel Leidert for providing the feature request.
Michael Smith [Fri, 19 Jan 2007 10:48:59 +0000 (10:48 +0000)]
Added new param man.output.lang.in.name.enabled, which
controls whether $LANG value is included in manpages
filenames and pathnames. It works like this:
If the value of man.output.lang.in.name.enabled is non-zero,
man-page files are output with the $lang value included in
their filenames or pathnames as follows;
- if man.output.subdirs.enabled is non-zero, each file is
output to, e.g., a /$lang/man8/foo.8 pathname
- if man.output.subdirs.enabled is zero, each file is output
with a foo.$lang.8 filename
Michael Smith [Fri, 19 Jan 2007 08:54:04 +0000 (08:54 +0000)]
Use "\e" instead of "\\" for backslash output, because the
groff docs say that's the correct thing to do; also because
testing (thanks, Paul Dubois) shows that "\\" doesn't always
work as expected; for example, "\\" within a table seems to
mess things up.
Michael Smith [Fri, 19 Jan 2007 08:33:52 +0000 (08:33 +0000)]
Added the man.string.subst.map.local.pre and
man.string.subst.map.local.post parameters. Those parameters
enable local additions and changes to string-substitution mappings
without the need to change the value of man.string.subst.map
parameter (which is for standard system mappings). Closes
#1456738. Thanks to Sam Steingold for constructing a true
stylesheet torture test (the clisp docs) that exposed the need for
these params.
Michael Smith [Fri, 19 Jan 2007 02:58:50 +0000 (02:58 +0000)]
Use U+2592 as an internal marker for linebreak around sbr output
(to prevent the break from getting eaten by some normalization
that the stylesheet does on synopses).
Use U+2580 as an internal marker for no-break space (to work
around a similar issue). Closes bug #1612808. Thanks to Simon
Walter for reporting it (the sbr bug).
Michael Smith [Thu, 18 Jan 2007 15:44:19 +0000 (15:44 +0000)]
Adjusted manpages stylesheet to use U+2593 as the internal
representation for the backslash character within the stylesheet.
This prevents backslashes in source content from getting eaten.
Closes #1609425. Thanks to Paul DuBois for reporting the bug.