Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [arara]

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

Filter by
Sorted by
Tagged with
4 votes
1 answer
49 views

Convert bash shell script call in arara rule from version 4 to version 6

I have the following rule in arara 4 that calls a bash shell and executes a command in this shell: !config identifier: OCbootstrap name: OCbootstrap commands: - <arara> bash -i -c OCbootstrap @{...
user avatar
5 votes
1 answer
117 views

How to write arara rules

It seems the syntax for writing arara rules has changed since I last updated my copy of LaTeX. On my old computer the following rule works as desired: !config # open rule for arara # author: A.Ellett #...
user avatar
  • 48.8k
1 vote
0 answers
45 views

Indent subfiles with arara (subfiles package)

Can bar.tex file be indented by arara? foo.tex is indented if I use: % arara: indent: { overwrite: yes }, but not bar.tex foo.tex file: % arara: indent: { overwrite: yes, files: [ dir/bar.tex ] } \...
user avatar
  • 580
4 votes
1 answer
101 views

Use Arara directives to move pdf from build folder to root folder

I am trying to have all auxilliary files created in a "_build" subdirectory, but automatically move the created PDF back to the same directory as the .tex. In other words, I want the .tex ...
user avatar
  • 43
0 votes
0 answers
35 views

arara fails on biber, but standalone biber doesn't fail [duplicate]

I have a LaTeX file ThesisFinal.tex that I compile with arara. The file starts with the following lines: % arara: clean: { extensions: [aux, bbl, bcf, blg, glg, glo, gls, idx, ilg, ind, ist, log, out, ...
user avatar
  • 8,684
1 vote
1 answer
65 views

Could arara detect the file size?

I have a large book with many chapters, lots figures and tikz pictures and some of them have really large file sizes (over 100MB). I utilize https://docs.google.com/viewer?url= to get the chapters ...
user avatar
1 vote
1 answer
80 views

Arara crashes after update

After updating arara, I have a problem when I run it: % arara: pdflatex \documentclass[11pt]{article} \begin{document} Test \end{document} C:\Users\Name\Documents\arara test.tex Give me: __ _ _ __ ...
user avatar
  • 35
0 votes
0 answers
55 views

How to use arara with a makeindex style file to add capital letters to index

I would like to augment my LaTeX index with a capital letter to distinguish each letter category. For example; A ample axe B block buy and so on. I've created a makeindex style file, MyLatex.ist, ...
user avatar
1 vote
1 answer
85 views

arara to proceed check content **during** compilation?

My question How can I replace strings in my code during compilation. Context So far I use arara like "magic" lines at the beginning of my code to call latexindent % arara: pdflatex: { shell: ...
user avatar
  • 2,447
9 votes
1 answer
225 views

My old rule does not work anymore with the latest version of arara

I have a rule which worked with the previous version of arara: !config # Open the every <filename>.<format> that can be opened # The default for <filename> is the current file. # The ...
user avatar
  • 53.9k
5 votes
1 answer
207 views

Arara crashes in TeX Live 2021

I found an issue with ararain TeX Live 2021. %!TEX TS-program = Arara % arara: pdflatex \documentclass[12pt]{article} \begin{document} asdad \end{document} Arara has been configured in TeXWorks as ...
user avatar
0 votes
1 answer
153 views

Problems with multibib and natbib with \defcitealias

I have a problem getting two seperate bibliographies from a main .bib file. The other problem is the issue with the \defcitealias described here. I tried to reproduce the example in the link, but it ...
user avatar
  • 2,130
1 vote
1 answer
89 views

Glossaries from memoir manual in overleaf and arara

I am reading the memoir manual and I am having problems with section 17.3 about glossaries. I have this MWE that I call it example.tex \documentclass{memoir} \makeindex \makeglossary[acro] \begin{...
user avatar
  • 2,115
1 vote
1 answer
59 views

arara root file (compile the main file)

The arara manual on page 21 bottom The directive context also features another special parameter named files which expects a non-empty list of file names as plain string values. For each element of ...
user avatar
  • 580
0 votes
0 answers
83 views

Arara Error: Unable to access jarfile

I am trying to compile a LaTeX document using arara on the command line, but I get a Error: Unable to access jarfile notification.This happens even when I do only arara -V for the version. Strangely ...
user avatar
  • 410
1 vote
1 answer
124 views

Using arara on bibtex in a subdirectory

I want to use arara to automatically create bibfiles. However, I'm having some trouble. My folder sutrcture is as follows: dissertation.tex chapter1/chapter1.tex chapter1/chapter1.bib chapter2/...
user avatar
  • 113
0 votes
2 answers
97 views

Docker XeLaTeX arara no error msg

When I compile my LaTeX Document locally with arara it works! But when I put it into Docker (Fedora) I only get this Emergeny-stop: This is XeTeX, Version 3.14159265-2.6-0.999991 (TeX Live 2019) (...
user avatar
  • 25
0 votes
0 answers
94 views

concitional compilation of bib2gls with arara

I'm working on a large project (3 volumes of about 500 pages each), and I'm using bib2gls to manage my glossaries. In order to save compilation time I started using arara with conditionals like in How ...
user avatar
  • 2,115
0 votes
1 answer
110 views

[arara]: Reuse compiled preamble with pdflatex and mylatexformat.ltx

When running pdflatex more than once successively, is it possible to: • Compile your preamble packages • Snapshot this moment in compilation • Continue running through the rest of the pdflatex ...
user avatar
  • 1,258
0 votes
0 answers
48 views

[arara]: subdirectories and `% arara --preamble <araraCommandFilename> <texFilename>` option

Background: All of my subsection .tex files are saved in subdirectories. The top-level parent file is able to call them, and the subsection .tex files are able to run standalone without it. I path the ...
user avatar
  • 1,258
1 vote
1 answer
92 views

[arara]: clean option does not remove .xml file extensions

The clean option of arara removes all extensions except for .xml files when .xml is listed in the extensions options: % arara: clean : { extensions: [aux,bbl,bcf,blg,glg,glo,gls,idx,ilg,ind,ist,log,...
user avatar
  • 1,258
1 vote
1 answer
268 views

sagetex/arara: SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape

Following up this answer, I have the following error in the arara's log file SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape when ...
user avatar
  • 8,759
1 vote
1 answer
86 views

arara: XeLaTeX engine FAILURE after changing file to reference

I changed file to reference in my xelatx.yaml: !config identifier: xelatex name: XeLaTeX authors: - Paulo commands: - name: XeLaTeX engine command: > @{ if (isEmpty(directory)) { ...
user avatar
1 vote
0 answers
102 views

How can I configure TeXstudio to use Arara automatically?

How can I convince TeXstudio to use Arara automatically? I have the followings lines at the top of my LaTeX file: %!TEX TS-program = Arara % arara: pdflatex: {shell: yes} when I hit F5 resp. the &...
user avatar
1 vote
1 answer
114 views

Arara rule for gnuplot in Texstudio on Windows 10

I run gnuplot with a user command pdflatex --shell-escape %.tex perfectly. Is there any rule for arara to automate this process to be used, instead of running arara then user defined then arara ...
user avatar
  • 45
0 votes
1 answer
1k views

Where can I find a copy of the arara rule file 'authorindex.yaml' for 'authorindex'?

I am new to LaTeX. When I try to typeset my TeX file using Arara to run the 'authorindex' package, e.g. (*): % arara: authorindex I get the following message: "I could not find a rule named '...
user avatar
0 votes
0 answers
64 views

arara: Comment a group of arara lines/commands

How can I comment out a set of arara commands/lines instead of doing it manually by prepending ! to the word arara? % arara: lualatex: { options: [ '-synctex=1', % arara: --> '-shell-escape','-...
user avatar
  • 8,759
1 vote
1 answer
104 views

Automatically Typeset two Versions of a Document - Update needed for Arara 5.0

With version 4 of arara, I was able to typeset two versions of a document nicely by inputting different files with different definitions according to arara rules. Unfortunately, this has stopped ...
user avatar
  • 301
0 votes
1 answer
297 views

Impossible to install pythontex... pythontex command always unavailable

I installed the pythontex package in my texmf directory, but still the command pythontex is not found when i write it in a terminal... And when i compile, \printpythontex returns ?? PythonTeX ?? ...
user avatar
8 votes
1 answer
116 views

Error in arara: unresolvable property or identifier: file

Disclaimer: Since arara 5.1 is now live on TeX Live and we have some significant changes in the rule format, I am antecipating the inevitable and asking the question myself. Hope it helps! :) So I ...
user avatar
0 votes
0 answers
87 views

How to make Pythontex work with arara on Vim Latex-Suite?

I'm trying to use Pythontex on Vim Latex-suite, compiling with arara 3. I've tried the method that Uwe Ziegenhagen proposed here : Arara rule for Pythontex I put exactly the same pythontex.yaml ...
user avatar
4 votes
2 answers
126 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 ...
user avatar
  • 407
5 votes
1 answer
181 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:...
user avatar
  • 8,759
4 votes
1 answer
473 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 ...
user avatar
  • 8,759
7 votes
1 answer
311 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 ...
user avatar
  • 6,217
2 votes
1 answer
61 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 ...
user avatar
  • 617
3 votes
2 answers
57 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 ...
user avatar
  • 8,759
1 vote
0 answers
117 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 ...
user avatar
6 votes
1 answer
288 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 ...
user avatar
  • 8,429
1 vote
1 answer
152 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 ...
user avatar
  • 45
2 votes
1 answer
269 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 ...
user avatar
2 votes
1 answer
240 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 ...
user avatar
2 votes
0 answers
69 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 ...
user avatar
2 votes
1 answer
174 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: ...
user avatar
  • 6,382
1 vote
1 answer
1k 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 (...
user avatar
  • 187
6 votes
1 answer
193 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 ...
user avatar
  • 53.9k
1 vote
0 answers
110 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 ...
user avatar
1 vote
1 answer
36 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')...
user avatar
  • 8,684
1 vote
0 answers
55 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 = ...
user avatar
  • 8,684
2 votes
1 answer
76 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 ...
user avatar
  • 8,684