GeneralHow to expand / undefine macros automatically?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
sv75
Posts: 1
Joined: Tue Jun 16, 2009 8:06 am

How to expand / undefine macros automatically?

Post by sv75 »

Is there any tool or script to expand or undefine all macros defined in my latex document? I would like to have tool to add add '\let\SomeMacro\undefined' for all macros I have defined earlier. Expanding them should be even better. Some editors dislike author-define macros.

I could write python script myself but I wanna use a standart tool. I'm using TeXLive, GNU/Linux and Makefile.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply