1
<?xml version="1.0" encoding="UTF-8" ?>
2
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
3
<!-- This file is a customization layer for HTML only -->
4
<!-- ======================= -->
6
<xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/xhtml/chunk.xsl"/>
7
<xsl:import href="kubuntu-banner.xsl"/>
8
<xsl:import href="../kde-style.xsl"/>
11
<xsl:param name="generate.legalnotice.link" select="1"/>
12
<!-- requires DocBook XSL 1.69.1a -->
13
<xsl:param name="generate.revhistory.link" select="1"/>
14
<xsl:param name="toc.max.depth" select="2"/>
15
<xsl:param name="chunker.output.indent" select="'yes'"/>
16
<xsl:param name="body.font.master" select="10"/>
17
<xsl:param name="html.stylesheet" select="'common/index-table.css'"/>
18
<xsl:param name="draft.mode" select="'no'"/>
19
<xsl:param name="shade.verbatim" select="0"/>
20
<xsl:param name="chunk.first.sections" select="'1'"/>
21
<xsl:param name="use.id.as.filename" select="1"/>
22
<!-- Inline Formatting -->
23
<xsl:template match="application">
24
<xsl:call-template name="inline.boldseq"/>
26
<xsl:template match="guibutton">
27
<xsl:call-template name="inline.boldseq"/>
29
<xsl:template match="guilabel">
30
<xsl:call-template name="inline.italicseq"/>
33
<!-- this strippath template is copied from the 1.68.1 version of common.xls -->
34
<xsl:template name="strippath">
35
<xsl:param name="filename" select="''"/>
37
<!-- Leading .. are not eliminated -->
38
<xsl:when test="starts-with($filename, '../../')">
39
<xsl:value-of select="'../'"/>
40
<xsl:call-template name="strippath">
41
<xsl:with-param name="filename" select="substring-after($filename, '../../')"/>
44
<xsl:when test="contains($filename, '/../../')">
45
<xsl:call-template name="strippath">
46
<xsl:with-param name="filename">
47
<xsl:call-template name="getdir">
48
<xsl:with-param name="filename" select="substring-before($filename, '/../../')"/>
50
<xsl:value-of select="substring-after($filename, '/../../')"/>
55
<xsl:value-of select="$filename"/>
60
<!-- Strip ../ from images -->
61
<xsl:template match="imagedata">
62
<xsl:call-template name="stripimgpath">
63
<xsl:with-param name="thisPath" select="''"/>
66
<xsl:template name="stripimgpath">
67
<xsl:param name="thisPath"/>
69
<xsl:when test="starts-with($thisPath, '../../')">
70
<xsl:call-template name="stripimgpath">
71
<xsl:with-param name="thisPath" select="substring-after($thisPath, '../../')"/>
74
<xsl:otherwise><xsl:value-of select="$thisPath"/></xsl:otherwise>