arara
was recently included in TeX Live 2012, as seen in the output of
$ tlmgr info arara
package: arara
category: Package
shortdesc: Automation of LaTeX compilation.
...
installed: Yes
revision: 29052
cat-version: 3.0
cat-date: 2013-02-06 08:25:13 +0100
cat-license: bsd
collection: collection-binextra
Did you update your TeX Live distro recently? If not, maybe arara
is missing from the repositories. A quick tlmgr update --self --all
will ensure an update to every single package and tool available in the TL tree to their last revisions.
With arara
deployed in TL, open your terminal and try
$ arara
__ _ _ __ __ _ _ __ __ _
/ _` | '__/ _` | '__/ _` |
| (_| | | | (_| | | | (_| |
\__,_|_| \__,_|_| \__,_|
arara 3.0 - The cool TeX automation tool
Copyright (c) 2012, Paulo Roberto Massa Cereda
All rights reserved.
usage: arara [file [--log] [--verbose] [--timeout N] [--language L] |
--help | --version]
-h,--help print the help message
-L,--language <arg> set the application language
-l,--log generate a log output
-t,--timeout <arg> set the execution timeout (in milliseconds)
-v,--verbose print the command output
-V,--version print the application version
TeX Live takes care of adding a symbolic link to the arara.sh
script which calls arara.jar
with the operating system's Java Virutal Machine (if I recall correctly, Ubuntu comes with at least OpenJDK, which arara
is compliant).
If you cannot get the output, maybe the TeX Live 2012 bin/
folder was not added to the path. Try running which pdflatex
in your terminal and see the full path, it should have mention to the TL2012 install. If not, you might need to include the correct folder. Of course, it depends how you installed TeX Live in the first place.
According to the user manual, go to Preferences,
then go to Typesetting path, and click the + button in the Processing tools.
Now select the path to arara
. Note that in this image, I used the path provided with the standalone installer of arara
, since you are using the TeX Live version, stick with the link available in TL's /bin
folder.
Then arara
is available in the Profiles list.
Hope it helps. :)
Update: If we are talking about the TeX Live 2012 version available through Ubuntu's own repositories and not the TL version from TUG (a.k.a vanilla), arara
is not available.
The best option, in this case, is to use the standalone installer available in the project repository. For more information on how to install arara
with the installer, I kindly suggest Chapter 2 of the manual.
Best Answer
Basically, if
arara
fails to work, one must check if we can runJava
from the command line (DOS prompt for Windows).If it fails install Java. Things will start working. If not, see How to get arara working with TeXstudio.
nicola-talbot says Only JRE is required. JDK is for compiling the Java code. The JRE is just for running pre-compiled Java code.
cmhughes says it would be nice to see java-is-not-recognized-as-an-internal-or-external-command