I am trying to use the \include command to import chapters into Latex. For some reason, Latex is completely ignoring files in the \include command. If I replace \include with \input they are included fine, why might this be? FOr information I am using TeXnicCenter on windows. It fails for both Latex and pdflatex.
\documentclass[10pt,twoside,openright]{report}
\begin{document}
% Ignored
\include{./integrated_linear_generator_models.tex}
% Works
\input{./integrated_linear_generator_models.tex}
\end{document}
./out of the paths? – qubyte Nov 14 '11 at 12:06./? I remember windows LaTeX sometimes being confused with the slash, backslash. – Andy Nov 14 '11 at 12:08.texis always optional but not allowed for\include. The reason is that it also creates a<name>.auxfile and needs the name without extension for that. – Martin Scharrer Nov 14 '11 at 12:11