diff options
author | Mojca Miklavec <mojca.miklavec@gmail.com> | 2010-06-01 01:39:02 +0000 |
---|---|---|
committer | Mojca Miklavec <mojca.miklavec@gmail.com> | 2010-06-01 01:39:02 +0000 |
commit | 3a5cf8de164c5d0f1fdb01999af33d77f59d526f (patch) | |
tree | 1e1c013154793e9a74852ded1537869e3cfabbb0 /Master/texmf-dist/tex/luatex | |
parent | 3205d02db781aec158019161797c2a156ceb0b34 (diff) |
update of hyph-utf8: add the forgotten ru and uk extra patterns, remove OT1 support from Latin, updates in luatex sources and docs, removed collaboration files
git-svn-id: svn://tug.org/texlive/trunk@18661 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex')
-rw-r--r-- | Master/texmf-dist/tex/luatex/hyph-utf8/luatex-hyphen.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/luatex/hyph-utf8/luatex-hyphen.lua b/Master/texmf-dist/tex/luatex/hyph-utf8/luatex-hyphen.lua index fd68da74710..6f7e1059dc0 100644 --- a/Master/texmf-dist/tex/luatex/hyph-utf8/luatex-hyphen.lua +++ b/Master/texmf-dist/tex/luatex/hyph-utf8/luatex-hyphen.lua @@ -49,10 +49,7 @@ function loadlanguage(lname, id) err("no entry in %s for this language: %s", dbname, lname) end if ldata.special then - if ldata.special == 'null' then - wlog(msg, ' (null)', cname, id) - return - elseif ldata.special:find('^disabled:') then + if ldata.special:find('^disabled:') then err("language disabled by %s: %s (%s)", dbname, cname, ldata.special:gsub('^disabled:', '')) elseif ldata.special == 'language0' then @@ -62,7 +59,7 @@ function loadlanguage(lname, id) end end wlog(msg, '', cname, id) - for _, item in ipairs{'hyphenation', 'patterns'} do + for _, item in ipairs{'patterns', 'hyphenation'} do local file = ldata[item] if file ~= nil and file ~= '' then local file = kpse.find_file(file) or err("file not found: %s", file) @@ -70,6 +67,9 @@ function loadlanguage(lname, id) local data = fh:read('*a') or err("file not readable: %s", f) fh:close() lang[item](lang.new(id), data) + else + if item == 'hyphenation' then item = item..' exceptions' end + wlog("info: no %s for this language", item) end end end |