<div dir="ltr">I am using TeXLive 2008.<br><br>I tried unicode-math package on 32 bin Linux and it is fine, but if you use that on 64 bit Linux, you will see some strange things. At first I thought maybe this is a bug of a specific 64bit Linux distribution but I tried various other 64 bit Linux dstribution and the same happened.<br>
<br>Try:<br><br>%%%%%%%%%%%%%%%%%%%%%<br>\documentclass{article}<br>\usepackage{unicode-math}<br>\begin{document}<br>$$\sum_{n=1}$$<br>$$\sqrt{x+6}$$<br>$$X=Ae^{\sqrt{|\lambda|}x}+Be^{-\sqrt{|\lambda|}x}$$<br>\end{document}<br clear="all">
%%%%%%%%%%%%%%%%5<br><br>As you can see there are problems with every single of those formulas, but there was no problem on 32 Bit Linux. <br><br>This is the log:<br>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>This is XeTeXk, Version 3.1415926-2.2-0.999.6 (Web2C 7.5.7) (format=xelatex 2008.11.7)&nbsp; 7 NOV 2008 10:35<br>
entering extended mode<br>&nbsp;%&amp;-line parsing enabled.<br>**untitled-1.tex<br>(./untitled-1.tex<br>LaTeX2e &lt;2005/12/01&gt;<br>Babel &lt;v3.8l&gt; and hyphenation patterns for english, usenglishmax, dumylang, noh<br>yphenation, german-x-2008-06-18, ngerman-x-2008-06-18, ancientgreek, ibycus, ar<br>
abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutc<br>h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman, mono<br>greek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian, la<br>
tin, lithuanian, mongolian, mongolian2a, bokmal, nynorsk, polish, portuguese, r<br>omanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, turki<br>sh, ukenglish, ukrainian, uppersorbian, welsh, loaded.<br>
(/usr/local/texlive/2008/texmf-dist/tex/latex/base/article.cls<br>Document Class: article 2005/09/16 v1.4f Standard LaTeX document class<br>(/usr/local/texlive/2008/texmf-dist/tex/latex/base/size10.clo<br>File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)<br>
)<br>\c@part=\count79<br>\c@section=\count80<br>\c@subsection=\count81<br>\c@subsubsection=\count82<br>\c@paragraph=\count83<br>\c@subparagraph=\count84<br>\c@figure=\count85<br>\c@table=\count86<br>\abovecaptionskip=\skip41<br>
\belowcaptionskip=\skip42<br>\bibindent=\dimen102<br>)<br>(./unicode-math.sty<br>Package: unicode-math 2008/08/27 v0.3b Unicode maths in XeLaTeX<br><br>(/usr/local/texlive/2008/texmf-dist/tex/xelatex/fontspec/fontspec.sty<br>
Package: fontspec 2008/08/09 v1.18 Advanced font selection for XeLaTeX<br><br>(/usr/local/texlive/2008/texmf-dist/tex/generic/ifxetex/ifxetex.sty<br>Package: ifxetex 2008/09/18 v0.4 Provides ifxetex conditional<br>)<br>\c@zf@newff=\count87<br>
\c@zf@index=\count88<br>\c@zf@script=\count89<br>\c@zf@language=\count90<br><br>(/usr/local/texlive/2008/texmf-dist/tex/latex/tools/calc.sty<br>Package: calc 2005/08/06 v4.2 Infix arithmetic (KKT,FJ)<br>\calc@Acount=\count91<br>
\calc@Bcount=\count92<br>\calc@Adimen=\dimen103<br>\calc@Bdimen=\dimen104<br>\calc@Askip=\skip43<br>\calc@Bskip=\skip44<br>LaTeX Info: Redefining \setlength on input line 75.<br>LaTeX Info: Redefining \addtolength on input line 76.<br>
\calc@Ccount=\count93<br>\calc@Cskip=\skip45<br>)<br>(/usr/local/texlive/2008/texmf-dist/tex/latex/xkeyval/xkeyval.sty<br>Package: xkeyval 2008/08/13 v2.6a package option processing (HA)<br><br>(/usr/local/texlive/2008/texmf-dist/tex/generic/xkeyval/xkeyval.tex<br>
\XKV@toks=\toks14<br>\XKV@tempa@toks=\toks15<br>\XKV@depth=\count94<br>File: xkeyval.tex 2008/08/13 v2.6a key=value parser (HA)<br><br>(/usr/local/texlive/2008/texmf-dist/tex/generic/xkeyval/keyval.tex)))<br>(/usr/local/texlive/2008/texmf-dist/tex/latex/base/fontenc.sty<br>
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package<br><br>(/usr/local/texlive/2008/texmf-dist/tex/xelatex/euenc/eu1enc.def<br>File: eu1enc.def 2008/03/08 v0.1d Experimental unicode font encoding<br>)<br>LaTeX Font Info:&nbsp;&nbsp;&nbsp; Try loading font information for EU1+lmr on input line 100.<br>
<br><br>(/usr/local/texlive/2008/texmf-dist/tex/xelatex/euenc/eu1lmr.fd<br>File: eu1lmr.fd 2007/01/14 v1.3 Font defs for Latin Modern<br>))<br>LaTeX Info: Redefining \itshape on input line 1163.<br>LaTeX Info: Redefining \slshape on input line 1166.<br>
LaTeX Info: Redefining \scshape on input line 1169.<br>LaTeX Info: Redefining \upshape on input line 1172.<br><br>fontspec.cfg loaded.<br>(/usr/local/texlive/2008/texmf-dist/tex/xelatex/fontspec/fontspec.cfg))<br>\c@um@fam=\count95<br>
<br>(./unicode-math.tex) (./unicode-math-add.tex)<br>LaTeX Info: Redefining \sqrt on input line 995.<br>) (./untitled-1.aux)<br>\openout1 = `untitled-1.aux&#39;.<br><br>LaTeX Font Info:&nbsp;&nbsp;&nbsp; Checking defaults for OML/cmm/m/it on input line 3.<br>
LaTeX Font Info:&nbsp;&nbsp;&nbsp; ... okay on input line 3.<br>LaTeX Font Info:&nbsp;&nbsp;&nbsp; Checking defaults for T1/cmr/m/n on input line 3.<br>LaTeX Font Info:&nbsp;&nbsp;&nbsp; ... okay on input line 3.<br>LaTeX Font Info:&nbsp;&nbsp;&nbsp; Checking defaults for OT1/cmr/m/n on input line 3.<br>
LaTeX Font Info:&nbsp;&nbsp;&nbsp; ... okay on input line 3.<br>LaTeX Font Info:&nbsp;&nbsp;&nbsp; Checking defaults for OMS/cmsy/m/n on input line 3.<br>LaTeX Font Info:&nbsp;&nbsp;&nbsp; ... okay on input line 3.<br>LaTeX Font Info:&nbsp;&nbsp;&nbsp; Checking defaults for OMX/cmex/m/n on input line 3.<br>
LaTeX Font Info:&nbsp;&nbsp;&nbsp; ... okay on input line 3.<br>LaTeX Font Info:&nbsp;&nbsp;&nbsp; Checking defaults for U/cmr/m/n on input line 3.<br>LaTeX Font Info:&nbsp;&nbsp;&nbsp; ... okay on input line 3.<br>LaTeX Font Info:&nbsp;&nbsp;&nbsp; Checking defaults for EU1/lmr/m/n on input line 3.<br>
LaTeX Font Info:&nbsp;&nbsp;&nbsp; ... okay on input line 3.<br>LaTeX Font Info:&nbsp;&nbsp;&nbsp; Redeclaring math version `normal&#39; on input line 3.<br>\c@zf@famc@Cambria Math=\count96<br>Package fontspec Info: Defining font family for &#39;Cambria Math&#39; with options [Sc<br>
ript=Math,SizeFeatures={{Size=10-},{Size=7-10,Font=Cambria Math,ScriptStyle},{S<br>ize=-7,Font=Cambria Math,ScriptScriptStyle}},] on input line 3.<br>Package fontspec Info: Could not resolve font Cambria Math/B (it might not exis<br>
t) on input line 3.<br>Package fontspec Info: Could not resolve font Cambria Math/I (it might not exis<br>t) on input line 3.<br>Package fontspec Info: Could not resolve font Cambria Math/BI (it might not exi<br>st) on input line 3.<br>
Package unicode-math Info: Defining the default maths font as &#39;Cambria Math&#39; on<br>&nbsp;input line 3.<br>\symum@allsym=\mathgroup4<br><br>(./unicode-math.tex) (./unicode-math-add.tex)<br>LaTeX Font Info:&nbsp;&nbsp;&nbsp; External font `cmex10&#39; loaded for size<br>
(Font)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;7&gt; on input line 4.<br>LaTeX Font Info:&nbsp;&nbsp;&nbsp; External font `cmex10&#39; loaded for size<br>(Font)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;5&gt; on input line 4.<br>&nbsp;[1<br><br>] (./untitled-1.aux) ) <br>Here is how much of TeX&#39;s memory you used:<br>
&nbsp;4795 strings out of 494701<br>&nbsp;68886 string characters out of 1164829<br>&nbsp;225139 words of memory out of 3000000<br>&nbsp;8036 multiletter control sequences out of 10000+50000<br>&nbsp;3973 words of font info for 20 fonts, out of 3000000 for 5000<br>
&nbsp;669 hyphenation exceptions out of 8191<br>&nbsp;34i,4n,58p,472b,208s stack positions out of 5000i,500n,10000p,200000b,50000s<br><br>Output written on untitled-1.pdf (1 page).<br>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br><br>Thanks<br>
-- <br>``Life is not empty,<br>There is kindness, there is apple and there is faith<br><br>One day will come,<br>and to a mendicant I will endow a jasmine&#39;&#39;<br><br>-- Sohrab Sepehri<br>
</div>