I read a lot of posts about this topic (Question mark or bold citation key instead of citation number, Latex references and bibliography not working etc), but they don't meet the needs. I followed the istructions:


I created the code:


To achieve incentive compatibility, the auction winner has to pay the second highest price \cite{Vickrey1961}.

A good introduction to graph algorithms can be found in \cite{Golumbic2004}.



and the file mylib.bib:

AUTHOR = {W. Vickrey},
TITLE = {Counterspeculation, auctions and sealed tenders},
JOURNAL = {Journal of Finance},
YEAR = {1961},
volume = {16},
pages = {8--37},

AUTHOR = {M. C. Golumbic},
TITLE = {Algorithmic Graph Theory and Perfect Graphs},
PUBLISHER = {Elsevier Science},
YEAR = {2004},
edition = {2nd Edition},

The bibliography does not appear. How can I fix it?

EDIT: when I click on play, it does not work.

enter image description here

I compile clicking on play in Texmaker:

enter image description here

Thank you very much.

  • Did you run it with LaTeX -> bibtex -> LaTeX -> LaTeX?
    – Skillmon
    Aug 16, 2018 at 17:15
  • Hello @Skillmon can you explain what I have to do please? I compiled the main file in which there is the bibliography's call. Aug 16, 2018 at 17:16
  • You have to also run a program called bibtex on the file and after that two additional runs of LaTeX. So if you're file is called myfile.tex and you're working in a terminal, you should type pdflatex myfile.tex after that's finished bibtex myfile and after that two additional times pdflatex myfile.tex. After that everything should be there. (Of course you can also use lualatex or xelatex instead of pdflatex)
    – Skillmon
    Aug 16, 2018 at 17:18
  • Did this fix your issue?
    – Skillmon
    Aug 16, 2018 at 17:38
  • @Skillmon unfortunately it still does not work. Aug 16, 2018 at 17:52

1 Answer 1


For your bibliography you need to run BibTeX at least once after you ran LaTeX at least once. The correct building chain would be

  1. run LaTeX
  2. run BibTeX
  3. run LaTeX
  4. run LaTeX

In Texmaker the play button only runs LaTeX once by default. You can run BibTeX by clicking on Tools -> BibTeX (Strumenti -> BibTeX in your language). This is also applicable for TeXstudio.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.