gbranden pushed a commit to branch master
in repository groff.
commit 9fb3452381e811da9ecb338cb29e7f9c24fad9ac
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Mar 14 23:50:39 2025 -0500
[man]: Fix style nits.
Protect "asciify" and "unformat" from hyphenation.
Quote the latter to help avoid misinterpretation when text styling is
absent.
---
man/groff.7.man | 4 ++--
man/groff_diff.7.man | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/man/groff.7.man b/man/groff.7.man
index 8df70d755..0b10f1c58 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -8298,9 +8298,9 @@ This facility is termed
.
.P
The
-.B asciify
+.B \%asciify
and
-.B unformat
+.RB \%\[lq] unformat \[rq]
requests reprocess diversions.
.\" XXX: That's a weak statement. What we need is a `for` request and
.\" a new conditional operator that tests whether an item in a node list
diff --git a/man/groff_diff.7.man b/man/groff_diff.7.man
index 6b7891a58..94387cf53 100644
--- a/man/groff_diff.7.man
+++ b/man/groff_diff.7.man
@@ -1764,7 +1764,7 @@ request.
.
.
.IP
-.B asciify
+.B \%asciify
cannot return all items in a diversion to their source equivalent:
nodes such as those produced by
.BR \[rs]N[ .\|.\|.\& ]
@@ -1773,7 +1773,7 @@ so the result cannot be guaranteed to be a pure string.
.
Glyph parameters such as the type face and size are not preserved;
use
-.B unformat
+.RB \%\[lq] unformat \[rq]
to achieve that.
.
.
@@ -3897,7 +3897,7 @@ appends one.
This is the same as the
.B tr
request except that the
-.B asciify
+.B \%asciify
request uses the character code
(if any)
before the character translation.
@@ -3932,8 +3932,8 @@ Unformat the diversion
.IR div .
.
Unlike
-.BR asciify ,
-.B unformat
+.BR \%asciify ,
+.RB \%\[lq] unformat \[rq]
handles only tabs and spaces between words,
the latter usually arising from spaces or newlines in the input.
.
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit