[XeTeX] Euler and xetex

Stephen Moye stephenmoye at mac.com
Wed Feb 7 21:51:31 CET 2007


 On Wednesday, February 07, 2007, at 02:53PM, "Jonathan Kew" <jonathan_kew at sil.org> wrote:
>On 7 Feb 2007, at 7:23 pm, Stephen Moye wrote:
>
>>  If I run:
>>
>> %%=====8><-----%%
>>
>> %!TEX TS-program = xelatex
>>
>> \documentclass{article}
>> %
>> \usepackage{euler}
>> \usepackage{xunicode,fontspec}
>>
>> %\setromanfont{Hoefler Text}
>>
>> \begin{document}
>>
>> This is $x^2$ kinds of fun.
>>
>> \end{document}
>>
>> %%=====8><-----%%
>>
>> then the euler font is rendered in Helvetica.
>
>Helvetica? In that case, is it also red, and do you get a message  
>about it from xdv2pdf?
>
>Try loading fontspec with the [cm-default] option (even if you're  
>planning to subsequently change the font with \setromanfont etc), thus:
>
>	\usepackage{euler}
>	\usepackage[cm-default]{fontspec}
>	\usepackage{xunicode}
>
>It then works for me.
>
>Looks like something is broken between euler and fontspec's (fairly  
>new) habit of defaulting to LM fonts. Will, can you help us out?



Well, that worked perfectly -- thank you! But, no, the Helvetica math was not red 
and there was nothing about xdv2pdf in the console: 


%%=====8><-----%%


This is XeTeXk, Version 3.141592-2.2-0.996 (Web2C 7.5.6)
 %&-line parsing enabled.
entering extended mode
(./fin.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak, german, ng
erman, danish, esperanto, spanish, catalan, galician, estonian, farsi, finnish,
 french, greek, monogreek, ancientgreek, croatian, hungarian, interlingua, ibyc
us, indonesian, icelandic, italian, latin, mongolian, dutch, norsk, polish, por
tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian, swedish, 
turkish, ukenglish, ukrainian, loaded.
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2007/texmf-dist/tex/latex/euler/euler.sty
Package: `euler' v2.5 <1995/03/05> (FJ and FMi)

LaTeX Font Warning: Encoding `OML' has changed to `U' for symbol font
(Font)              `letters' in the math version `normal' on input line 35.


LaTeX Font Warning: Encoding `OML' has changed to `U' for symbol font
(Font)              `letters' in the math version `bold' on input line 35.

) (/usr/local/texlive/2007/texmf-dist/tex/xelatex/fontspec/fontspec.sty
(/usr/local/texlive/2007/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/tools/calc.sty)
(/Users/sgm/Library/texmf/tex/latex/xkeyval/run/xkeyval.sty
(/Users/sgm/Library/texmf/tex/latex/xkeyval/run/xkeyval.tex
(/Users/sgm/Library/texmf/tex/latex/xkeyval/run/keyval.tex)))
(/usr/local/texlive/2007/texmf-dist/tex/latex/lm/lmodern.sty

LaTeX Font Warning: Encoding `U' has changed to `OML' for symbol font
(Font)              `letters' in the math version `normal' on input line 14.


LaTeX Font Warning: Encoding `U' has changed to `OML' for symbol font
(Font)              `letters' in the math version `bold' on input line 18.

) (/usr/local/texlive/2007/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2007/texmf-dist/tex/xelatex/euenc/eu1enc.def)
(/usr/local/texlive/2007/texmf-dist/tex/xelatex/euenc/lm/eu1lmr.fd))
fontspec.cfg loaded.
(/usr/local/texlive/2007/texmf-dist/tex/xelatex/fontspec/fontspec.cfg))
(/usr/local/texlive/2007/texmf-dist/tex/xelatex/xunicode/xunicode.sty)
(./fin.aux) (/usr/local/texlive/2007/texmf-dist/tex/latex/lm/omllmm.fd)
(/usr/local/texlive/2007/texmf-dist/tex/latex/lm/omslmsy.fd)
(/usr/local/texlive/2007/texmf-dist/tex/latex/lm/omxlmex.fd)
(/usr/local/texlive/2007/texmf-dist/tex/latex/amsfonts/ueuf.fd)
(/usr/local/texlive/2007/texmf-dist/tex/latex/amsfonts/ueus.fd)
(/usr/local/texlive/2007/texmf-dist/tex/latex/amsfonts/ueuex.fd) [1] (./fin.aux
)
*** font lmmi10 not found in psfonts.map or host system; will substitute Helvetica glyphs

*** font lmmi7 not found in psfonts.map or host system; will substitute Helvetica glyphs
 )
Output written on fin.pdf (1 page).
Transcript written on fin.log.


More information about the XeTeX mailing list