Thomas A. Schmitz wrote: > Hi all, > > I would like to make the exclamation mark active within my Greek > environment; it should remain a normal letter outside of these > commands and environments. (Why? Exclamation marks aren't used in > Greek, and in mkii, I had mapped it to the sublinear dot which is used > for epigraphical and papyrological texts.) > > In pdf(e)tex, Hans wrote this macro for me: > > \long\def\rescanwithsetup#1#2% > {{\directsetup{#1}\scantokens{#2\ignorespaces}}} > > but I'm not sure how to have a similar thing for mkiv (and ! is > special anyway, so I'm running into trouble here...). Any pointers? Or > is this a bad idea, and I should look for other solutions?
forget about the past, think about what kind of functionality you want for instance, "we need a language dependent feature that remaps characters" so, what are the specs; maybe other languages need similar things (there is already something available which we can easily extend) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________