groff-commit
[Top][All Lists]
Advanced

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

[groff] 08/14: [tmac]: Fix trap-aware Spanish hyphenation mode.


From: G. Branden Robinson
Subject: [groff] 08/14: [tmac]: Fix trap-aware Spanish hyphenation mode.
Date: Thu, 31 Aug 2023 22:35:56 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit b31a5aa57d7af8b61aaff9cf131def59a01d494d
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Thu Aug 31 19:08:59 2023 -0500

    [tmac]: Fix trap-aware Spanish hyphenation mode.
    
    * tmac/es.tmac: Correct hyphenation mode used when suppressing
      hyphenation before traps.  A "base" mode of 1 should map to 2, not to
      6, as (possibly) copied-and-pasted from "fr.tmac".
---
 ChangeLog    | 6 ++++++
 tmac/es.tmac | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index a9852854c..009227794 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-08-31  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * tmac/es.tmac: Correct hyphenation mode used when suppressing
+       hyphenation before traps.  A "base" mode of 1 should map to 2,
+       not to 6, as (possibly) copied-and-pasted from "fr.tmac".
+
 2023-08-29  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        [tmac]: Improve robustness of mm translations.
diff --git a/tmac/es.tmac b/tmac/es.tmac
index 6d35b5b19..7d933d262 100644
--- a/tmac/es.tmac
+++ b/tmac/es.tmac
@@ -161,7 +161,7 @@
 .
 .\" Spanish hyphenation (\lefthyphenmin=2, \righthyphenmin=2)
 .nr \*[locale]*hyphenation-mode-base 1
-.nr \*[locale]*hyphenation-mode-trap 6
+.nr \*[locale]*hyphenation-mode-trap 2
 .
 .ie \n[locale*use-trap-hyphenation-mode] \
 .  hy \n[\*[locale]*hyphenation-mode-trap]



reply via email to

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