~ubuntu-branches/ubuntu/maverick/kubuntu-docs/maverick

« back to all changes in this revision

Viewing changes to kubuntu/libs/index-table.xsl

  • Committer: Bazaar Package Importer
  • Author(s): Richard A. Johnson
  • Date: 2008-08-18 10:49:14 UTC
  • Revision ID: james.westby@ubuntu.com-20080818104914-83r2er2hsmdp2o0l
Tags: 8.10-2
* Restructured kubuntu documentation package
  - Refer to the NEWS text located in the root directory of the package
* Removed the Firefox start page files
* debian/rules: updated to remove firefox files
* debian/control: removed perl deps due to removal of firefox files, bumped
  version to 3.8.0, updated kdelibs-data dep to kdelibs5-data

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
 
    <!-- ======================= -->
5
 
    <!-- Imports -->
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"/>      
9
 
 
10
 
    <!-- Params -->
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"/>
25
 
    </xsl:template>
26
 
    <xsl:template match="guibutton">
27
 
      <xsl:call-template name="inline.boldseq"/>
28
 
    </xsl:template>
29
 
    <xsl:template match="guilabel">
30
 
      <xsl:call-template name="inline.italicseq"/>
31
 
    </xsl:template>
32
 
    
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="''"/>
36
 
          <xsl:choose>
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, '../')"/>
42
 
              </xsl:call-template>
43
 
            </xsl:when>
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, '/../')"/>
49
 
                  </xsl:call-template>
50
 
                  <xsl:value-of select="substring-after($filename, '/../')"/>
51
 
                </xsl:with-param>
52
 
              </xsl:call-template>
53
 
            </xsl:when>
54
 
            <xsl:otherwise>
55
 
              <xsl:value-of select="$filename"/>
56
 
            </xsl:otherwise>
57
 
          </xsl:choose>
58
 
        </xsl:template>
59
 
 
60
 
</xsl:stylesheet>