[OS X TeX] Re : XeLaTeX& Unicode

delanoy at math.univ-lyon1.fr delanoy at math.univ-lyon1.fr
Sun Aug 14 03:08:21 EDT 2005

>Try downloading the xunicode and fontspec packages from:
>Then install them inside ~/Library/texmf/tex/xelatex/, and compile
>the following (the first two lines are for TeXShop, in case you're
>using it):
>     %!TEX TS-program = xelatex
>     %!TEX encoding = UTF-8 Unicode
>     \documentclass{article}
>     \usepackage{xunicode,fontspec}
>     \setromanfont[Mapping=tex-tex]{Hoefler Text}
>     \begin{document}
>      This is the greek letter µ. (yes, this is $\mu$).
>     \end{document}
>Works here (you'll notice the difference between the two µ's, the >one 
from Hoefler Text and the other from Computer Modern.

     Yes indeed, all this works fine. However, the first "mu" above was
by Alt+M on my usual French keyboard. Now, if I switch to the Greek keyboard
inside my Mac and write "mu" in the source file with that keyboard, then
it doesn't
work any more (the PDF output gives a blank character instead of a "mu").

  So it seems that the native Greek keyboard on my Mac does not use Unicode.
How may I solve this compatibility problem ? Should I create my own Greek
on the Mac ? How is this done ?


--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>

More information about the MacOSX-TeX mailing list