Question: > 
> **Possible Duplicate:**  
> 
> [ToC numbering problem](https://tex.stackexchange.com/questions/13914/toc-numbering-problem) 
> 
> 
> 

My LaTeX document is acting strangely. Here is a simplified version of it:

```
\documentclass{article}

\begin{document}

\tableofcontents
\newpage

\addcontentsline{toc}{part}{A Part of My Document}
\include{includedfile}

\end{document}

```

And in `includedfile.tex`:

```
\section{My Section Title}
Quack.

```

Clearly, in the table of contents, the heading for the part should precede the one for the section, but it doesn't! What's wrong?

Answer: 
Try `\input` instead of `\include` -- it's as if you typed in the contents of the file there. I believe `\include` does some additional processing, so maybe that's causing your problem.
The problem is to do with the `\newpage` command. If you remove it, I think you'll get exactly the output you're looking for.