From caef1259af1c843232dfbf5efc65adcf83d67f6f Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Thu, 25 Mar 2021 14:12:41 +0100 Subject: 2021-03-25 14:03:00 --- scripts/context/lua/mtx-patterns.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts') diff --git a/scripts/context/lua/mtx-patterns.lua b/scripts/context/lua/mtx-patterns.lua index 36b60192d..c1178b2d0 100644 --- a/scripts/context/lua/mtx-patterns.lua +++ b/scripts/context/lua/mtx-patterns.lua @@ -150,6 +150,7 @@ scripts.patterns.list = { -- { "sa", "hyph-sa", "sanskrit" }, { "sk", "hyph-sk", "slovak" }, { "sl", "hyph-sl", "slovenian" }, + { "sq", "hyph-sq", "albanian" }, { "sr", "hyph-sr", "serbian", false, { "hyph-sr-cyrl", "hyph-sr-latn" }, }, -- { "sr", "hyph-sr-cyrl", "serbian", false }, -- { "sr", "hyph-sr-latn", "serbian" }, @@ -186,6 +187,7 @@ function scripts.patterns.load(path,name,mnemonic,ignored, merged) local splitpatternsold, splithyphenationsold = { }, { } local usedpatterncharactersnew, usedhyphenationcharactersnew = { }, { } if merged then + -- no version info report("using merged txt files %s.[hyp|pat|lic].txt",name) for i=1,#merged do local fullname = file.join(path,merged[i]) @@ -194,11 +196,13 @@ function scripts.patterns.load(path,name,mnemonic,ignored, merged) hyphenations = hyphenations .. (io.loaddata(addsuffix(fullname,"hyp.txt")) or "") .. "\n\n" end elseif lfs.isfile(patfile) then + -- no version info report("using txt files %s.[hyp|pat|lic].txt",name) comment = io.loaddata(licfile) or "" patterns = io.loaddata(patfile) or "" hyphenations = io.loaddata(hypfile) or "" elseif lfs.isfile(texfile) then + -- version info in comment blob report("using tex file %s.txt",name) local data = io.loaddata(texfile) or "" if data ~= "" then -- cgit v1.2.3