adrema/.docker/fonts/compile.sh

21 lines
349 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
2023-07-19 12:25:25 +02:00
rsync -a $(basename $font .zip)/ /usr/local/share/texmf
2023-07-18 14:18:44 +02:00
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