[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: RE: DOCBOOK: <step> number and content on different lines
Well, wherever the bug is, fop can do this because orderedlists come out ok. Looking at the fo markup for orderedlists and procecures, I see the differnece is that xsl:use-attribute-sets="list.item.spacing" is being applied to a fo:block inside the fo:list-item-label in procedure/step, while it's applied to the fo:list-item in itemizedlist/listitem. I have a feeling lots of people markup their procedures as orderedlists and that's why this hasn't been noticed yet. Also, the problem doesn't appear when you use XEP (a commercial renderer). I took a stab at fixing the template just now, but couldn't get it to work right off the bat--maybe I was doing something stupid. I'll take another look when I have time. Meanwhile you could log it as a bug: https://sourceforge.net/tracker/?group_id=21935&atid=373747 Starting points for learning about fo include: http://www.dpawson.co.uk/xsl/sect3/index.html and http://www.cranesoftwrights.com/ > <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" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ <<<< This is causing the problem > 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 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 space-before.optimum="1em" space-before.minimum="0.8em" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ <<<< This works with fop. spacing is set on list-item instead of the block inside > space-before.maximum="1.2em" ^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > <fo:list-item-label end-indent="label-end()"> > <fo:block > 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> > .. David > -----Original Message----- > From: O'Donnell, Vincent [mailto:vodonnell@accentopto.com] > Sent: Friday, May 10, 2002 6:13 AM > To: docbook@lists.oasis-open.org > 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, > > > 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 >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC