groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Groff] -ms paragraph macros don't reset glyph- and fill-col


From: Ted Harding
Subject: RE: [Groff] -ms paragraph macros don't reset glyph- and fill-col
Date: Fri, 21 Nov 2008 00:13:43 -0000 (GMT)

On 20-Nov-08 22:19:39, Dorai Sitaram wrote:
> I notice that groff's .PP, .LP and the like don't restore the glyph-
> and fill-color to the default (black and white)._ Shouldn't they, in
> analogy to how they treat font- and size-switches?
> _
> --d

That's a moot point! If one uses colour for transient purposes
(e.g. to highlight a few words, or a single paragraph) then one
would prefer that a .LP would restore the default. On the other
hand, if one uses colour for extended passages, then it is more
convenient to have the colour carry through.

Likewise, regarding font- and size-switches, one can set global
changes in ms macros by

.fam BM \"for Bookman
.ps 15
.nr PS 15 \"to change the default font to 15 points

However, I would agree that for consistency of logic in ms macros,
changes in colour would be local to the paragraph and revert to
the default at a new paragrpah; and there would be a register
(analogous to \n[PS]) to make a global change.

That being said, I personally prefer to cancel colour explcitly
when I have done with it, whether that is after a few words,
at the end of a paragraph, or after an extended passage.

One one is used to it, it is very little trouble to do.

Best wishes,
Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <address@hidden>
Fax-to-email: +44 (0)870 094 0861
Date: 21-Nov-08                                       Time: 00:13:40
------------------------------ XFMail ------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]