[OS X TeX] XeLaTeX, fontspec and Latin Modern fonts: It doesn't seem to work

Franck Pastor franck.pastor at skynet.be
Sat Feb 17 12:40:13 CET 2007


Hello everybody,

I am doing my first steps with XeTeX-XeLaTeX (coming from the latter  
TeXLive 2007, installed with MacTeX), with this document (saved in  
UT8-Unicode encoding of course) typesetted with TeXShop 2.10beta8:

\documentclass{article}
\usepackage{fontspec}% to use the Latin Modern fonts by default
\begin{document}
what?
\end{document}

As I said, it doesn't work. The world "what?" is replaced in the pdf  
file by some horrible letters, and the console tells me:

This is XeTeXk, Version 3.141592-2.2-0.996 (Web2C 7.5.6)
%&-line parsing enabled.
entering extended mode
(./Sans-titre.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/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)
(/usr/local/texlive/2007/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/xkeyval/xkeyval.tex
(/usr/local/texlive/2007/texmf-dist/tex/latex/xkeyval/keyval.tex)))
(/usr/local/texlive/2007/texmf-dist/tex/latex/lm/lmodern.sty)
(/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))
No file Sans-titre.aux.
[1] (./Sans-titre.aux)
## xdv2pdf: use of uninstalled fonts (specified by filename) such as
##   [/usr/local/texlive/2007/texmf-dist/fonts/opentype/public/lm/ 
lmroman10-regular.otf]
## is not supported; try using the xdvipdfmx driver instead.
)
Output written on Sans-titre.pdf (1 page).
Transcript written on Sans-titre.log.

I don't how to switch to the xdvipdfmx driver with TeXShop! And I  
precise that the open type version of the Latin Modern fonts are  
installed, both in "/Library/fonts/Latin Modern" and also in "/usr/ 
local/texlive/2007/texmf-dist/fonts/opentype".

An idea on where the problem lies?

Thanks in advance,

Franck Pastor




------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the macostex-archives mailing list