Bo Peng wrote:
If you View->LaTeX info->BibTeX styles, can you see the .bst file?


No. The .bst file is under the same directory as the .lyx file. I use
'browse' in the bib tex dialog to use it. Under linux, this is enough.


I can reproduce the problem (Win XP, LyX 1.3.7pre5) if the .bst file is in a directory with spaces in the path, but not if it's in a space-free location (e.g., C:\Temp). When there are spaces in the path, this is what I find in the temp directory:

1. The .tex file contains what I think is a correctly constructed path to the .bst file (e.g., \bibliographystyle{\string"C:/Documents and Settings/my_id/Desktop/mybstfile\string"}).

2. Notwithstanding (1), the .aux file has an "un-escaped" reference to the .bst file (e.g., \bibstyle{"C:/Documents and Settings/my_id/Desktop/mybstfile"} -- note the spaces in the path).

3. The .tex.dep dependency file lists the .bst file with space (e.g., C:/Documents and Settings/my_id/Desktop/mydecsci.bst) -- not sure if that's a problem or not.

My best guess, and it's just a guess, is that bibtex's being handed a path with spaces and choking on them.

/Paul





Reply via email to