On 21 nov. 2011, at 14:55, Wolfgang Schuster wrote:
>
> Am 21.11.2011 um 14:25 schrieb Hans van der Meer:
>
>> In my documents I use a macro in footnotes, which is defined though
>> \dodoubleargument.
>> However, enabling interactions (which must be done too) plays havoc with
>> \dodoubleargument, though \dosingleargument seems to escape unharmed.
>>
>> Why is this? Can it be repaired?
>
> Change your definition for \testa and \testb to
>
> \unexpanded\def\testa{\dosingleempty\dotesta}
Not needed, because \dosingleargument, \dosingleempty are not harmed.
>
> and
>
> \unexpanded\def\testb{\dodoubleempty\dotestb}
This is a solution, so I can go on with my document.
But isn't it better in general when the problem is solved in \footnote? Because
outside it I encountered no problem with the \dodouble's. It would be a pity if
everyone who tries to something of the sort, will have to tackle this problem
(unless looking into the archives of this group, of course). I was lucky,
because the addition of \setupinteraction[state=start] was one of the last
things I changed and thus suggested itself readily as the source of the
troubles.
Maybe it can be put on some todo/later-todo list?
>
> Wolfgang
> ___________________________________________________________________________________
Hans van der Meer
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________