From ef357b04c45bec0d35af5b52bac840cf9bc96cf9 Mon Sep 17 00:00:00 2001
From: Malin Freeborn <malinfreeborn@posteo.net>
Date: Mon, 6 Mar 2023 12:27:10 +0100
Subject: [PATCH] create spell summaries

---
 appendix.tex | 7 ++-----
 config       | 2 +-
 magic.tex    | 6 ------
 main.tex     | 2 +-
 spheres.tex  | 3 ---
 5 files changed, 4 insertions(+), 16 deletions(-)

diff --git a/appendix.tex b/appendix.tex
index f14167fd..69a49132 100644
--- a/appendix.tex
+++ b/appendix.tex
@@ -107,10 +107,7 @@ Okay, so you know how to make a character by now.  But just for reference, let's
   }
 }{}
 
-\chapter{Spell Summaries}
+\indexprologue{The following spell summaries are simplified for reference, and do not take into account spells cast at a higher level than normal.}
+\printindex[spells]
 
-The following spell summaries are simplified for reference, and do not take into account spells cast at a higher level than normal.
 
-\vspace{1em}
-
-\printcontents[magic]{l}{1}{\setcounter{tocdepth}{4}}
diff --git a/config b/config
index 2a6138ad..6f09299f 160000
--- a/config
+++ b/config
@@ -1 +1 @@
-Subproject commit 2a6138ade01bd80a2d6e9c664c9210cf5b3bc450
+Subproject commit 6f09299f4c999ea4205ae08e7077e95c9e01e6a7
diff --git a/magic.tex b/magic.tex
index 501eee4c..fb2b5a8e 100644
--- a/magic.tex
+++ b/magic.tex
@@ -1,6 +1,4 @@
 % these lines initiatiate the 'magic' mini-table of contents, so we can restart it later
-\startcontents[magic]
-\stopcontents[magic]
 
 \chapter{Magic}
 \label{magic_paths}
@@ -228,8 +226,6 @@ These Enhancements always take the form of adjectives.
 
 \end{multicols}
 
-\resumecontents[magic]
-
 \sphere{Metamagic}
 \index{Metamagic}
 
@@ -519,8 +515,6 @@ Therefore, a mage creating an item with the 3rd level of Necromancy must first s
 Mana Stones, Talismans, and Artefacts cast with this enhancement can store 3 \glspl{mp} for each level of the spell, rather than the usual 2.
 They also regenerate 3 \glspl{mp} per scene.
 
-\stopcontents[magic]
-
 \end{multicols}
 
 \section{Mana Stones}
diff --git a/main.tex b/main.tex
index 8fdbd367..336ecd9e 100644
--- a/main.tex
+++ b/main.tex
@@ -64,7 +64,7 @@ Keywords={TTRPG,RPG,roleplaying}
 
 \include{gm.tex}
 
-\include{appendix.tex}
+\input{appendix.tex}
 
 \settoggle{sideTab}{false}
 
diff --git a/spheres.tex b/spheres.tex
index cabbd692..fdda10bd 100644
--- a/spheres.tex
+++ b/spheres.tex
@@ -41,8 +41,6 @@ Lithe characters will find it easier to turn into a bird, while stronger people
 
 }{}
 
-\resumecontents[magic]
-
 \sphere{Aldaron}
 
 \begin{multicols}{2}
@@ -1260,4 +1258,3 @@ However, using them requires that the target's Speed Bonus be at least 3 points
 
 \end{multicols}
 
-\stopcontents[magic]
-- 
GitLab