This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook] DocBook colwidth Problems


Actually, Ray is correct that @colwidth does not necessarily work for HTML
output.  I looked at the template named 'generate.col' in html/table.xsl
that processes @colwidth, and that attribute is only used if the stylesheet
parameters tablecolumns.extension=1 and use.extensions=1.  That requires
using Saxon or Xalan and making sure the appropriate extension jar file is
in the CLASSPATH.

Apparently the adjustColumnWidths() extension function is required for
setting HTML table column widths.  I'm not sure why.  Perhaps the extension
function author  Norm Walsh could explain why the function is needed.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Ray Miller" <ray.miller@nist.gov>
To: <docbook@lists.oasis-open.org>
Sent: Monday, January 03, 2005 1:12 PM
Subject: Re: [docbook] DocBook colwidth Problems


> > Valid value for colwidth attribute can be absolute dimension like 20mm
> > or proportional specification like 3*. Integer value without unit
> > specification has no meaning in CALS table model.
>
> Attempted both mm and * suffixed to integers to no avail.
>
> Ray
>
>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]