[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: could anybody plz declare the behavior of $body.fontset
hi, im just trying to add a new font to my fo-stylesheets ('Symbol' for list-bullets). but whatever i do (what the complete guide says) the only font-family <fo:root> gets is "Times" body.fontset is declared in pagesetup.xsl (besides: why not in param.xsl?) --- <!--<xsl:param name="body.fontset"> <xsl:value-of select="$body.font.family"/> <xsl:if test="$body.font.family != '' and $symbol.font.family != ''">,</xsl:if> <xsl:value-of select="$symbol.font.family"/> </xsl:param>--> <xsl:param name="body.fontset" select="'Arial'" /> --- (ive changed it to the easier statement to be sure it has the value "Arial".) body.fontset is declared as a top-level elemet - not in a template - so it cant (?) get another value than its initial value. (?) if i search all the stylesheet files, i do only find _one_ string ' name="body.fontset" ' (pagesetup.xsl) imho this ensures, that body.fontset is not used as a param in any call-template statement (which could change its value(?) ) whatever, i added a <xsl:message> in docbook.xsl which outputs the value of body.fontset, and it is ... "Times" :/ i changed this line <xsl:param name="body.fontset" select="'Arial'" /> to <xsl:variable name="body.fontset" select="'Arial'" /> now xsl:message outputs "Arial" ... well, maybe this is more XSLT-stuff but db, but you know the stylesheets better anyone else ... this takes me about 2.5 hrs now, got enough :) thx, Sebastian
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]