[XeTeX] problems with fontspec and german sharp s ligature

Ulrike Fischer news2 at nililand.de
Tue Apr 8 09:46:52 CEST 2008


Am Mon, 7 Apr 2008 20:40:46 -0700 schrieb Niels Provos:

> Hi,
> 
> I am using XeTeX 3.141592-0.996 (Web2C 7.5.6) on Mac OS X and am
> running into some curious problems with the German sz ligature:
> 
>   - The sz ligature never gets shown in italic
>   - The font for the sz ligature cannot be changed
> 
> The problem occurs only when I include the fontspec package:
> 
> ---
> \documentclass{scrbook}
> \usepackage{xunicode,fontspec,xltxtra}
> \usepackage[german]{babel}
> \selectlanguage{german}
> \usepackage[latin1]{inputenc}

> When I remove fontspec, the sz ligature shows up correctly with \itshape.
> 
> Any ideas?

1. Never use inputenc with xelatex. If your document is 8-bit-encoded
and contains non-ASCII-chars use 
\XeTeXinputencoding latin1


2. Load xunicode after fontspec, or easier load only xltxtra. It will
load the other package in the correct order:

\usepackage{xltxtra}



-- 
Ulrike Fischer 



More information about the XeTeX mailing list