about summary refs log tree commit diff stats
path: root/build/latex/presentation/headers
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--build/latex/presentation/headers/preamble.tex1
-rw-r--r--build/latex/presentation/headers/preamble/core/index.tex8
-rw-r--r--build/latex/presentation/headers/preamble/core/mod.tex1
-rw-r--r--build/latex/presentation/headers/preamble/mod.tex9
4 files changed, 8 insertions, 11 deletions
diff --git a/build/latex/presentation/headers/preamble.tex b/build/latex/presentation/headers/preamble.tex
index d45262a..d10a02e 100644
--- a/build/latex/presentation/headers/preamble.tex
+++ b/build/latex/presentation/headers/preamble.tex
@@ -1,2 +1 @@
 \input{headers/preamble/mod.tex}
-\input{headers/preamble_local.tex}
diff --git a/build/latex/presentation/headers/preamble/core/index.tex b/build/latex/presentation/headers/preamble/core/index.tex
deleted file mode 100644
index 3efbfc4..0000000
--- a/build/latex/presentation/headers/preamble/core/index.tex
+++ /dev/null
@@ -1,8 +0,0 @@
-\usepackage{index} % Helps to create an index
-\makeindex
-
-\ifdraft{
-	\usepackage{showidx}
-} {
-	\message {Draft option not enabled, 'showidx' not loaded.}
-}
diff --git a/build/latex/presentation/headers/preamble/core/mod.tex b/build/latex/presentation/headers/preamble/core/mod.tex
index 403ce58..7eaa1c0 100644
--- a/build/latex/presentation/headers/preamble/core/mod.tex
+++ b/build/latex/presentation/headers/preamble/core/mod.tex
@@ -7,7 +7,6 @@
 \input{headers/preamble/core/date_and_time.tex}
 \input{headers/preamble/core/encoding.tex}
 \input{headers/preamble/core/graphics_and_floats.tex}
-\input{headers/preamble/core/index.tex}
 \input{headers/preamble/core/linting.tex}
 \input{headers/preamble/core/margindate.tex}
 \input{headers/preamble/core/math.tex}
diff --git a/build/latex/presentation/headers/preamble/mod.tex b/build/latex/presentation/headers/preamble/mod.tex
index a8d5fc7..0a00086 100644
--- a/build/latex/presentation/headers/preamble/mod.tex
+++ b/build/latex/presentation/headers/preamble/mod.tex
@@ -1,2 +1,9 @@
-\input{headers/preamble/beamer/mod.tex}
 \input{headers/preamble/core/mod.tex}
+
+% This makes it possible to import this preamble in the `standalone` class. Useful for
+% external figures.
+\ifcsname setbeamercolor\endcsname
+	\input{headers/preamble/beamer/mod.tex}
+\else
+	% Don't input it
+\fi