Text FormattingTrouble with multiple input Files

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Steinberg
Posts: 1
Joined: Tue Oct 15, 2013 5:00 pm

Trouble with multiple input Files

Post by Steinberg »

Dear fellow LaTeX users.

I'm trying to input more documents to a single document in order to keep my code from being to messy. Yet, I can input one of my documents, but the rest of them are not complied. Is there any out there, who have experienced the same problem?

My code is as follows (pretty straight up):

Code: Select all

\begin{document}
  \includepdf[pages=1]{frontpage}
  \tableofcontents
  \input{Introduktion}
  \input{Modellen}
\end{document}
Only "frontpage" and "Introduktion" is compiled into the final document.

It almost seems as if Latex doesn't register any of my commands after inputting the "Introduktion", but seems to read commands prior to that one.

Solutions or clues are much appreciated.

Recommended reading 2024:

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

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

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Trouble with multiple input Files

Post by Johannes_B »

Are there any errors? Any warnings?
Steinberg wrote:It almost seems as if Latex doesn't register any of my commands after inputting the "Introduktion", but seems to read commands prior to that one.
I'm sorry, but i don't understand this. Check if there is an \end{document} at the end of "Introduktion.tex".

Try to prepare a minimal working example that reproduces the problem. Chances are good your are finding the reason yourself.


Best regards
Johannes
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply