ashthespy / Atom-LaTeX

The only LaTeX package you need for typesetting with Atom.
https://atom.io/packages/atom-latex
MIT License
22 stars 9 forks source link

Check environment variable bibinputs for .bib-files #230

Closed kunizial closed 4 years ago

kunizial commented 4 years ago

I have a global .bib-file which i sync between PCs running Windows and Linux via cloud. In order to make the .tex-file work on both filesystems and as general as possible, I use the environment variable BIBINPUTS. Would it be possible to check BIBINPUTS when looking for bibliography-files?

ashthespy commented 4 years ago

You could use the custom toolchain options to export the variable first. Something along the lines of export BIBINPUTS=/path/to/directory && %BIB %DOC

ashthespy commented 4 years ago

Closing for now, let me know if you the above options doesn't work for you.

kunizial commented 4 years ago

Sorry if i was unclear. The execution of latex out of atom works fine. I was meaning the auto-completion of bibitems doesn't look for the BIBINPUTS variable.