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]

[docbook-apps] setting font size based on body.font.master


Hello,

Currently I am hard coding a number of font sizes in
my customfo.xsl.  I would like to change this so that
the font sizes are based on the body.font.master (or
some other 'global' font size).

The following works for me when hard coding the
numbers:

<xsl:attribute name="font-size">12pt</xsl:attribute>

However, both of the following have no effect:

<xsl:attribute name="font-size">{$body.font.master *
0.8}pt</xsl:attribute>

<xsl:attribute name="font-size"
select="{$body.font.master * 0.8}pt"/>


I haven't done this before, so I am not even sure if
the syntax or the calculation are valid.  I got the
sample for it by doing a grep for body.font.master
through docbook-xsl/fo.


Thanks for the help!

-Ben



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com


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