1 | <?xml version='1.0'?> |
---|
2 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
---|
3 | xmlns:fo="http://www.w3.org/1999/XSL/Format" |
---|
4 | version='1.0'> |
---|
5 | |
---|
6 | |
---|
7 | <xsl:import href="../../../lib/docbook/docbook/xsl/fo/docbook.xsl" /> |
---|
8 | <xsl:import href="../../../lib/docbook/custom-styles/docbook/plain/xsl/customized.fo-base.xsl" /> |
---|
9 | |
---|
10 | <xsl:param name="fop.extensions" select="1" /> |
---|
11 | <!-- should be 200a, but fop does not support it. --> |
---|
12 | <xsl:param name="ulink.hyphenate">​</xsl:param> |
---|
13 | |
---|
14 | <!-- Base specific templates --> |
---|
15 | <xsl:param name="paper.type" select="'A4'" /> |
---|
16 | |
---|
17 | <xsl:param name="section.autolabel.max.depth" select="2" /> |
---|
18 | |
---|
19 | <xsl:param name="variablelist.as.blocks" select="1"></xsl:param> |
---|
20 | |
---|
21 | <xsl:param name="body.start.indent">0pt</xsl:param> |
---|
22 | <xsl:param name="page.margin.inner">0.79in</xsl:param> |
---|
23 | <xsl:param name="page.margin.outer">0.79in</xsl:param> |
---|
24 | |
---|
25 | <!-- doc.revision, base.version and doc.last.modified --> |
---|
26 | <xsl:param name="doc.revision">@doc.revision@</xsl:param> |
---|
27 | <xsl:param name="doc.last.modified">@doc.last.modified@</xsl:param> |
---|
28 | <xsl:param name="base.version">@base.version@</xsl:param> |
---|
29 | |
---|
30 | <xsl:template match="helptext"> |
---|
31 | <xsl:apply-templates /> |
---|
32 | </xsl:template> |
---|
33 | |
---|
34 | <xsl:template match="seeother|other"> |
---|
35 | </xsl:template> |
---|
36 | |
---|
37 | <xsl:template match="pubdate" mode="book.titlepage.verso.auto.mode"> |
---|
38 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" |
---|
39 | xsl:use-attribute-sets="book.titlepage.verso.style" space-before="1em"> |
---|
40 | <xsl:apply-templates select="." mode="book.titlepage.verso.mode" /> |
---|
41 | <xsl:value-of select="$doc.last.modified" /> |
---|
42 | </fo:block> |
---|
43 | </xsl:template> |
---|
44 | |
---|
45 | <xsl:template match="releaseinfo" mode="book.titlepage.verso.auto.mode"> |
---|
46 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" |
---|
47 | xsl:use-attribute-sets="book.titlepage.verso.style" space-before="0.5em"> |
---|
48 | <xsl:apply-templates select="." mode="book.titlepage.verso.mode" /> |
---|
49 | <xsl:text>Version: </xsl:text> |
---|
50 | </fo:block> |
---|
51 | <fo:block> |
---|
52 | <xsl:value-of select="$base.version" /> |
---|
53 | <xsl:text> (build #</xsl:text> |
---|
54 | <xsl:value-of select="$doc.revision" /> |
---|
55 | <xsl:text>)</xsl:text> |
---|
56 | </fo:block> |
---|
57 | </xsl:template> |
---|
58 | |
---|
59 | </xsl:stylesheet> |
---|
60 | |
---|