0

recently I have become annoyed by the number of auxiliary files that are created when I run LaTeX. I have read some threads about this, and I found out a relatively convenient solution for me is to create separate directories with the name of each paper, so that all the files relative to one paper go into that single folder, instead of having all the files from all the documents in the same folder. I hope that was clear. However, since I need to access my .bib file in every paper, it would be convenient for me if this file could reside one directory up from the individual folders, rather than me having to put a copy of the .bib file into every single folder. Currently I cannot find a way to do that.

Potentially relevant information (or not): I preferable use BibLatex on Biber. My editor is Winedt 10.3. I use Jabref to create the .bib files.

1

Biber and BibTeX usually accept relative paths, so you can say

\addbibresource{../lit.bib}

to access a file lit.bib one level up from the working directory of your current file.

Note that all paths are interpreted relative to the working directory of the pdfLaTeX/Biber call.

But you could also add the .bib file to a path that is automatically searched by BibTeX and Biber, see Creating a central bibliography.

  • Excellent, I specified the path as you said and that worked. – EspenJK Oct 23 '18 at 11:15

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.