尽管索引、首字母缩略词和缩写部分可以工作,但词汇表不起作用。

尽管索引、首字母缩略词和缩写部分可以工作,但词汇表不起作用。

首字母缩略词和缩写词列表出现在以下文档的末尾。索引也出现在末尾。到目前为止一切顺利……直到词汇表没有弹出。

我不明白为什么它仍然是隐形的。

欢迎任何帮助。谢谢。

% PREAMBLE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass[a4paper,oneside,centered]{book}
\special{papersize=210mm,297mm}
\usepackage[top=3cm, bottom=3.2cm, left=2.5cm, right=2.5cm]{geometry}

\usepackage[english]{babel}
\usepackage{newpxtext} % Font for document instead of obsolete Palatino
\usepackage{tocloft} % Customization of TOC LOF LOT
\usepackage[table,xcdraw]{xcolor} % For shading in tables
\usepackage{pdfcolmk}
\usepackage{multirow}
\usepackage{textcomp}
\usepackage{ltablex}
\usepackage{nicefrac} % to write fractions
\usepackage{attrib} % For source of quotations
\usepackage{lettrine} % For NewThought formatting
\usepackage{array} % To define width of columns in long table
\usepackage{booktabs} % Nicer spacing in columns
\usepackage{siunitx} % To write Celsius, etc.
\usepackage{enumitem} % To create item lists
\usepackage{caption} % To change way captions are labelled
\usepackage{scrextend}
\usepackage{threeparttable} % For table notes + To allow footnote material to stay with the tabular environment
\usepackage{etoolbox} % To make table footnote font smaller
\usepackage{threeparttablex}
\appto\TPTnoteSettings{\footnotesize}

% Creating Index
\usepackage{imakeidx}
\makeindex

\usepackage{blindtext}
%\usepackage{showframe}

\usepackage{hyperref} % Hyperlinks

\usepackage[toc,acronym,automake]{glossaries}
\makeglossaries

%%%%%TEST_ZONE%%%%%%

\newacronym{as}{A.S.}{All Salt}
\newacronym{oal}{OAL}{Omni Apple Legend}
\newacronym{ept}{EPT}{Emile Pot Trauma}

%%%%%TEST_ZONE%%%%%%

%Table of Content depth
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{5}
\setlength{\parindent}{15pt}

%Hyperlinks for TOC
\makeatletter
\hypersetup{
    colorlinks,
    citecolor=blue,
    filecolor=blue,
    linkcolor=blue,
    urlcolor=blue
}

\begin{document}
\frontmatter
\mainmatter

\chapter{The Story}
\section{Data}

\gls{as} and \gls{oal} are terms used in the \gls{ept}.

Plants.\index{Plants}
Star.\index{star}
Mu.\index{Mu}
Sinis.\index{Sinis}
Ball.\index{Ball}

\chapter{Languages}
\section{Pronunciation}
\section{Scripts}

\backmatter

\printglossary[type=\acronymtype,title=Abbreviations]
\printindex

\end{document}

相关内容