From 218228536ed709be8ab2dde4a00dc27249ceed8a Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Sun, 16 Apr 2017 13:20:40 +0200 Subject: 2017-04-16 12:47:00 --- tex/context/base/mkiv/lang-ini.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tex/context/base/mkiv/lang-ini.lua') 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 -- -- cgit v1.2.3