GeneralAll Code ignored after included Sub-file

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Coolsailingdude
Posts: 2
Joined: Sun Sep 30, 2012 5:49 pm

All Code ignored after included Sub-file

Post by Coolsailingdude »

As an enthusiastic newbie to LaTeX, I'm struggling to understand why my MiKTeX and TexMaker setup is ignoring any further code in a document after successfully inserting text from another source file using the \input command. Any ideas would be most welcome.
Last edited by cgnieder on Sun Sep 30, 2012 7:04 pm, edited 1 time in total.

Recommended reading 2024:

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

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

Stefan Kottwitz
Site Admin
Posts: 10347
Joined: Mon Mar 10, 2008 9:44 pm

All Code ignored after included Sub-file

Post by Stefan Kottwitz »

Hi,

welcome to the board!

Perhaps the .tex file which you included contains the line

Code: Select all

\end{document}
The following code would be ignored then, of course. Perhaps check this. If it's not the case, you could show us real code which produces that problem.

Stefan
LaTeX.org admin
Coolsailingdude
Posts: 2
Joined: Sun Sep 30, 2012 5:49 pm

All Code ignored after included Sub-file

Post by Coolsailingdude »

Fantastic thanks Stefan_k. I'll try that in the morning, I had assumed that the file referenced had to be a standalone file and include the \end{document} comand to compile in its own right. I'm sure that win a bit of help from the forum I'll get the hang of it.....Cheers :P
Last edited by cgnieder on Mon Oct 01, 2012 10:24 am, edited 1 time in total.
Post Reply