[comp.lang.postscript] MacDraw Postscript in LaTex??

deb@elli.cs.cornell.edu (David Baraff) (01/05/91)

Has anyone managed to do the following? We're trying
to use the 'psfig' command in LaTex to include some
PostScript produced by the printer driver of MacDraw,
on a Mac.

There seems to be some trouble in that in order to just
print the MacDraw image, you must have the Apple Dictionary.
So, if we just do something like

	cat appledict.ps macfile.ps | lpr

we get an OK image, where appledict.ps is a file containing
the apple dictionary, captured from a Mac. But when we try
to include macfile.ps in a LaTex document, we can't print
the resulting file. We've tried putting appledict.ps in
the macfile.ps, so the whole thing is included as one unit
by Latex. Doesn't work.

We've also tried just sticking appledict.ps in front of
the output produced by LaTex, and sending that to the printer.
Also doesn't work.

So, has anyone managed to incorporate MacDraw produced PostScript
using LaTex?

	David Baraff
	deb@cs.cornell.edu

wschen@zsazsa.usc.edu (Wai-Sheou Chen) (01/06/91)

I suggest the following procedures:

1. Use "\special" or "\epsf" command in the latex to include this PS file.
2. Use "dvips" not "dvi2ps" to convert the dvi file into PS file.
3 Then print out that PS file on the PostScript printer.

Sometimes the above procedures do not work due to different printers. For 
example, it works when the printer is APPLE Laser II NT but it does not work 
for DEC Laser printers. Anyway try it !



Univ. of Southern California
Department of Electrical Engineering

wschen@zsazsa.usc.edu