Latex はコードのある時点以降、PDF 上のテキストを表示しなくなりました (Texmaker)

Latex はコードのある時点以降、PDF 上のテキストを表示しなくなりました (Texmaker)

これは私にとって初めての LaTeX の経験です。コードは項目を列挙するまでは正常に動作していましたが、その後は何を入力しても PDF に表示されません。

\documentclass[12pt,a4paper]{report}
\usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry}
\usepackage[utf8]{inputenc} 

\usepackage[T1]{fontenc} 
\usepackage[english]{babel} 
\usepackage[toc, page, header]{appendix} 
\usepackage{fancyhdr} 
\usepackage[plain]{fancyref} 
\usepackage{amsmath}
%\DeclareUnicodeCharacter{FB01}{fi}
\author{Mohammad Bilal}
\usepackage{cite}

\begin{document}
\title{hello}
\maketitle
\let\cleardoublepage\relax 
\let\clearpage\relax
\begin{flushleft}
\chapter {Introduction}
\section {Intrdodution}
\subsection {Background Information}

\end{flushleft}
\subsection {Application}
\subsection {Known Knowledge}
\subsection {Problem}

\section{Research motives}
\section{Objectives}
\section{Structure of thesis }
\chapter{Literature Review}
\section{Laboratory tests}
\subsection{Uniaxial Compression test }
\subsection{Brazilian tensile test}
\section{Relevant Rock Mechanics}


\section{Cracking process}
\subsection{Characteristics}
\subsection{aaaaa}
\subsection{Crack propagation}
\subsection{Quantification}
\section{techniques}

\section{Numerical techniques}
The most commonly applied numerical methods 

\begin{itemize}
\item Continuum methods
\item Discrete methods 
\item Hybrid
\end{itemize}
% Code stops working from here and I see the pdf genrated till the above line
\subsection{methods}
\subsection{ methods}
\section{FEM}
\section{FDEM}
\section{ Method }
\subsection{Background}
\subsection{Theory}
\subsection{Models}
\section{Calibration}
\subsection{Uniaxial Test}
\subsection{Brazilian test}


\bibliography{library} 
\bibliographystyle{Apalike}

\end{document}

答え1

コメントで述べたように、 と の行は\let\cleardoublepage\relax、 が新しいページを宣言する\let\clearpage\relaxことを困難 (不可能) にしますLaTeX。このような基本コマンドを再定義することは強くお勧めしません。タイトル ページの後の余分なページを削除するには、 環境を使用しないでくださいflushleft。すべてが既定で左揃えになっています。したがって、コードのこの部分の代わりに:

\title{hello}
\maketitle
\let\cleardoublepage\relax 
\let\clearpage\relax
\begin{flushleft}
\chapter {Introduction}
\section {Intrdodution}
\subsection {Background Information}

\end{flushleft}
\subsection {Application}
\subsection {Known Knowledge}
\subsection {Problem}

コードには次の内容を含める必要があります:

\title{hello}
\maketitle
\chapter {Introduction}
\section {Intrdodution}
\subsection {Background Information}

\subsection {Application}
\subsection {Known Knowledge}
\subsection {Problem}

関連情報