# What' wrong with this article? It failed in compilation via XeLaTeX [closed]

I wrote an article as follows.

      \documentclass{article}
\usepackage{fontspec}
\usepackage{unicode-math}
\setmathfont{Asana Math}
\setmainfont{Bitstream Vera Serif}
\begin{document}

$$\max\sum_{(i,j)\in A}c_{ij}x_{ij}$$
\end{document}


Unfortunately it failed to make a pdf by XeLaTeX...

      Package scrlfile, 2009/03/25 v3.03 KOMA-Script package (loading files)

) (d:\CTEX\MiKTeX\tex\latex\unicode-math\unicode-math-table.tex))Running
miktex-makemf.exe...
miktex-makemf: The ICU source file could not be found.

Running hbf2gf.exe...

hbf2gf (CJK ver. 4.8.0)

Couldn't find I.cfg'

miktex-maketfm: No creation rule for font ICU.

! Font \zf@basefont="Asana Math/ICU" at 10.0pt not loadable: Metric (TFM) file
\scan_stop:
l.5 \setmathfont{Asana Math}

?


I'm sure that I did install these packages. So it troubled me.

-

## closed as too localized by Speravir, Werner, cgnieder, zeroth, T. VerronMar 3 '13 at 19:24

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

The error says it can't find Asana Math, do you have that font installed? –  David Carlisle Feb 28 '13 at 9:17
Xetex doesn't find asana math. So either it isn't there, not at the correct place or some cache is not up-to-date. Run fc-cache -f` –  Ulrike Fischer Feb 28 '13 at 9:18
@DavidCarlisle I can see it in MiKTeX Package Manager. –  Popopo Feb 28 '13 at 9:26
@UlrikeFischer It returns that "FC: Cannot open -cache..." –  Popopo Feb 28 '13 at 9:27
@Speravir Well, I have found where the problem is: I installed a new version basically which do not concluded some packages I needed to use, despite they were indeed installed in the old version. Thus I had to reinstall them in manager. –  Popopo Mar 3 '13 at 4:53