LaTeX forum ⇒ GeneralAn exact copy of an Overleaf example doesn't work properly, but the original does

LaTeX specific issues not fitting into one of the other forums of this category.
Posts: 1
Joined: Mon Nov 18, 2019 10:22 pm

An exact copy of an Overleaf example doesn't work properly, but the original does

Postby guferr » Mon Nov 18, 2019 10:37 pm

Edit: The situation is even worse: If I take the working example, change the name of the .bib file in the \addbibresource command (to interntionally get it wrong) and then compile it, it will never compile correctly again, even if I use ctrl+Z to undo the changes and compile again.

It acts exactly as if it can't find the .bib file, the results and errors in the log are absolutely identical to just removing the \addbibresource command or giving it the wrong file name, even though the file is untouched and the name is correct.

Original post:

I was having trouble using biblatex, \addbibresource doesn't appear as an avaliable command even after including the biblatex package. I followed several examples but none worked.

Then I found this example online:, It opened and readily compiled correctly.

However, If I create a project from scratch, empty the main.tex file, create an empty "sample.bib" file and then literally copy the entire content from the Overleaf example (copy everything from main.tex to my main.tex and from sample.bib to my sample.bib) it still doesn't damn work. Every single letter is identical, but the results are completely different.

I attached screenshots of the results. I just don't have any idea of what to do anymore.
Their sample
Screenshot_2019-11-18_20-34-07.png (157.21 KiB) Viewed 1012 times
My test
Screenshot_2019-11-18_20-33-34.png (128.61 KiB) Viewed 1012 times

Posts: 653
Joined: Tue Mar 25, 2008 5:02 pm

Postby kaiserkarl13 » Thu Jan 02, 2020 5:27 am

Try removing the .aux file and any other generated files. This happens because the .aux file asks for something that doesn't exist. It would be overridden if TeX kept running, but it's aborted, so it stays...and a pattern forms.

Return to “General”

Who is online

Users browsing this forum: No registered users and 6 guests