Skip to content

Commit 44f0e85

Browse files
committed
Use latexmkrc instead of flags in latexmk calls
1 parent 9aaacb9 commit 44f0e85

File tree

1 file changed

+5
-23
lines changed

1 file changed

+5
-23
lines changed

vXXX/Makefile

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,11 @@ build/plot.pdf: plot.py ../matplotlibrc ../header-matplotlib.tex | build
1212
# hier weitere Abhängigkeiten für build/vXXX.pdf deklarieren:
1313
build/$(TEXFILE).pdf: build/plot.pdf
1414

15-
build/$(TEXFILE).pdf: FORCE | build
16-
# to find header and bib files in the main directory
17-
TEXINPUTS=..: \
18-
BIBINPUTS=..: \
19-
max_print_line=1048576 \
20-
latexmk \
21-
--lualatex \
22-
--output-directory=build \
23-
--interaction=nonstopmode \
24-
--halt-on-error \
25-
$(TEXFILE).tex
26-
27-
preview: FORCE | build
28-
TEXINPUTS=..: \
29-
BIBINPUTS=..: \
30-
max_print_line=1048576 \
31-
latexmk \
32-
-pvc \
33-
--lualatex \
34-
--output-directory=build \
35-
--interaction=nonstopmode \
36-
--halt-on-error \
37-
$(TEXFILE).tex
15+
build/$(TEXFILE).pdf: $(TEXFILE).tex FORCE | build
16+
TEXINPUTS=..: latexmk -r $$(pwd)/../latexmkrc $<
17+
18+
preview: $(TEXFILE).tex FORCE | build
19+
TEXINPUTS=..: latexmk -r $$(pwd)/../latexmkrc $<
3820

3921
build:
4022
mkdir -p build

0 commit comments

Comments
 (0)