~ubuntu-branches/ubuntu/wily/xubuntu-docs/wily-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, Pasi Lallinaho, David Pires, Elfy, Unit 193, Steve Dodier-Lazaro
  • Date: 2015-03-09 20:33:59 UTC
  • Revision ID: package-import@ubuntu.com-20150309203359-2aw36c6ho596wlbk
Tags: 15.04
[ Pasi Lallinaho ]
* Bump version information to 15.04 Vivid Vervet
* Attribute documentation correctly for the Xubuntu Documentation team
* Clean up some files
* Remove unused entities, directories and files
* Add responsive stylesheets for the documentation
* Tweak some CSS definitions
* Replace the caution/important image with a new image
  from upstream (elementary-xfce)
* Add responsive stylesheets for the start page
* Add an id for the legalnotice tag to output specified filename
* Improve the wording on releases on the upgrades section

[ David Pires ]
* Corrected a typo in the 'Changing update frequency and behavior'
  sub-section of the Managing installed applications chapter
* Re-write the update-configuration-notifications section of the
  Managing installed applications chapter
* Rephrased the first paragraph in index.html
* Removed all the entries related to gthumb from xubuntu.ent
* Corrected a typo in internet-networks.xml

[ Elfy ]
* Update the "Upgrading" section to be comprehensive. (LP: #1385479)

[ Unit 193 ]
* Move validation to a 'test' target, don't run at build time.
* scripts/translators: Create a fallback in case no translators are found.
* network-troubleshooting section: 'nm-tool' ➞ 'nmcli device show'
* Lower the required translation percentage to 70.

[ Steve Dodier-Lazaro ]
* Update the security guide.

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"
3
 
        xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0">
4
 
 
5
 
        <!-- This file is a customization layer for HTML only -->
6
 
        <!-- ======================= -->
7
 
        <!-- Imports -->
8
 
        <xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/xhtml/chunk.xsl"/>
9
 
        <xsl:import href="xubuntu-banner.xsl"/>
10
 
 
11
 
        <!-- Params -->
12
 
        <xsl:param name="generate.legalnotice.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
 
        <!-- <xsl:param name="generate.toc" select="'no'"/> -->
16
 
        <xsl:param name="toc.section.depth" select="1"/>
17
 
        <xsl:param name="chunker.output.indent" select="'yes'"/>
18
 
        <xsl:param name="body.font.master" select="10"/>
19
 
        <xsl:param name="html.stylesheet" select="'../libs/xubuntu-book.css'"/>
20
 
        <xsl:param name="shade.verbatim" select="0"/>
21
 
        <xsl:param name="draft.mode" select="'no'"/>
22
 
 
23
 
        <!-- disable scaling (which is needed for PDF generation) -->
24
 
        <xsl:param name="ignore.image.scaling" select="1"/>
25
 
 
26
 
        <!-- Favicon -->
27
 
        <xsl:template name="user.head.content">
28
 
                <link rel="shortcut icon" href="../libs/images/favicon.png" />
29
 
        </xsl:template>
30
 
 
31
 
        <!--Navigation Graphics-->
32
 
        <xsl:param name="navig.graphics" select="1"/>
33
 
        <xsl:param name="navig.graphics.path" select="'../libs/navig/'"/>
34
 
        <xsl:param name="navig.graphics.extension" select="'.png'"/> 
35
 
        <xsl:param name="navig.showtitles" select="1"/>
36
 
        
37
 
        <!--Admon Graphics--> 
38
 
        <xsl:param name="admon.graphics" select="1"/>
39
 
        <xsl:param name="admon.textlabel" select="0"/>
40
 
        <xsl:param name="admon.graphics.path" select="'../libs/admon/'"/>
41
 
        <xsl:param name="admon.graphics.extension" select="'.png'"/>
42
 
        
43
 
        <!-- Callout Graphics -->
44
 
        <xsl:param name="callout.unicode" select="1"/>
45
 
        <xsl:param name="callout.graphics" select="0"/>
46
 
        <xsl:param name="callout.graphics.path" select="'../libs/callouts/'"/>
47
 
        <xsl:param name="callout.graphics.extension" select="'.png'"/>
48
 
        
49
 
        <!-- Show all subpages directly below the mainpage -->
50
 
        <xsl:param name="chunk.section.depth" select="0" />
51
 
 
52
 
        <!-- Inline Formatting -->
53
 
        <xsl:template match="application">
54
 
                <xsl:call-template name="inline.boldseq"/>
55
 
        </xsl:template>
56
 
        <xsl:template match="guibutton">
57
 
                <xsl:call-template name="inline.boldseq"/>
58
 
        </xsl:template>
59
 
        <xsl:template match="guilabel">
60
 
                <xsl:call-template name="inline.italicseq"/>
61
 
        </xsl:template>
62
 
        <xsl:template match="processing-instruction('br')">
63
 
                <br />
64
 
                <fo:block/>
65
 
        </xsl:template>
66
 
 
67
 
        <!-- Icons -->
68
 
        <xsl:template match="inlinemediaobject[@role = 'icon-pkg']" mode="class.value">
69
 
                <xsl:value-of select="'inline-icon-pkg'"/>
70
 
        </xsl:template>
71
 
        <xsl:template match="inlinemediaobject[@role = 'icon-key']" mode="class.value">
72
 
                <xsl:value-of select="'inline-icon-key'"/>
73
 
        </xsl:template>
74
 
        <xsl:template match="inlinemediaobject[@role = 'icon-location']" mode="class.value">
75
 
                <xsl:value-of select="'inline-icon-location'"/>
76
 
        </xsl:template>
77
 
        <xsl:template match="inlinemediaobject[@role = 'icon-menu']" mode="class.value">
78
 
                <xsl:value-of select="'inline-icon-menu'"/>
79
 
        </xsl:template>
80
 
        <xsl:template match="inlinemediaobject[@role = 'icon-submenu']" mode="class.value">
81
 
                <xsl:value-of select="'inline-icon-submenu'"/>
82
 
        </xsl:template>
83
 
 
84
 
</xsl:stylesheet>