GeneralCompiler reports invalid Character

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Kazkek
Posts: 2
Joined: Sat Jun 02, 2012 12:11 am

Compiler reports invalid Character

Post by Kazkek »

I'm sure this topic pops up a lot but I haven't run across anything that seems to be the same situation as me. Here is my log file a few lines right before and after the error.

Code: Select all

("C:\Program Files\MiKTeX 2.9\tex\latex\geometry\geometry.sty"
Package: geometry 2010/09/12 v5.6 Page Geometry
\Gm@cnth=\count142
\Gm@cntv=\count143
\c@Gm@tempcnt=\count144
\Gm@bindingoffset=\dimen151
\Gm@wd@mp=\dimen152
\Gm@odd@mp=\dimen153
\Gm@even@mp=\dimen154
\Gm@layoutwidth=\dimen155
\Gm@layoutheight=\dimen156
\Gm@layouthoffset=\dimen157
\Gm@layoutvoffset=\dimen158
\Gm@dimlist=\toks32
("C:\Program Files\MiKTeX 2.9\tex\latex\geometry\geometry.cfg"))
("F:\Thesis-Template\Thesis Template\Thesis.aux"
! Text line contains an invalid character.
l.2 
I'm pretty sure the answer lies within thesis.aux and whatever l.2 means.

Thank you.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

Re: Compiler reports invalid Character

Post by Stefan Kottwitz »

Hi,

welcome to the board!

Perhaps remove the .aux file and compile again. The .aux file will be created again.

Stefan
LaTeX.org admin
Kazkek
Posts: 2
Joined: Sat Jun 02, 2012 12:11 am

Re: Compiler reports invalid Character

Post by Kazkek »

I did what you said and it worked. Thanks for the help. I still don't know how that happened. Scary times.

Solved!
Post Reply