[tex-live] update in P4 repository?
Werner LEMBERG
wl at gnu.org
Tue Dec 27 11:10:18 CET 2005
> I've just discovered another bug:
>
> mktexmf csso1212
>
> generates a file csso1212.mf which it shouldn't do -- it is a CJK
> font to be handled by hbf2gf. It's a bug in mktexmf: The $rootname
> variable holds the font name without the trailing digits (`csso'),
> but the `case' statement later on tests whether the font name is
> identical to `csso12[0-5][0-9]' which always fails.
Below is a patch.
Werner
======================================================================
--- mktexmf.old 2005-08-05 09:38:13.000000000 +0200
+++ mktexmf 2005-12-27 11:08:23.767340672 +0100
@@ -36,17 +36,20 @@
rootfile=$sauterroot
rootname=b-$rootname
else
- case $rootname in
+ case $name in
# csso12[0-5][0-9] from CJK package; unsupported by mktexmf
csso12[0-5][0-9])
- rootfile=;;
- cs*|lcsss*|icscsc*|icstt*|ilcsss*)
- rootfile=`kpsewhich cscode.mf`;;
- wn[bcdfirstuv]*|rx[bcdfiorstuvx][bcfhilmostx]|l[abcdhl][bcdfiorstuvx]*)
- lhprefix=`echo "$name" | sed 's/^\(..\).*/\1/'`
- rootfile=`kpsewhich ${lhprefix}codes.mf 2>/dev/null`;;
+ rootfile=;;
*)
- rootfile=`kpsewhich $rootname.mf 2>/dev/null`;;
+ case $rootname in
+ cs*|lcsss*|icscsc*|icstt*|ilcsss*)
+ rootfile=`kpsewhich cscode.mf`;;
+ wn[bcdfirstuv]*|rx[bcdfiorstuvx][bcfhilmostx]|l[abcdhl][bcdfiorstuvx]*)
+ lhprefix=`echo "$name" | sed 's/^\(..\).*/\1/'`
+ rootfile=`kpsewhich ${lhprefix}codes.mf 2>/dev/null`;;
+ *)
+ rootfile=`kpsewhich $rootname.mf 2>/dev/null`;;
+ esac;;
esac
fi
{ test -z "$rootfile" || test ! -f "$rootfile"; } && exit 1
More information about the tex-live
mailing list