~valavanisalex/ubuntu/oneiric/inkscape/inkscape_0.48.1-2ubuntu4

« back to all changes in this revision

Viewing changes to doc/keys-html.xsl

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook, Kees Cook, Ted Gould
  • Date: 2008-02-10 14:20:16 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20080210142016-vcnb2zqyhszu0xvb
Tags: 0.46~pre1-0ubuntu1
[ Kees Cook ]
* debian/control:
  - add libgtkspell-dev build-dep to gain GtkSpell features (LP: #183547).
  - update Standards version (no changes needed).
  - add Vcs and Homepage fields.
  - switch to new python-lxml dep.
* debian/{control,rules}: switch from dpatch to quilt for more sanity.
* debian/patches/20_fix_glib_and_gxx43_ftbfs.patch:
  - merged against upstream fixes.
  - added additional fixes for newly written code.
* debian/rules: enable parallel building.

[ Ted Gould ]
* Updating POTFILES.in to make it so things build correctly.
* debian/control:
  - add ImageMagick++ and libboost-dev to build-deps

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
<style type="text/css">
23
23
.key {font-weight: bold}
24
24
.action {}
25
 
.note {padding-left: 50px; font-size: 70%}
26
 
.contents {padding: 1em; background-color: #eeeeee; font-size: small;}
27
 
.contents strong {font-size: large;}
 
25
.note {padding-left: 10em; font-size: 70%}
 
26
.contents {padding: 1em; padding-left: 5em; background-color: #eeeeee; font-size: small; line-height: 1.7em;}
 
27
.contents-title {font-size: large; font-weight: bold; letter-spacing: 0.4em;}
 
28
.contents-section {font-size: large; font-weight: bold;}
 
29
.contents-group {font-size: small; }
28
30
body {margin: 1em; background-color: #ffffff;}
29
 
h1 {margin-top: 0.5em; padding-left: 50px; padding-bottom: 0em; margin-bottom: 0em; letter-spacing: -0.02em}
30
 
h4 {font-weight: bold; font-style: italic; margin-top: 1em; padding-left: 50px; padding-bottom: 0em; margin-bottom: 0em}
 
31
h1 {margin-top: 0.5em; padding-left: 2em; padding-bottom: 0em; margin-bottom: 0em; letter-spacing: -0.02em}
 
32
h2 {margin-top: 0.0em; padding-left: 6em; padding-bottom: 0em; margin-bottom: 0em; font-size: small;}
 
33
h4 {font-weight: bold; font-style: italic; margin-top: 1em; padding-left: 5em; padding-bottom: 0em; margin-bottom: 0em}
31
34
</style>
32
35
</head>
33
36
<body>
 
37
<h1><xsl:value-of select="/k:root/@title"/></h1>
 
38
<h2>Version <xsl:value-of select="/k:root/@ver"/></h2>
 
39
 
34
40
<xsl:apply-templates select="k:p"/>
35
41
 
36
 
<p class="contents"><strong>Contents:</strong><xsl:text>  </xsl:text>
 
42
<p class="contents"><span class="contents-title">Contents:</span><xsl:text>   </xsl:text>
37
43
<xsl:for-each select="//k:section">
38
 
<a href="#{./@title}"><xsl:value-of select="./@title"/></a>
39
 
<xsl:if test="following::k:section"><xsl:text> | </xsl:text></xsl:if>
 
44
<a class="contents-section" href="#{generate-id()}"><xsl:value-of select="./@title"/></a>
 
45
<xsl:if test="./k:group[k:title]">
 
46
<span class="contents-section">: </span>
 
47
</xsl:if>
 
48
<xsl:for-each select="./k:group[k:title]">
 
49
<a class="contents-group" href="#{generate-id()}"><xsl:value-of select="./k:title"/></a>
 
50
<xsl:if test="following-sibling::k:group[k:title]"><xsl:text>&#160;&#183; </xsl:text></xsl:if>
 
51
</xsl:for-each>
 
52
<span class="contents-section"><xsl:if test="following::k:section"><xsl:text>&#160;| </xsl:text></xsl:if></span>
40
53
</xsl:for-each>
41
54
</p>
42
55
 
71
84
</xsl:template>
72
85
 
73
86
<xsl:template match="k:section">
74
 
<tr><td colspan="3"><a name="{@title}"/><h1><xsl:value-of select="@title"/></h1></td></tr>
 
87
<tr><td colspan="3"><a name="{generate-id()}"/><h1><xsl:value-of select="@title"/></h1></td></tr>
75
88
<xsl:apply-templates/>
76
89
</xsl:template>
77
90
 
78
 
<xsl:template match="k:title">
79
 
<tr bgcolor="{ancestor::k:section/@color}"><td colspan="3"><h4><xsl:value-of select="text()"/></h4></td></tr>
 
91
<xsl:template match="k:group/k:title">
 
92
<tr bgcolor="{ancestor::k:section/@color}"><td colspan="3"><h4><a name="{generate-id(..)}"/><xsl:value-of select="text()"/></h4></td></tr>
80
93
</xsl:template>
81
94
 
82
95
<xsl:template match="k:note">
85
98
 
86
99
<xsl:template match="k:keys | k:mouse">
87
100
<tr bgcolor="{ancestor::k:section/@color}">
88
 
<td align="right">
 
101
<td align="right" width="40%">
89
102
<xsl:choose>
90
103
<xsl:when test="count(k:key) = 2">
91
104
<span class="key"><xsl:apply-templates select="k:key[1]"/></span>,