Generalvery slow compilation

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

very slow compilation

Post by afa0011 »

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?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

very slow compilation

Post by Stefan Kottwitz »

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
LaTeX.org admin
Post Reply