GeneralERROR: I can't write on file `../subdir/filename.aux

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
spinner
Posts: 17
Joined: Wed Apr 21, 2010 6:35 pm

ERROR: I can't write on file `../subdir/filename.aux

Post by spinner »

Although this topic has been discussed before, I haven't found
a solution to this particular error message in my situation.

This is my folder structure:
+ wrapfile.tex
| + chapter1/chapter1.tex


I'm attempting to use \include to bring the child file chapter1.tex
into the wrap file but I'm getting an error:

Code: Select all

ERROR: I can't write on file `../chapter1/chapter1.aux'
In the wrapfile, I've tried unsuccessfully:

Code: Select all

\include{../chapter1/chapter1}
\include{/chapter1/chapter1}
I get the same kind of error with these relative paths and with
absolute paths like

Code: Select all

\include{c:/thesis/chapter1/chapter1}
I can get my document to compile when I use \input and specify an
absolute path. However, I would rather use \include instead of
\input.

Does anyone know of a solution for this error while keeping this
folder structure? I don't have any special write protection on the
chapter1 folder.

I'm using: MikTex 2.8, Windows 7, AucTex(emacs)

Recommended reading 2024:

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

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

Post Reply