30 May
2010
30 May
'10
10:50 a.m.
Am 30.05.10 01:33, schrieb Rogutės Sparnuotos:
Hello,
Could someone please confirm that it is ok to use \def like this:
\def\ru{\switchtobodyfont[cyr]\language[ru]} \starttext \item {\ru Эйхенбаум, Борис. {\it Теория «формального метода»}.} Some other text in the main language. \stoptext
This is MkII with XeTeX, cyr is defined as
\definetypeface[cyr][rm][Xserif][CMU Serif] \definetypeface[cyr][ss][Xsans][CMU Sans Serif] \definetypeface[cyr][tt][Xmono][CMU Typewriter Text]
because 'Latin Modern' lacks cyrillic glyphs and 'Computer Modern Unicode' lacks some Lithuanian glyphs (and looks slightly different).
In MkIV you can set falback fonts for cyrillic etc. Wolfgang