LaTeX问题File ended while scanning use of @writefile

2019-01-18
#LaTeX

问题描述:File ended while scanning use of @writefile.

我的解决方法,在Mac系统下重新安装了MacTex2018,然后编译之后,问题就自动解决了。

在网上搜索的办法并没有解决问题:

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.