Debian Codegraph @

texmf-dist/tex/context/fonts/mkii/type-pre.mkii

raw
1 %D \module
2 %D [ file=type-pre,
3 %D version=2001.04.12,
4 %D title=\CONTEXT\ Typescript Macros,
5 %D subtitle=Compatibility scripts,
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 %D This file is obsolete. We now have latin modern and proper
15 %D typescripts. Forget about this file.
16
17 %D This file defines some typescripts that simulate the pre-typescript way
18 %D of defining fonts. This file will not be extended.
19
20 \starttypescriptcollection[previous]
21
22 %D The Computer Modern Roman is derived from the Monotype~8a
23 %D Times Roman. In this module, that is loaded by default, we
24 %D define all relevant alternatives.
25
26 \starttypescript [cmr]
27 \usetypescript[modern][default]
28 \setupbodyfont[modern]
29 \stoptypescript
30
31 %D This script remaps the default Computer Modern Font Files
32 %D onto the EC ones, so that hyphenations work well. (The proper
33 %D latin modern ec variants have replaed the ae ones.)
34
35 \starttypescript [aer]
36 \usetypescript[modern][ec]
37 \setupbodyfont[modern]
38 %\enableregime[ec]
39 \stoptypescript
40
41 %D This script defines the Computer Modern Roman with a pseudo kind
42 %D of iso latin 2 encoding.
43
44 \starttypescript [csr]
45 \usetypescript[modern][ec]
46 \setupbodyfont[modern]
47 \enableregime[il2]
48 \stoptypescript
49
50 %D This script defines the Computer Modern Roman with a
51 %D polish encoding.
52
53 \starttypescript [plr]
54 \usetypescript[modern][qx]
55 \setupbodyfont[modern]
56 \enableregime[pl0]
57 \stoptypescript
58
59 %D Vietnamese.
60
61 \starttypescript [vnr]
62 \usetypescript[modern][t5]
63 \setupbodyfont[modern]
64 \stoptypescript
65
66 %D Cyrillic alternatives are available under the symbolic
67 %D name \type {cyr}.
68
69 \starttypescript [cyr]
70 \usetypescript [serif,sans,mono,math] [computer-modern,latin-modern] [default,name,size,cyr]
71 \usemathcollection[default]
72 \stoptypescript
73
74 \starttypescript [lh-ec]
75 \usetypescript [serif,sans,mono,math] [computer-modern,latin-modern] [default,name,size,ec]
76 \usemathcollection[default]
77 \stoptypescript
78
79 \starttypescript [lh-t2a]
80 \usetypescript [serif,sans,mono,math] [computer-modern,latin-modern] [default,name,size,t2a]
81 \usemathcollection[default]
82 \stoptypescript
83
84 \starttypescript [lh-t2b]
85 \usetypescript [serif,sans,mono,math] [computer-modern,latin-modern] [default,name,size,t2b]
86 \usemathcollection[default]
87 \stoptypescript
88
89 \starttypescript [lh-t2c]
90 \usetypescript [serif,sans,mono,math] [computer-modern,latin-modern] [default,name,size,t2c]
91 \usemathcollection [default]
92 \stoptypescript
93
94 \starttypescript [lh-x2]
95 \usetypescript [serif,sans,mono,math] [computer-modern,latin-modern] [default,name,size,x2]
96 \usemathcollection [default]
97 \stoptypescript
98
99 \starttypescript [lh-lcy]
100 \usetypescript [serif,sans,mono,math] [computer-modern,latin-modern] [default,name,size,lcy]
101 \usemathcollection [default]
102 \stoptypescript
103
104 %D Here we implement the symbol fonts as provided by the
105 %D American Mathematical Society. The names of these symbols
106 %D can be found in The Joy of \TeX\ by M.~Spivak.
107
108 % \starttypescript [ams]
109 % \usetypescript [math] [ams] [all]
110 % \usemathcollection[default]
111 % \stoptypescript
112
113 %D The Concrete Modern Roman is just an alternative Computer
114 %D Modern Roman.
115
116 % \starttypescript [con]
117 % \usetypescript [serif] [concrete] [all]
118 % \usemathcollection[default]
119 % \stoptypescript
120
121 %D The Euler Fonts are designed by Herman Zapf and can be
122 %D used with the Concrete Fonts defined elsewhere.
123
124 % \starttypescript [eul]
125 % \usetypescript [math] [euler] [all]
126 % \usemathcollection[eul]
127 % \stoptypescript
128
129 %D The Lucida Bright fonts are both good looking and and
130 %D complete. These fonts have prebuilt accented characters,
131 %D which means that we use another encoding vector: \YandY\
132 %D texnansi. These fonts are a good illustration that a 12
133 %D point bodyfont is indeed never that size. The Lucida Bright
134 %D fonts come in one design size.
135
136 % \starttypescript [lbr]
137 % \usetypescript [serif,sans,mono,math,calligraphy,handwriting] [lucida] [name,special,\defaultencoding]
138 % \usetypescript [serif,sans,mono,math,calligraphy,handwriting] [default] [size]
139 % \usemathcollection[lbr]
140 % \usetypescript [all] [lucida] [\defaultencoding]
141 % \stoptypescript
142
143 \starttypescript [lbr]
144 \usetypescript[lucida][\defaultencoding]
145 \stoptypescript
146
147 %D Times
148
149 \starttypescript [tim]
150 \usetypescript [times] [\defaultencoding]
151 \setupbodyfont [times]
152 \stoptypescript
153
154 %D The Antikwa Torunska font family is a rather nice
155 %D and subtle one. Although primary meant for the polish
156 %D language, it can be used for other languages as well.
157
158 \starttypescript [ant]
159 \usetypescript [antykwa-torunska] [\defaultencoding]
160 \setupbodyfont [antykwa,rm]
161 \stoptypescript
162
163 %D This script defines the Standard Adobe Courier fonts.
164
165 % \starttypescript [pcr]
166 % \usetypescript [mono] [courier] [name,\defaultencoding]
167 % \usetypescript [mono] [default] [size]
168 % \usetypescript [all] [courier] [\defaultencoding]
169 % \stoptypescript
170
171 \starttypescript [pcr]
172 \usetypescript [postscript] [\defaultencoding]
173 \setupbodyfont [postscript,tt]
174 \stoptypescript
175
176 %D This script defines the Standard Adobe Helvetica fonts.
177
178 % \starttypescript [phv]
179 % \usetypescript [sans] [helvetica] [name,\defaultencoding]
180 % \usetypescript [sans] [default] [size]
181 % \usetypescript [all] [helvetica] [\defaultencoding]
182 % \stoptypescript
183
184 \starttypescript [phv]
185 \usetypescript [postscript] [\defaultencoding]
186 \setupbodyfont [postscript,ss]
187 \stoptypescript
188
189 %D This script defines the Standard Adobe Times fonts.
190
191 % \starttypescript [ptm]
192 % \usetypescript [serif] [times] [name,\defaultencoding]
193 % \usetypescript [serif] [default] [size]
194 % \usetypescript [all] [times] [\defaultencoding]
195 % \stoptypescript
196
197 \starttypescript [ptm]
198 \usetypescript [postscript] [\defaultencoding]
199 \setupbodyfont [postscript,rm]
200 \stoptypescript
201
202 %D This script loads the Adobe Times Roman, Helvetica and
203 %D Courier.
204
205 % \starttypescript [pos]
206 % \usetypescript [serif] [times] [name,\defaultencoding]
207 % \usetypescript [sans] [helvetica] [name,\defaultencoding]
208 % \usetypescript [mono] [courier] [name,\defaultencoding]
209 % \usetypescript [serif,sans,mono] [default] [size]
210 % \usetypescript [all] [times,helvetica,courier] [\defaultencoding]
211 % \stoptypescript
212
213 \starttypescript [pos]
214 \usetypescript [postscript] [\defaultencoding]
215 \setupbodyfont [postscript]
216 \stoptypescript
217
218 %D This script defines the Palatino font.
219
220 \starttypescript [ppl]
221 \usetypescript [palatino] [\defaultencoding]
222 \setupbodyfont [palatino]
223 \stoptypescript
224
225 %D The following scripts fake the old \type {font-ber} and
226 %D alike files.
227
228 \starttypescript[fil]
229 % fake to prevent loading font-fil.tex and signal 'done'
230 \stoptypescript
231
232 %D But for old time sake we provide:
233
234 \starttypescript[ber]
235 \usetypescript [berry] [ec,t5] % could be [all]
236 \stoptypescript
237
238 \stoptypescriptcollection
239
240 %D Special scripts:
241
242 \unprotect
243
244 \starttypescriptcollection[special scripts]
245
246 \starttypescript[chi] \readfile{\f!fontprefix chi}\donothing\donothing \stoptypescript
247 \starttypescript[jap] \readfile{\f!fontprefix jap}\donothing\donothing \stoptypescript
248 \starttypescript[arb] \readfile{\f!fontprefix arb}\donothing\donothing \stoptypescript
249 \starttypescript[heb] \readfile{\f!fontprefix heb}\donothing\donothing \stoptypescript
250
251 \stoptypescriptcollection
252
253 \protect \endinput