![從 2.0-beta.6.8 開始,無法在 textmate 使用 pdflatex](https://rvso.com/image/305753/%E5%BE%9E%202.0-beta.6.8%20%E9%96%8B%E5%A7%8B%EF%BC%8C%E7%84%A1%E6%B3%95%E5%9C%A8%20textmate%20%E4%BD%BF%E7%94%A8%20pdflatex.png)
這是 temp.tex :
\documentclass[a4paper]{article}
\begin{document}
TEST
\end{document}
和 temp.log :
This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014)
(preloaded format=pdflatex 2014.6.30) 16 FEB 2015 21:58 entering
extended mode \write18 enabled. file:line:error style messages
enabled. %&-line parsing enabled.
**temp.tex (./temp.tex LaTeX2e <2014/05/01> Babel <3.9k> and hyphenation patterns for 78 languages loaded.
! LaTeX Error: File `article.cls' not found.
Type X to quit or <RETURN> to proceed, or enter new name. (Default
extension: cls)
Enter file name: ./temp.tex:2: Emergency stop. <read *>
l.2 ^^M
*** (cannot \read from terminal in nonstop modes)
Here is how much of TeX's memory you used: 10 strings out of 493117
172 string characters out of 6135433 52909 words of memory out of
5000000 3571 multiletter control sequences out of 15000+600000 3640
words of font info for 14 fonts, out of 8000000 for 9000 1141
hyphenation exceptions out of 8191 10i,0n,7p,43b,8s stack positions
out of 5000i,500n,10000p,200000b,80000s ./temp.tex:2: ==> Fatal error
occurred, no output PDF file produced!
終端機中的命令列可以完成這項工作。
如何解決問題?
答案1
我在首選項選項中有個人路徑配置。消除這些變數後,一切都恢復正常。