Skip to content

Commit a014353

Browse files
Omikhleiaalerque
authored andcommitted
fix(languages): Set proper hyphenation minima for Esperanto
SILE uses its own hyphenation patterns (different than those from TeX and assumed to be better) but was using (2, 3) as hyphenation minima, whereas the usual convention is (2, 2).
1 parent f440807 commit a014353

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

languages/eo/hyphens.lua

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
-- Verkita originale por Fredrick BRENNAN (copypaste@kittens.ph) 2022-jare
22
-- Original file by Fredrick R. Brennan (copypaste@kittens.ph) in 2022
33
return {
4+
hyphenmins = {
5+
-- Usual typesetting convention from TeX
6+
-- TeX use a different set of patterns, but we can assume that the hyphenation minima
7+
-- for typesetting should be the same.
8+
typesetting = { left = 2, right = 2 },
9+
},
410
patterns = {
511
-- La fonto de la ŝablonoj ĉisubaj estas Sergio Pokrovskij (@pok49)'s GitHub-projekto «vortdivido».
612
-- (The source of the patterns below is Sergio Pokrovskij (@pok49)'s «vortdivido» project on GitHub.)

0 commit comments

Comments
 (0)