## LaTeX forum ⇒ General ⇒ very slow compilation

LaTeX specific issues not fitting into one of the other forums of this category.
afa0011
Posts: 7
Joined: Mon Sep 24, 2018 6:18 pm

### very slow compilation

Hello All,

I am writing my thesis which is about 150 pages, and includes ~70 figures. It takes too long to compile even it fails to compile same times. The error code is below.

File ended while scanning use of \@writefile. \begin{document}

Any sugestion how to speed up latex?

Stefan Kottwitz
Posts: 9285
Joined: Mon Mar 10, 2008 9:44 pm
Make a backup copy of your full thesis folder before doing anything.

This error message

File ended while scanning use of \@writefile. \begin{document}

probably refers to an error in the .aux file (or .toc or .lof or .lot or another one, but I guess .aux since it comes at the beginning).

You can delete the .aux file and try again compiling. It will be re-generated.

Perhaps post the complete .log file or the complete error message, something is missing.

Stefan