[texhax] listmacros?

Nitecki, Zbigniew H. Zbigniew.Nitecki at tufts.edu
Mon May 30 20:23:08 CEST 2011


I suspect the following does not exist, but wonder if it does or if some expert might suggest how to make it.

Background:  I have a pair of huge files containing many personally designed macros, which I used extensively in writing two books, and now use almost reflexively.
When I write a relatively short paper in latex, I can of course append the two files to the paper when I send it out, but often I use a very small subset of the macros in these files.

So I wonder if there is a command similar to the "listfiles" command (which lists the files used when compiling a document) but listing the macros used---either identified by package,
or even better, providing a list of \newcommand's defining them.  That way I could create a far smaller macro list custom designed for the paper at hand, and use it in place of the two
large files when submitting a paper for publication or for the ArXiv.

Zbigniew Nitecki
Department of Mathematics
Tufts University
Medford, MA 02155

telephones:
Office    (617)627-3843
Dept.    (617)627-3234
Dept. fax    (617)627-3966
http://www.tufts.edu/~znitecki/







More information about the texhax mailing list