home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.mail.elm
- Path: sparky!uunet!cs.utexas.edu!usc!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!rsm1.physics.uiuc.edu!lewart
- From: d-lewart@uiuc.edu (Daniel S. Lewart)
- Subject: Formatting Elm document files: AIX, makefile, troff errors
- Message-ID: <Bzpz1x.41q@news.cso.uiuc.edu>
- Originator: lewart@rsm1.physics.uiuc.edu
- Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
- Reply-To: d-lewart@uiuc.edu (Daniel S. Lewart)
- Organization: UIUC Physics Department
- Date: Wed, 23 Dec 1992 15:58:44 GMT
- Lines: 79
-
- I have been asked how I format Elm document files in AIX 3.2. Below are
- my supplemental makefile and its output. Note the following:
- 1) nroff and/or PostScript output can be made.
- 2) The \(co macros had to be substituted for troff.
- 3) troff generates "Font CW too big" errors.
-
- If these errors can be cleaned up and the method works on other platforms,
- perhaps this could be integrated into the existing Makefile.
-
- Enjoy,
- Daniel Lewart
- d-lewart@uiuc.edu
- -------------------------------------------------------------------------------
- #
- # Supplemental Makefile for the documentation of the ELM mail system
- #
- # 23 Dec 1992
- # Convert guides to nroff and to PostScript
- # From: Daniel S. Lewart <d-lewart@uiuc.edu>
-
- NROFF = Alias.l Config.l Filter.l Form.l Ref.l Users.l
- PS = Alias.ps Config.ps Filter.ps Form.ps Ref.ps Users.ps
-
- default:
- @echo "Type 'make all' to make both"
- @echo "Type 'make clean' to remove formatted output"
- @echo "Type 'make nroff' to make nroff output (*.l)"
- @echo "Type 'make ps' to make PostScript output (*.ps)"
-
- all: nroff ps
-
- nroff: $(NROFF)
-
- ps: $(PS)
-
- .SUFFIXES: .guid .guide .l .ps
-
- .guid.l:
- tbl $< | nroff | col > $@
-
- .guide.l:
- tbl $< | nroff | col > $@
-
- .guid.ps:
- sed 's/\\(co/(C) /' $< | tbl | troff -Tpsc tmac.n - | psc > $@
-
- .guide.ps:
- sed 's/\\(co/(C) /' $< | tbl | troff -Tpsc tmac.n - | psc > $@
-
- clean:
- rm -f $(NROFF) $(PS)
- -------------------------------------------------------------------------------
- $ make all
- tbl Alias.guide | nroff | col > Alias.l
- Have we been run through "tbl" first?? I hope so!
- tbl Config.guid | nroff | col > Config.l
- Have we been run through "tbl" first?? I hope so!
- tbl Filter.guid | nroff | col > Filter.l
- Have we been run through "tbl" first?? I hope so!
- tbl Form.guide | nroff | col > Form.l
- tbl Ref.guide | nroff | col > Ref.l
- tbl Users.guide | nroff | col > Users.l
- I trust we've run this through "tbl" first...
- sed 's/\\(co/(C) /' Alias.guide | tbl | troff -Tpsc tmac.n - | psc > Alias.ps
- Have we been run through "tbl" first?? I hope so!
- troff: Font CW too big for position 0; line 157, file <standard input>
- sed 's/\\(co/(C) /' Config.guid | tbl | troff -Tpsc tmac.n - | psc > Config.ps
- Have we been run through "tbl" first?? I hope so!
- sed 's/\\(co/(C) /' Filter.guid | tbl | troff -Tpsc tmac.n - | psc > Filter.ps
- Have we been run through "tbl" first?? I hope so!
- troff: Font CW too big for position 0; line 201, file <standard input>
- sed 's/\\(co/(C) /' Form.guide | tbl | troff -Tpsc tmac.n - | psc > Form.ps
- troff: Font CW too big for position 0; line 147, file <standard input>
- sed 's/\\(co/(C) /' Ref.guide | tbl | troff -Tpsc tmac.n - | psc > Ref.ps
- troff: Font CW too big for position 0; line 251, file <standard input>
- sed 's/\\(co/(C) /' Users.guide | tbl | troff -Tpsc tmac.n - | psc > Users.ps
- I trust we've run this through "tbl" first...
- troff: Font CW too big for position 0; line 271, file <standard input>
- -------------------------------------------------------------------------------
-