summaryrefslogtreecommitdiff
path: root/sandbox/paultremblay/python_interface/docs/xsl/front_matter.xsl
blob: c1a8e70b04fdae3d5b4a03ff5ab37ae12715e30d (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
<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='dedication-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 = "dedication"]</xsl:with-param> 
        </xsl:call-template>
        <block>
            Formats the dedication text, including the title and subsequent paragraphs, by
            wrapping them in a block.
        </block>
    </xsl:template>

    <xsl:template match= "xsl:attribute-set[@name='abstract-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 = "abstract"]</xsl:with-param> 
        </xsl:call-template>
        <block>
            Formats the abstract text, including the title and subsequent paragraphs, by
            wrapping them in a block.
        </block>
    </xsl:template>

    <xsl:template match= "xsl:attribute-set[@name='dedication-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 = "dedication"]/title</xsl:with-param> 
        </xsl:call-template>
        <block>
            Formats the title for the dedication.
        </block>
    </xsl:template>

    <xsl:template match= "xsl:attribute-set[@name='abstract-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 = "abstract"]/title</xsl:with-param> 
        </xsl:call-template>
        <block>
            Formats the abstract title.
        </block>
    </xsl:template>

    <xsl:template match= "xsl:attribute-set[@name='dedication-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[@classes = "dedication"]/paragraph</xsl:with-param> 
        </xsl:call-template>
        <block>
            Formats the paragraphs of the dedication.
        </block>
    </xsl:template>

    <xsl:template match= "xsl:attribute-set[@name='dedication-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[@classes = "dedication"]/paragraph</xsl:with-param> 
            <xsl:with-param name="inherits">dedication-paragraph-block</xsl:with-param> 
        </xsl:call-template>
        <block>
            Formats the first paragraph of the dedication.
        </block>
    </xsl:template>

    <xsl:template match= "xsl:attribute-set[@name='abstract-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[@classes = "abstract"]/paragraph</xsl:with-param> 
        </xsl:call-template>
        <block>
            Formats the paragraphs of the abstract.
        </block>
    </xsl:template>

    <xsl:template match= "xsl:attribute-set[@name='abstract-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[@classes = "abstract"]/paragraph</xsl:with-param> 
            <xsl:with-param name="inherits">abstract-paragraph-block</xsl:with-param> 
        </xsl:call-template>
        <block>
            Formats the first paragraph of the abstract.
        </block>
    </xsl:template>


</xsl:stylesheet>