~ubuntu-branches/ubuntu/lucid/gnome-doc-utils/lucid

« back to all changes in this revision

Viewing changes to xslt/docbook/html/db2html-list.xsl

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2005-12-19 08:34:21 UTC
  • mto: (2.1.1 etch) (1.1.18 upstream)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20051219083421-k72rkh3n6vox1c0t
Tags: upstream-0.5.2
ImportĀ upstreamĀ versionĀ 0.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version='1.0' encoding='utf-8'?><!-- -*- indent-tabs-mode: nil -*- -->
 
1
<?xml version='1.0' encoding='UTF-8'?><!-- -*- indent-tabs-mode: nil -*- -->
 
2
<!--
 
3
This program is free software; you can redistribute it and/or modify it under
 
4
the terms of the GNU Lesser General Public License as published by the Free
 
5
Software Foundation; either version 2 of the License, or (at your option) any
 
6
later version.
 
7
 
 
8
This program is distributed in the hope that it will be useful, but WITHOUT
 
9
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 
10
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 
11
details.
 
12
 
 
13
You should have received a copy of the GNU Lesser General Public License
 
14
along with this program; see the file COPYING.LGPL.  If not, write to the
 
15
Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
16
02111-1307, USA.
 
17
-->
2
18
 
3
19
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4
20
                xmlns:doc="http://www.gnome.org/~shaunm/xsldoc"
36
52
    div[class~="list"] dl dt { margin-left: 0em; }
37
53
    div[class~="list"] dl dd + dt { margin-top: 1em; }
38
54
    div[class~="list"] dl dd {
39
 
      margin-top: 0.5em;
40
 
      margin-left: 2em;
 
55
      margin-top: 0.69em;
 
56
      margin-left: 1.72em;
41
57
      margin-right: 1em;
42
58
    }
43
 
    div[class~="list"] ul { margin-left: 2em; padding-left: 0em; }
44
 
    div[class~="list"] ol { margin-left: 2em; padding-left: 0em; }
 
59
    div[class~="list"] ul { margin-left: 1.72em; padding-left: 0em; }
 
60
    div[class~="list"] ol { margin-left: 1.72em; padding-left: 0em; }
45
61
    div[class~="list"] ul li { margin-right: 1em; padding: 0em; }
46
62
    div[class~="list"] ol li { margin-right: 1em; padding: 0em; }
47
 
    div[class~="list"] li + li { margin-top: 0.5em; }
 
63
    div[class~="list"] li + li { margin-top: 0.69em; }
48
64
  </xsl:text>
49
65
</xsl:template>
50
66
 
341
357
        <xsl:call-template name="db2html.anchor"/>
342
358
        <xsl:for-each select="member">
343
359
          <xsl:if test="position() != 1">
344
 
            <xsl:text>, </xsl:text>
 
360
            <xsl:call-template name="l10n.gettext">
 
361
              <xsl:with-param name="msgid" select="', '"/>
 
362
            </xsl:call-template>
345
363
          </xsl:if>
346
364
          <xsl:apply-templates select="."/>
347
365
        </xsl:for-each>
437
455
</xsl:template>
438
456
 
439
457
<xsl:template match="term">
440
 
  <xsl:call-template name="db2html.inline"/>
 
458
  <xsl:call-template name="db2html.inline">
 
459
    <xsl:with-param name="bold" select="@role = 'bold'"/>
 
460
  </xsl:call-template>
441
461
</xsl:template>
442
462
 
443
463
</xsl:stylesheet>