1
2
3
4
5
6
7
8
9
10
11
12
13
14\startmodule[mathligatures]
15
16\registerctxluafile{smathligatures}{}
17
18\unprotect
19
20\unexpanded\def\showmathligatures
21 {\dosingleempty\module_math_ligatures_show}
22
23\def\module_math_ligatures_show[#1]
24 {\begingroup
25 \ctxlua{moduledata.math.ligatures.showlist{ }}
26 \endgroup}
27
28\protect
29
30\stopmodule
31
32\continueifinputfile{smathligatures.mkiv}
33
34\usemodule[articlebasics] \setuplayout[tight] \setupbodyfont[10pt]
35
36\starttext
37
38\showmathligatures
39
40\blank[2*big]
41
42\starttyping
43sp = special
44ml = mathlist
45
46\setupmathematics[collapsing=1] : special
47\setupmathematics[collapsing=2] : special mathlist
48\setupmathematics[collapsing=3] : mathlist special
49\stoptyping
50
51\stoptext
52 |