I would like to use the \include command in a document written with the document class revtex4-1. Unfortunatelly the so inserted sections are not displayed in the tableofcontent although they appear in the document. Can anyone tell me what is going on here?
\documentclass[preprint,amsmath,amssymb,aps]{revtex4-1}
\usepackage{graphicx}% Include figure files
\usepackage{dcolumn}% Align table columns on decimal point
\usepackage{bm}% bold math
\begin{document}
\tableofcontents
\include{Foo}
\include{Bar}
\include{Fooo}
\include{Baar}
\end{document}
Where the respective files are stored in the same folder containing the following text.
Foo:
\chapter{Foo}
Bar:
\chapter{Bar}
Fooo:
\chapter{Fooo}
Baaar: \chapter{Baaar}
\includeand not\input? – CarLaTeX Mar 10 '17 at 13:42