]>
git.saurik.com Git - apt.git/blob - doc/docbook-html-style.xsl
1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <xsl:stylesheet xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform" version=
"1.0">
4 <!-- Import our base stylesheet -->
5 <xsl:import href=
"/usr/share/xml/docbook/stylesheet/docbook-xsl/xhtml-1_1/chunk.xsl" />
7 <!-- Since we use xsltproc (not saxon), add a workaround to ensure UTF-8 -->
8 <xsl:template xmlns=
"http://www.w3.org/1999/xhtml" name=
"head.content.generator">
9 <xsl:param name=
"node" select=
"."/>
10 <meta name=
"generator" content=
"DocBook {$DistroTitle} V{$VERSION}"/>
11 <meta http-equiv=
"Content-Type" content=
"text/html; charset=UTF-8"/>
14 <xsl:template name=
"generate.html.title"/>
16 <xsl:template match=
"releaseinfo" mode=
"titlepage.mode">
21 <xsl:param name=
"root.filename">index
</xsl:param>
23 <!-- We do not want a title in HTML. -->
24 <xsl:param name=
"generate.meta.abstract" select=
"0"/>
26 <!-- We do not want the first subsection on the same page as content. -->
27 <xsl:param name=
"chunk.first.sections" select=
"0"/>
28 <xsl:param name=
"chunk.section.depth" select=
"0"/>
29 <xsl:param name=
"chunker.output.indent" select=
"'yes'"/>
31 <xsl:param name=
"use.id.as.filename" select=
"1"/>
33 <xsl:param name=
"toc.section.depth" select=
"1"/>
34 <xsl:param name=
"generate.section.toc.level" select=
"0"/>
35 <xsl:param name=
"section.label.includes.component.label" select=
"1"/>
36 <xsl:param name=
"section.autolabel" select=
"1"/>
38 <xsl:param name=
"generate.css.header" select=
"1"/>