Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

开题报告编译出错 #63

Open
zhuanshulz opened this issue Dec 6, 2024 · 1 comment
Open

开题报告编译出错 #63

zhuanshulz opened this issue Dec 6, 2024 · 1 comment

Comments

@zhuanshulz
Copy link

编译报错,似乎是字体问题,但是为所有用户安装了"Source Han Sans CN Heavy.otf"之后,仍然报错。

METAFONT failed for some reason

Sorry, but miktex-maketfm did not succeed.

The log file hopefully contains the information to get MiKTeX going again:

  C:\Users\xx\AppData\Local\MiKTeX\miktex\log\miktex-maketfm.log

No file proposal.bbl.

! Package fontspec Error: The font "Source Han Sans CN Heavy" cannot be found.

For immediate help type H <return>.
 ...                                              
                                                  
l.52 \makecover
@hushidong
Copy link
Collaborator

方法:

  1. 安装字体后,用 fc-cache -fsv 命令刷新一下字体缓存

或者

  1. 在NUDTproposal.cls 中的第24行,换一个系统中存在的合适的字体。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants