[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 11/17: [troff]: Tweak `pev` output re: hyphenation mode.
From: |
G. Branden Robinson |
Subject: |
[groff] 11/17: [troff]: Tweak `pev` output re: hyphenation mode. |
Date: |
Sun, 3 Nov 2024 02:14:23 -0500 (EST) |
gbranden pushed a commit to branch master
in repository groff.
commit 3718eb9772799834425018620d0ab9b0479f1aae
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Wed Oct 30 21:02:42 2024 -0500
[troff]: Tweak `pev` output re: hyphenation mode.
* src/roff/troff/env.cpp (environment::print_env): Describe automatic
hyphenation mode in plain English.
---
ChangeLog | 5 +++++
src/roff/troff/env.cpp | 10 +++++-----
2 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 016cd2766..dd9003630 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-10-30 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ * src/roff/troff/env.cpp (environment::print_env): Describe
+ automatic hyphenation mode in plain English.
+
2024-10-29 G. Branden Robinson <g.branden.robinson@gmail.com>
* src/roff/troff/env.cpp (select_hyphenation_language)
diff --git a/src/roff/troff/env.cpp b/src/roff/troff/env.cpp
index 7858f081b..5cb41e157 100644
--- a/src/roff/troff/env.cpp
+++ b/src/roff/troff/env.cpp
@@ -3603,15 +3603,15 @@ void environment::print_env()
}
string hf = hyphenation_mode ? "on" : "off";
if (hyphenation_mode & HYPHEN_NOT_LAST_LINE)
- hf += ", not last line";
+ hf += ", not on line before vertical position trap";
if (hyphenation_mode & HYPHEN_LAST_CHAR)
- hf += ", last char";
+ hf += ", allowed before last character";
if (hyphenation_mode & HYPHEN_NOT_LAST_CHARS)
- hf += ", not last two chars";
+ hf += ", not allowed within last two characters";
if (hyphenation_mode & HYPHEN_FIRST_CHAR)
- hf += ", first char";
+ hf += ", allowed after first character";
if (hyphenation_mode & HYPHEN_NOT_FIRST_CHARS)
- hf += ", not first two chars";
+ hf += ", not allowed within first two characters";
hf += '\0';
errprint(" hyphenation mode: %1 (%2)\n", hyphenation_mode,
hf.contents());
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 11/17: [troff]: Tweak `pev` output re: hyphenation mode.,
G. Branden Robinson <=