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 writing my first major LaTeX document, and this is my first time using BibTeX to add in a bibliography. I've searched quite a bit for an error like this, but I have not been able to find anything helpful. I am using TexShop on OSX, and I did the procedure of compiling with LaTeX, then BibTex to make the .bbl file, then compiling in LaTeX again. It is this last step which does not work. I end up with and "undefined control sequence error" in the .bbl file.

Here is the error:

\bibdata{Physics410PaperNotes,Physics410refs.bib} (./Physics410Paper.bbl ./Physics410Paper.bbl:1: Undefined control sequence. \bib@device ... {\hb@xt@ #1{\hfil \phantomsection \addcontentsline {toc}{sec... l.1 \begin{thebibliography}{1}

The strange thing is that if I just manually put the contents of the .bbl file into my document, the bibliography shows up!

Any help getting BibTeX to work for me would be very much appreciated.

Thank you!

share|improve this question

closed as unclear what you're asking by Torbjørn T., Peter Jansson, Thorsten, diabonas, Jubobs Nov 23 '13 at 16:59

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

Welcome to TeX.SX. Note that you don't have to sign with your name since it automatically appears in the lower right corner of your post. A suggestion: Do us a favour and change your username to something more telling than "user39018". – Claudio Fiandrino Oct 27 '13 at 15:01
Please provide a minimal working example (MWE) - in particular we need to know which documentclass you are using and what bibliography style, and perphas package, you load. – Andrew Swann Oct 27 '13 at 15:48

Browse other questions tagged or ask your own question.