Fonts & Character SetsAccents not recognized in LaTeX template

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
raidel
Posts: 2
Joined: Fri Jul 17, 2015 9:53 pm

Accents not recognized in LaTeX template

Post by raidel »

Hi,I have downloaded a LaTeX template for participating in some scientific event. But, when I have opened the template (I'm using TeXworks, with TeX Live 2014) I founded that there are some problems, because, the symbols for spanish accents are not shown. I have attached some images to better show this situation.

Could anyone help me please? Thank you very much in advance.
Attachments
After Typesetting
After Typesetting
error latex salida.png (7.03 KiB) Viewed 5265 times
Template code with the omitted accents
Template code with the omitted accents
error de latex.png (3 KiB) Viewed 5265 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Accents not recognized in LaTeX template

Post by Johannes_B »

Do you have texworks set up to use utf8 as the standard encoding? It should be the default.
Can you link to the template? It uses commands that are deprecated for an amazing 2 decades.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
raidel
Posts: 2
Joined: Fri Jul 17, 2015 9:53 pm

Re: Accents not recognized in LaTeX template

Post by raidel »

Problem resolved. The encoding needed for TeXworks was ISO-8859-16 instead of UTF-8. So thats all.

Thank you very much.
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Accents not recognized in LaTeX template

Post by cgnieder »

raidel wrote:Problem resolved. The encoding needed for TeXworks was ISO-8859-16 instead of UTF-8. So thats all.

Thank you very much.
That doesn't sound likely: TeXworks doesn't require a specific input encoding and it will use whatever you tell it to use. What's more likely is that the template file you downloaded from somewhere wasn't encoded in unicode (which IMHO is no sign of quality) which is why you had to change the encoding in TeXworks for that file.

I'd rather try to convert the file into unicode but that's just my personal preference.

Regards
site moderator & package author
Post Reply