[XeTeX] Beginner questions

Ulrike Fischer news3 at nililand.de
Sat Oct 23 17:47:12 CEST 2010

Am Sat, 23 Oct 2010 10:53:42 +0200 schrieb André Bellaïche:

> Let me ask some questions: 

> 1. Is it possible to replace unicode by applemac encoding? What
> are the commands in this case?

Yes. You will have to put \XeTeXinputencoding "mac" at the start
(somewhere before the first non-ascii char) of _every_
applemac-encoded file. If you want to use some of your input files
also with latex you can use 

   \XeTeXinputencoding "mac" 

\XeTeXinputencoding "mac" declares the encoding of the current file.
File which are \input are read as utf8 unless they contain also a

The declaration can't be done only once at the start of the main
document as all output files generated by xetex (e.g. toc, aux, etc)
are utf8 encoded and so xetex must read them as utf8. 

Ulrike Fischer 

More information about the XeTeX mailing list