编译错误“option-unknown”-unicode-math

编译错误“option-unknown”-unicode-math

我正在尝试使用我在网上找到的 CV 模板。我非常喜欢它,但我有点菜鸟,不知道如何解决编译时的错误。我首先遇到这个错误,我不确定是否还会有其他错误:

unicode-math.sty 385 ! 键值错误:“option-unknown” ! ! 包 unicode-math 的未知选项“vargreek-shape”。 ! ! 有关更多信息,请参阅键值文档。 ! 如需立即获得帮助,请输入 H 。 !.................................................
l.385 \ProcessKeysOptions {unicode-math}

我尝试在网上查找类似问题的解决方案,但都没有太大帮助。有没有什么方法可以修改它以使其能够编译?

这是主要代码:

\documentclass[11pt, a4paper]{awesome-cv} 
\fontdir[fonts/] % Specify the location of the included fonts
\colorlet{awesome}{awesome-red}
\renewcommand{\acvHeaderSocialSep}{\quad\textbar\quad} 
\name{Claud D.}{Park}
\address{246-1002, Gwangmyeongmayrouge Apt. 86, Cheongna lime-ro, Seo-gu, Incheon-si, 404-180, Rep. of KOREA}
\mobile{(+82) 10-9030-1843}
\email{[email protected]}
\homepage{www.posquit0.com}
\github{posquit0}
\linkedin{posquit0}
\position{Software Engineer{\enskip\cdotp\enskip}Security Expert}
\quote{``Make the change that you want to see in the world."}
\makecvfooter{\today}{Claud D. Park~~~•~~~Résumé}{\thepage}
\begin{document}
\makecvheader 
\input{cv-sections/education.tex}
\input{cv-sections/skills.tex}
\input{cv-sections/experience.tex}
\end{document}

抱歉,我甚至不知道从哪里开始看,也不知道您希望我向您展示哪些部分。

答案1

该模板有新版本。

请点击此处:https://github.com/posquit0/Awesome-CV/commit/6e8586270b203d5861377ba017f30cf16ed425cc

您必须将第 1) 行替换为第 2) 行即可解决问题:

1)\RequirePackage[math-style=TeX,vargreek-shape=unicode]{unicode-math}

2)\RequirePackage{unicode-math}

答案2

我设法通过以下方式解决了这个问题注释掉下面这coverletter.clsawesome-cv.cls

% comment out this line which causes this issue
%\RequirePackage[math-style=TeX,vargreek-shape=unicode]{unicode-math}

并添加一条新语句

% add this instead
\RequirePackage{unicode-math}

正如 Consuelo 提到的,可以在以下位置找到相应的修复程序这个 git 提交

相关内容