diff options
Diffstat (limited to 'tex/context/base/mkiv/lang-ini.lua')
-rw-r--r-- | tex/context/base/mkiv/lang-ini.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/lang-ini.lua b/tex/context/base/mkiv/lang-ini.lua index 62786d9ab..6de951998 100644 --- a/tex/context/base/mkiv/lang-ini.lua +++ b/tex/context/base/mkiv/lang-ini.lua @@ -46,6 +46,7 @@ local postexhyphenchar = lang.postexhyphenchar -- global per language local sethjcode = lang.sethjcode local uccodes = characters.uccodes +local lccodes = characters.lccodes lang.exceptions = lang.hyphenation local new_langage = lang.new @@ -159,7 +160,7 @@ local function sethjcodes(instance,loaded,what,factor) -- local function setcode(l) local u = uccodes[l] - local s = 1 + local s = l if hjcounts then local c = hjcounts[l] if c then @@ -182,7 +183,7 @@ local function sethjcodes(instance,loaded,what,factor) h[l] = s if u ~= l and type(u) == "number" then sethjcode(instance,u,s) - h[u] = s + h[u] = lccodes[l] end end -- |