From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/3505 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: [Q] how to switch input encoding Date: Thu, 30 Nov 2000 10:06:36 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20001130100636.0199e100@pop.wxs.nl> References: <200011291912.UAA00446@anxur.fi.muni.cz> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035394238 17671 80.91.224.250 (23 Oct 2002 17:30:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:30:38 +0000 (UTC) Cc: ntg-context@ntg.nl (ConTeXt List) Original-To: Han The Thanh In-Reply-To: <200011291912.UAA00446@anxur.fi.muni.cz> Xref: main.gmane.org gmane.comp.tex.context:3505 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:3505 At 08:12 PM 11/29/00 +0100, Han The Thanh wrote: >Hi all, > >how can I switch input encoding in context (if possible at all)? \useencoding[vis] will give you vietnamese for instance, but normally you define the encoding with the font, see font-ber for examples. There is 'encoding' [font encoding], 'mapping' [case mapping etc] and 'regime' [additional input encoding] and there is 'output encoding' as well [pdfdoc and alike]. Encodings can be triggered by font switches as well as language switches. You may want to look at font-csr to see how czech is done: there we map the czech font names onto cmr ones, as well as set the encoding. Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------