一个近期频繁出现的错误PDFLaTeX failed to create a pdf file.--你的文件名有空格吗?
2012-03-19 17:39
1216 查看
期很多人问及这样的错误:
(C:\CTEX\MiKTeX\tex\latex\base\article.clspdflatex.exe: Invalid argument: new*name.synctex(busy)
pdflatex.exe: Data: new*name.synctex(busy)
PDFLaTeX failed to create a pdf file.
For possible explanations start the command from the Command Prompt...
或者
(C:\CTEX\MiKTeX\tex\latex\base\article.clslatex.exe: Invalid argument: new*name.synctex(busy)
latex.exe: Data: new*name.synctex(busy)
LaTeX failed to create a dvi file.
For possible explanations start the command from the Command Prompt...
【问题解析】
这不是TeX自身的问题,而是MIKTeX的.synctex问题,Synctex好像非常讨厌文件名里的空格。可以关注其官网是否会修复这个问题。
参考:http://comments.gmane.org/gmane.editors.winedt/4966
http://sourceforge.net/tracker/index.php?func=detail&aid=2101871&group_id=10783&atid=110783
【解决方案】
第一,命名源文件不要带空格即可。这个容易做到。
第二,若是觉得上面解决不好,那就取消Synctex,这样的话pdf文件双向搜索的功能就没有了,但是运行没有问题。操作步骤如下:
![](http://s13.sinaimg.cn/middle/5e16f177h9ea9fc3f500c&690)
点击 PDFviewer选项卡。勾选掉图中选项即可。
![](http://s4.sinaimg.cn/middle/5e16f177h9ea9fc4e8ea3&690)
and Enjoy your LaTeX!
(C:\CTEX\MiKTeX\tex\latex\base\article.clspdflatex.exe: Invalid argument: new*name.synctex(busy)
pdflatex.exe: Data: new*name.synctex(busy)
PDFLaTeX failed to create a pdf file.
For possible explanations start the command from the Command Prompt...
或者
(C:\CTEX\MiKTeX\tex\latex\base\article.clslatex.exe: Invalid argument: new*name.synctex(busy)
latex.exe: Data: new*name.synctex(busy)
LaTeX failed to create a dvi file.
For possible explanations start the command from the Command Prompt...
【问题解析】
这不是TeX自身的问题,而是MIKTeX的.synctex问题,Synctex好像非常讨厌文件名里的空格。可以关注其官网是否会修复这个问题。
参考:http://comments.gmane.org/gmane.editors.winedt/4966
http://sourceforge.net/tracker/index.php?func=detail&aid=2101871&group_id=10783&atid=110783
【解决方案】
第一,命名源文件不要带空格即可。这个容易做到。
第二,若是觉得上面解决不好,那就取消Synctex,这样的话pdf文件双向搜索的功能就没有了,但是运行没有问题。操作步骤如下:
点击 PDFviewer选项卡。勾选掉图中选项即可。
and Enjoy your LaTeX!
相关文章推荐
- Android Studio更新出现错误:Error:Failed to open zip file解决方法
- ubuntu14.04交叉编译ffmpeg出现unable to create an executable file. C compiler test failed.
- MySQL用source命令执行外部sql脚本文件时出现failed to open file的错误可能之一
- 为什么Flash Builder 4.6时出现“failed to create the java virtual machine”的错误
- 2016.8.19 在dialog上增加一个button出现错误:failed to execute setAttribute on Element...
- vbox出现Failed to opencreate the internal network错误,无法启动虚拟机
- vbox出现Failed to opencreate the internal network错误,无法启动虚拟机
- 打开VMware出现Reason: Failed to lock the file.错误的解决办法
- LR Controller中打开一个场景,出现报错:Failed to create Online:无效指针
- git提交出现错误:Failed to add file wechat_sdk_sample_ios/ to index.
- win10安装Anaconda3出现failed to create anaconda menue错误的解决方案
- Eclipse 开发java 出现Failed to create the Java Virtual Machine错误解决办法
- IBM AppScan 7.8.1 更新安全规则库后出现“AppScan Severe Error: Failed to load rules/advisories file”错误的解决方案
- myEclipse中改了项目名,出现的问题 和 错误java.io.IOException: tmpFile.renameTo(classFile) failed
- Latex编译错误:Unable to load picture or PDF file 问题解决
- Rsync 服务器启动错误:failed to create pid file /var/run/rsyncd.pid: File exists
- sharepoint 2010 配置用户同步连接出现错误信息" Unable to process Create message"的一个解决方法
- 2016.8.19 在dialog上增加一个button出现错误:failed to execute setAttribute on Element...
- mysql 出现 Can't create/write to file 的错误
- 安装Visual Studio 6.0时出现一个“Setup Was Unable to Create a DCOM User Account”错误的解决方法