summaryrefslogtreecommitdiff
path: root/tex/context/foxet/fo-1001.fo
blob: 4832d227c10a98a4508ba7c1f41e6dfa394df3f3 (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
<?xml version '1.0'?>

<!-- foxet test file - Hans Hagen - PRAGMA ADE - www.pragma-ade.com -->

<fo:root xmlns:fo='http://www.w3.org/1999/XSL/Format' xmlns:fe='http://www.pragma-ade.com/schemas/foxet.rng'>

    <fo:layout-master-set>
        <fo:simple-page-master master-name='test' margin='2cm'>
            <fo:region-body margin='2cm'/>
        </fo:simple-page-master>
    </fo:layout-master-set>

    <fo:page-sequence master-reference='test' initial-page-number='123'>
        <fo:flow flow-name='xsl-region-body'>
            <fo:block-container fe:tracing='true'>
                <fo:block>a test line d 10pt</fo:block>
                <fo:block space-before.optimum='10pt' space-before.conditionality='discard'/>
                <fo:block>a test line d 5pt</fo:block>
                <fo:block space-before.optimum='5pt'  space-before.conditionality='discard'/>
                <fo:block>a test line d 4pt</fo:block>
                <fo:block space-before.optimum='4pt'  space-before.conditionality='discard'/>
                <fo:block>a test line d d d</fo:block>
                <fo:block space-before.optimum='10pt' space-before.conditionality='discard'/>
                <fo:block space-before.optimum='4pt'  space-before.conditionality='discard'/>
                <fo:block space-before.optimum='5pt'  space-before.conditionality='discard'/>
                <fo:block>a test line r d d</fo:block>
                <fo:block space-before.optimum='10pt' space-before.conditionality='retain' />
                <fo:block space-before.optimum='4pt'  space-before.conditionality='discard'/>
                <fo:block space-before.optimum='5pt'  space-before.conditionality='discard'/>
                <fo:block>a test line d r d</fo:block>
                <fo:block space-before.optimum='10pt' space-before.conditionality='discard'/>
                <fo:block space-before.optimum='4pt'  space-before.conditionality='retain' />
                <fo:block space-before.optimum='5pt'  space-before.conditionality='discard'/>
                <fo:block>a test line r r d</fo:block>
                <fo:block space-before.optimum='10pt' space-before.conditionality='retain' />
                <fo:block space-before.optimum='4pt'  space-before.conditionality='retain' />
                <fo:block space-before.optimum='5pt'  space-before.conditionality='discard'/>
                <fo:block>a test line d d r</fo:block>
                <fo:block space-before.optimum='10pt' space-before.conditionality='discard'/>
                <fo:block space-before.optimum='4pt'  space-before.conditionality='discard'/>
                <fo:block space-before.optimum='5pt'  space-before.conditionality='retain' />
                <fo:block>a test line r d r</fo:block>
                <fo:block space-before.optimum='10pt' space-before.conditionality='retain' />
                <fo:block space-before.optimum='4pt'  space-before.conditionality='discard'/>
                <fo:block space-before.optimum='5pt'  space-before.conditionality='retain' />
                <fo:block>a test line d r r</fo:block>
                <fo:block space-before.optimum='10pt' space-before.conditionality='discard'/>
                <fo:block space-before.optimum='4pt'  space-before.conditionality='retain' />
                <fo:block space-before.optimum='5pt'  space-before.conditionality='retain' />
                <fo:block>a test line r r r</fo:block>
                <fo:block space-before.optimum='10pt' space-before.conditionality='retain' />
                <fo:block space-before.optimum='4pt'  space-before.conditionality='retain' />
                <fo:block space-before.optimum='5pt'  space-before.conditionality='retain' />
                <fo:block>a test line d r r force</fo:block>
                <fo:block space-before.optimum='10pt' space-before.conditionality='discard' space-before.precedence='force'/>
                <fo:block space-before.optimum='4pt'  space-before.conditionality='retain'  space-before.precedence='force'/>
                <fo:block space-before.optimum='5pt'  space-before.conditionality='retain'  space-before.precedence='force'/>
                <fo:block>a test line</fo:block>
            </fo:block-container>
        </fo:flow>
    </fo:page-sequence>

</fo:root>