I have this code
\documentclass[11pt]{article}
\usepackage[landscape,twocolumn, margin=2cm]{geometry}
\usepackage{fancyhdr,lipsum}
\usepackage[utf8]{inputenc}
\pagestyle{fancy}
\fancyhf{}
\lfoot{\makebox[\columnwidth]{\thepage}}
\rfoot{\makebox[\columnwidth]{\number\numexpr\value{page}+1}\stepcounter{page}}
\setlength{\columnsep}{1.5cm}
\begin{document}
\tableofcontents
\newpage
\section{Tarjet}
\newpage
\section{Material}
\newpage
\section{Equipment}
\newpage
\section{Theoretical introduction}
\newpage
\section{Experimental development}
\newpage
\section{Calculations}
\newpage
\section{Circuit simulations}
\newpage
\section{Comparison between calculated values, measured values and simulated values}
\newpage
\section{Questionnaire}
\newpage
\section{Conclusions}
\newpage
\section{Bibliography}
\begin{thebibliography}{9}
\bibitem x
\end{thebibliography}
\end{document}
Is just a table of contents and some pages with the title of a section.
The table of contents I get is this:

But the page numbers on the table of contents are wrong.
They should be 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
It just takes the number of the right page.
Can anyone help me to correct this?
pgfpagescould be of use? (not sure, sorry) – Sašo Živanović Feb 10 at 22:05