gbranden pushed a commit to branch master
in repository groff.
commit 317a70421df42bfdcb2bc7e473a933638b168fe0
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat May 27 04:07:51 2023 -0500
[docs]: Fix style nits.
* Tighten wording.
* Use scare quotes with "nothing" when referring to a certain `tr`
trick; the dummy character is not "nothing", as we are at pains to
point out, it is "constitutive of output".
---
doc/groff.texi | 12 ++++++------
man/groff.7.man | 6 +++---
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/doc/groff.texi b/doc/groff.texi
index 49d7aeaf2..cddf31825 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -6490,10 +6490,10 @@ Expressions} for the @code{\B} escape sequence.
How GNU @code{troff} handles the interpretation of an undefined
identifier depends on the context. There is no way to invoke an
undefined request; such syntax is interpreted as a macro call instead.
-If the identifier is being interpreted as a string, macro, or diversion,
-GNU @code{troff} emits a warning in category @samp{mac}, defines it as
-empty, and interpolates nothing. If the identifier is being interpreted
-as a register, GNU @code{troff} emits a warning in category @samp{reg},
+If the identifier is interpreted as a string, macro, or diversion, GNU
+@code{troff} emits a warning in category @samp{mac}, defines it as
+empty, and interpolates nothing. If the identifier is interpreted as a
+register, GNU @code{troff} emits a warning in category @samp{reg},
initializes it to zero, and interpolates that value. @xref{Warnings},
@ref{Interpolating Registers}, and @ref{Strings}. Attempting to use an
undefined typeface, special character, color, character class,
@@ -9382,7 +9382,7 @@ set with the @code{shc} request.
@item
@cindex @code{\&}, and translations
The pair @samp{@var{c}\&} (an arbitrary character@tie{}@var{c} followed
-by the dummy character) maps this character to nothing.
+by the dummy character) maps this character to ``nothing''.
@Example
.tr a\&
@@ -11600,7 +11600,7 @@ V\&A
@end iftex
@item
-Translate a character to nothing.
+Translate a character to ``nothing''.
@Example
.tr JIjiK\&k\&UVuv
diff --git a/man/groff.7.man b/man/groff.7.man
index 69c0c16ea..e23c45bf2 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -1373,7 +1373,7 @@ context.
There is no way to invoke an undefined request;
such syntax is interpreted as a macro call instead.
.
-If the identifier is being interpreted as a string,
+If the identifier is interpreted as a string,
macro,
or diversion,
.I @g@troff
@@ -1382,7 +1382,7 @@ emits a warning in category
defines it as empty,
and interpolates nothing.
.
-If the identifier is being interpreted as a register,
+If the identifier is interpreted as a register,
.I @g@troff
emits a warning in category
.RB \[lq] reg \[rq],
@@ -1898,7 +1898,7 @@ input line,
preventing kerning between two glyphs,
and permitting the
.B tr
-request to remap a character to nothing.
+request to remap a character to \[lq]nothing\[rq].
.
.B \[rs])
works as
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit