[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Super/Subscript and line-height-shift-adjustme nt
Just a reminder to everyone trying this with xsltproc: the current version of xsltproc is not merging attribute-sets, but overwriting them. You would need to copy the whole root.properties attribute set to your customization layer and add the new attribute. Bob Stayton 400 Encinal Street Publications Architect Santa Cruz, CA 95060 Technical Publications voice: (831) 427-7796 The SCO Group fax: (831) 429-1887 email: bobs@sco.com On Wed, Sep 10, 2003 at 10:03:11AM -0400, Jeff Beal wrote: > 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. > > -- Bob Stayton 400 Encinal Street Publications Architect Santa Cruz, CA 95060 Technical Publications voice: (831) 427-7796 The SCO Group fax: (831) 429-1887 email: bobs@sco.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]