[XeTeX] Texlive 2007 problem - Fontshape undefined

Jonathan Kew jonathan_kew at sil.org
Wed Apr 18 08:51:18 CEST 2007

On 18 Apr 2007, at 6:51 am, Cyril Niklaus wrote:

> On 18 avr. 07, at 13:54, Carlo Strub wrote:
>> \renewcommand{\encodingdefault}{U} has to be put before (!) the
>> fontspec preamble commands.
> why do you need that? Unicode is the default and the whole point of
> XeTeX, so I fail to understand the use of it. Certainly in my limited
> use of it, I've never had to actually declare the encoding to be
> unicode.

I suspect this is a leftover from much earlier versions of fontspec  
etc; the encoding name it uses by default is now "EU1", and you  
shouldn't have to declare it in your document at all.

If you load fontspec, do \setmainfont etc, and *then* change  
\encodingdefault, I can imagine this would lead to the problem you  


More information about the XeTeX mailing list