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] | [Elist Home]

Subject: DOCBOOK-APPS: Docbook XSL FO List Items?

I notice that the 1.44 (and earlier) FO stylesheet for Docbook generates
leading space for paragraph items in itemizations, such as in the
duck book example for <procedure>:
<procedure><title>An Example Procedure</title>
    A Step

Applying the 1.44 fo XSL stylesheet with no customizations, the resulting
fo contains:

 <fo:list-item-label end-indent="label-end()">
    <fo:block id="d0e5">1</fo:block>
 <fo:list-item-body start-indent="body-start()">
    <fo:block space-before.optimum="1em" 
      A Step

(white space inserted for readability).  FOP (0.20.1) produces
output in which the paragraph appears a little below the label,

      A Step

I _think_ FOP is doing the right thing with this -- as I read things,
the space-before is part of the <block> rectangle, and cannot be
omitted.  But it is certainly not what is intended.  

Does this represent a bug in the style sheet (the first paragraph,
only, should not have space-before), or am I (and the FOPers)
misreading the XSL fo specs?


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

Powered by eList eXpress LLC