summaryrefslogtreecommitdiff
path: root/doc/context/sources/general/manuals/details/details-backpage.tex
blob: 85e4d38cea334cc315a7437dcab7e98dc707499c (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
% language=uk

\environment details-environment

\startcomponent details-backpage

\page[right]

\startpagemakeup[doublesided=no,pagestate=stop,page=no]
    \startMPcode
        StartPage ;
            fill Page withcolor \MPcolor{blue} ; % .5blue ;
        StopPage ;
    \stopMPcode
\stoppagemakeup

\startpagemakeup[doublesided=no,pagestate=stop,page=no]
    \startMPcode
        StartPage ;
            path p[] ; picture q[] ;
            p[1] := Page ;
            p[2] := Page xscaled .6 shifted (.2PaperWidth,0) ;
            q[1] := textext.raw("\color[white]{CONTEXT}")     xsized(.6PaperWidth) ;
            q[2] := textext.raw("\color[white]{\currentdate}") xsized(.6PaperWidth) ;
            fill p[1] withcolor \MPcolor{red} ;  % .5red
            fill p[2] withcolor \MPcolor{blue} ; % .5blue
            q[2] := q[2] shifted (0,-1.5bbheight(q[2])) ;
            draw q[1] shifted (.2PaperWidth,.15PaperHeight) ;
            draw q[2] shifted (.2PaperWidth,.15PaperHeight) ;
        StopPage ;
    \stopMPcode
\stoppagemakeup

\stopcomponent