OSDN Git Service

fix #45339
authorHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Tue, 9 Aug 2022 21:50:51 +0000 (06:50 +0900)
committerHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Tue, 9 Aug 2022 21:50:51 +0000 (06:50 +0900)
src/ltj-direction.lua
src/luatexja.sty

index 565190b..4a0ad3a 100644 (file)
@@ -334,7 +334,9 @@ do
          while x and getid(x)==id_glue and getsubtype(x)==3 do
             node_remove(hd,x); node_free(x); x = node_next(hd)
          end
-         if #wh==1 then wh[1]=nil else wh[#wh], wh[1]=nil, wh[#wh] end
+         --if gc~='vtop' then
+         --    if #wh==1 then wh[1]=nil else wh[#wh], wh[1]=nil, wh[#wh] end
+         --end
       end
       for i=1,#wh do
          hd = node_remove(hd, wh[i]); node_free(wh[i]); wh[i] = nil
index 5eab1c4..7353d8a 100644 (file)
@@ -27,7 +27,7 @@
 \newif\ifltj@disablejfam
 
 %%%% VERSION
-\def\LuaTeXjaversion{20220807.0}
+\def\LuaTeXjaversion{20220810.0}
 
 %% Check if LaTeX is used.
 \begingroup\expandafter\expandafter\expandafter\endgroup