我尝试定义一个示例来显示首字母缩略词列表。但在编译步骤之后,文档仅显示文本,而没有首字母缩略词列表。
\documentclass{article}
% Load the package
\usepackage{glossaries}
% Generate the glossary
\makeglossaries
\begin{document}
%Term definitions
\newglossaryentry{utc}{name=UTC, description={Coordinated Universal Time}}
\newglossaryentry{adt}{name=ADT, description={Atlantic Daylight Time}}
\newglossaryentry{est}{name=EST, description={Eastern Standard Time}}
% Use the terms
\gls{utc} is 3 hours behind \gls{adt} and 10 hours ahead of \gls{est}.
%Print the glossary
\printglossaries
\end{document}
哪里有问题?