Skip to content
Snippets Groups Projects
Commit 4a487bee authored by John Swinbank's avatar John Swinbank
Browse files

Add abbreviations to example

parent 0c63d30c
No related branches found
No related tags found
1 merge request!4Add abbreviations
example.aux
example.glo
example.ist
example.log
example.out
example.pdf
......
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:
......
......@@ -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.
......
......@@ -17,6 +17,7 @@
\RequirePackage[absolute]{textpos}
\RequirePackage{fancyhdr}
\RequirePackage{geometry}
\RequirePackage[nonumberlist,nogroupskip]{glossaries}
\RequirePackage{graphicx}
\RequirePackage{lastpage}
\RequirePackage{microtype}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment