Lars Risan wrote:

I'm still struggeling with my bibtex-problem (and perhaps a bit off topic to lyx-users, since LyX seems to be fine). When running bibtex manually in the directory of the bibtex-database I get this reply (and a nice DVI):

[EMAIL PROTECTED] ~/Dokumenter/Lyx $ bibtex EPJ-rapport_01
This is BibTeX, Version 0.99c (Web2C 7.3.1)
The top-level auxiliary file: EPJ-rapport_01.aux
The style file: noaps.bst
Database file #1: referanser.bib

When running it from another directory I get this reply (and a DVI-file without references):

[EMAIL PROTECTED] ~/Dokumenter/Lyx/TestLyx $ bibtex EPJ-rapport_01
This is BibTeX, Version 0.99c (Web2C 7.3.1)
The top-level auxiliary file: EPJ-rapport_01.aux
I couldn't open style file noaps.bst

then this style file isn't found by bibtex. What does

kpsewhich noaps.bst

say? If the output is empty then this file is not part
of the tex tree. Move it into /usr/local/share/texmf/bibtex/bst/
and run mktexlsr to update the data base

(echo $BIBINPUTS gives:
/sv/ernesto/tik-u9/lrisan/Dokumenter/Lyx -- that is the right directory)

setting of the $BIBINPUTS environment varisble is not really necessary, because LyX can insert the full path of the bibfile.

Herbert




Reply via email to