GeneralRunaway Argument

LaTeX specific issues not fitting into one of the other forums of this category.
ipl
Posts: 1
Joined: Fri Apr 04, 2014 1:22 am

Re: Runaway Argument

Post by ipl »

Hello,
Im getting this error while compiling :

! File ended while scanning use of \@@BOOKMARK.
<inserted text>
\par
l.11 \begin{document}

I suspect you have forgotten a `}', causing me
to read past where you wanted me to stop.
I'll try to recover; but if the error is serious,
you'd better type `E' or `X' now and fix your file.

where do we type `E' or `X' to fix the problem?!!
Attachments
thesis.log
log file attached
(92 KiB) Downloaded 410 times

Recommended reading 2024:

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

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

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Runaway Argument

Post by Johannes_B »

Typing e to edit a file is bit of a relict from the old days, where compiling a file lasted up to some minutes (to many hours). With x you can abort the compile run, telling latex to close all files.
You can interact with latex either when running it from the command line/terminal, or when compiling with an interactive editor. Texworks is one of them. Quite possibly, it was installed with your TeX distribution.
Most editors run latex with the option -interaction=nonstopmode, which if you imagine the program as a human being would be like: Just do what you think it's best.

As for the runaway argument, the safest and quickest way to find the cause is to prepare a minimal working example. It might take a few minutes, but you will be very happy.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
abcdesheep
Posts: 1
Joined: Sat Sep 26, 2020 9:38 am

Runaway Argument

Post by abcdesheep »

Stefan Kottwitz wrote:This log file is incomplete, there's no error to find.
Ah, I see your edit. Yes, sometimes already deleting an aux file helps.

Stefan
Deleting an aux file did solve my similar error. Thanks!
Post Reply