Latex dejó de mostrar texto en PDF después de algún punto del código (Texmaker)

Latex dejó de mostrar texto en PDF después de algún punto del código (Texmaker)

Es mi primera experiencia con el látex. El código funcionaba bien hasta que lo detallé, pero después de eso, todo lo que ingreso no se muestra en 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}

Respuesta1

Como mencioné en mi comentario, las líneas \let\cleardoublepage\relaxy \let\clearpage\relaxhacen que sea difícil (imposible) LaTeXdeclarar nuevas páginas; Recomiendo encarecidamente no redefinir comandos tan básicos. Para eliminar la página adicional después de la página de título, no utilice el flushleftentorno. Todo ya está al ras por defecto. Entonces, en lugar de esta parte de tu código:

\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}

Deberías tener esto en tu código:

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

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

información relacionada