Open ShlomiRex opened 2 weeks ago
Did you run biber
? You have to run latex and then biber
to generate the .bbl
file. Then when you run latex again, it will pick up the references.
Did you run
biber
? You have to run latex and thenbiber
to generate the.bbl
file. Then when you run latex again, it will pick up the references.
No, but when I run it I get:
➜ latex_test biber test.bib
INFO - This is Biber 2.20
INFO - Logfile is 'test.bib.blg'
ERROR - Cannot find 'test.bib.bcf'!
INFO - ERRORS: 1
Check the biber
docs - you don't run it on the .bib
but on the .bcf
that biblatex
produces. You can just run it without the extension too.
For most people it is usually the most convenient to run Biber on the basename of your main .tex
file. So when your document is called myproject.tex
just run
biber myproject
this is completely independent of the file name of your .bib
file(s). Note that the Biber run needs the .bcf
file, which is produced by a successful LaTeX (pdfLaTeX, LuaLaTeX, XeLaTeX, ...) run. So you can only run Biber if you ran LaTeX before without errors. (See https://tex.stackexchange.com/q/63852/35864 for a very nice explanation.)
Most editors can be configured to run Biber for you if you click a button: https://tex.stackexchange.com/q/154751/35864.
Note that mac OS sometimes messes with Biber's cache, which may result in Biber simply not working any more without any proper indication as to what is wrong. In that case you need to clear the cache and rerun Biber. See https://tex.stackexchange.com/q/543837/35864 and linked questions.
Ok so I don't know where to post this, but I encounter this problem already multiple times over the past months, maybe even weekly. I am working on my thesis and I'm using TeX Live distribution. This problem occurs on my Windows machine (Windows 10) but also on my macOS M1.
I have a 100+ pdf document that I'm working on. Long story short, I tested this issue on a single .tex file and it was reproduced also there.
Here is my
main.tex
file:Here is my
test.bib
:I am using TeX Workshop on vscode to compile the latex document. But in order to help you guys diagnose the problem I also manually ran:
pdflatex main.tex
And I get the same error:
LaTeX Warning: Citation 'ddpm' on page 1 undefined on input line 9.
Although its a warning, its a huge problem on my 100+ document.
Here is the logs in the terminal:
Here is the
main.log
:All of the packages are up to date.
I get this error:
And the PDF doesn't have the citation: