15 Jul
2006
15 Jul
'06
8:13 p.m.
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.)