[comp.text] Postscript Inclusion in Eroff from Mac

lfk@athena.mit.edu (Lee F Kolakowski) (07/27/90)

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!                           |
======================================================================