词汇表包不起作用

词汇表包不起作用

我试图在书的末尾制作一个词汇表。但是,词汇表包显然不起作用。下面给出了一个最小示例:

   \documentclass[a4paper,12pt,twoside,openany]{book}
   \usepackage{tocbibind}
   \usepackage[T1]{fontenc}
   \usepackage[latin9]{inputenc}
   \usepackage[english]{babel}
   \usepackage{geometry}
   \geometry{verbose,tmargin=3cm,bmargin=3cm,lmargin=3cm,rmargin=3cm}
   \usepackage[toc,page]{appendix}
   \usepackage[xindy]{glossaries} 
   \input{glossary}
   \makeglossaries
   \usepackage{acro}
   \begin{document}
   \author{Ahmed Arif}
   \title{Thesis Title}
   \date{December 2016}
   \renewcommand*\contentsname{Table of Contents}

   \frontmatter
   \maketitle
   \tableofcontents
   \listoftables
   \listoffigures
   \printacronyms[name= List of Acronyms,sort=true,heading=chapter*]
   \mainmatter
   \chapter{Introduction}
    This is introduction chapter.
    \appendix
         \appendixpage
         \noappendicestocpagenum
         \addappheadtotoc
         \chapter{An Appendix}
    \printglossaries
    \end{document}

词汇表条目如下:

   \newglossaryentry{abs}{%
name={Asset-Backed Securities},%
description={These are the securities backed by assets.}}

但是文档末尾没有任何内容。请帮助纠正此问题。

相关内容