Discussion:
BIBINPUTS and Yosemite
Anders Host-Madsen
2014-10-19 18:31:13 UTC
Permalink
Every time Apple comes out with a new version of OS X,
BIBINPUTS gets broken, and a new workaround has to be
found. I found the following works
for Yosemite, so I post here (I should I put it on a wiki)?

Mac Yosemite
Adapted from:
http://stackoverflow.com/questions/25385934/
yosemite-launchd-conf-no-longer-work

launch AppleScript Editor, enter:

do shell script "launchctl setenv setenv BIBINPUTS path(s)".
Separate multiple paths with :
Notice that the string after BIBINPUTS cannot contain spaces.

Now save (⌘+s) as File format: Application. Finally open
System Settings → Users & Groups → Login Items and add your new application.

Notice that if LyX starts before the script is
run, the environment will not be active. Then restart
LyX.
Anders Host-Madsen
2014-10-23 00:48:59 UTC
Permalink
The above works for LaTeX, but not inside LyX. When the file is compiled,
it finds the bib files in the path. However, Insert Citation inside LyX
does not respect the BIBINPUTS path. How can this be fixed?
Anders Host-Madsen
2014-10-23 00:53:16 UTC
Permalink
Post by Anders Host-Madsen
The above works for LaTeX, but not inside LyX. When the file is compiled,
it finds the bib files in the path. However, Insert Citation inside LyX
does not respect the BIBINPUTS path. How can this be fixed?
I added the latex path to the TEXINPUTS prefix. That seems to solve
the problem inside LyX.
Anders Host-Madsen
2014-10-23 00:57:40 UTC
Permalink
Post by Anders Host-Madsen
I added the latex path to the TEXINPUTS prefix. That seems to solve
the problem inside LyX.
Sorry, it didn't work. Only gave me the references from bib files in
the current directory. So, I hope someone can find a solution.

Loading...