Den 26. sep. 2014 11:09, skrev Jürgen Spitzmüller:
Am Freitag 26 September 2014, 07:54:22 schrieb Sergey:
Hi,
In LyX version 2.1.1 it is not possible to write text in Cyrillic in ERT
boxes. The program prevents to write any character if the keyboard is
switched to Macedonian (Cyrillic letters).
In previous versions I used this possibility to enter figure captions.
However, old .lyx files with such text in ERT are correctly compiled.
Do you have any suggestions how to enable this?
It is intentional (but under discussion). See
http://www.lyx.org/trac/ticket/9258
I don't think LyX should prevent the user from writing any plain text
(including non-ascii) into ERT.
Having some text inside ERT is a very common case. I.e.
\markupcommand{some plain text}
For the non-english user, "plain text" may contain any
latin/greek/cyrillic/... character! Being limited to
latin1 (or even worse, ascii) will seem like a very random limit.
If it is hard to allow all characters that will work in ERT while also
disallowing all that won't work - please err on the side of allowing too
much. ERT is for "LaTeX specialists" - they can easily crash the compile
with \invalidcommand or mismatched braces anyway. If you use ERT, you
accept the responsibility and may have to debug your document.
But many users have latex set up for their own language, so using it in
ERT tends to work. Loosing access to non-latin text will disrupt
\mymarkup{text} which is a common case.
Helge Hafting