On Apr 22, 2004, at 12:29 PM, Paul Smith wrote:


Paul> I agree with you. However, according to the search that I did in
Paul> the archives of the list, ERTs are not spell-checked, what is
Paul> surprising. Of course that this LyX's limitation is not serious,
Paul> as one can always spell-check one's LyX document externally,
Paul> through aspell (for example) from the command line.
Not spellchecking ERT is intentional, since they are not supposed to
contain a lot of real words (ideally, they are not supposed to contain
words at all).

Jean-Marc,


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.

Regards,

Paul

Paul -


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?

Bennett



Reply via email to