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 running LaTeX on a Mac and am getting the following error message when I run BibTeX:

White space in argument---line 19 of file file.aux
 : \bibdata{\protect
 :                   \unhbox \voidb@x \penalty \@M \ {}/Documents/University/references} 

Any suggestions?

share|improve this question
Welcome to TeX.sx! You don't have to sign with your name since it automatically appears in the lower right corner of your post. – egreg Apr 5 '12 at 15:09
It's hard to diagnose this without any code that shows what you are doing. Try to comment out parts of your document until the error disappears and then you can maybe identify the problem. If you're still stuck you can then post a minimal document that shows the problem. – Alan Munn Apr 5 '12 at 15:16

Looks as if you are using a ~ (\nobreakspace)) in the file name. Try \string~ instead (but I have no idea if bibtex will like it).

share|improve this answer
At least on Mac OS X, \bibliography{\string~/Documents/references} works. – egreg Apr 5 '12 at 16:17
Where do I put that? – Ethan Alwaise Dec 17 '15 at 1:39
I think I have a different problem now because the tek log file is saying "No bbl found" – Ethan Alwaise Dec 17 '15 at 1:43

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.