4

I'm using Texmaker 4.4.1 as an editor and MiKTeX 2.9 as a compiler. When ever I create table of contents (\tableofcontents), table of figures (\tableoffigures) and table of tables (\tableoftables); I need to compile the codes twice to see the changes in the pdf document.

Why can't I compile only once and see the changes?