|
|
785985 |
|
|
|
878a2b |
|
|
|
878a2b |
$Id$
|
|
|
878a2b |
-->
|
|
|
785985 |
|
|
|
785985 |
version='1.0'
|
|
|
785985 |
xmlns="http://www.w3.org/TR/xhtml1/transitional"
|
|
|
785985 |
xmlns:fo="http://www.w3.org/1999/XSL/Format"
|
|
|
785985 |
exclude-result-prefixes="#default">
|
|
|
0d79dc |
|
|
|
0d79dc |
<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets/fo/docbook.xsl"/>
|
|
|
0d79dc |
|
|
|
785985 |
|
|
|
785985 |
<xsl:param name="admon.graphics" select="0"></xsl:param>
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
<xsl:param name="toc.section.depth">3</xsl:param>
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
<xsl:param name="passivetex.extensions" select="1"></xsl:param>
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
<xsl:param name="section.autolabel" select="1"></xsl:param>
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
<xsl:param name="make.year.ranges" select="1"></xsl:param>
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
<xsl:param name="paper.type" select="'A4'"/>
|
|
|
785985 |
<xsl:param name="double.sided" select="1"></xsl:param>
|
|
|
785985 |
<xsl:param name="header.column.widths" select="'1 0 1'"/>
|
|
|
785985 |
<xsl:param name="footer.column.widths" select="'1 1 1'"/>
|
|
|
785985 |
<xsl:param name="header.rule" select="1"/>
|
|
|
785985 |
<xsl:param name="page.margin.top">15mm</xsl:param>
|
|
|
785985 |
<xsl:param name="region.before.extent">10mm</xsl:param>
|
|
|
785985 |
<xsl:param name="body.margin.top">15mm</xsl:param>
|
|
|
785985 |
<xsl:param name="body.margin.bottom">15mm</xsl:param>
|
|
|
785985 |
<xsl:param name="region.after.extent">10mm</xsl:param>
|
|
|
785985 |
<xsl:param name="page.margin.bottom">15mm</xsl:param>
|
|
|
785985 |
<xsl:param name="page.margin.outer">30mm</xsl:param>
|
|
|
785985 |
<xsl:param name="page.margin.inner">30mm</xsl:param>
|
|
|
785985 |
<xsl:param name="title.margin.left">0pt</xsl:param>
|
|
|
785985 |
<xsl:param name="title.color">#204c8d</xsl:param>
|
|
|
785985 |
<xsl:param name="body.font.family">sans-serif</xsl:param>
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
<xsl:attribute-set name="formal.title.properties" use-attribute-sets="normal.para.spacing">
|
|
|
785985 |
<xsl:attribute name="color"><xsl:value-of select="$title.color"/></xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="font-size">
|
|
|
785985 |
<xsl:value-of select="$body.font.master * 1.2"/>
|
|
|
785985 |
<xsl:text>pt</xsl:text>
|
|
|
785985 |
</xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="hyphenate">false</xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="space-before.optimum"><xsl:value-of select="concat($body.font.master, 'pt')"/></xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="space-before.minimum"><xsl:value-of select="concat($body.font.master, 'pt')"/></xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="space-before.maximum"><xsl:value-of select="concat($body.font.master, 'pt')"/></xsl:attribute>
|
|
|
785985 |
</xsl:attribute-set>
|
|
|
785985 |
|
|
|
785985 |
<xsl:attribute-set name="section.title.level1.properties">
|
|
|
785985 |
<xsl:attribute name="color"><xsl:value-of select="$title.color"/></xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="font-size">
|
|
|
785985 |
<xsl:value-of select="$body.font.master * 1.6"/>
|
|
|
785985 |
<xsl:text>pt</xsl:text>
|
|
|
785985 |
</xsl:attribute>
|
|
|
785985 |
</xsl:attribute-set>
|
|
|
785985 |
<xsl:attribute-set name="section.title.level2.properties">
|
|
|
785985 |
<xsl:attribute name="color"><xsl:value-of select="$title.color"/></xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="font-size">
|
|
|
785985 |
<xsl:value-of select="$body.font.master * 1.4"/>
|
|
|
785985 |
<xsl:text>pt</xsl:text>
|
|
|
785985 |
</xsl:attribute>
|
|
|
785985 |
</xsl:attribute-set>
|
|
|
785985 |
<xsl:attribute-set name="section.title.level3.properties">
|
|
|
785985 |
<xsl:attribute name="color"><xsl:value-of select="$title.color"/></xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="font-size">
|
|
|
785985 |
<xsl:value-of select="$body.font.master * 1.3"/>
|
|
|
785985 |
<xsl:text>pt</xsl:text>
|
|
|
785985 |
</xsl:attribute>
|
|
|
785985 |
</xsl:attribute-set>
|
|
|
785985 |
<xsl:attribute-set name="section.title.level4.properties">
|
|
|
785985 |
<xsl:attribute name="color"><xsl:value-of select="$title.color"/></xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="font-size">
|
|
|
785985 |
<xsl:value-of select="$body.font.master * 1.2"/>
|
|
|
785985 |
<xsl:text>pt</xsl:text>
|
|
|
785985 |
</xsl:attribute>
|
|
|
785985 |
</xsl:attribute-set>
|
|
|
785985 |
<xsl:attribute-set name="section.title.level5.properties">
|
|
|
785985 |
<xsl:attribute name="color"><xsl:value-of select="$title.color"/></xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="font-size">
|
|
|
785985 |
<xsl:value-of select="$body.font.master * 1.1"/>
|
|
|
785985 |
<xsl:text>pt</xsl:text>
|
|
|
785985 |
</xsl:attribute>
|
|
|
785985 |
</xsl:attribute-set>
|
|
|
785985 |
<xsl:attribute-set name="section.title.level6.properties">
|
|
|
785985 |
<xsl:attribute name="color"><xsl:value-of select="$title.color"/></xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="font-size">
|
|
|
785985 |
<xsl:value-of select="$body.font.master"/>
|
|
|
785985 |
<xsl:text>pt</xsl:text>
|
|
|
785985 |
</xsl:attribute>
|
|
|
785985 |
</xsl:attribute-set>
|
|
|
785985 |
|
|
|
785985 |
<xsl:attribute-set name="section.title.properties">
|
|
|
785985 |
<xsl:attribute name="font-family">
|
|
|
785985 |
<xsl:value-of select="$title.font.family"/>
|
|
|
785985 |
</xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
|
|
785985 |
|
|
|
785985 |
<xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="space-before.optimum">1.0em</xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="text-align">left</xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"/></xsl:attribute>
|
|
|
785985 |
</xsl:attribute-set>
|
|
|
785985 |
|
|
|
785985 |
<xsl:attribute-set name="book.titlepage.recto.style">
|
|
|
785985 |
<xsl:attribute name="font-family">
|
|
|
785985 |
<xsl:value-of select="$title.fontset"/>
|
|
|
785985 |
</xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="color"><xsl:value-of select="$title.color"/></xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="font-size">12pt</xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="text-align">center</xsl:attribute>
|
|
|
785985 |
</xsl:attribute-set>
|
|
|
785985 |
|
|
|
785985 |
<xsl:attribute-set name="component.title.properties">
|
|
|
785985 |
<xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="space-before.optimum"><xsl:value-of select="concat($body.font.master, 'pt')"/></xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="space-before.minimum"><xsl:value-of select="concat($body.font.master, 'pt')"/></xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="space-before.maximum"><xsl:value-of select="concat($body.font.master, 'pt')"/></xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="hyphenate">false</xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="color">
|
|
|
785985 |
<xsl:choose>
|
|
|
785985 |
<xsl:when test="not(parent::chapter | parent::article | parent::appendix)"><xsl:value-of select="$title.color"/></xsl:when>
|
|
|
785985 |
</xsl:choose>
|
|
|
785985 |
</xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="text-align">
|
|
|
785985 |
<xsl:choose>
|
|
|
785985 |
<xsl:when test="((parent::article | parent::articleinfo) and not(ancestor::book) and not(self::bibliography)) or (parent::slides | parent::slidesinfo)">center</xsl:when>
|
|
|
785985 |
<xsl:otherwise>left</xsl:otherwise>
|
|
|
785985 |
</xsl:choose>
|
|
|
785985 |
</xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"/></xsl:attribute>
|
|
|
785985 |
</xsl:attribute-set>
|
|
|
785985 |
|
|
|
785985 |
<xsl:attribute-set name="chapter.titlepage.recto.style">
|
|
|
785985 |
<xsl:attribute name="color"><xsl:value-of select="$title.color"/></xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="background-color">white</xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="font-size">
|
|
|
785985 |
<xsl:choose>
|
|
|
785985 |
<xsl:when test="$l10n.gentext.language = 'ja-JP'">
|
|
|
785985 |
<xsl:value-of select="$body.font.master * 1.7"/>
|
|
|
785985 |
<xsl:text>pt</xsl:text>
|
|
|
785985 |
</xsl:when>
|
|
|
785985 |
<xsl:otherwise>
|
|
|
785985 |
<xsl:text>24pt</xsl:text>
|
|
|
785985 |
</xsl:otherwise>
|
|
|
785985 |
</xsl:choose>
|
|
|
785985 |
</xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="text-align">left</xsl:attribute>
|
|
|
785985 |
|
|
|
785985 |
<xsl:attribute name="padding-left">1em</xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="padding-right">1em</xsl:attribute>
|
|
|
785985 |
</xsl:attribute-set>
|
|
|
785985 |
|
|
|
785985 |
<xsl:attribute-set name="preface.titlepage.recto.style">
|
|
|
785985 |
<xsl:attribute name="font-family">
|
|
|
785985 |
<xsl:value-of select="$title.fontset"/>
|
|
|
785985 |
</xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="color">#a70000</xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="font-size">12pt</xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
|
|
785985 |
</xsl:attribute-set>
|
|
|
785985 |
|
|
|
785985 |
<xsl:attribute-set name="part.titlepage.recto.style">
|
|
|
785985 |
<xsl:attribute name="color"><xsl:value-of select="$title.color"/></xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="text-align">center</xsl:attribute>
|
|
|
785985 |
</xsl:attribute-set>
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
<xsl:param name="variablelist.as.blocks">1</xsl:param>
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
<xsl:attribute-set name="xref.properties">
|
|
|
785985 |
<xsl:attribute name="font-style">italic</xsl:attribute>
|
|
|
785985 |
<xsl:attribute name="color">
|
|
|
785985 |
<xsl:choose>
|
|
|
785985 |
<xsl:when test="ancestor::note or ancestor::caution or ancestor::important or ancestor::warning or ancestor::tip">
|
|
|
785985 |
<xsl:text>#aee6ff</xsl:text>
|
|
|
785985 |
</xsl:when>
|
|
|
785985 |
<xsl:otherwise>
|
|
|
785985 |
<xsl:text>#0066cc</xsl:text>
|
|
|
785985 |
</xsl:otherwise>
|
|
|
785985 |
</xsl:choose>
|
|
|
785985 |
</xsl:attribute>
|
|
|
785985 |
</xsl:attribute-set>
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
|
|
|
785985 |
|
|
|
0d79dc |
|
|
|
0d79dc |
|
|
|
878a2b |
</xsl:stylesheet>
|