![我的 latex 文档需要更长的时间来编译,冻结了一段时间,但随后继续编译并花费更长的时间](https://linux22.com/image/344490/%E6%88%91%E7%9A%84%20latex%20%E6%96%87%E6%A1%A3%E9%9C%80%E8%A6%81%E6%9B%B4%E9%95%BF%E7%9A%84%E6%97%B6%E9%97%B4%E6%9D%A5%E7%BC%96%E8%AF%91%EF%BC%8C%E5%86%BB%E7%BB%93%E4%BA%86%E4%B8%80%E6%AE%B5%E6%97%B6%E9%97%B4%EF%BC%8C%E4%BD%86%E9%9A%8F%E5%90%8E%E7%BB%A7%E7%BB%AD%E7%BC%96%E8%AF%91%E5%B9%B6%E8%8A%B1%E8%B4%B9%E6%9B%B4%E9%95%BF%E7%9A%84%E6%97%B6%E9%97%B4.png)
我对 latex 还不太熟悉,我使用的是 ubuntu 14.04。我的文档运行得很好,但我认为在我添加词汇表后,我遇到了这个问题。如果能得到帮助,我将不胜感激。以下是 main.tex 文件
\documentclass[12pt]{article}
\usepackage{lipsum}
\usepackage[a4paper,margin=0.9in,includefoot]{geometry}
\usepackage{setspace}
\usepackage{abstract}
\usepackage{tabularx}
\usepackage{multicol}
%================ package for clickable reference%=========
\usepackage[hidelinks]{hyperref}
%============= Package of Accroyns============
\usepackage[nomain,acronym,xindy]{glossaries}
\usepackage[acronym]{glossaries}
\makeglossaries
\usepackage[xindy]{imakeidx}
\makeindex
\input{glossary}
%===================table packages=============%
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{hhline}
\usepackage{array}
\usepackage{longtable}
%======================Math package========================%
\usepackage{amssymb,amsmath}
%= Package for bullents indents spacing and sping betwen bullets ==
\usepackage{enumitem}
\usepackage{amssymb}% http://ctan.org/pkg/amssymb
\usepackage{pifont}% http://ctan.org/pkg/pifont
\newcommand{\cmark}{\ding{51}}%
\newcommand{\xmark}{\ding{55}}%
%================= BIBLIOGRAPHY AND REFRENCES PACKGES %
\usepackage[]{natbib}
%==============Header and footer stuff============%
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyfoot{}
\fancyhead[RO,LE]{\thepage}
\fancyhead[LO]{\slshape\nouppercase{\leftmark}}
\fancyfoot[re]{\slshape\nouppercase{\rightmark}}
%============Sub and SUperscript package==================
\usepackage{fixltx2e}
%==================== GRAPHICS PREAMBLE %====================
\usepackage{graphicx}
\usepackage{float}
\graphicspath{ {images/} }
%==========Todonotes package============
\usepackage[disable]{todonotes}
\newcommand{\ToDoMG}[1]{\todo[inline,size=\small]{MG: #1}}
\usepackage{longtable}
% Hyphenation
\hyphenation{phe-ro-mo-ne}
\newcommand{\comp}[1]{\texttt{#1}}
\renewcommand*{\glossaryname}{Acronyms}
%***************************************************
% Document
%---------------------------------------------------
\begin{document}
\end{document}
答案1
你用
\usepackage[xindy]{imakeidx}
这意味着 LaTeX 将运行xindy
以对词汇表进行排序乳胶化时。这就是您注意到的延迟。