[jboss-cvs] JBossAS SVN: r71389 - trunk/docbook-support/jbossorg-docbook-xslt/src/main/resources/xslt/org/jboss.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Mar 28 13:10:03 EDT 2008
Author: petemuir
Date: 2008-03-28 13:10:03 -0400 (Fri, 28 Mar 2008)
New Revision: 71389
Modified:
trunk/docbook-support/jbossorg-docbook-xslt/src/main/resources/xslt/org/jboss/main-pdf.xsl
Log:
Make level1 headings into a param
Modified: trunk/docbook-support/jbossorg-docbook-xslt/src/main/resources/xslt/org/jboss/main-pdf.xsl
===================================================================
--- trunk/docbook-support/jbossorg-docbook-xslt/src/main/resources/xslt/org/jboss/main-pdf.xsl 2008-03-28 17:02:45 UTC (rev 71388)
+++ trunk/docbook-support/jbossorg-docbook-xslt/src/main/resources/xslt/org/jboss/main-pdf.xsl 2008-03-28 17:10:03 UTC (rev 71389)
@@ -256,9 +256,11 @@
<xsl:param name="body.start.indent">0pt</xsl:param>
<xsl:param name="title.color">#4a5d75</xsl:param>
+<xsl:param name="chaptertitle.color" select="$title.color" />
+<xsl:param name="section.level1.title.color" select="$title.color" />
<xsl:attribute-set name="section.title.level1.properties">
- <xsl:attribute name="color"><xsl:value-of select="$title.color"/></xsl:attribute>
+ <xsl:attribute name="color"><xsl:value-of select="$section.level1.title.color"/></xsl:attribute>
<xsl:attribute name="font-size">
<xsl:value-of select="$body.font.master * 1.6"/>
<xsl:text>pt</xsl:text>
@@ -346,8 +348,6 @@
<xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"/></xsl:attribute>
</xsl:attribute-set>
-<xsl:param name="chaptertitle.color" select="$title.color" />
-
<xsl:attribute-set name="chapter.titlepage.recto.style">
<xsl:attribute name="color"><xsl:value-of select="$chaptertitle.color"/></xsl:attribute>
<xsl:attribute name="background-color">white</xsl:attribute>
More information about the jboss-cvs-commits
mailing list