Questions tagged [arara]

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

Filter by
Sorted by
Tagged with
4
votes
2answers
63 views

Calling biber --tool using arara: trouble with commented @ symbol within .tex file?

Background: I'm using Mendeley to create my .bib file and prefer to run biber --tool using a certain ruleset to clean up that file and retag some things. Calling arara -v mwe.tex with mwe.tex ...
4
votes
1answer
60 views

arara: How to conditionally compile the document if changes took place to any file in a subdirectory?

Suppose I have some *.tex files in a subdirectory named SourceFiles, how can I make arara compile the document if and only if there are changes to any tex file in this subdirectory? I tried % arara:...
2
votes
1answer
55 views

arara/latexmk: How to pass more options of latexmk engine to arara?

In the manual of arara, there are only two options for latexmk: clean and engine. However, as similarly done before in this answer and this one, I need to figure out to pass more options of the ...
4
votes
1answer
125 views

arara: sage - A Sage(math)-rule for arara

Completely edited! The normal run of a tex-file which contains sagetex, say \documentclass{report} \usepackage{sagetex} \begin{document} \sage{2^1234} \end{document} is pfdlatex example.tex ...
2
votes
1answer
33 views

How to make arara work with bibtexu?

I need to submit an article, so I have to follow journal's rules of using PdfLaTeX and BibTeX. And one of the records in bibliography is in Russian, so the only option for me is using bibtexu. If I ...
3
votes
2answers
41 views

Compilation error is removed by compiling again

Following up this answer, the first run of compilation results in the following error: Undefined control sequence. This exam contains \textbf{\NAMEquestions} which has to be eliminated by running ...
1
vote
0answers
52 views

Running Arara from TeXworks on a mac

It took me a long time to get arara to work from within TeXworks on OS X 10.14 or 10.15. I would get two errors: /usr/local/texlive/2019/texmf-dist/scripts/arara/arara.sh: line 8: kpsewhich: command ...
5
votes
1answer
164 views

Arara rule for automatic compilation of all files in a directory tree

I am currently using arara to give compilation rules for my .tex files. I have a lot of tikz/pgfplots made files which share common settings hosted in a header file, so that I can easily modify a ...
1
vote
1answer
55 views

Render separate PDFs for every chapter with arara

I have a memoir document which contains my PhD thesis. I would like to automatically create a separate PDF for every chapter, as well as a master PDF. I found this arara rule, which seems to do ...
2
votes
1answer
104 views

Automatic indentation done for subfiles with arara and latexindent not working

I am learning with latexindent. I would like to follow up this question: How is automatic indentation done for subfiles with arara and latexindent? and ask for clarification: Is there required any ...
2
votes
1answer
118 views

Compiling document with PerlTeX, then luaLaTeX - conditional \usepackage based on compilation tool

Slightly connected to my previous question (Output of PerlTex with current TeXlive on Windows), I have managed to generate .pdf files with PerlTeX (precisely, with option --latex=lualatex). Next step ...
1
vote
0answers
28 views

Let arara continue upon failure

I have a document which throws some errors, but I am satisfied with the end result. To avoid stopping at these harmless errors, I execute the following commands: pdflatex -interaction=nonstopmode ...
0
votes
0answers
22 views

Create a rule for using arara together with texpad editor and pythontex/xelatex/bibtex

I am a beginner with Arara. I would like to create a rule for the following typesetting : xelatex -8bit -synctex=1 $1 / pythontex $1 / bibtex $1 / xelatex -8bit -synctex=1 $1 / xelatex -8bit -synctex=...
2
votes
1answer
72 views

How get multiple indexes with arara?

How do I have to change the arara commands in the following so that the index of names will also be printed? As it stands, I get just the main index. % arara: pdflatex % arara: bibtex % arara: ...
1
vote
1answer
389 views

Use arara with continuous compilation (with vimtex)

I've been using vimtex with latexmk to typeset my LaTeX documents for a while now. But I'm trying to use arara for a new project, as one of the team members suggested to use it. Since I always use (...
6
votes
1answer
118 views

Is it possible to pass “draft” option to documentclass with arara?

I have this document: % arara: pdflatex \documentclass[11pt, openright, % draft ]{book} \begin{document} Something \end{document} If I want both the final version and the draft one, I have ...
1
vote
0answers
32 views

How to add an engine in TexShop 4.27 on MacOS 10.14.5 bib2gls, arara

I am new to Tex. I am trying to build a glossary using the package glossaries-extra. I am drawing my abbreviations list from a .bib file using GlsXtrLoadResources. Unfortunately I cannot seem to add ...
0
votes
0answers
16 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), ...
1
vote
1answer
34 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
51 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
54 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 ...
5
votes
4answers
268 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 ...
1
vote
1answer
128 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
79 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
107 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
69 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
116 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
197 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 ...
2
votes
1answer
139 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
63 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
184 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
126 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. ...
1
vote
1answer
115 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
78 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
36 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
91 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 ...
18
votes
1answer
676 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
77 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
155 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
123 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
143 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
52 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
260 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 ...
7
votes
1answer
149 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
248 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
133 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
185 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
348 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
111 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
315 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 ...