Changes

Jump to navigation Jump to search
674 bytes added ,  21:18, 31 January 2005
m
Cyrillic Fonts and UTF
== 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 <tt> afm2tfm </tt> application). Here is a minimal(?) working file.

<texcode>
\enableregime[utf]
\useencoding[cyr]

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

\setupbodyfont[russian]
\starttext
Мама и Папа % Some russian characters
\stoptext
</texcode>
23

edits

Navigation menu