Access Keys:
Skip to content (Access Key - 0)

Why did I get the error "Missing endcsname inserted"?

 ! Missing \endcsname inserted.
 <to be read again>
 l.1 \contentsline\hskip
                        1\ts \relax  {chapter}{\numberline\hskip 1\ts \relax...

If you get an error like this, or any error while latex'ing the thesis files when you're just beginning with your thesis, make sure that you're not trying to \include files that don't exist. If you use `all' and the main.tex file tries to include files that don't exist, then it will mess up with that error, and corrupt the .aux files. To fix this,

a) comment out the \include lines that correspond to files that you haven't created files for yet by changing them from





b) Type

	touch filename.tex

for all the files that you include. `touch' will create the files if they don't exist.

Then, delete all the bonus extra files

	delete *.aux *.toc *.lof *.lot

And try it again. It should work.

IS&T Contributions

Documentation and information provided by IS&T staff members

Last Modified:

February 23, 2012

Get Help

Request help
from the Help Desk
Report a security incident
to the Security Team
olc-latex-thesis olc-latex-thesis Delete
latex latex Delete
thesis thesis Delete
error error Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
This product/service is:
Easy to use
Difficult to use

This article is:
Adaptavist Theme Builder (4.2.3) Powered by Atlassian Confluence 3.5.13, the Enterprise Wiki