Fonts & Character Sets ⇒ text line contains an invalid character
text line contains an invalid character
My project suddenly stopped to compile and I have no idea why. It has started to complain about a fatal error that says:
--> text line contains an invalid character.
1.3 ......
I have divided my project into several chapters and removed them all from the main project file, but the same error stopped the document from compiling (even though it should only show the front page). Somebody please help me!
Silje
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
text line contains an invalid character
welcome to the board!
Perhaps post your main document here without the chapters, because there's no content but the error could be reproduced possibly. Or reduce it to a minimal working example for the forum readers.
Posting your .log file would give even even more information. You can post attachments here in the forum.
Stefan
text line contains an invalid character
I have the exact same problem as Silje. My solution has been to copy/paste the content of the document to a new document. The new document does not report any fatal error upon compilation.
This is in the log file:
"! Text line contains an invalid character.
l.2
...
A funny symbol that I can't read has just been input.
Continue, and I'll forget that it ever happened."
I added the main document as attachment.
Thanks for any help!
-
- Posts: 1
- Joined: Fri Nov 09, 2018 10:41 pm
text line contains an invalid character
I have exactly the same problem. Unfortunately my chapters are kinda long, and while trying to bit by bit copying them into one running file, it somehow stopped compiling completely again. But... really, this can not be the solution to this. I am going mad, I have to submit my thesis and am not able to compile all chapters...
I am runing sharelatex, and the log file is kinda endless... but i will come up with a minimal example.
I have to get this running soon
