Copyright 2012 TeX Users Group. This file is part of the cmdtrack package, released under the LPPL; see cmdtrack.dtx for details. This package (cmdtrack) logs \newcommand (and similar) commands executed, along with whether they are used. This package was written by Michael Downes, who passed away in 2003. He released it under a custom license, now considered nonfree. In October 2012, his heirs (his children Zoe, Elizabeth, and Mia Downes) have all agreed to re-releasing his work under any version of the LaTeX Public Project License. Therefore, the package is now released under the LPPL, version 1 or (at your option) any later version. The only change in this release is to the license. The actual code is the same as Michael's last release.
Download the complete contents of this directory in one zip archive (133.3k).
cmdtrack – Check used commands
The package keeps track of whether a command defined in a document preamble is actually used somewhere in the document. After the package is loaded in the preamble of a document, all \newcommand (and similar command definitions) between that point and the beginning of the document will be marked for logging. At the end of the document a report of command usage will be printed in the TeX log, for example:
- “mdash was used on line 25”;
- “ndash was never used”.
|License||The LaTeX Project Public License 1|
|Copyright||1999 Michael John Downes|
2012 TeX Users Group
|Maintainer||Michael J. Downes (inactive)|
|Contained in||TeXLive as cmdtrack|
|MiKTeX as cmdtrack|
support for package or document debugging|