Next in thread →
Next in month →
Re: [docbook-apps] table width error
Hi Tristan, Actually, the problem isn't with your table, it is with the simplelist. The FO stylesheet uses an fo:table to output simplelist because of its multicolumn option. It is that table that doesn't have a table-layout="fixed" property, nor an overall width property for the table. You could customize the simplelist template from fo/lists.xsl to add those properties for FOP. Or maybe just replace that simplelist with a literallayout, if that's appropriate. Bob Stayton Sagehill Enterprises DocBook Consulting ----- Original Message ----- From: "Tristan Fiedler" <> To: "docbook-apps" <> Sent: Monday, August 08, 2005 11:30 AM Subject: [docbook-apps] table width error > Based on the "Table" info in Bob Stayton's DocBook XSL book (p.439 3rd > edition), could someone please comment on perhaps why am I still > getting this FOP error : > > [WARNING] table-layout=auto is not supported, using fixed! > [ERROR] At least one of minimum, optimum, or maximum IPD must be > specified on table. > > Even after I include : > > <xsl:param name="tablecolumns.extension" select="'1'"></xsl:param> > <xsl:param name="fop.extensions" select="1"></xsl:param> > > <xsl:param name="default.table.width" select="'100%'"></xsl:param> > > My XML for the table : > > <?newpage ?> > > <table frame="all"> > <title>text text</title> > <tgroup cols="5"> > <colspec colname="c1" colwidth="0.5*" align="center" /> > <colspec colname="c2" colwidth="0.35*" align="center" /> > <colspec colname="c3" colwidth="0.6*" align="center" /> > <colspec colname="c4" colwidth="1.0*" align="center" /> > <colspec colname="c5" colwidth="1.4*" align="left" /> > <thead> > <row valign="middle"> > <entry valign="middle"><emphasis > role="bold">name1</emphasis></entry> > <entry valign="middle"><emphasis > role="bold">name2</emphasis></entry> > <entry valign="middle"><emphasis > role="bold">name3</emphasis></entry> > <entry valign="middle"><emphasis > role="bold">name4</emphasis></entry> > <entry valign="middle"><emphasis > role="bold">name5</emphasis></entry> > </row> > </thead> > <tbody> > <row valign="middle"> > <entry morerows='12'>name6</entry> > <entry><emphasis><ulink url="http://www.yahoo.com" > role="_blank">test-36</ulink></emphasis></entry> > <entry>name7</entry> > <entry>name8</entry> > <entry> > <simplelist> > <member>item1</member> > <member>item2/member> > </simplelist> > </entry> > </row> > > ......(continues) > > Any help is highly appreciated. Thank you! > > Software : FOP 0.20.5, XSL 1.67.2, XML 4.4CR2, Saxon 6.5.3, Mac OSX > 10.3.9 > > Cheers, Tristan > --- > Tristan J. Fiedler > Postdoctoral Fellow - Stein Lab > Cold Spring Harbor Laboratory > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > For additional commands, e-mail: > > >
Next in thread →
Next in month →