OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Proportional colwidth in table (FOP 0.20.5)


Try setting tablecolumns.extension to zero.  It seems to do more harm than 
good in FOP.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Sean Wheller" <sean@inwords.co.za>
To: <docbook-apps@lists.oasis-open.org>
Sent: Wednesday, December 20, 2006 1:51 PM
Subject: [docbook-apps] Proportional colwidth in table (FOP 0.20.5)


> Hi,
>
> I would like to use proportional colwidths in tables but cannot get them 
> to
> work.
>
> I setup the extensions:
> <xsl:param name="use.extensions" select="1"/>
> <xsl:param name="saxon.extensions" select="1"/>
> <xsl:param name="tablecolumns.extension" select="1"/>
> <xsl:param name="fop.extensions" select="1"/>
>
> And saxon653 extension is in the classpath.
>
> Also in custom layer I set
> * default.table.width param to values '100%' and 'fixed'
>
> In the document I have tried setting:
> * @width on table to 100%
> * @pgwide on table to 1
>
> tgroup is as follows:
>
> <tgroup cols="2">
>            <colspec colnum="1" colwidth="1*" />
>            <colspec colnum="2" colwidth="4*" />
>
> The result is always a table of 100% width and colwidths of equal 
> proportion.
>
> This post back in 2003 may give a hint to the problem, but I was unable 
> to
> reproduce the result on table
>
> http://sourceware.org/ml/docbook-apps/2003-q3/msg00708.html
>
> When I use CALS measures the table cols are adjusted as required.
>
> fop.log fives me a number of
> [WARNING] Zero-width table column!
>
> Looking at the fo file the table starts
> <fo:table border-before-width.conditionality="retain"
>  .... table-layout="fixed" width="100%">
> <fo:table-column column-number="1" column-width="20%"/>
> <fo:table-column column-number="2" column-width="80%"/>
>
> Which should result in the desired col adjustments, but does not.
>
> Any help appreciated.
>
> -- 
>
> Sean Wheller
> Technical Author
> sean@inwords.co.za
> +27-84-854-9408
> http://www.inwords.co.za
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
> 




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]