From 5d9be1742bbf7c6be361c1580ecbb22480b655fa Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 4 Oct 2024 13:15:42 +0200 Subject: fix(templates/latex/presentation): Get to compile --- common/latex/preamble.tex | 1 - common/latex/preamble/academia/index.tex | 8 ++++++++ common/latex/preamble/academia/mod.tex | 1 + common/latex/preamble/core/index.tex | 8 -------- common/latex/preamble/core/mod.tex | 1 - common/latex/preamble/mod.tex | 3 --- 6 files changed, 9 insertions(+), 13 deletions(-) create mode 100644 common/latex/preamble/academia/index.tex delete mode 100644 common/latex/preamble/core/index.tex delete mode 100644 common/latex/preamble/mod.tex (limited to 'common/latex') diff --git a/common/latex/preamble.tex b/common/latex/preamble.tex index d45262a..d10a02e 100644 --- a/common/latex/preamble.tex +++ b/common/latex/preamble.tex @@ -1,2 +1 @@ \input{headers/preamble/mod.tex} -\input{headers/preamble_local.tex} diff --git a/common/latex/preamble/academia/index.tex b/common/latex/preamble/academia/index.tex new file mode 100644 index 0000000..3efbfc4 --- /dev/null +++ b/common/latex/preamble/academia/index.tex @@ -0,0 +1,8 @@ +\usepackage{index} % Helps to create an index +\makeindex + +\ifdraft{ + \usepackage{showidx} +} { + \message {Draft option not enabled, 'showidx' not loaded.} +} diff --git a/common/latex/preamble/academia/mod.tex b/common/latex/preamble/academia/mod.tex index 39b9230..1f2cd71 100644 --- a/common/latex/preamble/academia/mod.tex +++ b/common/latex/preamble/academia/mod.tex @@ -1,4 +1,5 @@ % derived from: % https://github.com/gillescastel/lecture-notes/blob/929672a96abc27eaeb6fa58b1d277b3582d28532/group-theory/preamble.tex +\input{headers/preamble/academia/index.tex} \input{headers/preamble/academia/theorems/mod.tex} \input{headers/preamble/academia/visuals.tex} diff --git a/common/latex/preamble/core/index.tex b/common/latex/preamble/core/index.tex deleted file mode 100644 index 3efbfc4..0000000 --- a/common/latex/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/common/latex/preamble/core/mod.tex b/common/latex/preamble/core/mod.tex index 403ce58..7eaa1c0 100644 --- a/common/latex/preamble/core/mod.tex +++ b/common/latex/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/common/latex/preamble/mod.tex b/common/latex/preamble/mod.tex deleted file mode 100644 index f11ff21..0000000 --- a/common/latex/preamble/mod.tex +++ /dev/null @@ -1,3 +0,0 @@ -\input{headers/preamble/academia/mod.tex} -\input{headers/preamble/beamer/mod.tex} -\input{headers/preamble/core/mod.tex} -- cgit 1.4.1