LaTeX users online

In total there are 17 users online :: 0 registered, 0 hidden and 17 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: No registered users and 17 guests

Multiple tex files in parent document

LaTeX Forum: General

includeinputAdd tags LaTeX specific issues not fitting into one of the other forums of this category.

Postby magical marshmallow on Mon Jan 21st, 2013

Hi There,

I am a complete newbie to Latex, so go easy on me here please!! A friend recommended Texmaker as my editor, so I am using this on a Windows platform

I am writing my PhD thesis and essentially what I want is a parent tex file Thesis.tex and then several seperate chapter tex files which are then included.

The folder structure I would like is to have a folder say:
>Chapter 1
>Chapter 2
etc etc.

Now my problem, when I use this and the \include command [\include{../Chapter 3 - Experimental Method/Experimental Method}], I am getting a compile error

Code: Select all  •  Open in online LaTeX editor
! I can't write on file `../Chapter.aux'.
\@include ...\immediate \openout \@partaux #1.aux
\immediate \write \@partau...

Is this to do with the folder structure I am using or what is going on? if anyone could help I'd be very grateful
Last edited by cgnieder on Mon Jan 21st, 2013, edited 1 time in total.
Reason: added code markup
magical marshmallow
Posts: 30
Joined: Mon Jan 21st, 2013

Postby josephwright on Thu Jan 24th, 2013

Security considerations mean that writing anything in a directoty 'above' the one containing the main .tex file is disabled as standard. You can enable it, but better would be to have a structure
Code: Select all  •  Open in online LaTeX editor

and use \include{chapter1/chapter1} and so on.
Joseph Wright
Site Moderator
Posts: 813
Joined: Tue Jul 1st, 2008

Topic Tags


Return to General

LaTeX users online

Users browsing this forum: No registered users and 17 guests