Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!ugle.unit.no!nuug!ifi!steinar From: steinar@ifi.uio.no (Steinar Kj{rnsr|d) Newsgroups: comp.text.tex Subject: Re: DVI[T]PS and MacDraw figures Message-ID: Date: 7 Feb 91 10:42:54 GMT References: Sender: steinar@ifi.uio.no (Steinar Kj{rnsr|d) Organization: Dept. of Informatics, University of Oslo, Norway Lines: 52 Nntp-Posting-Host: fram.ifi.uio.no In-Reply-To: Steinar Kj{rnsr|d 's message of Fri, 1 Feb 91 12:36:06 MET Originator: steinar@fram.ifi.uio.no Thanks to all of you who responded to my question on problems with the inclusion of MacDraw figures in LaTeX. I got a number of useful replies and also a copy of a TUGBoat article which addressed the problem. The problem arises since the MacDraw captured QuickDraw after being translated to PostScript is far from being encapsulated. For versions of MacDraw using the laserprep 68, the problem has been fixed by patches to the prep file. Patched prep-68 files can be retrieved by ftp from a number of places, ymir.claremont.edu and linc.cis.upenn.edu to mention some. However, my figures require LaserPrep 70 and no patches seem to be available for this version yet. Luckily, Mr. Eliot Moss posted his advises to the net: >I have found that since MacDraw doesnot produce encapsulated PostScript, etc., >it is sometimes necessary to make some small changes to the MacDraw PostScript >output to get the right behavior. The symptoms you mentioned seem similar to >ones I fixed as follows: > >1) replace the "op" line (near the top) with "/pm save def" >2) replace the "F T cp" line (near the bottom) with "pm restore" > >I have also noticed that the number of argument to psu (up near the top of the >file) has changed over time, and it is sometimes necessary to add additional >values there to get an older file to print correctly with a newer prologue. >Best of luck -- this is not always entirely clear cut! Eliot >-- > The good news is that 1) and 2) together do the job! The psu stuff seems to be ok in my files. Thanks to you Mr. Moss, I'll buy you a beer if you come to Norway ... +==================================================================+ ! ! ! Steinar Kjaernsroed, ! ! Dpt. of Informatics, ! ! University of Oslo, ! ! P.O.Box 1080, Blindern, ! ! 0316, Oslo 3, ! ! NORWAY ! ! ! ! Phone: 047+2+453460 (work), ! ! Email: steinar@ifi.uio.no (Internet) ! ! ..!mcsun!ifi!steinar (UUCP) ! ! ! +==================================================================+