[NTG-context] switching font encodings

Mojca Miklavec mojca.miklavec.lists at gmail.com
Sat Jul 15 20:13:22 CEST 2006


Hello,

I have to print plenty of utf-8-encoded entries from a database. I
will probably output entries as
    \contestant{name}{country}{code},
for example
    \contestant{Đức Đặng}{VNM}{1}

I have defined
    \def\contestant#1#2#3{...#1...}

But what's the easiest way to change the encoding to t5 if the country
code is VNM and to some other encoding if country code is RUS, SER (or
one of other countries using Cyrillic)?
I'll probably use

\usetypescript[antykwa-torunska][ec] % for most of entries
\setupbodyfont[antykwa]

I wanted to use XeTeX, but that I figured out/remembered that XeTeX
doesn't yet support inclusion of images which I need for this
document.

Thanks a lot,
    Mojca

(I need this pretty soon.)


More information about the ntg-context mailing list