mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
cc303b203f
and greek text, without having to use \textlatin or any other command to switch between the greek/latintext modes. It includes greek postscript fonts created by Angelos Haritsis. PR: ports/78830 Submitted by: eelvex <mplekos@physics.upatras.gr>
16 lines
679 B
Bash
16 lines
679 B
Bash
#!/bin/sh
|
|
|
|
prefix=/usr/local
|
|
sharedir=${prefix}/share
|
|
if [ -f ${sharedir}/texmf-dist/tex/latex/auto-greek/updmap.inc ]; then
|
|
grep -vf ${sharedir}/texmf-dist/tex/latex/auto-greek/updmap.inc ${sharedir}/texmf-config/web2c/updmap.cfg > ${sharedir}/texmf-config/web2c/updmap.cfg.swp
|
|
mv ${sharedir}/texmf-config/web2c/updmap.cfg.swp ${sharedir}/texmf-config/web2c/updmap.cfg
|
|
chmod 0444 ${sharedir}/texmf-config/web2c/updmap.cfg
|
|
mv ${sharedir}/texmf-dist/tex/generic/hyphen/hyphen.tex.old ${sharedir}/texmf-dist/tex/generic/hyphen/hyphen.tex
|
|
|
|
${prefix}/bin/texhash
|
|
${prefix}/bin/updmap-sys
|
|
${prefix}/bin/fmtutil-sys --byfmt latex
|
|
${prefix}/bin/fmtutil-sys --byfmt pdflatex
|
|
fi;
|