Hi, I have a little trouble with include or input command and accented characters. When I type accented characters in main document is not problem. But when I type accented characters in other document and coming it in the main document with include or input command many errors come up.
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.
Fonts & Character Sets ⇒ include and accented characters
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
Re: include and accented characters
Hi heinerrene,
welcome to the board!
Which is the code containing such characters which cause the problem? Please show such a line.
Stefan
welcome to the board!
Which is the code containing such characters which cause the problem? Please show such a line.
Stefan
LaTeX.org admin
-
- Posts: 2
- Joined: Sat Feb 26, 2011 11:04 pm
Re: include and accented characters
Thanks Stefan_K for your answer.
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.
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: 9201
- 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
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1