TeX-psfig problem
- To: mathgroup at yoda.physics.unc.edu
- Subject: TeX-psfig problem
- From: Tony Silva <tsilva at sparky.aaec.com>
- Date: Wed, 2 Dec 92 10:48:13 EST
You may be having problems with a huge amount of font data being left in your Postscript file. The Psfig distribution comes with a script for UNIX awk which removes it: #tsilva at sparky> cat /loc/lib/psfig/stripfonts.awk BEGIN {p = 1} $1 == "%%BeginFont:" { p = 0 } { if (p==1) print $0 } $1 == "%%EndFont" { print "bn"; p = 1 } $1 == "%%EndFont:" { print "bn"; p = 1 } Preprocess your Postscript with the awk script and try reprinting your TeX document. I seem to recall awk having a line length restriction, so you may have to use UNIX fold as well: fold -2500 < oldfig.ps | awk -f /loc/lib/psfig/stripfonts.awk > newfig.ps ------------------------------------------------------------------------------- Tony Silva tel: (617)890-4200 Atlantic Aerospace Electronics Corp. FAX: (617)890-0224 470 Totten Pond Road Internet: tsilva at aaec.com Waltham, MA 02154