1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/print/latex-auto-greek/pkg-deinstall
Pav Lucistnik cc303b203f This is a LaTeX port that allows one to write greek documents with both latin
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>
2005-11-01 22:10:09 +00:00

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;