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] Font Size of Chapter and Section ???





Hello to all,

I can change the body.font.size without any problems.

But I'am not be able to changed the font size for Chapter and Section
Titles.

I tried it  that way:

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

<xsl:attribute-set name="formal.title.properties"
use-attribute-sets="normal.para.spacing">
  <xsl:attribute name="font-weight">bold</xsl:attribute>
  <xsl:attribute name="font-size">
    <xsl:value-of select="$body.font.master * 1.2"></xsl:value-of>
    <xsl:text>pt</xsl:text>
  </xsl:attribute>
  <xsl:attribute name="hyphenate">false</xsl:attribute>
  <xsl:attribute name="space-after.minimum">0.4em</xsl:attribute>
  <xsl:attribute name="space-after.optimum">0.6em</xsl:attribute>
  <xsl:attribute name="space-after.maximum">0.8em</xsl:attribute>
</xsl:attribute-set>

So I would expect a Title fontsize of 12pt but in reality I get size
greater 40pt, which is a little bit to much.

What am I doing wrong ??

By the way, docbook is printing just before the chapter tiltle the
"Chapter" in german "Kapitel". How can I suppress this feature ?


Thank to all so far for the help

Jochen


To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org.


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