## LaTeX forum ⇒ BibTeX, biblatex and biber ⇒ Bibtex problems not running

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
peaches20
Posts: 9
Joined: Thu Oct 25, 2012 4:28 pm

### Bibtex problems not running

Hi,

This is my first time with bibtex and I am having problems. I am using linux with `\documentclass`. I am not quite sure what the sequence of order is for running.

I have the setup

`\thebibliography{plain}\bibliography{name.bib}`

and am using pdflatex. Once I run pdflatex what is the sequence for incorporating the bibtex file?

Thanks,
Peaches

Tags:

Johannes_B
Site Moderator
Posts: 4116
Joined: Thu Nov 01, 2012 4:08 pm
If you main document is called `main.tex`, you have to run `bibtex main` in your working directory.

You also have to get rid of the file extension in the `\bibliography` line.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Stefan Kottwitz
Posts: 9557
Joined: Mon Mar 10, 2008 9:44 pm
Hi Peaches!

Do you use a LaTeX editor? Which one?

If you compile at the command prompt, that is, in a terminal window, it goes like

`pdflatex mainbibtex mainpdflatex mainpdflatex main`

These several runs to resolve all cross-references with page numbers.

Stefan