latex安装教程及安装过程遇到的一些问题texstudio编译出现 错误 : 无法执行命令 : xelatex.exe -synctex=1 -interac

2,277 阅读1分钟

在看了这篇文章(blog.csdn.net/UCB001/arti…

Texstudio编译出现 错误 : 无法执行命令 : xelatex.exe -synctex=1 -interaction=nonstopmode “test“.tex

1.环境路径没有配置对

image.png 应该在这个文件下面找 image.png 把这个目录加到系统环境变量即可

image.png 2. 如果还是没有解决问题 报错提示错误 : 无法执行命令 : xelatex.exe -synctex=1 -interaction=nonstopmode "texstudio_UKWTii".tex

未汉化教程:只要在texstudio的options->config texstudio->commands中找到xelatex选项然后把框里的东西换成

xelatex.exe的路径+空格+-synctex=1 -interaction=nonstopmode %.tex即可,如下所示

C:\texlive\2018\bin\win32\xelatex.exe -synctex=1 -interaction=nonstopmode %.tex\

前面那个就是配置到path里面的环境变量+xlatex原有的东西

最后用一段代码试一下

\documentclass[UTF8]{ctexart}

% 这里是导言区 \begin{document} Hello, world! \end{document}

image.png

ps:作为一个新手村菜鸟,咱们再看一下 命令行win+r:cmd 输入xelatex -v有没有出现版本信息 OK,这次不是拒绝访问了

over,完结撒花!