1 | <!-- |
---|
2 | Inlcuded in xhtml.xsl, xhtml.chunked.xsl, htmlhelp.xsl. |
---|
3 | Contains common XSL stylesheets parameters. |
---|
4 | Output documents styled by docbook.css. |
---|
5 | --> |
---|
6 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
---|
7 | <xsl:param name="html.stylesheet" select="'docbook-xsl.css'"/> |
---|
8 | |
---|
9 | <xsl:param name="htmlhelp.chm" select="'htmlhelp.chm'"/> |
---|
10 | <xsl:param name="htmlhelp.hhc.section.depth" select="5"/> |
---|
11 | |
---|
12 | <xsl:param name="section.autolabel"> |
---|
13 | <xsl:choose> |
---|
14 | <xsl:when test="/processing-instruction('asciidoc-numbered')">1</xsl:when> |
---|
15 | <xsl:otherwise>0</xsl:otherwise> |
---|
16 | </xsl:choose> |
---|
17 | </xsl:param> |
---|
18 | |
---|
19 | <xsl:param name="suppress.navigation" select="0"/> |
---|
20 | <xsl:param name="navig.graphics.extension" select="'.png'"/> |
---|
21 | <xsl:param name="navig.graphics" select="0"/> |
---|
22 | <xsl:param name="navig.graphics.path">images/icons/</xsl:param> |
---|
23 | <xsl:param name="navig.showtitles">0</xsl:param> |
---|
24 | |
---|
25 | <xsl:param name="shade.verbatim" select="0"/> |
---|
26 | <xsl:attribute-set name="shade.verbatim.style"> |
---|
27 | <xsl:attribute name="border">0</xsl:attribute> |
---|
28 | <xsl:attribute name="background-color">#E0E0E0</xsl:attribute> |
---|
29 | </xsl:attribute-set> |
---|
30 | |
---|
31 | <xsl:param name="admon.graphics" select="1"/> |
---|
32 | <xsl:param name="admon.graphics.path">images/icons/</xsl:param> |
---|
33 | <xsl:param name="admon.graphics.extension" select="'.png'"/> |
---|
34 | <xsl:param name="admon.style"> |
---|
35 | <xsl:text>margin-left: 0; margin-right: 10%;</xsl:text> |
---|
36 | </xsl:param> |
---|
37 | <xsl:param name="admon.textlabel" select="1"/> |
---|
38 | |
---|
39 | <xsl:param name="callout.defaultcolumn" select="'60'"/> |
---|
40 | <xsl:param name="callout.graphics.extension" select="'.png'"/> |
---|
41 | <xsl:param name="callout.graphics" select="'1'"/> |
---|
42 | <xsl:param name="callout.graphics.number.limit" select="'10'"/> |
---|
43 | <xsl:param name="callout.graphics.path" select="'images/icons/callouts/'"/> |
---|
44 | <xsl:param name="callout.list.table" select="'1'"/> |
---|
45 | |
---|
46 | <!-- This does not seem to work. --> |
---|
47 | <xsl:param name="section.autolabel.max.depth" select="2"/> |
---|
48 | |
---|
49 | <xsl:param name="chunk.first.sections" select="1"/> |
---|
50 | <xsl:param name="chunk.section.depth" select="1"/> |
---|
51 | <xsl:param name="chunk.quietly" select="0"/> |
---|
52 | <xsl:param name="chunk.toc" select="''"/> |
---|
53 | <xsl:param name="chunk.tocs.and.lots" select="0"/> |
---|
54 | |
---|
55 | <xsl:param name="html.cellpadding" select="'4px'"/> |
---|
56 | <xsl:param name="html.cellspacing" select="''"/> |
---|
57 | |
---|
58 | <xsl:param name="table.borders.with.css" select="1"/> |
---|
59 | <xsl:param name="table.cell.border.color" select="'#527bbd'"/> |
---|
60 | |
---|
61 | <xsl:param name="table.cell.border.style" select="'solid'"/> |
---|
62 | <xsl:param name="table.cell.border.thickness" select="'1px'"/> |
---|
63 | <xsl:param name="table.footnote.number.format" select="'a'"/> |
---|
64 | <xsl:param name="table.footnote.number.symbols" select="''"/> |
---|
65 | <xsl:param name="table.frame.border.color" select="'#527bbd'"/> |
---|
66 | <xsl:param name="table.frame.border.style" select="'solid'"/> |
---|
67 | <xsl:param name="table.frame.border.thickness" select="'3px'"/> |
---|
68 | <xsl:param name="tablecolumns.extension" select="'1'"/> |
---|
69 | |
---|
70 | <xsl:param name="highlight.source" select="1"/> |
---|
71 | |
---|
72 | <xsl:param name="section.label.includes.component.label" select="1"/> |
---|
73 | |
---|
74 | <!-- |
---|
75 | Table of contents inserted by <?asciidoc-toc?> processing instruction. |
---|
76 | --> |
---|
77 | <xsl:param name="generate.toc"> |
---|
78 | <xsl:choose> |
---|
79 | <xsl:when test="/processing-instruction('asciidoc-toc')"> |
---|
80 | article toc,title |
---|
81 | book toc,title,figure,table,example,equation |
---|
82 | <!-- The only way I could find that suppressed book chapter TOCs --> |
---|
83 | <xsl:if test="$generate.section.toc.level != 0"> |
---|
84 | chapter toc,title |
---|
85 | part toc,title |
---|
86 | preface toc,title |
---|
87 | qandadiv toc |
---|
88 | qandaset toc |
---|
89 | reference toc,title |
---|
90 | sect1 toc |
---|
91 | sect2 toc |
---|
92 | sect3 toc |
---|
93 | sect4 toc |
---|
94 | sect5 toc |
---|
95 | section toc |
---|
96 | set toc,title |
---|
97 | </xsl:if> |
---|
98 | </xsl:when> |
---|
99 | <xsl:otherwise> |
---|
100 | article nop |
---|
101 | book nop |
---|
102 | </xsl:otherwise> |
---|
103 | </xsl:choose> |
---|
104 | </xsl:param> |
---|
105 | |
---|
106 | </xsl:stylesheet> |
---|