I am currently using arara to give compilation rules for my .tex files.
I have a lot of tikz/pgfplots made files which share common settings hosted in a header file, so that I can easily modify a setting, then recompile everything using a for loop e.g.
@FOR /R "rootdir" %%G in (.) DO (
@ Pushd %%G
@ for %%x in (*.tex) do arara "%%x"
@ Popd )
@pause
as I am on a windows machine.
However, this starts/stops arara a big bunch of times and throws very ugly logging to the terminal.
So is there a rule or can one be written so that arara is only started once and compiles all files in a specified directory tree.
listFilesByExtensionfunction in a custom rule. – TeXnician Oct 09 '19 at 12:33% arara: ListFilesByExtensions(toFile('/directorypath'),'tex', true);? – BambOo Oct 09 '19 at 14:29listFilesByExtensionand returns something likegetCommand('command', loopvariable). But I'm short of time right now, so let's hope Paulo will see your question (and canonically answer) :) – TeXnician Oct 09 '19 at 15:12