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] Changing sub-title color


On 16 août 07, at 15:12, Kari Bourgeois wrote:

Hi,

> Can someone point me to how best to change the <subtitle> on a  
> titlepage color to green. I’ve tried a few things and can’t seem to  
> get it.

I do that in my custom stylesheet

	<xsl:param name="title.color">
		#334D89
	</xsl:param>

	<xsl:attribute-set name="section.title.level1.properties">
		<xsl:attribute name="color">
			<xsl:value-of select="$title.color"/>
		</xsl:attribute>
		<xsl:attribute name="font-weight">normal</xsl:attribute>
		<xsl:attribute name="font-size">
			<xsl:value-of select="$body.font.master * 1.3"/>
			<xsl:text>pt</xsl:text>
		</xsl:attribute>
	</xsl:attribute-set>

I change the color with $title.color (defined before). As you can see  
I change the font-weight too and the font size.

Hope this help !

Regards,
Jacques
-- 
« Mac OS X Server à votre Service » est épuisé.
Vous pouvez désormais l'acquérir en PDF
<http://www.foucry.net/Redaction/service/service.html>



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