Description of problem: When you define a column width in a table using fractions of an inch, Publican ignores the colwidth parameter at transform time and uses a colwidth of 100% instead. The table then does not render properly. So something like: <table id="tab.foo"><title>Foo</title> <tgroup cols="3"> <colspec colnum="1" colname="col1" colwidth="2in" /> <colspec colnum="2" colname="col2" colwidth="1.25in" /> <colspec colnum="3" colname="col3" colwidth="3in" /> is transformed into: <table summary="Foo"><colgroup><col class="col1" width="2in"><col class="col2" width="100%"><col class="col3" width="3in"></colgroup> Version-Release number of selected component (if applicable): 3.1 How reproducible: 100% Steps to Reproduce: 1. Create a table with colwidths defined in fractions of an inch 2. Build in HTML Actual results: Fractional colwidth replaced by "100%", table badly distorted. Expected results: Fractional colwidth used as provided; table rendered appropriately Additional info: Workaround is simply to use the proportional "*" notation supported in DocBook, so 2in/1.25in/3in becomes 8*/5*/12*.
*** Bug 815196 has been marked as a duplicate of this bug. ***
HSS-QE has reviewed and declined this request. QE for this bug will be handled by IED.
To ssh://git.fedorahosted.org/git/publican.git 9f1b666..c1a301f HEAD -> devel
Probably works as expected: $ rpm -q publican publican-3.1.5-0.fc19.t62.noarch I tested: --- <table id="tab.foo"><title>Foo</title> <tgroup cols="3"> <colspec colnum="1" colname="col1" colwidth="1.1in" /> <colspec colnum="2" colname="col2" colwidth="0.55in" /> <colspec colnum="3" colname="col3" colwidth="0.75in" /> --- Publican produced: --- <table summary="Foo"><colgroup><col width="105px" class="col1" /><col width="52px" class="col2" /><col width="72px" class="col3" /></colgroup> --- Before looking into the source HTML code, the table was displayed at 100% width. I found it was because tables have "width: 100%" defined in Publican's common.css. Once I turned it off, the columns were displayed with their actual width.
The fix for this bug has been shipped in publican 3.2.0