[XeTeX] Table of contents

Peter Dyballa Peter_Dyballa at Web.DE
Fri Apr 30 12:42:11 CEST 2010


Am 30.04.2010 um 12:09 schrieb José Carlos Santos:

> When the \tableofcontents command is found, the line
>
> \XeTeXinputencoding "cp1252"
>
> was not read yet.


Which is your proof?

The command \XeTeXinputencoding resets the default UTF-8 or UTF-16  
input encoding to something else, restricted, awkward, whatever. It  
allows XeTeX to translate the limited characters to sensible Unicode  
(BTW, MS Windows has knowledge of Unicode since more the ten years, no  
need to present oneself as a guy from last millennium). This internal  
representation is used by the TeX core. If you want to keep a non- 
Unicode representation of particular characters, then use the LICR  
(LaTeX internal character representation) form directly: \´e or {\´e}.  
This also works in \hypersetup...

--
Greetings

   Pete

"Klingon function calls do not have 'parameters' - they have  
'arguments' - and they ALWAYS WIN THEM."




More information about the XeTeX mailing list