A friend of my was helping set up a master file for a book. It is been while since this happened but as I tried to add Appenices (As chapters not sections since it for a book) so odd things happened. In the TOC the Appendix headings repeated - such as in Appendix A Appendix A and moreover overprinted the title of the Appendix Chapter. Also he had include a command which I have % out since nothing ran with. So I have two questions: First, what is the command and what does it do? Second, why is the appendix heading showing up twice. I am at a loss. Here is the code:
Code: Select all
\begin{appendices}
\appendix
%\updatechaptername - what is this for and what does it do???
\addtocontents{toc}{\def\protect\cftchappresnum{\appendixname{} }}
\input{App1_ Chaps/Append_folder/AppendixChap1}
\input{App1_ Chaps/Append_folder/AppendixChap1}
\end{appendices}
I used "input" to load the Appendix chapter into the main document but changing that to "include" did not make a difference.
Thanks in advance,
Hakarl