gbranden pushed a commit to branch master
in repository groff.

commit fa32ee516c996beb9f5fa575d8ae84021225c6bd
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun May 24 21:10:40 2026 -0500

    [doc,man]: Revise/sync `hcode` req description.
---
 doc/groff.texi.in    | 31 ++++++++++++++++++++++---------
 man/groff.7.man      |  2 ++
 man/groff_diff.7.man |  3 +--
 3 files changed, 25 insertions(+), 11 deletions(-)

diff --git a/doc/groff.texi.in b/doc/groff.texi.in
index fc73250ca..94fd6bb1b 100644
--- a/doc/groff.texi.in
+++ b/doc/groff.texi.in
@@ -11084,15 +11084,28 @@ see
 @Defreq {hcode, dst1 src1 [dst2 src2] @dots{}}
 @cindex hyphenation code (@code{hcode})
 @cindex code, hyphenation (@code{hcode})
-Set the hyphenation code of ordinary or special character @var{dst1} to
-that of @var{src1}, and so on.  @var{dst1} must be an ordinary character
-(other than a numeral) or a special character, and @var{src1} must be an
-ordinary character (other than a numeral) or a special character to
-which a hyphenation code has already been applied.  Assigning the code
-of an ordinary character to itself effectively creates a unique
-hyphenation code (which can then be copied to others).  @code{hcode}
-ignores spaces between arguments.  If any argument is invalid,
-@code{hcode} reports an error and stops reading them.
+Set the hyphenation code of character
+@var{dst1}
+to that of
+@var{src1},
+and so on.
+@var{dst1}
+must be an ordinary character
+(other than a numeral)
+or a special character,
+and
+@var{src1}
+must be an ordinary character
+(other than a numeral)
+or a special character
+to which a hyphenation code has already been applied.
+Assigning the code of an ordinary character to itself
+effectively creates a unique hyphenation code
+(which can then be copied to others).
+Spaces need not separate the arguments.
+If any argument is invalid,
+@code{hcode}
+reports an error and stops reading them.
 
 For example, the following @code{hcode} requests are necessary to assign
 hyphenation codes to the letters @samp{�������}, needed for German.
diff --git a/man/groff.7.man b/man/groff.7.man
index c931bf25f..083329484 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -4091,6 +4091,8 @@ to that of
 .IR src1 ,
 and so on.
 .
+Spaces need not separate the arguments.
+.
 .TPx
 .REQ .hla
 Clear the environment's hyphenation language
diff --git a/man/groff_diff.7.man b/man/groff_diff.7.man
index 80edb721c..230428a57 100644
--- a/man/groff_diff.7.man
+++ b/man/groff_diff.7.man
@@ -3366,8 +3366,7 @@ Assigning the code of an ordinary character to itself
 effectively creates a unique hyphenation code
 (which can then be copied to others).
 .
-.B hcode
-ignores spaces between arguments.
+Spaces need not separate the arguments.
 .
 If any argument is invalid,
 .B hcode

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to