[XeTeX] fontspec package problem

Apostolos Syropoulos asyropoulos at yahoo.com
Mon Dec 11 18:07:11 CET 2006


Hello,

When trying to compile the following code:

\documentclass[a4paper]{book}
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage{xgreek}
\begin{document}
\fontspec[Script=Greek,ItalicFont={[GFSBodoniIt]},
BoldFont={[GFSBodoniBold]},                  
BoldItalicFont={[GFSBodoniBoldIt]}]{[GFSBodoni]}
\setromanfont[Script=Greek]{[GFSBodoni]}
\tableofcontents
\chapter{Greek text}
More Greek text
\chapter{even more greek text}
some more greek text
\end{document}

I am getting the following message:

! No declaration for shape EU1/(1)/m/it.
sub at sfcnt ...e forspace shapespace mandatory at arg }
                                                 
error at fontshape else #1{Fo...
l.12 \chapter
             {Greek text}
?

If I press enter the system finishes typesetting the
document, but output is not correct. This is *not* 
related to XeTeX, but to fontspec. Now, either I
am doing something wrong or fontspec has a bug. Any
ideas on how to find a solution to this problem?
Regards,
Apostolos
 

****************************************************************
*Apostolos Syropoulos                                          *
*snail mail: 366, 28th October Str., GR-671 00  Xanthi, HELLAS *
*email     : asyropoulos (at) yahoo (dot) co                   *
*phone num.: +30-2541-028704                                   *
*home page : http://obelix.ee.duth.gr/~apostolo                *
****************************************************************


	

	
		
___________________________________________________________ 
Χρησιμοποιείτε Yahoo!; 
Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail 
διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών 
μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr 



More information about the XeTeX mailing list