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]
Other format: [Raw text]

RE: [docbook-apps] Super/Subscript and line-height-shift-adjustment


Try the following:

<xsl:attribute-set name="root.properties">
 <xsl:attribute
name="line-height-shift-adjustment">disregard-shifts</xsl:attribute>
</xsl:attribute-set>

This will add the property to <fo:root/>, which may allow it to be inherited
by all the formatting objects in the document.  

Jeff Beal

> -----Original Message-----
> From: Marc Baaden [mailto:baaden@smplinux.de]
> Sent: Wednesday, September 10, 2003 9:56 AM
> To: docbook-apps@lists.oasis-open.org
> Subject: [docbook-apps] Super/Subscript and 
> line-height-shift-adjustment
> 
> 
> 
> Hi,
> 
> thanks for the hint to line-height-shift-adjustment and 
> disregard-shifts.
> I managed to use this with the xmlresume DTD by defining
> 
>   <xsl:template match="para">
>     <fo:block 
>       line-height-shift-adjustment="disregard-shifts"
>       space-after="{$para.break.space}">
>       <xsl:apply-templates/>
>     </fo:block>
>   </xsl:template>
> 
> Now I wonder how to do this for docbook documents. Do I need 
> to re-define
> the paragraph template ? Or is there a general way of 
> "activating" this
> setting.
> 
> NB: I tried (naively)
>   <xsl:param name="line-height-shift-adjustment">
>     disregard-shifts
>   </xsl:param>
> 
> in my xsl customization, but that is apparently not it.
> 
> Regards,
>   Marc
> 
> -- 
>  Dr. Marc Baaden  - Institut de Biologie Physico-Chimique, Paris
>  mailto:baaden@smplinux.de      -      http://www.marc-baaden.de
>  FAX: +49 697912 39550  -  Tel: +33 15841 5176 ou +33 609 843217
> 
> 
> 
> To unsubscribe from this list, send a post to 
> docbook-apps-unsubscribe@lists.oasis-open.org.
> 
> 
> 

To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org.


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