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
|
% $Id: pdfmin-fmt.tex 914 2024-01-07 21:48:39Z karl $
% ConTeXt file to generate the two-column PDF output we show at the
% beginning. Since this code was already written, and still works,
% we just keep using it, instead of rewriting in LaTeX or plain TeX.
\setuppapersize[letter][letter]
\starttext
% The number of lines on the title page depends on exactly
% what \PDF\ code is generated; the Makefile outputs this.
% See frontispiece.txt.
\setvariables[pdftex][titlepagelines=61]
% title page
\definelayout
[titlepage]
[backspace=0pt, % left margin
cutspace=1.5in, % less between columns
topspace=0pt,
bottomspace=0pt,
header=0pt,
footer=0pt,
lines=\getvariable{pdftex}{titlepagelines},
grid=yes,
width=middle]
\definecolumnset
[titlepage]
[n=2,distance=.66in]
\start
\chardef\fontdigits=2
\switchtobodyfont[11pt,tt]
\setupinterlinespace
[line=\dimexpr((\paperheight)/\getvariable{pdftex}{titlepagelines})]
\setuptyping[margin=,color=]
\setuplayout[titlepage]
\startcolumnset[titlepage]
\typefile{incl/pdfmin-src.txt}
\stopcolumnset
\page
\setuplayout
\stop
\stoptext
|