Am Sonntag, dem 20.02.2022 um 18:00 +0000 schrieb tush via lyx-users:
> Please consider the two lyx files attached.
> It is a MWE of a book that includes mainly Hebrew but also some
> English.
>
> The wrong thing here is that the last line is converted in LyX (via
> the Code Preview Pane) as
> \begin{english}
> Some text in English. This should be left aligned.
> \end{english}
>
> but when exporting `main.lyx` to tex (via XeTeX), this English
> sentence is formatted as
>
> \textenglish[variant=american]{Some text in English. This should
> be left aligned.}
>
> which causes the line to be right aligned.
>
> Why is it? This is a bug in LyX. I have just fixed it. > How to keep the English line of text to be inside an English > environment? Workaround is to write \setLTR in TeX mode at the beginning of the English paragraph, having the TeX mode inset itself in Hebrew. See attached. Jürgen
ch01.lyx
Description: application/lyx
signature.asc
Description: This is a digitally signed message part
-- lyx-users mailing list [email protected] http://lists.lyx.org/mailman/listinfo/lyx-users
