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