Generalwrong table of content order

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
harrymatth
Posts: 8
Joined: Sun Dec 19, 2010 11:54 pm

wrong table of content order

Post by harrymatth »

Merry Christmas!

I am preparing a thesis using my school's latex templates. There is a strange problem in the table of content after I compile the sources. The 'CHAPTER' heading should start before chapter 1, but instead it appears after chapter 1, before chapter 2.

Please see the attached zip archive samplethesis.zip for all sources which also includes a pdf file which highlighted the wrong order in table of contents.

Thanks for your help in advance

Harry
Attachments
samplethesis.zip
file including all sources and pdf output
(47.58 KiB) Downloaded 162 times

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

torbjorn t.
Posts: 162
Joined: Wed Jun 17, 2009 10:18 pm

wrong table of content order

Post by torbjorn t. »

No idea why, but using input instead of include for chapter 1, fixes this for me. That is, use

Code: Select all

\input{chapter1}
rather than

Code: Select all

\include{chapter1}
The latter adds a \clearpage before the contents of the file, maybe that has something to do with it.
Post Reply