blob: 0316f95c78748649e5b17c49f8af7d47c0b698ac (
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
%D \module
%D [ file=type-set,
%D version=2005.02.04, % moved from ini/def
%D title=\CONTEXT\ Typescript Macros,
%D subtitle=Default Settings,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright={PRAGMA / Hans Hagen \& Ton Otten}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.
\unprotect
\definetypescriptprefix [serif] [Serif]
\definetypescriptprefix [sans] [Sans]
\definetypescriptprefix [mono] [Mono]
\definefontsynonym [DefaultFont] [cmvtt10]
\startsetups [font:fallback:serif]
\definefontsynonym [Serif] [DefaultFont]
\definefontsynonym [SerifBold] [Serif]
\definefontsynonym [SerifItalic] [Serif]
\definefontsynonym [SerifSlanted] [SerifItalic]
\definefontsynonym [SerifBoldItalic] [Serif]
\definefontsynonym [SerifBoldSlanted] [SerifBoldItalic]
\definefontsynonym [SerifCaps] [Serif]
\stopsetups
\startsetups [font:fallback:sans]
\definefontsynonym [Sans] [DefaultFont]
\definefontsynonym [SansBold] [Sans]
\definefontsynonym [SansItalic] [Sans]
\definefontsynonym [SansSlanted] [SansItalic]
\definefontsynonym [SansBoldItalic] [Sans]
\definefontsynonym [SansBoldSlanted] [SansBoldItalic]
\definefontsynonym [SansCaps] [Sans]
\stopsetups
\startsetups [font:fallback:mono]
\definefontsynonym [Mono] [DefaultFont]
\definefontsynonym [MonoBold] [Mono]
\definefontsynonym [MonoItalic] [Mono]
\definefontsynonym [MonoSlanted] [MonoItalic]
\definefontsynonym [MonoBoldItalic] [Mono]
\definefontsynonym [MonoBoldSlanted] [MonoBoldItalic]
\definefontsynonym [MonoCaps] [Mono]
\stopsetups
\startsetups [font:allbold:serif]
\definefontsynonym [Serif] [SerifBold]
\definefontsynonym [SerifItalic] [SerifBoldItalic]
\definefontsynonym [SerifSlanted] [SerifBoldSlanted]
%definefontsynonym [SerifCaps] [SerifBold]
\stopsetups
\startsetups [font:allbold:sans]
\definefontsynonym [Sans] [SansBold]
\definefontsynonym [SansItalic] [SansBoldItalic]
\definefontsynonym [SansSlanted] [SansBoldSlanted]
%definefontsynonym [SansCaps] [SansBold]
\stopsetups
\ifnum\texengine=\xetexengine
\usetypescriptfile[\f!typeprefix def]
%usetypescriptfile[\f!typeprefix tmf]
\usetypescriptfile[\f!typeprefix siz]
\usetypescriptfile[\f!typeprefix otf]
\usetypescriptfile[\f!typeprefix xtx]
\usetypescriptfile[\f!typeprefix loc]
\else
\usetypescriptfile[\f!typeprefix def]
%usetypescriptfile[\f!typeprefix tmf]
\usetypescriptfile[\f!typeprefix siz]
\usetypescriptfile[\f!typeprefix one]
\usetypescriptfile[\f!typeprefix loc]
\fi
\protect \endinput
|