Stefan Schimanski wrote:
Stefan Schimanski wrote:
Stefan, could you please update your patch with Andre's comment?
Here it is.
Thanks. I also need a log for the SVN commit.
Here it is:
Locking counter added to MacroData: it is increased before
drawing/metric calculations and decreased afterwards in InsetMathMacro.
If a macro is already locked at that point, "Self reference: \foo" is
drawn instead of the macro definition to avoid endless loops. Moreover
inside of the arguments of the macro the counter is temporarily
decreased as those cases do not cause loops. (fixes bug #1395)
I applied it now. I formerly applied your dynamicsmacro patch by error
(which I reverted now).
Sorry for that,
Abdel.