MacTeX 2016 中的 XeLaTeX 字型出現問題

MacTeX 2016 中的 XeLaTeX 字型出現問題

考慮程式碼

% !TEX TS-program = XeLaTeX
% !TEX encoding = UTF-8 Unicode

\documentclass[11pt]{book}
\usepackage{unicode-math}
\setmainfont [Ligatures=TeX]     {TeX Gyre Pagella}
\setmathfont [Scale=1.05]          {Latin Modern Math} 
\setmathfont [range=\mathbb]    {TeX Gyre Pagella Math}

\def\csdef #1{\expandafter\def\csname#1\endcsname}
\def\foo #1{\mathop{\mathcal{#1\kern 0pt }}\nolimits}
\def\Newfunction #1#2{\csdef{#1}{\mathop{\mathrm {\rm #2}\kern 0pt}\nolimits}}

\def\bor {\mathcal{B}\mathit{or}}
\Newfunction{Bor}{\mathcal{B}\mathit{or}}
\Newfunction{Imp}{\mathcal{I}\mkern -2mu \textit{mp}}

\parskip 5pt 

\begin{document} 
1) $\foo{B} + \foo{I}$ \par 
2) $\bor+\Bor$ \par
3) $\Imp$ \par
4) $\bigl((  \quad )\bigr)$ \par
\end{document}

對於 XeTeX,版本 3.14159265-2.6-0.99992 (TeX Live 2015),除了第 4 項中的 \big 之外,一切正常。

在此輸入影像描述

對於 XeTeX,版本 3.14159265-2.6-0.99996 (TeX Live 2016),數學在第 2、3 項中消失

在此輸入影像描述

我還是不明白為什麼第1項總是正確的...

電腦:MacMini 2012 年底 + Mac OSX El Capitan 10.11.5

答案1

感謝您回報 @egreg 中的錯誤unicode-math。這兩個問題現已解決

相關版本為 2018-02-01 的 v0.8l。

相關內容