I'm writing a large book (with 11 chapters included separately in the base document, PaP.tex), and when I typeset I get the following output in the Console (and .log file):
(./PaP.aux (./PaPCh1.aux) (./PaPCh2.aux) (./PaPCh3.aux) (./PaPCh4.aux)
(./PaPCh5.aux) (./PaPCh6.aux) (./PaPCh7.aux) (./PaPCh8.aux) (./PaPCh9.aux)
(./PaPCh10.aux) (./PaPCh11.aux
! Undefined control sequence.
l.171 \cit
Clearly, I mis-entered \cite, dropping the "e" somewhere in the large book.
If I click Go to error I go to line 171 on the base document (PaP.tex) which does not contain the error. I guessed that because the error was listed after PaPCh11.aux (Chapter 11) it would be in that chapter, but again, no luck... certainly not on line 171 of Chapter 11.
I'm reduced to going through every chapter and searching for every "\cit" (or "\cit ") to see if it appears in each chapter. This is a horrendously tedious process, given I have over 800 citation references.
What is the fastest, most-efficient way to find the errant \cit in my large, composite set of files?
PaPCh11.aux, so a malformed.aux. Delete it and try again – Phelype Oleinik Feb 12 '21 at 00:33