Thanks a lot, Alexey!

Your reply was the most informative. I found that similar errors are issued
for many OTF fonts which contain Cyrillic glyphs. Hence, most radical
solution would be for the polyglossia to issue a warning rather that an
error as suggested in
http://www.tug.org/pipermail/xetex/2009-March/012365.html

I guess that I could correct the problem by editing the polyglossia myself
but I don't want to do that since the polyglossia is often modified by its
developers.

I experimented with \newfontfamily trying to define the \cyrillicfont
command as you proposed but did not succeed. Can anybody help me?


Regards,
Igor



From: Alexey Kryukov <anagn...@yandex.ru>
To: Unicode-based TeX for Mac OS X and other platforms <xetex@tug.org>
Date: Sun, 6 Feb 2011 15:34:57 +0300
Subject: Re: [XeTeX] polyglossia + russian + texttt + Courier New error
On Sun, 6 Feb 2011 13:30:01 +0600
Igor Kotelnikov wrote:

> ! Package polyglossia Error:
> The current roman font does not contain the Cyrillic script!
> Please define \cyrillicfont with \newfontfamily.

This problem has been discussed once: see for example
http://www.tug.org/pipermail/xetex/2009-March/012365.html

If I understand correctly, the workaround is to explicitly
define \newfontfamily\cyrillicfont{Courier New} .

--
Regards,
Alexey Kryukov <anagnost at yandex dot ru>

--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex

Reply via email to