I'm writing a large document and I have several glossary entries and one thing that worries me is my potential to miss a glossary entry. An example would be:
Glossary entries:
\usepackage[acronym]{glossaries}
\newacronym{UI}{UI}{user interface}
\newglossaryentry{HTML}
{
name={HTML},
description={Hyper Text Markup Language is the standard tagging library to help generate web pages from text files}
}
\makeglossaries
And then in my text I might put:
Blah blah blah blah blah UI blah blah blah \gls{UI} blah blah blah.
Blah blah blah blah blah HTML blah blah blah \gls{HTML} blah blah blah.
I've correctly referenced the glossary entry the 2nd time, but forgotten to do it the first, what a muppet. At the moment, I would never be warned of this "mistake" and would have to manually check my document for other such errors. Is there any package available that could do that check for me?
Full MWE
I've added in the package hyperref to show the first time the text used isn't being considered a glossary entry. It also doesn't appear as a page number in the said glossary:
\documentclass[a4paper]{report}
\usepackage[bookmarks=true]{hyperref}
\usepackage[acronym]{glossaries}
\newacronym{UI}{UI}{user interface}
\newglossaryentry{HTML}
{
name={HTML},
description={Hyper Text Markup Language is the standard tagging library to help generate web pages from text files}
}
\makeglossaries
\begin{document}
Blah UI blah
\pagebreak
blah \gls{UI} blah HTML blah
\pagebreak
blah \gls{HTML} blah
\printglossaries
\end{document}
