Fonts & Character Sets ⇒ include and accented characters
-
heinerrene
- Posts: 2
- Joined: Sat Feb 26, 2011 11:04 pm
include and accented characters
I am using \usepackage[spanish]{babel} and \usepackage[latin1]{inputenc} and errors are:
Missing $ inserted.
Extra }, or forgotten $.
Please use \mathaccent for accents in math mode.
You can't use `\spacefactor' in math mode.
Thanks for help.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10397
- Joined: Mon Mar 10, 2008 9:44 pm
Re: include and accented characters
welcome to the board!
Which is the code containing such characters which cause the problem? Please show such a line.
Stefan
-
heinerrene
- Posts: 2
- Joined: Sat Feb 26, 2011 11:04 pm
Re: include and accented characters
Now Everything is OK. I do not why the main document was saved with ISO-8859-15 encoding and the other one was saved with UTF-8 encoding. That was the problem.
Thank you.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
include and accented characters
Then please mark the topic (not the last post) accordingly as written in Section 3 of the Board Rules (to be read before posting).heinerrene wrote:[…] Now Everything is OK. […]
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10