[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: table inside itemizedlist: spacing bug?
Using DocBook 4.3, the 1.69.1 stylesheets, and XEP going to PDF, there is a spacing anomaly when a table is inside an itemizedlist. Inside the tbody, entry elements are indented by the same distance as the indentation of the itemizedlist. The same table, outside of an itemizedlist, has all the entry elements flush left. Attached is a small sample file, tablebug.xml, that demonstrates the problem. I've also attached the resulting PDF. Is this the right place to send what I'm guessing a glitch in the Modular Style Sheets? Best regards, John Shipman (john@nmt.edu), Applications Specialist, NM Tech Computer Center, Speare 119, Socorro, NM 87801, (505) 835-5950, http://www.nmt.edu/~john ``Let's go outside and commiserate with nature.'' --Dave Farber
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"> <article> <articleinfo> <title>Demonstrate table formatting bug</title> <authorgroup> <author> <firstname>John W.</firstname> <surname>Shipman</surname> </author> </authorgroup> <address><email>tcc-doc@nmt.edu</email> </address> <revhistory> <revision> <revnumber>$Revision$</revnumber> <date>$Date$</date> </revision> </revhistory> </articleinfo> <section> <title>Only section</title> <para> Author is at <email>tcc-doc@nmt.edu</email>. Toolchain: DocBook 4.3, 1.69.1 stylesheets, XEP to PDF. </para> <para> The problem is that table <code >entry</code > elements are indented too far if the table is inside an <code >itemizedlist</code >. </para> <para> Standalone table: </para> <informaltable> <tgroup cols="2" align="left"> <colspec colwidth="1*"/> <colspec colwidth="5*"/> <thead> <row> <entry>Value</entry> <entry>Meaning</entry> </row> </thead> <tbody> <row> <entry><code >all</code></entry> <entry>Rules are placed above and below the table, on the left and right sides, between columns, and between rows.</entry> </row> <row> <entry> <code>none</code> </entry> <entry> No rules are used in the table. </entry> </row> </tbody> </tgroup> </informaltable> <para> Inside an <code >itemizedlist</code >: </para> <itemizedlist> <listitem> <para> <informaltable> <tgroup cols="2" align="left"> <colspec colwidth="1*"/> <colspec colwidth="5*"/> <thead> <row> <entry>Value</entry> <entry>Meaning</entry> </row> </thead> <tbody> <row> <entry><code >all</code></entry> <entry>Rules are placed above and below the table, on the left and right sides, between columns, and between rows.</entry> </row> <row> <entry> <code>none</code> </entry> <entry> No rules are used in the table. </entry> </row> </tbody> </tgroup> </informaltable> </para> </listitem> </itemizedlist> </section> </article>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]