词汇表无法打印(有多个文件)(Overleaf)

词汇表无法打印(有多个文件)(Overleaf)

按照 latex 提供的基本示例:Overleaf 词汇表示例,我能够成功构建一个可打印的词汇表。

但是,我的问题是,当我有多个文件时,词汇表不会打印出来。我将在下面演示这一点:

总体结构:

文件目录

论文.tex(编译文件)

\documentclass{report}
\usepackage[utf8]{inputenc}
\usepackage[acronym]{glossaries}

\makeglossaries

\newglossaryentry{latex}
{
        name=latex,
        description={Is a mark up language specially suited for 
scientific documents}
}

\newglossaryentry{maths}
{
        name=mathematics,
        description={Mathematics is what mathematicians do}
}

\newglossaryentry{formula}
{
        name=formula,
        description={A mathematical expression}
}

\newacronym{gcd}{GCD}{Greatest Common Divisor}

\newacronym{lcm}{LCM}{Least Common Multiple}

\begin{document}
\clearpage

\printglossary[type=\acronymtype]

\printglossary

\input{Chapters/Introduction}
\end{document}

引言.tex

\chapter{Introduction}
The \Gls{latex} typesetting markup language is specially suitable 
for documents that include \gls{maths}. \Glspl{formula} are 
rendered properly an easily once one gets used to the commands.

Given a set of numbers, there are elementary methods to compute 
its \acrlong{gcd}, which is abbreviated \acrshort{gcd}. This 
process is similar to that used for the \acrfull{lcm}.

简介会打印出来,但是缩写词列表不会打印出来。它只是一张空白页。

相关内容