On Mon, Apr 10, 2023 at 10:43 AM Jürgen Spitzmüller <[email protected]> wrote:
>
> Am Montag, dem 10.04.2023 um 08:38 +0200 schrieb Jürgen Spitzmüller:
> > Am Montag, dem 10.04.2023 um 08:08 +0200 schrieb Jürgen Spitzmüller:
> > > Let's address this next. I'll push the patch meanwhile.
> >
> > I have integrated a modification of the former patch on top of the
> > other. Please test.
>
> Udi,
>
> It seems that with luabidi (luatex/polyglossia), the \LRE needs to be
> wrapped itself in a group. Otherwise text that follows the \LRE{} is
> lost.
>
> Can you confirm?
> A MWE to try is https://www.lyx.org/trac/attachment/ticket/3005/LRE.lyx
>
> Attached a patch that fixes the issue for me.
>
> (Probably a bug in luabidi, but this package is virtually unmaintained)
>

I think this is actually a bug in LuaTeX.
Attached a minimal file that produces similar
behaviour.

Note that if I comment the line
    \textdir TLT

in the attached file the output is ok, but \textdir is TLT by default,
so I find it strange.

> --
> lyx-devel mailing list
> [email protected]
> http://lists.lyx.org/mailman/listinfo/lyx-devel
%\the\textdir
\textdir TLT
ab{\textdir TRT ab}\textdir TLT ab

\bye
-- 
lyx-devel mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to