I've just downloaded the template for ClassicThesis in CTAN and I was trying to use it writing some spanish text. I've only changed the title and name of the document (in the classicthesis-config.tex
file). The document compiles, but the accented characters (like in 'Teoría') are wrong.
Now, I tell you what changes I made that are supposed to prepare the template to recieve accented characters:
In the
classicthesis-config.tex
file I have the following lines:\PassOptionsToPackage{utf8}{inputenc} % latin9 (ISO-8859-9) = latin1+"Euro sign" \usepackage{inputenc}
(as you see, the author recommends using latin9 encoding, but i'm using TeXworks, which works in utf8. Anyway, neither latin9 nor latin1 work.)
\PassOptionsToPackage{T1}{fontenc} % T2A for cyrillics \usepackage{fontenc} \usepackage{textcomp} % fix warning with missing font shapes
I have the following ones, too, but I think this has nothing to do with the encoding problem:
% Spanish languages need extra options in order to work with this template \PassOptionsToPackage{spanish,es-lcroman}{babel} \usepackage{babel}
And in the
ClassicThesis.tex
file I've putspanish
option in the\documentclass
and selected the spanish language via\selectlanguage{spanish}
, but, as I said, I think this has nothing to do with the encoding, it must be related with the 'Figure', 'Table', etc. stuff.
My distribution is MiKTeX 2.9 in Windows 7.
PS: I'm compiling with pdfLaTeX.
wrong
doesn't give much of a clue, do you get an error, or the wrong letter, or nothing. Are you sure your source is encoded in utf8?\'i
I get the right character, but I want to write 'í' and get my character. in the preferences of the editor it's set utf8 as the enconding, so I think it is. If I compile a simple document with this encoding, the accented characters work fine. And I don't get any error.