[publican-list] tables

Jeffrey Fearn jfearn at redhat.com
Mon Aug 31 00:43:42 UTC 2009


Jeroen van Meeuwen wrote:
> On 08/30/2009 11:52 PM, Jeffrey Fearn wrote:
>> Jeroen van Meeuwen wrote:
>>> On 08/26/2009 12:14 AM, Jeffrey Fearn wrote:
>>>> mbutubuntu wrote:
>>>> > why this tags don't work ??
>>>> http://www.docbook.org/tdg/en/html/table.html
>>>> >
>>>> > I need to insert a table inside a Doc... please help me
>>>>
>>>> Hi, tables work fine. There is an example in
>>>>
>>>> http://svn.fedorahosted.org/svn/publican/trunk/publican/Users_Guide/en-US/Branding.xml 
>>>>
>>>>
>>>>
>>>
>>> Have you tried generating a PDF from that?
>>>
>>> -- Jeroen
>>
>> Yeah, the column sizes are wrong when you build it with the old system,
>> but the beta sizes the columns correctly.
>>
> 
> Actually with what is in Fedora 11 right now the PDF ends at the point 
> where the table should have been and everything else is generated with a 
> Null ViewPort (?).

Can you try editing /usr/share/publican/xsl/pdf.xsl and changing:

<xsl:param name="tablecolumns.extensions" select="1"/>

to

<xsl:param name="tablecolumns.extensions" select="0"/>

I'm assuming it's using xsltproc, which doesn't have an 
adjustColumnWidths function, this leads to it going BOOM when it hits a 
table and tries to use that function.

This Just Works (TM) in the beta.

Cheers, Jeff.

-- 
Jeff Fearn <jfearn at redhat.com>
Software Engineer
Engineering Operations
Red Hat, Inc
Freedom ... courage ... Commitment ... ACCOUNTABILITY




More information about the publican-list mailing list