latex3 / unicode-math

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

range: slot number syntax using ` (range={`\…}) stopped working #437

Open Socob opened 6 years ago

Socob commented 6 years ago

Description

In the latest versions of unicode-math (0.8k, 0.8l), it seems that giving slot numbers using the TeX backtick syntax stopped working.

Check/indicate

Minimal example demonstrating the issue

\documentclass{article}
\usepackage{unicode-math}
\setmathfont{texgyrepagella-math.otf}
\setmathfont{texgyrepagella-math.otf}[range={`\+}]
\begin{document}
\[
  +
\]
\end{document}

Further details

I’m getting the following error message:

! Undefined control sequence.
<argument> `\+

l.4 ...athfont{texgyrepagella-math.otf}[range={`\+}]
wspr commented 6 years ago

Thanks, I’ll try to sort this out before too long.