home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / text / 1533 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  1.6 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!uwm.edu!daffy!uwvax!astroatc!vidiot!brown
  2. From: brown@vidiot.UUCP (Vidiot)
  3. Newsgroups: comp.text
  4. Subject: Re: Fixed-width fonts and TROFF
  5. Message-ID: <4709@vidiot.UUCP>
  6. Date: 6 Jan 93 05:45:58 GMT
  7. References: <1993Jan5.184840.1126@nsisrv.gsfc.nasa.gov>
  8. Reply-To: brown@vidiot.UUCP (Vidiot)
  9. Organization: Vidiot's Hangout
  10. Lines: 21
  11.  
  12. In article <1993Jan5.184840.1126@nsisrv.gsfc.nasa.gov> alex@tpocc.gsfc.nasa.gov (Alex Measday) writes:
  13. <How do I embed fixed-width font text in a TROFF document?  I use
  14. <"ptroff -man" for manual pages and "ptroff -ms" for documents on
  15. <a Sun workstation and I wish to display examples of C code, for
  16. <instance, within the text.
  17.  
  18. You can't.  Not with "ptroff", since it uses old troff, which can't load more
  19. than four fonts (normal, italic, bold, symbol).  The normal, italic and bold
  20. can be set to a particular family.
  21.  
  22. In order to get more than four fonts, either get Chris Lewis' psroff suite
  23. of programs, which cheats old troff into using more than four fonts.  Or,
  24. better yet, get the James Clark groff suite of programs.  Groff is DWB 3.0
  25. compliant.  It allows for more fonts than I could ever dream of loading.
  26.  
  27. Groff works great on a SPARCstation.  I should know, I use it on one.
  28. -- 
  29.       harvard\                          spool.cs.wisc.edu!astroatc!vidiot!brown
  30. Vidiot  ucbvax!uwvax..........!astroatc!vidiot!brown
  31.       rutgers/            INTERNET:vidiot!brown%astroatc.UUCP@spool.cs.wisc.edu
  32.                                    brown@wi.extrel.com
  33.