You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is a stub for notes related to using LaTeXML to expand macros.
It's possible to listen for expansions of macros (those defined with \def) and commands (those defined with newcommand) in the gullet of LaTeXML. This much I have determined by setting breakpoints within the readXToken method of the gullet and inspecting the contents of the tokens read in, and the value of $r (i.e., the output of $def->invoke(...)) once those tokens are expanded.
However, this same approach doesn't seem to fully expand macros defined with the DeclareMathOperator command. Rather, it only partially expands them.
The text was updated successfully, but these errors were encountered:
This issue is a stub for notes related to using LaTeXML to expand macros.
It's possible to listen for expansions of macros (those defined with
\def
) and commands (those defined withnewcommand
) in the gullet of LaTeXML. This much I have determined by setting breakpoints within thereadXToken
method of the gullet and inspecting the contents of the tokens read in, and the value of$r
(i.e., the output of$def->invoke(...)
) once those tokens are expanded.However, this same approach doesn't seem to fully expand macros defined with the
DeclareMathOperator
command. Rather, it only partially expands them.The text was updated successfully, but these errors were encountered: