I'm actually about to write up my dissertation and have split it into chapters that are included into the main document via \include{chapter}. To keep compilation times short while working on it, I use \includeonly{...} to compile only the chapter I'm actually working on and normally only compile with pdflatex.

For the "full" compilation including biber and makeglossaries (which I omitted in the MWE below) I use arara and every now and then I would like to compile the whole document with all chapters. Of course I could just comment the \includeonly command, launch arara and uncomment \includeonly afterwards, but that's a boring solution. Therefore I was asking myself, if there's a way to somehow tell arara to ignore the \includeonly directive and just compile the whole document. I tried to read the arara manual and some questions here on Stackexchange but did not really find a good point to start with.

% arara: pdflatex: { synctex: yes}

     Some text

    Another text



  • 4
    not sure about arara (don't tell Paulo:-) but if you can make it do a commandline of \def\includeonly#1{}\input mainfile then \includeonly will be disabled. – David Carlisle Jul 8 '14 at 13:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.