blob: a1d5800e65a06422e8020da8306c3a044ccaee75 (
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
|
command.name.25.$(file.patterns.context)=Whatever
command.25.$(file.patterns.context)=insert_template $(ctx.template.list.context)
ctx.template.list.context=\
itemize=structure.itemize.context|\
tabulate=structure.tabulate.context|\
natural TABLE=structure.TABLE.context|\
use MP graphic=graphics.usemp.context|\
reuse MP graphic=graphics.reusemp.context|\
typeface definition=fonts.typeface.context
ctx.template.structure.itemize.context=\
\startitemize\n\
\item ?\n\
\item ?\n\
\item ?\n\
\stopitemize\n
ctx.template.structure.tabulate.context=\
\starttabulate[|l|p|]\n\
\NC ? \NC \NC \NR\n\
\NC ? \NC \NC \NR\n\
\NC ? \NC \NC \NR\n\
\stoptabulate\n
ctx.template.structure.TABLE.context=\
\bTABLE\n\
\bTR \bTD ? \eTD \bTD \eTD \eTR\n\
\bTR \bTD ? \eTD \bTD \eTD \eTR\n\
\bTR \bTD ? \eTD \bTD \eTD \eTR\n\
\eTABLE\n
ctx.template.graphics.usemp.context=\
\defineoverlay[?][\useMPgraphic{}]\n\n\
\startuseMPgraphic{}\n\n\
\stopuseMPgraphic\n
ctx.template.graphics.reusemp.context=\
\defineoverlay[?][\reuseMPgraphic{}]\n\n\
\startreusableMPgraphic{}\n\n\
\stopreusableMPgraphic\n
ctx.template.fonts.typeface.context=\
\definetypeface[mainface][rm][serif][?][default][encoding=\defaultencoding]\n\
\definetypeface[mainface][ss][sans] [?][default][encoding=\defaultencoding]\n\
\definetypeface[mainface][tt][mono] [?][default][encoding=\defaultencoding]\n\
\definetypeface[mainface][mm][math] [?][default][encoding=\defaultencoding]\n\
\n\
\setupbodyfont[mainface,10pt]\n
|