Make build system compatible with tikz externalization
This commit is contained in:
parent
7640d83c37
commit
c23ac95b90
@ -1,4 +1,3 @@
|
||||
$pdflatex="pdflatex -shell-escape -interaction=nonstopmode -synctex=1 %O %S";
|
||||
$out_dir = 'build';
|
||||
$pdf_mode = 1;
|
||||
|
||||
|
||||
6
Makefile
6
Makefile
@ -5,15 +5,15 @@ HANDOUTS := $(patsubst build/presentation_%.pdf,build/presentation_%_handout.pdf
|
||||
all: $(PRESENTATIONS) $(HANDOUTS)
|
||||
|
||||
build/presentation_%.pdf: src/%/presentation.tex build/prepared
|
||||
TEXINPUTS=./lib/cel-slides-template-2025:$$TEXINPUTS latexmk $<
|
||||
TEXINPUTS=./lib/cel-slides-template-2025:$(dir $<):$$TEXINPUTS latexmk $<
|
||||
mv build/presentation.pdf $@
|
||||
|
||||
build/presentation_%_handout.pdf: src/%/presentation.tex build/prepared
|
||||
TEXINPUTS=./lib/cel-slides-template-2025:$$TEXINPUTS latexmk -pdflatex='pdflatex %O "\def\ishandout{1}\input{%S}"' $<
|
||||
TEXINPUTS=./lib/cel-slides-template-2025:$(dir $<):$$TEXINPUTS latexmk -pdflatex='pdflatex %O "\def\ishandout{1}\input{%S}"' $<
|
||||
mv build/presentation.pdf $@
|
||||
|
||||
build/prepared:
|
||||
mkdir -p build
|
||||
mkdir build
|
||||
touch build/prepared
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
@ -30,7 +30,7 @@
|
||||
\usepackage{tikz}
|
||||
\usepackage{tikz-3dplot}
|
||||
\usetikzlibrary{spy, external, intersections, positioning}
|
||||
%\tikzexternalize[prefix=build/]
|
||||
\tikzexternalize
|
||||
|
||||
\usepackage{pgfplots}
|
||||
\pgfplotsset{compat=newest}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user