# [TxMt] Problems with \cite-items

Fri May 23 10:20:41 UTC 2008

```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