adrema/.docker/fonts/compile.sh

21 lines
344 B
Bash
Raw Normal View History

2023-07-18 14:18:44 +02:00
#!/bin/bash
set -e
cd /usr/local/src/fonts
for font in /usr/local/src/fonts/*.zip; do
unzip $font
mv $(basename $font .zip)/* /usr/local/share/texmf
done
mktexlsr
for map in $(find /usr/local/share/texmf -type f -name '*.map'); do
cd $(dirname $map)
updmap-sys --force --enable Map=$(basename $map)
done
mktexlsr