2006-11-16 17:35:44 +00:00
|
|
|
--- espgs-8.15.3/lib/pv.sh.scripts 2006-05-03 00:04:46.000000000 +0100
|
|
|
|
+++ espgs-8.15.3/lib/pv.sh 2006-11-16 17:05:01.000000000 +0000
|
|
|
|
@@ -26,7 +26,7 @@
|
2005-06-03 16:04:52 +00:00
|
|
|
# the -D switch from the call of dvips below.
|
|
|
|
#
|
|
|
|
TEMPDIR=.
|
|
|
|
-PAGE=$1
|
|
|
|
+PAGE="$1"
|
|
|
|
shift
|
2006-11-16 17:35:44 +00:00
|
|
|
FILE="$1"
|
2005-06-03 16:04:52 +00:00
|
|
|
shift
|
2006-11-16 17:35:44 +00:00
|
|
|
@@ -38,8 +38,8 @@
|
|
|
|
else
|
|
|
|
tmpfile="$TEMPDIR/$FILE.$$.pv"
|
|
|
|
fi
|
|
|
|
-trap "rm -rf $tmpfile" 0 1 2 15
|
2005-06-03 16:04:52 +00:00
|
|
|
-#dvips -D$RESOLUTION -p $PAGE -n 1 $FILE $* -o $FILE.$$.pv
|
2006-11-16 17:35:44 +00:00
|
|
|
-dvips -p $PAGE -n 1 "$FILE" "$@" -o "$tmpfile"
|
|
|
|
+trap 'rm -rf "$tmpfile"' 0 1 2 15
|
2005-06-03 16:04:52 +00:00
|
|
|
+#dvips -R -D$RESOLUTION -p $PAGE -n 1 $FILE $* -o $FILE.$$.pv
|
2006-11-16 17:35:44 +00:00
|
|
|
+dvips -R -p "$PAGE" -n 1 "$FILE" "$@" -o "$tmpfile"
|
|
|
|
gs "$tmpfile"
|
2005-06-03 16:04:52 +00:00
|
|
|
exit 0
|