OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] table inside itemizedlist: spacing bug?

Hi John,
Yes, this is the right place to ask this question.  But I'm not able to 
duplicate your problem with the stock 1.69.1 stylesheets.  Are you sure 
your customization is using 1.69.1?  Can you test it with the stock 

This is an old problem that was fixed prior to 1.68.0  You are seeing the 
start-indent property used on the fo:list-body being inherited by the 
fo:block's inside the table cells. But it should not be.  In fo/table.xsl 
in this template:

<xsl:template match="tbody">
  <xsl:variable name="tgroup" select="parent::*"/>

  <fo:table-body start-indent="0pt" end-indent="0pt">
    <xsl:apply-templates select="row[1]">
      <xsl:with-param name="spans">
        <xsl:call-template name="blank.spans">
          <xsl:with-param name="cols" select="../@cols"/>

Note the start-indent="0pt" on the fo:table-body element.  That is the 
start-indent that should be inherited by the cell content.  Can you peek in 
your fo output to see if it is there?  If not, then your customization is 
doing something to change it.  If it is there, then something else is going 

Bob Stayton
Sagehill Enterprises
DocBook Consulting

----- Original Message ----- 
From: "John W. Shipman" <john@nmt.edu>
To: "docbook-apps mailing list" <docbook-apps@lists.oasis-open.org>
Sent: Thursday, May 11, 2006 5:30 PM
Subject: [docbook-apps] 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


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org 

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]