From c28c0a2978f796ea7971323221c156e3c5bc1845 Mon Sep 17 00:00:00 2001
From: Franz Bethke <bethke@math.hu-berlin.de>
Date: Tue, 14 Nov 2017 12:32:52 +0100
Subject: [PATCH] Separate PRD and glossary

---
 doc/glossary.tex              | 41 +++++++++++++++++++++++++++++++++++
 doc/lastenheft/lastenheft.tex | 36 ++----------------------------
 2 files changed, 43 insertions(+), 34 deletions(-)
 create mode 100644 doc/glossary.tex

diff --git a/doc/glossary.tex b/doc/glossary.tex
new file mode 100644
index 00000000..d365e6a8
--- /dev/null
+++ b/doc/glossary.tex
@@ -0,0 +1,41 @@
+% KEEP THIS ALPHABETICALLY SORTED PLS!
+\usepackage[toc,xindy]{glossaries} % needs to be loaded after the inclusion of hyperref!
+
+% ENTRIES
+\newacronym{ES}{ES}{Evolution-State}
+
+\newglossaryentry{Follower Vehicle}{
+  name=FollowerVehicle,
+  description={Modelauto in einer bestehenden Kolonne, welches aber nicht
+               an erster Position fährt.}
+}
+\newacronym{FV}{FV}{\gls{Follower Vehicle}}
+
+\newglossaryentry{Inner-Platoon-Distance}{
+  name=InnerPlatoonDistance,
+  description={Vom \gls{LV} vorgegebener Abstand zwischen Fahrzeugen
+               innerhablb der Kolonne.}
+}
+\newacronym{IPD}{IPD}{\gls{Inner-Platoon-Distance}}
+
+\newglossaryentry{Leading Vehicle}{
+  name=LeadingVehicle,
+  description={Modelauto an der Spitze einer bestehenden Kolonne}
+}
+\newacronym{LV}{LV}{\gls{Leading Vehicle}}
+
+\newacronym{MS}{MS}{Milestone}
+
+\newglossaryentry{Platoon-Speed}{
+  name=PlatoonSpeed,
+  description={Vom \gls{LV} vorgegebene Geschwindigkeit der Kolonne.}
+}
+\newacronym{PS}{PS}{\gls{Platoon-Speed}}
+
+\newacronym{RQ}{RQ}{Requirement}
+
+\newacronym{UC}{UC}{Use-Case}
+
+% POST ENTRIES SETTINGS
+\makeglossaries % needs to be set after the inclusion of hyperref!
+\glsunsetall % this will suppress expanding the first occurrence of acronyms
diff --git a/doc/lastenheft/lastenheft.tex b/doc/lastenheft/lastenheft.tex
index ebca42c4..e0a2b06f 100644
--- a/doc/lastenheft/lastenheft.tex
+++ b/doc/lastenheft/lastenheft.tex
@@ -10,40 +10,8 @@
 \usepackage{parskip}  % makes end of paragraphs use an empty line
 
 %%% GLOSSARY %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\usepackage[toc,xindy]{glossaries} % needs to be loaded after the inclusion of hyperref!
-\newglossaryentry{Leading Vehicle}{
-  name=LeadingVehicle,
-  description={Modelauto an der Spitze einer bestehenden Kolonne}
-}
-\newacronym{LV}{LV}{\gls{Leading Vehicle}}
-
-\newglossaryentry{Follower Vehicle}{
-  name=FollowerVehicle,
-  description={Modelauto in einer bestehenden Kolonne, welches aber nicht
-               an erster Position fährt.}
-}
-\newacronym{FV}{FV}{\gls{Follower Vehicle}}
-
-\newglossaryentry{Platoon-Speed}{
-  name=PlatoonSpeed,
-  description={Vom \gls{LV} vorgegebene Geschwindigkeit der Kolonne.}
-}
-\newacronym{PS}{PS}{\gls{Platoon-Speed}}
-
-\newglossaryentry{Inner-Platoon-Distance}{
-  name=InnerPlatoonDistance,
-  description={Vom \gls{LV} vorgegebener Abstand zwischen Fahrzeugen
-               innerhablb der Kolonne.}
-}
-\newacronym{IPD}{IPD}{\gls{Inner-Platoon-Distance}}
-
-\newacronym{UC}{UC}{Use-Case}
-\newacronym{RQ}{RQ}{Requirement}
-\newacronym{ES}{ES}{Evolution-State}
-\newacronym{MS}{MS}{Milestone}
-
-\makeglossaries % needs to be set after the inclusion of hyperref!
-\glsunsetall % this will suppress expanding the first occurrence of acronyms
+\input{../glossary.tex}
+
 %%% BIBTEX %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \usepackage[ backend=bibtex,
              sorting=nty,
-- 
GitLab