~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: 2007-08-17 16:58:46 UTC
  • Revision ID: james.westby@ubuntu.com-20070817165846-yjc0vhhp70bmdipm
Tags: 7.10-2
* New SVN checkout
* Commented out translations in debian/rules until final release
* Added about-kubuntu.desktop to plugins/kubuntu for LiveCD desktop icon
* Added index-table.css to debian/rules for the index.html file
* Cleaned up Makefile in SVN, show changes here
* Added pot files for about-kubuntu and systemdocs .desktop and .directory
  files
* Closes the following bugs:
  - (LP: #125325)
  - (LP: #131076)
  - (LP: #107062)
  - (LP: #129327)
  - (LP: #123648)
  - (LP: #131366)

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>