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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10360
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