]> git.saurik.com Git - apt.git/blame - doc/docbook-html-style.xsl
Release 1.1.4
[apt.git] / doc / docbook-html-style.xsl
CommitLineData
a034d852
GJ
1<?xml version="1.0" encoding="UTF-8"?>
2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
3
4 <!-- Import our base stylesheet -->
5 <xsl:import href="/usr/share/xml/docbook/stylesheet/docbook-xsl/xhtml-1_1/chunk.xsl" />
6
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"/>
12 </xsl:template>
13
14 <xsl:template name="generate.html.title"/>
15
16 <xsl:template match="releaseinfo" mode="titlepage.mode">
17 <xsl:apply-imports/>
18 <hr/>
19 </xsl:template>
20
21 <xsl:param name="root.filename">index</xsl:param>
22
23 <!-- We do not want a title in HTML. -->
24 <xsl:param name="generate.meta.abstract" select="0"/>
25
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'"/>
30
31 <xsl:param name="use.id.as.filename" select="1"/>
32
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"/>
37
38 <xsl:param name="generate.css.header" select="1"/>
39
40</xsl:stylesheet>