docbook-apps

  • 1.  Overlapping table headers

    Posted 05-30-2008 13:26
      |   view attached


    Hi!

    When rendering a table in pdf (via fo naturally) I get overlapping
    header titles. See the attached png image (The word "DES" is written on
    the word "COMPARTMENT").


    I thought this might have something to do w/ using numbers as col names,
    so I tried the following style:

    <colspec colnum="1" colname="c1" align="left"></colspec>

    but it did not change anything.



    Environment: docbook xsl 1.73.2, fop 0.95beta, java 1.6.0_06, win xp sp
    2, saxon 655

    Using fo/docbook.xsl w/ params
    use.extensions=1
    fop1.extensions=1
    tablecolumns.extension=1


    Docbook xml to reproduce the problem:


    <book xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"></book>
    xsi:noNamespaceSchemaLocation="C:\work\napa\jnapa\reporting\resources\schemas\docbook\docbook.xsd">

    <bookinfo>
    <date>2008-05-30</date>
    <authorinitials>AK</authorinitials>
    <corpname>Antti Karanta</corpname>
    <productname>D-CONT072</productname>
    </bookinfo>

    <preface>

    <para> </para>
    </preface>
    <chapter>

    <sect1>

    <sect2>

    <literallayout class="monospaced">
    Loading condition LC.FULL_D2 - Full load, departure
    </literallayout>
    <informaltable frame="none" colsep="0" rowsep="0">
    <tgroup cols="9">


    <colspec colname="1" align="left"></colspec>
    <colspec colname="2" align="left"></colspec>
    <colspec colname="3" align="right"></colspec>
    <colspec colname="4" align="right"></colspec>
    <colspec colname="5" align="right"></colspec>
    <colspec colname="6" align="right"></colspec>
    <colspec colname="7" align="right"></colspec>
    <colspec colname="8" align="right"></colspec>
    <colspec colname="9" align="right"></colspec>

    <row rowsep="1">
    <entry namest="1" nameend="9" align="center"> </entry>
    </row>
    <row>
    <entry>COMPARTMENT</entry>
    <entry>DES</entry>
    <entry>WEIGHT</entry>
    <entry>FILL</entry>
    <entry>S.G</entry>
    <entry>XM</entry>
    <entry>YM</entry>
    <entry>ZM</entry>
    <entry>FRSM</entry>
    </row>
    <row rowsep="1">
    <entry> </entry>
    <entry> </entry>
    <entry>t</entry>
    <entry>%</entry>
    <entry>t/m3</entry>
    <entry>m</entry>
    <entry>m</entry>
    <entry>m</entry>
    <entry>tm</entry>
    </row>


    <row>
    <entry namest="1" nameend="9" align="center"> </entry>
    </row>
    <row>
    <entry namest="1" nameend="9" align="left">CONTENTS=CONTAINER
    HOLD</entry>
    </row>
    <row>
    <entry namest="1" nameend="9" align="center">
    </entry>
    </row>
    <row>
    <entry>R0202</entry>
    <entry>Container Hold 10</entry>
    <entry>0.0</entry>
    <entry>0.0</entry>
    <entry>1.000</entry>
    <entry>0.00</entry>
    <entry>0.00</entry>
    <entry>0.00</entry>
    <entry>0.00</entry>
    </row>
    <row rowsep="1">
    <entry namest="1" nameend="9" align="center"> </entry>
    </row>
    <row>
    <entry>SUBTOTAL</entry>
    <entry> </entry>
    <entry>21142.0</entry>
    <entry> </entry>
    <entry> </entry>
    <entry>97.26</entry>
    <entry>0.00</entry>
    <entry>15.58</entry>
    <entry>0.00</entry>
    </row>

    </tgroup>
    </informaltable>


    </sect2>
    </sect1>
    </chapter>



    Any help will be greatly appreciated.



    -::Antti::-






  • 2.  RE: [docbook-apps] Overlapping table headers

    Posted 05-30-2008 15:41
    >