|
From: Christian S. <cs...@mi...> - 2008-01-04 17:41:48
|
Apostolos Syropoulos wrote:
>
> Christian Schenk wrote:
>
>>> Hello,
>
>
>>> If one tries to compile the following XeLaTeX file:
>
>
>>> \documentclass[a4paper]{article}
>
>>> \usepackage{fontspec}
>
>>> \usepackage{xgreek}
>
>>> \usepackage[math-style=tex]{unicode-math}
>
>> \begin{document}
>
>> \setmainfont{GFS Didot}
>
>> \setmathfont{Asana Math} %Use Cambria Math if you like
>
>> απλά μαθηματικά
>
>> \begin{displaymath}
>
>> \sqrt{\sin^{2}x+\cos^{2}x}=1.
>
>> \end{displaymath}
>
>> \end{document}
>
>
>> MikTeX's XeLateX crashes when processing this file, while the one I use under
>
>> OpenSolaris compiles just fine this document and produces the expected result.
>
>> Somehow XeLaTeX has problem handling square roots. Since I am not using
>
>> Windows at all, but some friends do use MiKTeX and have experienced
>
>> this problem I thought it is good idea to report it. Also, note that even really
>
>> old versions of XeTeX 0.997 had no problem processing this file!
>
>> Thank you for the report. Unfortunately, I cannot reproduce the problem
>
>> because I do not own GFS Didot. And btw: I doubt that this is a MiKTeX
>
>> specific problem. I would recommend that you post a message to the XeTeX
>
>> mailing list. Please come back, if you find that it is really a MiKTeX
>
>> problem.
>
> Ok please try the following:
>
> \documentclass[a4paper]{article}
> \usepackage{fontspec}
> \usepackage[math-style=tex]{unicode-math}
> \begin{document}
> \setmainfont{Verdana}
> \setmathfont{Cambria Math}
> %\setmathfont{Asana math}
> simple mathematics
> \begin{displaymath}
> \sqrt{\sin^{2}x+\cos^{2}x}=1.
> \end{displaymath}
> \end{document}
>
>
> Note that this produces the expected result for both cases
> (i.e., when I use Cambria Math and when I use Asana Math).
> As I said I am *not* using Windows so I cannot test whether
> this will compile or not, but based on the reports I got I am
> sure this will crash MikTeX's xelatex.
I get
LaTeX Error: File `unicode-math.sty' not found
|