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] setting font size based on body.font.master


At 20:28 18/10/2004, Ben Adams wrote:
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!




<xsl:param name="body.font.master">10</xsl:param>


<xsl:param name="body.font.size"> <xsl:value-of select="$body.font.master"/><xsl:text>pt</xsl:text> </xsl:param>

should do it.The body font size is specified in two parameters (body.font.master and body.font.size) so that math can be performed on the font size by XSLT.


HTH DaveP





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