blob: 08457e0313f607bf01726ba5fd7a106ac9819212 (
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
50
51
|
%D \module
%D [ file=s-math-ligatures.mkiv,
%D version=2017.08.03,
%D title=\CONTEXT\ Style File,
%D subtitle=Math Ligature Checking,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.
\startmodule[math-ligatures]
\registerctxluafile{s-math-ligatures}{}
\unprotect
\unexpanded\def\showmathligatures
{\dosingleempty\module_math_ligatures_show}
\def\module_math_ligatures_show[#1]%
{\begingroup
\ctxlua{moduledata.math.ligatures.showlist{ }}%
\endgroup}
\protect
\stopmodule
\continueifinputfile{s-math-ligatures.mkiv}
\usemodule[article-basics] \setuplayout[tight] \setupbodyfont[10pt]
\starttext
\showmathligatures
\blank[2*big]
\starttyping
sp = special
ml = mathlist
\setupmathematics[collapsing=1] : special
\setupmathematics[collapsing=2] : special mathlist
\setupmathematics[collapsing=3] : mathlist special
\stoptyping
\stoptext
|