home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / modula2 / 1377 < prev    next >
Encoding:
Internet Message Format  |  1992-11-12  |  2.1 KB

  1. Path: sparky!uunet!cs.utexas.edu!wupost!spool.mu.edu!agate!ucbvax!LET.RUG.NL!bert
  2. From: bert@LET.RUG.NL (Bert Bos)
  3. Newsgroups: comp.lang.modula2
  4. Subject: Re: Non-Proportional font
  5. Message-ID: <9211121054.AA24150@freya.let.rug.nl>
  6. Date: 12 Nov 92 10:57:51 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Reply-To: Modula2 List <INFO-M2%UCF1VM.BITNET@uga.cc.uga.edu>
  9. Distribution: world
  10. Organization: The Internet
  11. Lines: 30
  12.  
  13. In article <00117.2804162960.10272@faith.twu.ca>, you write:
  14.  
  15. >    In writing text materials for computing science, I like to present
  16. > programs in a non-proportional font.  Courier looks terrible, however, and I
  17. > have not seen anthing that looks much better.  (I like Bookman for the main
  18. > text, BTW.) The font should have a good distinguished bold and be very
  19. > legible.  It must be available for the Macintosh.  What are your
  20. > recommendations?  Please let me know whether your suggestion is:
  21. > (1) in Type 1 or TrueType
  22. > (2) general characteristics (serif, sans-serif, narrow or ??)
  23. > (3) commercial, freeware, or shareware (how much where applicable)
  24. > (4) where available
  25.  
  26. Have you tried WEB? It is a sort of preprocessor for TeX (and for the compiler,
  27.  if the presented material is a complete program). So if you know TeX, WEB is
  28.  easy to learn. It allows you to mix text and programs. The programs are
  29.  automatically pretty-printed by TeX-macros that WEB inserts. Typically,
  30.  reserved words are bold, identifiers are in italics, but you can easily change
  31.  that. The original WEB has a pretty-printer for Pascal, but there should be a
  32.  version for Modula as well. I have created one for Oberon, with the help of the
  33.  SpiderWEB package. As to the font: TeX normally uses the Computer Modern family
  34.  (bitmapped, serifed, free), but PostScript fonts work very well, too.
  35.  
  36. The drawback, of course, is that it is quite a distance from text entry to final
  37.  print. The text is converted to TeX by WEB, the TeX text is converted to DVI by
  38.  TeX, and DVI is printed or previewed, probably via PostScript. And only then do
  39.  you see how it really looks. But for a computer scientist, that way of working
  40.  is probably second nature.
  41.  
  42. Bert
  43.