From 8301baf794607020790e5f65c743cf6179405fc5 Mon Sep 17 00:00:00 2001 From: Jigme Datse Yli-Rasku Date: Mon, 11 Nov 2024 12:37:59 -0800 Subject: [PATCH] Update Footer and Header Not entirely sure what changes these are, but it's an update that I hope works. --- basic-roleplaying/000-header.tex | 14 ++++++++++++++ basic-roleplaying/900-footer.tex | 2 ++ 2 files changed, 16 insertions(+) diff --git a/basic-roleplaying/000-header.tex b/basic-roleplaying/000-header.tex index 42319c1..4ff08ac 100644 --- a/basic-roleplaying/000-header.tex +++ b/basic-roleplaying/000-header.tex @@ -8,6 +8,20 @@ %% Half Letter Production \geometry{paperheight=8.5in,paperwidth=5.5in,margin=0.5in} +\usepackage[acronym,nopostdot]{glossaries} + +\makeglossaries + +\usepackage{xparse} +\DeclareDocumentCommand{\newdualentry}{ O{} O{} m m m m } { + \newglossaryentry{gls-#3}{name={#5},text={#5\glsadd{#3}}, + description={#6},#1 + } + \makeglossaries + \newacronym[see={[Glossary:]{gls-#3}},#2]{#3}{#4}{#5\glsadd{gls-#3}} +} + +\loadglsentries[main]{glossary-defs} \title{My Basic Roleplaying Resources} \author{Jigme Datse Yli-Rasku} diff --git a/basic-roleplaying/900-footer.tex b/basic-roleplaying/900-footer.tex index 579d12a..5379f77 100644 --- a/basic-roleplaying/900-footer.tex +++ b/basic-roleplaying/900-footer.tex @@ -3,7 +3,9 @@ \chapter{No idea what we're putting here} \backmatter +\include{glossary} \chapter{Bibliography} \chapter{Other Titles} + \end{document} \ No newline at end of file