~ubuntu-developer-manual/ubuntu-developer-manual/credits

« back to all changes in this revision

Viewing changes to html-site-customization/html-site.xsl

  • Committer: Kyle Nitzsche
  • Date: 2011-03-03 23:30:07 UTC
  • Revision ID: kyle.nitzsche@canonical.com-20110303233007-x7t6s6ts9m6hmmi3
bring branch up to doctemplate 1.9.16

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
 
 
6
 
 
7
 
 
8
 
    <!-- Imports -->
9
 
    <xsl:import href="/usr/share/xml/docbook/stylesheet/docbook-xsl/xhtml/chunk.xsl"/>
10
 
    <xsl:import href="html-site-banner.xsl"/>
11
 
    <xsl:import href="/usr/share/doctemplate/lib/xsl/draft-watermark.xsl"/>
12
 
 
13
 
<xsl:param name="generate.toc">
14
 
appendix  toc,title
15
 
article/appendix  nop
16
 
article   nop,title
17
 
book      toc,title,figure,table,example,equation
18
 
chapter   toc,title
19
 
part      toc,title
20
 
preface   toc,title
21
 
qandadiv  toc
22
 
qandaset  toc
23
 
reference toc,title
24
 
sect1     toc
25
 
sect2     toc
26
 
sect3     toc
27
 
sect4     toc
28
 
sect5     toc
29
 
section   toc
30
 
set       toc,title
31
 
</xsl:param>
32
 
 
33
 
    <!-- Params -->
34
 
    <xsl:param name="generate.legalnotice.link" select="0"/>
35
 
        <!-- requires DocBook XSL 1.69.1a -->
36
 
    <xsl:param name="generate.revhistory.link" select="0"/>
37
 
<!--    <xsl:param name="toc.max.depth" select=""/>-->
38
 
    <xsl:param name="chunker.output.indent" select="'yes'"/>
39
 
    <xsl:param name="body.font.master" select="10"/>
40
 
    <xsl:param name="html.stylesheet" select="'html-site.css'"/>
41
 
    <xsl:param name="shade.verbatim" select="0"/>
42
 
    <xsl:param name="draft.mode" select="'no'"/>
43
 
<!--    <xsl:param name="chunk.first.sections" select="'1'"/>-->
44
 
        <!--Navigation Graphics-->
45
 
        <xsl:param name="navig.graphics" select="1"/>
46
 
        <xsl:param name="navig.graphics.path" select="'images/'"/>
47
 
        <xsl:param name="navig.graphics.extension" select="'.png'"/> 
48
 
        <xsl:param name="navig.showtitles" select="1"/>
49
 
        
50
 
        <!--Admon Graphics--> 
51
 
        <xsl:param name="admon.graphics" select="1"/>
52
 
        <xsl:param name="admon.textlabel" select="0"/>
53
 
        <xsl:param name="admon.graphics.path" select="'../../libs/admon/'"/>
54
 
        <xsl:param name="admon.graphics.extension" select="'.png'"/>
55
 
        
56
 
        <!-- Callout Graphics -->
57
 
        <xsl:param name="callout.unicode" select="1"/>
58
 
        <xsl:param name="callout.graphics" select="0"/>
59
 
        <xsl:param name="callout.graphics.path" select="'../../libs/callouts/'"/>
60
 
        <xsl:param name="callout.graphics.extension" select="'.png'"/>
61
 
        
62
 
    <!-- Inline Formatting -->
63
 
    <xsl:template match="application">
64
 
      <xsl:call-template name="inline.boldseq"/>
65
 
    </xsl:template>
66
 
    <xsl:template match="guibutton">
67
 
      <xsl:call-template name="inline.boldseq"/>
68
 
    </xsl:template>
69
 
    <xsl:template match="guilabel">
70
 
      <xsl:call-template name="inline.italicseq"/>
71
 
    </xsl:template>
72
 
 
73
 
        <xsl:param name="use.id.as.filename" select="1"/>
74
 
    
75
 
<!-- Dont' display revhistory -->
76
 
<xsl:template match="revhistory" mode="titlepage.mode"/>
77
 
</xsl:stylesheet>