~ubuntu-branches/ubuntu/trusty/xubuntu-docs/trusty-proposed

« back to all changes in this revision

Viewing changes to desktop-guide/libs/xubuntu-html-chunk-cust.xsl

  • Committer: Package Import Robot
  • Author(s): Sean Davis, David Pires, Unit 193, Pasi Lallinaho, Nigel Hall, Jack Fromm
  • Date: 2014-03-19 22:08:04 UTC
  • Revision ID: package-import@ubuntu.com-20140319220804-isml1im9hdthd0kl
Tags: 14.04.1
* New release. (LP: #1294932)

[ David Pires ]
* Corrected the xfdesktop-help link in xubuntu.ent file

[ Unit 193 ]
* Add several commands to the "Common commands" section.
* Add an appendix for a listing of default packages (with descriptions.)
* Add a build dep on coreutils (>= 8.16)
* Update packaging and Makefiles for translations.
* Drop unused scripts.

[ Pasi Lallinaho ]
* Remove mentions of gThumb from the documentation
  since it's not shipped in Trusty.
* Update the startpage.

[ Nigel Hall ]
* Fix typos in the Command Line chapter.

[ Jack Fromm ]
* Revised the desktop guide and Settings chapters
  for the new panel layout including Whiskermenu.
* Updated links to Xfce apps documentation.
* Add icons and other entities.
* Update entities as needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
 
11
11
        <!-- Params -->
12
12
        <xsl:param name="generate.legalnotice.link" select="1"/>
13
 
        <!-- requires DocBook XSL 1.69.1a -->
14
 
        <xsl:param name="generate.revhistory.link" select="1"/>
 
13
        <xsl:param name="generate.revhistory.link" select="1"/> <!-- requires DocBook XSL 1.69.1a -->
 
14
        <xsl:param name="use.id.as.filename" select="1"/>
15
15
        <!-- <xsl:param name="generate.toc" select="'no'"/> -->
16
 
 
17
16
        <xsl:param name="toc.section.depth" select="1"/>
18
17
        <xsl:param name="chunker.output.indent" select="'yes'"/>
19
18
        <xsl:param name="body.font.master" select="10"/>
67
66
        <xsl:template match="inlinemediaobject[@role = 'icon-key']" mode="class.value">
68
67
                <xsl:value-of select="'inline-icon-key'"/>
69
68
        </xsl:template>
70
 
 
71
 
 
72
 
        <xsl:param name="use.id.as.filename" select="1"/>
73
 
    
74
 
        <!-- this strippath template is copied from the 1.68.1 version of common.xls  -->
75
 
        <xsl:template name="strippath">
76
 
                <xsl:param name="filename" select="''"/>
77
 
                <xsl:choose>
78
 
                        <!-- Leading .. are not eliminated -->
79
 
                        <xsl:when test="starts-with($filename, '../')">
80
 
                                <xsl:value-of select="'../'"/>
81
 
                                <xsl:call-template name="strippath">
82
 
                                        <xsl:with-param name="filename" select="substring-after($filename, '../')"/>
83
 
                                </xsl:call-template>
84
 
                        </xsl:when>
85
 
                        <xsl:when test="contains($filename, '/../')">
86
 
                                <xsl:call-template name="strippath">
87
 
                                        <xsl:with-param name="filename">
88
 
                                                <xsl:call-template name="getdir">
89
 
                                                        <xsl:with-param name="filename" select="substring-before($filename, '/../')"/>
90
 
                                                </xsl:call-template>
91
 
                                                <xsl:value-of select="substring-after($filename, '/../')"/>
92
 
                                        </xsl:with-param>
93
 
                                </xsl:call-template>
94
 
                        </xsl:when>
95
 
                        <xsl:otherwise>
96
 
                                <xsl:value-of select="$filename"/>
97
 
                        </xsl:otherwise>
98
 
                </xsl:choose>
99
 
        </xsl:template>
100
 
 
 
69
        <xsl:template match="inlinemediaobject[@role = 'icon-location']" mode="class.value">
 
70
                <xsl:value-of select="'inline-icon-location'"/>
 
71
        </xsl:template>
 
72
        <xsl:template match="inlinemediaobject[@role = 'icon-menu']" mode="class.value">
 
73
                <xsl:value-of select="'inline-icon-menu'"/>
 
74
        </xsl:template>
 
75
        <xsl:template match="inlinemediaobject[@role = 'icon-submenu']" mode="class.value">
 
76
                <xsl:value-of select="'inline-icon-submenu'"/>
 
77
        </xsl:template>
 
78
 
 
79
        <!-- Not in use (yet) -->
 
80
        <xsl:template match="legalnotice/screen">
 
81
                <xsl:param name="content">
 
82
                        <xsl:call-template name="simple.xlink">
 
83
                                <xsl:with-param name="content">
 
84
                                        <xsl:apply-templates/>
 
85
                                </xsl:with-param>
 
86
                        </xsl:call-template>
 
87
                </xsl:param>
 
88
 
 
89
                <xsl:comment>
 
90
                        <xsl:copy-of select="$content"/>
 
91
                </xsl:comment>
 
92
        </xsl:template>
 
93
        <!-- -->
101
94
 
102
95
</xsl:stylesheet>