Is there any package I need to include, or anything special I need to do in order to be able to use these characters?
I know that the XITS font supports these characters (tested in MS Office 2007), so that's not the problem. However, since I'm new to LuaLaTeX / XeLaTeX I haven't been able to figure this out yet.
I'm running TeXLive2010 pretest on my Ubuntu 10.04 (32bit) distro, if that should matter.
Any help is appreciated!
Best regards,
D.
Last edited by drgz on Tue Aug 17, 2010 7:15 pm, edited 1 time in total.
What character set is the file saved in? Can you post a minimal working example rather than just a snippet? Perhaps upload your source so we can see the encoding in use.
Well, after reading your reply I have to say that I feel like the biggest idiot alive. I had forgotten to make sure that the document was in UTF-8 encoding, so once I copied the same text into a document encoded properly it compiled as desired.
Now I just need to have a post-it on my desk reminding me on that whenever I write documents to be compiled with (Lua/Xe)LaTeX I must encode the document in UTF-8.
As I see this problem as solved I'd like to thank you for the help. Mentioning the encoding got me on the right track.
Best regards,
D.
**
Just one question in the end; how come the document does not need to be encoded in UTF-8 when the text is in English? I mean, earlier today I compiled some other documents which are entirely in English without any problems, and they all are written with Notepad++ with ASCII encoding. Is this just something that's needed when the text is non-English?
drgz wrote:[…] Just one question in the end; how come the document does not need to be encoded in UTF-8 when the text is in English? I mean, earlier today I compiled some other documents which are entirely in English without any problems, and they all are written with Notepad++ with ASCII encoding. Is this just something that's needed when the text is non-English?
The English alphabet doesn't contain any special characters like e. g. most of the European languages. So source files for documents in English are independent of the input encoding.
drgz wrote:[…] Just one question in the end; how come the document does not need to be encoded in UTF-8 when the text is in English? I mean, earlier today I compiled some other documents which are entirely in English without any problems, and they all are written with Notepad++ with ASCII encoding. Is this just something that's needed when the text is non-English?
The English alphabet doesn't contain any special characters like e. g. most of the European languages. So source files for documents in English are independent of the input encoding.
Best regards
Thorsten
I should have guessed that; but thanks for clarifying.