Generalmodifying \newcommand for debugging

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
lbutler
Posts: 1
Joined: Mon Jul 29, 2013 6:03 pm

modifying \newcommand for debugging

Post by lbutler »

Hi, I am managing a distributed project composed in LaTeX, using a book documentclass based on the standard book documentclass, with about 15 contributors. To ease my debugging problems, I would like all contributors to only define new macros in specific files. After these files are input, I would like to modify \newcommand (and friends) so that it emits a warning or error.

Are there pre-existing packages or hooks that would help me to do this?

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply