Until now I've been using TeXworks to edit my .tex
projects. When the project is divided in several subfiles I can use % TeX root=my_main_file.tex
directive in order to compile the main file and not the one it's being edited. Once the file is compiled my_main_file.pdf
is shown in TeXworks' pdf viewer.
Yesterday I decided to test arara
because I also wanted to use its clean
rule. After installing it and (more or less) reading the manual I don't know how to automatically open my_main_file.pdf
after typesetting my_subfile
.
arara
typesetting engine is declared with $fullname --verbose --log
and view PDF after running
is marked.
Rule %arara: pdflatex
on my_main_file.tex
works as expected: main file is processed and viewed.
Rule % arara: pdflatex: {files: [ my_main_file ] }
on my_subfile.tex
works almost as expected: main file is processed but nothing is shown in viewer.
What am I missing?
arara.log
, there should be a line that looks likeTRACE CommandTrigger - Command: ...
. Could you add this line, from both runs, to the question? – Brent.Longborough Sep 27 '12 at 11:14% !TeX program=arara
in the secondary files, and noarara
directive. Of course theTeX Root
directive is still needed – egreg Sep 27 '12 at 11:20