I add four chapters with \addcontentsline after \bibliography, however, there are only three chapters appearing in the Table of Contents. Could you please tell me what I should do?

Sorry for my unspecification. I use \documentclass{book}, and I typed that :




\include{Appendix 1}

\addcontentsline{toc}{chapter}{Appendix 1}



\include{Appendix 2}

\addcontentsline{toc}{chapter}{Appendix 2}



\include{Appendix 3}

\addcontentsline{toc}{chapter}{Appendix 3}



\include{Appendix 4}

\addcontentsline{toc}{chapter}{Appendix 4}


But then it appears only 3 first appendices.

  • 1
    Welcome to TeX.sx! So stated the problem is not very clear. What class are you using? Can you give an example of what you're trying to do?
    – egreg
    Jan 9, 2013 at 23:47
  • 2
    Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}.
    – henrique
    Jan 9, 2013 at 23:48
  • A tip: If you indent lines by 4 spaces, they'll be marked as a code sample. You can also highlight the code and click the "code" button (with "{}" on it).
    – doncherry
    Jan 11, 2013 at 0:00

1 Answer 1


\addcontentsline is written to the toc when the page is "shipped out". If the command is on an empty page which is not written to the pdf or dvi it gets lost - it wouldn't have much sense anyway as without page there is no sensible page number.


\addcontentsline{toc}{section}{section 1}
%empty page 
\addcontentsline{toc}{section}{section 2} %lost
  • I start to understand how you think your answers out while shopping! +1 :)
    – yo'
    Jan 10, 2013 at 8:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.