bug#71436: preview in LuaTeX with RTL as main language does not work

2024-06-08 Thread Udicoudco
In LuaTeX, when \pagedirection is right to left then \pagerightoffset is used instead of \hoffset to position the page. I attached a patch and an example that demonstrates the problem. Udi From dc2ed7ce0e0ac5f1c901d6874378d676f83f5c97 Mon Sep 17 00:00:00 2001 From: Udi-Fogiel Date: Sat, 8 Jun 202

bug#71436: Fwd: preview in LuaTeX with RTL as main language does not work

2024-06-08 Thread Udicoudco
On Sat, Jun 8, 2024 at 1:20 PM Udicoudco wrote: > In LuaTeX, when \pagedirection is right to left then \pagerightoffset is > used instead of \hoffset to position the page. I attached a patch and an > example > that demonstrates the problem. > > There is a typo in the patch, s

bug#71436: Fwd: preview in LuaTeX with RTL as main language does not work

2024-06-11 Thread Udicoudco
Hello Ikumi Keita, Thank you for the reply. On Tue, Jun 11, 2024 at 8:45 AM Ikumi Keita wrote: > >>>>> Udicoudco writes: > > On Sat, Jun 8, 2024 at 1:20 PM Udicoudco wrote: > >> In LuaTeX, when \pagedirection is right to left then \pagerightoffset is > >

bug#71436: Fwd: preview in LuaTeX with RTL as main language does not work

2024-06-12 Thread Udicoudco
On Wed, Jun 12, 2024 at 2:25 PM Arash Esbati wrote: > Thanks for the patch. I have some minor comments (and I'm not good at > writing TeX-code): > > > +\let\pr@set@pagerightoffset\@empty > > Why not defining the macro properly instead of \let-ing? > > \newcommand*\pr@set@pagerightoffset{} no rea