Skip to content

Instantly share code, notes, and snippets.

@tiarno
tiarno / enable-local-fonts
Last active Jan 19, 2016 — forked from mpg/enable-local-fonts
Enable fonts from texmf-local using updmap-sys --enable Map
View enable-local-fonts
#!/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
You can’t perform that action at this time.