Michael Smith [Thu, 20 Oct 2005 13:48:49 +0000 (13:48 +0000)]
First shot at implementing table support in the manpages
stylesheet. This works well as-is for normal span-less tables. It
even works for tables with colspans. But it does not yet even
attempt to do anything for rowspans. It will take more work to
add rowspan handling that. Not sure if it's worth the work, really.
Note: This table support is implemented by do a first pass to
process each table using the templates in the HTML stylesheet
(which we import). We don't override any of the <row> or <tr> or
<entry> or <td>, etc., table-markup templates, but we do override
the block and inline templates for whatever the child content of
the <entry> and <td> instances. So we end up with a node that has
"hybrid" output -- with table rows and cells marked up with HTML
<tr> and <td> tags, with with the <td> child content marked up in
roff.
So we use exsl:node-set on that node and make a second-pass
through all of it to replace the <tr> and <td> parts with tbl(1)
macros. Voila -- the end result is properly marked up tbl/roff
output for the table.
One nice thing about doing it this is that it supports both CALS
and HTML table markup, without needing any conditional logic to
deal with CALS separately. Because the first pass causes both the
CALS and HTML source markup to be "normalized" into HTML.
Michael Smith [Mon, 17 Oct 2005 04:40:46 +0000 (04:40 +0000)]
Problem:
In a PDF generated with Passivetex, every itemizedlist (bulleted
list) has a linebreak after the bullet and before the listem
contents. That bullet should not be there.
Cause:
Design problem in Passivetex
Fix:
Added a fix that works around the problem by not wrapping the
listem output in an <fo:block> if passivetex.extensions=1. Closes
#1328348.
Affects:
Only affects output if passivetex.extensions=1. Otherwise,
follows previous code path, so behavior is exactly the same.
Michael Smith [Thu, 13 Oct 2005 01:11:51 +0000 (01:11 +0000)]
These test files were apparently designed to expect external index
files that get generated by the DSSSL build. But the XSL build
does not generate them, and, when it finds them missing, the build
breaks. So, commented out the DSSSL stuff and added <index/>
instances. If you want to test these files with DSSSL output, you
will need to uncomment the entity refs at the end.
Michael Smith [Thu, 13 Oct 2005 00:13:16 +0000 (00:13 +0000)]
Added some more tests for exposing handling of linebreaks after
programlisting start tag and before programlisting end tag. Also,
wrapped this refentry in a book instead of an article.
Michael Smith [Wed, 12 Oct 2005 14:58:42 +0000 (14:58 +0000)]
This is a standalone "utility" stylesheet (it's not imported by
and of the drivers). Its purpose is to transform all instances of
DocBook-specific "insert file" markup (e.g., <textdata
fileref="foo.txt) with Xinclude instances. It is mainly intended
as an alternative to the DocBook XSLT Java insertfile() extension.
Michael Smith [Wed, 12 Oct 2005 14:50:13 +0000 (14:50 +0000)]
Revised and added stuff for testing the
textdata/imagedata/inlinegraphic markup for inserting external
text files, and rendering callout bugs in the inserted text.
Michael Smith [Tue, 11 Oct 2005 08:59:08 +0000 (08:59 +0000)]
Use just "Revision" and "Date" RCS keywords, instead of $Id (because
$Id adds the RCS filename, RCS author name, and RCS "state", none
of which it seems like we really need in Releaseinfo).
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.