\documentclass{ctacomputing}

\input{build/glossary.tex}
% force that also unused acronmys get their "Glossary: ..." content
\setglossarystyle{treehypergroup} % this style will show symbols when available
%\setglossarystyle{alttree} % this style will show symbols when available
%\setglossarystyle{alttreehypergroup} % this style will show symbols when available


\editor{K. Kosack (CTAO, CEA Saclay)}            % a single editor of the>
\title{CTAO Computing Glossary}
\docnum{CTA-LIS-COM-000000-0001}
\issue{1}
\revision{b}
\draft{1}

\preparer{K. Kosack}{\gls{CTAO}, CEA Paris-Saclay}{DPPS Coordinator, Data Model Group}
\approver{Matthias Füßling}{\gls{CTAO}}{SUSS Coordinator}
\approver{Igor Oya}{\gls{CTAO}}{ACADA Coordinator}
\releaser{Stefan Schlenstedt}{\gls{CTAO}}{Computing Coordinator}

\author{Karl Kosack}{CTAO / CEA Saclay}{}
\author{Matthias Füßling}{CTAO}{}
\author{Igor Oya}{CTAO}{}
\author{Nektarios Benekos}{CTAO}{}
\author{Maximilian Linhoff}{CTAO / TU Dortmund}{}
\author{Gernot Maier}{DESY}{}
\author{Stefan Schlenstedt}{CTAO}{}
\author{Mykhailo Dalchenko}{CTAO / U. Geneva}{}
\author{Gareth Hughes}{CTAO}{}

\ChangeLogEntry{1}{a}{2023-10-07}{Initial Draft}{}

\begin{document}
\maketitle{}
\ChangeLog{}
\Authors{}
%\setcounter{tocdepth}{3}
\tableofcontents{}

\chapter{Scope}

This document collects all terminology used in current CTAO Computing documents.
It contains both internally-defined and external terminology. Some terms defined
here may also be defined in the general CTAO glossary, which is currently
unreleased; for that reason we do not guarantee the definitions are
synchronized. Terms in this document are included automatically in some CTAO
Computing documents as described in \autoref{sec:about}. Terms which are planned
to be defined but are currently missing definitions are labeled as ``TBD'' (to
be defined).


\glsaddall
% mark all acronyms as "used", so the Glossary terms show up
\forglsentries[acronym]{\thislabel}{%
  \glsunset{\thislabel}%
}{}%

\printglossaries

\appendix
\chapter{About This Document}\label{sec:about}

This document is generated automatically from the
\href{https://gitlab.cta-observatory.org/cta-computing/documentation/cta-computing-glossary}{\texttt{cta-computing-glossary} project} in the CTA Gitlab (\url{https://gitlab.cta-observatory.org}). Glossary terms are defined in a set of
\texttt{yaml} files, including abbreviations, symbols, cross-references, and the
origin of the definition. This information is converted to a \LaTeX\
\emph{glossary} document that is usable with the \emph{glossaries-extra}
package. Computing Department documents written in \LaTeX\ can use
this glossary by checking out the repository as a git \emph{sub-module} and
following the example in the repository to link words in the document to
definitions. As the definitions are updated, the author of a document
can simply update the glossary sub-module to the latest release, and their
document will change to use updated definitions automatically.

\end{document}
