blob: feb77726a848196a077707dfc83428b53a08af63 (
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
|
\startcomponent ma-cb-colophon
\unprotect
\startmakeup[\v!standard]
% This reference is needed for the interactive version.
\pagereference[colofon]
% We align the text in the middle.
\setupalign
[\v!middle]
% We use the default \framed macro but add a background. For most
% texts an offset of 20pt is adequate.
\defineframed
[colofon]
[\c!frame=\v!off,
\c!background=basic-shape-dark,
\c!rulethickness=10pt,
\c!align=\v!middle,
\c!offset=15pt]
\bfa \setupinterlinespace
\doifsomething {\documentvariable{author}} {
\dontleavehmode \startframed[colofon]
\labeltext{document:author}:\space
\documentvariable{author}
\stopframed
\vfill
}
\doifsomething {\documentvariable{translator}} {
\dontleavehmode \startframed[colofon]
\labeltext{document:translations}:\space
\documentvariable{translator}
\stopframed
\vfill
}
\doifsomething {\documentvariable{contributer}} {
\dontleavehmode \startframed[colofon]
\labeltext{document:contributions}:\space
\documentvariable{contributer}
\stopframed
\vfill
}
\dontleavehmode \startframed[colofon]
\labeltext{document:design}:\space
Hans Hagen
\stopframed
\vfill
\dontleavehmode \startframed[colofon]
\labeltext{document:illustrations}:\space
Johan Jonker
\stopframed
\vfill
\dontleavehmode \startframed[colofon][offset=25pt]
PRAGMA ADE\\
Ridderstraat 27\\
8061GH Hasselt NL\\
www.pragma-ade.com
\stopframed
\vfill
\dontleavehmode \startframed[colofon]
\currentdate
\stopframed
\vfill
\stopmakeup
\protect
\stopcomponent
|