This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
RE: <step> number and content on different lines
- From: "O'Donnell, Vincent" <vodonnell at accentopto dot com>
- To: docbook at lists dot oasis-open dot org
- Date: Fri, 10 May 2002 12:13:23 +0100
- Subject: RE: DOCBOOK: <step> number and content on different lines
(using stylesheets 1.50)
I don't think I am using a customization layer, but here is an example of
the offending fo,
<fo:list-block space-before.optimum="1em" space-before.minimum="0.8em"
space-before.maximum="1.2em" provisional-label-separation="0.2em"
provisional-distance-between-starts="2em">
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block space-before.optimum="1em" space-before.minimum="0.8em"
space-before.maximum="1.2em" id="N400084">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">Using the Kluber Lubrication Grease and a
grease gun, apply a small amount through each fitting until a small amount
of grease begins to bleed out of the bearing seal around the
fitting.</fo:block>
</fo:list-item-body>
</fo:list-item>
..
..
..
</fo:list-block>
I don't understand all the things in there (know where I can get
explanations?) - I think it looks like it should work ok, although I wonder
what the label end-indent and the body start-indent are doing??
If this should be ok, does it mean that fop is making the mess? Can anyone
else try this chunk on their setup?
tamuch
V
-----Original Message-----
From: David Cramer [mailto:dcramer@broadjump.com]
Sent: 09 May 2002 17:49
To: David Cramer; O'Donnell, Vincent; docbook@lists.oasis-open.org
Subject: RE: DOCBOOK: <step> number and content on different lines
Doh...I just noticed that you say you're using xalan/fo and deduce from
your previous post that you're using 1.50.1.
I doubt this is it, but make sure you haven't somehow over-ridden
list.item.spacing in your customization layer:
<xsl:attribute-set name="list.item.spacing">
<xsl:attribute name="space-before.optimum">1em</xsl:attribute>
<xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
<xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
</xsl:attribute-set>
Perhaps post the relevant piece of the fo that the xsl produces (i.e.
"<fo:list-block" and following).
David
> -----Original Message-----
> From: David Cramer
> Sent: Thursday, May 09, 2002 11:12 AM
> To: O'Donnell, Vincent; docbook@lists.oasis-open.org
> Subject: RE: DOCBOOK: <step> number and content on different lines
>
>
> What version of the xsl or dsssl? What version of the
> stylesheets? There
> was a bug in the xsls that was fixed in 1.45:
>
> http://sourceforge.net/tracker/index.php?func=detail&aid=46012
> 3&group_id
> =21935&atid=373749
>
> David
>
> > I am using a procedure in my xml and I am finding that in the
> > final pdf, the
> > content of the step is on the next line from the number of
> > the step, e.g., i
> > am seeing things like:
>