I'm working on a report document, but for some reason the Table of contents is not gathering the information from the document. I have the content of each chapter on a different .tex file, but here's the code of the main
\input{usepackage.tex}
\begin{document}
\pagestyle{empty}
\input{titlepage}
\pagenumbering{gobble}
\chapter*{Agradecimientos}
\input{acknowledgements.tex}
\chapter*{Resumen}
\input{abstract.tex}
\tableofcontents
\pagenumbering{arabic}
\chapter{Introducción}
\input{intro.tex}
\chapter{Revisión Literaria}
\input{litrev.tex}
\chapter{Desarrollo del Método}
\input{metodo.tex}
\chapter{Resultados}
\input{results.tex}
\chapter{Conclusiones}
\input{conclusions.tex}
\input{appendix.tex}
\end{document}