From 11a192cbd3fe112c57892a7b71c9d90b03d87cab Mon Sep 17 00:00:00 2001
From: Malin Freeborn <malinfreeborn@posteo.net>
Date: Mon, 22 Jan 2024 15:00:28 +0100
Subject: [PATCH] stop exampletext messing with subsubsection

---
 glossary.tex | 3 ++-
 layout.sty   | 8 ++++----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/glossary.tex b/glossary.tex
index 45eb00f8..3ffd9448 100644
--- a/glossary.tex
+++ b/glossary.tex
@@ -17,6 +17,8 @@
 
 \glssetcategoryattribute{location}{glossnamefont}{textsc}
 
+\makeglossaries
+
 % We only want to show full descriptions (e.g. 'PC (Player Character)') in some books. These books make the file '.switch-gls', but most use nothing.
 
 \IfFileExists{.switch-gls}{
@@ -904,5 +906,4 @@
 \newcommand{\sqr}{\gls{sqr}} % multi-part side quest
 \newcommand{\sqn}{\gls{sqn}} % multi-part side quest
 
-\makeglossaries
 
diff --git a/layout.sty b/layout.sty
index 5b580edf..4685b010 100644
--- a/layout.sty
+++ b/layout.sty
@@ -12,16 +12,17 @@ bookmarks=true]%
 {hyperref}
 
 \RequirePackage[
+  nostyles,
   acronyms,
   prefix,
   automake,
-  symbols,
   indexonlyfirst,
+  numberedsection=autolabel,
   section=section,
-  stylemods=mcols,
+  stylemods={mcols,topic,tree},
   style=mcoltree,
   autoseeindex=false,
-  nopostdot,
+  symbols,
 ]{glossaries-extra}
 
 \RequirePackage{epsdice} % for dice
@@ -996,7 +997,6 @@ interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west)
     \needspace{2em}
     \vspace{1em}%
     \it%
-    \noindent%
   }
   {%
     \par
-- 
GitLab