Skip to content

Commit 83cdd87

Browse files
author
Moritz Jörg
committed
fix: allow multiple latex runs
1 parent 41e882b commit 83cdd87

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

.latexmkrc

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
### -- Custom Template --------------------------------------------------------
2+
$ENV{'TEXINPUTS'}='./IEEEtran//:' . $ENV{'TEXINPUTS'};
3+
# $ENV{'TEXINPUTS'}='../uit-thesis//:' . $ENV{'TEXINPUTS'};
4+
5+
### -- Output options --------------------------------------------------------
6+
7+
$quiet = 1;
8+
$silent = 1;
9+
10+
# -- Build options -----------------------------------------------------------
11+
12+
# $pdf_mode = 1; # PDFLaTeX by default
13+
# $aux_dir = "build"; # Build in this folder...
14+
# $emulate_aux = 1; # and move PDF in root (`$out_dir`)
15+
# Force reproducible builds
16+
# Source: https://tex.stackexchange.com/questions/229605
17+
# $pretex = '\pdfvariable suppressoptionalinfo 512\relax';
18+
# $usepretex = 1;
19+
20+
$max_repeat = 5; # Try 5 times at maximum then give up

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ all: $(TEXSRC)
1818
@$(TEXCOMPILE) $(TEXFLAGS) $(TEXNAME).tex
1919
@for aux in $(shell find . -name "*.aux"); do $(BIBCOMPILE) $$aux; done
2020
@$(TEXCOMPILE) $(TEXFLAGS) $(TEXNAME).tex
21-
# @$(TEXCOMPILE) $(TEXFLAGS) $(TEXNAME).tex
21+
@$(TEXCOMPILE) $(TEXFLAGS) $(TEXNAME).tex
2222
@mv $(TEXBUILD)/$(TEXNAME).pdf $(OUTNAME).pdf
2323

2424
clean:

0 commit comments

Comments
 (0)