Article View: comp.lang.postscript
Article #666Re: Troff or pscat ?
From: Mike Fischbein
Date: Fri, 07 Jul 1989 11:52
Date: Fri, 07 Jul 1989 11:52
29 lines
2017 bytes
2017 bytes
In article <2218@astroatc.UUCP> brown@astroatc.UUCP (Vidiot) writes: >In article <2214@astroatc.UUCP> ttl@astroatc.UUCP (Tony Laundrie) writes: ><All I originally wanted to do was put a logo on our troff document covers. ><I did this by printing the word "ZSELOGO" in troff, then piping the pscat ><output through sed to replace the line containing "(ZSELOGO)" with my ><PostScript program to draw the logo. That works fine for now, because the ><cover page does not change much and I have verified that ZSELOGO does not get ><split up. ><So my final solution (if I ever decide to write some package) would be to ><change the font type and size in troff to something that will only be used ><for figure names, then use single character letters to mark where the figures ><go. Using awk or a C program I can easily locate those letters in the ><pscat output. Got any better ideas? Not for the arbitrary placement of PS figures in the troffed text, unfortunately. There ought to be a troff command analogous to \special in TeX. Is there one in ditroff? On the other hand, the original problem (printing a logo) is much more easily done by copying the prolog file, modifying it to add the logo, and using the non-default prolog file. mike Michael Fischbein, Technical Consultant, Sun Professional Services Sun Albany 518-783-9613 sunbow!msf or mfischbein@sun.com These are my opinions and not necessarily those of any other person or organization.
Technical Details
Message-ID:
<1118@crdgw1.crd.ge.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!crdgw1!sneezy!msfReferences:
<2209@astroatc.UUCP> <15900@vail.ICO.ISC.COM> <2214@astroatc.UUCP> <2218@astroatc.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!crdgw1!sneezy!msf From: msf@sneezy.crd.ge.com (Mike Fischbein) Newsgroups: comp.lang.postscript Subject: Re: Troff or pscat ? Message-ID: <1118@crdgw1.crd.ge.com> Date: 7 Jul 89 11:52:54 GMT References: <2209@astroatc.UUCP> <15900@vail.ICO.ISC.COM> <2214@astroatc.UUCP> <2218@astroatc.UUCP> Sender: news@crdgw1.crd.ge.com Reply-To: msf@sneezy.crd.ge.com (Mike Fischbein) Distribution: na Organization: Sun Microsystems, Albany, NY Lines: 29