This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
RE: [docbook-apps] html column widths
- From: "Marius Scurtescu" <mscurtescu at healthmetrx dot com>
- To: "Bob Stayton" <bobs at sco dot com>
- Cc: "Docbook-Apps" <docbook-apps at lists dot oasis-open dot org>
- Date: Fri, 7 Nov 2003 16:29:35 -0800
- Subject: RE: [docbook-apps] html column widths
Thanks,
I installed the extensions and now it works, with both
Saxon and Xalan. Bob, would you strongly recommend Saxon
over Xalan?
I did find two bugs in the process:
1. Column widths specified as "*" end up being 0 in HTML
and they should be treated as "1*" (at least this is my
understanding of the CALS spec).
2. Nested tables created with entrytbl should specify
the width as "100%" to completely cover the cell where
they live. Right now these nested tables do not specify
a width so it is variable (depends on the content).
Should I report these two bugs on SourceForge?
Thanks,
Marius
> -----Original Message-----
> From: Bob Stayton [mailto:bobs@sco.com]
> Sent: Friday, November 07, 2003 1:05 PM
> To: Marius Scurtescu
> Cc: Docbook-Apps
> Subject: Re: [docbook-apps] html column widths
>
>
> On Fri, Nov 07, 2003 at 12:24:58PM -0800, Marius Scurtescu wrote:
> > Hi,
> >
> > Is there a way to generate HTML with proper column widths
> > based on the widths specified in the CALS tables inside
> > a DocBook document?
> >
> > I am using proportional column widths (the '*' notation),
> > the generated FO has proper widths, but the generated
> > HTML (or XHTML) has no widths for any of the columns.
> >
> > Is this a limitation of the (X)HTML stylesheets?
> >
> > I tried using:
> > <xsl:param name="use.extensions" select="1"/>
> > <xsl:param name="tablecolumns.extension" select="1"/>
> > but I am getting errors with both Xalan and Saxon.
> > Xalan gives me "No adjustColumnWidths function available."
> > and then terminates. Saxon just terminates.
> >
> > How do you install these extensions?
>
> The extensions are included in a .jar file that must
> be added to your Java CLASSPATH. See this reference
> for more info:
>
> http://www.sagehill.net/docbookxsl/InstallingAProcessor.html#InstallSaxon
>
> --
>
> Bob Stayton 400 Encinal Street
> Publications Architect Santa Cruz, CA 95060
> Technical Publications voice: (831) 427-7796
> The SCO Group fax: (831) 429-1887
> email: bobs@sco.com
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.