LaTeXTools插件无法在Ubuntu上编译

LaTeXTools插件无法在Ubuntu上编译

本文介绍了Sublime Text 3 LaTeXTools插件无法在Ubuntu上编译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一段时间以来,我一直是Sublime Text的LaTeXTools插件的粉丝.但是,作者最近更新了该插件,它将不再构建我的LaTeX文档.我想知道是否还有其他人有这个问题,并且知道如何解决?这是我得到的完整控制台输出:

I've been a fan of the LaTeXTools plugin for Sublime Text for a while. However, the author recently updated the plugin, and it will no longer build my LaTeX documents. I'm wondering if anyone else has had this problem and knows how to fix it? Here's the full console output that I'm getting:

[Compiling /home/tingley/Dropbox/testtex.tex]

TraditionalBuilder: Invoking latexmk...

COULD NOT COMPILE!

Attempted command:latexmk -cd -e $pdflatex = 'pdflatex -interaction=nonstopmode -synctex=1 %S %O' -f -pdf testtex.tex
Build engine: Traditional Builder

我在带有TeXLive的Ubuntu 13.10上使用Sublime Text 3.我可以使用以下命令手动编译文档并生成PDF:

I'm using Sublime Text 3 on Ubuntu 13.10 with TeXLive. I can manually compile the document and generate a PDF with the following command:

pdflatex ~/Dropbox/testtex.tex

不过,我希望能够在Sublime中轻松完成此操作.我已经尝试运行更新LaTeXTools和迁移设置",以及通过程序包控制删除并重新安装插件.

I would like to be able to do this easily within Sublime, though. I've already tried running "Update LaTeXTools and migrate settings" as well as removing and re-installing the plugin through package control.

谢谢!

推荐答案

我也遇到了同样的问题.我做了两件事解决了这个问题.迁移我的偏好后,我打开了:

I had the same problem too. I did 2 things that fixed the problem.After migrating my preferences, I opened:

然后我删除了=之后和'%E之前的空格:

and I removed the space after the = and before '%E:

在DEFAULT_COMMAND_LATEXMK中.

in the DEFAULT_COMMAND_LATEXMK.

我还更改了文件:

特别是在平台设置:根据您的计算机的需要进行调整"中,我更改了"linux"部分:

specifically in the "Platform settings: adapt as needed for your machine" I changed the "linux" section:

到"texpath":"$ PATH:/usr/texbin"

to "texpath" : "$PATH:/usr/texbin"

保存更改后,我转到首选项"->软件包设置"->"LaTexTools",然后选择重新配置LaTexTools并迁移设置".

After saving the changes, I went to Preferences->Package Settings->LaTexTools and selected Reconfigure LaTexTools and migrate settings.

重新开始升华并准备就绪.

Restart Sublime and Ready.

我在Arch Linux中使用sublime-text-2,但我认为所做的更改会起作用.

I use sublime-text-2 in Arch Linux but I think the changes will work.

这篇关于Sublime Text 3 LaTeXTools插件无法在Ubuntu上编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-30 09:05