[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] devps/DESC, the font line, and too many fonts...
From: |
Werner LEMBERG |
Subject: |
Re: [Groff] devps/DESC, the font line, and too many fonts... |
Date: |
Mon, 26 Mar 2001 15:24:00 +0200 (CEST) |
A correction:
> [...] Note that this scheme currently has a drawback: If you say
> `.fam Univers-', gtroff tests whether the style at position 1 does
> exist. Normally, style `R' is at position 1, so the font
> `Univers-R' must be available (a simple temporary solution is to do
> a soft link).
This is not fully correct. gtroff tests whether the *current font
position* is a valid font or style. So the example in a previous mail
should look like this:
.de RegisterStyle
. sty \\n[.fp] \\$1
..
.
.de DefaultFont
. fp 0 dummy \\$1
..
.
.de Family
. ft 0
. fam \\$1
..
.
.de Shape
. ft \\$1
..
Now you can say
.RegisterStyle ExtraBlack
.RegisterStyle ExtraBlackObl
\# etc. etc.
.
.DefaultFont TR
.
.Family Univers-
.Shape ExtraBlack
text text
So I won't change `.fam', since this scheme works without problems.
Werner