I have an error in my texmaker project.
as the subject describes, I have an error in my main file that contains all the other chapters which are documents themselves.
The error is:
! File ended while scanning use of \@citex.
<inserted text>
\par
l.95 \input{chapter-1}
I suspect you have forgotten a `}', causing me
to read past where you wanted me to stop.
I'll try to recover; but if the error is serious,
you'd better type `E' or `X' now and fix your file.
]
Below is the main file.
Code: Select all
\documentclass[whitelogo]{tudelft-report}
\usepackage{natbib}
\usepackage{changes}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{sectsty}
\usepackage{float}
\usepackage{titling}
\usepackage{blindtext}
\usepackage{xcolor}
\definecolor{darkgreen}{rgb}{0.0, 0.4, 0.0}
\usepackage{multirow}
\usepackage{array}
\usepackage{eso-pic}
\usepackage{watermark}
\bibliographystyle{abbrvnat}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{longtable}
\usepackage{bm}
\usepackage{cite}
\usepackage[toc,page]{appendix}
\usepackage{bm}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage{gensymb}
\usepackage{pifont}% http://ctan.org/pkg/pifont
\newcommand{\cmark}{\ding{51}}%
\newcommand{\xmark}{\ding{55}}%
\newcolumntype{C}[1]{>{\centering\arraybackslash}p{#1}}
\newcommand{\thickhat}[1]{\mathbf{\hat{\text{$#1$}}}}
\newcommand{\thickbar}[1]{\mathbf{\bar{\text{$#1$}}}}
\newcommand{\thicktilde}[1]{\mathbf{\tilde{\text{$#1$}}}}
\DeclareMathOperator*{\argmax}{arg\,max}
\DeclareMathOperator*{\argmin}{arg\,min}
\begin{document}
%% Use Roman numerals for the page numbers of the title pages and table of
%% contents.
\frontmatter
%% Uncomment following 16 lines for a cover with a picture on the lower half only
\title[tudelft-white]{Title}
\subtitle[tudelft-black]{Optional subtitle}
\author[tudelft-white]{Alessandro Maria Laspina}
\affiliation{Technische Universiteit Delft}
\coverimage{covervega.jpg}
\covertext[tudelft-white]{
\textbf{Cover Text} \\
possibly \\
spanning
multiple
lines
\vfill
ISBN 000-00-0000-000-0
}
\setpagecolor{tudelft-cyan}
\makecover[split]
%% Include an optional title page.
\input{title}
\input{preface}
\tableofcontents
%% Use Arabic numerals for the page numbers of the chapters.
\mainmatter
\input{chapter-1}
%% Use letters for the chapter numbers of the appendices.
\input{chapter-2}
\input{chapter-3}
\input{chapter-4}
\input{chapter-5}
\input{chapter-6}
\input{chapter-7}
\input{chapter-8}
\input{chapter-9}
\input{chapter-10}
\input{Guidance-Algorithm}
\input{chapter-12}
\input{chapter-13}
\appendix
\input{appendix}
%\input{appendix-a}
\bibliography{mybib}
\end{document}