Thanks for your answer! I understand your point of view. However, sometimes, it is unavoidable the use of ERTs containing relevant text. For instance, I am writing a document in which I use the package enumerate. To use that package, it seems that it is really necessary (up to my best knowledge) to use an ERT. Therefore, I would like to submit to the consideration of LyX team the suggestion of adding a combo (that the user could tick or not) in order to be possible (to each user) the choice between spell-checking ERTs and not spell-checking ERTs. In case my suggestion is too difficult of implementing, please ignore it.

It is perhaps a surprising feature of LyX's ERT boxes that they don't have to be individually syntactically well-formed LaTeX expressions. Thus, you could have in one ERT box "\emph{" followed by some text (not in ERT -- just ordinary text), followed by a second ERT box containing "}". In this way, only the LaTeX bits need to be in ERT, and the text can be out of it. Wouldn't that satisfy your need for spellchecking?

Thanks, Bennett! Unfortunately, LyX does need


\begin{enumerate}{{A}1.}
\item First item;
\item Second item.
\end{enumerate}

inside the same ERT.

Paul




Reply via email to