I have some very strange behaviour in LyX. I have a simple latex style file (mystyle.sty) which is located in a directory "mylatexfiles". latex knows about this: I have "export TEXINPUTS=mylatexfiles:" in my bash login and I've done "sudo texhash". When I run a simple test with pure latex (\usepackage{mystyle}) it compiles it correctly. However when I try to compile it from LyX it says "an empty outpus file was generated"' and then "Latex Error: File `mystyle.sty' not found." This has happened even after I reconfigured LyX.
How is it that latex has no problem finding my style file but LyX does? PS: I'm running LyX 1.6.2 on Ubuntu 9.04 with texlive -- Ernesto Posse Applied Formal Methods Group - Software Technology Lab School of Computing Queen's University - Kingston, Ontario, Canada