On Thu, 5 Mar 2026 at 14:52, Udi Fogiel <[email protected]> wrote:

> On Thursday, March 5th, 2026 at 3:10 PM, Udi Fogiel <[email protected]>
> wrote:
>
> > On Thursday, March 5th, 2026 at 2:44 PM, Udi Fogiel <
> [email protected]> wrote:
> > >
> > > I attached a fix.
> > >
> >
> > Note that if the paragraph is starting inside of a group
> > then the fix won't work, as no_local_dirs_par is set
> > locally
> >
> > ===============
> > run \linedirection=1 run \linedirection=0 run
> >
> > % the next paragraph is starting inside a group
> > {run} {\linedirection=1 run} run \linedirection=1 run \linedirection=0
> run Some more\hfill\break text
> >
> > \bye
> > ==================
> >
> > So the patch does not fix everything, but it certainly
> > improves the situation.
> >
>
> Another solution which works even in this case is to always
> inject dir nodes from the stack, even if the direction is the same as
> pardirection. See the attached diff.
>


Ok, I will check them later.

--
luigi
_______________________________________________
dev-luatex mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to