[Tex/LaTex] Link to file in the parent folder

bibliographiesfilesystem-accessfolderspaths

I have a folder, say C:\example\paper with a bib-file C:\example\1.bib.

I also have a tex file C:\example\paper\main.tex where I would like to put a link to 1.bib. I can put the whole path, of course, but I wonder if there is a method to put link for a parent folder C:\example from its subfolder C:\example\paper?

Best Answer

One can refer to the parent folder by ../ both on Unix systems and in Windows; therefore

\bibliography{../1}

will work for the bibliography file 1.bib that resides in the parent folder.

Note that paths on Windows are expressed with \, but for TeX related programs the slash / works in its place and is of course preferable.