summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-10-06 20:01:51 +0000
committerKarl Berry <karl@freefriends.org>2022-10-06 20:01:51 +0000
commit9dccac2d68d15a2fb64954074ad173bcd55b5859 (patch)
tree5b47b8e80392d3e23d965045c1426da4e23f7761 /Master/texmf-dist/tex/luatex
parent7ff5adc45baa43bec1c8b45ea8fd61d682e40cd9 (diff)
luatexja (6oct22)
git-svn-id: svn://tug.org/texlive/trunk@64641 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex')
-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