![](https://secure.gravatar.com/avatar/a5d42c1ccacf33c72fd502fe1bb5ffa9.jpg?s=120&d=mm&r=g)
Vit Zyka said this at Thu, 20 Jan 2005 16:06:55 +0100:
please, I have UTF-8 XML file and I want to typeset with IL2 (czech) font. What I have to do?
Thank you Vit Zyka
P.S. I tried: \useregime[utf] \defineXMLenvironment[doc] \starttext \stoptext \processXMLfile{manaana.xml}
It depends on how your il2 font is defined locally (like in terms of the typescript), but it should work with something like: \useregime[utf] \usetypescript [all] [latin-modern] [il2] \setupbodyfont[reset] \setupbodyfont[cmr] \defineXMLenvironment...(etc.)
But I guess the Unicode -> IL2 mapping is missing.
There's a Unicode -> ConTeXt named glyph mapping (unic-*), and a ConTeXt named glyph -> ISO Latin 2 mapping (enco-il2), so it *should* work! -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-