TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to learn how to use bibtex. I found this article and created two files:

% Untitled.tex 


\title{BibTeX in action}
\author{Martin J. Osborne}


This document illustrates the use of BibTeX\@.  You may want to refer to
\cite{ahu61} or \cite{ab94} or \cite{m85}.  Or you may want to cite a
specific page in a reference, like this: see \citet[p.~199]{m85}.  Or
perhaps you want to cite more than one paper by Maskin: \cite{m85, m99}.
Or you want to make a parenthetical reference to one or more articles, in
which case the \verb+\citealt+ in the \texttt{te.bst} bibliography style
omits the parentheses around the year (\citealt{ahu61}).




% bibl.bib
       author={Arrow, Kenneth J. and Leonid Hurwicz and Hirofumi Uzawa},
       title={Constraint qualifications in maximization problems},
       journal={Naval Research Logistics Quarterly},
       year = 1961,
       pages = {175-191}

       author = {Charalambos D. Aliprantis and Kim C. Border},
       year = {1994},
       title = {Infinite Dimensional Analysis},
       publisher = {Springer},
       address = {Berlin}

       author={Maskin, Eric S.},
       title={The theory of implementation in {N}ash equilibrium: a survey},
       booktitle={Social Goals and Social Organization},
       editor={Leonid Hurwicz and David Schmeidler and Hugo Sonnenschein},
       publisher={Cambridge University Press},

Now the question arises what should I do with them? I didn't find any manual for BibTex with TexWorks.

I compiling Untitled.tex into pdfLaTeX and see ? instead of citations. I compiling bibl.bib into BibTeX and see error

I couldn't open file name `bibl.aux'.
share|improve this question
Are you running BibTeX on the .tex file or the .bib one. You should not be doing latter. – Joseph Wright Nov 29 '13 at 8:22
@JosephWright, I did:) Thank you. – klm123 Nov 29 '13 at 9:22
You should also take a look at the modern package biblatex in conjunction with the bibliography processor biber. This gives you full utf8 support. – Johannes_B Nov 29 '13 at 9:26
@Johannes_B, do I have biblatex in texworks? I see only bibtex compilation. – klm123 Nov 29 '13 at 9:33
Biblatex is a package, see the link above. Biber is the modern BibTeX equivalent, but you have to add it manually. See add biber to Texworks as a starting point. – Johannes_B Nov 29 '13 at 9:37

Thanks to Joseph Wright I made it work this way:

  1. Compile with pdfLaTeX to get know which pieces you cite and store it in .aux file.
  2. Compile with BibTeX to create the .bbl file (which contains the formatted references) from information stored in the .aux and .bib files.
  3. Compile with pdfLaTex to incorporate the .bbl file in the typeset document (to include references list in the document).
  4. Compile with pdfLaTex to rid of ? marks and get citations in your text.
share|improve this answer
The bib file is your database, it is not generated by BibTeX. BibTeX generates the bbl, which is read by LaTeX. – Johannes_B Nov 29 '13 at 9:24
@Johannes_B, thanks, my bad. – klm123 Nov 29 '13 at 9:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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