[3800] in SIPB bug reports

home help back first fref pref prev next nref lref last post

hmmm...

daemon@ATHENA.MIT.EDU (wchuang@athena.mit.edu)
Sun May 30 17:51:58 1993

From: wchuang@athena.mit.edu
Date: Sun, 30 May 93 17:51:46 -0400
To: bug-sipb@athena.mit.edu


Okay... I was digging through someone's LaTeX question today.  

He had a PostScript file which printed out fine by itself, previewed
with 'gs' and 'dxpsview', didn't use any unusual fonts, and didn't
create giant stacks (which would overflow the buffer).

When it was included in a LaTeX file, either using \epsfbox or \PSbox,
the produced PostScript file gave an "invalid restore" error in both
'gs' and 'dxpsview' and choked in the printer.

You've probably seen this problem before... well, it turns out that
changing the special.pro that 'dvips' and 'dvi2ps' both use will fix the
problem.  Here's the offending line:

	/@endspecial{grestore clear SpecialSave restore end}N
to:
	/@endspecial{restore clear SpecialSave grestore end}N

-----

But I guess that's not exactly what is causing the problem, because if
you make that switch for a normal PostScript file, you get an error (of
course).

oh well.

perhaps this info might help a teeny bit.

-William

home help back first fref pref prev next nref lref last post