about summary refs log tree commit diff stats
path: root/build/latex/presentation/headers/preamble
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-04 13:48:21 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-04 13:48:21 +0200
commit0a269caba85895d86ab2caf6aa5f0bd14643b4b1 (patch)
treebebffe87939587b992139aac311f591c353a0cf3 /build/latex/presentation/headers/preamble
parentrefactor(common/scritps/latex/extract_text_from_all): Remove (diff)
downloadflake-templates-0a269caba85895d86ab2caf6aa5f0bd14643b4b1.tar.gz
flake-templates-0a269caba85895d86ab2caf6aa5f0bd14643b4b1.zip
chore(build): Recreate
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