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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4.
.TH UPDMAP "1" "April 2017" "TeX Live" "User Commands"
.SH NAME
updmap \- manage TeX font maps, per-user
.br
updmap-sys \- manage TeX font maps, system-wide
.SH SYNOPSIS
.B updmap
[\fI\,-user|-sys\/\fR] [\fI\,OPTION\/\fR] ... [\fI\,COMMAND\/\fR]
.br
.B updmap-user
[\fI\,OPTION\/\fR] ... [\fI\,COMMAND\/\fR]
.br
.B updmap-sys
[\fI\,OPTION\/\fR] ... [\fI\,COMMAND\/\fR]
.SH DESCRIPTION
updmap version r43794 (2017\-04\-15 02:12:54 +0200)
.PP
Update the default font map files used by pdftex (pdftex.map), dvips
(psfonts.map), and dvipdfm(x), and optionally pxdvi, as determined by
all configuration files updmap.cfg (the ones returned by running
"kpsewhich \fB\-\-all\fR updmap.cfg", but see below).
.PP
Among other things, these map files are used to determine which fonts
should be used as bitmaps and which as outlines, and to determine which
font files are included, typically subsetted, in the PDF or PostScript output.
.PP
updmap\-sys (or updmap \fB\-sys\fR) is intended to affect the system\-wide
configuration, while updmap\-user (or updmap \fB\-user\fR) affects personal
configuration files only, overriding the system files.
As a consequence, once updmap\-user has been run, even a single time,
running updmap\-sys no longer has any effect. (updmap\-sys issues a
warning in this situation.)
.PP
See http://tug.org/texlive/scripts\-sys\-user.html for details.
.PP
By default, the TeX filename database (ls\-R) is also updated.
.PP
The updmap system is regrettably complicated, for both inherent and
historical reasons. A general overview:
.PP
\- updmap.cfg files are mainly about listing other files, namely the
.IP
font\-specific .maps, in which each line gives information about a
different TeX (.tfm) font.
.PP
\- updmap reads the updmap.cfg files and then concatenates the
.IP
contents of those .map files into the main output files: psfonts.map
for dvips and pdftex.map for pdftex and dvipdfmx.
.PP
\- The updmap.cfg files themselves are created and updated at package
.IP
installation time, by the system installer or the package manager or
by hand, and not (by default) by updmap.
.PP
Good luck.
.SH OPTIONS
.TP
\fB\-\-cnffile\fR FILE
read FILE for the updmap configuration
(can be given multiple times, in which case
all the files are used)
.TP
\fB\-\-dvipdfmxoutputdir\fR DIR
specify output directory (dvipdfm(x) syntax)
.TP
\fB\-\-dvipsoutputdir\fR DIR
specify output directory (dvips syntax)
.TP
\fB\-\-pdftexoutputdir\fR DIR
specify output directory (pdftex syntax)
.TP
\fB\-\-pxdvioutputdir\fR DIR
specify output directory (pxdvi syntax)
.TP
\fB\-\-outputdir\fR DIR
specify output directory (for all files)
.TP
\fB\-\-copy\fR
cp generic files rather than using symlinks
.TP
\fB\-\-force\fR
recreate files even if config hasn't changed
.TP
\fB\-\-nomkmap\fR
do not recreate map files
.TP
\fB\-\-nohash\fR
do not run texhash
.TP
\fB\-\-sys\fR
affect system\-wide files (equivalent to updmap\-sys)
.TP
\fB\-\-user\fR
affect personal files (equivalent to updmap\-user)
.TP
\fB\-n\fR, \fB\-\-dry\-run\fR
only show the configuration, no output
.TP
\fB\-\-quiet\fR, \fB\-\-silent\fR
reduce verbosity
.SS "Commands:"
.TP
\fB\-\-help\fR
show this message and exit
.TP
\fB\-\-version\fR
show version information and exit
.TP
\fB\-\-showoption\fR OPTION
show the current setting of OPTION
.TP
\fB\-\-showoptions\fR OPTION
show possible settings for OPTION
.TP
\fB\-\-setoption\fR OPTION VALUE
set OPTION to value; option names below
.TP
\fB\-\-setoption\fR OPTION=VALUE
as above, just different syntax
.TP
\fB\-\-enable\fR MAPTYPE MAPFILE
add "MAPTYPE MAPFILE" to updmap.cfg,
where MAPTYPE is Map, MixedMap, or KanjiMap
.TP
\fB\-\-enable\fR Map=MAPFILE
add "Map MAPFILE" to updmap.cfg
.HP
\fB\-\-enable\fR MixedMap=MAPFILE add "MixedMap MAPFILE" to updmap.cfg
.HP
\fB\-\-enable\fR KanjiMap=MAPFILE add "KanjiMap MAPFILE" to updmap.cfg
.TP
\fB\-\-disable\fR MAPFILE
disable MAPFILE, of whatever type
.TP
\fB\-\-listmaps\fR
list all maps (details below)
.TP
\fB\-\-listavailablemaps\fR
list available maps (details below)
.TP
\fB\-\-syncwithtrees\fR
disable unavailable map files in updmap.cfg
.PP
The main output:
.IP
The main output of updmap is the files containing the individual font
map lines which the drivers (dvips, pdftex, etc.) read to handle fonts.
.IP
The map files for dvips (psfonts.map) and pdftex and dvipdfmx
(pdftex.map) are written to TEXMFVAR/fonts/map/updmap/{dvips,pdftex}/.
.IP
In addition, information about Kanji fonts is written to
TEXMFVAR/fonts/map/updmap/dvipdfmx/kanjix.map, and optionally to
TEXMFVAR/fonts/map/updmap/pxdvi/xdvi\-ptex.map. These are for Kanji
only and are not like other map files. dvipdfmx reads pdftex.map for
the map entries for non\-Kanji fonts.
.IP
If no option is given, so the invocation is just "updmap\-user" or
"updmap\-sys", these output files are always recreated.
.IP
Otherwise, if an option such as \fB\-\-enable\fR or \fB\-\-disable\fR is given, the
output files are recreated if the list of enabled map files (from
updmap.cfg) has changed. The \fB\-\-force\fR option overrides this,
always recreating the output files.
.PP
Explanation of the map types:
.IP
The normal type is Map.
.IP
The only difference between Map and MixedMap is that MixedMap entries
are not added to psfonts_pk.map. The purpose is to help users with
devices that render Type 1 outline fonts worse than mode\-tuned Type 1
bitmap fonts. So, MixedMap is used for fonts that are available as
both Type 1 and Metafont.
.IP
KanjiMap entries are added to psfonts_t1.map and kanjix.map.
.PP
Explanation of the OPTION names for \fB\-\-showoptions\fR, \fB\-\-showoption\fR, \fB\-\-setoption\fR:
.TP
dvipsPreferOutline
true,false (default true)
.IP
Whether dvips uses bitmaps or outlines, when both are available.
.TP
dvipsDownloadBase35
true,false (default true)
.IP
Whether dvips includes the standard 35 PostScript fonts in its output.
.TP
pdftexDownloadBase14
true,false (default true)
.IP
Whether pdftex includes the standard 14 PDF fonts in its output.
.TP
pxdviUse
true,false (default false)
.IP
Whether maps for pxdvi (Japanese\-patched xdvi) are under updmap's control.
.TP
jaEmbed
(any string)
.TP
jaVariant
(any string)
.TP
scEmbed
(any string)
.TP
tcEmbed
(any string)
.TP
koEmbed
(any string)
.IP
See below.
.TP
LW35
URWkb,URW,ADOBEkb,ADOBE (default URWkb)
.IP
Adapt the font and file names of the standard 35 PostScript fonts.
.nf
.TP
URWkb
URW fonts with "berry" filenames (e.g. uhvbo8ac.pfb)
.TP
URW
URW fonts with "vendor" filenames (e.g. n019064l.pfb)
.fi
.TP
ADOBEkb
Adobe fonts with "berry" filenames (e.g. phvbo8an.pfb)
.TP
ADOBE
Adobe fonts with "vendor" filenames (e.g. hvnbo___.pfb)
.fi
.IP
These options are only read and acted on by updmap; dvips, pdftex, etc.,
do not know anything about them. They work by changing the default map
file which the programs read, so they can be overridden by specifying
command\-line options or configuration files to the programs, as
explained at the beginning of updmap.cfg.
.IP
The options jaEmbed and jaVariant (formerly kanjiEmbed and kanjiVariant)
specify special replacements in the map lines. If a map contains the
string @jaEmbed@, then this will be replaced by the value of that option;
similarly for jaVariant. In this way, users of Japanese TeX can select
different fonts to be included in the final output. The counterpart for
Simplified Chinese, Traditional Chinese and Korean fonts are
scEmbed, tcEmbed and koEmbed respectively.
.SH ENVIRONMENT
.PP
Explanation of trees and files normally used:
.IP
If \fB\-\-cnffile\fR is specified on the command line (can be given multiple
times), its value(s) is(are) used. Otherwise, updmap reads all the
updmap.cfg files found by running `kpsewhich \fB\-all\fR updmap.cfg',
in the order returned by kpsewhich (which is the order of trees
defined in texmf.cnf).
.IP
In either case, if multiple updmap.cfg files are found, all the maps
mentioned in all the updmap.cfg files are merged.
.IP
Thus, if updmap.cfg files are present in all trees, and the default
layout is used as shipped with TeX Live, the following files are
read, in the given order.
.nf
.IP
For updmap\-sys:
TEXMFSYSCONFIG \fI\,$TEXLIVE/YYYY/texmf\-config/web2c/updmap.cfg\/\fP
TEXMFSYSVAR \fI\,$TEXLIVE/YYYY/texmf\-var/web2c/updmap.cfg\/\fP
TEXMFLOCAL \fI\,$TEXLIVE/texmf\-local/web2c/updmap.cfg\/\fP
TEXMFDIST \fI\,$TEXLIVE/YYYY/texmf\-dist/web2c/updmap.cfg\/\fP
.IP
For updmap\-user:
TEXMFCONFIG $HOME/.texliveYYYY/texmf\-config/web2c/updmap.cfg
TEXMFVAR $HOME/.texliveYYYY/texmf\-var/web2c/updmap.cfg
TEXMFHOME \fI\,$HOME/texmf/web2c/updmap.cfg\/\fP
TEXMFSYSCONFIG \fI\,$TEXLIVE/YYYY/texmf\-config/web2c/updmap.cfg\/\fP
TEXMFSYSVAR \fI\,$TEXLIVE/YYYY/texmf\-var/web2c/updmap.cfg\/\fP
TEXMFLOCAL \fI\,$TEXLIVE/texmf\-local/web2c/updmap.cfg\/\fP
TEXMFDIST \fI\,$TEXLIVE/YYYY/texmf\-dist/web2c/updmap.cfg\/\fP
.IP
(where YYYY is the TeX Live release version).
.fi
.IP
According to the actions, updmap might write to one of the given files
or create a new updmap.cfg, described further below.
.PP
Where and which updmap.cfg changes are saved:
.IP
When no options are given, the updmap.cfg file(s) are only read, not
written. It's when an option \fB\-\-setoption\fR, \fB\-\-enable\fR or \fB\-\-disable\fR is
specified that an updmap.cfg needs to be updated. In this case:
.IP
1) If config files are given on the command line, then the first one
given is used to save any such changes.
.IP
2) If the config files are taken from kpsewhich output, then the
algorithm is more complex:
.IP
2a) If \fI\,$TEXMFCONFIG/web2c/updmap.cfg\/\fP or \fI\,$TEXMFHOME/web2c/updmap.cfg\/\fP
appears in the list of used files, then the one listed first by
kpsewhich \fB\-\-all\fR (equivalently, the one returned by kpsewhich
updmap.cfg), is used.
.IP
2b) If neither of the above two are present and changes are made, a
new config file is created in \fI\,$TEXMFCONFIG/web2c/updmap.cfg\/\fP.
.IP
In general, the idea is that if the user cannot write to a given
config file, a higher\-level one can be used. That way, the
distribution's settings can be overridden system\-wide using
TEXMFLOCAL, and system settings can be overridden again in a
particular user's TEXMFHOME.
.PP
Resolving multiple definitions of a font:
.IP
If a font is defined in more than one map file, then the definition
coming from the first\-listed updmap.cfg is used. If a font is
defined multiple times within the same map file, one is chosen
arbitrarily. In both cases a warning is issued.
.PP
Disabling maps:
.IP
updmap.cfg files with higher priority (listed earlier) can disable
maps mentioned in lower priority (listed later) updmap.cfg files by
writing, e.g.,
.IP
#! Map mapname.map
.IP
or
.IP
#! MixedMap mapname.map
.TP
in the higher\-priority updmap.cfg file.
(The #! must be at the
.IP
beginning of the line, with at least one space or tab afterward, and
whitespace between each word on the list.)
.IP
As an example, suppose you have a copy of MathTime Pro fonts
and want to disable the Belleek version of the fonts; that is,
disable the map belleek.map. You can create the file
\fI\,$TEXMFCONFIG/web2c/updmap.cfg\/\fP with the content
.IP
#! Map belleek.map
Map mt\-plus.map
Map mt\-yy.map
.IP
and call updmap.
.PP
Listing of maps:
.IP
The two options \fB\-\-listmaps\fR and \fB\-\-listavailablemaps\fR list all maps
defined in any of the updmap.cfg files (for \fB\-\-listmaps\fR), and
only those actually found on the system (for \fB\-\-listavailablemaps\fR).
The output format is one line per font map, with the following
fields separated by tabs: map, type (Map, MixedMap, KanjiMap),
status (enabled, disabled), origin (the updmap.cfg file where
it is mentioned, or 'builtin' for the three basic maps).
.IP
In the case of \fB\-\-listmaps\fR there can be one additional fields
(again separated by tab) containing '(not available)' for those
map files that cannot be found.
.PP
updmap\-user vs. updmap\-sys:
.IP
When updmap\-sys is run, TEXMFSYSCONFIG and TEXMFSYSVAR are used
instead of TEXMFCONFIG and TEXMFVAR, respectively. This is the
primary difference between updmap\-sys and updmap\-user.
.IP
Other locations may be used if you give them on the command line, or
these trees don't exist, or you are not using the original TeX Live.
.PP
To see the precise locations of the various files that
will be read and written, give the \fB\-n\fR option (or read the source).
.SH EXAMPLES
.PP
The log file is written to TEXMFVAR/web2c/updmap.log.
.PP
For step\-by\-step instructions on making new fonts known to TeX, read
http://tug.org/fonts/fontinstall.html. For even more terse
instructions, read the beginning of the main updmap.cfg file.
.SH FILES
Configuration and input files:
.IP "\fIupdmap\&.cfg\fP"
Main configuration file\&. In
\fItexmf-dist/web2c\fP by default, but may be located elsewhere
depending on your distribution\&. Each texmf tree read should have its
own \fIupdmap.cfg\fP.
.IP "\fIdvips35\&.map\fP"
Map file for standard 35 PostScript fonts for
use with \fBdvips\fP(1)\&.
.IP "\fIpdftex35\&.map\fP"
Map file for standard 35 PostScript fonts for
use with \fBpdftex\fP(1)\&.
.IP "\fIps2pk35\&.map\fP"
Map file for standard 35 PostScript fonts for
use with \fBps2pk\fP(1)\&.
.PP
Output files:
.IP "\fIpsfonts\&.map\fP"
For \fBdvips\fP(1)\&.
Same as \fIpsfonts_t1\&.map\fP if option \fBdvipsPreferOutline\fP active,
else as \fIpsfonts_pk\&.map\fP.
.IP "\fIpsfonts_pk\&.map\fP"
For \fBdvips\fP(1)\&.
Without information from MixedMap files\&.
(Setting of \fBdvipsPreferOutline\fP ignored\&.)
.IP "\fIpsfonts_t1\&.map\fP"
For \fBdvips\fP(1)\&.
With information from MixedMap files\&.
(Setting of \fBdvipsPreferOutline\fP ignored\&.)
.IP "\fIdownload35\&.map\fP"
For \fBdvips\fP(1)\&.
Always downloads the standard 35 fonts\&.
(Setting of \fBdvipsDownloadBase35\fP ignored\&.)
.IP "\fIbuiltin35\&.map\fP"
For \fBdvips\fP(1)\&.
Never downloads the standard 35 fonts\&.
(Setting of \fBdvipsDownloadBase35\fP ignored\&.)
.IP "\fIpdftex\&.map\fP"
For \fBpdftex\fP(1)\&.
Same as \fIpdftex_dl14\&.map\fP if option \fBpdftexDownloadBase14\fP active,
else as \fIpdftex_ndl14\&.map\fP.
.IP "\fIpdftex_dl14\&.map\fP"
For \fBpdftex\fP(1)\&.
Always downloads the standard 14 fonts\&.
.IP "\fIpdftex_ndl14\&.map\fP"
For \fBpdftex\fP(1)\&.
Never downloads the standard 14 fonts\&.
.IP "\fIps2pk\&.map\fP"
Similar to \fIpsfonts.map\fP file, but
forces all fonts to be downloaded, so this map file can be used with
\fBxdvi\fP(1) and \fBps2pk\fP(1)\&.
.PP
Configuration files for \fBdvips\fP(1):
.IP "\fIconfig\&.builtin35\fP"
Loads \fIbuiltin35\&.map\fP instead
of \fIpsfonts\&.map\fP\&.
.IP "\fIconfig\&.download35\fP"
Loads \fIdownload35\&.map\fP instead
of \fIpsfonts\&.map\fP\&.
.IP "\fIconfig\&.outline\fP"
Loads \fIpsfonts_t1\&.map\fP instead
of \fIpsfonts\&.map\fP\&.
.IP "\fIconfig\&.pdf\fP"
Loads \fIpsfonts_t1\&.map\fP instead
of \fIpsfonts\&.map\fP and has additional optimizations for PDF generation\&.
.IP "\fIconfig\&.pk\fP"
Loads \fIpsfonts_pk\&.map\fP instead
of \fIpsfonts\&.map\fP\&.
.IP "\fIconfig\&.www\fP"
Loads \fIpsfonts_t1\&.map\fP instead
of \fIpsfonts\&.map\fP\&.
(For compatibility with old versions\&.)
.IP "\fIconfig\&.gstopk\fP"
Loads \fIpsfonts_t1\&.map\fP instead
of \fIpsfonts\&.map\fP\&.
.SH "REPORTING BUGS"
Report bugs to: tex\-live@tug.org
.br
TeX Live home page: <http://tug.org/texlive/>
|