{arara} is a TeX automation tool based on rules and directives, written in Java.

learn more… | top users | synonyms

26
votes
3answers
746 views

Is Arara safe/secure

I have just begun playing around with arara and I am curious if there are safety/security concerns. For example, pdflatex from TeX Live has shell escape disabled by default. If the TeX Live team think ...
18
votes
2answers
496 views

arara: making a rule to compile the main file from a chapter file

I am really enjoying the arara tool for automating the compilations of my documents- thanks Paulo and the team :) I work on a few projects that have a main file (say myfile.tex) that \includes its ...
17
votes
1answer
1k views

How to install arara with MiKTeX / Windows?

Arara is a tool to automate your LaTeX workflow. It comes pre-installed with TeXLive 2012. However, I could not find any reference on how to install it on MikTeX / Windows. In the documentation it ...
17
votes
1answer
2k views

Integration of arara in Texmaker

The documentation of arara has a chapter about IDE integration. However the often used editor Texmaker is missing. The installation of the tool itself is well described in the documentation of arara ...
14
votes
1answer
207 views

How do I write an arara rule to conditionally execute a command

I wanted to write an arara rule that will conditionally execute a command based on the existence of external files. Here's an example rule that I was able to get working: !config # open rule for ...
13
votes
1answer
172 views

How do I specify two default options for an arara identifier?

(Apologies if I have the terminology incorrect.) I want to write a directive for arara that can take an argument. The directive should set the name of the output file according to the following ...
12
votes
3answers
388 views

Arara problem with xelatexmk rule

After many tests in Mac OS X and Ubuntu, I haven't been able to run arara with Brent Longborough's xelatexmk.yalm rule. No matter what I do, arara seems to run latexmk with pdflatex, not with xelatex. ...
11
votes
1answer
181 views

arara: problem with spaces in the name of .tex files?

I know that there is a problem with spaces in the name of .bib files. Nonetheless, the following MWE compiles perfectly fine if one does the normal latex -> bibtex -> latex -> latex compilation ...
10
votes
1answer
120 views

Arara rule to delete files with wildcard

How can I define a Arara rule to delete with wildcard? The following should delete all log files in the folder of the LaTeX file. %!TEX TS-program = Arara % arara: pdflatex: { synctex: yes } % ...
10
votes
1answer
136 views

Is it possible to write an arara rule that invokes another arara rule?

Is it possible to create an arara rule which possibly invokes other arara rules? I've managed to write an arara rule which conditionally executes a command. !config # open rule for arara # author: ...
10
votes
0answers
113 views

How to write an arara rule for knitr

I've been trying to write a rule for invoking knitr via arara, but I don't seem to know what I'm doing, apparently. The arara manual explains how to define custom rules. To do so, it is necessary to ...
9
votes
1answer
202 views

How do I pass the index style file to makeindex using arara?

I am running arara like this: % arara: makeindex: { options: -s "%tm.ist" -t "%tm.glg" -o "%tm.gls" "tm.glo" } to produce glossaries with the package gloassaries. I took this options from my IDE ...
9
votes
1answer
122 views

arara: between silent and verbose mode

Consider the following files myfile.tex % arara: myrule: {items: [lions, zebras]} \documentclass{article} \begin{document} hello world \end{document} myrule.yaml !config # # Sample usage # % ...
9
votes
1answer
172 views

Sublime 3 with Arara

I would like to use Sublime 3 for my LaTeX work, however I'm having some difficulty getting arara working as part of the build. I have TexLive installed so I have the arara binaries available (used ...
8
votes
2answers
225 views

Is it possible to write an arara rule which uses a bash script?

I've written a shell script to convert some of my files to different formats for use in my LaTeX files. Is it possible to write an arara rule which can use my shell scripts? EDIT I should note: ...
8
votes
1answer
173 views

arara: making rules for a script that takes multiple flags and arguments

I'm working on an arara rule for indent.plx which can be called in a few different ways: indent.plx myfile.tex (outputs to the terminal) indent.plx -w myfile.tex (overwrites original file and ...
8
votes
1answer
270 views

Setting environment variable with arara

I wanted to set my TEXINPUTS environment variable from with an arara rule/directive. For example my texinputs.yaml rule is !config identifier: texinputs name: texinputs command: export ...
8
votes
1answer
72 views

Where do the local arara rules live under windows?

I know they go under ~/.arara under unix platforms, but I tried having them under %USERPROFILE%\.arara, and they are not getting picked up.
8
votes
1answer
94 views

(arara) make rule failure non-fatal

I have a rule that attempts to download the bibliography as part of the build, but I would preferably have the option to have it soft-fail when the download fails, as I probably have a up-to-date copy ...
7
votes
1answer
617 views

How to use arara with TeXworks

I'm trying to use arara with TeXworks in Ubuntu 12.10 (TeX Live 2012). I've been searching all over the web but couldn't get it working. First: I'm not sure how to correctly implement arara: Should ...
7
votes
1answer
342 views

What is the most elegant way to provide a cross-platform project with automated compilation routine?

There are many different ways to automate the compilation of a LaTeX project. I would like to start a discussion, what would be the most flexible and elegant and omnipotent way to provide a project ...
7
votes
1answer
116 views

Problem: found character @'@' that cannot start any token

I'm trying to create an arara rule that will download my bibliography from zotero using its embedded server. The URL works, that's not the issue, but arara claims the file has a syntax issue. The ...
7
votes
1answer
295 views

How to open TeXworks' TeX root pdf result with arara?

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 ...
7
votes
1answer
96 views

arara: toggle identifier in the rule

I'm working on an arara rule that makes use of the items identifier % arara: myrule: {items: [lions, zebras]} \documentclass{article} \begin{document} hello world \end{document} The rule, ...
7
votes
1answer
298 views

How to set a new clean arara rule that circumvents Dropbox interference in Windows?

arara is a cool tool for LaTeX automation, it works by setting your directives (i.e., a code line in tex document) to tell arara what to run next in a specific order that best suits your LaTeX ...
7
votes
1answer
179 views

arara: problem with animate.yaml

I wanted to automate conversion from pdf to animated gif with animate rule provided by cmhughes in answer to plotting the sequence x_n using tikz. I'm using arara+texworks+miktex on windows. I also ...
7
votes
1answer
167 views

How can I build an arara rule for running perl scripts

I want to write an arara rule for perl scripts, especially for fancy-preview. (Another test-script: latexcount.) Edit: In the Command-Line perl fancy-preview jobname.tex works! I have installed ...
7
votes
1answer
181 views

How can I optimize the arara password program?

I have written the following (runable) arara-program, which creates a password-locked pdf with adjustable prohibited access rights: secure.yaml !config # GhostScript-ps2pdf password-security rule ...
6
votes
1answer
144 views

Arara rule for log file scraping

Is there a script or arara rule that does log file scraping for messages about bad boxes, warnings, and obvious rerun messages and outputs this to stdout? It doesn't need to be perfect. I am looking ...
6
votes
1answer
191 views

How is automatic indentation done for subfiles with arara and latexindent?

I guess that I have overlooked something, but I can't find a solution to run arara on my subfiles when processing my main file. I would like to autoindent my code but only succeed for the main.tex. I ...
6
votes
1answer
103 views

Using arara to compile powerdot twice

I want to compile my powerdot presentation twice -- once with, once without notes. I am trying to achieve this using arara with something like: % arara: latex { set \powerdotmode=slides here } % ...
6
votes
1answer
559 views

How to get a 1-click compilation of XeLaTeX with Biber using arara?

I want to use XeLaTeX as typesetting engine and Biber for my references. I want to have a 1-click-compilation setup, preferably in a GUI editor. I work on Windows, thus a solution for TeXworks or ...
6
votes
1answer
322 views

asymptote giving me an error: could not load module 'example_01'

On page 3 of Dario Teixeira's Asymptote and LaTeX, the following simple example is provided: \documentclass[10pt]{article} \usepackage{graphicx} \usepackage{asymptote} \begin{document} \begin{figure} ...
5
votes
1answer
85 views

arara: fallback directive if no directives specified

Question Is it possible to tell arara to use a default directive when no directive is specified in the file, e.g. to run pdflatex twice? Background I often get LaTeX-files from other people, and ...
5
votes
1answer
123 views

How can I use arara to get a graphics file?

In a standard TeX Live distribution Ghostscript is, to my knowledge, present; it is hidden, but it is there. Edit: Yes, it is under \Texlive\2013\tlpkg\tlgs So to my question: How can I use ...
5
votes
1answer
291 views

arara: show warnings only in the last compilation step

I use this function to compile my latex documents in gVim with arara: function! CompileTex() silent write! call setqflist([]) echon "compiling with arara ..." exec "lcd %:h" ...
5
votes
1answer
131 views

Syntax for arara on texwork with preamble.tex as input file to be used for generating many different documents

I installed arara on windows and it is working properly as noted by running it from cmd shell. Is putting follwing syntax in a "template" preamble that I use as input file to generate multiple ...
4
votes
1answer
228 views

TEXINPUTS and arara and/or TeXworks

I was wondering how I could use TEXINPUTS combined with either arara or TeXworks. To understand my point, I just received an answer on the thread `How to run LaTeX and lilypond-book in one command?', ...
4
votes
1answer
70 views

Is there a default arara rule for ConTeXt?

I'm trying to make a simple Hello, World example for ConTeXt. The file itself works, but I can't manage to instruct arara to compile it with texexec. % arara: context \starttext Hello, World! ...
4
votes
1answer
284 views

How can I save auxiliary-files into an other folder with arara?

I tried to do the following: % arara: lualatex: {options: -output-directory=.\output\ -aux-directory=.\auxiliary} I did not succeed. I also tried starting the command with -- as well as absolute ...
4
votes
1answer
76 views

Forcing tikz externalization to recreate all images using arara

I am using the externalization library of tikz to have most of the pictures compiled only once and just included in later LaTeX runs. Once in a while I would like to redo all the images, for example ...
3
votes
2answers
94 views

How to compile glossaries with arara without Perl?

I don't want to install Perl. I am using arara for building. I make use of the glossaries package. Can I compile my document without the makeglossaries help script (I don't want to install Perl)? I ...
3
votes
1answer
38 views

Add custom extensions and directives to arara

This is a more general version of Adam Liter's question about setting up an arara rule for knitr. The basic question is this: How can I enable support for customised extensions and directives in ...
3
votes
0answers
51 views

Link LaTeX output warnings back to Problems View in Texlipse / arara

I am using arara to compile my latex sources in Eclipse using Texlipse. Is there any way to re-direct the warnings generated into the "Problems View" of Eclipse as it happens when one uses the ...
2
votes
1answer
89 views

How to use arara with TeXShop

I try to use arara with TeXShop on my Mac, but I don't understand some steps either javascript, probably because of my english & my programer level. I create first the arara.engine in the ...
2
votes
1answer
163 views

Why is TeXnicCenter breaking down with arara for smallest errors?

In the following MWE I put an extra space in front of tikzpicture. When running this with LuaLaTeX, I get 18 errors (not really part of the question, but why is that so sensitive, does matter at all ...
2
votes
1answer
162 views

Using Arara on windows in Texstudio to generate glossaries

I am trying to generate glossaries in my LaTeX document using the article class and am using TeXStudio I used the below code but nothing gets printed \documentclass{article} \usepackage{titlesec} ...
2
votes
0answers
40 views

Arara and latexindent with texmaker

I am new to latex and I try to auto indent my latex file using arara and latex indent. I use texmaker as IDE. I installed arara exactly as: How to install arara with MiKTeX / Windows? and tested it. ...
2
votes
0answers
45 views

Integration of arara in Texmaker - follow up

I'm very new using LaTeX and I'm stuck trying to run arara in TeXmaker (MiKTeX). I'm following the post Integration of arara in Texmaker but at the end I get Error : could not start the command ...
2
votes
0answers
47 views

How can I use an ampersand in an arara command line?

I have an arara rule file that needs to construct an URL with parameters (https://gist.github.com/ReichenHack/0dd80e12870366d5f51f), but anytime I pass one of the options, I get the error ...