🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #3077

Re: Fixed-width fonts and TROFF

#3077
From: Vidiot
Date: Wed, 06 Jan 1993 05:45
21 lines
1622 bytes
In article <1993Jan5.184840.1126@nsisrv.gsfc.nasa.gov> alex@tpocc.gsfc.nasa.gov (Alex Measday) writes:
<How do I embed fixed-width font text in a TROFF document?  I use
<"ptroff -man" for manual pages and "ptroff -ms" for documents on
<a Sun workstation and I wish to display examples of C code, for
<instance, within the text.

You can't.  Not with "ptroff", since it uses old troff, which can't load more
than four fonts (normal, italic, bold, symbol).  The normal, italic and bold
can be set to a particular family.

In order to get more than four fonts, either get Chris Lewis' psroff suite
of programs, which cheats old troff into using more than four fonts.  Or,
better yet, get the James Clark groff suite of programs.  Groff is DWB 3.0
compliant.  It allows for more fonts than I could ever dream of loading.

Groff works great on a SPARCstation.  I should know, I use it on one.
-- 
      harvard\                          spool.cs.wisc.edu!astroatc!vidiot!brown
Vidiot  ucbvax!uwvax..........!astroatc!vidiot!brown
      rutgers/            INTERNET:vidiot!brown%astroatc.UUCP@spool.cs.wisc.edu
                                   brown@wi.extrel.com
Technical Details
Message-ID: <4709@vidiot.UUCP>
Path: arc1-ca.pugleaf.net!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
References: <1993Jan5.184840.1126@nsisrv.gsfc.nasa.gov>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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
From: brown@vidiot.UUCP (Vidiot)
Newsgroups: comp.text
Subject: Re: Fixed-width fonts and TROFF
Message-ID: <4709@vidiot.UUCP>
Date: 6 Jan 93 05:45:58 GMT
References: <1993Jan5.184840.1126@nsisrv.gsfc.nasa.gov>
Reply-To: brown@vidiot.UUCP (Vidiot)
Organization: Vidiot's Hangout
Lines: 21