groff-commit
[Top][All Lists]
Advanced

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

[groff] 04/28: [docs]: Clarify points of new `hydefault` feature.


From: G. Branden Robinson
Subject: [groff] 04/28: [docs]: Clarify points of new `hydefault` feature.
Date: Mon, 4 Mar 2024 07:42:35 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 98f17458665ac098f50d82f6fee0ae50ecc66272
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Mar 3 18:12:41 2024 -0600

    [docs]: Clarify points of new `hydefault` feature.
    
    Thanks to Dave Kemper for feedback.
---
 doc/groff.texi.in    | 9 +++++----
 man/groff_diff.7.man | 2 ++
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/doc/groff.texi.in b/doc/groff.texi.in
index c31fd548d..b48bd4697 100644
--- a/doc/groff.texi.in
+++ b/doc/groff.texi.in
@@ -8697,9 +8697,10 @@ Set automatic hyphenation mode to @var{mode}, an integer 
encoding
 conditions for hyphenation; if omitted, the configured hyphenation mode
 default (see below) is implied.  The hyphenation mode is available in
 the read-only register @samp{.hy}; it is associated with the environment
-(@pxref{Environments}).  The default hyphenation mode depends on the
+(@pxref{Environments}).  The hyphenation mode default depends on the
 localization file loaded when GNU @code{troff} starts up; see the
-@code{hpf} request below.
+@code{hpf} request below.  If no localization file is loaded, the
+default is @samp{1}.
 
 Typesetting practice generally does not avail itself of every
 opportunity for hyphenation, but the details differ by language and site
@@ -8825,8 +8826,8 @@ given by @code{hy}.
 Disable automatic hyphenation; i.e., set the hyphenation mode to@tie{}0
 (see above).  The hyphenation mode of the last call to @code{hy} is not
 remembered, but invoking @code{hy} without an argument restores the
-default hyphenation mode if it is configured; @code{groff}'s
-localization macro files do so for the languages listed above.
+hyphenation mode default; @code{groff}'s localization macro files do so
+for the languages listed above.
 @endDefreq
 
 @cindex hyphenation mode default register (@code{.hydefault})
diff --git a/man/groff_diff.7.man b/man/groff_diff.7.man
index 7cdb707b9..422b56c5a 100644
--- a/man/groff_diff.7.man
+++ b/man/groff_diff.7.man
@@ -2890,6 +2890,8 @@ When the
 request is invoked without an argument,
 this mode is selected.
 .
+The hyphenation mode default is associated with the environment.
+.
 .
 .TP
 .BR .hym\~ [\c



reply via email to

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