[pdftex] Rerunning pdflatex

Robin Fairbairns Robin.Fairbairns at cl.cam.ac.uk
Wed Apr 7 09:12:04 CEST 2010


Prabhu <prabhu6707 at gmail.com> wrote:

> From longtable package,
> 
> [1]http://www.tex.ac.uk/tex-archive/macros/latex/required/tools/longtable.pdf
> 
> Note: Various parts of the following table will not line up correctly
> until this document has been run through LATEX several times. This is a
> characteristic feature of this package, as described below.�
> 
> Says we have to rerun pdflatex several times so that table will line up
> correctly. I am unable to understand how re-running the same .tex file
> makes the alignment right.
> 
> When we run pdflatex again and again for the same TEX file, How the
> alignment problem is solved?

pages are compiled independently by default.  this is the way tex works.

that information is passed to future runs via the .aux file, so that
later compilations know (on page n) what happened on pages n+1, n+2,
etc.

robin fairbairns



More information about the pdftex mailing list