Fonts & Character Setstext line contains an invalid character

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
siljemoh
Posts: 1
Joined: Thu Mar 25, 2010 2:13 pm

text line contains an invalid character

Post by siljemoh »

Hey.

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

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

text line contains an invalid character

Post by Stefan Kottwitz »

Hi Silje,

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
LaTeX.org admin
Jorgen
Posts: 2
Joined: Fri May 25, 2012 2:39 pm

text line contains an invalid character

Post by Jorgen »

master4.tex
(5.47 KiB) Downloaded 388 times
Hey!

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!
Cervejinha88
Posts: 1
Joined: Fri Nov 09, 2018 10:41 pm

text line contains an invalid character

Post by Cervejinha88 »

Hey there,
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 :cry:
Post Reply