This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Docbook XSL FO List Items?


Looks like Norm's got that one fixed in cvs: 
https://sourceforge.net/tracker/index.php?func=detail&aid=460123&group_i
d=21935&atid=373749

David

> -----Original Message-----
> From: Michael P. Urban [mailto:Michael.P.Urban@jpl.nasa.gov]
> Sent: Monday, September 24, 2001 12:52 PM
> To: docbook-apps@lists.oasis-open.org
> 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
> 
> ----------------------------------------------------------------
> To subscribe or unsubscribe from this elist use the subscription
> manager: <http://lists.oasis-open.org/ob/adm.pl>
> 
> 

----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]