Lyx 超时导出 latexpdf

Lyx 超时导出 latexpdf

我最近安装了 Lyx。我之前能够创建一个 pdf 文件,但它给出了错误,例如 article.cls 文件不存在。然后我卸载并重新安装了 MikTeX,并使用管理控制台在 MikTeX 上安装了很多软件包。现在,在 Lyx 中它没有给出任何错误。我在 Lyx 中创建了一个文档。我想要 pdf 版本。如果我导出为文本文件或 word doc,它可以完美导出,但当导出为 pdflatex 时,它会超时。请帮助解决此问题。

我可以看到以下日志

21:16:18.405: Exporting ...
21:16:18.445: (buffer-export-as)
21:16:18.476: pdflatex  "newfile5.tex"
21:16:19.682: This is pdfTeX, Version 3.14159265-2.6-1.40.21 (MiKTeX 
2.9.7380 64-bit)
21:18:39.076: Automatic save done.support\FileName.cpp (273): Could 
not move file 
C:/xxxxxxxLocal/Temp/lyx_tmpdir.DYaYdLOM7176/lyxautoHp7176.lyx to 
C:/Users/xxxxxxxx/Documents/#newfile5.lyx#
21:20:44.524: Automatic save done.
21:23:39.085: Automatic save done.
21:25:44.537: Automatic save done.
21:28:39.088: Automatic save done.support\Systemcall.cpp (268): 
Systemcall: 'pdflatex  "newfile5.tex"' did not finish!
support\Systemcall.cpp (269): error The process timed out. It might 
be restarted automatically.
support\Systemcall.cpp (270): status The process exited normally.
Error: LaTeX failed
----------------------------------------
The external program
pdflatex 
finished with an error. It is recommended you fix the cause of the 
external program's error (check the logs). 
21:29:02.481: Error while exporting format: pdf2 
C:/Users/xxxxx/Downloads/cc.pdf

答案1

我已卸载并重新安装 Lyx。它再次给出错误“未找到文档类 article.cls”。但它能够创建 pdflatex 文档。因此,继续忽略频繁的错误,因为它满足了我的目的。

相关内容