I'm writing my thesis, and there's a overall file overall.tex together with several section files, which are \inputed in the overall.tex.
Could I write something in the section files to prevent them from being compiled, which will certainly fail, producing some unneeded aux files. In an other word, to prevent compiling the section file by mistake.
I'm using XeLaTeX and AuCTeX.
\input, there are two ways to avoid the processing of the section files: (1) comment out the reading in, i.e.%\input{...}; (2) at the beginning of the "unwanted" section file, insert\endinputas the first line. commenting out in theoverallfile may be easier to remember when you're under pressure, as it's more obvious. – barbara beeton Dec 11 '12 at 13:17\section{...}. it failed at once with the error! Undefined control sequence.after killing it withx, i checked what files were present. no.auxfile was created. so i think we need a clarification from the OP. – barbara beeton Dec 11 '12 at 13:27.reland.log, and didn't failed until reaching 100 errors. – Haocheng Dec 11 '12 at 13:29%!TEX root =in the\include/\inputfiles? It is useful and many TeX editors supports it. – m0nhawk Dec 11 '12 at 13:32.auxfiles literally. yes, a.logfile will be created, is certainly unwanted, and i know no way to avoid that. i've no idea what caused the.relfile. – barbara beeton Dec 11 '12 at 13:32