Re: set default bibliography path on Mac

2014-04-22 Thread David Bickel
Everyone, thank you for your help with setting the preferences on a Macintosh 
to use BibPath, a different .bib path by default.

Based on the links you provided, this worked for me:
1.  sudo su
2.  vi /etc/launchd.conf
3. Make this a line in that file (no quotes): setenv BIBINPUTS BibPath
4. Reboot.

David


David R. Bickel, PhD
Associate Professor
Ottawa Institute of Systems Biology
Biochem., Micro. and I. Department
Mathematics and Statistics Department
University of Ottawa
451 Smyth Road
Ottawa, Ontario K1H 8M5
 
http://www.statomics.com
 
Office Tel: (613) 562-5800 ext. 8670
Office Fax: (613) 562-5185
Office Room: RGN 4510F (Follow the signs to the elevator, and take it to
the fourth floor. Turn left and go all the way to the end of the hall, and
enter the door to the OISB area.)
Lab Tel.: (613) 562-5800 ext. 8304
Lab Room: RGN 4501T



2014-04-12 4:07 GMT-04:00 Stephan Witt st.w...@gmx.net:
 Am 11.04.2014 um 17:02 schrieb David Bickel davidbickel.com+li...@gmail.com:

 I keep my .bib files on Dropbox so I can easily work from multiple computers.

 Is there a way that I can set the preferences on my Macintosh to use a
 different .bib path by default? This needs to be done without
 specifying the whole path in the LyX file.

 On Windows, this is accomplished by modifying the BIBINPUTS
 environment variable, but I do not know how to do something like that
 with MacOS.

 See here for one possibility:
 http://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x/588442#588442

 Stephan



Re: set default bibliography path on Mac

2014-04-22 Thread David Bickel
Everyone, thank you for your help with setting the preferences on a Macintosh 
to use BibPath, a different .bib path by default.

Based on the links you provided, this worked for me:
1.  sudo su
2.  vi /etc/launchd.conf
3. Make this a line in that file (no quotes): setenv BIBINPUTS BibPath
4. Reboot.

David


David R. Bickel, PhD
Associate Professor
Ottawa Institute of Systems Biology
Biochem., Micro. and I. Department
Mathematics and Statistics Department
University of Ottawa
451 Smyth Road
Ottawa, Ontario K1H 8M5
 
http://www.statomics.com
 
Office Tel: (613) 562-5800 ext. 8670
Office Fax: (613) 562-5185
Office Room: RGN 4510F (Follow the signs to the elevator, and take it to
the fourth floor. Turn left and go all the way to the end of the hall, and
enter the door to the OISB area.)
Lab Tel.: (613) 562-5800 ext. 8304
Lab Room: RGN 4501T



2014-04-12 4:07 GMT-04:00 Stephan Witt st.w...@gmx.net:
 Am 11.04.2014 um 17:02 schrieb David Bickel davidbickel.com+li...@gmail.com:

 I keep my .bib files on Dropbox so I can easily work from multiple computers.

 Is there a way that I can set the preferences on my Macintosh to use a
 different .bib path by default? This needs to be done without
 specifying the whole path in the LyX file.

 On Windows, this is accomplished by modifying the BIBINPUTS
 environment variable, but I do not know how to do something like that
 with MacOS.

 See here for one possibility:
 http://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x/588442#588442

 Stephan



Re: set default bibliography path on Mac

2014-04-22 Thread David Bickel
Everyone, thank you for your help with setting the preferences on a Macintosh 
to use BibPath, a different .bib path by default.

Based on the links you provided, this worked for me:
1. > sudo su
2. > vi /etc/launchd.conf
3. Make this a line in that file (no quotes): "setenv BIBINPUTS BibPath"
4. Reboot.

David


David R. Bickel, PhD
Associate Professor
Ottawa Institute of Systems Biology
Biochem., Micro. and I. Department
Mathematics and Statistics Department
University of Ottawa
451 Smyth Road
Ottawa, Ontario K1H 8M5
 
http://www.statomics.com
 
Office Tel: (613) 562-5800 ext. 8670
Office Fax: (613) 562-5185
Office Room: RGN 4510F (Follow the signs to the elevator, and take it to
the fourth floor. Turn left and go all the way to the end of the hall, and
enter the door to the OISB area.)
Lab Tel.: (613) 562-5800 ext. 8304
Lab Room: RGN 4501T



2014-04-12 4:07 GMT-04:00 Stephan Witt :
> Am 11.04.2014 um 17:02 schrieb David Bickel :
>
>> I keep my .bib files on Dropbox so I can easily work from multiple computers.
>>
>> Is there a way that I can set the preferences on my Macintosh to use a
>> different .bib path by default? This needs to be done without
>> specifying the whole path in the LyX file.
>>
>> On Windows, this is accomplished by modifying the BIBINPUTS
>> environment variable, but I do not know how to do something like that
>> with MacOS.
>
> See here for one possibility:
> http://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x/588442#588442
>
> Stephan



Re: set default bibliography path on Mac

2014-04-17 Thread Anders Host-Madsen
This should work:

Mac
1) In finder, choose Go-go to folder... /etc
2) Edit launchd.conf This file may not exist. 
In that case create it. Make sure it's called
launchd.conf and not lauchd.conf.txt
3) add setenv BIBINPUTS path(s). Separate multiple paths with :
Notice that the string after BIBINPUTS cannot contain spaces.
4) Restart computer.



Re: set default bibliography path on Mac

2014-04-17 Thread Anders Host-Madsen
This should work:

Mac
1) In finder, choose Go-go to folder... /etc
2) Edit launchd.conf This file may not exist. 
In that case create it. Make sure it's called
launchd.conf and not lauchd.conf.txt
3) add setenv BIBINPUTS path(s). Separate multiple paths with :
Notice that the string after BIBINPUTS cannot contain spaces.
4) Restart computer.



Re: set default bibliography path on Mac

2014-04-17 Thread Anders Host-Madsen
This should work:

Mac
1) In finder, choose Go->go to folder... /etc
2) Edit "launchd.conf" This file may not exist. 
In that case create it. Make sure it's called
"launchd.conf" and not "lauchd.conf.txt"
3) add "setenv BIBINPUTS path(s)". Separate multiple paths with :
Notice that the string after BIBINPUTS cannot contain spaces.
4) Restart computer.



Re: set default bibliography path on Mac

2014-04-12 Thread Stephan Witt
Am 11.04.2014 um 17:02 schrieb David Bickel davidbickel.com+li...@gmail.com:

 I keep my .bib files on Dropbox so I can easily work from multiple computers.
 
 Is there a way that I can set the preferences on my Macintosh to use a
 different .bib path by default? This needs to be done without
 specifying the whole path in the LyX file.
 
 On Windows, this is accomplished by modifying the BIBINPUTS
 environment variable, but I do not know how to do something like that
 with MacOS.

See here for one possibility:
http://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x/588442#588442

Stephan

Re: set default bibliography path on Mac

2014-04-12 Thread Stephan Witt
Am 11.04.2014 um 17:02 schrieb David Bickel davidbickel.com+li...@gmail.com:

 I keep my .bib files on Dropbox so I can easily work from multiple computers.
 
 Is there a way that I can set the preferences on my Macintosh to use a
 different .bib path by default? This needs to be done without
 specifying the whole path in the LyX file.
 
 On Windows, this is accomplished by modifying the BIBINPUTS
 environment variable, but I do not know how to do something like that
 with MacOS.

See here for one possibility:
http://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x/588442#588442

Stephan

Re: set default bibliography path on Mac

2014-04-12 Thread Stephan Witt
Am 11.04.2014 um 17:02 schrieb David Bickel :

> I keep my .bib files on Dropbox so I can easily work from multiple computers.
> 
> Is there a way that I can set the preferences on my Macintosh to use a
> different .bib path by default? This needs to be done without
> specifying the whole path in the LyX file.
> 
> On Windows, this is accomplished by modifying the BIBINPUTS
> environment variable, but I do not know how to do something like that
> with MacOS.

See here for one possibility:
http://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x/588442#588442

Stephan

set default bibliography path on Mac

2014-04-11 Thread David Bickel
I keep my .bib files on Dropbox so I can easily work from multiple computers.

Is there a way that I can set the preferences on my Macintosh to use a
different .bib path by default? This needs to be done without
specifying the whole path in the LyX file.

On Windows, this is accomplished by modifying the BIBINPUTS
environment variable, but I do not know how to do something like that
with MacOS.

David


Re: set default bibliography path on Mac

2014-04-11 Thread Scott Kostyshak
On Fri, Apr 11, 2014 at 11:02 AM, David Bickel
davidbickel.com+li...@gmail.com wrote:
 I keep my .bib files on Dropbox so I can easily work from multiple computers.

 Is there a way that I can set the preferences on my Macintosh to use a
 different .bib path by default? This needs to be done without
 specifying the whole path in the LyX file.

 On Windows, this is accomplished by modifying the BIBINPUTS
 environment variable, but I do not know how to do something like that
 with MacOS.

On Linux the following works:
export BIBINPUTS=/path/to/dir
I thought environment variables worked the same on Mac. I'm not sure
what the best way is to have that run everytime. Is there a
/etc/environment file on Macs?
To test that it works, just do
kpsewhich -var-value BIBINPUTS
after to see where bibtex will look.

Scott


set default bibliography path on Mac

2014-04-11 Thread David Bickel
I keep my .bib files on Dropbox so I can easily work from multiple computers.

Is there a way that I can set the preferences on my Macintosh to use a
different .bib path by default? This needs to be done without
specifying the whole path in the LyX file.

On Windows, this is accomplished by modifying the BIBINPUTS
environment variable, but I do not know how to do something like that
with MacOS.

David


Re: set default bibliography path on Mac

2014-04-11 Thread Scott Kostyshak
On Fri, Apr 11, 2014 at 11:02 AM, David Bickel
davidbickel.com+li...@gmail.com wrote:
 I keep my .bib files on Dropbox so I can easily work from multiple computers.

 Is there a way that I can set the preferences on my Macintosh to use a
 different .bib path by default? This needs to be done without
 specifying the whole path in the LyX file.

 On Windows, this is accomplished by modifying the BIBINPUTS
 environment variable, but I do not know how to do something like that
 with MacOS.

On Linux the following works:
export BIBINPUTS=/path/to/dir
I thought environment variables worked the same on Mac. I'm not sure
what the best way is to have that run everytime. Is there a
/etc/environment file on Macs?
To test that it works, just do
kpsewhich -var-value BIBINPUTS
after to see where bibtex will look.

Scott


set default bibliography path on Mac

2014-04-11 Thread David Bickel
I keep my .bib files on Dropbox so I can easily work from multiple computers.

Is there a way that I can set the preferences on my Macintosh to use a
different .bib path by default? This needs to be done without
specifying the whole path in the LyX file.

On Windows, this is accomplished by modifying the BIBINPUTS
environment variable, but I do not know how to do something like that
with MacOS.

David


Re: set default bibliography path on Mac

2014-04-11 Thread Scott Kostyshak
On Fri, Apr 11, 2014 at 11:02 AM, David Bickel
 wrote:
> I keep my .bib files on Dropbox so I can easily work from multiple computers.
>
> Is there a way that I can set the preferences on my Macintosh to use a
> different .bib path by default? This needs to be done without
> specifying the whole path in the LyX file.
>
> On Windows, this is accomplished by modifying the BIBINPUTS
> environment variable, but I do not know how to do something like that
> with MacOS.

On Linux the following works:
export BIBINPUTS=/path/to/dir
I thought environment variables worked the same on Mac. I'm not sure
what the best way is to have that run everytime. Is there a
/etc/environment file on Macs?
To test that it works, just do
kpsewhich -var-value BIBINPUTS
after to see where bibtex will look.

Scott