Difference between revisions of "User talk:Mickep"

From Wiki
Jump to navigation Jump to search
m (Cyrillic Fonts and UTF)
(No difference)

Revision as of 21:18, 31 January 2005

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