I'm trying to get biblatex to see where I have my .bib file located, but I have a space in the path to the file:
\addbibresource{~/Documents/My Project/TheBib.bib}
How do I specify a full path that includes a space? Is there a way to specify a relative path?
M(Not)WE, as requested:
\documentclass[nobib]{tufte-handout}
\usepackage{hyphenat}
\usepackage[backend=bibtex, natbib=true, citestyle=verbose]{biblatex}
\addbibresource{~/Documents/Projects/NoSpaces/Sources.bib} % Works
%\addbibresource{~/Documents/Projects/Some Spaces/Sources.bib} % Fails
%\addbibresource{"~/Documents/Projects/Some Spaces/Sources.bib"} % Fails
\begin{document}
Test.\cite{CiteKey}
\printbibliography
\end{document}
"..."– David Carlisle Mar 02 '12 at 20:04~may cause problems as it expands to non breakable space normally, you might need\string~(or you might not if biblatex quotes it automatically, not sure) – David Carlisle Mar 02 '12 at 20:22~works for me (e.g. in paths with no spaces). – orome Mar 02 '12 at 20:28\addbibresource{TheBib.bib}for recent versions ofbiblatex. – jon Mar 02 '12 at 20:46/home/jon/academic/bibliography.bib--- just with no spaces. – jon Mar 03 '12 at 20:59