I am working on the Overleaf collaborative platform. I am facing the following error code :
./main.lof:18:
Missing $ inserted.
<inserted text> $
l.18 ...some figure_name}}{23}{figure.17}
The thing is, even after correcting/deleting the figure that causes this error, the compilation will always stop on this.
From my understanding, I would need to erase the .lof file to avoid this error again but I do not know how to access it on the overleaf platform.
Do you think I undersand well the situation? Do you know how to access the .lof file?
Best Answer
Overleaf v1
If you click on the "compile error" or "warning" label on the upper right, that should display the error message or warning message window (if it's not already open). There's a
recompile from scratch
option at the bottom of this message window; you can click on that to delete the auxiliary files (.aux
,.toc
,.lof
...)Overleaf v2
Click on the "Logs and other files" icon next to the "Recompile" button, then scroll right to the bottom, and click on the Trashcan icon.