This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] FOP bug? DocBook simplelist following informaltable inherits informaltablecolwidths
- From: jim kraai <jim at kraai dot org>
- To: docbook-apps at lists dot oasis-open dot org, fop-user at xml dot apache dot org
- Date: Mon, 05 Jan 2004 23:21:13 -0600
- Subject: [docbook-apps] FOP bug? DocBook simplelist following informaltable inherits informaltablecolwidths
Briefly stated:
-DocBook book has a part with a chapter with a section with a sidebar
-sidebar has two children:
1. informaltable with
a. a colwidth spec on the first of 2 cols
b. 2colsx3rows table
2. para with two children
a. cdata
b. simplelist (2x2 table) with no column width specs
-in the rendered PDF, the simplelist is using the same column-width
specified for the informaltable
Everything passes a DTD check. The HTML renders fine. The problem
could be a FOP issue as the translated .fo looks fine to me.
thanks,
--jim
Source .docbook:
<sidebar>
<informaltable frame="all">
<tgroup cols='2'>
<colspec colwidth='2.0in'/>
<thead>
[snip]
</tbody>
</tgroup>
</informaltable>
<para>
[snip]
<simplelist type='horiz' columns='2'>
<member>[snip]</member>
<member>[snip]</member>
<member>[snip]</member>
<member>[snip]</member>
</simplelist>
</para>
</sidebar>
translated .fo:
<fo:block span="none">
<fo:table id="id587944" border-collapse="collapse"
space-before.minimum="0.5em" space-before.optimum="1em"
space-before.maximum="2em" space-after.minimum="0.5em"
space-after.optimum="1em" space-after.maximum="2em"
border-left-style="solid" border-right-style="solid"
border-top-style="solid" border-bottom-style="solid"
border-left-width="0.5pt" border-right-width="0.5pt"
border-top-width="0.5pt" border-bottom-width="0.5pt"
border-left-color="black" border-right-color="black"
border-top-color="black" border-bottom-color="black" width="100%">
<fo:table-column column-number="1" column-width="2.0in" />
<fo:table-column column-number="2" />
[snip]
</fo:table>
</fo:block>
<fo:block space-before.optimum="1em" space-before.minimum="0.8em"
space-before.maximum="1.2em">[snip]
<fo:table space-before.optimum="1em" space-before.minimum="0.8em"
space-before.maximum="1.2em">
<fo:table-column column-number="1"
column-width="proportional-column-width(1)" />
<fo:table-column column-number="2"
column-width="proportional-column-width(1)" />
[snip]
</fo:table>
environment:
WinNT
xsltproc --version
Using libxml 20602, libxslt 10100 and libexslt 800
xsltproc was compiled against libxml 20602, libxslt 10100 and libexslt 800
libxslt 10100 was compiled against libxml 20602
libexslt 800 was compiled against libxml 20602
docbook DTD:
<!-- DocBook XML DTD V4.2 ...................................... -->
docbook stylesheets:
********************************************************************
$Id: docbook.xsl,v 1.29 2003/08/27 23:58:14 nwalsh Exp $
********************************************************************
java -version
java version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)
fop
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] FOP 0.20.5
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.