I am writing a report in TeXShop with a main file (main.tex) and several chapter files, which I include with the \include
command.
The main.tex looks as follows:
% !TEX TS-program = pdflatexmk
\documentclass{article}
\begin{document}
\include{chapters/one}
\include{chapters/two}
\end{document}
The directory structure looks like this:
root
|
|-main.tex
|
|-chapters
|
|-one.tex
|-two.tex
When compiling, .aux files are created in the root folder but also in the chapters folder. When something goes wrong and I want to trash the .aux files I press the "Trash Aux Files" button in the console or hit "Trash Aux & Typeset" in the menu.
However, this only trashes the .aux files in the root folder, not in the chapters folder. Is there a way to direct TeXShop to the aux files in the subfolders? I am using TeXShop 3.26 with pdflatexmk 4.37