Path: utzoo!utgpu!news-server.csri.toronto.edu!smoke.cs.toronto.edu!neat.cs.toronto.edu!moraes Newsgroups: comp.sys.sgi From: moraes@cs.toronto.edu (Mark Moraes) Subject: Re: topost Message-ID: <90Aug27.235552edt.501@smoke.cs.toronto.edu> Organization: Department of Computer Science, University of Toronto References: <9008272211.AA26887@mcirps2.med.nyu.edu> Date: 28 Aug 90 03:56:31 GMT Lines: 25 karron@MCIRPS2.MED.NYU.EDU writes: >I would also like to paste images into tex documents. >Have you been able to put images in TeX ? How do you do it ? The generally accepted way to put images (or other output-device-specific stuff) in LaTeX documents is to use \special. It's low-level, and implies knowledge of the output filter you're using -- your document will be less "portable". Check the dvi2whatever filter you're using and see what it supports by way of \specials. For PostScript, there exist a set of macros called psfig (see your friendly neighbourhood TeX archive site -- sun.soe.clarkson.edu? The master copy used to be on linc.cis.upenn.edu) that allow inclusion of encapsulated PostScript. For example, with X11, you can do stuff like xwd | xpr -device ps > file.ps and then include file.ps. (R4 xpr will work, earlier versions will not) Most modern versions of dvi*ps provide the \specials that psfig needs. pgmtops (from the pbmplus image conversion utilities) will also generate PostScript that you can include with psfig. Mark.