加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

LaTeX小技巧——File ended while scanning use of \@writefile错误的处理方法

(2011-11-19 21:06:16)
标签:

杂谈

分类: Latex
早上在修改编译论文时发现了这个问题,仔细检查代码并没发现错误,一时也找不到具体的解决办法。我一直以为是因为runaway argument的错误提示,可实际上就是因为aux文件没有完整输入,导致上次编译结束后aux文件的部分内容缺失。处理方法嘛,很简单。

解决方法:删除编译文件夹内.aux扩展名结尾的文件,重新用Latex命令进行编译,自动生成正确的aux文件,完成错误的修复。

英文原文见这里:

Solution to: File ended while scanning use of @writefile 

Recently came across this error in latex. This shows up every 
time I try to compile the code after I first saw this error and 
restarting my system or the latex editor did not help- 

> Runaway argument? 
> ! File ended while scanning use of @writefile. 
> par 
> l.110 begin{document} 


This error is seen typically because of an incomplete 
entry in the aux file and can be removed by 
deleting the file with .aux extension in the latex source. 
To re-generate these aux files “latex” needs to be run. 
Note – you have to run latex and not texify or any 
other tool. 

Good luck.

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有