hyperref fails to run if title contains greek letter #942
-
提交前检查
系统Ubuntu 23.10 on Windows 10 x86_64, 5.15.146.1-microsoft-standard-WSL2 TeX 发行版TeXLive 2023 TeX 编译器XeLaTeX 版本7.5.0 学位类型doctor 问题描述以下MWE编译失败。将标题中的 复现代码\documentclass{thuthesis}
\thusetup{
title = {$\varphi$}
}
\usepackage{hyperref}
\begin{document}
\maketitle
\frontmatter
\mainmatter
\backmatter
\end{document} 编译日志
其他信息No response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
参考 mohuangrui/ucasthesis#154 (comment) ,在导言区添加 \makeatletter
\g@addto@macro\psdmapshortnames{\let\mitvarphi\textphi}
\makeatother 后解决。 不得不说unicode-math真的一定要加吗? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
我想您引用了错误的链接。Anyway,这确实是常见问题。 |
Beta Was this translation helpful? Give feedback.
这是比较常见的问题,请见 https://github.com/mohuangrui/ucasthesis/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98#%E7%AB%A0%E8%8A%82%E6%A0%87%E9%A2%98%E4%B8%AD%E7%9A%84%E6%95%B0%E5%AD%A6%E7%AC%A6%E5%8F%B7%E5%AF%BC%E8%87%B4%E6%8A%A5%E9%94%99。
unicode-math
是现代的数学排版方案,并不仅仅用于在文中书写 unicode 码位的数学符号。