On Fri, 6 Feb 2026 at 21:56, Udi Fogiel <[email protected]> wrote:
> The shipped box direction can be set explicitly, so we can get the warning
> even if bodydir and pagedir are the same:
>
> \showthe\pagedir\showthe\bodydir
> \shipout\vbox bdir 1 {Test}
> \bye
>
> This is LuaTeX, Version 1.22.0 (TeX Live 2025)
> restricted system commands enabled.
> (./test.tex
> > TLT.
> l.1 \showthe\pagedir
> \showthe\bodydir
> ?
> > TLT.
> l.1 \showthe\pagedir\showthe\bodydir
>
> ?
> [1
> warning (backend): pagedir differs from bodydir, the output may be placed
> wrongly on the page
>
> I attached a diff withe a possible improvement.
>
done.
TexLive repo:
------------------------------------------------------------------------
r77943 | lscarso | 2026-02-18 17:11:12 +0100 (mer, 18 feb 2026) | 1 line
LuaTeX: better warning when box_dir(p) != page_direction_par (thanks to Udi
Fogiel)
------------------------------------------------------------------------
LuaTex repo:
commit be905bae7a0e830c3f8b55d2d4ae73f3e87137d4
Author: Luigi Scarso <[email protected]>
Date: Wed Feb 18 17:08:48 2026 +0100
better warning when box_dir(p) != page_direction_par (thanks to Udi
Fogiel)
--
luigi
_______________________________________________
dev-luatex mailing list -- [email protected]
To unsubscribe send an email to [email protected]