4 Nov
2009
4 Nov
'09
10:52 a.m.
Dear all, how can I check whether a macro I defined is actually expanded into what I intended? For example, if I define \define[2]\Test{#2, {\it #1}} is there a (Lua?) function like check(\Test{Hello}{world}, string) that would return true for string = "world, {\it Hello}" and false otherwise? If the macro is a bit more complicated than this I usually get caught by a mistake rather quickly ... so a quick check would be very handy for me. Many thanks for your help, Oliver