# Generate list of undefined control sequences/used newcommands


-
– Scott H. Nov 8 '12 at 17:26
The cmdtrack package would seem useful here: ctan.org/pkg/cmdtrack – Loop Space Nov 8 '12 at 17:31
`grep -A 1 "Undefined control sequence" filename.log` – egreg Nov 8 '12 at 21:21
The package ctan.org/tex-archive/macros/generic/occam seems a bit odd, at least I can't understand how to use it. I'm mentioning it just in case. – Mafra Dec 5 '12 at 23:33

The package `cmdtrack` can be useful. Of course you can use the Terminal to search the log-file:
``````grep -ni -A 1 "Undefined control sequence" <filename>.log