ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* ASCII input - non ASCII output
@ 2017-11-07 12:48 Sava Maksimović
  2017-11-07 13:10 ` Mojca Miklavec
  2017-11-07 19:38 ` Thomas A. Schmitz
  0 siblings, 2 replies; 8+ messages in thread
From: Sava Maksimović @ 2017-11-07 12:48 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 852 bytes --]

Hi,

Is there a way in context, that for some *text* ascii input (in source .tex
file) define mapping in internal tex system ?

For example, if i put two ascii characters "dj" in .tex file, can i  get
cyrillic character "ђ" in .pdf ?
And so on, for input b, v, g, d, ... to get output б, в, г, д, ...

Or more general, for every letter/string in unicode to define the way that
it should be read.

It's benefit for non ascii language users, because in that case they don't
need to switch keyboard layout all the time between command, math input and
text input.

In Latex, package fontenc(precisely OT2 encoding) do that things.

Minimal example:

\starttext

a, b, v, g, d, dj, e, zh, z

\stoptext

should produce

a, б, в, г, д, ђ, е, ж, з

Best regards,
Sava Maksimovic (Сава Максимовић :) )

[-- Attachment #1.2: Type: text/html, Size: 1225 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2017-11-09  3:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-07 12:48 ASCII input - non ASCII output Sava Maksimović
2017-11-07 13:10 ` Mojca Miklavec
2017-11-07 19:38 ` Thomas A. Schmitz
2017-11-08 10:00   ` Ulrike Fischer
2017-11-08 10:34   ` Mojca Miklavec
2017-11-08 14:36     ` Thomas A. Schmitz
2017-11-08 15:09       ` Mojca Miklavec
2017-11-09  3:15         ` Henri

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