I am trying for about a week to launch unicode-math package on XeLaTeXwith XeLaTeX and got nothing. PDF is created well but all cyrillicCyrillic symbols in mathmodemath mode are skipped. I tryedtried using different math fonts - no progress at all. In log file, I found low-level error:
Missing character: There is no [cyrillic letter from input] in font cmmi12!
Missing character: There is no [cyrillic letter from input] in font cmmi12!
But all fonts used in document are unicodeUnicode ones.
I am typesetting with MikTeX package (texify util), using TeXworks with settings XeLaTeX+MakeIndex+BibTeX with additional --tex-option=--shell-escape and --tex-option=-8bit for minted package. Removing these flags did not help.
Here is a file iI want to be processed well (of course it is UTF-8).
\documentclass[12pt]{book}
\usepackage{polyglossia}
\setdefaultlanguage[spelling=modern]{russian}
\setotherlanguage{english}
\defaultfontfeatures{Ligatures={TeX}}
\setmainfont{CMU Serif}
\setsansfont{CMU Sans Serif}
\setmonofont{CMU Typewriter Text}
\usepackage{amsmath, amssymb}
\usepackage{color}
\usepackage[russian]{hyperref}
\usepackage{minted}
\usepackage{unicode-math}
\setmathfont{Latin Modern Math}
\frenchspacing
\begin{document}
Просто буквы % Plain letters
$$Память: M_{доп}(n) = \Theta(N)$$ % Memory: M_add(n) = \Theta(n)
\end{document}
Looking for your help.