On 7/20/07, Bennett Helm <[EMAIL PROTECTED]> wrote:
On Jul 19, 2007, at 10:42 PM, Lyx Physicst wrote: > Ok, so Im still very new to LaTeX... But I ran it and everything > came out the same, there was no bibliography at all. So I ran > BibTeX and got this error > > "This is BibTeX, Version 0.99c (Web2C 7.5.5) > The top-level auxiliary file: Thesis3.4.1.aux > I couldn't open style file aip.bst > ---line 146 of file Thesis3.4.1.aux > : \bibstyle{aip > : } > I'm skipping whatever remains of this command > I found no style file---while reading file Thesis3.4.1.aux > (There were 2 error messages)" > > Am I missing some style file? (I am using report class fyi) > Thanks, > Charles This indicates it's not a LyX problem but something wrong with your LaTeX setup. I'm not sure what the "couldn't open style file aip.bst" is indicating. You said you installed it; are you sure? Try opening the Terminal and typing: kpsewhich aip.bst That should return a path to the file if LaTeX can find the file and nothing otherwise. If you do get a bath to that file, check to make sure you have read permissions on it. The other possibility I can think of is that the file is somehow corrupted. When installing extra files for LaTeX, the standard place to put them on Mac is ~/Library/texmf/. So .bst files would generally be put in ~/ Library/texmf/bibtex/bst. Having done that, run "sudo texhash" (giving your password), and it *should* work. Bennett
This is the path that I found the aip.bst file in /usr/local/gwTeX/texmf.texlive/bibtex/bst/base/aip.bst I looked and I dont have a ~/Library/texmf/bibtex/bst folder.... Could there be somewhere else that I can put the file so LaTeX can see it?