<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
In an attempt to debug one of my macros I realised that the problem lay in the contents of <br>\toks0 and \toks2 goinig AWOL. The example below demonstrates the problem as it only works <br>if \enablehyperlinks is not used. Once it is enabled \toks0 and \toks2 go missing. Is this behaviour <br>expected? Moving \definexref to the beginning also solves the problem, as does using \newtoks,<br>but I'm curious as to what the problem actually is. <br><br>Thanks for your trouble,<br>Adam Fenn.<br><br>\def\mymacro#1#2#3#4#5#6#7#8#9{%<br>#1 #2 #3 #4 #5 #6 #7 #8 #9<br><br>\toks0={#1 #2 }%<br>\toks2={#3 #4 }%<br>\toks4={#5 #6 }%<br>\toks6={#7 #8 }%<br>\toks8={#9 }%<br><br>\toks1={#1 #2 }%<br>\toks3={#3 #4 }%<br>\toks5={#5 #6 }%<br>\toks7={#7 #8 }%<br>\toks9={#9 }%<br><br>\definexref{#1}{[marker]}{}%<br><br>\the\toks0<br>\the\toks2<br>\the\toks4<br>\the\toks6<br>\the\toks8<br><br>\the\toks1<br>\the\toks3<br>\the\toks5<br>\the\toks7<br>\the\toks9<br>}<br><br>\mymacro<br>{One}<br>{Two}<br>{Three}<br>{Four}<br>{Five}<br>{Six}<br>{Seven}<br>{Eight}<br>{Nine}<br><br>\bye<br><br><br /><hr />Messenger on the move. <a href='http://mobile.uk.msn.com/pc/messenger.aspx ' target='_new'>Text MSN to 63463 now!</a></body>
</html>