blob: 463bcc77e2590050a0bb621615ab92c05b65367f (
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
|
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
version="1.1">
<!-- $Id$ -->
<xsl:template match= "xsl:attribute-set[@name='toc-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[@classes = "contents"]</xsl:with-param>
</xsl:call-template>
<block>
Formats the block that wraps the TOC.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='toc-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[@classes = "contents"]/title</xsl:with-param>
</xsl:call-template>
<block>
Formats the block for the title for the TOC.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='toc-entry-defaults-block']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">None</xsl:with-param>
<xsl:with-param name="docutils">None</xsl:with-param>
</xsl:call-template>
<block>
Sets up the defaults for the TOC entries.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='toc-level1-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[@classes = "contents"]/bullet_list/list_item/paragraph/</xsl:with-param>
<xsl:with-param name="inherits">toc-entry-defaults-block</xsl:with-param>
</xsl:call-template>
<block>
Formats the block for the level 1 table of contents entry. If a number exists, it is
formatted according to the parameter 'number-section1'.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='toc-level2-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[@classes = "contents"]/bullet_list/list_item/bullet_list/list_item/paragraph/</xsl:with-param>
<xsl:with-param name="inherits">toc-entry-defaults-block</xsl:with-param>
</xsl:call-template>
<block>
Formats the block for the level 2 table of contents entry. If a number exists, it is
formatted according to the parameter 'number-section2'.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='toc-level3-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[@classes = "contents"]/bullet_list/list_item/bullet_list/list_item/paragraph/etc.</xsl:with-param>
<xsl:with-param name="inherits">toc-entry-defaults-block</xsl:with-param>
</xsl:call-template>
<block>
Formats the block for the level 3 table of contents entry. If a number exists, it is
formatted according to the parameter 'number-section3'.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='toc-level4-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[@classes = "contents"]/bullet_list/list_item/bullet_list/list_item/paragraph/etc.</xsl:with-param>
<xsl:with-param name="inherits">toc-entry-defaults-block</xsl:with-param>
</xsl:call-template>
<block>
Formats the block for the level 4 table of contents entry. If a number exists, it is
formatted according to the parameter 'number-section4'.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='toc-level5-block']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="docutils">topic[@classes = "contents"]/bullet_list/list_item/bullet_list/list_item/paragraph/etc.</xsl:with-param>
<xsl:with-param name="inherits">toc-entry-defaults-block</xsl:with-param>
</xsl:call-template>
<block>
Formats the block for the level 5 table of contents entry. If a number exists, it is
formatted according to the parameter 'number-section5'.
</block>
</xsl:template>
</xsl:stylesheet>
|