Norman Walsh [Thu, 6 Oct 2005 16:27:40 +0000 (16:27 +0000)]
Move the stripns code to a common location; update @fileref and @entityref attributes in an attempt to handle the fact that the base URI gets mangled by the stripping copy.
Michael Smith [Wed, 5 Oct 2005 07:00:57 +0000 (07:00 +0000)]
Problem::
Number generated for Synopfragref output, but no number generated
in Synopfragment output.
Cause::
manpages stylesheets import the HTML stylesheets. manpages
stylesheets do not include a Synopfragref template, so they were
just picking up the HTML one. However, the manpages stylesheet
did have a Synopfragment template, which overrode the HTML one.
Problem is that the manpages Synopfragment was not complete.
Fix::
Correctly "ported" Synopfragment template from HTML stylesheets
and added manpages-specific character markup and features. As a
result of these changes, in the output now:
- correct numbers a generated for Synopfragment output
- Synopfragref contentes are italicized, as they should be
- Synopfragment output is output with a hanging indent (similar
to the hanging indent used for Cmysynopsis output)
- for cases where there are a group of Synopfragments together,
a line of vertical space is generated only before first, and
suppressed before subsequent ones.
Closes #599439. Thanks to Dennis Grace for reporting the problem
(long, long ago) and for submitting a patch (which was used as-is
but neverthelesss provided some insights).
Cause::
Some other fix made around the time of v1.68.0 introduced a
regression in behavior for cases where an Arg is preceded by an
Sbr. The Sbr produces a line break as expected, but the line break
is followed by a space and then the contents of the following Arg.
Fix::
The code for processing Args now checks to see if the first
preceding sibling of the Arg is an Sbr. If so, it does not output
the additional space; otherwise, it outputs the space.
Michael Smith [Mon, 3 Oct 2005 08:09:45 +0000 (08:09 +0000)]
Reverted previous change and added DIFFTAG check. Problem was not
in cvs2cl invocation; error occurred because no value was found
for DIFFTAG; in that case, we just want to skip generating
LatestChanges.
Michael Smith [Thu, 29 Sep 2005 15:00:45 +0000 (15:00 +0000)]
Generate localized title for Refsynopsisdiv if no appropriate
Title descendant found in source. Closes #1212398. This change
makes behavior for the Synopsis title consistent with the behavior
of HTML and manpages output.
Also, added xsl:use-attribute-sets="normal.para.spacing" to block
generated for Cmdsynopsis output. Previously, that block had no
spacing at all specified, which resulted it being crammed up to
closely to the Synopsis head.
Michael Smith [Thu, 29 Sep 2005 05:01:55 +0000 (05:01 +0000)]
Added "Cross References" section in HTML doc (for consistency with
the FO doc). Also, moved the existing FO "Cross References"
section to follow the "Linking" section.
Michael Smith [Thu, 29 Sep 2005 04:52:05 +0000 (04:52 +0000)]
Added ID attribues to all Reference elements (e.g., id="tables"
for the doc for section on Table params). So pages for all
subsections of ref docs now have stable filenames instead of
arbitrary generated filenames.
Michael Smith [Wed, 28 Sep 2005 18:26:23 +0000 (18:26 +0000)]
Removed misguided code intended for normalizing whitespace in term
output for HTML and FO. (It's not necessary for those, though it is
still needed in manpages output because we're using the .TP macro,
and first line following that is treated differently than the
subsequent lines. So we need to get rid of any embedded line
breaks from within the Term source.)
Michael Smith [Wed, 28 Sep 2005 09:36:46 +0000 (09:36 +0000)]
Added two new parameters for handling of multi-term varlistentry
elements:
variablelist.term.break.after:
When the variablelist.term.break.after is non-zero, it will
generate a line break after each term multi-term varlistentry.
variablelist.term.separator:
When a varlistentry contains multiple term elements, the string
specified in the value of the variablelist.term.separator
parameter is placed after each term except the last. The default
is ", " (a comma followed by a space). To suppress rendering of
the separator, set the value of variablelist.term.separator to
the empty string ("").
These parameters are primarily intended to be useful if you have
multi-term varlistentries that have long terms.
Closes #1306676. Thanks to Sam Steingold for providing an example
"lots of long terms" doc that demonstrated the value of having
these options.
Also, added normalize-space() call to processing of each term.
This change affects all output formats (HTML, PDF, manpages). The
default behavior should pretty much remain the same as before, but
it is possible (as always) that the change may introduce some new
bugginess.
Michael Smith [Wed, 28 Sep 2005 06:47:30 +0000 (06:47 +0000)]
Added a nested variablelist with a varlistentry that contains
multiple terms. (For testing handling of
variablelist.term.separator and variablelist.term.break.after).
Michael Smith [Wed, 28 Sep 2005 02:23:47 +0000 (02:23 +0000)]
Problem:
Garbage characters appear in content of Title attribute in HTML
output.
Cause:
Contents of Alt element, including line breaks, were being copied
over "as is" to value of Title attribute in HTML output. Line
breaks in Title appear a garbage characters when displayed as
pop-up "tool text".
Fix:
Added call to normalize-space() when transforming content of Alt
for HTML output. Closes #1254532. Thanks to Sam Steingold for
reporting the problem.
Michael Smith [Tue, 27 Sep 2005 04:37:56 +0000 (04:37 +0000)]
Added "wrapper-name" param to inline.charseq named template,
enabling it to output inlines other than just "span". Acronym and
Abbrev templates now use inline.charseq to output HTML "acronym"
and "abbr" elements (instead of "span"). Closes #1305468. Thanks
to Sam Steingold for suggesting the change.
Added bunch of new parameters (attribute sets) that affect list presentation: list.block.properties, itemizedlist.properties, orderedlist.properties, itemizedlist.label.properties and orderedlist.label.properties. Default behaviour of stylesheets has not been changed but further customizations will be much more easier.
Michael Smith [Tue, 20 Sep 2005 11:30:45 +0000 (11:30 +0000)]
Fixed handling of groff font requests output for Refsect1/Title
instances. Closes #1296252. Thanks to Paul DuBois for reporting.
Problem:
Instances of \\FB (instead of \\fB) in output for
Refsect1/Title.
Cause:
All content of Refsect1/Title gets uppercased (including any groff
requests that end up in the output.
Fix:
Added s/\\FB/\fB/, etc., matches to value of man.string.subst.map
param. (man.string.subst.map is basically used for "cleaning up"
borked groff markup output from initial formatting pass).
Affects:
This affects output of titles for all Refsect1-level headings in
manpages output.
Michael Smith [Tue, 20 Sep 2005 05:42:26 +0000 (05:42 +0000)]
Made some minor changes to get deal with a couple corner cases.
If somebody (say, Mike) checks in the VERSION file twice with the
same change description, it's possible for the merged changelog to
end with up something like:
* VERSION, VERSION: Version 1.69.1 released.
The existing version of mergechangelogs got confused by that, so I
added a regex match to catch instances like that.
Also, in running the snapshot builds, with the way I have the
snapshot build currently set up, it's useful for the build to just
automatically assume we are at version X.XX.1 if the previous
version was X.XX.0.
----------------------------------------------------------------------
You can enable crop marks in your document by setting crop.marks=1 and xep.extensions=1.
Appearance of crop marks can be controlled by parameters crop.mark.bleed (6pt), crop.mark.offset (24pt) and crop.mark.width (0.5pt).
Also there is new named template called user-xep-pis. You can overwrite it in order to produce some PIs that can control XEP as described in http://www.renderx.com/reference.html#Output_Formats
Michael Smith [Fri, 9 Sep 2005 03:58:58 +0000 (03:58 +0000)]
Added colon to list of delimiters for parsing datetime strings
into tokens. Closes #1285053. Thanks to Jeroen Ruigrok for the bug
report, and to Mauritz Jeanson for spotting the cause.
Michael Smith [Fri, 2 Sep 2005 06:50:52 +0000 (06:50 +0000)]
Removed catalog.xml from version control and updated build to
automatically generate it. (To ensure it always contains the
correct version number for the release.) Thanks to John L. Clark
for the suggestion.
Bob Stayton [Tue, 16 Aug 2005 19:26:31 +0000 (19:26 +0000)]
Fixed bug in char attribute, where text-align was being set to
any char value, even if the align attribute was not 'char'.
The CALS spec says text-align set to the value of char only
if the align attribute is 'char'.
Michael Smith [Thu, 11 Aug 2005 05:29:15 +0000 (05:29 +0000)]
Set default value of annotation.support param to 0 (off). Also,
wrapped contents of the apply-annotations template in a "if"
statement, so that those contents get evaluated only if
annotation.support is non-zero.
The reason for these changes was a report from Doug du Boulay (on
the docbook-apps list) that processing of the apply-annotations
template was consuming 75% of the total processing time for a
2.5Mb file. Anatoly Techtonik followed with a comment that with
1.69.0, "Compiling took about full working day on 12Mb file while
earlier it was about 2-4 hours".
Michael Smith [Tue, 9 Aug 2005 09:11:02 +0000 (09:11 +0000)]
Output .sp macro in mixed blocks where we were outputting
completely blank line before. Thanks (again) to Costin Stroie for
pointing out the problems and providing a test case.
Also, corrected the test for checking first preceding siblings of
text nodes in mixed blocks (the test is used for determining
whether or not we need to insert a line break before those nodes.)
Michael Smith [Fri, 5 Aug 2005 08:09:50 +0000 (08:09 +0000)]
Fixed bug that caused literal .sp to show up in output. (Thanks to
Costin Stroie for reporting).
WARNING: One of the consequences of this change is that the
stylesheet no longer generates spaces at the end of certain lines.
I had it doing that as a sort of hack to prevent certain kinds of
problems in output. It seems like the hack my no longer be
necessary. But if I am wrong, this change may cause spaces to show
up at the beginning of some lines in "mixed content". If you see
those, then this change has introduced a regression, and I will
need to go back and figure out the right way to fix it (instead of
the kludgy way I was doing it before.
Also, instances like the following were showing up in some cases.
.PP
.sp
That is, a .PP macro immediately followed by a .sp macro. I can
think of no good read to ever generate that, and I am not sure why
it is getting generated. So I have taked the lazy way out and
caused the stylesheet to now strip out the .sp from all such
instances, leaving just the .PP
Michael Smith [Sun, 24 Jul 2005 14:10:31 +0000 (14:10 +0000)]
Fixed handling of lists with titles. Also reworked handling of
space around lists. (Closes #1243003 and 1241371).
Among other things, this change "normalizes" line space before and
after verbatims. For most cases, the stylesheet now attempts to
ensure each verbatim is preceded and followed by exactly one line
of space.