On Thu, 21 Feb 2013 03:57:40 -0500
"Tim E. Real" <[email protected]> wrote:

> > Upon running it just once I got no toc, did it two times more and now
> > the toc is there. I refuse to be amazed ;)
> 
> Good grief, is there no way to tell pdflatex to do this for us?
> As you can see above I had to tell cmake to arbitrarily build it four times 
>  (four for good luck). If not, hopefully some return code from pdflatex that 
>  we can use?

Ah you gotta understand how Tex and its packages work. Tex is a 1-pass
compiler. So during the first run many packages create auxilary files
which are read on successive runs. e.g. first pass collects the amount
of pages, second pass inserts the page count into the document. The
same with references, ToC, cites, ...

Usually if the document didn't change much it's ok to run Tex only once
as most auxilary files are still valid. They are recreated every time
so if things don't look right it can often be fixed by another run.

Best, Dennis

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Lmuse-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmuse-developer

Reply via email to