summaryrefslogtreecommitdiff
path: root/doc/context/sources/general/manuals/luatex/luatex-titlepage.tex
blob: 307741ee115a9e5117d964e1f0a52589d388a90c (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
\environment luatex-style
\environment luatex-logos

\startcomponent luatex-titlepage

\startstandardmakeup

    \switchtobodyfont
      [mainfacemedium]

    \definedfont[Bold*default at \the\dimexpr.08\paperheight\relax] \setupinterlinespace

    \setlayer
      [page]
      {\useMPgraphic{luapage}}

    \setlayerframed
      [page]
      [preset=middletop,
       voffset=.05\paperheight]
      [align=middle,
       foregroundcolor=blue,
       frame=off]
      {Lua\TeX\\Reference Manual}

    \definedfont[Bold*default at 18pt] \setupinterlinespace

    \setlayerframed
      [page]
      [preset=rightbottom,
       offset=.01\paperheight]
      [align=flushright,
       foregroundcolor=blue,
       frame=off]
      {\doifsomething{\documentvariable{status}}{\documentvariable{status}\par}
       \currentdate[month,space,year]\par
       Version \documentvariable{version}}

\stopstandardmakeup

\startstandardmakeup

    \start
        \raggedleft
        \definedfont[Bold*default at 48pt]
        \setupinterlinespace
        \blue Lua\TeX \endgraf Reference \endgraf Manual \endgraf
    \stop

    \vfill

    \definedfont[Bold*default at 12pt]

    \starttabulate[|l|l|]
        \NC copyright \EQ Lua\TeX\ development team \NC \NR
        \NC more info \EQ www.luatex.org \NC \NR
        \NC version   \EQ \currentdate \doifsomething{\documentvariable{snapshot}}{(snapshot \documentvariable{snapshot})} \NC \NR
    \stoptabulate

\stopstandardmakeup

\setupbackgrounds
  [leftpage]
  [setups=pagenumber:left]

\setupbackgrounds
  [rightpage]
  [setups=pagenumber:right]

\stopcomponent