Article View: comp.lang.postscript
Article #4780Re: Can a FrameMaker PostScript file be made "normal"?
From: Vidiot
Date: Wed, 20 Feb 1991 04:17
Date: Wed, 20 Feb 1991 04:17
49 lines
2707 bytes
2707 bytes
[This article was originally post to alt.text.dwb as well, but that newsgroup
doesn't get this far and my system doesn't know about it and died when trying
to post this reply. Cross posting the alt newsgroups is a dangerous thing to
do. I can only suggest posting said articles separately.]
In article <1991Feb19.134533.20409@cbnewsk.att.com> wsg@cbnewsk.cb.att.com (wendy.grohol) writes:
<Someone I know is trying to take a PostScript file created
<with FrameMaker and include it in a troff document using
<mpictures.
<
<Unfortunately, FrameMaker doesn't create your run of the mill
<PostScript file. It prints fine by itself, but when I include
<it in a troff document, I get the following error:
<
< ERROR: typecheck
< OFFENDING COMMAND: setfont
< STACK: -null-
<
<It turns out that FrameMaker omits the usual first line:
< %!PS-Adobe-1.0
<The file states: "Due to bugs in Transcript, the 'PS-Adobe-'
< is omitted from line 1"
<
<When I add the "PS-Adobe-" line I get the same error as before.
<
<Is there something I can do to this file to make it usuable
<by mpictures to include the FrameMaker PostScript file in the
<troff document?
FrameMaker PostScript files are normal. What you are really looking for is
an Encapsulated PostScript file, which FrameMaker doesn't put out. Keep in
mind that troff doesn't put out EPS files either. If you tried including
troff output into troff output I wouldn't be surprised if it didn't work
either.
I've been doing a bit lately including files into troff output and the
included text has to be insulated from the orginal troff document's PostScript
code. If using psdit.pro, the PB and PE PostScript procedures need to surround
the included text. If you aren't using Adobe's TranScript, I have no idea
what you need to do to insulate the FrameMaker code from troff. It all
depends on the prolog that is used and the environment that is set up by that
prolog program.
Good luck.
--
harvard\ att!nicmad\ spool.cs.wisc.edu!astroatc!vidiot!brown
Vidiot ucbvax!uwvax..........!astroatc!vidiot!brown
rutgers/ decvax!nicmad/ INTERNET:vidiot!brown%astroatc@spool.cs.wisc.edu
Technical Details
Message-ID:
<1418@vidiot.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!att!linac!uwm.edu!uwvax!astroatc!vidiot!brownReferences:
<1991Feb19.134533.20409@cbnewsk.att.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!att!linac!uwm.edu!uwvax!astroatc!vidiot!brown From: brown@vidiot.UUCP (Vidiot) Newsgroups: comp.lang.postscript Subject: Re: Can a FrameMaker PostScript file be made "normal"? Keywords: FrameMaker, PostScript, mpictures Message-ID: <1418@vidiot.UUCP> Date: 20 Feb 91 04:17:29 GMT References: <1991Feb19.134533.20409@cbnewsk.att.com> Reply-To: brown@vidiot.UUCP (Vidiot) Distribution: usa Organization: Vidiot's Hangout Lines: 49