Closed
Description
我试着用texstudio 编译demo 模板, 但是出现以下错误
LaTeX error: "kernel/key-unknown" The key 'ctex/chapter/fixskip' is unknown and is being ignored. For immediate help type H <return>. }
LaTeX error: "kernel/key-unknown" The key 'ctex/section/fixskip' is unknown and is being ignored. For immediate help type H <return>. }
LaTeX error: "kernel/key-unknown" The key 'ctex/subsection/fixskip' is unknown and is being ignored. For immediate help type H <return>. }
LaTeX error: "kernel/key-unknown" The key 'ctex/subsubsection/fixskip' is unknown and is being ignored. For immediate help type H <return>. }
fontspec error: "font-not-found" The font "Times New Roman" cannot be found. For immediate help type H <return>. \setmainfont{Times New Roman}
Font EU1/TimesNewRoman(0)/m/n/12.045="Times New Roman:mapping=tex-text;" at 12.045pt not loadable: Metric (TFM) file or installed font not found. \setmainfont{Times New Roman}
fontspec error: "font-not-found" The font "Arial" cannot be found. For immediate help type H <return>. \setsansfont{Arial}
fontspec error: "font-not-found" The font "Courier New" cannot be found. For immediate help type H <return>. \setmonofont{Courier New}
os 版本:ubuntu 16.04
texlive版本: This is XeTeX, Version 3.14159265-2.6-0.99992 (TeX Live 2015/Debian) (preloaded format=xelatex)
字体错误没有全部列出来~
Activity
qiuzhu commentedon Sep 13, 2017
下面给出方法可以采纳:
然后会提示微软的用户协议向导,单击“确定OK”继续
在安装字体后,我们需要使用命令来更新字体缓存:
2.sudo fc-cache -f -v
还有宋体,Ubuntu下没有,需要复制Windows下的字体
yuzhangbit commentedon Sep 13, 2017
@qiuzhu 谢谢回复啦~正在更新texlive , 稍后反馈到这里~
yuzhangbit commentedon Sep 14, 2017
更新到texlive2017以后就没用问题了,在texstudio 可以编译~