Latex编译出现字体获取不到的情况
Latex编译出现字体获取不到的情况
问题描述
使用Texstudio时,出现如下错误:
Font shape `TU/ptm/m/n\’ undefined(Font) using `TU/lmr/m/n\’ instead
Font shape `TU/ptm/bx/n\’ undefined(Font) using `TU/ptm/m/n\’ instead
Font shape `TU/ptm/m/it\’ undefined(Font) using `TU/ptm/m/n\’ instead
Font shape `TU/ptm/bx/it\’ undefined(Font) using `TU/ptm/bx/n\’ instead
Label `model\’ multiply defined.
Underfull \hbox (badness 2103) in paragraph
Font shape `TU/ptm/m/sc\’ undefined(Font) using `TU/ptm/m/n\’ instead
Citation `bibid\’ on page 1 undefined
Citation `bibid\’ on page 1 undefined
Overfull \hbox (9.87708pt too wide) in paragraph
Citation `bibid\’ on page 5 undefined
Overfull \hbox (31.744pt too wide) in paragraph
Overfull \hbox (21.80803pt too wide) in paragraph
Overfull \hbox (21.80803pt too wide) in paragraph
Overfull \hbox (21.80803pt too wide) in paragraph
Underfull \hbox (badness 3623) in paragraph
Underfull \hbox (badness 3492) in paragraph
Some font shapes were not available, defaults substituted.
There were undefined references.
There were multiply-defined labels.
简单的说就是,某种字体找不到,但是在投稿的指导文件间并没有强调需要特别安装某种字体,所以我又用miktex进行编译,发现通过了,仔细查看了编译配置选项,发现miktex使用PdfLatex.exe进行编译,而texstudio中,默认使用XeLatex(这里可能是因为我听说XeLatex对中文支持较好,以前改过配置,-_-||自己坑自己)
解决办法
Texstudio 中 选项 -> 设置Texstudio -> 构建
将XeLtax移除,添加PdfLatex即可。
———————
作者:strange_jiong
来源:CSDN
原文:https://blog.csdn.net/dream_allday/article/details/84997874
版权声明:本文为博主原创文章,转载请附上博文链接!