This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Docbook XSL FO List Items?
- To: docbook-apps at lists dot oasis-open dot org
- Subject: DOCBOOK-APPS: Docbook XSL FO List Items?
- From: "Michael P. Urban" <Michael dot P dot Urban at jpl dot nasa dot gov>
- Date: Mon, 24 Sep 2001 10:52:11 -0700
- List-Id: <docbook-apps.lists.oasis-open.org>
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
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>