[XeTeX] Θέμα: Re: fontspec package problem

Will Robertson wspr81 at gmail.com
Fri Dec 22 01:20:42 CET 2006


On 22/12/2006, at 2:06 , Apostolos Syropoulos wrote:

> I have tried the new fontspec but it is not working:

Oh dear.
Thanks for your patience Apostolos.
This time, I can't reproduce the problem -- by chance, are you asking  
for "Script=Greek" before "ExternalLocation"?
At the moment, "ExternalLocation" is the only fontspec option for  
which order matters, but I would like to change this.
This works for me:

%%%%%%%%%%%%%
\documentclass[12pt]{article}
\usepackage{fontspec}
\begin{document}
\fontspec[
      Script=Greek,
      ItalicFont={[GFSDidotItalic]},
      BoldFont={[GFSDidotBold]},
      BoldItalicFont={[GFSDidotBoldItalic]}
             ]{[GFSDidot]}

{test \itshape test \upshape
\bfseries test \itshape test}

\fontspec[
      ExternalLocation,
      Script=Greek,
      ItalicFont=GFSDidotItalic,
      BoldFont=GFSDidotBold,
      BoldItalicFont=GFSDidotBoldItalic
             ]{GFSDidot}

{test \itshape test \upshape
\bfseries test \itshape test}
\end{document}
%%%%%%%%%%%%%

Hope this helps,
Will





More information about the XeTeX mailing list