TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I added


with commands such as


in an attempt to include myfile without the concomitant \clearpage. This didn't work, so I removed this new code and returned my tex file back to the same state it was in before. Now it won't compile! I keep getting the following error message:

! Undefined control sequence.


What the heck is going on??

share|improve this question
Delete all *.aux, *.toc files and so on and try again. – Christian Lindig Feb 2 '13 at 19:58
That worked! Thank you!! – Bazley Feb 2 '13 at 21:56

Delete all *.aux, *.toc and other auxiliary files and run LaTeX again. Some packages write control sequences to these files that become unknown once the package is no longer loaded.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.