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] docbook to pdf warnings


Hi Ilya,

Ilya Lifshits wrote:
> Hi all,
> 
> Enviroment:
> Docbook 4.5
> xsltproc
> fop 0.93
> cygwin
> 
> I have a docbook document that i compiling to the pdf and have very long
> list of warnings that i trying to reduce/understand
> 
> WARNING: table-layout="fixed" and column-width unspecified => falling back
> to proportional-column-width(1)
> 
> This warning repeated countless number of time and failed to understand the
> reason for this warning (tables in pdf looks just as expected).
> 
> FO output for all tables looks like the following :
> 
> <fo:table table-layout="fixed" width="100%" border-bottom-width="0.5pt"
> border-bottom-style="solid" border-bottom-color="black">
>           <fo:table-column column-number="1"
> column-width="proportional-column-width(1)"/>
>           <fo:table-column column-number="2"
> column-width="proportional-column-width(1)"/>
>           <fo:table-column column-number="3"
> column-width="proportional-column-width(1)"/>
>           <fo:table-body>
<snip/>
>           </fo:table-body>
>         </fo:table>
>       </fo:block>

With that kind of table you shouldn’t get any warning. Are you sure that
/every/ table in the FO output is specified like this? For instance,
headers and footers are laid out using tables. Maybe column-width is not
specified for those ones.

What version of the XSLT stylesheets are you using? This problem
shouldn’t appear with recent versions (I tried with version 1.73.2).
Also, setting the fop1.extensions customization parameter to 1 might
help.


> I try manually change column-width="proportional-column-width(1)" to
> column-width="3cm" and received same error and no visual changes on pdf.

This shouldn’t be necessary, proportional-column-width is fully
supported.


> The customization layer for may tables (only one example but they all
> similar)
> 
> <xsl:template match="table_terms_and_abbr">
>     <informaltable frame='none' colsep='none' rowsep='none'>
>         <tgroup cols='2' align='left'>
>             <colspec colnum="1" colwidth='1*'/>
>             <colspec colnum="2" colwidth='1*'/>
>             <xsl:apply-templates/>
>         </tgroup>
>     </informaltable>
> </xsl:template>
> 
> 
> Any input on this subject will be very welcomed. As a worst case scenario
> i'm looking for a way to disable this warning, but i prefer fix the problem
> even there is no visual problem on the pdf output.

HTH,
Vincent


-- 
Vincent Hennebert                            Anyware Technologies
http://people.apache.org/~vhennebert         http://www.anyware-tech.com
Apache FOP Committer                         FOP Development/Consulting


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