Michael Smith [Mon, 6 Aug 2007 10:18:36 +0000 (10:18 +0000)]
Problem:
Rows in tables with more than 10 rows get sorted into incorrect
order.
Cause:
Code in manpages table handler does sorting, using xsl:sort, to
deal with instances of cells that span multiple rows. But that
sorting was being done alphabetically rather than numerically --
the reason being that the default sort method for xsl:sort is
"text" (alphabetical).
Fix:
Added @data-type=number to relevant xsl:sort instances in table
code.
Corrected refpurpose and description.
(The name of this parameter is misspelt, but I'm ignoring that for now.
The HTML Help section in TCG has the correct spelling, btw.)
Michael Smith [Fri, 27 Jul 2007 07:00:22 +0000 (07:00 +0000)]
- Added the "tag" make target (unfinished) for tagging releases.
- Renamed get-element.xsl to eval-xpath.xsl and modified it to be
capable of getting string value of a node based on an XPath
expression provided on the command line.
- Removed get-param.xsl as changes to the xsl/VERSION file make
get-params.xsl obsolete.
Replaced <font> with <span> and/or inline styles. This fixes the problem with <span class="ERROR">
in XHTML (and <font> is deprecated anyway). Closes bug #1715774.
Michael Smith [Wed, 25 Jul 2007 17:48:51 +0000 (17:48 +0000)]
The textinsert.extension parameter really does just enable the
textinsert extension (that is, it's not the parameter that inserts
the contents of external files - textinsert extension element does).
Michael Smith [Wed, 25 Jul 2007 16:58:02 +0000 (16:58 +0000)]
Reverted the r7131 change to the value of the
nominal.image.width param (the value is an literal expression
that's meant to be evaluated, not a string expression.
Michael Smith [Tue, 24 Jul 2007 06:56:52 +0000 (06:56 +0000)]
Minor clean-up of abstract.notitle.enabled.xml to make it follow
proper convention for default values for booleans. Also, added
abstract.notitle.enabled=1 to stylesheet we use for building the
reference docs for the distro (I though it was there and in fact
claimed that it was there, but, well, I guess I was
wrong/drunk/lying...)
Michael Smith [Tue, 24 Jul 2007 06:50:31 +0000 (06:50 +0000)]
Fixed test for abstract.notitle.enabled. The way I had it, it was
having an effect opposite to its documented effect; that is, it
was generating an abstract title only if abstract.notitle.enabled
was not zero; but it should actually generate the title only if
abstract.notitle.enabled *is* zero. Thanks to Marie Sauvage for
testing and reporting this very quickly after 1.73.0 was released.
Michael Smith [Tue, 24 Jul 2007 05:49:12 +0000 (05:49 +0000)]
Made the addns.xsl file import common/utility.xsl instead of
common/common.xsl (because I moved the logging template that it
calls from common.xsl to utility.xsl, but forgot to update the
import here...)
Michael Smith [Mon, 23 Jul 2007 08:42:24 +0000 (08:42 +0000)]
Added various changes to automate parts of the release build that
hadn't yet been automated, and to better integrate the
docbook-xsl-ns upload/install into the release build:
- we now build a "partial" text version of the release notes,
RELEASE-NOTES-PARTIAL.text, to use in the release
announcements and SF release notes
- now use a copy of the freshmeat-submit script in the
releasetools dir (so that others don't have to separately
download and install it)
- added an "announce" target that calls the "release-announce"
script, which sends announcement mail to docbook-apps
Michael Smith [Sun, 22 Jul 2007 12:19:19 +0000 (12:19 +0000)]
Added the man.authors.section.enabled and
man.copyright.section.enabled parameters. Set those to zero when
you want to suppress display of the auto-generated AUTHORS and
COPYRIGHT sections. Closes request #1467806. Thanks to Daniel
Leidert.
Added modifications so that the new callout.icon.size parameter is taken into account. This
parameter is used for FO output (where SVG now is the default graphics format for callouts).
Michael Smith [Thu, 19 Jul 2007 07:17:45 +0000 (07:17 +0000)]
Fixed a bug that caused broken links in some TOCs.
This change affects the code for generating links in HTML output.
It adds a new optional "toc.context" parameter to the href.target
template, and based on the value of that parameter, handles
link-generation in TOCs differently under a certain condition.
The gory details:
The code now checks to see if the output dir of any file being
linked to in a particular TOC is different from the output dir
the TOC is written to. If it is different, we do not call the
trim.common.uri.paths[1] template.
The reason is that, given the following case:
1. we are chunking into separate dirs
2. output for the TOC is written to current dir, but the file
being linked to is written to some subdir "foo".
For that case, links to that file in that TOC did not show
the correct path - they omitted the "foo".
The cause of that problem was that the trim.common.uri.paths
template was being called under all conditions. But it's
apparent that we don't want to call trim.common.uri.paths in
the case where a linked file is being written to a different
directory than the TOC that contains the link, because doing
so will cause a necessary (not redundant) directory-name
part of the link to get inadvertently trimmed, resulting in
a broken link to that file.
Thus, the conditional check was added to catch this case and to
handle it differently
[1] The purpose of the trim.common.uri.paths template is to
prevent cases where, if we didn't call it, we end up with
unnecessary, redundant directory names getting output; for
example, "foo/foo/refname.html".