Skip to content

Instantly share code, notes, and snippets.

@timtonk
timtonk / pscyr-install.sh
Last active May 21, 2023 19:10
PSCyr 0.4c installation script for texlive@ubuntu14.10
#!/usr/bin/env bash
# Run it strongly with sudo if you have installed your texlive in standard system routes
# Otherwise it will be fine without privilege
# And run it only in the root folder of the pscyr archive
# On Ubuntu 14.10 it equals to '/usr/local/texlive/2014/texmf-dist'
TEXMF=`kpsewhich -expand-var='$TEXMFMAIN'`
echo "###> Installing PSCyr to '$TEXMF' folder"
@timtonk
timtonk / install.sh
Created January 21, 2015 12:05
PSCyr 0.4c installation script for texlive@ubuntu13.10, all rights go to @beresovskiy
#!/usr/bin/env bash
# The installation script of PSCyr package (for texlive system).
# On Ubuntu 13.10 it equals to '/usr/share/texlive/texmf-dist'
TEXMF=`kpsewhich -expand-var='$TEXMFMAIN'`
echo "###> Installing PSCyr to '$TEXMF' folder"
mkdir -p $TEXMF/{tex/latex,fonts/tfm/public,fonts/vf/public,fonts/type1/public,fonts/afm/public,doc/fonts,fonts/enc,fonts/map/dvips}/pscyr