Pablo Rodriguez schrieb am 01.11.2019 um 11:48:
2. Use the asciimode environment to make TeX's special characters normal
letters.
Is there any ascii mode equivalent for Lua?

I mean, something like "asciimode(whatever)".

You can change catcode regimes to change meaning of the special characters.

\starttext

\startluacode

context.pushcatcodes("text")
context("%")
context("&")
context("#")
context("$")
context("~")
context.popcatcodes()

\stopluacode

\stoptext

Wolfgang

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

Reply via email to