groff-commit
[Top][All Lists]
Advanced

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

[groff] 04/04: tmac/sv.tmac: Set hyphenation flags to 48.


From: G. Branden Robinson
Subject: [groff] 04/04: tmac/sv.tmac: Set hyphenation flags to 48.
Date: Tue, 20 Nov 2018 21:49:30 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit a4158bd0ed730bdea36996aa4f06221c09b2ec6a
Author: G. Branden Robinson <address@hidden>
Date:   Tue Nov 20 20:59:14 2018 -0500

    tmac/sv.tmac: Set hyphenation flags to 48.
    
    Per _Swedish: A Comprehensive Grammar_, Third Edition, by Philip Holmes
    and Ian Hinchliffe, Routledge 2013, section 12.4.1.1 (page 674):
    
    "Compound words may be divided into their separate elements...Prefixes
    and suffixes may be treated the same way:
    
        an‐befall‐a     juster‐bar      o‐vän‐lig"
    
    Note the first and last examples.
    
    I therefore conclude that the correct hyphenation flags for Swedish are
    either 48 or 50.  Going with 48 as a closer parallel to the English
    default of 1 (permitting hyphenation of words at the end of a column or
    page).
    
    I asked on the mailing list but didn't get much response:
    
    https://lists.gnu.org/archive/html/groff/2018-06/msg00036.html
    
    doc/groff.texi: Update table for new right-hyphenation minimum for
    Swedish.
    
    Fixes <https://savannah.gnu.org/bugs/index.php?55066>.
    
    Signed-off-by: G. Branden Robinson <address@hidden>
---
 ChangeLog      | 25 +++++++++++++++++++++++++
 doc/groff.texi |  2 +-
 tmac/sv.tmac   |  4 ++--
 3 files changed, 28 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b88d6ba..a3527a7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,28 @@
+2018-11-20  G. Branden Robinson <address@hidden>
+
+       * tmac/sv.tmac: Set hyphenation flags to 48.
+
+       Per _Swedish: A Comprehensive Grammar_, Third Edition, by Philip
+       Holmes and Ian Hinchliffe, Routledge 2013, section 12.4.1.1
+       {page 674}:
+
+       "Compound words may be divided into their separate
+       elements...Prefixes and suffixes may be treated the same way:
+
+               an‐befall‐a     juster‐bar      o‐vän‐lig"
+
+       Note the first and last examples.
+
+       I therefore conclude that the correct hyphenation flags for
+       Swedish are either 48 or 50.  Going with 48 as a closer parallel
+       to the English default of 1 (permitting hyphenation of words at
+       the end of a column or page).
+
+       * doc/groff.texi: Update table for new right-hyphenation minimum
+       for Swedish.
+
+       Fixes <https://savannah.gnu.org/bugs/index.php?55066>.
+
 2018-11-19  Bertrand Garrigues <address@hidden>
 
        Fix build on environment where /etc/papersize contains comments
diff --git a/doc/groff.texi b/doc/groff.texi
index 5e56536..b00e8b9 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -7098,7 +7098,7 @@ information on groff's language macro files.
 @item        French             @tab fr           @tab 2        @tab 3
 @item        German traditional @tab det          @tab 2        @tab 2
 @item        German reformed    @tab den          @tab 2        @tab 2
address@hidden        Swedish            @tab sv           @tab 1        @tab 2
address@hidden        Swedish            @tab sv           @tab 1        @tab 1
 @end multitable
 
 Hyphenation exceptions within pattern files (i.e., the words within a
diff --git a/tmac/sv.tmac b/tmac/sv.tmac
index b5323fb..75c1302 100644
--- a/tmac/sv.tmac
+++ b/tmac/sv.tmac
@@ -126,9 +126,9 @@
 .mso latin1.tmac
 .
 .
-.\" Swedish hyphenation (\lefthyphenmin=1, \righthyphenmin=2)
+.\" Swedish hyphenation (\lefthyphenmin=1, \righthyphenmin=1)
 .ss 12 0
-.hy 33
+.hy 48
 .hcode � �  � �
 .hcode � �  � �
 .hcode � �  � �



reply via email to

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