groff-commit
[Top][All Lists]
Advanced

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

[groff] 09/41: [docs]: Recast discussion of `color` request.


From: G. Branden Robinson
Subject: [groff] 09/41: [docs]: Recast discussion of `color` request.
Date: Sat, 5 Mar 2022 16:06:14 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit dc3c185bb06ecad795966ffe0d63d432af74d1cd
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Fri Mar 4 08:57:14 2022 +1100

    [docs]: Recast discussion of `color` request.
---
 doc/groff.texi  | 8 ++++----
 man/groff.7.man | 6 ++----
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/doc/groff.texi b/doc/groff.texi
index 9a6a65d8..dd372ff7 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -11383,14 +11383,14 @@ of closed geometric figures.
 
 @DefreqList {color, [@Var{n}]}
 @DefregListEndx {.color}
-If @var{n} is missing or non-zero, activate colors (this is the
-default); otherwise, turn it off.
+If @var{n} is missing or non-zero, enable the output of color-related
+device commands (this is the default); otherwise, disable them.
 
-The read-only register @code{.color} is@tie{}1 if colors are active,
+The read-only register @code{.color} is@tie{}1 if colors are enabled,
 0@tie{}otherwise.
 
 Internally, @code{color} sets a global flag; it does not produce a
-token.  Similar to the @code{cp} request, you should use it at the
+token.  As with the @code{cp} request, you should use it at the
 beginning of your document to control color output.
 
 Colors can be also turned off with the @option{-c} command-line option.
diff --git a/man/groff.7.man b/man/groff.7.man
index 20b015ac..2d92dc92 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -1647,7 +1647,7 @@ Close the
 .
 .TPx
 .REQ .color
-Enable colors.
+Enable output of color-related device commands.
 .
 .
 .TPx
@@ -1655,7 +1655,7 @@ Enable colors.
 If
 .I N
 is zero,
-disable colors;
+disable output of color-related device commands;
 otherwise,
 enable them.
 .
@@ -1782,8 +1782,6 @@ interpreted using a default scaling unit
 which multiplies its value by 65,536
 (but clamps it at 65,535).
 .
-.
-.IP
 Each output device has a color named
 .RB \[lq] default \[rq],
 which cannot be redefined.



reply via email to

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