我已经搜索了几个小时,但还没有找到解决问题的方法。我正在尝试使用 Texnicle 构建 PDF。我已经设置了 pdflatex,但它总是给我这个:
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013) restricted \write18 enabled.
Emergency stop.
<*> samplefile
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on texput.log.
entering extended mode
! I can't find file `samplefile'.
<*> samplefile
(Press Enter to retry, or Control-D to exit)
Please type another input file name
! Emergency stop.
<*> samplefile
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on texput.log.
***------------------------------------------------------------
*** Running bibtex on samplefile ...
***------------------------------------------------------------
Compile aborted.
I couldn't open file name `samplefile.aux'
*** pdflatex.engine has completed.
有任何想法吗?
当我使用控制台或 Latexian 时,一切都很好!
这么久...
答案1
尽管我从未听说过 Texnicle,但它似乎在项目文件的位置运行 latex,因此您的主 tex 文件需要在那里(或在 Tex 输入路径上),否则 TeX 将找不到它。