Am 14.08.2014 um 11:38 schrieb Christoph Reller
Hi!
The "default" value works well for processaction but apparently does not for processallactionsinset. What am I missing?
Example:
\def\A{A} \def\XX{} \def\Un{Un}
\processaction[\A][A=>Yeah!,default=>Def.,unknown=>Huh?]% \processaction[\XX][A=>Yeah!,default=>Def.,unknown=>Huh?]% \processaction[\Un][A=>Yeah!,default=>Def.,unknown=>Huh?]
\processallactionsinset[\A,\XX,\Un][A=>Yeah!,default=>Def.,unknown=>Huh?]
Output:
Yeah!Def.Huh? Yeah!Huh?Huh?
The default value is only used when there is no argument at all. Your example for \processallactionsinset with a list of values where you have empty key (A,,Un) is not supported and because the empty is not in the list you get the argument for unknown. Wolfgang