[dev-context] \usemodule and prtcatcodes

Wolfgang Schuster schuster.wolfgang at googlemail.com
Mon Jan 17 16:13:47 CET 2011


Hi,

why does \usemodule load the requested file with “prtcatcodes” settings
when nearly each module has \unprotect and \protect at the begin and
end of the file?

I ask this because of a recent question [1] on the list where a user
defined shortcuts for math. Maybe a module isn’t the perfect thing
for these things and he can put them in a environment but now comes
the next problem.

When you load a environment in this way:

  \environment myenvironment
  \starttext
  …
  \stoptext

the file is loaded again with prtcatcodes while in the following form

  \startproduct myproduct
  \environment myenvironment
  …
  \stopproduct

the environment is loaded with ctxcatcodes. While prtcatcodes make sense
for a module i can’t understand why they are used for environments.

[1] http://www.ntg.nl/pipermail/ntg-context/2011/055915.html

Wolfgang

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/mailman/private/dev-context/attachments/20110117/7ecafbf5/attachment.html>


More information about the dev-context mailing list