type-fbk.mkiv /size: 2770 b    last modification: 2020-07-01 14:35
1
%D \module
2
%D [ file=type-sfbk,
3
%D version=2005.02.04, % moved from ini/def/set
4
%D title=\CONTEXT\ Typescript Macros,
5
%D subtitle=Fallbacks,
6
%D author=Hans Hagen,
7
%D date=\currentdate,
8
%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
9
%C
10
%C This module is part of the \CONTEXT\ macro||package and is
11
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
12
%C details.
13 14
\unprotect
15 16
\definetypescriptprefix
[
\s!serif
]
[
\s!Serif
]
17
\definetypescriptprefix
[
\s!sans
]
[
\s!Sans
]
18
\definetypescriptprefix
[
\s!mono
]
[
\s!Mono
]
19 20
\definefontsynonym
[
\s!DefaultFont
]
[
\s!file
:
lmmonoproplt
1
0
-
regular
]
21 22
\startsetups
[
\s!font
:
\s!fallback
:
\s!serif
]
23
\definefontsynonym
[
\s!Serif
]
[
\s!DefaultFont
]
24
\definefontsynonym
[
\s!SerifBold
]
[
\s!Serif
]
25
\definefontsynonym
[
\s!SerifItalic
]
[
\s!Serif
]
26
\definefontsynonym
[
\s!SerifSlanted
]
[
\s!SerifItalic
]
27
\definefontsynonym
[
\s!SerifBoldItalic
]
[
\s!Serif
]
28
\definefontsynonym
[
\s!SerifBoldSlanted
]
[
\s!SerifBoldItalic
]
29
\definefontsynonym
[
\s!SerifCaps
]
[
\s!Serif
]
[
\s!features
=
\s!smallcaps
]
30
\stopsetups
31 32
\startsetups
[
\s!font
:
\s!fallback
:
\s!sans
]
33
\definefontsynonym
[
\s!Sans
]
[
\s!DefaultFont
]
34
\definefontsynonym
[
\s!SansBold
]
[
\s!Sans
]
35
\definefontsynonym
[
\s!SansItalic
]
[
\s!Sans
]
36
\definefontsynonym
[
\s!SansSlanted
]
[
\s!SansItalic
]
37
\definefontsynonym
[
\s!SansBoldItalic
]
[
\s!Sans
]
38
\definefontsynonym
[
\s!SansBoldSlanted
]
[
\s!SansBoldItalic
]
39
\definefontsynonym
[
\s!SansCaps
]
[
\s!Sans
]
[
\s!features
=
\s!smallcaps
]
40
\stopsetups
41 42
\startsetups
[
\s!font
:
\s!fallback
:
\s!mono
]
43
\definefontsynonym
[
\s!Mono
]
[
\s!DefaultFont
]
44
\definefontsynonym
[
\s!MonoBold
]
[
\s!Mono
]
45
\definefontsynonym
[
\s!MonoItalic
]
[
\s!Mono
]
46
\definefontsynonym
[
\s!MonoSlanted
]
[
\s!MonoItalic
]
47
\definefontsynonym
[
\s!MonoBoldItalic
]
[
\s!Mono
]
48
\definefontsynonym
[
\s!MonoBoldSlanted
]
[
\s!MonoBoldItalic
]
49
\definefontsynonym
[
\s!MonoCaps
]
[
\s!Mono
]
[
\s!features
=
\s!smallcaps
]
50
\stopsetups
51 52
\starttypescript
[
\s!serif
,
\s!sans
,
\s!mono
]
[
\s!fallback
]
53
\setups
[
\s!font
:
\s!fallback
:
\typescriptone
]
54
\stoptypescript
55 56
\startsetups
[
\s!font
:
allbold
:
\s!serif
]
57
\definefontsynonym
[
\s!Serif
]
[
\s!SerifBold
]
58
\definefontsynonym
[
\s!SerifItalic
]
[
\s!SerifBoldItalic
]
59
\definefontsynonym
[
\s!SerifSlanted
]
[
\s!SerifBoldSlanted
]
60
%definefontsynonym[\s!SerifCaps] [\s!SerifBold]
61
\stopsetups
62 63
\startsetups
[
\s!font
:
allbold
:
\s!sans
]
64
\definefontsynonym
[
\s!Sans
]
[
\s!SansBold
]
65
\definefontsynonym
[
\s!SansItalic
]
[
\s!SansBoldItalic
]
66
\definefontsynonym
[
\s!SansSlanted
]
[
\s!SansBoldSlanted
]
67
%definefontsynonym[\s!SansCaps] [\s!SansBold]
68
\stopsetups
69 70
\protect
\endinput
71