Port from glossary package to glossaries
parent
956a899bda
commit
b50eee1f07
|
@ -11,16 +11,13 @@
|
|||
|
||||
\section{Overview of Analysis}
|
||||
\label{sec:overview-analysis}
|
||||
Analyze data with applications, such as AstroImageJ.
|
||||
\glossary{AstroImageJ}{Application for astronomy and satellite image analysis.}
|
||||
\glossary{FITS}{Flexible Image Transport System is an open standard defining a digital file format useful for storage, transmission and processing of data: formatted as multi-dimensional arrays (for example a 2D image), or tables. FITS is the most commonly used digital file format in astronomy. The FITS standard was designed specifically for astronomical data, and includes provisions such as describing photometric and spatial calibration information, together with image origin metadata.}
|
||||
% No footnotes in glossary?
|
||||
% \footnote{\scriptsize{\url{https://en.wikipedia.org/w/index.php?title=FITS&oldid=1091431488}}}
|
||||
\index{analysis}\index{AstroImageJ}\index{FITS}
|
||||
AstroImageJ can read FITS format files.
|
||||
Analyze data with applications, such as \gls{AstroImageJ}.
|
||||
|
||||
\gls{AstroImageJ} can read \gls{FITS} format files.
|
||||
See
|
||||
\ref{fig:astroimagej}, page \pageref{fig:astroimagej},
|
||||
for a screenshot displaying a FITS file generated by
|
||||
for a screenshot displaying a \gls{FITS} file generated by
|
||||
\texttt{stvid}.
|
||||
\index{stvid}
|
||||
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
\newglossaryentry{AstroImageJ}
|
||||
{ name={AstroImageJ},
|
||||
description={Application for astronomy and satellite image analysis}}
|
||||
|
||||
\newglossaryentry{FITS}
|
||||
{ name={FITS},
|
||||
description={Flexible Image Transport System is an open standard defining a digital file format useful for storage, transmission and processing of data: formatted as multi-dimensional arrays (for example a 2D image), or tables. FITS is the most commonly used digital file format in astronomy. The FITS standard was designed specifically for astronomical data, and includes provisions such as describing photometric and spatial calibration information, together with image origin metadata}}
|
||||
%\footnote{\scriptsize{\url{https://en.wikipedia.org/w/index.php?title=FITS&oldid=1091431488}}}
|
||||
|
||||
\newglossaryentry{artificial satellite}
|
||||
{ name={artificial satellite},
|
||||
description={Satellite launched by teh hoomans}}
|
||||
|
|
@ -7,7 +7,6 @@ all:
|
|||
-interaction=nonstopmode \
|
||||
-no-pdf \
|
||||
SNOUG.tex
|
||||
makeindex -s SNOUG.gst -o SNOUG.gls SNOUG.glo
|
||||
makeindex -s SNOUG.ist SNOUG.idx
|
||||
xelatex \
|
||||
-halt-on-error \
|
||||
|
|
|
@ -1,16 +1,31 @@
|
|||
%
|
||||
% SNOUG.ist
|
||||
% makindex index style file
|
||||
%
|
||||
% SatNOGS Optical Unofficial Guide
|
||||
%
|
||||
% Copyright (C) 2022, Jeff Moe
|
||||
%
|
||||
% This document is licensed under the Creative Commons Attribution 4.0
|
||||
% International Public License (CC BY-SA 4.0) by Jeff Moe.
|
||||
%
|
||||
|
||||
heading_prefix "{\\normalsize \\bfseries\\hfil\\ "
|
||||
heading_suffix " \\ \\hfil}\\nopagebreak\n"
|
||||
headings_flag 1
|
||||
|
||||
% makeindex style file created by the glossaries package
|
||||
% for document 'SNOUG' on 2022-8-27
|
||||
actual '?'
|
||||
encap '|'
|
||||
level '!'
|
||||
quote '"'
|
||||
keyword "\\glossaryentry"
|
||||
preamble "\\glossarysection[\\glossarytoctitle]{\\glossarytitle}\\glossarypreamble\n\\begin{theglossary}\\glossaryheader\n"
|
||||
postamble "\%\n\\end{theglossary}\\glossarypostamble\n"
|
||||
group_skip "\\glsgroupskip\n"
|
||||
item_0 "\%\n"
|
||||
item_1 "\%\n"
|
||||
item_2 "\%\n"
|
||||
item_01 "\%\n"
|
||||
item_x1 "\\relax \\glsresetentrylist\n"
|
||||
item_12 "\%\n"
|
||||
item_x2 "\\relax \\glsresetentrylist\n"
|
||||
delim_0 "\{\\glossaryentrynumbers\{\\relax "
|
||||
delim_1 "\{\\glossaryentrynumbers\{\\relax "
|
||||
delim_2 "\{\\glossaryentrynumbers\{\\relax "
|
||||
delim_t "\}\}"
|
||||
delim_n "\\delimN "
|
||||
delim_r "\\delimR "
|
||||
headings_flag 1
|
||||
heading_prefix "\\glsgroupheading\{"
|
||||
heading_suffix "\}\\relax \\glsresetentrylist "
|
||||
symhead_positive "glssymbols"
|
||||
numhead_positive "glsnumbers"
|
||||
page_compositor "."
|
||||
suffix_2p ""
|
||||
suffix_3p ""
|
||||
|
|
|
@ -15,11 +15,6 @@
|
|||
% International Public License (CC BY-SA 4.0) by Jeff Moe.
|
||||
%
|
||||
|
||||
%%% XXX NOTE
|
||||
%%% Glossaries and indices are broken:
|
||||
%%% https://sharelatex.tenderapp.com/help/discussions/questions/19378-glossaries-indices-and-speed
|
||||
%%% XXX NOTE
|
||||
|
||||
% LaTeX Docs:
|
||||
% http://en.wikibooks.org/wiki/Category:LaTeX
|
||||
|
||||
|
@ -64,8 +59,6 @@ leftmargin=1cm,rightmargin=1cm
|
|||
%\usepackage{url} % /usr/share/doc/texlive-doc/latex/url/url.pdf % Use hyperref.
|
||||
\graphicspath{{./figures/}}
|
||||
|
||||
\makeindex
|
||||
\makeglossary
|
||||
|
||||
\usepackage{xcolor}
|
||||
|
||||
|
@ -127,6 +120,7 @@ leftmargin=1cm,rightmargin=1cm
|
|||
\usepackage{smartdiagram}
|
||||
\usesmartdiagramlibrary{additions}
|
||||
|
||||
|
||||
%%% SNOUG PAGE STYLE %%%
|
||||
\makepagestyle{jebbastyle}
|
||||
\pagestyle{jebbastyle}
|
||||
|
@ -183,6 +177,18 @@ leftmargin=1cm,rightmargin=1cm
|
|||
\definecolor{jebba-darker-blue}{cmyk}{0.84 0.76 0.00 0.70}
|
||||
%%% END COLORS %%%
|
||||
|
||||
%%% INDEX %%%
|
||||
\makeindex
|
||||
%%% END INDEX %%%
|
||||
|
||||
%%% GLOSSARY %%%
|
||||
%\usepackage{glossaries}
|
||||
\usepackage[nogroupskip]{glossaries}
|
||||
\loadglsentries{Glossary.tex}
|
||||
\makenoidxglossaries
|
||||
%\makeglossaries
|
||||
%%% END GLOSSARY %%%
|
||||
|
||||
%%% DEBUG %%%
|
||||
%\showoutput
|
||||
%\typeoutlayout
|
||||
|
@ -301,12 +307,14 @@ leftmargin=1cm,rightmargin=1cm
|
|||
%%% END INDEX %%%
|
||||
|
||||
%%% GLOSSARY %%%
|
||||
\renewcommand{\memgloterm}[1]{\fontspec{lmsans10-bold.otf}{#1}}
|
||||
\renewcommand{\memglodesc}[1]{\fontspec{lmroman12-italic.otf}{#1}}
|
||||
\renewcommand{\memglonum}[1]{}
|
||||
%\renewcommand{\memgloterm}[1]{\fontspec{lmsans10-bold.otf}{#1}}
|
||||
%\renewcommand{\memglodesc}[1]{\fontspec{lmroman12-italic.otf}{#1}}
|
||||
%\renewcommand{\memglonum}[1]{}
|
||||
|
||||
\clearpage
|
||||
\printglossary
|
||||
%\printglossary
|
||||
%\printunsrtglossaries
|
||||
\printnoidxglossaries
|
||||
%%% END GLOSSARY %%%
|
||||
|
||||
%%% COLOPHON %%%
|
||||
|
|
|
@ -13,5 +13,5 @@
|
|||
\label{sec:overview-satellites}
|
||||
\index{satellites}
|
||||
|
||||
Artificial satellites are rocks with modems.
|
||||
\glossary{Artificial satellite}{Satellite launched by teh hoomans.}
|
||||
\gls{artificial satellite} are rocks with modems.
|
||||
|
||||
|
|
Loading…
Reference in New Issue