[Top][All Lists]

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

[bug #52457] src: the first letter hyphenated in an English word

From: Bjarni Ingi Gislason
Subject: [bug #52457] src: the first letter hyphenated in an English word
Date: Wed, 22 Nov 2017 18:55:31 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #3, bug #52457 (project groff):

  Yes, I forgot again to provide evidence.
The malformed hyphenations are in the file

  The bug is thus in the file "tmac/troffrc".

>From b78a6bd47857935f09672f78d25362aa2c1d70b4 Mon Sep 17 00:00:00 2001
From: Bjarni Ingi Gislason <address@hidden>
Date: Wed, 22 Nov 2017 23:38:03 +0000
Subject: [PATCH] Use the correct value for the .hy request for each language

  The default value for the .hy request is 1.

  When a hyphenation language is selected, the same hyphenation restrictions
must be chosen that were used, when the hyphenation patterns were created.

  Additionally the number '2' (no last-line hyphenation on a page).

Signed-off-by: Bjarni Ingi Gislason <address@hidden>
 tmac/troffrc | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tmac/troffrc b/tmac/troffrc
index 6dca1dbd..8f8e1832 100644
--- a/tmac/troffrc
+++ b/tmac/troffrc
@@ -40,6 +40,12 @@ troffrc!X100 troffrc!X100-12 troffrc!lj4 troff!lbp
troffrc!html troffrc!pdf
 .\" Set the hyphenation language to 'us'.
 .do hla us
+  Put the request '.hy' before loading the patterns as that file could
+(should) in the future contain that information to insure the correct
+hyphenation of the words used to generate them.
+.do hy 14
 .\" Load hyphenation patterns and exceptions.
 .do hpf hyphen.us

  For the future it is best to include the correct number in each
hyphenation file.

  The documentations (info, man) about the default '.hy' value and the
default hyphenation language (.hla) need to be updated.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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