LaTeX forum ⇒ GeneralBibliography File Path relative to Home with Tilde

LaTeX specific issues not fitting into one of the other forums of this category.
Posts: 3
Joined: Sat Oct 13, 2012 3:03 pm

Bibliography File Path relative to Home with Tilde

Postby cosmicraga » Sat Oct 13, 2012 3:49 pm


Can I use the bib file path using the tilde (~).

For example, I cannot use \bibliography{~/Bib/RefAbv} where my bibliography file name is "RefAbv.bib". It gives warnings about undefined citations. I do not want to use \bibliography{/home/username/Bib/RefAbv}.

I use DropBox. So if I can use tilde, then synchronization is perfect. I can work in any machine without changing the path of my bibliography files.

Also I do not want to put the bibliography file in my working directory.

I am using Ubuntu 12.04.
Last edited by cgnieder on Sat Oct 13, 2012 6:40 pm, edited 1 time in total.


Posts: 1
Joined: Sun Sep 01, 2013 12:05 am

Postby dmbortz » Sun Sep 01, 2013 12:07 am

Check out this interaction on TeX.SX. I think it will answer your question.

To be more precise, what I've done is make a symbolic link from ~/texmf/bibtex/bib/mypersonalbibfile.bib to the bibliography file on DropBox. Then you just need this line in your source file and BibTeX will find your bib database.
  1. \bibliography{mypersonabibfile}


Return to “General”

Who is online

Users browsing this forum: No registered users and 4 guests