summaryrefslogtreecommitdiff
path: root/tex/context/modules/mkiv/s-math-ligatures.mkiv
blob: 39fc4d2a35edda0611a62643b4b007da75d55fce (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
%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}

\setupbodyfont[dejavu,10pt]

\setuplayout
  [width=middle,
   height=middle,
   topspace=15mm,
   backspace=15mm,
   bottomspace=15mm,
   header=1cm,
   headerdistance=0.5cm,
   footer=0pt]

\starttext

    \showmathligatures

\stoptext