为什么在别人的latex模板上,增加或者删除点东西,一运行就出现如下问题:
! Fatal fontspec error: "cannot-use-pdftex"
!
! The fontspec package requires either XeTeX or LuaTeX to function.
!
! You must change your typesetting engine to, e.g., "xelatex" or "lualatex"
! instead of plain "latex" or "pdflatex".
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>
后面换了xetex和luatex出现一样的错误.
系统是ubuntu
求教为什么?
1
billwsy 2015-08-03 09:43:20 +08:00 via iPhone
换了XeLaTeX还是XeTeX?
|
2
chuan 2015-08-03 09:55:06 +08:00
开始是用什么编译的,这个应该用xelatex?
|
3
eamars 2015-08-03 10:20:01 +08:00
用XeLaTex编译
如果你用TexStudio,你可以在Tools-Commands选择XeLaTex编译器编译当前的文件 |
4
tooweakchen OP @billwsy 换了xelatex
|
5
tooweakchen OP @chuan 开始用的latex,后面用xelatex也没用
|
6
tooweakchen OP @eamars 能给个moderncv的中文简历模板吗?我自己下载别人的后,运行出现问题.
|
7
kilasuelika 2015-08-03 12:45:40 +08:00 1
@tooweakchen 我有一份,在xelatex下编译通过,你留个邮箱吧。
|
8
tooweakchen OP @kilasuelika 那我留个QQ邮箱,gmail怕被墙了,[email protected],谢谢你啊.谢谢
|
9
kilasuelika 2015-08-03 17:17:03 +08:00
@tooweakchen 不用谢~
|
10
kilasuelika 2015-08-03 17:17:15 +08:00
@tooweakchen 已发送
|
11
tooweakchen OP @kilasuelika 这是英文版的,这中文该怎么改啊!求教
|
12
tooweakchen OP @kilasuelika 你的简历是用英文写的?
|
13
kilasuelika 2015-08-04 09:00:07 +08:00
@tooweakchen 把具体内容用英文写不就可以了。
比如说: \cvitem{Description}{This thesis explored the idea that money has been the cause of untold anguish and suffering in the world. I found that it has, in fact, not.} 把“This thesis explored the idea that money has been the cause of untold anguish and suffering in the world. I found that it has, in fact, not.”删除用中文写,前面的Description就用英文呀。 |