home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / mail / elm / 3835 < prev    next >
Encoding:
Text File  |  1992-12-23  |  3.5 KB  |  92 lines

  1. Newsgroups: comp.mail.elm
  2. Path: sparky!uunet!cs.utexas.edu!usc!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!rsm1.physics.uiuc.edu!lewart
  3. From: d-lewart@uiuc.edu (Daniel S. Lewart)
  4. Subject: Formatting Elm document files: AIX, makefile, troff errors
  5. Message-ID: <Bzpz1x.41q@news.cso.uiuc.edu>
  6. Originator: lewart@rsm1.physics.uiuc.edu
  7. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  8. Reply-To: d-lewart@uiuc.edu (Daniel S. Lewart)
  9. Organization: UIUC Physics Department
  10. Date: Wed, 23 Dec 1992 15:58:44 GMT
  11. Lines: 79
  12.  
  13. I have been asked how I format Elm document files in AIX 3.2.  Below are
  14. my supplemental makefile and its output.  Note the following:
  15.     1) nroff and/or PostScript output can be made.
  16.     2) The \(co macros had to be substituted for troff.
  17.     3) troff generates "Font CW too big" errors.
  18.  
  19. If these errors can be cleaned up and the method works on other platforms,
  20. perhaps this could be integrated into the existing Makefile.
  21.  
  22. Enjoy,
  23. Daniel Lewart
  24. d-lewart@uiuc.edu
  25. -------------------------------------------------------------------------------
  26. #
  27. #  Supplemental Makefile for the documentation of the ELM mail system
  28. #
  29. # 23 Dec 1992
  30. # Convert guides to nroff and to PostScript
  31. # From: Daniel S. Lewart <d-lewart@uiuc.edu>
  32.  
  33. NROFF    = Alias.l Config.l Filter.l Form.l Ref.l Users.l
  34. PS    = Alias.ps Config.ps Filter.ps Form.ps Ref.ps Users.ps
  35.  
  36. default:
  37.     @echo "Type 'make all'   to make both"
  38.     @echo "Type 'make clean' to remove formatted output"
  39.     @echo "Type 'make nroff' to make nroff output (*.l)"
  40.     @echo "Type 'make ps'    to make PostScript output (*.ps)"
  41.  
  42. all: nroff ps
  43.  
  44. nroff: $(NROFF)
  45.  
  46. ps: $(PS)
  47.  
  48. .SUFFIXES: .guid .guide .l .ps
  49.  
  50. .guid.l:
  51.     tbl $< | nroff | col > $@
  52.  
  53. .guide.l:
  54.     tbl $< | nroff | col > $@
  55.  
  56. .guid.ps:
  57.     sed 's/\\(co/(C) /' $< | tbl | troff -Tpsc tmac.n - | psc > $@
  58.  
  59. .guide.ps:
  60.     sed 's/\\(co/(C) /' $< | tbl | troff -Tpsc tmac.n - | psc > $@
  61.  
  62. clean:
  63.     rm -f $(NROFF) $(PS)
  64. -------------------------------------------------------------------------------
  65. $ make all
  66.         tbl Alias.guide | nroff | col > Alias.l
  67. Have we been run through "tbl" first?? I hope so!
  68.         tbl Config.guid | nroff | col > Config.l
  69. Have we been run through "tbl" first?? I hope so!
  70.         tbl Filter.guid | nroff | col > Filter.l
  71. Have we been run through "tbl" first?? I hope so!
  72.         tbl Form.guide | nroff | col > Form.l
  73.         tbl Ref.guide | nroff | col > Ref.l
  74.         tbl Users.guide | nroff | col > Users.l
  75. I trust we've run this through "tbl" first...
  76.         sed 's/\\(co/(C) /' Alias.guide | tbl | troff -Tpsc tmac.n - | psc > Alias.ps
  77. Have we been run through "tbl" first?? I hope so!
  78. troff: Font CW too big for position 0; line 157, file <standard input>
  79.         sed 's/\\(co/(C) /' Config.guid | tbl | troff -Tpsc tmac.n - | psc > Config.ps
  80. Have we been run through "tbl" first?? I hope so!
  81.         sed 's/\\(co/(C) /' Filter.guid | tbl | troff -Tpsc tmac.n - | psc > Filter.ps
  82. Have we been run through "tbl" first?? I hope so!
  83. troff: Font CW too big for position 0; line 201, file <standard input>
  84.         sed 's/\\(co/(C) /' Form.guide | tbl | troff -Tpsc tmac.n - | psc > Form.ps
  85. troff: Font CW too big for position 0; line 147, file <standard input>
  86.         sed 's/\\(co/(C) /' Ref.guide | tbl | troff -Tpsc tmac.n - | psc > Ref.ps
  87. troff: Font CW too big for position 0; line 251, file <standard input>
  88.         sed 's/\\(co/(C) /' Users.guide | tbl | troff -Tpsc tmac.n - | psc > Users.ps
  89. I trust we've run this through "tbl" first...
  90. troff: Font CW too big for position 0; line 271, file <standard input>
  91. -------------------------------------------------------------------------------
  92.