CTAN Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/cmdtrack

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.

Down­load the con­tents of this pack­age in one zip archive (133.3k).

cmd­track – Check used com­mands

The pack­age keeps track of whether a com­mand de­fined in a doc­u­ment pream­ble is ac­tu­ally used some­where in the doc­u­ment. After the pack­age is loaded in the pream­ble of a doc­u­ment, all \new­com­mand (and sim­i­lar com­mand def­i­ni­tions) be­tween that point and the be­gin­ning of the doc­u­ment will be marked for log­ging. At the end of the doc­u­ment a re­port of com­mand us­age will be printed in the log, for ex­am­ple:

  • mdash was used on line 25”;
  • ndash was never used”.

Li­censesThe Project Public Li­cense 1
Copy­right1999 Michael John Downes
2012 Users Group
Main­tainerMichael J. Downes pkg.au­thor.died
Con­tained inTeX Live as cmd­track
MiKTeX as cmd­track
TopicsDe­bug supp
Guest Book Sitemap Contact Contact Author