I'm writing my thesis and I need to add an appendix. I'm using a main file as a frame with \input for importing the single chapters.
For the appendix I'm doing this:
\appendix
\input{AppendixA.tex}
But when I try to compile the file, it doesn't show the Appendix. Any ideas of what the problem could be?
Code of the problem:
\documentclass[a4paper,12pt,twoside,openright]{report}
\usepackage[titletoc]{appendix}
\begin{document}
\title{Something}
\maketitle
\body
\chapter{Introduction}
\input{Introduction.tex}
\chapter{Conclusions}
\input{Conclusions.tex}
\bibliographystyle{splncs}
\bibliography{bibliography}
\appendix
\input{AppendixA.tex}
\end{document}
Best Answer
With the given data, I was not able, to reproduce your problem.
Maybe, there is a problem in the content of the two
\include
s before the Appendix starts?I had problems with the command
\body
indead.I also want to point out, that you do not need to add the
.tex
extension as argument to\input
.This is my MWE:
I got the chapter Bar correctly in the appendix, without changing its definition, as Saravan suggested in his answer.
Maybe you'll really have to investigate in your files
Introduction.tex
and `Conclusion.tex?