[Nix-dev] NIXPKGS environment variable in nixos-rebuild

Lluís Batlle i Rossell viriketo at gmail.com
Wed Jul 20 19:08:15 CEST 2011


On Wed, Jul 20, 2011 at 02:31:09PM +0200, maggesi at math.unifi.it wrote:
> Quoting Eelco Dolstra <e.dolstra at tudelft.nl>:
> 
> >Hi,
> >
> >On 07/20/2011 11:41 AM, Marco Maggesi wrote:
> >
> >>I came across this old post which I'm trying to put in practice,
> >>precisely for the compilation of a latex document.
> >>
> >>I have the following problem: I cannot get the bibtex citations.
> >>Apparently latex is not run a second time after the bibtex.
> >
> >Is bibtex run at all?  It's only run if TeX produces a .aux file.
> Actually I found the problem, but I don't have a good solution yet.
> I just realized by manual experimentation that my latex sources need
> to be recompiled twice before the bbl can take effect, i.e.,

Yes, I've always used bibtex like this, although I don't know what does it have
to do with nix. :)

About the iterative latex run, for what I remember, it's an iterative process
in order to stabilise the cross references. As the references affect the
layout of the document, they have to be updated for the new layout.

In fact you have to run pdflatex as much times as the document stop changing, I
think. Usually, two steps after having the bibliography is enough.



More information about the nix-dev mailing list