OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[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


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





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]