Thanks for the report. It seems that lualibs-gzip.lua is renamed to lualibs-util-zip.lua in latest lualibs (v2.75, 2022-10-05). I'll check today.
- index 41caef5..4a95616 100644
- --- a/src/ltj-base.lua
- +++ b/src/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
I uploaded the new version (20221006.0) to CTAN.
Simply loading the package would stop the document from compiling:
One gets lots of error messages, start with:
Custom whatsit ja_al_boundary = 6...texlive/2022/texmf-dist/tex/luatex/luatexja/ltj-base.lua:231: module 'lualibs-gzip' not found: no field package.preload['lualibs-gzip'] [kpse lua searcher] file not found: 'lualibs-gzip' stack traceback: [C]: in function 'require' ...texlive/2022/texmf-dist/tex/luatex/luatexja/ltj-base.lua:231: in main chunk [C]: in function 'require' ...texlive/2022/texmf-dist/tex/luatex/luatexja/luatexja.lua:12: in local 'load_module' ...texlive/2022/texmf-dist/tex/luatex/luatexja/luatexja.lua:101: in main chunk [C]: in function 'dofile' [\directlua]:1: in main chunk. l.178 } The lua interpreter ran into a problem, so the remainder of this lua chunk will be ignored. (/usr/local/texlive/2022/texmf-dist/tex/luatex/luatexja/ltj-base.sty Package: ltj-base 2021-03-16 \ltj@tempcntb=\count198 \ltj@tempcntc=\count199 \ltj@afbox=\box51 ) \ltj@@italic@inner=\luafunction26 \ltj@@start@time@measure@inner=\luafunction27 \ltj@@stop@time@measure@inner=\luafunction28 [\directlua]:1: attempt to index a nil value (field 'jfont') stack traceback: [\directlua]:1: in main chunk. l.215 } The lua interpreter ran into a problem, so the remainder of this lua chunk will be ignored. \ltj@@jfont@inner=\luafunction29 [\directlua]:1: attempt to index a nil value (field 'jfont') stack traceback: [\directlua]:1: in main chunk. l.233 } The lua interpreter ran into a problem, so the remainder of this lua chunk will be ignored. \ltj@zw@inner=\luafunction30 \ltj@zh@inner=\luafunction31 \ltj@reset@globaldefs@inner=\luafunction32 \ltj@restore@globaldefs@inner=\luafunction33 \ltj@@disihb@inner=\luafunction34 \ltj@@ihb@inner=\luafunction35 \ltj@@fakeparbegin@inner=\luafunction36 \ltj@@fakeboxbdd@inner=\luafunction37 \ltj@@ins@xk@inner=\luafunction38 \ltj@@ins@k@inner=\luafunction39 [\directlua]:1: attempt to index a nil value (local 'ltjj') stack traceback: [\directlua]:1: in main chunk. l.276 } The lua interpreter ran into a problem, so the remainder of this lua chunk will be ignored. [\directlua]:1: attempt to index a nil value (field 'stack') stack traceback: [\directlua]:1: in main chunk. l.311 } % The lua interpreter ran into a problem, so the remainder of this lua chunk will be ignored. [\directlua]:1: attempt to index a nil value (field 'stack') stack traceback: [\directlua]:1: in main chunk. l.316 } % The lua interpreter ran into a problem, so the remainder of this lua chunk will be ignored. \ltjsetkanjiskip@inner=\luafunction40 \ltjsetxkanjiskip@inner=\luafunction41 [\directlua]:1: attempt to index a nil value (field 'stack') stack traceback: [\directlua]:1: in main chunk. l.412 } The lua interpreter ran into a problem, so the remainder of this lua chunk will be ignored. \ltj@@getparam@one@inner=\luafunction42 \ltj@alljachar@inner=\luafunction43 [\directlua]:1: attempt to index a nil value (field 'direction') stack traceback: [\directlua]:1: in main chunk. \yoko ....direction.set_list_direction(4, 'yoko')} l.597 \yoko The lua interpreter ran into a problem, so the remainder of this lua chunk will be ignored. \ltj@@lua@populate@insertwhatsit@inner=\luafunction44 [\directlua]:1: attempt to index a nil value (field 'direction') stack traceback: [\directlua]:1: in main chunk. l.606 } The lua interpreter ran into a problem, so the remainder of this lua chunk will be ignored. \ltj@@vadjust@begin@inner=\luafunction45 \ltj@@vadjust@dirhook@inner=\luafunction46 \ltj@@vadjust@check@dir@inner=\luafunction47 [\directlua]:1: attempt to index a nil value (field 'direction') stack traceback: [\directlua]:1: in main chunk. l.625 } The lua interpreter ran into a problem, so the remainder of this lua chunk will be ignored. [\directlua]:1: attempt to index a nil value (field 'stack') stack traceback: [\directlua]:1: in main chunk. l.640 } $% The lua interpreter ran into a problem, so the remainder of this lua chunk will be ignored. \ltj@@box@dirhook@inner=\luafunction48 \ltj@@reset@badness@inner=\luafunction49 \ltj@@lua@raisebox@inner=\luafunction50 [\directlua]:1: attempt to index a nil value (field 'direction') stack traceback: [\directlua]:1: in main chunk. l.678 } The lua interpreter ran into a problem, so the remainder of this lua chunk will be ignored. \ltj@@lua@unboxcheckdir@inner=\luafunction51 [\directlua]:1: attempt to index a nil value (field 'direction') stack traceback: [\directlua]:1: in main chunk. l.721 } The lua interpreter ran into a problem, so the remainder of this lua chunk will be ignored. [\directlua]:1: attempt to call a nil value (field 'load_kinsoku') stack traceback: [\directlua]:1: in main chunk. l.766 \directlua{luatexja.load_kinsoku()} The lua interpreter ran into a problem, so the remainder of this lua chunk will be ignored. (/usr/local/texlive/2022/texmf-dist/tex/luatex/luatexja/ltj-latex.sty Package: ltj-latex 2021-10-24 LaTeX support of LuaTeX-ja [\directlua]:1: attempt to index a nil value (field 'direction') stack traceback: [\directlua]:1: in main chunk. l.52 } The lua interpreter ran into a problem, so the remainder of this lua chunk will be ignored.