GeneralReport: Appendix and bibliography in TOC

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
the_julle
Posts: 6
Joined: Thu Apr 28, 2011 1:46 pm

Report: Appendix and bibliography in TOC

Post by the_julle »

Hi all.

I'm writing a report, but have some difficulties with the table of contents. I know this topic have been discussed before, but I can't seem to get it to work...

Code: Select all

\documentclass[fleqn,10pt,a4paper]{report}
...
\usepackage{appendix}
...

\begin{document}
\simplechapter

\include{tex/frontpage}

\tableofcontents
\thispagestyle{fancy}

% The report:
\include{tex/psychoacoustic}
\include{tex/harmonic_generation}
\include{tex/intermodulation_distortion}
\include{tex/gedlee}
\include{tex/test_nld}
\include{tex/sys}
\include{tex/conclusion}

\appendix
\include{tex/app_gedlee}

\include{tex/bibliography }

\end{document}
None of the appendix or the bibliography is present in the TOC. I would like the appendix to look like the chapters.

1. Same headline..
1.1. Some section
...
...
A. This is my appendix.
A.1 Some section.
...
...
Bibliography


Isn't this the "normal" way to do it?!?



EDIT::::
by the way. When I add the bibliography after the appendix, it does NOT appear in the generated document??
Last edited by the_julle on Thu Apr 28, 2011 7:13 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

the_julle
Posts: 6
Joined: Thu Apr 28, 2011 1:46 pm

Re: Report: Appendix and bibliography in TOC

Post by the_julle »

Doh... i had a "End Document" at the end of one of my appendices... After i removed that, everything is now working !!
Post Reply