Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Astropy glossary #9

Merged
merged 2 commits into from

3 participants

@wkerzendorf

Added a simple glossary to the paper. This will keep track of first usage and put the citation on first use (or footnote or other things). Currently only Scipy and Numpy are added as a sort of example

@eteq
Owner

Seems fine to me. @astrofrog - does this seem good to you, too?

@astrofrog astrofrog merged commit b879590 into astropy:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 9 additions and 1 deletion.
  1. +5 −1 astropy.tex
  2. +4 −0 glossary.tex
View
6 astropy.tex
@@ -3,12 +3,16 @@
\usepackage{xspace}
\usepackage{natbib}
\usepackage{url}
+\usepackage[xindy, toc, hyperfirst=false, nolist, nostyles, sanitize={name=false,description=false,symbol=false}]{glossaries}
\bibpunct{(}{)}{;}{a}{}{,}
\newcommand{\astropy}{\texttt{astropy}\xspace}
\begin{document}
+% Reading the glossary
+\input{glossary.tex}
+
\titlerunning{Astropy}
\authorrunning{The Astropy Collaboration}
@@ -224,7 +228,7 @@ \section{Introduction}
coordinate efforts to develop a common Python library. The aim of this library
was to cover much of the astronomy-specific functionality needed by
researchers, complementing more general standard scientific packages such as
-NumPy \citep{oliphant2006guide,van2011numpy} and SciPy \citep{jones2001scipy},
+\gls{numpy} and \gls{scipy} ,
which are invaluable for numerical array-based calculations, and more general
scientific algorithms (e.g. interpolation, integration, clustering, etc.)
respectively. To date, over 130 people are signed up to the
View
4 glossary.tex
@@ -0,0 +1,4 @@
+% Glossary for the Astropy papers
+
+\newglossaryentry{numpy}{name=NumPy, text=\textsc{NumPy}, description=Numerical Python, first=\textsc{NumPy} \citep{oliphant2006guide,van2011numpy}}
+\newglossaryentry{scipy}{name=SciPy, text=\textsc{Scipy}, description={Scientific Python \cite{Jones:2001fk}}, first=\textsc{Scipy} \citep{jones2001scipy}}
Something went wrong with that request. Please try again.