[OS X TeX] Re : XeLaTeX& Unicode

delanoy at math.univ-lyon1.fr delanoy at math.univ-lyon1.fr
Sun Aug 14 09:08:21 CEST 2005


>Try downloading the xunicode and fontspec packages from:
>
><http://scripts.sil.org/cms/scripts/page.php?
>site_id=nrsi&item_id=xetex_related>
><http://www.ctan.org/tex-archive/macros/xetex/latex/fontspec/>
>
>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
produced
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
keyboard
on the Mac ? How is this done ?

                                                                                                    Ewan


--------------------- 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 macostex-archives mailing list