{{ message }}

# Invocation() of a macro created via \let references original macro #849

Closed
opened this issue Jul 9, 2017 · 1 comment
Closed

# Invocation() of a macro created via \let references original macro#849

opened this issue Jul 9, 2017 · 1 comment
Milestone

### tkw1536 commented Jul 9, 2017

 Assume we are defining a macro then copy it via a \let into a second macro with something like \def\dummymacro{} \let\othermacro\dummymacro If we now want to now have tokens representing the invocation of this macro, we should then be able to use Invocation('\othermacro');  which we would expect to return a single T_CS('\othermacro'). When running this code however, we get T_CS('\dummymacro') instead. This comes from a more complicated scenario I encountered while updating keyval bindings, but I have gotten it down to this very basic example. This caused an infinite loop, making debugging very hard. The text was updated successfully, but these errors were encountered:

### brucemiller commented Jul 15, 2017

 This should be fixed now; thanks for the report!
added this to the LaTeXML-0.8.3 milestone Jan 6, 2018