latex3 / unicode-math

XeLaTeX/LuaLaTeX package for using unicode/OpenType maths fonts
http://ctan.org/pkg/unicode-math
LaTeX Project Public License v1.3c
239 stars 28 forks source link

Missing Dependency on lm-math package #491

Closed e-kwsm closed 5 years ago

e-kwsm commented 5 years ago

Description

tlmgr shows dependency of unicode-math, i.e. only on fontspec:

$ tlmgr info --data localrev,depends unicode-math
48309,fontspec

But unicode-math uses Latin Modern Math, provided by lm-math, unless math font is loaded.

Check/indicate

Minimal example demonstrating the issue

$ tlmgr info --data installed unicode-math lm-math
1
0
\documentclass{article}
\usepackage{unicode-math}
%\setmathfont{texgyrepagella-math.otf}
\begin{document}
\[
  a = b
\]
\end{document}

raises ! The font "latinmodern-math" cannot be found.

Further details

wspr commented 5 years ago

Hmm, good point if unicode-math is installed using a "minimal" TeX Live system. I can improve the readme, and then when the update is sent to CTAN I can flag with the tlmgr people (maybe that just means the TeX Live people).