type-imp-lato.mkiv /size: 5546 b    last modification: 2020-07-01 14:35
1
%D \module
2
%D [ file=type-imp-lato,
3
%D version=2016.05.07,
4
%D title=\CONTEXT\ Typescript Macros,
5
%D subtitle=Lato fonts,
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
% Lato-Black.ttf
15
% Lato-BlackItalic.ttf
16
% Lato-Bold.ttf
17
% Lato-BoldItalic.ttf
18
% Lato-Hairline.ttf
19
% Lato-HairlineItalic.ttf
20
% Lato-Heavy.ttf
21
% Lato-HeavyItalic.ttf
22
% Lato-Italic.ttf
23
% Lato-Light.ttf
24
% Lato-LightItalic.ttf
25
% Lato-Medium.ttf
26
% Lato-MediumItalic.ttf
27
% Lato-Regular.ttf
28
% Lato-Semibold.ttf
29
% Lato-SemiboldItalic.ttf
30
% Lato-Thin.ttf
31
% Lato-ThinItalic.ttf
32 33
\loadtypescriptfile
[
dejavu
]
34
\loadtypescriptfile
[
xits
]
35 36
\starttypescriptcollection
[
lato
]
37 38
\starttypescript
[
\s!sans
]
[
lato
]
[
\s!name
]
39
\setups
[
\s!font
:
\s!fallback
:
\s!sans
]
40
\definefontsynonym
[
\s!Sans
]
[
\s!file
:
lato
-
regular
]
[
\s!features
=
\s!default
]
41
\definefontsynonym
[
\s!SansBold
]
[
\s!file
:
lato
-
bold
]
[
\s!features
=
\s!default
]
42
\definefontsynonym
[
\s!SansItalic
]
[
\s!file
:
lato
-
italic
]
[
\s!features
=
\s!default
]
43
\definefontsynonym
[
\s!SansBoldItalic
]
[
\s!file
:
lato
-
bolditalic
]
[
\s!features
=
\s!default
]
44
\stoptypescript
45 46
\starttypescript
[
\s!sans
]
[
lato
-
light
]
[
\s!name
]
47
\setups
[
\s!font
:
\s!fallback
:
\s!sans
]
48
\definefontsynonym
[
\s!Sans
]
[
\s!file
:
lato
-
light
]
[
\s!features
=
\s!default
]
49
\definefontsynonym
[
\s!SansBold
]
[
\s!file
:
lato
-
regular
]
[
\s!features
=
\s!default
]
50
\definefontsynonym
[
\s!SansItalic
]
[
\s!file
:
lato
-
lightitalic
]
[
\s!features
=
\s!default
]
51
\definefontsynonym
[
\s!SansBoldItalic
]
[
\s!file
:
lato
-
italic
]
[
\s!features
=
\s!default
]
52
\stoptypescript
53 54
\starttypescript
[
\s!sans
]
[
lato
-
dark
]
[
\s!name
]
55
\setups
[
\s!font
:
\s!fallback
:
\s!sans
]
56
\definefontsynonym
[
\s!Sans
]
[
\s!file
:
lato
-
bold
]
[
\s!features
=
\s!default
]
57
\definefontsynonym
[
\s!SansBold
]
[
\s!file
:
lato
-
heavy
]
[
\s!features
=
\s!default
]
58
\definefontsynonym
[
\s!SansItalic
]
[
\s!file
:
lato
-
bolditalic
]
[
\s!features
=
\s!default
]
59
\definefontsynonym
[
\s!SansBoldItalic
]
[
\s!file
:
lato
-
heavyitalic
]
[
\s!features
=
\s!default
]
60
\stoptypescript
61 62
\starttypescript
[
\s!sans
]
[
lato
-
black
]
[
\s!name
]
63
\setups
[
\s!font
:
\s!fallback
:
\s!sans
]
64
\definefontsynonym
[
\s!Sans
]
[
\s!file
:
lato
-
heavy
]
[
\s!features
=
\s!default
]
65
\definefontsynonym
[
\s!SansBold
]
[
\s!file
:
lato
-
black
]
[
\s!features
=
\s!default
]
66
\definefontsynonym
[
\s!SansItalic
]
[
\s!file
:
lato
-
heavyitalic
]
[
\s!features
=
\s!default
]
67
\definefontsynonym
[
\s!SansBoldItalic
]
[
\s!file
:
lato
-
blackitalic
]
[
\s!features
=
\s!default
]
68
\stoptypescript
69 70
\starttypescript
[
\s!sans
]
[
lato
-
hairline
]
[
\s!name
]
71
\setups
[
\s!font
:
\s!fallback
:
\s!sans
]
72
\definefontsynonym
[
\s!Sans
]
[
\s!file
:
lato
-
hairline
]
[
\s!features
=
\s!default
]
73
\definefontsynonym
[
\s!SansBold
]
[
\s!file
:
lato
-
regular
]
[
\s!features
=
\s!default
]
74
\definefontsynonym
[
\s!SansItalic
]
[
\s!file
:
lato
-
hairlineitalic
]
[
\s!features
=
\s!default
]
75
\definefontsynonym
[
\s!SansBoldItalic
]
[
\s!file
:
lato
-
italic
]
[
\s!features
=
\s!default
]
76
\stoptypescript
77 78
\starttypescript
[
\s!sans
]
[
lato
-
thin
]
[
\s!name
]
79
\setups
[
\s!font
:
\s!fallback
:
\s!sans
]
80
\definefontsynonym
[
\s!Sans
]
[
\s!file
:
lato
-
thin
]
[
\s!features
=
\s!default
]
81
\definefontsynonym
[
\s!SansBold
]
[
\s!file
:
lato
-
regular
]
[
\s!features
=
\s!default
]
82
\definefontsynonym
[
\s!SansItalic
]
[
\s!file
:
lato
-
thinitalic
]
[
\s!features
=
\s!default
]
83
\definefontsynonym
[
\s!SansBoldItalic
]
[
\s!file
:
lato
-
italic
]
[
\s!features
=
\s!default
]
84
\stoptypescript
85 86
\starttypescript
[
\s!sans
]
[
lato
-
medium
]
[
\s!name
]
87
\setups
[
\s!font
:
\s!fallback
:
\s!sans
]
88
\definefontsynonym
[
\s!Sans
]
[
\s!file
:
lato
-
medium
]
[
\s!features
=
\s!default
]
89
\definefontsynonym
[
\s!SansBold
]
[
\s!file
:
lato
-
bold
]
[
\s!features
=
\s!default
]
90
\definefontsynonym
[
\s!SansItalic
]
[
\s!file
:
lato
-
mediumitalic
]
[
\s!features
=
\s!default
]
91
\definefontsynonym
[
\s!SansBoldItalic
]
[
\s!file
:
lato
-
bolditalic
]
[
\s!features
=
\s!default
]
92
\stoptypescript
93 94
\starttypescript
[
\s!sans
]
[
lato
-
semibold
]
[
\s!name
]
95
\setups
[
\s!font
:
\s!fallback
:
\s!sans
]
96
\definefontsynonym
[
\s!Sans
]
[
\s!file
:
lato
-
regular
]
[
\s!features
=
\s!default
]
97
\definefontsynonym
[
\s!SansBold
]
[
\s!file
:
lato
-
semibold
]
[
\s!features
=
\s!default
]
98
\definefontsynonym
[
\s!SansItalic
]
[
\s!file
:
lato
-
italic
]
[
\s!features
=
\s!default
]
99
\definefontsynonym
[
\s!SansBoldItalic
]
[
\s!file
:
lato
-
semibolditalic
]
[
\s!features
=
\s!default
]
100
\stoptypescript
101 102
\starttypescript
[
lato
,
lato
-
light
,
lato
-
dark
,
lato
-
black
,
lato
-
hairline
,
lato
-
thin
,
lato
-
medium
,
lato
-
semibold
]
103
\definetypeface
[
\typescriptone
]
[
\s!ss
]
[
\s!sans
]
[
\typescriptone
]
[
\s!default
]
104
\definetypeface
[
\typescriptone
]
[
\s!rm
]
[
\s!serif
]
[
dejavu
]
[
\s!default
]
105
\definetypeface
[
\typescriptone
]
[
\s!tt
]
[
\s!mono
]
[
dejavu
]
[
\s!default
]
106
\definetypeface
[
\typescriptone
]
[
\s!mm
]
[
\s!math
]
[
xits
]
[
\s!default
]
[
\s!rscale
=
1
.
2
]
107
\stoptypescript
108 109
\stoptypescriptcollection
110