Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!ugle.unit.no!nuug!ifi!steinar From: steinar@ifi.uio.no (Steinar Kj{rnsr|d) Newsgroups: comp.text.tex Subject: DVI[T]PS and MacDraw figures Message-ID: Date: 1 Feb 91 11:36:06 GMT Sender: steinar@ifi.uio.no (Steinar Kj{rnsr|d) Organization: Dept. of Informatics, University of Oslo, Norway Lines: 68 Nntp-Posting-Host: fram.ifi.uio.no Originator: steinar@fram.ifi.uio.no Hi, I wonder if someone has seen the same problems as we have, regarding inclusion of PostScript figures from MacDraw into LaTeX documents. Both dvitps version 3.14 and its psfig macros as well as dvips V5.47 together with the epsf* macros are having exactly the same problem. Scenario: - A PS figure from MacDraw using version 70 of the AppleDict md macros. - The file is included as a figure in a LaTeX document, enclosed in a figure environment: psfig/dvitps: \begin{figure} \centerline{\psfig{figure=macdraw-sketch.ps,prolog=prep70.ps,width=6in}} \caption{...} \end{figure} epsfbox/dvips: \begin{figure} \epsfxsize=6in \centerline{\fbox{\epsfbox{macdraw-sketch.ps}}} \caption{...} \end{figure} Both constructions are processed by LaTeX without problems. When it comes to the driver, the correct Apple prologue is included explicitely in the dvitps case, and by the -h option in the dvips case. Previewing the DVI file with xdvi indicates that everything is ok in both cases. The caption occurres where it should and the bounding rectangle (\fbox) shows up where it should too. The PS hardcopy output blows up however. The figure caption is where it should be, but the figure appears on a page by itself, no page numbers or anything generated by TeX on that page. The same happens on the NeXT printer, HPLJ III with Adobe cartridge as well as an Imagen 7320XP with Ultrascript. I've not looked closely on the MacDraw PostScript, just anticipating it to be well conforming and ok. I noticed, however, that the bounding box was wrong. The lly coordinate said something like 28 while the real coordinate should be 400 or so. This was true for other figures as well. The coordinate was corrected before we ran TeX/dvi[t]ps. Any clues will be appreciated. +==================================================================+ ! ! ! 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) ! ! ! +==================================================================+