Hi!
I have a strange problem lately when I compile tex-files (actually I can't say how "new" the problem is because I didn't compile a tex-file for a longer time now):
When I compile a file with a bibliograpy the cite-fields won't get filled out. Let's say I have a bib-item with the bibkey test:2007sf (authors last name test, year 2007) and I write for example \cite[p. 45]{test:2007sf} it will compile to (?, p. 45). In the log-file stands that the item cannot be found in the bbl-file. Looking into the bbl-file the item is there. Even several recompiles won't work. But if I compile the file with TeXShop everything works as expected. A re-compile with TextMate will then also compile as expected. If I introduce new items via \cite the same problem as before occurs.
I use TM 1.5.7 (1464) and update my bundles regularly via svn. The TeX-distributions I am using are gwTeX and TeXLive 2007 and I use Latexmk.pl for compiling my files with TM which uses pdflatex (but with latex the same problem occurs).
Any ideas what's happening here?
Niels
On May 23, 2008, at 1:07 AM, Niels Kobschaetzki wrote:
Hi!
I have a strange problem lately when I compile tex-files (actually I can't say how "new" the problem is because I didn't compile a tex-file for a longer time now):
When I compile a file with a bibliograpy the cite-fields won't get filled out. Let's say I have a bib-item with the bibkey test:2007sf (authors last name test, year 2007) and I write for example \cite[p. 45]{test:2007sf} it will compile to (?, p. 45). In the log-file stands that the item cannot be found in the bbl-file. Looking into the bbl-file the item is there. Even several recompiles won't work. But if I compile the file with TeXShop everything works as expected. A re-compile with TextMate will then also compile as expected. If I introduce new items via \cite the same problem as before occurs.
I use TM 1.5.7 (1464) and update my bundles regularly via svn. The TeX-distributions I am using are gwTeX and TeXLive 2007 and I use Latexmk.pl for compiling my files with TM which uses pdflatex (but with latex the same problem occurs).
Any ideas what's happening here?
I've had something similar happen occasionally. The best I could come up with is that latekmk.pl somehow gets confused into thinking things up up-to-date, and for instance doesn't do a bibtex run even though it should, or for whatever reason it doesn't do a new recompile. Do things work properly if you run bibtex and latex manually, i.e. disabling latexmk.pl?
Niels
Haris Skiadas Department of Mathematics and Computer Science Hanover College
On Fri, May 23, 2008 at 12:20 PM, Charilaos Skiadas cskiadas@gmail.com wrote:
On May 23, 2008, at 1:07 AM, Niels Kobschaetzki wrote:
Hi!
I have a strange problem lately when I compile tex-files (actually I can't say how "new" the problem is because I didn't compile a tex-file for a longer time now):
When I compile a file with a bibliograpy the cite-fields won't get filled out. Let's say I have a bib-item with the bibkey test:2007sf (authors last name test, year 2007) and I write for example \cite[p. 45]{test:2007sf} it will compile to (?, p. 45). In the log-file stands that the item cannot be found in the bbl-file. Looking into the bbl-file the item is there. Even several recompiles won't work. But if I compile the file with TeXShop everything works as expected. A re-compile with TextMate will then also compile as expected. If I introduce new items via \cite the same problem as before occurs.
I use TM 1.5.7 (1464) and update my bundles regularly via svn. The TeX-distributions I am using are gwTeX and TeXLive 2007 and I use Latexmk.pl for compiling my files with TM which uses pdflatex (but with latex the same problem occurs).
Any ideas what's happening here?
I've had something similar happen occasionally. The best I could come up with is that latekmk.pl somehow gets confused into thinking things up up-to-date, and for instance doesn't do a bibtex run even though it should, or for whatever reason it doesn't do a new recompile. Do things work properly if you run bibtex and latex manually, i.e. disabling latexmk.pl?
i did a manual run from the compile-window (run bibtex, re-run pdflatex) and it didn't help or use one of those latexmk.pl again? I can try disabling latexmk.pl and doing the "runs" manually in the late afternoon when I'm at home again.
Niels
On May 23, 2008, at 6:32 AM, Niels Kobschaetzki wrote:
i did a manual run from the compile-window (run bibtex, re-run pdflatex) and it didn't help or use one of those latexmk.pl again? I can try disabling latexmk.pl and doing the "runs" manually in the late afternoon when I'm at home again.
Not sure if those work. I would try disabling latexmk.pl and trying again. If that doesn't work, then perhaps send me a copy of the file off-line and I'll try to figure out what's wrong, though I can't imagine what it could be, TM doesn't really do any compilations itself.
Is the bib-file in a separate directory, or alongside the tex file?
Niels
Haris Skiadas Department of Mathematics and Computer Science Hanover College
On Fri, May 23, 2008 at 1:22 PM, Charilaos Skiadas cskiadas@gmail.com wrote:
On May 23, 2008, at 6:32 AM, Niels Kobschaetzki wrote:
i did a manual run from the compile-window (run bibtex, re-run pdflatex) and it didn't help or use one of those latexmk.pl again? I can try disabling latexmk.pl and doing the "runs" manually in the late afternoon when I'm at home again.
Not sure if those work. I would try disabling latexmk.pl and trying again. If that doesn't work, then perhaps send me a copy of the file off-line and I'll try to figure out what's wrong, though I can't imagine what it could be, TM doesn't really do any compilations itself.
Is the bib-file in a separate directory, or alongside the tex file?
in a seperate directory but in the bbl-file everything stands correct but the log-file says that the entry can't be found in the bbl-file. Sometimes the correct bibliography is printed out just the \cite-items are not generated correctly. But at first I will try disabling latexmk.pl.
Niels
On Fri, May 23, 2008 at 1:29 PM, Niels Kobschaetzki n.kobschaetzki@googlemail.com wrote:
On Fri, May 23, 2008 at 1:22 PM, Charilaos Skiadas cskiadas@gmail.com wrote:
On May 23, 2008, at 6:32 AM, Niels Kobschaetzki wrote:
i did a manual run from the compile-window (run bibtex, re-run pdflatex) and it didn't help or use one of those latexmk.pl again? I can try disabling latexmk.pl and doing the "runs" manually in the late afternoon when I'm at home again.
Not sure if those work. I would try disabling latexmk.pl and trying again. If that doesn't work, then perhaps send me a copy of the file off-line and I'll try to figure out what's wrong, though I can't imagine what it could be, TM doesn't really do any compilations itself.
Is the bib-file in a separate directory, or alongside the tex file?
in a seperate directory but in the bbl-file everything stands correct but the log-file says that the entry can't be found in the bbl-file. Sometimes the correct bibliography is printed out just the \cite-items are not generated correctly. But at first I will try disabling latexmk.pl.
Unselecting latexmk.pl helps and file compiles correctly. Thanks for the hint :)
Niels