1
<?xml version='1.0' encoding='UTF-8'?><!-- -*- indent-tabs-mode: nil -*- -->
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
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
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
19
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
22
<!--!!==========================================================================
24
Specify common named icons to style output.
26
:Revision:version="1.0" date="2010-05-25" status="final"
28
This stylesheet provides a common interface to specify icons for transformations
29
to presentation-oreinted formats. This allows similar output for different
30
types of input documents.
34
<!--@@==========================================================================
36
The default URL prefix for all icons.
37
:Revision:version="1.0" date="2010-01-26" status="final"
39
This parameter provides a default URL prefix. All icon locations in this
40
stylesheet reference files directly under this URL prefix by default. If
41
you override the individual icon parameters in this stylesheet, this parameter
42
has no effect. This parameter should end with a trailing slash.
44
<xsl:param name="icons.base_url" select="''"/>
47
<!--@@==========================================================================
49
The size of the note icons.
50
:Revision:version="1.0" date="2010-03-05" status="final"
52
This parameter specifies the size of the note icons. Use an integer giving
53
the width of the image files in pixels. Icons are assumed to be square, and
54
all note icons are assumed to have the same size.
56
<xsl:param name="icons.size.note" select="24"/>
59
<!--@@==========================================================================
61
The URL for the note icon.
62
:Revision:version="1.0" date="2010-05-03" status="final"
64
This parameter specifies the URL for the icon used for regular notes.
66
<xsl:param name="icons.note"
67
select="concat($icons.base_url, 'yelp-note.png')"/>
70
<!--@@==========================================================================
72
The URL for the bug note icon.
73
:Revision:version="1.0" date="2010-05-03" status="final"
75
This parameter specifies the URL for the icon used for bug notes.
77
<xsl:param name="icons.note.bug"
78
select="concat($icons.base_url, 'yelp-note-bug.png')"/>
81
<!--@@==========================================================================
83
The URL for the important note icon.
84
:Revision:version="1.0" date="2010-05-03" status="final"
86
This parameter specifies the URL for the icon used for important notes.
88
<xsl:param name="icons.note.important"
89
select="concat($icons.base_url, 'yelp-note-important.png')"/>
92
<!--@@==========================================================================
94
The URL for the tip note icon.
95
:Revision:version="1.0" date="2010-05-03" status="final"
97
This parameter specifies the URL for the icon used for tip notes.
99
<xsl:param name="icons.note.tip"
100
select="concat($icons.base_url, 'yelp-note-tip.png')"/>
103
<!--@@==========================================================================
105
The URL for the warning note icon.
106
:Revision:version="1.0" date="2010-05-03" status="final"
108
This parameter specifies the URL for the icon used for warning notes.
110
<xsl:param name="icons.note.warning"
111
select="concat($icons.base_url, 'yelp-note-warning.png')"/>
114
<!--@@==========================================================================
116
The size of the quote icons.
117
:Revision:version="1.0" date="2010-05-03" status="final"
119
This parameter specifies the size of the quote icons. Use an integer giving
120
the width of the image files in pixels. Icons are assumed to be square, and
121
all quote icons are assumed to have the same size.
123
<xsl:param name="icons.size.quote" select="48"/>
126
<!--@@==========================================================================
128
The URL for the block quote watermark.
129
:Revision:version="1.0" date="2010-05-03" status="final"
131
This parameter specifies the URL for the watermark for block quotes. The
132
default name of the image file is translatable. If you set this parameter,
133
you should ensure that your graphic uses a suitable quote character for the
134
language your document is written in.
136
<xsl:param name="icons.quote">
137
<xsl:value-of select="$icons.base_url"/>
138
<xsl:call-template name="l10n.gettext">
139
<xsl:with-param name="msgid" select="'yelp-quote-201C.png'"/>
144
<!--@@==========================================================================
146
The size of the code icons.
147
:Revision:version="1.0" date="2010-05-03" status="final"
149
This parameter specifies the size of the code icons. Use an integer giving
150
the width of the image files in pixels. Icons are assumed to be square, and
151
all code icons are assumed to have the same size.
153
<xsl:param name="icons.size.quote" select="128"/>
156
<!--@@==========================================================================
158
The URL for the block code watermark.
159
:Revision:version="1.0" date="2010-05-03" status="final"
161
This parameter specifies the URL for the watermark for code blocks.
163
<xsl:param name="icons.code">
164
<xsl:value-of select="$icons.base_url"/>
165
<xsl:text>yelp-code.png</xsl:text>