Alberto Gonz?lez T?llez wrote: > > When generating HTML from Docbook in XXE 4.4 > table columns are not correctly dimensioned > followin atribute colwith of colspec, when > colwith is specified in milimeters (mm). > > In HTML it appears something like: > > <colgroup><col width="28mm"><col with="84mm"></colgroup> >
This is incorrect HTML/XHTML. the value of attribute width is a MultiLength, that is, pixels, percents or "*" units. Reference: http://www.w3.org/TR/html4/struct/tables.html#h-11.2.4.2 > but navigators do not size the two columns > (in this example) to 28mm and 84mm. Neither > something proportional, it seems that columns > take a random size. > > pt units work fine, but I am using mm since > quite a long time... > This should work fine out of the box because: [1] XXE uses Saxon as its XSLT processor. [2] XXE is bundled with docbook-xsl-saxon.jar, which contains the Saxon extension called "com.nwalsh.saxon.Table.adjustColumnWidths". [3] XXE explicitly sets variable "use.extensions" to 1 [4] By default, the value of tablecolumns.extension is 1. Reference: http://www.sagehill.net/docbookxsl/ColumnWidths.html Therefore, I would say that your problem is caused by a bug in the DocBook XSLT stylesheets. > It seems that it is something related to > the CSS stylesheet used in the web site > where I publish the HTML output. Then I > guess that the solution is to customize > XSLT to convert mm to pt :-( > > Am I right? Don't think so. Not sure. I would recommend to create a simple, standalone, example that allows to reproduce the problem and to report this as a bug to http://sourceforge.net/tracker/?group_id=21935&atid=373747 I'm really sorry but we currently don't have the time to do this ourselves. We are overloaded with work.

