I'm currently writing a few papers with several co-authors, and we are all using LaTeX. All of us have access to and use mendeley, so we have the same set of references in our respective local .bib files. Is there any other solutions than changing the path to the .bib file when compiling on our local computers?

I'd be really interested in knowing how you have been dealing with similar problems in the past.


1 Answer 1


Arne Henningsen's Tools for Collaborative Writing of Scientific LaTeX Documents mentions one option: put a copy of the common bib file in each user's texmf tree. I'm starting to do that with my upcoming research, and it works fine so far.

  1. On Windows with TeX Live, make a texmf\bibtex\bib directory under the user's profile directory (C:\Users\username by default on Windows Vista and higher).
  2. Place the .bib file in that folder.
  3. Place any custom bibliography styles in a texmf\bibtex\bst directory under the user's profile directory.
  4. Pull up a command prompt, and run mktexlsr texmf from the profile directory (I don't remember if TeX Live automatically has this in the path or not, so you may need to run it as C:\texlive\2011\bin\win32\mktexlsr texmf or similar instead).
  5. Write your documents wherever, and use the regular \bibliography and related commands as usual. No need for paths, since your personal texmf tree will automatically be searched for support files.
  • Thanks! The linked paper is especially useful, though I tend to use Git rather then SVN. Mar 23, 2012 at 20:03
  • 1
    @TimothéePoisot This answer is good. If your group is using biber, you also have the option of sharing a remote bib file.
    – Audrey
    Mar 30, 2012 at 15:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.