Group :: Publishing
RPM: tetex
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: teTeX-tfmgen-alt.patch
Download
Download
--- teTeX-src-beta-1.0.8/texk/tetex/allcm.orig 2002-07-07 20:52:21 +0300
+++ teTeX-src-beta-1.0.8/texk/tetex/allcm 2002-10-22 08:57:53 +0300
@@ -13,6 +13,8 @@
# hack around a bug in zsh:
test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"'
+DVIPS=dvips
+
progname=`basename $0`
case "$progname" in
@@ -22,15 +24,26 @@
encoding=OT1;;
esac
+while test -n "$1" ; do
case "$1" in
-r)
DVIPS=dvired
shift
;;
+ -n)
+ DONTRUNDVIPS=1
+ shift
+ ;;
+ -e)
+ shift
+ encoding=$1
+ shift
+ ;;
*)
DVIPS=dvips
;;
esac
+done
body()
{
@@ -98,6 +111,7 @@
latex allcm11 >/dev/null
latex allcm12 >/dev/null
+if test -z "$DONTRUNDVIPS" ; then
echo >&2
echo "---------------------------------------------------------------------" >&2
echo ">>>>>>>>>>> Now, calling $DVIPS to make missing fonts... <<<<<<<<<<" >&2
@@ -105,7 +119,7 @@
$DVIPS ${1+"$@"} -f allcm10 > /dev/null
$DVIPS ${1+"$@"} -f allcm11 > /dev/null
$DVIPS ${1+"$@"} -f allcm12 > /dev/null
-
+fi
cd /
rm -f /tmp/tmp$$/*
rmdir /tmp/tmp$$
--- teTeX-src-beta-1.0.8/texk/kpathsea/mktextfm.orig 2002-09-11 18:52:11 +0300
+++ teTeX-src-beta-1.0.8/texk/kpathsea/mktextfm 2002-10-22 08:43:25 +0300
@@ -123,6 +123,11 @@
echo "$TFMDESTDIR/$TFMNAME" >$STDOUT
echo "$progname: $TFMDESTDIR/$TFMNAME: successfully generated." >&2
+# This is a hack to build the TFM only
+if test -n "$MT_DONT_INSTALL_PK" ; then
+ exit 0
+fi
+
# Since we probably made a GF(->PK) file, too, may as well install it if
# it's needed.
cd $TEMPDIR