Questions tagged [arara]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
31 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 ...
0
votes
0answers
50 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 ...
1
vote
1answer
67 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/...
0
votes
2answers
42 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) (...
0
votes
0answers
40 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 ...
0
votes
1answer
54 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 ...
0
votes
0answers
28 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 ...
0
votes
1answer
26 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,...
0
votes
0answers
153 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 ...
1
vote
1answer
56 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)) { ...
1
vote
0answers
42 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 &...
1
vote
1answer
99 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 ...
0
votes
1answer
816 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 '...
0
votes
0answers
30 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','-...
1
vote
1answer
77 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 ...
0
votes
1answer
158 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 ?? ...
7
votes
1answer
70 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 ...
0
votes
0answers
46 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 ...
4
votes
2answers
99 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 ...
5
votes
1answer
132 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:...
4
votes
1answer
249 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 ...
6
votes
1answer
190 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
43 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
46 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
77 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 ...
6
votes
1answer
207 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
104 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
178 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
170 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
35 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 ...
2
votes
1answer
114 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
740 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
161 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
69 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 ...
1
vote
1answer
35 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
54 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
62 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 ...
7
votes
4answers
396 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
285 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
91 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
160 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
79 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
133 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
227 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 ...
3
votes
1answer
259 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
110 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
215 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
172 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. ...
2
votes
1answer
154 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
100 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, ...