Thanks, Richard. It works now. In summary, this changes the default path to .bib files: 1 Start > Control Panel > System > Adanced > Environment Variables (as Siegfried instructed); 2 add a BIBINPUTS variable with the path to the bib files (as you instructed); 3 reboot.
David PS This is also posted under a different subject to aid future users. On Wed, Mar 11, 2009 at 11:30 AM, Richard Heck <rgh...@bobjweil.com> wrote: > David Bickel wrote: >> >> I keep my .bib files on a portable hard drive so I can easily work >> from multiple computers. The only way I have been able to get LyX to >> use these .bib files is to have it put the full path to my .bib >> directory in the .lyx file. The problem with this is that I share the >> .lyx file with other users whose computers do not recognize that path. >> >> Is there a way that I can instead set the preferences on my computer >> to use a different .bib path by default? That worked well in >> Scientific Word. >> >> I use Windows XP and Windows Vista with LyX 1.6.1. >> >> > > What you need is the BIBINPUTS environment variable. I have this: > BIBINPUTS=/home/rgheck/files/bibtex:: > export BIBINPUTS; > in my shell here. I assume there is some way to set these things on Windows. > If worse comes to worse, of course, you can directly modify TeX's texmf.cnf > configuration file. (I assume that must exist under Windows.) > > rh > > -- David R. Bickel, PhD Ottawa Institute of Systems Biology BMI Dept., University of Ottawa 451 Smyth Road Ottawa, Ontario K1H 8M5 http://www.statomics.com dbic...@uottawa.ca 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