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]

[NW-XSLT:FO] styling chapter (/component) titles


Hi

I use Norman Walsh's XSLTs 1.59.2 to generate FO.

Setting stuff via the titlepage mechanism works so far: changing

<!ENTITY hsize5 "24.8832pt">

to be 4pt changes the generated FO, and makes chapter titles very small. But changing font-weight="bold" to font-weight="100" does not have any effect: the generated FO file is not changed in any way.

Very strange ...

In titlepage.templates.xsl I get

<xsl:template match="title" mode="article.titlepage.recto.auto.mode">
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"; xsl:use-attribute-sets="article.titlepage.recto.style" text-align="center" keep-with-next="always" font-size="24.8832pt" font-weight="100" font-family="{$title.font.family}">
<xsl:call-template name="component.title">
<xsl:with-param name="node" select="ancestor-or-self::article[1]"/>
</xsl:call-template>
</fo:block>
</xsl:template>

... or font-weight="200" if I make that change in my.titlepage.templates.xml and regenerate titlepage.templates.xsl .

But the 200 does not appear in the generated FO (it doesn't change at all if I change font-size="[...]").

Is the error on my side, or in the XSLTs? If the latter, should it be fixed in the very latest XSLTs?

Tobi

--
http://www.pinkjuice.com/


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