Skip to content

Instantly share code, notes, and snippets.

@mpg
Created August 6, 2010 22:37
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mpg/512141 to your computer and use it in GitHub Desktop.
Save mpg/512141 to your computer and use it in GitHub Desktop.
Enable fonts from texmf-local using updmap-sys --enable Map
#!/bin/sh
# Enable fonts from texmf-local using updmap-sys --enable Map
#
# Manuel Pégourié-Gonnard, 2010; WTFPL v2.
find -H `kpsewhich --var-value TEXMFLOCAL` -name '*.map' | while read file
do
updmap-sys --nohash --nomkmap --enable Map `basename $file`
done
updmap-sys --nohash
mktexlsr `kpsewhich --var-value TEXMFSYSVAR`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment