🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #74899

Re: Ghostscript & LaTeX - does it work ?

#74899
From: Mark S. Handcock
Date: Wed, 16 Jan 1991 21:52
41 lines
2089 bytes
I just ftp'ed Ghostscript 2.1, compiled it and it works fine
with the examples included with the distribution. But when I
tried my TeX - files (made with dvips 5.4) it had problems.

I'm using a SUN Sparc IPC (SunOS 4.1) with cc and the 'normal'
X11R4, not OpenWindows.

It works fine when \special include raw PostScript code, and
works when  \special{ps: plotfile afile.ps} is used but
fails when \special include a PostScript file containing an image.
For example using \psfig1.2

\psfig{figure=fig1a.ps,height=5in,width=5in}

will print the figure, but bomb on completion with:

% gs test.ps
Reading ghost.ps... ghost.ps read.
>>showpage, press <return> to continue<<

Loading font file phvr.gsf... done.
Error: /undefined in showpage
  ostack:
  estack:  operator 4a0c  --nostringval-- --nostringval-- false
--nostringval--
--nostringval-- false --nostringval-- --nostringval-- --nostringval--
  dstack: 319/401 2/200 100/200 14/200 87/100
Ghostscript 2.1  Copyright (C) 1990 Aladdin Enterprises,
   Menlo Park, CA.  All rights reserved.
Distributed by Free Software Foundation, Inc.
Ghostscript comes with NO WARRANTY: see the file COPYING for details.
GS>

Is this a bug in dvips? weakness in Ghostscript? my ignorance?

Any tips are a help!

Mark

p.s. This is Dieterich Erwin's problem also, but his solution does not
     appear to be the answer here.
Technical Details
Message-ID: <8721@rnd.GBA.NYU.EDU>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!sunic!uupsi!cmcl2!rnd!mhandcoc
References: <445@rusux1.rus.uni-stuttgart.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1025b4,e7c61144454b0891
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 1991-01-20 06:12:25 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!sunic!uupsi!cmcl2!rnd!mhandcoc
From: mhandcoc@rnd.GBA.NYU.EDU (Mark S. Handcock)
Newsgroups: gnu.misc.discuss
Subject: Re: Ghostscript & LaTeX - does it work ?
Summary: Can you use dvips/psfig with ghostscript
Keywords: dvips, TeX, psfig, ghostscript
Message-ID: <8721@rnd.GBA.NYU.EDU>
Date: 16 Jan 91 21:52:21 GMT
References: <445@rusux1.rus.uni-stuttgart.de>
Reply-To: mhandcoc@rnd.UUCP (Mark S. Handcock)
Organization: Dept. of Statistics and OR, New York University
Lines: 41