1
2
3
4
5
6
7
8
9
10
11
12
13
14\writestatus{loading}{ConTeXt Typesetting Macros Italics Corrections}
15
16\unprotect
17
18
19
20
21
22
23
24
25\registerctxluafile{typoitc}{}
26
27\definesystemattribute[italics] [public]
28\definesystemattribute[mathitalics][public]
29
30
31
32
33\ifdefined \normalitaliccorrection \else
34 \let\normalitaliccorrection\italiccorrection
35\fi
36
37\unexpanded\def\italiccorrection
38 {\ifnum\c_attr_italics<\plusone\normalitaliccorrection\fi}
39
40\pushoverloadmode
41
42\let\/\italiccorrection
43
44\popoverloadmode
45
46
47
48
49\unexpanded\def\setitaliccorrection[#code]
50 {\clf_setitaliccorrection#code\relax}
51
52\unexpanded\def\resetitaliccorrection
53 {\clf_resetitaliccorrection}
54
55
56
57
58
59
60\unexpanded\def\setupitaliccorrection[#settings]
61 {\clf_setupitaliccorrection{#settings}}
62
63\appendtoks
64 \c_attr_italics\attributeunsetvalue
65\to \everymathematics
66
67\protect \endinput
68 |