luatexja 20220807 interferes with vertical alignment of text
\documentclass{article} \usepackage{luatexja} \begin{document} \leavevmode \llap{\thepage} \begin{minipage}[t]{.833\textwidth} Test \end{minipage} \hfill \begin{minipage}[t]{.833\textwidth} \hfill Test \end{minipage} \rlap{\thepage} \end{document}
The number "1" and the text "Test" should be vertically aligned, but with the version 20220807 of luatexja they are mis-aligned.
See also https://tex.stackexchange.com/questions/653486/newest-version-of-luatexja-interferes-with-vertical-alignment-of-text.
Sorry, the line 337 of ltj-direction.lua
if #wh==1 then wh[1]=nil else wh[#wh], wh[1]=nil, wh[#wh] end
There are some solutions:
-- 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
I just uploaded the fixed version (20220801.0) to CTAN.
The number "1" and the text "Test" should be vertically aligned, but with the version 20220807 of luatexja they are mis-aligned.
See also https://tex.stackexchange.com/questions/653486/newest-version-of-luatexja-interferes-with-vertical-alignment-of-text.