Path: utzoo!attcan!uunet!husc6!mailrus!ncar!tank!uxc!ksuvax1!harv From: harv@ksuvax1.cis.ksu.edu (Harvard Townsend) Newsgroups: comp.lang.postscript Subject: Re: How to include PostScript pictures in troff? Keywords: troff Message-ID: <1172@ksuvax1.cis.ksu.edu> Date: 4 Nov 88 16:41:18 GMT References: <175@shapetc.UUCP> Reply-To: harv@ksuvax1.cis.ksu.edu (Harvard Townsend) Organization: Kansas State University, Dept of Computing & Information Sciences Lines: 25 In article <175@shapetc.UUCP> brouwer@shapetc.UUCP (Gerrit Brouwer ) writes: >I am using UNIX troff (-ms) and the Adobe Transcript package for >producing PostScript output files for a SUN LaserWriter (== Apple >LaserWriter). Are there any pre-WYSIWYG wizards out there know- >ing a way to include PostScript pictures (e.g. produced with >Adobe Illustrator) in the text? > "Psfig", available from comp.sources.unix archives, is designed to do this, but it works with device-independent troff (ditroff), not "old troff" (otroff). The latter produces code for the C/A/T phototypesetter. Since you say you are printing to a Sun Laserwriter, I suspect you have otroff on a Sun workstation instead of ditroff unless you spent some extra money. One limitation of psfig is that it works best with Encapsulated Postscript files (EPSF). In general, the Mac tools don't produce such files, so you'll have to do some hacking to the Postscript files to get rid of erasing pages and initialization of graphics states, etc. I have gotten psfig to work with Documenter's Workbench 2.0 on a Harris HCX-9 with the public domain "tpscript" ditroff-to-postscript translator. I am quite pleased with it. -- Harvard Townsend, Systems Manager CIS Dept., Kansas State University Internet: harv@harris.cis.ksu.edu BITNET: harv@ksuvax1.bitnet UUCP: {pyramid,ucsd}!ncr-sd!ncrwic!ksuvax1!harv