I'm trying to create a bibliography with .bib file but it don't print in pdf.

My bib file has this structure:

    author        = {Michel Goossens and Frank Mittelbach and Alexander Samarin},
    title         = {The \LaTeX\ Companion},
    year          = {1993},
    publisher     = {Addison-Wesley},
    location      = {Reading, Massachusetts}

and my file has this aspect:


        ola \cite{latexcompanion}



What am I doing wrong? Cumps.

closed as unclear what you're asking by Will Robertson, Werner, Masroor, Malipivo, Guido Jul 10 '14 at 5:47

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Welcome to TeX.SX! Please make your code compilable (if possible), or at least complete it with \documentclass{...}, the required \usepackage's, \begin{document}, and \end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. – Adam Liter Jul 10 '14 at 3:06
  • 1
    Did you run pdflatex, biber, pdflatex? – cfr Jul 10 '14 at 3:13
  • Completing your code and taking out the gratuitous } results in code that compiles just fine for me. Like @cfr asked, are you running the correct compilation sequence? See Question mark instead of citation number – Adam Liter Jul 10 '14 at 3:14
  • thanks for your answers.. I have a lot of code, and I'm hiding some parts to be more legible. I've edited the post.. It still don't work. – arturataide Jul 10 '14 at 4:01
  • 1
    This question appears to be off-topic because the OP has reported that the problem has been solved by following the correct sequence of compilation. Furthermore, the issue was trivial, discussed extensively before, and hence does not merit further consideration. – Masroor Jul 10 '14 at 4:56

Just a suggestion. Using the same .bib file, it will be a lot easier if you will try this:



ola \cite{latexcompanion}.



  • I've tried your solution in my project, but it fails to compile.. – arturataide Jul 10 '14 at 4:03
  • Try to compile it at least twice. – olivarries Jul 10 '14 at 4:09
  • hank you very much.. If i compile twice it runs ok :) Thank you – arturataide Jul 10 '14 at 4:17
  • Why exactly is this a 'lot easier' than using biber? @arturataide I don't think this is good advice. biblatex and biber is a much more powerful combination. Unless you have to, those were good choices. The only thing you did wrong was to run bibtex rather than biber. That is, you needed pdflatex biber pdflatex. biber is a modern replacement for bibtex which definitely makes life easier. – cfr Jul 10 '14 at 21:11

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