I'm trying to set up an arara user command in TeXstudio. I've been following this very helpful little tutorial that can be found as an answer the following question:
The only issue I have is that I can't seem to get the syntax for the user command correct on Windows. The closest to working that I can get is:
This does open arara, but then I get the error:
I'm sorry, but the command from the 'PDFLaTeX' task could not be found. Are you sure the command 'pdflatex "lecture3.tex"' is correct, or even accessible from the system path?
Note that the source tex file (lecture3.tex) has the command % arara: pdflatex
at the top. Do I need to tell TeXstudio where to find pdflatex even though it's in the same folder as arara? This is all using MiKTeX on Windows.
lecture3.tex
is? can nyou compile it with normalpdflatex
on the command line?lecture3.tex
and runarara lecture 3.tex
, arara and the pdflatex it calls work fine.arara.exe
file inC:\Program Files (x86)\MiKTeX 2.9\miktex\bin
(with a.exe
extension)? I don't use Windows, but arara is a Java application, so it comes as a.jar
file. When you runarara
from the command line, it might actually be invokingjava -jar /path/to/arara.jar
.arara.exe
file there. Judging from the error, the issue is not thatarara
isn't opening, but rather that when it does it cannot findpdflatex.exe
, despite the fact that it's in the same folder asarara.exe
. Perhaps it is looking for it in the folder where the.tex
file is -- this is my suspicion.