I am writing a document in the memoir document class, using LyX.
The document main language is Hebrew (minority of the document is in English), and I use polyglossia and XeTeX to handle the languages, so that my doc preamble is
\documentclass[oneside,a4paper,10pt,twoside]{memoir} \usepackage{polyglossia} \setdefaultlanguage{hebrew} \setotherlanguage{english} When I insert an English index entry into my document, instead of creating the tex command
\index{Dirac, Paul} LyX creates something else.
\index{Dirac, Paul@\textenglish[variant=american]{Dirac, Paul}} \textenglish[variant=american]{\index{Dirac, Paul}} (The blue understroke indicates foreign language)
Turns out that the more correct usage is the later, but the former is a bit more comfortable to use.
Can I change the former usage to be without this extra @ and stating the entry twice? A colleague of mine has told me that this behavior of LyX is not the same on his machine.

