[NTG-context] Russia (cyrillic letters)
mickep at gmail.com
Mon Jan 31 21:21:22 CET 2005
On Sun, 30 Jan 2005 22:55:51 +0100, h h extern <pragma at wxs.nl> wrote:
> Mikael Persson wrote:
> > Hm, I am entering utf8 code. I am not sure how it got converted in the
> > email, however, when I type my .tex file I am sure that it is in
> > utf-8. But you mean that this example should work?
> > I attatch the testfile and the resulting pdf and logs and so on...
> tracing shows that the utf part is okay:
> % \definetypeface [russian]
> % [rm] [serif] [computer-modern] [default] [encoding=t2a]
> % \setupbodyfont[russian]
> ÐœÐ°Ð¼Ð° Ð¸ ÐŸÐ°Ð¿Ð° % Some russian characters
> \chardef\utfunicodetracer=0 \blank \getbuffer \blank
> \chardef\utfunicodetracer=2 \blank \getbuffer \blank
> \chardef\utfunicodetracer=7 \blank \getbuffer \blank
> but i cannot test the font part, can you send me a zip with your t2a tfm files
> and map file and enc file?
Just for information (mostly to the ones reading this email list from
archives). It now works using utf input and get. A minimal file:
% start of test file %
[rm] [serif] [computer-modern] [default] [encoding=t2a]
Мама и Папа % Some russian characters
% stop of test file %
For this to work, you have to generate the tfm-files if you do not
already have them (which can be done with the afm2tfm util).
Thanks Hans and Adam for the fast replies to get this working :)
More information about the ntg-context