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

Add abbreviations to example

parent 0c63d30c
Branches u/swinbank/abbreviations
No related tags found
1 merge request!4Add abbreviations
example.aux example.aux
example.glo
example.ist
example.log example.log
example.out example.out
example.pdf example.pdf
......
DOCNAME=example
export TEXMFHOME ?= ../texmf export TEXMFHOME ?= ../texmf
GITVERSION := $(shell git log -1 --date=short --pretty=%h) GITVERSION := $(shell git log -1 --date=short --pretty=%h)
...@@ -7,9 +8,10 @@ ifneq "$(GITSTATUS)" "" ...@@ -7,9 +8,10 @@ ifneq "$(GITSTATUS)" ""
GITDIRTY = -dirty GITDIRTY = -dirty
endif endif
example.pdf: example.tex meta.tex $(DOCNAME).pdf: $(DOCNAME).tex meta.tex
xelatex example xelatex $(DOCNAME)
xelatex example makeglossaries $(DOCNAME)
xelatex $(DOCNAME)
.FORCE: .FORCE:
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
\setDocChangeRecord{ \setDocChangeRecord{
\addChangeRecord{1.0}{2020-11-15}{Initial release} \addChangeRecord{1.0}{2020-11-15}{Initial release}
\addChangeRecord{2.0}{2020-11-18}{Add list of abbreviations}
} }
\setDocAuthors{ \setDocAuthors{
...@@ -30,9 +31,20 @@ ...@@ -30,9 +31,20 @@
\addPerson{A person}{An institute}{A date} \addPerson{A person}{An institute}{A date}
} }
\input{astron-abbreviations}
\makeglossaries
\begin{document} \begin{document}
\maketitle \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. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Quisque bibendum metus tortor, sit amet lobortis mi semper et. Quisque bibendum metus tortor, sit amet lobortis mi semper et.
Aenean in leo at nisi scelerisque feugiat. Aenean in leo at nisi scelerisque feugiat.
...@@ -42,7 +54,6 @@ Proin aliquam ante nec sem ullamcorper sollicitudin. ...@@ -42,7 +54,6 @@ Proin aliquam ante nec sem ullamcorper sollicitudin.
Ut accumsan efficitur ante, eget laoreet nisl pellentesque quis. Ut accumsan efficitur ante, eget laoreet nisl pellentesque quis.
Nunc ac ornare sem. Nunc ac ornare sem.
\section{First section}
Sed enim libero, mattis nec ex vel, consectetur auctor magna. Sed enim libero, mattis nec ex vel, consectetur auctor magna.
Integer venenatis blandit mi quis auctor. Integer venenatis blandit mi quis auctor.
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
\RequirePackage[absolute]{textpos} \RequirePackage[absolute]{textpos}
\RequirePackage{fancyhdr} \RequirePackage{fancyhdr}
\RequirePackage{geometry} \RequirePackage{geometry}
\RequirePackage[nonumberlist,nogroupskip]{glossaries}
\RequirePackage{graphicx} \RequirePackage{graphicx}
\RequirePackage{lastpage} \RequirePackage{lastpage}
\RequirePackage{microtype} \RequirePackage{microtype}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment