Changes

Jump to navigation Jump to search
something about encodings
==Encodings==
There LaTeX users will probably know them under the name '''fontenc''' (<code>\usepackage[T1]{fontenc}</code> for example). As TeX can only handle 256 characters at once, it is important to choose the encoding which covers all the characters of your language, otherwise the hyphenation won't work for words with composite characters and most probably you won't be able to simply extract text from the resulted PDFs. To enable ec encoding in [[Latin Modern Roman]] for example, you can type:<texcode>\usetypescript[modern][ec]\setupbodyfont[10pt,rm]</texcode> Some good choices for encodings are some :* '''texnansi''' for Western European languages with only a small subset of additional accented characters (includes many other important glyphs)* '''ec''' for European languages with many accented characters (also known as '''cork''')* '''qx''' as a compromise between the two above, supposed to cover most Central European languages (more accented characters than texnansi and more encodings availableadditional glyphs in comparison to ec)* '''t5''' for [[Vietnamese]]* '''cyr''', '''t2a''', '''t2b''', '''t2c''', but here... (?) for [[Russian|Cyrillic]]* '''iso-8859-7'''s an /'''greeek'''/'''grk''' (?) for [[Greek]] (see [[Greek]] for more details) Users of '''il2''' and '''pl0''' should consider moving to '''qx'''. A simple overview of which characters are present in some of the most common ones encodings (<b>ec</b>, <b>texnansi</b>, <b>8r</b> and <b>8a</b>):
http://fun.contextgarden.net/encodingtable/enctable.rb?ec,texnansi,8r,8a
 
''(I hope that the content of this section will soon move to a page on its own with more comprehensive overview of different encodings.)''
==Available Regimes==

Navigation menu