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

2024-06-16 Thread Arash Esbati
Udicoudco writes: > I don't really mind doing these changes, > it is really your call. Should I prepare > a new patch using \newcommand and > \ifnum\pagedirection=\@ne? Thanks for your response. I'd really appreciate if you would prepare a new patch adding the points above. TIA. Best, Arash

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

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

2024-06-12 Thread Arash Esbati
Udicoudco writes: > Oh, there was another typo. I did not test that the documentation > is typesetting properly, and there was a "\begn{macro}" instead > of `\begin{macro}`. I also updated the checksum of preview.dtx. > Tested now with the various engines and things seems to be working > (but ple

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

2024-06-12 Thread Ikumi Keita
Hi Udicoudco, > Udicoudco writes: > Oh, there was another typo. I did not test that the documentation > is typesetting properly, and there was a "\begn{macro}" instead > of `\begin{macro}`. I also updated the checksum of preview.dtx. > Tested now with the various engines and things seems to b

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 > >> used instead of \hoffset to position th

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

2024-06-11 Thread Ikumi Keita
Hi Udicoudco, > Udicoudco writes: > 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. >> >> > T

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, so I attached a new on