From b885be1862dcdfa15e5a5e337370da66ff1147e4 Mon Sep 17 00:00:00 2001
From: Adrian Kummerlaender
Date: Fri, 18 Jan 2019 10:40:30 +0100
Subject: Externalize TIKZ figures to speed up compilation

---
 main.tex | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

(limited to 'main.tex')

diff --git a/main.tex b/main.tex
index 528fba3..c23bc63 100644
--- a/main.tex
+++ b/main.tex
@@ -26,6 +26,10 @@
 	pdfpagemode=UseOutlines,
 }
 
+\usepackage[backend=bibtex,style=numeric,maxbibnames=10,sorting=none]{biblatex}
+\DefineBibliographyStrings{ngerman}{andothers={et\ \addabbrvspace al\adddot}}
+\addbibresource{quellen.bib}
+
 \usepackage{tikz}
 \usetikzlibrary{positioning}
 \usetikzlibrary{matrix}
@@ -35,12 +39,12 @@
 \usetikzlibrary{arrows.meta}
 \usetikzlibrary{decorations.pathreplacing}
 \usetikzlibrary{decorations.pathmorphing}
+\usetikzlibrary{external}
 
 \usepackage{pgfplots}
+\usepgfplotslibrary{external}
 
-\usepackage[backend=bibtex,style=numeric,maxbibnames=10,sorting=none]{biblatex}
-\DefineBibliographyStrings{ngerman}{andothers={et\ \addabbrvspace al\adddot}}
-\addbibresource{quellen.bib}
+\tikzexternalize[prefix=tikzcache/]
 
 \setlength{\topmargin}{-15mm}
 
-- 
cgit v1.2.3

