mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
25 lines
607 B
Bash
25 lines
607 B
Bash
#!/bin/sh
|
|
#
|
|
# hLaTeXp running script
|
|
#
|
|
# Modified by CHOI Junho <cjh@FreeBSD.org>
|
|
# Original from http://knot.kaist.ac.kr/htex/install-unix.htm
|
|
#
|
|
# check if fonts installed
|
|
#
|
|
if test -d %%PK300_SAMPLE%% \
|
|
-o -d %%PK600_SAMPLE%% \
|
|
-o -d %%PK1200_SAMPLE%%; then
|
|
# if hTeXp is available, run htexpini
|
|
#
|
|
if test -x %%PATH_HTEXPINI%%; then
|
|
exec htexpini "&hlatex" $1;
|
|
else
|
|
exec virtex "&hlatex" $1;
|
|
fi
|
|
else
|
|
echo "hLaTeXp fonts is not installed."
|
|
echo "Please install ko-hLaTeXp-pkfonts{300,600,1200} (korean/hlatexp-pkfonts*)"
|
|
echo "packages to use Korean fonts of hLaTeXp."
|
|
fi
|