[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> <step> <para> A Step </para> </step> </procedure> Applying the 1.44 fo XSL stylesheet with no customizations, the resulting fo contains: <fo:list-item> <fo:list-item-label end-indent="label-end()"> <fo:block id="d0e5">1</fo:block> </fo:list-item-label> <fo:list-item-body start-indent="body-start()"> <fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em"> A Step </fo:block> </fo:list-item-body> </fo:list-item> (white space inserted for readability). FOP (0.20.1) produces output in which the paragraph appears a little below the label, like 1 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? Mike
Powered by eList eXpress LLC