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: RE: [docbook-apps] Font size changes in <author> and <affiliation>


> -----Original Message-----
> From: Ron Catterall
> <xsl:template match="author" mode="book.titlepage.recto.mode">
>   <fo:block font-size="23pt"
>             color="blue"
>             space-before="20pt"
>             keep-with-next.within-column="always">
>  ?? <xsl:apply-templates select="." mode="titlepage.mode"/>
>   </fo:block>
>   <fo:block font-size="12pt"
>             color="green"
>             space-before="18pt" >
>  ?? <xsl:apply-templates select="affiliation" mode="titlepage.mode"/>
>   </fo:block>
> </xsl:template>

> does not apply either color or font-size specifications.


This works for me (with <author> inside <authorgroup>, as in your example):

 <xsl:template match="authorgroup" mode="book.titlepage.recto.mode">
    <xsl:apply-templates mode="titlepage.mode"/>
 </xsl:template>
  
 <xsl:template match="author" mode="titlepage.mode">
    <fo:block font-size="23pt"
	      color="blue"
	      space-before="20pt"
	      keep-with-next.within-column="always">
      <xsl:apply-templates mode="titlepage.mode"/>
    </fo:block>
 </xsl:template>
  
 <xsl:template match="affiliation" mode="titlepage.mode">
    <fo:block font-size="12pt"
	      color="green"
	      space-before="18pt" >
      <xsl:apply-templates mode="titlepage.mode"/>
    </fo:block>
 </xsl:template>


/MJ




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