[XeTeX] Xelatex, TL2007 not working on Mac

rhino64 at freesurf.ch rhino64 at freesurf.ch
Wed Nov 7 20:25:25 CET 2007

Hi All,
    Thanks a lot for your answers. I suppose that something goes wrong with
my installation of MacTeX. In my previous message, I was a little imprecise
since I have indicated that I have installed TL2007. In fact I have installed MacTeX which
claims to be the TL2007.

I have the last beta of TeXLive installed on my Sun (fortunately with the binaries for
almost all architectures). I have then mounted by NFS that version of TeXLive
on my Mac and everything works fine when typesetting a document with XeTeX.

I will redo my installation on Mac by using the Unix installation script and no more the Mac package
installer. I hope this will solve the problems. Once texlive will work correctly,
I will try to know what is going wrong with the MacTeX installation.


Alain Aubord

On Mon, Nov 05, 2007 at 04:30:11PM +0100, Joachim Trinkwitz wrote:
> Am 04.11.2007 um 16:25 schrieb rhino64 at freesurf.ch:
> > For some strange reason, a very
> > simple test file does not compile on Mac
> […]
> > This is certainly a font problem and probably a misconfiguration on  
> > the mac.
> It's a font problem, but no misconfiguration …
> > --------------------------------- 
> > TestFile---------------------------------
> > \documentclass{article}
> > \XeTeXdefaultencoding utf-8
> To quote the homepage of XeTeX:
> »a typesetting system based on a merger of Donald Knuth's TeX system  
> with Unicode and modern font technologies«
> Thus, the default encoding *is* utf-8. \XeTeXdefaultencoding is  
> definitely not needed here, and it's actually only used in very rare  
> cases (legacy files with non-unicode encoding), but somehow the  
> command has made it into many examples found on the internet.
> > \usepackage{fontspec}
> > \defaultfontfeatures{Mapping=tex-text}
> However, you didn't set a default font. Use something like:
> \setmainfont{Hoefler Text}
> or whichever font you have installed in Mac OS X. Most suitable are  
> otf fonts, but in principle you can use every font that works in  
> other applications (it doesn't make much sense to use Computer Modern  
> with XeTeX). – Also recommended:
> \usepackage{xunicode}
> which sets the proper unicode characters for some TeX-specific  
> commands like \$ etc., and:
> \usepackage{xltxtra}
> which provides the XeTeX logos and loads some recommended packages.
> > \begin{document}
> > Typeset with XeLaTex
> (thus you could use \XeLaTeX here with xltxtra)
> > \end{document}

More information about the XeTeX mailing list