blob: e39f0e5f0ef5ef3de505c68f559f12779cb1e80f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
|
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
version="1.1">
<!-- $Id$ -->
<!--topic-->
<xsl:template match= "xsl:attribute-set[@name='topic-block']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:block</xsl:with-param>
<xsl:with-param name="docutils">topic</xsl:with-param>
</xsl:call-template>
<block>
Formats the outermost block of the topic element, which contains blocks.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='topic-title-block']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:block</xsl:with-param>
<xsl:with-param name="docutils">topic/title</xsl:with-param>
</xsl:call-template>
<block>
Formats the title of the topic.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='topic-paragraph-block']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:block</xsl:with-param>
<xsl:with-param name="docutils">topic/paragraph</xsl:with-param>
</xsl:call-template>
<block>
Formats the paragraphs of the topic. A different set of attributes
formats the first paragraph.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='topic-first-paragraph-block']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:block</xsl:with-param>
<xsl:with-param name="docutils">topic/paragraph[1]</xsl:with-param>
<xsl:with-param name="inherits">topic-paragraph-block</xsl:with-param>
</xsl:call-template>
<block>
Formats the first paragraphs of the topic.
</block>
</xsl:template>
<!--sidebar-->
<xsl:template match= "xsl:attribute-set[@name='sidebar-block']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:block</xsl:with-param>
<xsl:with-param name="docutils">sidebar</xsl:with-param>
</xsl:call-template>
<block>
Formats the outermost block of the sidebar element, which contains blocks.
Note that fop does not handle floats, so this element is formatted
just like a topic block.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='sidebar-title-block']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:block</xsl:with-param>
<xsl:with-param name="docutils">sidebar/title</xsl:with-param>
</xsl:call-template>
<block>
Formats the title of the topic.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='sidebar-subtitle-block']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:block</xsl:with-param>
<xsl:with-param name="docutils">sidebar/subtitle</xsl:with-param>
</xsl:call-template>
<block>
Formats the subtitle of the topic.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='sidebar-paragraph-block']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:block</xsl:with-param>
<xsl:with-param name="docutils">sidebar/paragraph</xsl:with-param>
</xsl:call-template>
<block>
Formats the paragraphs of the sidebar. A different set of attributes
formats the first paragraph.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='sidebar-first-paragraph-block']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:block</xsl:with-param>
<xsl:with-param name="docutils">sidebar/paragraph[1]</xsl:with-param>
<xsl:with-param name="inherits">sidebar-paragraph-block</xsl:with-param>
</xsl:call-template>
<block>
Formats the first paragraphs of the sidebar.
</block>
</xsl:template>
<!--rubric-->
<xsl:template match= "xsl:attribute-set[@name='rubric-block']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:block</xsl:with-param>
<xsl:with-param name="docutils">rubric</xsl:with-param>
</xsl:call-template>
<block>
Formats the rubric.
</block>
</xsl:template>
<!--epigraph-->
<xsl:template match= "xsl:attribute-set[@name='epigraph-outer-block']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:block</xsl:with-param>
<xsl:with-param name="docutils">epigraph</xsl:with-param>
</xsl:call-template>
<block>
Formats the outermost block of the epigraph element, which contains blocks.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='epigraph-paragraph-block']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:block</xsl:with-param>
<xsl:with-param name="docutils">epigraph/paragraph</xsl:with-param>
</xsl:call-template>
<block>
Formats the paragraphs of the epigraph. A different set of attributes
formats the first paragraph.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='epigraph-first-paragraph-block']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:block</xsl:with-param>
<xsl:with-param name="docutils">epigraph/paragraph[1]</xsl:with-param>
<xsl:with-param name="inherits">epigraph-paragraph-block</xsl:with-param>
</xsl:call-template>
<block>
Formats the first paragraphs of the epigraph.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='epigraph-attribution-block']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:block</xsl:with-param>
<xsl:with-param name="docutils">epigraph/attribution</xsl:with-param>
</xsl:call-template>
<block>
Formats the attribution of the epigraph. The parameter
``text-before-epigraph-attribution`` determines the text to
put before the attribtion. The default is '—' (an em-dash). To
put no text before, set this parameter to an empty string.
</block>
</xsl:template>
<!--highlights-->
<xsl:template match= "xsl:attribute-set[@name='highlights-outer-block']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:block</xsl:with-param>
<xsl:with-param name="docutils">highlights</xsl:with-param>
</xsl:call-template>
<block>
Formats the outermost block of the epigraph element, which contains blocks.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='highlights-paragraph-block']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:block</xsl:with-param>
<xsl:with-param name="docutils">highlights/paragraph</xsl:with-param>
</xsl:call-template>
<block>
Formats the paragraphs of the highlights. A different set of attributes
formats the first paragraph.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='highlights-first-paragraph-block']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:block</xsl:with-param>
<xsl:with-param name="docutils">highlights/paragraph[1]</xsl:with-param>
<xsl:with-param name="inherits">highlights-paragraph-block</xsl:with-param>
</xsl:call-template>
<block>
Formats the first paragraphs of the highlights.
</block>
</xsl:template>
<!--pull-quote-->
<xsl:template match= "xsl:attribute-set[@name='pull-quote-outer-block']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:block</xsl:with-param>
<xsl:with-param name="docutils">pull-quote</xsl:with-param>
</xsl:call-template>
<block>
Formats the outermost block of the pull-quote element, which contains blocks.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='pull-quote-paragraph-block']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:block</xsl:with-param>
<xsl:with-param name="docutils">pull-quote/paragraph</xsl:with-param>
</xsl:call-template>
<block>
Formats the paragraphs of the pull-quote. A different set of attributes
formats the first paragraph.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='pull-quote-first-paragraph-block']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:block</xsl:with-param>
<xsl:with-param name="docutils">pull-quote/paragraph[1]</xsl:with-param>
<xsl:with-param name="inherits">pull-quote-paragraph-block</xsl:with-param>
</xsl:call-template>
<block>
Formats the first paragraphs of the pull-quote.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='pull-quote-attribution-block']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:block</xsl:with-param>
<xsl:with-param name="docutils">pull-quote/attribution</xsl:with-param>
</xsl:call-template>
<block>
Formats the attribution of the pull-quote. The parameter
``text-before-pull-quote-attribution`` determines the text to
put before the attribtion. The default is '—' (an em-dash). To
put no text before, set this parameter to an empty string.
</block>
</xsl:template>
<!--container-->
<xsl:template match= "xsl:attribute-set[@name='container-outer-block']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:block</xsl:with-param>
<xsl:with-param name="docutils">container</xsl:with-param>
</xsl:call-template>
<block>
Formats the outermost block of the container element, which contains blocks.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='container-paragraph-block']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:block</xsl:with-param>
<xsl:with-param name="docutils">container/paragraph</xsl:with-param>
</xsl:call-template>
<block>
Formats the paragraphs of the container. A different set of attributes
formats the first paragraph.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='container-first-paragraph-block']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:block</xsl:with-param>
<xsl:with-param name="docutils">container/paragraph[1]</xsl:with-param>
<xsl:with-param name="inherits">container-paragraph-block</xsl:with-param>
</xsl:call-template>
<block>
Formats the first paragraphs of the container.
</block>
</xsl:template>
</xsl:stylesheet>
|