I guess that I have overlooked something, but I can't find a solution to run arara on my subfiles when processing my main file. I would like to autoindent my code but only succeed for the main.tex.
I installed latexindent.plx which works great. If I run % arara: indent: { overwrite : yes } on a single file document, everything works like expected.
In my actual documents the main.tex will look like this:
% arara: lualatex: { shell: yes }
% arara: indent: { overwrite : yes }
% arara: indent: { trace : yes }
\input{header}
\begin{document}
\include{chapter/foo}
\end{document}
For this solution, I get main.tex indented beautifully but not the header and not the chapters. As arara is looking for commands all over the source, I added another % arara: indent: { overwrite : yes } on top of some subfiles, but they don't effect the process. I would be glad for a hint, where my thinking error is.
latexindentquestion- thanks very much for trying it :) I'll do some experiments and get back to you, I have an idea on what to try :) – cmhughes Aug 08 '13 at 12:39