General ⇒ strange error : invalid character
strange error : invalid character
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
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 (26.89 KiB) Viewed 4811 times
Last edited by 21did21 on Wed Oct 19, 2011 3:35 am, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

Re: strange error : invalid character
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.
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.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
strange error : invalid character
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
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
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
strange error : invalid character
hi!
thanks for your help, but it still don't works
end it's very long
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...
thanks for your help, but it still don't works
i have tested to erase the line but i don't change nothingmaxmax wrote: is the 24st line empty or perhaps filled with characters that are just not displayed?
i can't because the content is confidential...maxmax wrote:You might want to attach your tex file, or better a MWE so we could reproduce your problem.

can you explain me, what is this ? i don't understandmaxmax wrote:Maybe adding the inputenc package solves this problem, but thats just a wild guess.
==> it's strange because when i compil on linux i haven't problemslocalghost 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.

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...
My log file is attached.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.
- Attachments
-
- rapportAnnee1.log
- (35.17 KiB) Downloaded 319 times
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
strange error : invalid character
Then I wonder why the log file, which is obviously produced with TeX Live 2009 on Debian, shows exactly the described error messages.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. […]
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: strange error : invalid character
i don't understand sorry .... 
(my english is bad )

(my english is bad )
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
strange error : invalid character
The errors appear on your Linux system as well.21did21 wrote:i don't understand sorry […]
Then you should improve it.21did21 wrote:[…](my english is bad )
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: strange error : invalid character
i have re-installed texmaker and miktex and now it works nice.
thanks for your help
see you
thanks for your help
see you