章が 1 ページを超える場合、ページ番号が欠落します

章が 1 ページを超える場合、ページ番号が欠落します

私の論文の各章の最初のページにのみページ番号が表示されていますが、それ以降のページにはページ番号が表示されません。

私は次のような前文を使用しました:

\documentclass[12pt]{report}
\include{filename}
\usepackage{pgfplots}
\usepackage{tikz}
\pgfplotsset{compat=newest}
\pgfplotsset{ytick style={draw=none}}
\pgfplotsset{xtick style={draw=none}}
\topmargin=0.02cm
\textwidth =  17cm
\textheight = 23cm
\baselineskip=11pt
\setcounter{secnumdepth}{3}
\setlength{\oddsidemargin}{0.01 pt}
\setlength{\evensidemargin}{0.01 pt}
\renewcommand{\baselinestretch}{1.4}
\usepackage{amsmath,amsfonts,amssymb,amsthm}
\usepackage{graphicx}
\graphicspath{ }

\usepackage{ragged2e}
\usepackage{makecell, multirow, tabularx}
\renewcommand\theadfont{\small\bfseries} % for bold in table using \small

\usepackage{mathrsfs}
\usepackage{epstopdf}
\usepackage{csquotes}
\usepackage{wrapfig}
\usepackage{accents}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{calligra}
\usepackage[colorlinks]{hyperref}
\usepackage{kantlipsum}
\hypersetup{colorlinks, 
    breaklinks,
    linkcolor=red,
    citecolor=red,
    linktocpage=true}
\newtheorem{fig}{figure}[section]
\numberwithin{figure}{section}
\newcommand\norm[1]{\left\lVert#1\right\rVert}
\theoremstyle{plain}
\newtheorem{thm}{Theorem}[section]
\newtheorem{lem}[thm]{Lemma}
\newtheorem{prop}[thm]{Proposition}
\newtheorem{cor}{Corollary}[thm]
\theoremstyle{definition}
\newtheorem{defn}{Definition}[section]
\newtheorem{conj}{Conjecture}[section]
\newtheorem{exmp}{Example}[section]
\setcounter{tocdepth}{3}
\theoremstyle{remark}
\newtheorem*{rem}{Remark}
\newtheorem*{note}{Note}
\usepackage{mathtools}
\graphicspath{{images/}}
\title{Thesis Title page}

\begin{document}

\maketitle

%\frontmatter

\pagestyle{empty}
\clearpage
\begin{center}
\textbf{\large DECLARATION}
\end{center}
\clearpage
\pagestyle{empty}
\begin{center}
\textbf{\large ACKNOWLEDGEMENTS}
\end{center}
\clearpage
\begin{center}
\textbf{\large CERTIFICATE FROM THE SUPERVISOR}
\end{center}

\clearpage

\pagestyle{empty}
\begin{center}
\textbf{\large NOTATIONS}
\end{center}

\addtocontents{toc}{\protect\thispagestyle{empty}}
\tableofcontents
\thispagestyle{empty}
\newpage
\setcounter{page}{1}

\chapter{Introduction}

People say that children are completely empty-headed. So what will be taught, so will learn, so will remember. But in the present time, this popular belief is largely shaken. Most parents complain, My child can't remember. Learning at home or at school, but test scores don't reflect that. Then the children forget!
People say that children are completely empty-headed. So what will be taught, so will learn, so will remember. But in the present time, this popular belief is largely shaken. Most parents complain, My child can't remember. Learning at home or at school, but test scores don't reflect that. Then the children forget!
People say that children are completely empty-headed. So what will be taught, so will learn, so will remember. But in the present time, this popular belief is largely shaken. Most parents complain, My child can't remember. Learning at home or at school, but test scores don't reflect that. Then the children forget!
People say that children are completely empty-headed. So what will be taught, so will learn, so will remember. But in the present time, this popular belief is largely shaken. Most parents complain, My child can't remember. Learning at home or at school, but test scores don't reflect that. Then the children forget!
People say that children are completely empty-headed. So what will be taught, so will learn, so will remember. But in the present time, this popular belief is largely shaken. Most parents complain, My child can't remember. Learning at home or at school, but test scores don't reflect that. Then the children forget!
People say that children are completely empty-headed. So what will be taught, so will learn, so will remember. But in the present time, this popular belief is largely shaken. Most parents complain, My child can't remember. Learning at home or at school, but test scores don't reflect that. Then the children forget!
People say that children are completely empty-headed. So what will be taught, so will learn, so will remember. But in the present time, this popular belief is largely shaken. Most parents complain, My child can't remember. Learning at home or at school, but test scores don't reflect that. Then the children forget!
People say that children are completely empty-headed. So what will be taught, so will learn, so will remember. But in the present time, this popular belief is largely shaken. Most parents complain, My child can't remember. Learning at home or at school, but test scores don't reflect that. Then the children forget!
People say that children are completely empty-headed. So what will be taught, so will learn, so will remember. But in the present time, this popular belief is largely shaken. Most parents complain, My child can't remember. Learning at home or at school, but test scores don't reflect that. Then the children forget!
People say that children are completely empty-headed. So what will be taught, so will learn, so will remember. But in the present time, this popular belief is largely shaken. Most parents complain, My child can't remember. Learning at home or at school, but test scores don't reflect that. Then the children forget!
\chapter{Prelimineries}
People say that children are completely empty-headed. So what will be taught, so will learn, so will remember. But in the present time, this popular belief is largely shaken. Most parents complain, My child can't remember. Learning at home or at school, but test scores don't reflect that. Then the children forget!


\chapter{Main chapter 1}
\section{aa}
\section{bb}
\chapter{Main chapter 2}
\section{aa}
\section{bb}
\chapter{Main chapter 3}
\section{aa}
\subsection{aaa}
\section{bb}
\subsection{bbb}
\chapter{Main chapter 4}
\section{aa}
\subsection{aaa}
\section{bb}
\subsection{bbb}
\chapter{Main chapter 5}
\section{aa}
\subsection{aaa}
\section{bb}
\subsection{bbb}
\section{cc}

\end{document}

結果のpdfはここ

ページ番号は各章の最初のページにのみ表示され、後続のページには表示されません。たとえば、「はじめに」の章の 2 ページ目にはページ番号がありません。

上記の序文の中で、「目次」に関する次の特別な部分を強調したいと思います。

\addtocontents{toc}{\protect\thispagestyle{empty}}
\tableofcontents
\thispagestyle{empty}
\newpage
\setcounter{page}{1}

\chapter{Introduction}

何かが起こっているのかもしれません。しかし、問題を見つけることができませんでした。

ありがとう

関連情報