diff --git a/src/Analysis.tex b/src/Analysis.tex index 09fa448..1193210 100644 --- a/src/Analysis.tex +++ b/src/Analysis.tex @@ -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} diff --git a/src/Glossary.tex b/src/Glossary.tex new file mode 100644 index 0000000..7d7136d --- /dev/null +++ b/src/Glossary.tex @@ -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}} + diff --git a/src/Makefile b/src/Makefile index dc90146..2628713 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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 \ diff --git a/src/SNOUG.ist b/src/SNOUG.ist index 754bee1..95ed329 100644 --- a/src/SNOUG.ist +++ b/src/SNOUG.ist @@ -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 "" diff --git a/src/SNOUG.tex b/src/SNOUG.tex index 94e1853..7fb21cb 100644 --- a/src/SNOUG.tex +++ b/src/SNOUG.tex @@ -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 %%% diff --git a/src/Satellites.tex b/src/Satellites.tex index bb52a4a..7100012 100644 --- a/src/Satellites.tex +++ b/src/Satellites.tex @@ -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. +