[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 16/21: [docs]: Fix backward documentation of \n[.U].
From: |
G. Branden Robinson |
Subject: |
[groff] 16/21: [docs]: Fix backward documentation of \n[.U]. |
Date: |
Sun, 6 Jun 2021 13:04:21 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit 69a9c7e33373423bea1b0d00a192f6443c121a06
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Mon Jun 7 01:13:01 2021 +1000
[docs]: Fix backward documentation of \n[.U].
* NEWS:
* doc/webpage.ms:
* man/groff.7.man (Registers/Read-only registers) <.U>:
* man/groff_diff.7.man (Language/New number registers) <.U>: Fix error;
the sense of this Boolean variable was backwardly documented (perhaps
due to an implementation detail from 2004 that was reversed in commit
7a0e2f15, 26 February 2008).
---
ChangeLog | 10 ++++++++++
NEWS | 4 ++--
doc/webpage.ms | 4 ++--
man/groff.7.man | 3 ++-
man/groff_diff.7.man | 5 +++--
5 files changed, 19 insertions(+), 7 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 7c1669b..c5742bc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2021-06-06 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ * NEWS:
+ * doc/webpage.ms:
+ * man/groff.7.man (Registers/Read-only registers) <.U>:
+ * man/groff_diff.7.man (Language/New number registers) <.U>: Fix
+ error; the sense of this Boolean variable was backwardly
+ documented {perhaps due to an implementation detail from 2004
+ that was reversed in commit 7a0e2f15, 26 February 2008}.
+
2021-06-05 G. Branden Robinson <g.branden.robinson@gmail.com>
* src/roff/groff/groff.cpp: Revise usage message.
diff --git a/NEWS b/NEWS
index ac9a8cf..b26c853 100644
--- a/NEWS
+++ b/NEWS
@@ -959,8 +959,8 @@ Troff
o Two new read-only, string-valued registers `.m' and `.M' return the
name of the current drawing and background color, respectively.
-o New read-only register `.U' which is set to 1 if in safer mode and set
- to 0 if in unsafe mode.
+o New read-only register `.U' which is set to 1 if in unsafe mode, and 0
+ otherwise.
o An input encoding file for latin-5 (a.k.a. ISO 8859-9) has been added.
Example use:
diff --git a/doc/webpage.ms b/doc/webpage.ms
index 4f84801..233a976 100644
--- a/doc/webpage.ms
+++ b/doc/webpage.ms
@@ -1293,8 +1293,8 @@ Two new read-only, string-valued registers `.m' and `.M'
return the
name of the current drawing and background color, respectively.
.LI
-New read-only register `.U' which is set to\~1 if in safer mode and set
-to\~0 if in unsafe mode.
+New read-only register `.U' which is set to\~1 if in unsafe mode and
+0\~otherwise.
.LI
An input encoding file for \%latin-5 (a.k.a.\& ISO \%8859-9) has been
diff --git a/man/groff.7.man b/man/groff.7.man
index d53233c..e992e40 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -4791,7 +4791,8 @@ Equal to 1 if filling is enabled,
.
.TPx
.REG .U
-Equal to 1 in safer mode and 0 in unsafe mode.
+1\~in unsafe mode and 0\~otherwise.
+.
.
.TPx
.REG .v
diff --git a/man/groff_diff.7.man b/man/groff_diff.7.man
index f539b24..be507bb 100644
--- a/man/groff_diff.7.man
+++ b/man/groff_diff.7.man
@@ -3898,11 +3898,12 @@ register.
.
.TP
.B \[rs]n[.U]
-Set to\~1 if in safer mode and to\~0 if in unsafe mode
+Set to\~1 if in unsafe mode
(as determined by
.IR \%@g@troff 's
.B \-U
-command-line option).
+command-line option)
+and 0\~otherwise.
.
.
.TP
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 16/21: [docs]: Fix backward documentation of \n[.U].,
G. Branden Robinson <=