On Sun, 19 Dec 2010 13:21:26 +0100
 Peter Münster <pmli...@free.fr> wrote:
On Sun, Dec 19 2010, Thomas Schmitz wrote:

and this doesn't:

\newtoks\mytoks

\def\TestMacro#1#2#3%
  {\item[#1] #2\par
   \appendtoks \in[#1]: {#3} \to\mytoks}


    \doglobal \appendtoks \in[#1]: {#3} \to\mytoks}

Cheers, Peter

Hooray, not it works!!! Thanks a lot, everyone, thanks Peter - so easy, yet my knowledge of TeX wasn't advanced enough to see this. Is it because I'm inside a group and TeX empties the tokenlist once I get out of the group?

All best

Thomas
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to