Michael Smith [Sat, 18 Aug 2007 23:59:53 +0000 (23:59 +0000)]
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.
Mauritz Jeanson [Sat, 18 Aug 2007 16:27:46 +0000 (16:27 +0000)]
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.
Michael Smith [Sat, 18 Aug 2007 10:19:00 +0000 (10:19 +0000)]
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.
Mauritz Jeanson [Sat, 18 Aug 2007 06:50:21 +0000 (06:50 +0000)]
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.
Mauritz Jeanson [Wed, 15 Aug 2007 13:17:01 +0000 (13:17 +0000)]
Modified legalnotice template so that the base.name parameter is calculated
in the same way as for revhistory chunks. Using <xsl:apply-templates
mode="chunk-filename" select="."/> did not work for single-page output since
the template with that mode is in chunk-code.xsl.
Mauritz Jeanson [Wed, 15 Aug 2007 10:44:03 +0000 (10:44 +0000)]
Moved the raw.help.title and help.title variables to the hhp-main template to make sure
a value is assigned after the namespace-stripping has been done. This prevents "Request
for title of element with no title" errors.
Added "//db:indexterm[1]|//ng:indexterm[1]" to the select expression of the global
htmlhelp.generate.index parameter, so that an index can be built for both DB 4 and
DB 5/NG documents (it's a little ugly, but a value needs to be assigned somehow).
Michael Smith [Thu, 9 Aug 2007 10:35:12 +0000 (10:35 +0000)]
Use "-pre" instead of "+pre" because version number ends up in ID
values and causes errors because it's not an NCName (getting
really tired of that arbitrary and unnecessary restriction...)
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.