The warnings are coming from the hyperlinks that are being created to targets that are not created. So put this in the preamble:
\glsdisablehyper
You still get these warnings.
Package glossaries Warning: \makeglossaries hasn't been used,
the glossaries will not be updated.
Package glossaries Warning: No \printglossary or \printglossaries
found. This document will not have a glossary.
So just silence them with this option:
\usepackage[nowarn]{glossaries}
I think that covers it!
You need to use \makenoidxglossaries
and \printnoidxglossary
instead of \makeglossaries
and \printglossary
if you want different sorting rules. The noidx
variant uses TeX to sort and collate rather than using makeindex
or xindy
. It would've helped to have had a minimal working example (MWE) to illustrate the type of entries you have. The following example uses dummy entries provided in the test files example-glossaries-brief.tex
and example-glossaries-symbols.tex
which should be installed with glossaries.sty
:
\documentclass{memoir}
\usepackage[symbols]{glossaries}
\usepackage{glossary-mcols}
\makenoidxglossaries
\loadglsentries{example-glossaries-brief}
\loadglsentries[symbols]{example-glossaries-symbols}
\begin{document}
\glsaddall
\printnoidxglossary[sort=word,style=mcolindexgroup]
\printnoidxglossary[type=symbols,sort=def,style=index]
\end{document}
The main glossary is sorted according to word order:
![image of glossary sample](https://i.stack.imgur.com/QrD7T.png)
The symbols glossary is unsorted, although it looks sorted in this example simply because the sample entries were defined in that order. Another option is sort=use
which orders the entries according to the first use in the document. There are many different predefined glossary styles to choose from.
Note that the noidx
method is very inefficient at sorting alphabetically and is only designed for ASCII. The glossaries-extra
extension package allows a mix and match approach so that makeindex
/xindy
may be used for the alphabetical sorting and \printnoidxglossary
can be used for order of definition or order of use. (With sort=def
or sort=use
, \printnoidxglossary
simply iterates through an internal list, which means no actual sorting is performed).
Adjusted example:
\documentclass{memoir}
\usepackage[symbols]{glossaries-extra}
\usepackage{glossary-mcols}
\makeglossaries[main]
\loadglsentries{example-glossaries-brief}
\loadglsentries[symbols]{example-glossaries-symbols}
\begin{document}
\glsaddall
\printglossary[style=mcolindexgroup]
\printnoidxglossary[type=symbols,sort=def,style=index]
\end{document}
If you use makeglossaries
, it will detect that makeindex
is only required for the main
glossary.
Best Answer
I suspect the package option
sort=use
will do what you're after, i.e. write\usepackage[sort=use]{glossaries}
. From the manual: