create context-beginner-vi
[cuteobr.git] / context-beginner-vi / vi / ma-cb-vi-colophon.tex
blob9119de24454e39fa33e0815f77395bb421f6c47a
1 \startcomponent ma-cb-cz-colophon
2 \project ma-cb
3 \product ma-cb-vi
4 \environment ma-cb-env-vi
5 % The colofon consists of a few funny framed texts centered
6 % on the page.
8 \unprotect
10 % We finish the current page and go to the next right page.
11 % The intermediate pages are as empty as can be.
13 \page[\v!yes,\v!blank,\v!right]
15 % Next we build the colofon page.
17 \startmakeup[\v!standard]
19 % This reference is needed for the interactive version.
21 \pagereference[colofon]
23 % We align the text in the middle.
25 \setupalign
26 [\v!medium]
28 % We use the default \framed macro but add a background. For
29 % most texts an offset of 20pt is adequate.
31 \setupframed
32 [\c!frame=\v!off,
33 \c!background=AuteurAchtergrond,
34 \c!width=\v!fit,
35 \c!align=\v!middle,
36 \c!offset=20pt]
38 % We switch to a bit larger bold face and adapt the baseline
39 % distance accordingly.
41 \bfa \setupinterlinespace
43 \doifsomething{\getvariable{document}{author}}
44 {\dontleavehmode
45 \framed{{\bfx Biên soạn}\\\getvariable{document}{author}}
46 \vfill}
48 \doifsomething{\getvariable{document}{translator}}
49 {\dontleavehmode
50 \framed{{\bfx Người dịch}\\\getvariable{document}{translator}}
51 \vfill}
53 \doifsomething{\getvariable{document}{contributer}}
54 {\dontleavehmode
55 \framed{{\bfx Contributions}\\\getvariable{document}{contributer}}
56 \vfill}
58 \dontleavehmode\framed{{\bfx Thiết kế và Tạo kiểu}\\Hans Hagen }\vfill
59 \dontleavehmode\framed{{\bfx Hình vẽ }\\Johan Jonker}\vfill
61 % We need a bit bigger offset here and also let \frame
62 % calculate the dimensions automatically by only setting the
63 % aligment to middle.
65 \dontleavehmode \framed
66 [\c!offset=30pt,
67 \c!align=\v!middle]
68 {PRAGMA ADE\\
69 Ridderstraat 27\\
70 8061GH Hasselt NL\\
71 +31 (0)38 477 53 69\\
72 www.pragma-ade.com}
74 \vfill
76 \dontleavehmode \framed
77 {\currentdate{}}
79 \vfill
81 \stopmakeup
83 % Done.
85 \protect
87 \stopcomponent