summaryrefslogtreecommitdiff
path: root/Master/bin/i386-freebsd/updmap
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-07-23 17:11:25 +0000
committerKarl Berry <karl@freefriends.org>2009-07-23 17:11:25 +0000
commit403524ac1e22776e51e3b093bd33bd617e3bc88e (patch)
tree352cf0ec4e7096acb5afef6107d035972c0592a8 /Master/bin/i386-freebsd/updmap
parentbdf02975c90511ea5dbf88a4868e9175ff780def (diff)
propagate help msg changes to architectures
git-svn-id: svn://tug.org/texlive/trunk@14403 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/i386-freebsd/updmap')
-rwxr-xr-xMaster/bin/i386-freebsd/updmap27
1 files changed, 17 insertions, 10 deletions
diff --git a/Master/bin/i386-freebsd/updmap b/Master/bin/i386-freebsd/updmap
index e09c817451b..723bde70a02 100755
--- a/Master/bin/i386-freebsd/updmap
+++ b/Master/bin/i386-freebsd/updmap
@@ -94,8 +94,7 @@ export PATH
test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"'
# the version string
-version=1211742332 # seconds since `00:00:00 1970-01-01 UTC'
- # date '+%s' (with GNU date)
+version='$Id: updmap 14402 2009-07-23 17:09:15Z karl $'
#
###############################################################################
@@ -108,11 +107,14 @@ help()
Usage: updmap [OPTION]... [COMMAND]...
Update the default font map files used by pdftex, dvips, and dvipdfm, as
-determined by updmap.cfg. Among other things, these font map files are
-used to determine which fonts should be found as bitmaps and which as
-outlines, and to determine which fonts are included in the output.
+determined by updmap.cfg (the one returned by running "kpsewhich
+updmap.cfg").
-By default, the filename database is also rebuilt (with mktexlsr).
+Among other things, these font map files are used to determine which
+fonts should be used as bitmaps and which as outlines, and to determine
+which fonts are included in the output.
+
+By default, the TeX filename database is also rebuilt (with mktexlsr).
Valid options:
--cnffile FILE read FILE for the updmap configuration
@@ -134,9 +136,10 @@ Valid commands:
dvipsPreferOutline LW35 dvipsDownloadBase35
pdftexDownloadBase14 dvipdfmDownloadBase14
--setoption OPTION=VALUE see above, just different syntax
- --enable MAPTYPE MAPFILE add MAPFILE as a MAPTYPE, one of: Map MixedMap
- --enable Map=MAPFILE add MAPFILE as a Map
- --enable MixedMap=MAPFILE add or enable MAPFILE as a MixedMap
+ --enable MAPTYPE MAPFILE add "MAPTYPE MAPFILE" to updmap.cfg,
+ where MAPTYPE is either Map or MixedMap
+ --enable Map=MAPFILE add "Map MAPFILE" to updmap.cfg
+ --enable MixedMap=MAPFILE add "MixedMap MAPFILE" to updmap.cfg
--disable MAPFILE disable MAPFILE, whether Map or MixedMap
--syncwithtrees entries with unavailable map files will be
disabled in the config file
@@ -153,6 +156,9 @@ fonts that are available as both Type 1 and Metafont.
To see the precise locations of the various files that will be read and
written, run updmap -n.
+For step-by-step instructions on making new fonts known to TeX, see
+http://tug.org/fonts/fontinstall.html.
+
Report bugs to <tex-k@tug.org>.
eof
(exit 0); exit
@@ -774,7 +780,7 @@ cleanup()
{
rc=$1
$needsCleanup && test -n "$tmpdir" && test -d "$tmpdir" \
- && { cd / && rm -rf "$tmpdir"; }
+ && { cd $orig_pwd && rm -rf "$tmpdir"; }
(exit $rc); exit $rc
}
@@ -1323,6 +1329,7 @@ main()
link_cmd="ln -s"
copy_cmd="cp"
copy=false
+ orig_pwd=`pwd`
cfgparam=
outputdirparam=