[NTG-context] bug in hyphenmin?
Pablo Rodriguez
oinos at gmx.es
Mon Dec 14 17:03:20 CET 2015
On 12/13/2015 08:17 PM, Pablo Rodriguez wrote:
> Dear list,
>
> I have the following sample:
>
> \setuplanguage[es][lefhyphenmin=1, righthyphenmin=1]
> \mainlanguage[es]
>
> \definehyphenationfeatures
> [givemefive]
> [hyphenmin=5]
>
> \setuphyphenation
> [method=traditional]
>
> \sethyphenationfeatures
> [strict, givemefive]
>
> \starttext
> \hyphenatedword{bueno buenos}
> \stoptext
>
> Although I set hyphenmin to 5, I don’t get "bueno" hyphenated?
Replying to myself, there is no bug in hyphenmin. The Spanish patterns
don’t add "bue-no" (I haven’t asked yet, but I guess this is to avoid
starting a line with a negative particle). I have to add an hyphenation
exception.
But there is an issue with hyphenmin shown in this sample:
\mainlanguage[es]
\definehyphenationfeatures
[givemefive]
[hyphenmin=4]
\setuphyphenation
[method=traditional]
\sethyphenationfeatures
[strict, givemefive]
\starttext
\hyphenatedword{buena}
\stoptext
hyphenmin requires a value of 4 to hyphenate a five-letter word (and 3
to hyphenate a four letter word).
Isn’t this a bug?
Many thanks for your help,
Pablo
--
http://www.ousia.tk
More information about the ntg-context
mailing list