Hi everybody, I have an almost finished report inside which I need to typeset some russian words. I am using ConTeXt Standalone current (2011.05.18 18:04 MKII). Reading the wiki, it seems that there are no more fonts with cyrillic glyphs in this distribution. So I switched to XeTeX in order to use my system fonts. Unfortunately I stumbled into a problem when combining my fr settings with a font switching command. Here is a minimal example. \mainlanguage[fr] \useencoding[ffr] \definefontsynonym[CyrF][name:Lucida Grande] \definefont[Russian][CyrF sa 1] \starttext Quelques caractères cyrilliques {\Russian Мама и Папа} et on continue tranquillement. \stoptext If I delete either line \mainlanguage[fr] or \useencoding[ffr] everything works fine (for the font switching, but obviously not for the other part of my report :-). Below is the output when I try to compile the above example with "texexec --xtx". Could someone tell me if I am doing something wrong. Thanks. TeXExec | processing document 'fr-ffr-cyr' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file fr-ffr-cyr.top TeXExec | using randomseed 1093 TeXExec | tex engine: xetex TeXExec | tex format: cont-en.mkii This is XeTeX, Version 3.1415926-2.2-0.999.7 (Web2C 7.5.6) \write18 enabled. entering extended mode (./fr-ffr-cyr.tex ConTeXt ver: 2011.05.18 18:04 MKII fmt: 2011.7.31 int: english/english system : cont-new.mkii loaded (/Users/jprey/ConTeXt-2011.05.18/tex/texmf-context/tex/context/base/cont-new.mk ii systems : beware: some patches loaded from cont-new.mkii ) system : cont-sys.rme loaded (/Users/jprey/ConTeXt-2011.05.18/tex/texmf-context/tex/context/user/cont-sys.rm e (/Users/jprey/ConTeXt-2011.05.18/tex/texmf-context/tex/context/base/type-siz.mk ii) (/Users/jprey/ConTeXt-2011.05.18/tex/texmf-context/tex/context/base/type-otf.mk ii) (/Users/jprey/ConTeXt-2011.05.18/tex/texmf-context/tex/context/base/type-xtx.mk ii)) system : fr-ffr-cyr.top loaded (./fr-ffr-cyr.top) bodyfont : 12pt rm is loaded language : patterns nl->default:default->1->2:2 us->default:default->2-> 2:3 de->default:default->3->3:3 da->default:default->4->2:2 sv->default:default ->5->2:2 af->default:default->6->2:2 gb->default:default->7->2:2 fr->default:de fault->8->2:2 es->default:default->9->2:2 ca->default:default->10->2:2 it->defa ult:default->11->2:2 la->default:default->12->2:2 pt->default:default->13->2:2 ro->default:default->14->2:2 pl->default:default->15->2:2 cs->default:default-> 16->2:2 sk->default:default->17->2:2 hr->default:default->18->2:2 sl->default:d efault->19->2:2 tr->default:default->20->2:2 tk->default:default->21->1:2 lt->d efault:default->22->2:2 agr->default:default->24->2:2 fi->default:default->25-> 2:2 hu->default:default->26->2:2 ru->default:default->28->2:2 uk->default:defau lt->29->3:3 loaded specials : dvips loaded language : language en is active specials : loading definition file dpx (/Users/jprey/ConTeXt-2011.05.18/tex/texmf-context/tex/context/base/spec-dpx.mk ii specials : loading definition file fdf (/Users/jprey/ConTeXt-2011.05.18/tex/texmf-context/tex/context/base/spec-fdf.mk ii)) specials : loading definition file xet (/Users/jprey/ConTeXt-2011.05.18/tex/texmf-context/tex/context/base/spec-xet.mk ii) encoding : coding ffr is loaded (/Users/jprey/ConTeXt-2011.05.18/tex/texmf-context/tex/context/base/enco-ffr.mk ii system : module tryout not found language : language specific options [default-fr] seamless appended language : language specific options [default-fr] seamless appended ) (./fr-ffr-cyr.tuo) (./fr-ffr-cyr.tuo) (./fr-ffr-cyr.tuo) (./fr-ffr-cyr.tuo) (./fr-ffr-cyr.tuo) (./fr-ffr-cyr.tuo) (./fr-ffr-cyr.tuo) (./fr-ffr-cyr.tuo) (./fr-ffr-cyr.tuo) (./fr-ffr-cyr.tuo) (./fr-ffr-cyr.tuo) publications : file fr-ffr-cyr.bbl not found, waiting for bibtex (./fr-ffr-cyr.tuo) systems : begin file fr-ffr-cyr at line 7 ! Missing \endcsname inserted. <to be read again> \edef \dodirectdiscretionary #1->\edef \discretionarytoken {\detokenize {#1}}\let ... <argument> ...text {:}{\dodirectdiscretionary {:}} Lucida Grande \dotruefontname ...->\ifcsname \??ff \fontclass #1 \endcsname \ifx #2\empty \... \dotruefontname ... \??ff \fontclass #1\endcsname \else \@EA \redotruefontna... \donoparsefontspec ...\truefontname \somefontname }\ifx \fontfile \s!unknown... ... l.9 {\Russian Мама и Папа} et on ? x No pages of output. Transcript written on fr-ffr-cyr.log. TeXUtil | parsing file fr-ffr-cyr.tui TeXUtil | check loading of file 'fr-ffr-cyr', begin/end problem TeXUtil | shortcuts : 0 TeXUtil | expansions: 0 TeXUtil | reductions: 0 TeXUtil | divisions : 0 TeXUtil | loaded files: 1 TeXUtil | temporary files: 0 TeXUtil | commands: 2 TeXUtil | programs: 0 TeXUtil | tuo file saved -- Jean-Philippe Rey Professeur - École Centrale Paris jean-philippe.rey@ecp.fr 92295 Châtenay-Malabry Cedex - France