I have a bigger template which includes biblatex
\RequirePackage[backend=biber,
style=ieee,
citestyle=numeric-comp,
sortcites,
url=true,
doi=false,
defernumbers
]{biblatex}[2012/08/17]
I use TeXstudio where I set the Default Bibliography Tool to biber
. Furthermore, I add the bibliography file via the command \addbibresource{bibliography.bib}
. The bib-file is in the same folder as the tex-file. Sadly, the bibliography isn't recognised. I get a warning No file main.bbl.
but that's it. I also can't see, that a biber and BibLaTex runs at all.
When I add the bibliography via \bibliography{bibliography}
everything works fine. Do you have any hints for me what I'm doing wrong?
Content of the bibliography.bib file (just one dummy entry):
@article{dummy1,
title = {dummytitle},
pages = {},
author = {Doe, John},
langid = {english},
}
\printbibliography
instead of\bibliography{bibliography}
\printbibliography
just prints the bibliography. I'm struggling with importing the bib data as is (hence, the .bib file).\bibliography
and\addbibresource
are defined using the same underlying helper macros, so I would be very surprised if one worked and the other didn't on the LaTeX side. I can, however, imagine your editor only being able to deal with one of the two when it comes to say,.bib
file detection, auto-completion and auto-Biber/BibTeX-run features. But you would have to share with us exactly what you tried, what happened and how it did not work for you. (How exactly do you compile your document? What do your editor's compile settings look like?)defernumbers
active it is expected that you need at least two LaTeX runs after the Biber run for the numbers to appear properly. Usually this shouldn't be much of an issue since you probably don't change your citations/bibliography in every run and the temporary files stick around with the relevant details. Whether or not Biber is run automatically and auto-completion of\cite
and friends are features of your editor, not LaTeX. Especially if yourbiblatex
declarations are hidden in separate files your editor might not be able to pick them up properly.