summaryrefslogtreecommitdiff
path: root/doc/context/sources/general/manuals/metafun/metafun-backpage.tex
blob: 82931d756f3fa25e494305d2e61c7467a0c59bf2 (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
% language=uk
%
% copyright=pragma-ade readme=readme.pdf licence=cc-by-nc-sa

\doifmode{book}{\endinput}

\startcomponent metafun-backpage

\environment metafun-environment

\startstandardmakeup[doublesided=no,page=right]
  % back page
\stopstandardmakeup

\setupbackgrounds
  [leftpage]
  [background=back page]

\definecolor[twhite][s=1,t=.80,a=1]

\setupbackgrounds
  [text][text]
  [background=color,
   backgroundcolor=twhite,
   backgroundoffset=.5cm]

\setuplayout
  [cutspace=2cm,
   backspace=8cm,
   header=0pt,
   footer=0pt,
   topspace=17cm,
   bottomspace=2cm]

\startstandardmakeup[doublesided=no,page=left,top=,bottom=]

  \switchtobodyfont[big]

  \setupinterlinespace[stretch=.5]

  \getbuffer[backtext]

  \blank

  \getbuffer[backbanner]

\stopstandardmakeup

\setupbackgrounds
  [rightpage]
  [background=]

\stopcomponent