-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
layout.xml
49 lines (43 loc) · 1.53 KB
/
layout.xml
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
<Layout
xmlns="urn:speedata.de:2009/publisher/en"
xmlns:sd="urn:speedata:2009/publisher/functions/en">
<LoadFontfile name="PlayfairDisplay-Regular" filename="PlayfairDisplay-Regular.ttf" />
<LoadFontfile name="FaunaOne" filename="FaunaOne-Regular.ttf" />
<DefineFontfamily name="heading" fontsize="40" leading="48">
<Regular fontface="PlayfairDisplay-Regular"/>
</DefineFontfamily>
<DefineFontfamily name="text" fontsize="9" leading="14">
<Regular fontface="FaunaOne"/>
</DefineFontfamily>
<DefineTextformat name="left" alignment="leftaligned"/>
<DefineTextformat name="text" alignment="leftaligned" margin-bottom="10pt"/>
<Pageformat width="210mm" height="140mm"/>
<Pagetype name="first" test="sd:current-page() = 1" defaultcolor="white">
<Margin left="1cm" right="1cm" top="1cm" bottom="1cm"/>
<AtPageCreation>
<PlaceObject column="0mm" row="0mm">
<Image width="210mm" file="forest.jpg"/>
</PlaceObject>
</AtPageCreation>
</Pagetype>
<Record element="data">
<PlaceObject row="2" column="3">
<Textblock width="8">
<Paragraph fontfamily="heading" textformat="left">
<Value select="upper-case(story/@title)"/>
</Paragraph>
</Textblock>
</PlaceObject>
<Loop select="3">
<PlaceObject column="3">
<Textblock width="10">
<ForAll select="story/p">
<Paragraph>
<Value select="."/>
</Paragraph>
</ForAll>
</Textblock>
</PlaceObject>
</Loop>
</Record>
</Layout>