GeneralFile ended while scanning use of \caption@ydblarg.

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Katharina
Posts: 2
Joined: Wed Feb 16, 2022 11:35 am

File ended while scanning use of \caption@ydblarg.

Post by Katharina »

Hey guys :)

I'm very new to LaTex but decided to write my PhD thesis with it anyway. It has been working very nice for several months, but now all of a sudden the file no longer compiles and can not be seen when I press "view". The automatically generated file types .lof, .lot, .out and .toc are no longer available and marked with 0 KB. The tex file is still there and as far as I can see nothing is missing from it. There also seem to be problems with the inserted pictures, although they're still in the same directory. I attached a file with the error Log.

I hope this is a simple newby problem I'm just too inexperienced to understand.

If someone could help me quickly I'd be really grateful, I'm quite desperate...

Thanks a lot in advance!

Cheers,
Kathi
Attachments
Error Log.tex
(2.89 KiB) Downloaded 158 times

Recommended reading 2024:

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

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

User avatar
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

File ended while scanning use of \caption@ydblarg.

Post by Ijon Tichy »

First of all you should remove package float from your document preamble. If the error persists search for not correctly closed arguments of command \caption. If nothing helps, make a Infominimal working example from your document.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
Katharina
Posts: 2
Joined: Wed Feb 16, 2022 11:35 am

File ended while scanning use of \caption@ydblarg.

Post by Katharina »

Thank you for your quick answer!

It's a bit unsatisfactory but it works now. I was trying to find an error by copying each section separately into a new file and checking if it's compiling or not and found indeed an open bracket which I didn't close. Additionally I added .pdf or .png to the files I wanted to include. Nevertheless, in the new file the pictures simply wouldn't appear, only some space holders plus the assigned figure legends and still the same errors that the files could not be found. Now I removed the open bracket and added .pdf and .png to my original document and it works:

\includegraphics[width=0.8\columnwidth]{imagename.pdf}

It's weird though, since the file was compiling perfectly fine the other day and suddenly it can't find the pictures anymore?
Post Reply