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="fop1.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 | <xsl:param name="insert.xref.page.number">yes</xsl:param> |
---|
19 | <xsl:param name="local.l10n.xml" select="document('')"/> |
---|
20 | <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"> |
---|
21 | <l:l10n language="en"> |
---|
22 | <l:context name="xref"> |
---|
23 | <l:template name="page.citation" text=" (page %p)"/> |
---|
24 | </l:context> |
---|
25 | </l:l10n> |
---|
26 | </l:i18n> |
---|
27 | |
---|
28 | <xsl:param name="variablelist.as.blocks" select="1"></xsl:param> |
---|
29 | |
---|
30 | <xsl:param name="body.start.indent">0pt</xsl:param> |
---|
31 | <xsl:param name="page.margin.inner">0.79in</xsl:param> |
---|
32 | <xsl:param name="page.margin.outer">0.79in</xsl:param> |
---|
33 | |
---|
34 | <!-- doc.revision, base.version and doc.last.modified --> |
---|
35 | <xsl:param name="doc.revision">@doc.revision@</xsl:param> |
---|
36 | <xsl:param name="doc.last.modified">@doc.last.modified@</xsl:param> |
---|
37 | <xsl:param name="base.version">@base.version@</xsl:param> |
---|
38 | |
---|
39 | <xsl:template match="helptext"> |
---|
40 | <xsl:choose> |
---|
41 | <xsl:when test="@webonly = '0'"> |
---|
42 | <xsl:apply-templates /> |
---|
43 | </xsl:when> |
---|
44 | </xsl:choose> |
---|
45 | </xsl:template> |
---|
46 | |
---|
47 | <xsl:template match="seeother|other"> |
---|
48 | </xsl:template> |
---|
49 | |
---|
50 | <xsl:template match="nohelp"> |
---|
51 | <xsl:apply-templates /> |
---|
52 | </xsl:template> |
---|
53 | |
---|
54 | <xsl:template match="pubdate" mode="book.titlepage.verso.auto.mode"> |
---|
55 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" |
---|
56 | xsl:use-attribute-sets="book.titlepage.verso.style" space-before="1em"> |
---|
57 | <xsl:apply-templates select="." mode="book.titlepage.verso.mode" /> |
---|
58 | <xsl:value-of select="$doc.last.modified" /> |
---|
59 | </fo:block> |
---|
60 | </xsl:template> |
---|
61 | |
---|
62 | <xsl:template match="releaseinfo" mode="book.titlepage.verso.auto.mode"> |
---|
63 | <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" |
---|
64 | xsl:use-attribute-sets="book.titlepage.verso.style" space-before="0.5em"> |
---|
65 | <xsl:apply-templates select="." mode="book.titlepage.verso.mode" /> |
---|
66 | <xsl:text>Version: </xsl:text> |
---|
67 | </fo:block> |
---|
68 | <fo:block> |
---|
69 | <xsl:value-of select="$base.version" /> |
---|
70 | <xsl:text> (build #</xsl:text> |
---|
71 | <xsl:value-of select="$doc.revision" /> |
---|
72 | <xsl:text>)</xsl:text> |
---|
73 | </fo:block> |
---|
74 | </xsl:template> |
---|
75 | |
---|
76 | <xsl:template match="guilabel"> |
---|
77 | <xsl:call-template name="inline.boldseq"/> |
---|
78 | </xsl:template> |
---|
79 | |
---|
80 | <xsl:template match="guibutton"> |
---|
81 | <xsl:call-template name="inline.boldseq"/> |
---|
82 | </xsl:template> |
---|
83 | |
---|
84 | <xsl:template match="baseversion"> |
---|
85 | <xsl:value-of select="$base.version" /> |
---|
86 | </xsl:template> |
---|
87 | |
---|
88 | </xsl:stylesheet> |
---|
89 | |
---|