unicode-math
unicode-math copied to clipboard
No ligatures in mathbf, mathit, etc (regression?)
Description
In the latest versions of unicode-math, the "ff" ligature no longer works in mathbf, mathit, etc. Notably this affects custom operator names.
Add info or delete as appropriate:
- Relevant for XeTeX
- Relevant for LuaTeX
Minimal example demonstrating the issue
\documentclass{article}
\usepackage{unicode-math}
\setmainfont{Latin Modern Roman}
\setmathrm{Latin Modern Roman}
\begin{document}
$\mathbf{ff}\mathit{ff}\mathrm{ff}$
$\textbf{ff}\textit{ff\/}\textrm{ff}$
\end{document}
Further details
The following is the output of version 0.8n 2019/02/15

The following is the output of version 0.8d 2017/01/27 (this produces bug #330)

Thanks for reporting this. The behaviour here is a recurring issue. I need to address this properly and then document the behaviour — from memory last time I looked into it there wasn’t a simple solution.
For additional information, the working version was created with TexLive 2017 on overleaf. The non-working version of created with both TexLive 2018 and 2019