# English environment is changed to textenglish

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? How to keep the English line of text to be inside an English
environment?

<<attachment: hebrew_and_english.zip>>

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users