User talk:Mickep

From Wiki
Revision as of 21:18, 31 January 2005 by Mickep (talk | contribs) (Cyrillic Fonts and UTF)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Cyrillic fonts and UTF

It is now possible (from ConTeXt version 2005-01-27 or 2005-01-31) to type cyrillic letters directly in your .tex file using UTF-8 encoding. I have only tested this on TeXLive 2004, but I guess it would work on any distribution as long as you have the cm-super fonts installed (On TeXLive you had to generate the tfm files needed using the afm2tfm application). Here is a minimal(?) working file.

\enableregime[utf]
\useencoding[cyr]

\definetypeface [russian]
  [rm] [serif] [computer-modern] [default] [encoding=t2a]

\setupbodyfont[russian]
\starttext
Мама и Папа % Some russian characters
\stoptext