Re: Lyx Bibtex Problem
Hi, 2006-10-24 11:50 +, Karin Eichele: Hello! I actually have a problem with Lyx 1.4.1 and Bibtex (running on Windows XP) similar to one reported few days ago. But I couldn´t manage to solve it. I included a Bibtex Bibliography in my Document and chose Natbib Style for Citations. Everything worked fine for almost 2 months. Unfortunately something went wrong. I still can cite in Lyx, Lyx itself displays my citations properly, so everything is fine, the path therefore seems to be correct. However, when I try to convert to DVI, all citations are lost and replaced by a [?]. The Reference section at the end of the document is completely missing. When I try to convert a recent file, everything works properly. I haven´t changed any configurations since then. Actually, the current file has worked properly before, I haven´t changed anything, not even a single letter. I tried the files on another computer, same problem. The recent files work, the new one fails. I observed that the old file is converted the following: Latex Run 1, Bibtex, Latex 2,3,4 and buffer write. With the new file, Latex runs 3 and 4 are missing. The Temporary file however contains the .bib database, at least, I cannot find any discrepancy between the Temps of the recent files and the new files. So what is going on with my document. There aren´t any Latex errors. Thanks a lot in advance Do you use a natbib compatible bibtex style? Please compare the bibliography styles in Your older, correctly working files and the new one (which is not working). I have had a similar problem and the problem was an incompatible bibtex style. Hope this helps, Kimmo
Re: Lyx Bibtex Problem
K. Elo [EMAIL PROTECTED] writes: Hi, 2006-10-24 11:50 +, Karin Eichele: Do you use a natbib compatible bibtex style? Please compare the bibliography styles in Your older, correctly working files and the new one (which is not working). I have had a similar problem and the problem was an incompatible bibtex style. Hope this helps, Kimmo Thanks for your answer, the style itself is working, its the same in my old and new documents. Actually it is the same document, the old file is a backup I saved few days before. I have neither changed the style nor the path since then. Greets, Karin
Re: Lyx Bibtex Problem
Karin Eichele wrote: I observed that the old file is converted the following: Latex Run 1, Bibtex, Latex 2,3,4 and buffer write. With the new file, Latex runs 3 and 4 are missing. The Temporary file however contains the .bib database, at least, I cannot find any discrepancy between the Temps of the recent files and the new files. So what is going on with my document. There aren´t any Latex errors. What happens if you try the following: View-DVI the new file, to get the first two latex runs and the bibtex run in between; with LyX still open, go to the temp directory and do the third and if necessary fourth latex runs manually (from a command prompt)? Does this work, or do you get error messages? Also, does the bibtex run successfully produce a .aux file? /Paul
Re: Lyx Bibtex Problem
Paul A. Rubin [EMAIL PROTECTED] writes: Karin Eichele wrote: I observed that the old file is converted the following: Latex Run 1, Bibtex, Latex 2,3,4 and buffer write. With the new file, Latex runs 3 and 4 are missing. The Temporary file however contains the .bib database, at least, I cannot find any discrepancy between the Temps of the recent files and the new files. So what is going on with my document. There aren´t any Latex errors. What happens if you try the following: View-DVI the new file, to get the first two latex runs and the bibtex run in between; with LyX still open, go to the temp directory and do the third and if necessary fourth latex runs manually (from a command prompt)? Does this work, or do you get error messages? Also, does the bibtex run successfully produce a .aux file? /Paul Hello, Sorry for asking,but how exactly can I start the third and fourth run manually? What do I hace to do? The Bibtex .aux file should have the same file name as my .bib file? If yes, I don´t have such a file in the Temp. Thanks a lot Karin
Re: Lyx Bibtex Problem
Sorry, I forgot to mention that I have one .aux file named the same as the lyx file itself. Karin
Re: Lyx Bibtex Problem
Karin Eichele wrote: Sorry, I forgot to mention that I have one .aux file named the same as the lyx file itself. That's what you should have. Richard
Re: Lyx Bibtex Problem
Richard Heck [EMAIL PROTECTED] writes: Karin Eichele wrote: Sorry, I forgot to mention that I have one .aux file named the same as the lyx file itself. That's what you should have. Richard Ok, thanks. Sorry again for asking, but how can I manage to figure out where the problem is. The .bbl file in the temp obviously is empty, so how can I fix that? Karin
Re: Lyx Bibtex Problem
Ok, thanks. Sorry again for asking, but how can I manage to figure out where the problem is. The .bbl file in the temp obviously is empty, so how can I fix that? My default technique here is as follows: Export to LaTeX and do everything manually. If that works, then, well, it works, and you can at least deal with it that way. If not, then I would hope to figure out thereby what's wrong. And if you're not getting LaTeX runs after the first, then I'm guessing you're getting an error during the BibTeX run. Why, I don't know, but doing it all manually should show you. The other option, suggested earlier, is to go to the temporary LyX directory and run everything manually there. Since I'm not on Windows, I don't know exactly how you'd do that. On Linux, it'd be: #latex filename #bibtex filename #latex filename #..repeat as necessary... from the shell. Presumably, it's something similar in Windows. Richard
Re: Lyx Bibtex Problem
Richard Heck wrote: My default technique here is as follows: Export to LaTeX and do everything manually. If that works, then, well, it works, and you can at least deal with it that way. If not, then I would hope to figure out thereby what's wrong. And if you're not getting LaTeX runs after the first, then I'm guessing you're getting an error during the BibTeX run. Why, I don't know, but doing it all manually should show you. The other option, suggested earlier, is to go to the temporary LyX directory and run everything manually there. Since I'm not on Windows, I don't know exactly how you'd do that. On Linux, it'd be: #latex filename #bibtex filename #latex filename #..repeat as necessary... from the shell. Presumably, it's something similar in Windows. Yes. Assuming that we're in the temp directory, with LyX still open, after View-DVI has failed, there should already be a .tex file containing the exported document. Call it mydoc.tex. Assuming that the MikTeX bin directory (or the bin directory for whatever LaTeX distribution Karin has) is on the system command path, she should run latex mydoc bibtex mydoc latex mydoc (repeated as needed). If the bin directory is not on the system path, supply a full path to each command (e.g., C:\Program Files\MikTeX\bin\latex.exe mydoc, etc.). Again, View-DVI appears to be doing the first two runs, so it might be worthwhile to start with the third run (second latex run). If that does not provide useful information, Karin should run the entire sequence above. If Karin's .bbl file exists but is empty, chances are that BibTeX has failed. This sometimes happens if a defective bibliographic entry (meaning one that is incorrectly formatted in the .bib file) is used. When that happens, the easiest way to track it down is bisection search. Remove half the citations and try to compile. If the document compiles, add in half the omitted citations; if it fails, remove half the remaining citations. Keep doing this until the offending citation is identified. /Paul
Re: Lyx Bibtex Problem
Hi, 2006-10-24 11:50 +, Karin Eichele: Hello! I actually have a problem with Lyx 1.4.1 and Bibtex (running on Windows XP) similar to one reported few days ago. But I couldn´t manage to solve it. I included a Bibtex Bibliography in my Document and chose Natbib Style for Citations. Everything worked fine for almost 2 months. Unfortunately something went wrong. I still can cite in Lyx, Lyx itself displays my citations properly, so everything is fine, the path therefore seems to be correct. However, when I try to convert to DVI, all citations are lost and replaced by a [?]. The Reference section at the end of the document is completely missing. When I try to convert a recent file, everything works properly. I haven´t changed any configurations since then. Actually, the current file has worked properly before, I haven´t changed anything, not even a single letter. I tried the files on another computer, same problem. The recent files work, the new one fails. I observed that the old file is converted the following: Latex Run 1, Bibtex, Latex 2,3,4 and buffer write. With the new file, Latex runs 3 and 4 are missing. The Temporary file however contains the .bib database, at least, I cannot find any discrepancy between the Temps of the recent files and the new files. So what is going on with my document. There aren´t any Latex errors. Thanks a lot in advance Do you use a natbib compatible bibtex style? Please compare the bibliography styles in Your older, correctly working files and the new one (which is not working). I have had a similar problem and the problem was an incompatible bibtex style. Hope this helps, Kimmo
Re: Lyx Bibtex Problem
K. Elo [EMAIL PROTECTED] writes: Hi, 2006-10-24 11:50 +, Karin Eichele: Do you use a natbib compatible bibtex style? Please compare the bibliography styles in Your older, correctly working files and the new one (which is not working). I have had a similar problem and the problem was an incompatible bibtex style. Hope this helps, Kimmo Thanks for your answer, the style itself is working, its the same in my old and new documents. Actually it is the same document, the old file is a backup I saved few days before. I have neither changed the style nor the path since then. Greets, Karin
Re: Lyx Bibtex Problem
Karin Eichele wrote: I observed that the old file is converted the following: Latex Run 1, Bibtex, Latex 2,3,4 and buffer write. With the new file, Latex runs 3 and 4 are missing. The Temporary file however contains the .bib database, at least, I cannot find any discrepancy between the Temps of the recent files and the new files. So what is going on with my document. There aren´t any Latex errors. What happens if you try the following: View-DVI the new file, to get the first two latex runs and the bibtex run in between; with LyX still open, go to the temp directory and do the third and if necessary fourth latex runs manually (from a command prompt)? Does this work, or do you get error messages? Also, does the bibtex run successfully produce a .aux file? /Paul
Re: Lyx Bibtex Problem
Paul A. Rubin [EMAIL PROTECTED] writes: Karin Eichele wrote: I observed that the old file is converted the following: Latex Run 1, Bibtex, Latex 2,3,4 and buffer write. With the new file, Latex runs 3 and 4 are missing. The Temporary file however contains the .bib database, at least, I cannot find any discrepancy between the Temps of the recent files and the new files. So what is going on with my document. There aren´t any Latex errors. What happens if you try the following: View-DVI the new file, to get the first two latex runs and the bibtex run in between; with LyX still open, go to the temp directory and do the third and if necessary fourth latex runs manually (from a command prompt)? Does this work, or do you get error messages? Also, does the bibtex run successfully produce a .aux file? /Paul Hello, Sorry for asking,but how exactly can I start the third and fourth run manually? What do I hace to do? The Bibtex .aux file should have the same file name as my .bib file? If yes, I don´t have such a file in the Temp. Thanks a lot Karin
Re: Lyx Bibtex Problem
Sorry, I forgot to mention that I have one .aux file named the same as the lyx file itself. Karin
Re: Lyx Bibtex Problem
Karin Eichele wrote: Sorry, I forgot to mention that I have one .aux file named the same as the lyx file itself. That's what you should have. Richard
Re: Lyx Bibtex Problem
Richard Heck [EMAIL PROTECTED] writes: Karin Eichele wrote: Sorry, I forgot to mention that I have one .aux file named the same as the lyx file itself. That's what you should have. Richard Ok, thanks. Sorry again for asking, but how can I manage to figure out where the problem is. The .bbl file in the temp obviously is empty, so how can I fix that? Karin
Re: Lyx Bibtex Problem
Ok, thanks. Sorry again for asking, but how can I manage to figure out where the problem is. The .bbl file in the temp obviously is empty, so how can I fix that? My default technique here is as follows: Export to LaTeX and do everything manually. If that works, then, well, it works, and you can at least deal with it that way. If not, then I would hope to figure out thereby what's wrong. And if you're not getting LaTeX runs after the first, then I'm guessing you're getting an error during the BibTeX run. Why, I don't know, but doing it all manually should show you. The other option, suggested earlier, is to go to the temporary LyX directory and run everything manually there. Since I'm not on Windows, I don't know exactly how you'd do that. On Linux, it'd be: #latex filename #bibtex filename #latex filename #..repeat as necessary... from the shell. Presumably, it's something similar in Windows. Richard
Re: Lyx Bibtex Problem
Richard Heck wrote: My default technique here is as follows: Export to LaTeX and do everything manually. If that works, then, well, it works, and you can at least deal with it that way. If not, then I would hope to figure out thereby what's wrong. And if you're not getting LaTeX runs after the first, then I'm guessing you're getting an error during the BibTeX run. Why, I don't know, but doing it all manually should show you. The other option, suggested earlier, is to go to the temporary LyX directory and run everything manually there. Since I'm not on Windows, I don't know exactly how you'd do that. On Linux, it'd be: #latex filename #bibtex filename #latex filename #..repeat as necessary... from the shell. Presumably, it's something similar in Windows. Yes. Assuming that we're in the temp directory, with LyX still open, after View-DVI has failed, there should already be a .tex file containing the exported document. Call it mydoc.tex. Assuming that the MikTeX bin directory (or the bin directory for whatever LaTeX distribution Karin has) is on the system command path, she should run latex mydoc bibtex mydoc latex mydoc (repeated as needed). If the bin directory is not on the system path, supply a full path to each command (e.g., C:\Program Files\MikTeX\bin\latex.exe mydoc, etc.). Again, View-DVI appears to be doing the first two runs, so it might be worthwhile to start with the third run (second latex run). If that does not provide useful information, Karin should run the entire sequence above. If Karin's .bbl file exists but is empty, chances are that BibTeX has failed. This sometimes happens if a defective bibliographic entry (meaning one that is incorrectly formatted in the .bib file) is used. When that happens, the easiest way to track it down is bisection search. Remove half the citations and try to compile. If the document compiles, add in half the omitted citations; if it fails, remove half the remaining citations. Keep doing this until the offending citation is identified. /Paul
Re: Lyx Bibtex Problem
Hi, 2006-10-24 11:50 +, Karin Eichele: > Hello! > > I actually have a problem with Lyx 1.4.1 and Bibtex (running on Windows XP) > similar to one reported few days ago. But I couldn´t manage to solve it. > > I included a Bibtex Bibliography in my Document and chose Natbib Style for > Citations. Everything worked fine for almost 2 months. Unfortunately something > went wrong. I still can cite in Lyx, Lyx itself displays my citations > properly, > so everything is fine, the path therefore seems to be correct. However, when I > try to convert to DVI, all citations are lost and replaced by a [?]. The > Reference section at the end of the document is completely missing. > When I try to convert a recent file, everything works properly. I haven´t > changed any configurations since then. Actually, the current file has worked > properly before, I haven´t changed anything, not even a single letter. I tried > the files on another computer, same problem. The recent files work, the new > one > fails. > I observed that the old file is converted the following: Latex Run 1, Bibtex, > Latex 2,3,4 and buffer write. With the new file, Latex runs 3 and 4 are > missing. > The Temporary file however contains the .bib database, at least, I cannot find > any discrepancy between the Temps of the recent files and the new files. So > what > is going on with my document. There aren´t any Latex errors. > > Thanks a lot in advance Do you use a natbib compatible bibtex style? Please compare the bibliography styles in Your older, correctly working files and the new one (which is not working). I have had a similar problem and the problem was an incompatible bibtex style. Hope this helps, Kimmo
Re: Lyx Bibtex Problem
K. Elo <[EMAIL PROTECTED]> writes: > > Hi, > > 2006-10-24 11:50 +, Karin Eichele: > > > > Do you use a natbib compatible bibtex style? Please compare the > bibliography styles in Your older, correctly working files and the new > one (which is not working). I have had a similar problem and the problem > was an incompatible bibtex style. > > Hope this helps, > Kimmo > > Thanks for your answer, the style itself is working, its the same in my old and new documents. Actually it is the same document, the old file is a backup I saved few days before. I have neither changed the style nor the path since then. Greets, Karin
Re: Lyx Bibtex Problem
Karin Eichele wrote: I observed that the old file is converted the following: Latex Run 1, Bibtex, Latex 2,3,4 and buffer write. With the new file, Latex runs 3 and 4 are missing. The Temporary file however contains the .bib database, at least, I cannot find any discrepancy between the Temps of the recent files and the new files. So what is going on with my document. There aren´t any Latex errors. What happens if you try the following: View->DVI the new file, to get the first two latex runs and the bibtex run in between; with LyX still open, go to the temp directory and do the third and if necessary fourth latex runs manually (from a command prompt)? Does this work, or do you get error messages? Also, does the bibtex run successfully produce a .aux file? /Paul
Re: Lyx Bibtex Problem
Paul A. Rubin <[EMAIL PROTECTED]> writes: > > Karin Eichele wrote: > > > I observed that the old file is converted the following: Latex Run 1, Bibtex, > > Latex 2,3,4 and buffer write. With the new file, Latex runs 3 and 4 are missing. > > The Temporary file however contains the .bib database, at least, I cannot find > > any discrepancy between the Temps of the recent files and the new files. So what > > is going on with my document. There aren´t any Latex errors. > > > > What happens if you try the following: View->DVI the new file, to get > the first two latex runs and the bibtex run in between; with LyX still > open, go to the temp directory and do the third and if necessary fourth > latex runs manually (from a command prompt)? Does this work, or do you > get error messages? > > Also, does the bibtex run successfully produce a .aux file? > > /Paul > > Hello, Sorry for asking,but how exactly can I start the third and fourth run manually? What do I hace to do? The Bibtex .aux file should have the same file name as my .bib file? If yes, I don´t have such a file in the Temp. Thanks a lot Karin
Re: Lyx Bibtex Problem
> Sorry, I forgot to mention that I have one .aux file named the same as the lyx file itself. Karin
Re: Lyx Bibtex Problem
Karin Eichele wrote: Sorry, I forgot to mention that I have one .aux file named the same as the lyx file itself. That's what you should have. Richard
Re: Lyx Bibtex Problem
Richard Heck <[EMAIL PROTECTED]> writes: > > Karin Eichele wrote: > > Sorry, I forgot to mention that I have one .aux file named the same as the lyx > > file itself. > That's what you should have. > > Richard > > Ok, thanks. Sorry again for asking, but how can I manage to figure out where the problem is. The .bbl file in the temp obviously is empty, so how can I fix that? Karin
Re: Lyx Bibtex Problem
Ok, thanks. Sorry again for asking, but how can I manage to figure out where the problem is. The .bbl file in the temp obviously is empty, so how can I fix that? My default technique here is as follows: Export to LaTeX and do everything manually. If that works, then, well, it works, and you can at least deal with it that way. If not, then I would hope to figure out thereby what's wrong. And if you're not getting LaTeX runs after the first, then I'm guessing you're getting an error during the BibTeX run. Why, I don't know, but doing it all manually should show you. The other option, suggested earlier, is to go to the temporary LyX directory and run everything manually there. Since I'm not on Windows, I don't know exactly how you'd do that. On Linux, it'd be: #latex filename #bibtex filename #latex filename #<..repeat as necessary...> from the shell. Presumably, it's something similar in Windows. Richard
Re: Lyx Bibtex Problem
Richard Heck wrote: My default technique here is as follows: Export to LaTeX and do everything manually. If that works, then, well, it works, and you can at least deal with it that way. If not, then I would hope to figure out thereby what's wrong. And if you're not getting LaTeX runs after the first, then I'm guessing you're getting an error during the BibTeX run. Why, I don't know, but doing it all manually should show you. The other option, suggested earlier, is to go to the temporary LyX directory and run everything manually there. Since I'm not on Windows, I don't know exactly how you'd do that. On Linux, it'd be: #latex filename #bibtex filename #latex filename #<..repeat as necessary...> from the shell. Presumably, it's something similar in Windows. Yes. Assuming that we're in the temp directory, with LyX still open, after View->DVI has failed, there should already be a .tex file containing the exported document. Call it mydoc.tex. Assuming that the MikTeX bin directory (or the bin directory for whatever LaTeX distribution Karin has) is on the system command path, she should run latex mydoc bibtex mydoc latex mydoc (repeated as needed). If the bin directory is not on the system path, supply a full path to each command (e.g., "C:\Program Files\MikTeX\bin\latex.exe" mydoc, etc.). Again, View->DVI appears to be doing the first two runs, so it might be worthwhile to start with the third run (second latex run). If that does not provide useful information, Karin should run the entire sequence above. If Karin's .bbl file exists but is empty, chances are that BibTeX has failed. This sometimes happens if a defective bibliographic entry (meaning one that is incorrectly formatted in the .bib file) is used. When that happens, the easiest way to track it down is bisection search. Remove half the citations and try to compile. If the document compiles, add in half the omitted citations; if it fails, remove half the remaining citations. Keep doing this until the offending citation is identified. /Paul