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: https://www.overleaf.com/project/new/te ... r=pdflatex, 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.
General ⇒ An exact copy of an Overleaf example doesn't work properly, but the original does
An exact copy of an Overleaf example doesn't work properly, but the original does
- Attachments
-
- Their sample
- Screenshot_2019-11-18_20-34-07.png (157.21 KiB) Viewed 6404 times
-
- My test
- Screenshot_2019-11-18_20-33-34.png (128.61 KiB) Viewed 6404 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
-
- Posts: 707
- Joined: Tue Mar 25, 2008 5:02 pm
An exact copy of an Overleaf example doesn't work properly, but the original does
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.