diff options
author | Norbert Preining <preining@logic.at> | 2014-05-12 06:39:32 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2014-05-12 06:39:32 +0000 |
commit | 234639e5dd07d52709fdfe598b1412eca12c75c2 (patch) | |
tree | d727c21940e95344207b4e8019d2f7ad5ea2f5a0 /Master/texmf-dist | |
parent | 787af130eec5139c7cc41a1da3e5a0dc397a222d (diff) |
updmap.pl: cleaner version number, help help2man
git-svn-id: svn://tug.org/texlive/trunk@33988 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rwxr-xr-x | Master/texmf-dist/scripts/texlive/updmap.pl | 93 |
1 files changed, 49 insertions, 44 deletions
diff --git a/Master/texmf-dist/scripts/texlive/updmap.pl b/Master/texmf-dist/scripts/texlive/updmap.pl index 43fc05ddd5c..174d20661de 100755 --- a/Master/texmf-dist/scripts/texlive/updmap.pl +++ b/Master/texmf-dist/scripts/texlive/updmap.pl @@ -31,6 +31,7 @@ BEGIN { unshift (@INC, "$TEXMFROOT/tlpkg"); } + my $svnid = '$Id$'; my $lastchdate = '$Date$'; $lastchdate =~ s/^\$Date:\s*//; @@ -2157,7 +2158,7 @@ sub warning { # help, version. sub version { - my $ret = sprintf "%s (TeX Live, multi) version %s\n", $prg, $version; + my $ret = sprintf "%s version %s\n", $prg, $version; return $ret; } @@ -2291,10 +2292,12 @@ Explanation of trees and files normally used: According to the actions, updmap might write to one of the given files or create a new updmap.cfg, described further below. - Where changes are saved: if config files are given on the command - line, then the first one given will be used to save any changes from - --setoption, --enable or --disable. If the config files are taken - from kpsewhich output, then the algorithm is more complex: +Where changes are saved: + + If config files are given on the command line, then the first one + given will be used to save any changes from --setoption, --enable + or --disable. If the config files are taken from kpsewhich output, + then the algorithm is more complex: 1) If \$TEXMFCONFIG/web2c/updmap.cfg or \$TEXMFHOME/web2c/updmap.cfg appears in the list of used files, then the one listed first by @@ -2309,45 +2312,47 @@ Explanation of trees and files normally used: can be overridden for system-wide using TEXMFLOCAL, and then system settings can be overridden again for a particular using using TEXMFHOME. - Resolving multiple definitions of a font: - 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. - - Disabling maps: - updmap.cfg files with higher priority (listed earlier) can disable - maps mentioned in lower priority (listed later) updmap.cfg files by - writing, e.g., - \#! Map mapname.map - or - \#! MixedMap mapname.map - in the higher-priority updmap.cfg file. - - 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 - \$TEXMFCONFIG/web2c/updmap.cfg with the content - #! Map belleek.map - Map mt-plus.map - Map mt-yy.map - and call $prg. - - updmap writes the map files for dvips (psfonts.map) and pdftex - (pdftex.map) to the TEXMFVAR/fonts/map/updmap/{dvips,pdftex}/ - directories. - - The log file is written to TEXMFVAR/web2c/updmap.log. - - When updmap-sys is run, TEXMFSYSCONFIG and TEXMFSYSVAR are used - instead of TEXMFCONFIG and TEXMFVAR, respectively. This is the only - difference between updmap-sys and updmap. - - 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. - - To see the precise locations of the various files that - will be read and written, give the -n option (or read the source). +Resolving multiple definitions of a font: + + 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. + +Disabling maps: + + updmap.cfg files with higher priority (listed earlier) can disable + maps mentioned in lower priority (listed later) updmap.cfg files by + writing, e.g., + \#! Map mapname.map + or + \#! MixedMap mapname.map + in the higher-priority updmap.cfg file. + + 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 + \$TEXMFCONFIG/web2c/updmap.cfg with the content + #! Map belleek.map + Map mt-plus.map + Map mt-yy.map + and call $prg. + +updmap writes the map files for dvips (psfonts.map) and pdftex +(pdftex.map) to the TEXMFVAR/fonts/map/updmap/{dvips,pdftex}/ +directories. + +The log file is written to TEXMFVAR/web2c/updmap.log. + +When updmap-sys is run, TEXMFSYSCONFIG and TEXMFSYSVAR are used +instead of TEXMFCONFIG and TEXMFVAR, respectively. This is the only +difference between updmap-sys and updmap. + +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. + +To see the precise locations of the various files that +will be read and written, give the -n option (or read the source). For step-by-step instructions on making new fonts known to TeX, read http://tug.org/fonts/fontinstall.html. For even more terse |