summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/luatex/luatexja/ltj-base.lua9
-rw-r--r--Master/texmf-dist/tex/luatex/luatexja/luatexja.sty2
2 files changed, 7 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltj-base.lua b/Master/texmf-dist/tex/luatex/luatexja/ltj-base.lua
index 41caef5b4c7..4a956167772 100644
--- a/Master/texmf-dist/tex/luatex/luatexja/ltj-base.lua
+++ b/Master/texmf-dist/tex/luatex/luatexja/ltj-base.lua
@@ -226,9 +226,12 @@ end
-- But sometimes we want to create only the precompiled cache,
-- when its 'text' version is already present in LuaTeX-ja distribution.
-require('lualibs-lpeg') -- string.split
-require('lualibs-os') -- os.type
-require('lualibs-gzip') -- gzip.*
+if not os.type then require'lualibs-os' end
+if not string.split then require'lualibs-lpeg' end
+if not gzip then
+ if kpse.find_file('lualibs-util-zip', 'lua') then require'lualibs-util-zip'
+ else require'lualibs-gzip' end
+end
do
local kpse_var_value = kpse.var_value
diff --git a/Master/texmf-dist/tex/luatex/luatexja/luatexja.sty b/Master/texmf-dist/tex/luatex/luatexja/luatexja.sty
index 0772c0fe3e3..79590b906c5 100644
--- a/Master/texmf-dist/tex/luatex/luatexja/luatexja.sty
+++ b/Master/texmf-dist/tex/luatex/luatexja/luatexja.sty
@@ -27,7 +27,7 @@
\newif\ifltj@disablejfam
%%%% VERSION
-\def\LuaTeXjaversion{20221002.0}
+\def\LuaTeXjaversion{20221006.0}
%% Check if LaTeX is used.
\begingroup\expandafter\expandafter\expandafter\endgroup