This question already has an answer here:
- LaTeX macro expander 7 answers
I have a latex file that uses some of my own macros (a mix of tex & latex macros). I need to post the latex source, but don't want to expose the macros (some of which are nasty hacks that just get the job done). Is there any way to get a file without these macros, so that they will have been expanded? In programming language jargon one could say that I would like to inline the definitions of specific macros while keeping all else in tact.
There are tools to handle latex macros (defined with
\renewcommand), and there is some discussion and a link to a tool that handles tex macros (defined with
\def, etc). But the only link for the tex tools is broken.
TeX macros permit one to write tail-recursive loops. Those can be unfolded for specific input. This is what I'm looking for.