MiKTeX and proTeXtpgfmoduleplot.code.tex(2): Error: ! Text line contains an in

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
Post Reply
12345
Posts: 1
Joined: Mon Jan 12, 2009 8:30 pm

pgfmoduleplot.code.tex(2): Error: ! Text line contains an in

Post by 12345 »

Hey!

Suddenly my project started to do the following error, I have no clue why :( I already tried to remove the commands from package fancyheadings but the problem it is not there (also because first it worked fine!). Can someone help me? Thank you very much!

"c:\program files\miktex 2.7\tex\generic\pgf\modules\pgfmoduleplot.code.tex(1): Package fancyheadings Warning: Please stop using fancyheadings!
"c:\program files\miktex 2.7\tex\generic\pgf\modules\pgfmoduleplot.code.tex(2): Error: ! Text line contains an invalid character. (and repeats this error in the output window 100 times)

Recommended reading 2024:

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

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

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

pgfmoduleplot.code.tex(2): Error: ! Text line contains an in

Post by localghost »

"c:\program files\miktex 2.7\tex\generic\pgf\modules\pgfmoduleplot.code.tex(1): Package fancyheadings Warning: Please stop using fancyheadings!
This message says it all. Simply don't include that package. Moreover it is obsolete. For complete clarification of this issue provide a minimal working example (MWE).


Best regards and welcome to the board
Thorsten¹
User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Re: pgfmoduleplot.code.tex(2): Error: ! Text line contains an in

Post by Stefan Kottwitz »

Hi,

use fancyhdr instead of fancyheadings. If you're writing with a KOMA-class then consider to use scrpage2.

Stefan
LaTeX.org admin
sheacobj
Posts: 1
Joined: Fri Mar 27, 2009 1:06 am

pgfmoduleplot.code.tex(2): Error: ! Text line contains an in

Post by sheacobj »

I had a similar problem that had nothing to do with the fancypants style. A formerly compilable tex file suddenly started complaining about an error, "line 4 -> text line contains an invalid character".

There is nothing wrong with line 4, just delete all the miscellaneous files <filename>.<extension> (except of course for <filename>.tex). Now it will recompile licketysplitz.
Post Reply