-
Notifications
You must be signed in to change notification settings - Fork 18
/
arararc.yaml
21 lines (20 loc) · 1.12 KB
/
arararc.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
!config
# Define key to minimize number of runs.
# Note that we always use batchmode since arara sees pdftex exit code and stops
# without executing further directives only if the exit code of the command was
# not zero (independent of the visibility on the console).
# To use only 120 max lines on linux modify /usr/local/texlive/{year}/texmf.cnf
# as per https://tex.stackexchange.com/a/83608
preambles:
minimize_runs: |
% arara: pdflatex: {interaction: batchmode, synctex: yes, shell: yes,
% arara: --> options: ["-file-line-error"]}
% arara: biber if found('log', 'Please \\(re\\)run Biber on the file')
% arara: --> && found('bcf', 'citekey')
% arara: pdflatex: {interaction: batchmode, synctex: yes,
% arara: --> options: ["-file-line-error"]}
% arara: --> if found('log', 'Please \\(re\\)run Biber on the file')
% arara: --> && found('bcf', 'citekey')
% arara: pdflatex: {interaction: batchmode, synctex: yes, shell: yes,
% arara: --> options: ["-file-line-error"]}
% arara: --> if found('log', '(undefined references|Please rerun|Rerun to get)')