Take the 2-minute tour ×
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 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
1  
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

1 Answer 1

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

Your Answer

 
discard

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.