[Tex/LaTex] BibTeX in Texmaker


I am trying to create my own BibTeX file and use it in my TeX file. I am using Texmaker as the editor.

This is the content of my BibTeX file as of for now:

author = {Anil K. Jain and Arun Ross and Salil Prabhakar},
title = {An introduction to biometric recognition},
journal = {IEEE Trans. on Circuits and Systems for Video Technology},
year = {2004},
volume = {14},
pages = {4--20}

I have included


I also tried using


I include the BibTeX file (MyBibFile.bib) as follows:


It does not really throw any error but it does not work.

Any help would be appreciated.

Best Answer

I really don't know what you mean by "does not work", but here are two things that could be wrong:

Possible Problem 1: You are not compiling your work properly. This is the way to do it when you use bibtex:

latex myarticle
bibtex myarticle
latex myarticle
latex myarticle

Possible Problem 2: You are not including any citations in your LaTeX document. bibtex will not automatically include all the references in your bib file. It will only include those that you cite in your LaTeX document. For example, if your tex file has something like this:

Smith et al.~\cite{Smith:2001:jas} first studied the problem of XYZ and concluded that ABC.

Note that Smith:2001:jas should be one of the keys in your bib file. If you have a proper citation like the one shown above, and compile your document like I indicated, then it should automatically generate a references section with the reference to the paper identified by the Smith:2001:jas key.