![](https://secure.gravatar.com/avatar/c7accb2674fe5d6cb195dd221cb297b3.jpg?s=120&d=mm&r=g)
19 Dec
2010
19 Dec
'10
1:47 p.m.
On Sun, 19 Dec 2010 13:21:26 +0100
Peter Münster
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