Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [arara]

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

0
votes
0answers
13 views

How to add a directive-context method to Arara?

How can I add directive-context methods to Arara? Specifically, I'd like to add a method similar to the built-in, rule-context method writeToFile(String reference, String text, boolean append), ...
0
votes
1answer
23 views

Arara reports an error when encountering the method `writeToFile`

Consider the following LaTeX document that starts with an Arara script consisting of a single directive that is spread across 5 lines. % arara: halt if % arara: --> exists(toFile('arara.file.temp')...
1
vote
0answers
41 views

Does Arara have variables?

Does Arara scripts have variables that can be used to communicate state from one line to another down the road? For example, I'd like to be able to do something like this. % arara: isBibChanged = ...
2
votes
1answer
35 views

Is it possible to annotate an Arara script with comments?

Is it possible to embed comments inside an Arara script, i.e. inside the sequence of Arara directives that goes inside the .tex file to guide the compilation? For instance, consider the following ...
3
votes
4answers
129 views

How to tell Arara to skip redundant steps?

My .tex file starts with the following directives. % arara: lualatex % arara: biber % arara: makeglossaries % arara: makeindex % arara: lualatex % arara: lualatex How can I instruct Arara to skip a ...
0
votes
1answer
53 views

How to add compilation parameters -shell-escape with arara

I am having trouble using compiling argument lualatex -shell-escape as mentioned in this question using arara. I cant get the right syntax, and I am failing to find it in arara user manual. I tryed ...
3
votes
0answers
64 views

arara: load a local batch script or transform the batch script to an own rule

My question is similar to the one here, however it has a little different focus. I am working under Windows using MikTeX 2.9. I do have several latex projects which are part of a tool documentation. ...
1
vote
2answers
75 views

Arara synctex in editing a book

The problem is synctex in Arara does not work for me. I am using MacTeX with TeXShop 4.26. A special documentclass is used (hope it does not affect). For months, I run this file by putting all the ...
5
votes
1answer
52 views

Convince Arara to compile .tikz files

I have recently learned about the package tikzscale and find it to be a great solution to many issues I was having. However, using it requires the file containing the tikz code to have the extension ....
6
votes
1answer
105 views

Trying to convert my old custom arara rule

I have a rule which worked with the old version of arara: !config # Open the every <filename>.<format> that can be opened # The default for <filename> is the current file. # The ...
5
votes
2answers
178 views

Can arara detect a rule inside a \input file ?

I started to use the nice arara package to automate my compilation process for my thesis. I know it is better to place the rules using e.g. % arara : pdflatex placed at the beginning of the .tex ...
1
vote
1answer
70 views

Create two documents with different page sizes

I need to create two versions of a pdf rendered from my .tex file, one in A4 one-side format, and one in B5 two-side format. I do this by changing the class options (I use memoir, if that matters) ...
0
votes
1answer
41 views

nomenclature and \verb|text|

I tried different solutions but without result I have configured arara on texstudio to be able to use the nomenclature package. \usepackage[refpage,intoc,italian]{nomencl} \makenomenclature \...
5
votes
1answer
149 views

arara: How to widen out clean.yaml

I read the clean-rule for version 4. % arara: clean: { extensions: [aux, bcl ] } deletes jobname.aux and jobname.bcl. I would like to have a rule "cleanx.yaml" (or a shifter for clean.yaml), which ...
2
votes
1answer
89 views

arara: How to fix ghostscript.yaml due to arara - version 4?

I have the arara rule ghostscript.yaml written by @clemens and @esdd and some lints added by myself, which converts pdf-files into graphic files, like png, using ghostscript. I set up TeXLive 2018. ...
0
votes
1answer
64 views

Kill pdflatex upon error in TeXworks using Arara

My question is based on another: Make arara close pdflatex upon error I'm looking for a way to automatically kill the pdflatex process if Arara, used within TeXworks, stumbles upon an error. Right ...
7
votes
1answer
66 views

How to create a meta directive in arara?

I am using arara to automatically compile some tikz images as standalone files. I have a bunch of these figures and they all have the same set of directives % arara: clean: { extensions: [ aux, bbl, ...
1
vote
0answers
24 views

arara skripting to convert svg to pdf through inkscape?

I read about the arara cli and some scripting capabilities and im wondering if its possible to make arara use inkscape to convert svg to pdf before includeing them with \includegraphics. A frend ...
2
votes
1answer
69 views

macTex 2018 arara misssing lmkclean script

I use arara to build and that worked well with 2017 MacTex and TexShop but since i have updated to 2018 version of MacTex i get a error in the line: % arara: lmkclean that sounds like this: I could ...
0
votes
0answers
80 views

Using Arara with a folder structure

To keep things short here is my folder structure of my project: Main.tex -> Subfolder1 %(images) -> Subfolder 1.1 %(pgfplots) pgfplot_standalone.tex %(Standalone_class) ...
0
votes
0answers
80 views

Arara Automation Tool script not found

I recently installed the tool Arara via Miktex and integrate it in Kile. When using the command it should just use pdflatex to compile the main file. However, I receive the error: ***** ***** ...
18
votes
1answer
621 views

New version of arara broke my custom rule

Disclaimer: Since arara 4.0 is now live on TeX Live, I am antecipating the inevitable and asking the question myself. Hope it helps! :) I updated my TeX Live distro today and found that arara got ...
1
vote
1answer
42 views

Automatic backup of .tex file with TeXShop

Is there a way you can get a backup of the .tex automatically, for example every time you compile or make changes or after a certain amount of time you're working and so on, in TeXShop? Is it ...
1
vote
1answer
131 views

Using pipes in arara command?

I've just started using arara and I'm trying to write a custom rule that would allow me to compile documents without a preamble (by using a separate preamble template). This is my first attempt: !...
3
votes
1answer
76 views

Using tikzexternal 'list and make' with arara

The tikz externalisation library has a mode called list and make, which instead of forking a new TeX process, will simply list the images that need compiling and generate a makefile that needs to be ...
4
votes
1answer
119 views

Help to create arara yaml file for asymptote automated compilation

I have recently discovered the asymptote package to create 3D figures, I have installed the executable version on my computer and configured TexStudio to run it, only it is done manually using tools> ...
1
vote
1answer
42 views

arara and French

The system is working but came with an example for german rather than French. Running LuaLaTeX... SUCCESS Running TeXindy... FAILURE Presumably because I blindly edited - identifier: german flag: ...
3
votes
1answer
182 views

What is a valid arara configuration file?

The arara program itself is running from the command line, and from TeXWorks, but I'm stuck at config file errors. It's supposed to be optional - so I've tried without one. That gives an error ...
8
votes
1answer
131 views

How to compile the main from a chapter when the main is in another directory (with arara)?

This solution works perfectly if the main is in the same directory of the chapter file. But suppose I have: maindirectory main.tex chapterdirectory chapter.tex How can I compile main.tex ...
2
votes
0answers
178 views

latexindent with arara produces error message [closed]

I try to get my files indented automatically with arara, latexindent and texmaker. I have the TexLive Distribution, so both programs should be installed correctly (or am I wrong?). At least when I ...
2
votes
1answer
100 views

arara: cropping the output PDF file then converting it into image using ImageMagick

How can I create a single rule for arara that crops the output PDF file using pdfcrop command then convert the output cropped file the same way done by CarLaTeX's convert rule (shown below)? !config #...
2
votes
0answers
126 views

Pass “output-driver” option to XeLaTeX from Arara

I am trying to pass a couple of options to xelatex from an Arara build-line: % arara: xelatex: { shell: true, synctex: true, options: --output-driver="xdvipdfmx -q -E -V 7" } But when running arara ...
1
vote
1answer
241 views

Error message running arara from MikTeX 2.9

I am trying to run arara on a Windows 10 (x64) system from MikTeX 2.9 as follows in this MWE: % arara: pdflatex \documentclass{article} \begin{document} Hello world. \end{document} What I get is ...
1
vote
0answers
78 views

Batch commands with arara

The following Linux command executes the program <program name> on all tex files in the current directory and subdirectories. find . -name '*.tex' -exec `<program name>` -w $1 -- {} \; ...
0
votes
0answers
235 views

automatically refresh pdf preview when compiling texmaker with arara

I am using texmaker and I am compiling using arara. I need to set the pdf preview of the texmaker to refresh automatically and set the cursor on the same position of the code. This is my arara ...
1
vote
0answers
110 views

Arara and TexMaker problem [closed]

I'm trying to use arara in TexMaker. MWE I am trying to compile is: % arara: pdflatex \documentclass{article} \begin{document} Hello world. \end{document} Right away I get the following error: ...
5
votes
1answer
167 views

Is it possible to use lmkclean arara rule on Windows?

If I run arara on Windows 10 with this file: % arara: pdflatex % arara: lmkclean \documentclass{book} \begin{document} More \emph{ducks} into \LaTeX{}! \end{document} I get this error: 21 Jun ...
3
votes
1answer
177 views

How to automatically copy my own arara rules in the correct folder after installing the new year's TeX Live distribution?

I have a TeX Live distribution on Windows 10. I use arara and I created a couple of arara rules by myself. I stored them in C:\texlive\2016\texmf-dist\scripts\arara\rules together with the rules ...
8
votes
4answers
438 views

Is there a possibility to change compiler engine depending on presence of a package

I'm used to use both pdflatex and xelatex engine to compile my documents, xelatex in case of .tex files containing polyglossia package and pdflatex for the others My question is there a method ( ...
8
votes
1answer
327 views

Arara rule to remove all files except 'tex' and 'pdf'

I have this example % arara: pdflatex % arara: pdflatex % arara: clean: { files: [test.log,test.aux] } \documentclass{article} \usepackage{lipsum} \begin{document} \tableofcontents \section{...
1
vote
0answers
57 views

Setup arara with xindy

How do I set up arara to work with xindy? I tried using xindy.yaml from https://github.com/cereda/arara/blob/master/rules/xindy.yaml as the TeXLive 2017 distribution does not come with xindy.yaml. ...
3
votes
1answer
377 views

How to use arara

Hello after compiling the code found below using WinEdt 10 PDFLaTeX, I ran arara from the accessories menu but got an error I didn't get any directives in 'animated1.tex' , so didn't do anything... ...
1
vote
1answer
3k views

'Can only be used in preamble' Error when using \input for a chapter

It's my first post here; hopefully I'm not butchering how I'm supposed to post this. I'm working in the Report class using Arara, trying to use \input to import a chapter. % arara: pdflatex % arara: ...
1
vote
0answers
65 views

'arara' is not recognized as an internal or external command [closed]

I'm trying to compile my .tex file using Atom editor and arara. I switched from my office computer to my personal one, installed atom and TexLive and I obtain the following error: Command failed: ...
1
vote
0answers
136 views

Arara Error BibMacro

I am using arara (on ubuntu 16, TeXLive, TeXWorks), in which I run biblatex (backfalling onto bibtex). In Windows, the same document compiled without error, so I assume it's arara's fault. The error I ...
1
vote
0answers
317 views

“latexmk: The Windows command script is not registered.”

I usually use arara on Mac to compile a document with the % arara: pdflatexmk rule. Normally, this works fine. I am now working on Windows (Miktex 2.9), and now arara gives me an error, saying: ...
4
votes
1answer
98 views

arara allow bibtex to fail

Is there any way to tell arara, that it is ok, if bibtex fails? I have to use a bibstyle provided for a document class, which produces an error for each entry. Now I still want to use arara, could I ...
9
votes
2answers
267 views

Make arara close pdflatex upon error

I am using arara and TexStudio, and before I started using arara, Texstudio would shut down the pdflatex process on hitting Stop Compiling. I'm using arara with the following commands: % arara: ...
4
votes
1answer
115 views

Arara rule for Pythontex

Does anyone have a rule which allows to call Pythontex from Arara? I'd like to run the following set of commands for example: %!TEX TS-program = Arara % arara: pdflatex % arara: pythontex % arara: ...
5
votes
1answer
190 views

Preprocessing LaTeX with the help of arara

I wrote a perl script (teximporter) to facilitate the use of in-line foreign textual notation inclusion in LaTeX. Typically, it calculates a set of files (images, attach, ...) and a latex replacement ...