[comp.text.tex] How to include Mac Postscript files to LaTeX

rolfl@humanist.uio.no (Rolf Lindgren) (05/25/90)

try \psfig{figure=argle.ps,prolog=mac.pro}

Point is that the PostScript file you've captured relies on predifined
procedures that your laser printer doesn'nt know. These should be kept in a
suitable prolog file.

Rumor has it that such a prolog can be captured by hitting option-K rather that
option-F.

OzTeX (PD TeX for the Macintosh) is available by anonymous ftp from
tank.uchicago.edu in the directory pub/sources/OzTeX/binary. Remember to use
binary mode throughout. The documantation (which is excellent, as is the
program) contains a detailed explanation of the problem.

dhosek@hmcvax.claremont.edu (Hosek, Donald A.) (05/25/90)

In article <ROLFL.90May25121301@humanist.uio.no>, rolfl@humanist.uio.no (Rolf Lindgren) writes...
>try \psfig{figure=argle.ps,prolog=mac.pro}

>Point is that the PostScript file you've captured relies on predifined
>procedures that your laser printer doesn'nt know. These should be kept in a
>suitable prolog file.

>Rumor has it that such a prolog can be captured by hitting option-K rather that
>option-F.

>OzTeX (PD TeX for the Macintosh) is available by anonymous ftp from
>tank.uchicago.edu in the directory pub/sources/OzTeX/binary. Remember to use
>binary mode throughout. The documantation (which is excellent, as is the
>program) contains a detailed explanation of the problem.

on ymir.claremont.edu in the directory [anonymous.tex.documentation]
there is an article by Len Schwer explaining the problem at some
length and giving a good tutorial on the whole process of including
Mac graphics into a LaTeX document. That directory also contains two
files: LASERPREP68.POSTSCRIPT and LASERPREP65.POSTSCRIPT which are
edited versions of the Macintosh PS profile suitable for use in the
context of mac.pro above. (If somebody has done this with
LASERPREP70, please let me know and I'll toss it into the directory).

-dh

---
Don Hosek                         "When I was younger, I would throw
dhosek@ymir.claremont.edu          spitballs at girls that I liked. Now,
dhosek@ymir.bitnet                 I beg and plead for dates. Frankly, the
uunet!jarthur!ymir                 old way was more satisfying."

finin@prc.unisys.com (Tim Finin) (05/25/90)

On a related topic... I have a problem in including postscript files in a TeX
document to be printed in landscape mode -- the embedded postscript files do not
get rotated by dvi2ps so they are inserted sideways.  Here is the situation:

I'm doing some slides in LaTex and using psfig to include some figures.  I
define the page size as:
	...
	\setlength{\textwidth}{9 in}
	\setlength{\textheight}{6.5 in}
	... 

and then tell dvi2ps (or iptex) to print in landscape mode.  However, the
psfig-included postscript figures end up in the wrong orientation.  That is,
they are still oriented on the page as if for non-landscape mode.  Rotating the
figure by hand in the drawing program (I'm using IDRAW) is not a solution, since
psfig will not get the right bounding box and the figure will end up the wrong
size and in the wrong location.

Does anyone have a suggestion?
-- 
  +----------------------------------------------------------------------+
  | Tim Finin                                   finin@prc.unisys.com     |
  | Center for Advanced Information Technology  215-648-2840, -2288(fax) |
  | Unisys, PO Box 517, Paoli, PA 19301 USA     215-386-1749 (home)      |