diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2015-12-17 16:15:07 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2015-12-17 16:15:07 +0100 |
commit | d1faffcd5d92925a6c5e66ebb72b4c8dcfae236f (patch) | |
tree | c1663d54da8573c0541015e5a307a28e22215a8b /tex/context/base/lang-hyp.lua | |
parent | adc43c3c243ed95215af6fe02d71e393c178da23 (diff) | |
download | context-d1faffcd5d92925a6c5e66ebb72b4c8dcfae236f.tar.gz |
2015-12-17 15:59:00
Diffstat (limited to 'tex/context/base/lang-hyp.lua')
-rw-r--r-- | tex/context/base/lang-hyp.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tex/context/base/lang-hyp.lua b/tex/context/base/lang-hyp.lua index 49976515d..d1260b8b4 100644 --- a/tex/context/base/lang-hyp.lua +++ b/tex/context/base/lang-hyp.lua @@ -328,9 +328,11 @@ local function hyphenate(dictionary,word,n) -- odd is okay end local l = 1 local w = { "." } + -- local d = dictionary.codehash or lcchars[c] for i=1,n do local c = word[i] l = l + 1 + -- w[l] = d[c] or c -- needs testing w[l] = lcchars[c] or c end l = l + 1 @@ -359,8 +361,8 @@ local function hyphenate(dictionary,word,n) -- odd is okay show_1(w) end -- - local specials = dictionary.specials - local patterns = dictionary.patterns + local specials = dictionary.specials + local patterns = dictionary.patterns -- -- inspect(specials) local spec @@ -648,8 +650,6 @@ if context then local preexhyphenchar = lang.preexhyphenchar local postexhyphenchar = lang.postexhyphenchar - local lccodes = characters.lccodes - local a_hyphenation = attributes.private("hyphenation") function traditional.loadpatterns(language) |