[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] setting font size based on body.font.master
Great - that worked. Btw, (different question) what is the parameter name for the base text font (like paragraph font) - I thought it was body.font.master, but it seems that the paragraph text is more like body.font.master * 0.85 or so. Thanks! -Ben --- Dave Pawson <dpawson@gotadsl.co.uk> wrote: > At 01:39 18/10/2004, Ben Adams wrote: > > > >The following works for me when hard coding the > >numbers: > > > ><xsl:attribute > name="font-size">12pt</xsl:attribute> > > Yep, simple string value. > > > >However, both of the following have no effect: > > > ><xsl:attribute name="font-size">{$body.font.master > * > >0.8}pt</xsl:attribute> > > It produces exactly what you said :-) > But the AVT isn't executed/evaluated though. > > > > ><xsl:attribute name="font-size" > >select="{$body.font.master * 0.8}pt"/> > > > <xsl:attribute name="font-size"> > <xsl:value-of select="concat($body.font.master * > 0.8,'pt')"/></xsl:attribute> > Might be better? > > I.e. calculate it. > > HTH DaveP > > > > > __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]