词汇表列表不显示

词汇表列表不显示

我的代码中包含如下所示的词汇表列表,但词汇表列表未显示。请帮忙。这是我的 LaTeX 代码。

\documentclass{article}
\usepackage{glossaries}  
\usepackage{xcolor}
\renewcommand*{\glstextformat}[1]{\textcolor{red}{#1}}
\makeglossary
% abbreviations:
\newglossaryentry{nmhs}{name={NMHSs},description={National Meteorological and Hydrological Services}}
\newglossaryentry{wmo}{name={WMO},description={World Meteorological Organization}}
\newglossaryentry{imo}{name={IMO},description={International Meteorological Organization}}
\newglossaryentry{hdd}{name={HDD},description={Heating Degree Day}}
\newglossaryentry{cdd}{name={CDD},description={Cooling Degree Day}}
\newglossaryentry{gts}{name={GTS},description={Global Telecommunication System}}
% --------------------------------------------------------------------
\begin{document}
\printglossary

According to \gls{wmo} and its predecessor \gls{imo} all \gls{nmhs} should produce lists of \gls{hdd} and \gls{cdd} all transmitted to \gls{gts}            
\end{document}

相关内容