Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I wrote an article as follows.

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

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

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

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

      ) (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
      or installed font not found.
      <to be read again>
               \scan_stop:
      l.5 \setmathfont{Asana Math}

      ? 

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

share|improve this question
The error says it can't find Asana Math, do you have that font installed? – David Carlisle Feb 28 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 at 9:18
@DavidCarlisle I can see it in MiKTeX Package Manager. – Popopo Feb 28 at 9:26
@UlrikeFischer It returns that "FC: Cannot open -cache..." – Popopo Feb 28 at 9:27
1  
@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 at 4:53
show 7 more comments

closed as too localized by Speravir, Werner, cgnieder, zeroth, T. Verron Mar 3 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, see the FAQ.

Browse other questions tagged or ask your own question.