Difference between revisions of "Command/useencoding"

From Wiki
Jump to navigation Jump to search
(command description, category added)
m (Text replace - "Category:(.*)" to "Category:Command/$1")
Line 42: Line 42:
 
{{Forum|{{SUBPAGENAME}}}}
 
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Fonts(cmd)|useencoding]]
+
[[Category:Command/Fonts(cmd)|useencoding]]

Revision as of 21:42, 20 March 2012

\useencoding

Syntax

\useencoding[...,...,...]
[...,...,...] name


Description

This command is MKII-only. It loads support for one or more font encodings not already preloaded in the core. This is seldom needed (if ever).

Example

ConTeXt core already uses:

\useencoding[ans,il2,ec,tbo,pdf,pol,qx,t5,l7x,cyr,agr]

If you had a need to use Cyrillic encoding t2c for example, you could use

\useencoding[t2c]
\usetypescript[antykwa-torunska][t2c]
\setupbodyfont[antykwa-torunska]

However t2c is already preloaded with enco-cyr.

See also

\usetypescript \startencoding \definecharacter

Help from ConTeXt-Mailinglist/Forum

All issues with: