SublimeText / LaTeXTools

LaTeX plugin for Sublime Text
https://latextools.readthedocs.io/
2k stars 362 forks source link

Issue with BibLatex on ST3 #1549

Open p9romain opened 2 years ago

p9romain commented 2 years ago

Hi, I had this comon error and I don't understand a thing to all the solutions to resolve it : when I make a .bib file and I use \printbibliography, the bibliography doesn't appear. I've tested many things to solve this, like change the builder mode to basic, force to compile with pdfLatex, biber, then twice pdfLatex but nothing work.

What can I do ?

ig0774 commented 2 years ago

Do you have any \cite commands in your document? \printbibliography only prints sources that are cited in the document. IIRC something like \nocite{*} before the \printbibliography command will load all the citations in your bib file.

p9romain commented 2 years ago

Do you have any \cite commands in your document? \printbibliography only prints sources that are cited in the document. IIRC something like \nocite{*} before the \printbibliography command will load all the citations in your bib file.

I have my .bib file with 9 entries and, for test, I did this for the nine entries :

% nine times this as a test
Testestestestestestestestest \cite{ytb:cnrs_dalibard} Testestestestestestestestest\\

\newpage

% each keyword contains at least one entry
\printbibliography[keyword={metier},title={aTitle1}]
\printbibliography[keyword={cnrs},title={aTitle2}]
\printbibliography[keyword={ups},title={aTitle3}]
\printbibliography[keyword={other},title={aTitle4}]