latex3 / unicode-math

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

“range={\partial}” works, but “range={`\∂}” doesn’t #416

Closed Socob closed 6 years ago

Socob commented 6 years ago

I have the following minimal document:

\documentclass{scrartcl}

\usepackage{unicode-math}
% version 1: works
\setmathfont{FreeSans.otf}[range={\partial}]
% version 2: doesn’t work
%\setmathfont{FreeSans.otf}[range={`\∂}]

\begin{document}
There should be a symbol here: $∂$
\end{document}

In this form (“version 1”), everything works as expected. However, if I uncomment the second \setmathfont line (“version 2”), the symbol ∂ doesn’t appear in the output. The same thing happens using only the second version (i. e. if the first \setmathfont line is removed).

Tested using unicode-math v0.8h, fontspec v2.6e.

wspr commented 6 years ago

I've tried this just now in my development version of the package and it seems to now work — hopefully it's also fixed for you in the next release.