Generalstrange error : invalid character

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
21did21
Posts: 58
Joined: Thu Sep 08, 2011 12:27 pm

strange error : invalid character

Post by 21did21 »

hello world,

i have a strange error when i compil my text:

"invalid character"

but i don't understand with because i just have simple characters....

ps: you can see this on my attached item
Attachments
errorLatex.png
errorLatex.png (26.89 KiB) Viewed 4812 times
Last edited by 21did21 on Wed Oct 19, 2011 3:35 am, edited 1 time in total.

Recommended reading 2024:

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

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

maxmax
Posts: 29
Joined: Sat Sep 03, 2011 11:19 am

Re: strange error : invalid character

Post by maxmax »

Hi,

is the 24st line empty or perhaps filled with characters that are just not displayed? You might want to attach your tex file, or better a MWE so we could reproduce your problem.

Maybe adding the inputenc package solves this problem, but thats just a wild guess.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

strange error : invalid character

Post by localghost »

It is very likely that the notified error is an aftereffect. The \dominitoc command collects information from other places in the document. So the actual error might be located elsewhere. And this makes locating and fixing it much more difficult.

This is a case where you have to cut the problem down to a minimal example. Create a copy of your document and reduce the code as long as the problem persists. This will be the example you can post here. Note that this example has to be compilable for everybody else, thus mustn't read external files.

By the way, it is better to post the exact error message or attach the complete log file instead of attaching just a picture with only poor information.


Thorsten
21did21
Posts: 58
Joined: Thu Sep 08, 2011 12:27 pm

strange error : invalid character

Post by 21did21 »

hi!
thanks for your help, but it still don't works
maxmax wrote: is the 24st line empty or perhaps filled with characters that are just not displayed?
i have tested to erase the line but i don't change nothing
maxmax wrote:You might want to attach your tex file, or better a MWE so we could reproduce your problem.
i can't because the content is confidential... :-( end it's very long
maxmax wrote:Maybe adding the inputenc package solves this problem, but thats just a wild guess.
can you explain me, what is this ? i don't understand
localghost wrote:It is very likely that the notified error is an aftereffect. The \dominitoc command collects information from other places in the document. So the actual error might be located elsewhere. And this makes locating and fixing it much more difficult.
This is a case where you have to cut the problem down to a minimal example. Create a copy of your document and reduce the code as long as the problem persists. This will be the example you can post here. Note that this example has to be compilable for everybody else, thus mustn't read external files.
==> it's strange because when i compil on linux i haven't problems :roll:
i have made this latex file on linux with texmaker, when i compil it's good but when i compil on windows (with texmaker too) it's don't works...

localghost wrote:By the way, it is better to post the exact error message or attach the complete log file instead of attaching just a picture with only poor information.
My log file is attached.
Attachments
rapportAnnee1.log
(35.17 KiB) Downloaded 319 times
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

strange error : invalid character

Post by localghost »

21did21 wrote:[…] it's strange because when i compil on linux i haven't problems :roll:
i have made this latex file on linux with texmaker, when i compil it's good but when i compil on windows (with texmaker too) it's don't works. […]
Then I wonder why the log file, which is obviously produced with TeX Live 2009 on Debian, shows exactly the described error messages.
21did21
Posts: 58
Joined: Thu Sep 08, 2011 12:27 pm

Re: strange error : invalid character

Post by 21did21 »

i don't understand sorry .... :-(
(my english is bad )
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

strange error : invalid character

Post by localghost »

21did21 wrote:i don't understand sorry […]
The errors appear on your Linux system as well.
21did21 wrote:[…](my english is bad )
Then you should improve it.
21did21
Posts: 58
Joined: Thu Sep 08, 2011 12:27 pm

Re: strange error : invalid character

Post by 21did21 »

i have re-installed texmaker and miktex and now it works nice.

thanks for your help

see you
Post Reply