I am writing my latex document in TexMaker and suddenly in one of the thousands of compilations I make there is a error and I cant get rid of it. The error is:
! Text line contains an invalid character.
The "funny" thing is that the error is in line 2, where I haven't changed anything for weeks and it turn out that there are 100 errors like this in the compilation, each of them with 1 more invalid character. Starts with one and then every error gives +1 character more to the string. Weird.
Has anyone had this error before? It is clear that the error is not because of the invalid character, it doesn't exist! Any ideas?
.aux
file. Delete it and retry.log
didn't help much, but apparently the invalid chars are in the fileMemoria.aux
and not inMemoria.tex
. Try removing that file.