🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #1673

Postscript Inclusion in Eroff from Mac (Help?)

#1673
From: Lee F Kolakowski
Date: Thu, 26 Jul 1990 18:51
74 lines
3526 bytes
The following is the begining to feal like a saga.

I have used MacDraw and Cricket Graph to make some pretty pictures.

I saved the files without laserprep headers as postscript and using
super drive wrote a dos disk containing all the postscript.  I also
have a file with no figure in it for the laser prep header.

I have macps and prepfix running here (MSDOS) and the individual
postscript process by macps works fine. The files print just fine on a
Unix networked laser printer.

OK, now to include them in a troff document.  So I used a macro that
was posted here not too long ago called .BB. Which takes arguments
filename x1 x2 y1 y2 from the bounding box info. (Mac Draw uses
bounding page). The .BB macro calls .Cs $1 ($2-$4)p ($4-$5)p (or
something like that).

So i have text surrounding a none diverted figure like follows.

.LP
text text text text text text text text text text text text text text
text text text text text text text text text text text text text text
text text text text text text text text text text text text text text
text text text text text text text text text text text text text text
.BB filename 31 32 531 745
.LP
text text text text text text text text text text text text text text
text text text text text text text text text text text text text text
text text text text text text text text text text text text text text
text text text text text text text text text text text text text text


Then I run eroff which is 

Troff -dps -mero -ms BB.mac test.ms | eps 

I get no errors and no output except the first block of text.

I called Elan, and the preson I spoke to said try moving it around
useing the bounding box as a starting point. Also she said remove the
line in the header from the prepfix'd version of the laser prep that
says /load initgraphics.

I did all this and .... no difference.

Any ideas out there?

I was a bit disappointed at the expertise of the Elan techincal help.
Maybe this is too difficult. I also looked at the postscript, and the
ditroff output, all of these properly include the postscript file and
do the usual saves of the environments, and then restores after the
file. And the changes in the positioning move the starting point of
the include file all over the virtual page.

So, I am at a loss.


--

Frank Kolakowski 

======================================================================
|lfk@athena.mit.edu                     ||      Lee F. Kolakowski    |
|lfk@eastman2.mit.edu                   ||	M.I.T.		     |
|kolakowski@wccf.mit.edu                ||	Dept of Chemistry    |
|lfk@mbio.med.upenn.edu		        ||	Room 18-506	     |
|lfk@hx.lcs.mit.edu                     ||	77 Massachusetts Ave.|
|AT&T:  1-617-253-1866                  ||	Cambridge, MA 02139  |
|--------------------------------------------------------------------|
|                         #include <woes.h>         		     |
|		           One-Liner Here!                           |
======================================================================
Technical Details
Message-ID: <1990Jul26.185202.23934@athena.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!bloom-beacon!lfk

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!bloom-beacon!lfk
From: lfk@athena.mit.edu (Lee F Kolakowski)
Newsgroups: comp.text
Subject: Postscript Inclusion in Eroff from Mac (Help?)
Message-ID: <1990Jul26.185202.23934@athena.mit.edu>
Date: 26 Jul 90 18:51:26 GMT
Sender: daemon@athena.mit.edu (Mr Background)
Distribution: comp
Organization: Mass. Inst. of Tech., Dept. of Chemistry
Lines: 74