[XeTeX] Θέμα: Re: fontspec package problem
Apostolos Syropoulos
asyropoulos at yahoo.com
Fri Dec 22 17:12:46 CET 2006
OK this works but there is still another problem. Process with XeLaTeX
the attached file and you will see that the page headers are wrong. In
fact, they are "typeset" using the Computer Modern OpenType fonts,
which do not contain Greek letters.
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 *
****************************************************************
----- Original Message ----
From: Will Robertson <wspr81 at gmail.com>
To: Unicode-based TeX for Mac OS X and other platforms <xetex at tug.org>
Sent: Friday, December 22, 2006 2:20:42 AM
Subject: Re: [XeTeX] Θέμα: Re: fontspec package problem
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
_______________________________________________
XeTeX mailing list
postmaster at tug.org
http://tug.org/mailman/listinfo/xetex
___________________________________________________________
Χρησιμοποιείτε Yahoo!;
Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail
διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών
μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example.tex
Type: text/x-tex
Size: 881 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20061222/24730fd9/attachment.bin
More information about the XeTeX
mailing list