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: bold in header.content


Hi,

The subtitle is shown in „bold“, because I wrote: 
font-family = "BlackCn77" font-weight="bold"

The code looks like the following: 

<xsl:template match="subtitle" mode="book.titlepage.recto.auto.mode">
    <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format";
      xsl:use-attribute-sets = "book.titlepage.recto.style" 
      font-family = "BlackCn77" font-weight="bold"
     font-size="20.736pt"       >
      <xsl:apply-templates select="." 
      mode="book.titlepage.recto.mode"/>
    </fo:block>
  </xsl:template>


In the “header.content” I wrote the words “Project management”. I would like these words shown in “bold”. I write again:
font-family = "BlackCn77" font-weight="bold" 

But the words “Project management” are not in “bold”. They are “normal”. What should I do, so that these words can be in “bold”?


My code looks like the following:

<xsl:template name="header.content">
    <xsl:param name="pageclass" select="''"/>
    <xsl:param name="sequence" select="''"/>
    <xsl:param name="position" select="''"/>
    <xsl:param name="gentext-key" select="''"/>
    <xsl:param name="element" select="local-name(.)"/>  
    
  <fo:block>
    <xsl:choose>        
      <xsl:when test="$sequence = 'odd' and $position = 'right'">          
        <xsl:attribute name="text-align">left</xsl:attribute>

<fo:block  xmlns:fo=http://www.w3.org/1999/XSL/Format
           text-align = "right" 
            font-family="BlackCn77" font-weight="bold"/>
          <xsl:text>Project management</xsl:text>
          <fo:block/>      

       </xsl:when>  
… …

Thanks for any help!

Lily

-- 
NUR NOCH BIS 31.01.! GMX FreeDSL - Telefonanschluss + DSL 
für nur 16,37 EURO/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a


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