I have been using latex for a couple of years, but I have never really been good enough to make it do what I want. Now I have a large report to create and I feel like now is the time to learn.
What I have at the moment is several folders each containing a chapter. The folder contains the tex file and an image folder containing the images that are going to go into that chapter. There is also a folder called root, that contains the root tex file, like follows:
\
root
\
root.tex
chapter1
\
images
chapter1.tex
chapter2
\
images
chapter2.tex
etc
What I want to do is use the \include command, or something similar, to include the latex files from the other folders. At the moment I am getting errors, and the .aux file for the chapter is being created in the root folder
. It compiles without the \include lines in it
I get the following error
[quote]I can't write on file `../chapter1/chapter1.aux'[\quote]
I have the following in root.tex
Code: Select all
\include{../chapter1/chapter1}[\code]
Is what I am trying to do possible? I am sure it is but I don't know how to really program with latex. Any help would be much appreciated.
Thanks for your help
David Collins