[XeTeX] fontspec and kpfonts

Ulrike Fischer news2 at nililand.de
Fri Jun 6 09:39:55 CEST 2008


Am Fri, 06 Jun 2008 08:58:48 +0200 schrieb
francois.patte at math-info.univ-paris5.fr:

> Bonjour,
> 
> These packages semm to be incompatible.
> 
> In other words: you can't use kpfonts with fontspec package loaded. Am I
> right?

No. You can either switch locally to the family and T1-encoding. In this
case you should be careful when using non-ASCII input. And you should
check the hypenations -- they can be faulty. 

You can also load the fonts through the internal interface of fontspec,
but perhaps you will have to help fontspec to get the itshape etc right. 

The math should be okay, but you can always load fontspec with the
no-math-option if something doesn't work:

\documentclass{scrartcl}
\usepackage{kpfonts}

\usepackage{xltxtra}

\setmainfont{[jkpmn8a.pfb]}
\begin{document}

{\fontencoding{T1}\fontfamily{jkp}\selectfont abcßé}

abcßé 

\end{document}


-- 
Ulrike Fischer 



More information about the XeTeX mailing list