s-present-boring.mkiv /size: 2934 b    last modification: 2021-10-28 13:51
1%D \module
2%D   [      file=s-present-boring, % s-pre-15,
3%D        version=2020.07.10,
4%D          title=\CONTEXT\ Style File,
5%D       subtitle=Presentation Environment Boring,
6%D         author=Hans Hagen,
7%D           date=\currentdate,
8%D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
9%C
10%C This module is part of the \CONTEXT\ macro||package and is
11%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
12%C details.
13
14%D Because I use a mupdf based viewer and acrobat is not always reliable I nowadays
15%D tend to go for simple presentation styles. They mostly serve as a reminder for
16%D myself of what I'm supposed to talk about. Just demoing often makes more sense,
17%D especially at meetings where there is some interaction.
18
19\startmodule[present-boring]
20
21\setupbodyfont
22  [plex]
23
24\setuppapersize
25  [S6]
26
27\setuplayout
28  [backspace=20pt,
29   topspace=20pt,
30   bottomspace=20pt,
31   header=0pt,
32   footer=0pt,
33   bottom=20pt,
34   bottomdistance=30pt,
35   width=middle,
36   height=fit]
37
38\definecolor[maincolor] [darkblue]
39\definecolor[extracolor][darkyellow]
40\definecolor[darkcolor] [darkgray]
41
42\setupbackgrounds
43  [page]
44  [backgroundoffset=10pt,
45   background=color,
46   backgroundcolor=darkcolor]
47
48\setupbackgrounds
49  [text] [text]
50  [backgroundoffset=10pt,
51   background=color,
52   backgroundcolor=maincolor]
53
54\setupbackgrounds
55  [bottom] [text]
56  [backgroundoffset=10pt,
57   background=color,
58   backgroundcolor=extracolor]
59
60\setupcolors
61  [textcolor=white]
62
63\setuphead
64  [chapter]
65  [style=\bfc,
66   after={\blank[line,fixed]}]
67
68\setupwhitespace
69  [halfline]
70
71\setupblank
72  [halfline,fixed]
73
74% \setupblank
75%   [fixed]
76
77\setuplinenumbering
78  [typing]
79  [style=\txx,
80   color=middlegray]
81
82\setuptyping
83  [numbering=line,
84   location=left,
85   blank=halfline]
86
87\startsetups document:start
88
89    \startpagemakeup
90        \raggedcenter
91        \vfill
92        \dontleavehmode \scale [
93            width=\textwidth
94        ] {
95            \space
96            {\bf \documentvariable{title}}
97            \space
98        }
99        \vfill
100        \dontleavehmode \scale [
101            width=.8\textwidth
102        ] {
103            \space
104            {\bf \documentvariable{banner}}
105            \space
106        }
107        \vfill
108        \vfill
109        \dontleavehmode \scale [
110            width=\textwidth
111        ] {
112            \qquad
113            \color[darkcolor]{\documentvariable{location}}
114            \qquad
115        }
116        \vfill
117    \stoppagemakeup
118
119    \setupbottomtexts [
120        {
121            \words {
122                \documentvariable{title}
123                \quad\emdash\quad
124                \documentvariable{location}
125                \quad\emdash\quad
126                \getmarking[title]
127            }
128        }
129    ]
130
131\stopsetups
132
133\startsetups document:stop
134    %
135\stopsetups
136
137\stopmodule
138
139\continueifinputfile{s-present-boring.mkiv}
140
141\usemodule[present-common]
142
143\inputpresentationfile{context/2020/context-2020-tokens.tex}
144