summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lhcyr/lhcyrkoi/maketfms.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lhcyr/lhcyrkoi/maketfms.sh')
-rw-r--r--Master/texmf-dist/tex/latex/lhcyr/lhcyrkoi/maketfms.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/lhcyr/lhcyrkoi/maketfms.sh b/Master/texmf-dist/tex/latex/lhcyr/lhcyrkoi/maketfms.sh
index cd037e4c7a6..06a6832d32e 100644
--- a/Master/texmf-dist/tex/latex/lhcyr/lhcyrkoi/maketfms.sh
+++ b/Master/texmf-dist/tex/latex/lhcyr/lhcyrkoi/maketfms.sh
@@ -1,11 +1,16 @@
-if [ mktextfm ]; then
+echo To create tfm\'s for lh-fonts in the KOI-8 encoding we have
+echo to determine the proper command which depends on the teTeX version.
+echo Trying \"mktextfm\" and \"MakeTeXTFM\" ...
+if [ `mktextfm cmr10` ]; then
MKTFMC=mktextfm
-elif [ MakeTeXTFM ]; then
+elif [ `MakeTeXTFM cmr10` ]; then
MKTFMC=MakeTeXTFM
else
- echo Cannot determine a command for creating tfm
+ echo Cannot determine a command for creating tfm!
exit 1
fi
+echo Using \"$MKTFMC\" ...
+
$MKTFMC kcb10
$MKTFMC kcbx10
$MKTFMC kcbx12