unicode-math icon indicating copy to clipboard operation
unicode-math copied to clipboard

No ligatures in mathbf, mathit, etc (regression?)

Open xsrvmy opened this issue 5 years ago • 2 comments
trafficstars

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 image

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

xsrvmy avatar May 11 '20 16:05 xsrvmy

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.

wspr avatar May 12 '20 07:05 wspr

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

xsrvmy avatar May 12 '20 19:05 xsrvmy