texlive, Package pdftex.def: File `xx-eps-converted-to.pdf‘ not found: using draft setting.

在latex的编译中,eps文件不会主动转换成pdf,造成的报错。

错误报告

Package pdftex.def: File `xx-eps-converted-to.pdf' not found: using draft setting.

解决方案

在setting.json的文件里添加 “–shell-escape”,

 "latex-workshop.latex.tools": [{"name": "latexmk","command": "latexmk","args": ["-synctex=1","-interaction=nonstopmode","-file-line-error","--shell-escape","-pdf","%DOC%"]}, {"name": "xelatex","command": "xelatex","args": ["-synctex=1","-interaction=nonstopmode","-file-line-error","%DOC%"]}, {"name": "pdflatex","command": "pdflatex","args": ["--shell-escape","-synctex=1","-interaction=nonstopmode","-file-line-error","%DOC%"]}, 


本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!

相关文章

立即
投稿

微信公众账号

微信扫一扫加关注

返回
顶部