2 Inlcuded in xhtml.xsl, xhtml.chunked.xsl, htmlhelp.xsl.
3 Contains common XSL stylesheets parameters.
4 Output documents styled by docbook.css.
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'"/>
9 <xsl:param name="htmlhelp.chm" select="'htmlhelp.chm'"/>
10 <xsl:param name="htmlhelp.hhc.section.depth" select="5"/>
12 <xsl:param name="section.autolabel">
14 <xsl:when test="/processing-instruction('asciidoc-numbered')">1</xsl:when>
15 <xsl:otherwise>0</xsl:otherwise>
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>
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>
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>
37 <xsl:param name="admon.textlabel" select="1"/>
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'"/>
46 <!-- This does not seem to work. -->
47 <xsl:param name="section.autolabel.max.depth" select="2"/>
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"/>
55 <xsl:param name="html.cellpadding" select="'4px'"/>
56 <xsl:param name="html.cellspacing" select="''"/>
58 <xsl:param name="table.borders.with.css" select="1"/>
59 <xsl:param name="table.cell.border.color" select="'#78079a'"/>
60 <xsl:param name="table.cell.border.style" select="'solid'"/>
61 <xsl:param name="table.cell.border.thickness" select="'1px'"/>
62 <xsl:param name="table.footnote.number.format" select="'a'"/>
63 <xsl:param name="table.footnote.number.symbols" select="''"/>
64 <xsl:param name="table.frame.border.color" select="'#78079a'"/>
65 <xsl:param name="table.frame.border.style" select="'solid'"/>
66 <xsl:param name="table.frame.border.thickness" select="'1px'"/>
67 <xsl:param name="tablecolumns.extension" select="'1'"/>
69 <xsl:attribute-set name="revhistory.title.properties">
70 <xsl:attribute name="font-size">12pt</xsl:attribute>
71 <xsl:attribute name="font-weight">bold</xsl:attribute>
72 <xsl:attribute name="text-align">center</xsl:attribute>
75 <xsl:attribute-set name="revhistory.table.properties">
76 <xsl:attribute name="border">0.5pt solid #78079a</xsl:attribute>
77 <xsl:attribute name="width">50%</xsl:attribute>
80 <xsl:attribute-set name="revhistory.table.cell.properties">
81 <xsl:attribute name="border">0.5pt solid #78079a</xsl:attribute>
82 <xsl:attribute name="font-size">12pt</xsl:attribute>
83 <xsl:attribute name="padding">2pt</xsl:attribute>
86 <xsl:param name="generate.revhistory.link" select="1"/>
88 <xsl:param name="highlight.source" select="1"/>
90 <xsl:param name="section.label.includes.component.label" select="1"/>
93 Table of contents inserted by <?asciidoc-toc?> processing instruction.
95 <xsl:param name="generate.toc">
97 <xsl:when test="/processing-instruction('asciidoc-toc')">
99 book toc,title,figure,table,example,equation
100 <!-- The only way I could find that suppressed book chapter TOCs -->
101 <xsl:if test="$generate.section.toc.level != 0">