I am trying to create a latex file with multiple glossaries. After several attempts at debugging it appears that the problem is something to do with TeXShop on the mac. Specifically I have tried code below (which was gotten from https://texblog.org/2014/04/01/multiple-glossaries-in-latex/). When I compile it in Overleaf everything seems to work fine. However when I compile it on my local TexShop (v 4.66 on Mac) using either pdflatexmk or lualatexmk only the main glossary appears.
\documentclass{article}
\usepackage{glossaries}
%Alternative glossary for top-level domains
\newglossary[tlg]{domain}{tld}{tdn}{Top-Level Domains}
% Generate glossaries
\makeglossaries
\begin{document}
\section{Top-level domains}
%Term definitions
\newglossaryentry{gls:tld}{name=TLD, description={List of top-level domains}}
\newglossaryentry{tld:com}{type=domain, name=.com, description={Commercial entities}}
\newglossaryentry{tld:net}{type=domain, name=.net, description={Network infrastructure}}
\newglossaryentry{tld:org}{type=domain, name=.org, description={Public interest registry}}
% Use the terms
Top-level domains (\gls{gls:tld}) include \gls{tld:com}, \gls{tld:net}, and \gls{tld:org}.
% Print the glossaries
\printglossary[type=domain]
\printglossary
\end{document}
Any idea why this is happening or how to fix it?
name={.com}? This way the dot should be recognized as part of the name if I am not mistaken. For further investigation the exact error message could be helpful! – Lukas Jul 20 '21 at 05:06