On Wed, Mar 13, 2013 at 01:59:43AM +0100, Uwe Stöhr wrote: > Attached is a patch that fixes bug 8590 > http://www.lyx.org/trac/ticket/8590 > > Currently Cyrillic Serbian documents are uncompilable which is a regression > to LyX 2.0.5.
Not at all, given that lyx 2.0.5 is not able to compile those files, too. > This bug was uncovered by commit 25e4bf4b2 by Enrico which correctly > loads the T2A font encoding. The problem is that Cyrillic Serbian > (and only that language) requires "T2A" as last option for fontenc. Commit 25e4bf4b2 has nothing to do with this problem. > I tested the patch with many language combinations and it works so > far. But I would like to hear from anybody who is familiar with > Cyrillic or Greek and/or the font encoding business. Jürgen Milde, > Enrico? I don't think the patch is correct. For example, changing the document language to Bielorusian, or Kazakh, or Mongolian, the documents are still uncompilable. You will notice that in all these cases the \textcyr macro is not used. This means that lyx thinks that the characters are representable in the given text encoding, but does not take into account that, using those languages, also the font encoding is to be properly matched. So, this is a more general problem, not addressed by your patch. -- Enrico