diff --git a/example/.gitignore b/example/.gitignore index b464a428628a1231f8133a9e1c088a5a6bfdc9bb..8a3a76b6a50af2d4f4000e895a6e92372ac230de 100644 --- a/example/.gitignore +++ b/example/.gitignore @@ -1,4 +1,6 @@ example.aux +example.glo +example.ist example.log example.out example.pdf diff --git a/example/Makefile b/example/Makefile index 150e90a39695759a910a32f22130956e25b14aee..88c63c87991fd2b420ade0159fdaf0fda7d5bd7f 100644 --- a/example/Makefile +++ b/example/Makefile @@ -1,3 +1,4 @@ +DOCNAME=example export TEXMFHOME ?= ../texmf GITVERSION := $(shell git log -1 --date=short --pretty=%h) @@ -7,9 +8,10 @@ ifneq "$(GITSTATUS)" "" GITDIRTY = -dirty endif -example.pdf: example.tex meta.tex - xelatex example - xelatex example +$(DOCNAME).pdf: $(DOCNAME).tex meta.tex + xelatex $(DOCNAME) + makeglossaries $(DOCNAME) + xelatex $(DOCNAME) .FORCE: diff --git a/example/example.tex b/example/example.tex index 1abccfa97a3995f022a1468626d0310bc0c39041..6a13ec39d860d06838c8af5f548fd3d04d2ada6c 100644 --- a/example/example.tex +++ b/example/example.tex @@ -10,6 +10,7 @@ \setDocChangeRecord{ \addChangeRecord{1.0}{2020-11-15}{Initial release} + \addChangeRecord{2.0}{2020-11-18}{Add list of abbreviations} } \setDocAuthors{ @@ -30,9 +31,20 @@ \addPerson{A person}{An institute}{A date} } +\input{astron-abbreviations} +\makeglossaries + \begin{document} \maketitle +\setglossarystyle{altlist} +\printglossary[title=List of abbreviations] +\clearpage + +Check that abbreviations are working properly: \gls{SDC}, \gls{SKA}. + +\section{First section} + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque bibendum metus tortor, sit amet lobortis mi semper et. Aenean in leo at nisi scelerisque feugiat. @@ -42,7 +54,6 @@ Proin aliquam ante nec sem ullamcorper sollicitudin. Ut accumsan efficitur ante, eget laoreet nisl pellentesque quis. Nunc ac ornare sem. -\section{First section} Sed enim libero, mattis nec ex vel, consectetur auctor magna. Integer venenatis blandit mi quis auctor. diff --git a/texmf/ls-R b/texmf/ls-R index 5ee4d0180014459f9e95113ec44509f789c6754b..c9e1b40b3d156963eb7def0d1f3c03ee6714ae84 100644 --- a/texmf/ls-R +++ b/texmf/ls-R @@ -12,5 +12,6 @@ latex astron ./tex/latex/astron: +astron-acronyms.tex astron-logo.pdf astron.cls diff --git a/texmf/tex/latex/astron/astron-abbreviations.tex b/texmf/tex/latex/astron/astron-abbreviations.tex new file mode 100644 index 0000000000000000000000000000000000000000..a7c656a7985cc71305e2470f04b5832a2e6a8bdf --- /dev/null +++ b/texmf/tex/latex/astron/astron-abbreviations.tex @@ -0,0 +1,22 @@ +\newacronym{ALTA}{ALTA}{Apertif Long Term Archive} +\newacronym{AO}{A\&O}{Astronomy and Operations} +\newacronym{DUPLLO}{DUPLLO}{Digital Upgrade for Premier LOFAR Low-band Observing} +\newacronym{EOSC}{EOSC}{European Open Science Cloud} +\newacronym{ESFRI}{ESFRI}{European Strategy Forum on Research Infrastructures} +\newacronym{FuSE}{FuSE}{Fundamental Sciences E-infrastructure} +\newacronym{HBA}{HBA}{High-Band Antenna} +\newacronym{ICA}{ICA}{Internal Cooperation Agreement} +\newacronym{ILT}{ILT}{International LOFAR Telescope} +\newacronym{IS}{I\&S}{Innovation and Systems} +\newacronym{LBA}{LBA}{Low-Band Antenna} +\newacronym{LTA}{LTA}{Long Term Archive} +\newacronym{SBe}{SBe}{Smart Backend} +\newacronym{SDCO}{SDCO}{Science Data Centre Operations} +\newacronym{SDC}{SDC}{Science Data Centre} +\newacronym{SDF-PPE}{SDF-PPE}{Science Delivery Framework Production Pipeline Enhancement} +\newacronym{SDF}{SDF}{Science Delivery Framework} +\newacronym{SD}{SD}{Software Delivery} +\newacronym{SKARC}{SKARC}{Square Kilometre Array Regional Centre} +\newacronym{SKA}{SKA}{Square Kilometre Array} +\newacronym{TMSS}{TMSS}{Telescope Manager Specification System} +\newacronym{TO}{TO}{Telescope Operations} diff --git a/texmf/tex/latex/astron/astron.cls b/texmf/tex/latex/astron/astron.cls index 84f533eeb5af24b2cba90ce6fb3aebda506ed29d..9f90d046e112f729c9f415845a585a84a76d0082 100644 --- a/texmf/tex/latex/astron/astron.cls +++ b/texmf/tex/latex/astron/astron.cls @@ -17,6 +17,7 @@ \RequirePackage[absolute]{textpos} \RequirePackage{fancyhdr} \RequirePackage{geometry} +\RequirePackage[nonumberlist,nogroupskip]{glossaries} \RequirePackage{graphicx} \RequirePackage{lastpage} \RequirePackage{microtype}