[OS X TeX] bug with the cyrillic fonts

V.Yu. Shavrukov v.yu.shavrukov at gmail.com
Tue Sep 23 23:34:35 CEST 2014


dear Juan,


On Sep 23, 2014, at 02:13, juan tolosa <juantolo at me.com> wrote:
> I am experiencing a strange bug with the cyrillic fonts.
> 
> When one types “ts” using, say, the “normal” Roman Cyrillic, the Russian letter “ц” is inserted. If one needs “t” plus “s,” the standard trick is to use, say, {t}s, or t{s}, or even {t}{s}. Now, this is not always working.
> 
> I attach a sample file highlighting the problem. I even tried separating the “t” from the “s” using different {\cyr …} declarations, but even so, it doesn’t work. I still see the stubborn “ц” instead of “t” plus “s.”
> 
> The funny thing, though, is that I add an extra space, say, for the second “ts” occurrence, then the first one is fixed (the second one is also fixed, but now I have an unwanted extra space between the letters). I added “compare with” to show this phenomenon.
> 
> The second funny thing is, if I remove the first (very short) paragraph (“Dear Student” and leave the rest as is, then the bug disappears, and I do see the “t” plus the “s” instead of the “ц.”
> 
> Can anyone explain why this is so, and how to solve the problem?

I can reproduce but cannot explain this behaviour.  The way that cyracc.def was supposed to handle these situations is 

{\cyr ... kazhet\cydot sya ...} % \cydot is the ligature breaker

This still works for me in my setup.

BTW, you probably know that the cyracc.def approach is kinda outdated.  If you use T2A (or similar, depending on the particular language you use cyrillic for) font encoding and, say, UTF8 input encoding, you can pretty much type in your cyrillic text into your source file as is.  If T2A by itself is insufficient for your purposes (it leaves you with a bare bones Latin alphabet), you can define a separate T2A \cyr-family.

Incidentally, in your text `что касается упражнение...' should be `что касается упражнения...' — accusative case (винительный падеж) should be used.


cheers,
Volodya Shavrukov


More information about the macostex-archives mailing list