Mauritz Jeanson [Thu, 21 Feb 2008 17:25:57 +0000 (17:25 +0000)]
Added preliminary README information for libxslt extensions.
The adjustColumnWidths() function works well for me (tested on
Windows XP with Python 2.5).
Michael Smith [Thu, 21 Feb 2008 08:40:47 +0000 (08:40 +0000)]
Fixed alignment of first lined of text for each listitem in
orderedlist output for TTY. Existing code seemed to have been
causing an extra undesirable space to appear.
Michael Smith [Thu, 21 Feb 2008 08:37:13 +0000 (08:37 +0000)]
Wrapped some roff conditionals around roff markup for orderedlist
and itemizedlist output, so that the lists look acceptable in PS
output as well as TTY.
Michael Smith [Thu, 21 Feb 2008 04:10:17 +0000 (04:10 +0000)]
Simplified and streamlined handling of output for ANSI-style
funcprototype output, to correct a problem that was causing type
data to be lost in the output parameter definitions. For example,
for an instance like this:
<paramdef>void *<parameter>dataptr</parameter>[]</paramdef>
... the brackets (indicating an array type) were being dropped.
Michael Smith [Wed, 20 Feb 2008 16:49:45 +0000 (16:49 +0000)]
Changed HTML handling of K&R-style paramdef output. The parameter
definitions are no longer output in a table (though the prototype
still is). The reason for the change is that the
kr-tabular-funcsynopsis-mode template was causing type data to be
lost in the output parameter definitions. For example, for an
instance like this:
<paramdef>void *<parameter>dataptr</parameter>[]</paramdef>
... the brackets (indicating an array type) were being dropped.
The easiest way to deal with the problem is to not try to chop up
the parameter definitions and display them in table format, but to
instead just output them as-is. May not look quite as pretty, but
at least we can be sure no information is being lost...
Michael Smith [Wed, 20 Feb 2008 11:42:45 +0000 (11:42 +0000)]
Added the man.funcsynopsis.style parameter. Has the same effect in
manpages output as the funcsynopsis.style parameter has in HTML
output -- except that its default value is 'ansi' instead of 'kr'.
Michael Smith [Wed, 20 Feb 2008 07:00:18 +0000 (07:00 +0000)]
Reworked handling of K&R funcprototype output. It no longer relies
on the HTML kr-tabular templates, but instead just does direct
transformation to roff. For K&R output, it displays the paramdef
output in an indented list following the prototype.
Michael Smith [Mon, 18 Feb 2008 03:38:38 +0000 (03:38 +0000)]
Properly integrated handling for K&R output into manpages
stylesheet. The choice between K&R output and ANSI output is
currently controlled through use of the (HTML) funcsynopsis.style
parameter. Note that because the mechanism does currently rely on
funcsynopsis.style, the default in manpages output is now K&R
(because that's the default of that param). But I suppose I ought
to create a man.funcsynopsis.style and make the default for that
ANSI (to preserve the existing default behavior).
Michael Smith [Sat, 16 Feb 2008 21:57:31 +0000 (21:57 +0000)]
Implemented initial support for handling tabular K&R output of
funcprototype in manpages output. Accomplished by adding more
templates to the intermediate HTML-to-roff stylesheet that the
build uses to create the manpages/html-synop.xsl stylesheet.
Michael Smith [Thu, 31 Jan 2008 12:26:27 +0000 (12:26 +0000)]
Converted ja.xml source file to use real unicode characters so
that the actual glyphs so up when you edit it in a text editor
(instead of the character references).
Michael Smith [Wed, 9 Jan 2008 11:15:51 +0000 (11:15 +0000)]
Make sure to remove RELEASE-NOTES-TMP.xml after build of HTML for
release notes; when building catalog.xml file, use --output flag
with xmllint instead of shell redirect (because catalog.xml build
seems to be choking otherwise...)
David Cramer [Mon, 31 Dec 2007 18:33:28 +0000 (18:33 +0000)]
Fixed bug #1854199: glossary.xsl should use the sortas attribute on glossentry. Also added normalize-space to avoid missorting due to stray leading spaces.
Michael Smith [Wed, 26 Dec 2007 17:40:49 +0000 (17:40 +0000)]
Added support for processing structfield (was appearing in roff
output surrounded by HTML <em> tags; fixed so that it gets roff
ital markup). Closes bug #1858329. Thanks to Sam Varshavchik.
Mauritz Jeanson [Fri, 21 Dec 2007 16:28:18 +0000 (16:28 +0000)]
Added a template for citebiblioid. The hyperlink target is the parent of the referenced biblioid,
and the "hot text" is the biblioid itself enclosed in brackets.
Mauritz Jeanson [Fri, 14 Dec 2007 18:06:11 +0000 (18:06 +0000)]
Removed the template matching "ng:link|db:link" (in order to make @xlink:show
work with <link> elements). As far as I can tell, this template is no longer needed.
Mauritz Jeanson [Fri, 14 Dec 2007 17:48:38 +0000 (17:48 +0000)]
Added support for @xlink:show in the simple.xlink template. The "new" and "replace"
values are supported (corresponding to values of "_blank" and "_top" for the
ulink.target parameter). I have assumed that @xlink:show should override ulink.target
for external URI links. This closes bugs #1762023 and #1727498.
Mauritz Jeanson [Wed, 12 Dec 2007 20:01:02 +0000 (20:01 +0000)]
Changed \w+ to $w in the regexp that matches entity declarations (indexentitydecl subroutine).
The reason is that \w+ does not match entity names that contain periods. See bug #1847825.