My article paper.tex compiles fine, but myBib.bib doesn't.
$ pdflatex paper.tex
$ bibtex myBib
I couldn't open file name `myBib.aux'
I happen to be using TeXShop, but the command line is unambiguous.
Thanks in advance.
|
In addition to Ian Thompson's comment, if you are using TeXShop then you don't even have to bother with the command line, as TeXShop provides you with a graphical interface. Just switch to BibTeX in the pop-up menu after a first LaTeX compilation, then press typeset (this is equivalent to calling |
||||
|
|
bibtex paperrather thanbibtex myBib. – Ian Thompson Jul 25 '12 at 20:58myBib.bibis only a database, which may contain many entries that you don't cite in your paper. It's inpaper.texthat you tell the system what bibliographic database to use (with\bibliography{myBib}). So it'spaperwhich you must run BibTeX on (preciselypaper.aux, but the extension can be omitted). – egreg Jul 25 '12 at 23:04