Difference between revisions of "Russian"
Jump to navigation
Jump to search
(Removed old MkII instructions and copied example from mailing list) |
|||
(10 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
< [[Fonts]] | [[Encodings and Regimes]] > | < [[Fonts]] | [[Encodings and Regimes]] > | ||
− | + | To use Russian in ConTeXt MkIV, you need a font that has cyrillic letters, e.g. the DejaVu fonts which are shipped with the [[ConTeXt Standalone]]. | |
− | + | <context source="yes" mode="mkiv"> | |
+ | \setupbodyfont[dejavu] | ||
− | + | \mainlanguage[russian] | |
− | \ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
\starttext | \starttext | ||
− | + | Немного русского текста для пробы. | |
\stoptext | \stoptext | ||
− | </ | + | </context> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | For more details on how to change fonts in ConTeXt, see [[Fonts in LuaTeX]] | |
− | |||
− | |||
− | |||
[[Category:Fonts]] | [[Category:Fonts]] | ||
[[Category:International]] | [[Category:International]] |
Revision as of 18:15, 10 December 2013
< Fonts | Encodings and Regimes >
To use Russian in ConTeXt MkIV, you need a font that has cyrillic letters, e.g. the DejaVu fonts which are shipped with the ConTeXt Standalone.
\setupbodyfont[dejavu] \mainlanguage[russian] \starttext Немного русского текста для пробы. \stoptext
For more details on how to change fonts in ConTeXt, see Fonts in LuaTeX