[comp.text] Two DWB DiTroff questions

bink@aplcen.apl.jhu.edu (Ubben Greg) (07/07/89)

Two DiTroff (System V.2 DWB) questions I'm stumped on...

1.  Please explain why .bp must be written as .br \&\c `bp in the end macro.
    O'Reilly and whoever (apologies) avoids this, and TFM doesn't explain
    it sufficiently.  I want my end macro to produce several pages at the
    end of the document, and use the same trapped footer macro that is
    used in the rest of the document.  Does the footer macro HAVE to use
    the 2nd form then just so it will work in the end macro?

2.  I created my own description files, and they work when I use ".ft K",
    but if I try to access my fonts by font position (".ft 1") I get a
    "Cannot open /usr/lib/font/devx27/1.out" error.  Using .fp doesn't
    help.  Other devices work ok with the same troff input and their
    description file sources don't look much different (and they don't
    contain any 1.out files either).  Why?

Any help would be appreciated (E-mail).
						-- Greg Ubben
						   bink@aplcen.apl.jhu.edu

jeff@ism780c.isc.com (Jeff Copeland) (07/08/89)

In article <1867@aplcen.apl.jhu.edu> bink@aplcen.apl.jhu.edu (Ubben Greg) writes:
>Two DiTroff (System V.2 DWB) questions I'm stumped on...
>
>1.  Please explain why .bp must be written as .br \&\c `bp in the end macro.

Roughly, the last page needs text on it, because after the input text has
ended, troff won't create a page.  This used to be explained in
Kernighan's "A Troff Tutorial", or the appendices to the "Nroff/troff
User's Manual" in the old (pre-DWB 2.0) troff documentation.  

>2.  I created my own description files, and they work when I use ".ft K",
>    but if I try to access my fonts by font position (".ft 1") I get a
>    "Cannot open /usr/lib/font/devx27/1.out" error.  Using .fp doesn't

Fonts by number aren't recognized if no special font exists.