![](https://secure.gravatar.com/avatar/cedc4d83943006afe3994fb0a0455f82.jpg?s=120&d=mm&r=g)
Hello, I still need the "\setcatcodetable\prtcatcodes" in the following example. Is this the right way to do such things in the future or only a temporary workaround? \unprotect \def\bla@bla{sec title} \def\mySection{{\setcatcodetable\prtcatcodes\section{\bla@bla}}} \protect \starttext \mySection bla bla \stoptext Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Peter Münster wrote:
Hello,
I still need the "\setcatcodetable\prtcatcodes" in the following example. Is this the right way to do such things in the future or only a temporary workaround?
\unprotect \def\bla@bla{sec title} \def\mySection{{\setcatcodetable\prtcatcodes\section{\bla@bla}}} \protect \starttext \mySection bla bla \stoptext
as the current catcode table is saved in the multipass data indeed you need to follow that route; keep in mind that there are multiple catcode regimes, for instance xml future version will store even more, like language and direction 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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Peter Münster