LaTeX – how to add a new reference to the BibTeX

How to add a BibTeX entry to LaTeX

This assumes,

  1. you already have a BibTeX file linked to your .tex file
  2. you are using Texmaker (if you’re not, you probably should be)

It seems to me you must go through a series of arcane steps to be able to add a reference to your BibTeX bibliography and get it to work in your \LaTeX file.

Here’s the steps and their order that have worked for me. I have included my a few comments that hopefully help to give you a sense what is going on.

  1. Add your new reference to your bibtex file
  2. Save your bibtex file
  3. Go back to your latex file
  4. Build your BibTeX
    (Let’s BibTeX know that there is a new entry in it)
  5. Edit -> refresh bibliography
  6. Add citation to .tex file
    (You can now see the new reference when you start typeing \cite{kawahara2013myAwesomePaper} )
  7. Quick Build
    (adds the [?])
  8. BibTeX build
    (No visible change. But compiles something.)
  9. Quick Build
    (No visible change again.)
  10. Quick Build

Yeah! It’s there (hopefully)!

I used to just angerly build things randomly until I came across this post here, where the author “Ted” did a great job explaining what is going on. His explanation was the inspiration behind this post. Thanks Ted! You saved me from many more frustrated hours.

Leave a Reply