Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am not sure why my TeXworks is not creating a bbl file. This happens after I started using a new computer, i. e. after installing MiKTeX (I have Windows 7). The error messages are like:

Package natbib Warning: Citation `....' on page 1 undefined on input line 31

If I copy my old bbl file (from my old computer) in the current folder it works OK, but I need to update this bbl file.

share|improve this question
Do you have a .bib file in the same folder? TeXWorks will use this file to generate a new .bbl file. The \cite{...} commands in the TeX file actually refer to entries in the bib file. – Mark S. Everitt Dec 18 '11 at 12:06
yes, I do have that (.bib) file in the same folder. – shambhu Dec 18 '11 at 12:13
And you run BibTeX after pdfLaTeX? – Torbjørn T. Dec 18 '11 at 12:14
I only run Latex but I thought the latex document can call for the bibTex by a line i have: \bibliography{bibfilename}. so, this is not effectively running the bib file? at least my recall is that it used to work in my previous computer, please suggest – shambhu Dec 18 '11 at 17:18
1  
There are ways of having BibTeX run automatically, if necessary. IIRC there was at least a choice among the compilers in MikTeXs TeXworks called "pdflatex + MakeIndex + BibTeX". This runs a script that checks if there are undefined citations/references, and runs pdflatex and BibTeX as necessary. Perhaps you were using this before. Latexmk is another such script that is used for this purpose. – Torbjørn T. Dec 18 '11 at 20:30
show 5 more comments

closed as too localized by Joseph Wright Dec 18 '11 at 20:21

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.