Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!psuvax1!hydra!fikree From: fikree@hydra.bucknell.edu (mateen fikree) Newsgroups: comp.sys.mac Subject: Including PostScript files in a LaTeX document Message-ID: <351@hydra.bucknell.edu> Date: 12 Feb 90 15:58:57 GMT Reply-To: fikree@hydra.bucknell.edu (Mateen Fikree) Organization: Bucknell University, Lewisburg, Pa. Lines: 50 Greetings, As the title indicates I am trying to include PostScript files into a LaTeX document using Psfig. Here is a detailed description of what I am trying to do: I made a screen dump of a dialog box from a program that I am writing, using clover-shift-3. This created a MacPaint file. Next, I used SuperPaint to edit this file and then created a PostScript file by pressing clover-f after selecting OK in the print dialog box. Next, I printed the figure from SuperPaint. I then determined the BoundingBox for the fugure using a Points ruler. After including the bounding box into the PostScript figure, I included this file into my LaTeX document. Here is how I did this: : : : \input psfig.tex \begin{document} : : : : \begin{figure} \psfig{figure=FigPrint1.ps} \end{figure} \end{document} When I tex this document it does not complain and includes the PostScript figure. I should mention that presently the figure I am including is the last thing in the document, but later I will be including figures throughout my document. When I try to print this figure on an Apple LaserWriter printer, I notice that the printer is processing my document but it prints nothing. The printer flushes the whole document. I even tried to include the mac prolog file by exchanging the \psfig{figure=FigPrint1.ps} with \psfig{figure=FigPrint1.ps,prolog=mac.pro} in my LaTeX document. But it still did not work and did the same thing (i.e. printed nothing). Does anyone out there know what I am doing wrong and do I correct this??? Or how should I include various screen dumps into a LaTeX document. Please reply by e-mail. Thanks in advace to all those who reply. - Mateen Fikree -- fikree@bknlvms.bitnet fikree@hydra.bucknell.edu