# Table of content don't show a number for a line

I'm new to Latex and I'm writing my thesis with "report" document class. These are my first lines:

...
\newcommand\blankpage{
\null
\thispagestyle{empty}
\newpage}

\begin{document}

\includepdf{cover.pdf}
\afterpage{\blankpage}

\chapter*{Abstract}
\pagenumbering{gobble}
text text text

\tableofcontents

\chapter*{Introduction}
\pagenumbering{Roman}
text text text

\chapter{Chapter 1}
\pagenumbering{arabic}
text text text


Essentially quite all is good: "Abstract" and table of contents are unnumbered, "Introduction" is numbered with Roman numbers and "Chapter1" with arabic numbers.

Unfortunately in table of contents the line "Introduction" has no number near it. I'd like it shows the roman 'I' number (that's the right number).

• you switch to Roman too late, after you have written the table of contents line. – David Carlisle Oct 25 '17 at 18:24
• Putting Roman after \tableofcontent I obtain what I wanted, but now the last page of the table of content is numbered 'I' so the "Introduction" starts with 'II'. That's so curious since in the table of contents "Introduction" line shows number 'I'... – Akinn Oct 25 '17 at 18:27
• change of pagenumbering should always be after a forced pagebreak so \clearpage normally. – David Carlisle Oct 25 '17 at 19:02
• also it's not clear why you have \afterpage or \blankpage the \pagenumbering resets the page counter to 1 so the subtracting of one in \blankpage isn't doing anything. – David Carlisle Oct 25 '17 at 19:04
• I solved putting \clearpage after \tableofcontents – Akinn Oct 25 '17 at 19:17

\clearpage