docbook-apps

  • 1.  Row spacing in PDF tables

    Posted 10-03-2008 22:22
    Hi all,

    I've got my tables almost totally perfect. I just have one more question (I
    hope!). There seems to be some kind of padding or spacing below each row
    that adds unattractive vertical space between the rows. I could not find a
    way to adjust this distance in any documentation. I have decreased the cell
    padding, but that does not get rid of the extra space between the rows.

    I'm using docbook-xsl-1.74.0, saxon 6.5.5, xep

    I'll try to illustrate what it looks like:

    ________________________________
    Header Row
    ________________________________

    What I would like:

    ________________________________
    *Header Row

    *Here are my customizations:

    <xsl:attribute-set name="table.cell.padding">
    <xsl:attribute name="padding-left">2pt</xsl:attribute>
    <xsl:attribute name="padding-right">5pt</xsl:attribute>
    <xsl:attribute name="padding-top">2pt</xsl:attribute>
    <xsl:attribute name="padding-bottom">0pt</xsl:attribute>
    </xsl:attribute-set>

    And here is a snippet of my xml:

    <informaltable frame="topbot">
    <tgroup cols="7" colsep="0" rowsep="0">
    <colspec colname="c1"/>
    <colspec colname="c2"/>
    <colspec colname="c3"/>
    <colspec colname="c4"/>
    <colspec colname="c5"/>
    <colspec colname="c6"/>
    <colspec colname="c7"/>

    <row>
    <entry>
    <para>
    <emphasis role="bold">Header Row</emphasis>
    </para>
    </entry>


    Thanks!

    Lillian



  • 2.  RE: [docbook-apps] Row spacing in PDF tables

    Posted 10-05-2008 18:45
    > -----Original Message-----
    > From: Lillian Sullam
    >
    > I've got my tables almost totally perfect. I just have one
    > more question (I hope!). There seems to be some kind of
    > padding or spacing below each row that adds unattractive
    > vertical space between the rows. I could not find a way to
    > adjust this distance in any documentation. I have decreased
    > the cell padding, but that does not get rid of the extra
    > space between the rows.


    I can't reproduce this. I don't see any excessive padding between table rows
    (using uncustomized DocBook-XSL 1.74.0 and XEP 4.13).

    Do you have other customizations besides the table.cell.padding
    attribute-set?

    It might help if you posted a complete and valid (but small!) test document,
    instead of just a snippet.

    Mauritz