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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Loic Minier
  • Date: 2006-08-10 11:17:33 UTC
  • mfrom: (1.2.1 upstream) (4 dapper)
  • mto: This revision was merged to the branch mainline in revision 23.
  • Revision ID: james.westby@ubuntu.com-20060810111733-p3qcr11wc9xwtgsb
Tags: 0.6.1-3
New patch, 10_drop-ac-output-in-gdu-m4, backported fix for GNOME #331735.
(Closes: #353503)

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"
117
133
  <xsl:call-template name="db2html.inline"/>
118
134
</xsl:template>
119
135
 
 
136
<!-- = artpagenums = -->
 
137
<xsl:template match="artpagenums">
 
138
  <xsl:call-template name="db2html.inline"/>
 
139
</xsl:template>
 
140
 
120
141
<!-- = application = -->
121
142
<xsl:template match="application">
122
143
  <xsl:call-template name="db2html.inline">
131
152
 
132
153
<!-- = citetitle = -->
133
154
<xsl:template match="citetitle">
134
 
  <xsl:call-template name="format.citetitle">
 
155
  <xsl:call-template name="l10n.gettext">
 
156
    <xsl:with-param name="msgid" select="'citetitle.format'"/>
135
157
    <xsl:with-param name="role" select="@pubwork"/>
 
158
    <xsl:with-param name="node" select="."/>
 
159
    <xsl:with-param name="format" select="true()"/>
136
160
  </xsl:call-template>
137
161
</xsl:template>
138
162
 
210
234
  <xsl:call-template name="db2html.inline"/>
211
235
</xsl:template>
212
236
 
 
237
<!-- = edition = -->
 
238
<xsl:template match="edition">
 
239
  <xsl:call-template name="db2html.inline"/>
 
240
</xsl:template>
 
241
 
213
242
<!-- = email = -->
214
243
<xsl:template match="email">
215
244
  <span class="email-punc">
221
250
          <xsl:value-of select="string(.)"/>
222
251
        </xsl:attribute>
223
252
        <xsl:attribute name="title">
224
 
          <xsl:call-template name="format.tooltip.mailto">
 
253
          <xsl:call-template name="l10n.gettext">
 
254
            <xsl:with-param name="msgid" select="'email.tooltip'"/>
225
255
            <xsl:with-param name="node" select="."/>
226
 
            <xsl:with-param name="address" select="string(.)"/>
 
256
            <xsl:with-param name="format" select="true()"/>
227
257
          </xsl:call-template>
228
258
        </xsl:attribute>
229
259
        <xsl:call-template name="db2html.inline"/>
376
406
 
377
407
<!-- = interface = -->
378
408
<xsl:template match="interface">
379
 
  <xsl:call-template name="db2html.inline"/>
 
409
  <xsl:call-template name="db2html.inline">
 
410
    <xsl:with-param name="bold" select="true()"/>
 
411
  </xsl:call-template>
380
412
</xsl:template>
381
413
 
382
414
<!-- = interfacename = -->
386
418
  </xsl:call-template>
387
419
</xsl:template>
388
420
 
 
421
<!-- = isbn = -->
 
422
<xsl:template match="isbn">
 
423
  <xsl:call-template name="db2html.inline"/>
 
424
</xsl:template>
 
425
 
389
426
<!-- = jobtitle = -->
390
427
<xsl:template match="jobtitle">
391
428
  <xsl:call-template name="db2html.inline"/>
589
626
  <xsl:call-template name="db2html.inline"/>
590
627
</xsl:template>
591
628
 
 
629
<!-- = pubdate = -->
 
630
<xsl:template match="pubdate">
 
631
  <xsl:call-template name="db2html.inline"/>
 
632
</xsl:template>
 
633
 
 
634
<!-- = publishername = -->
 
635
<xsl:template match="publishername">
 
636
  <xsl:call-template name="db2html.inline"/>
 
637
</xsl:template>
 
638
 
592
639
<!-- = quote = -->
593
640
<xsl:template match="quote">
594
 
  <span class="quote-punc">
595
 
    <xsl:choose>
596
 
      <xsl:when test="(count(ancestor::quote) mod 2) = 0">
597
 
        <xsl:call-template name="format.quote.outer"/>
598
 
      </xsl:when>
599
 
      <xsl:otherwise>
600
 
        <xsl:call-template name="format.quote.inner"/>
601
 
      </xsl:otherwise>
602
 
    </xsl:choose>
 
641
  <span class="quote">
 
642
    <xsl:call-template name="l10n.gettext">
 
643
      <xsl:with-param name="msgid" select="'quote.format'"/>
 
644
      <xsl:with-param name="role">
 
645
        <xsl:choose>
 
646
          <xsl:when test="(count(ancestor::quote) mod 2) = 0">
 
647
            <xsl:text>outer</xsl:text>
 
648
          </xsl:when>
 
649
          <xsl:otherwise>
 
650
            <xsl:text>inner</xsl:text>
 
651
          </xsl:otherwise>
 
652
        </xsl:choose>
 
653
      </xsl:with-param>
 
654
      <xsl:with-param name="node" select="."/>
 
655
      <xsl:with-param name="format" select="true()"/>
 
656
    </xsl:call-template>
603
657
  </span>
604
658
</xsl:template>
605
659