Hi all,

I have not used LyX for the last year or so, when I wrote up my thesis 
using this wonderful but really wierd program. LyX is a real hackers 
delight! But, as an social anthropologist in a world of only 
MS-Word-users, an instance of "hackers delight" can sometimes become 
a hacking nightmare, because computer science isn't what I know best! 

Anyway, this "lyx-users"-list has always been a friendly and helpful 
place, and I (or rather the University of Oslo) have updated to Red 
Hat Enterprise 3 and LyX 1.3.4. (from RH 7.* and Lyx 1.1.4) It seems 
that I have sorted out most of the minor LyX-hassles that followed 
the upgrades. Only one real puzzle remains: There are some strange 
troubles in finding the bibtex-database.

I have my reference-base ("referanser.bib") in this folder:

/sv/ernesto/tik-u9/lrisan/Dokumenter/Lyx

and I have the environment variable set like this:

BIBINPUTS=/sv/ernesto/tik-u9/lrisan/Dokumenter/Lyx

If the LyX-document is in this directory, everything works fine. If 
the document is elsewhere three things happen:
1: adding a new reference in the text does not work (Insert -> 
Citation Reference) No datbase is found.
2: If I open the "Bibtex Generated Reference"-box, and "browse" for 
the reference-database, I can add the database, included /the 
absulute path from root/. Having done this, the command Insert -> 
Citation Reference works fine, and I can add new references to the 
text.
3: BUT still, having used the absolute path, running bibtex (by doing 
View -> DVI in Lyx) still fails. That is, the DVI is created, but 
refernces are just marked "?", and there is no reference list.

When i place the LyX-document in the same directory as the reference 
base (also pointed to by BIBINPUTS), I need not use the absolute path 
("referanser" is enough).

Any clue to a solution?


-lars

Reply via email to