[XeTeX] strange problem with fontspec

Arnošt Štědrý stedry.arnost at gmail.com
Thu Aug 16 13:32:05 CEST 2007


you are right. everything is ok, now

thanks

arnost

On 8/16/07, Jonathan Kew <jonathan_kew at sil.org> wrote:
>
> On 16 Aug 2007, at 11:52 am, Arnošt Štědrý wrote:
>
> > Hi all,
> > a have problem with fontspec and texlive 2007 on Suse 10.2.
> > Following  code
> >
> > \documentclass[twoside]{book}
> > \usepackage[czech]{babel}
> > \usepackage[xetex]{graphicx}
> > \usepackage{fontspec}
> > \usepackage{xunicode}
> > \usepackage{xltxtra}
> > %\defaultfontfeatures{Scale=MatchLowercase}
> > \setmainfont[Mapping=tex-text]{Minion Pro}
> >
> > \renewcommand{\encodingdefault}{U}
>
> Remove this \renewcommand; fontspec uses the encoding name "EU1", not
> "U", and it will have already set this up correctly. (Perhaps you
> have used an older version of fontspec in the past; it did originally
> use "U", but this has been updated.)
>
> > \begin{document}
> > ěščřžýáí
> > \end{document}
> >
>
> Once you remove the change to \encodingdefault, I believe your file
> should work fine.
>
> JK
>
>
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex
>



-- 
Arnost Stedry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20070816/8b566620/attachment.html 


More information about the XeTeX mailing list