Open piiskop opened 8 months ago
I'm not sure, but this seems to be an issue with babel:
The estonian patterns are computed with righthyphenmin = 3
https://github.com/hyphenation/tex-hyphen/blob/ecf976ab6995acb653d38ab1af0b9b9829ec0c77/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-et.tex#L49 but babel uses righthyphenmin = 2
https://github.com/latex3/babel/blob/b488d60c6b12eefc664077666b4e207f90b63889/locale/et/babel-et.ini#L152 .
If righthyphenmin was set to 3 (as requested by the patterns) the word would hyphenate to näi•dis•la•hen•dused
missing the last hyphenation opportunity but being correct.
@mnater The ‘hyphenmins’ in the hyphenation files doesn’t necessarily reflect the values set in patgen
to generate them. This is particularly true in rule-based patterns (ie, created without patgen
), like those for spanish
, which sets the hyphenmins to 2/2, the ‘typographical’ limit, as opposed to the ‘technical’ limit (which is 1/1). Please, also note the original babel
style and the patterns are the work of one person, so it’s doubtful there is a mistake here (btw, polyglossia
also sets 2/2).
I was looking for how to show the hyphenation locations and found a program:
The input:
The output:
The expected output:
Please follow the rule: