ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [Q] how to switch input encoding
@ 2000-11-29 19:12 Han The Thanh
  2000-11-30  9:06 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Han The Thanh @ 2000-11-29 19:12 UTC (permalink / raw)


Hi all,

how can I switch input encoding in context (if possible at all)?

Thanks,
Thanh


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Q] how to switch input encoding
  2000-11-29 19:12 [Q] how to switch input encoding Han The Thanh
@ 2000-11-30  9:06 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2000-11-30  9:06 UTC (permalink / raw)
  Cc: ConTeXt List

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
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-11-30  9:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-29 19:12 [Q] how to switch input encoding Han The Thanh
2000-11-30  9:06 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).