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
46 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
91 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
92 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
23 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
11 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
56 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: ...
0
votes
1answer
74 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
96 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
22 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
15 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
32 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
46 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
46 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 ...
4
votes
4answers
181 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
77 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
71 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
84 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
57 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
107 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
185 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
94 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
47 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
158 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
107 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
93 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
71 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
29 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
83 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
652 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
51 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
136 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
106 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
136 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
50 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
209 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
135 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
212 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
108 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
153 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
266 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
95 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
270 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
121 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: ...
4
votes
1answer
184 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
193 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
501 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
375 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
66 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. ...
2
votes
1answer
442 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... ...
2
votes
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: ...