1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18\startmodule[mathdefinitions]
19
20\registerctxluafile{smathdefinitions}{autosuffix}
21
22\permanent\tolerant\protected\def\showmathcharacterdefinitions[#1]
23 {\ctxlua{moduledata.math.definitions.showlist()}}
24
25\permanent\tolerant\protected\def\showmathatomspacing[#1]
26 {\ctxlua{moduledata.math.definitions.showatoms()}}
27
28\def\ShowMathAtomSpacingPage#1#2#3#4
29 {\startTEXpage[offset=10pt]
30 \raggedcenter
31 \dontleavehmode\framed
32 [height=60pt,width=150pt]
33 {$\showglyphs\showmakeup[math]#3 #4$}
34 \blank
35 \strut\infofont\detokenize{#1 #2 : $#3 #4$}
36 \stopTEXpage}
37
38\permanent\tolerant\protected\def\showmathatomspacingpage[#1]
39 {\ctxlua{moduledata.math.definitions.showatomspage()}}
40
41\stopmodule
42
43\continueifinputfile{smathdefinitions.mkxl}
44
45\setuplayout[tight]
46
47\setupbodyfont[cambria,10pt]
48
49\starttext
50 \showmathatomspacing
51
52
53
54
55\stoptext
56
57 |