首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >无法在latex中显示带有\printglossary的词汇表

无法在latex中显示带有\printglossary的词汇表
EN

Stack Overflow用户
提问于 2021-04-03 04:21:50
回答 1查看 1.3K关注 0票数 1

我得到了一个Latex项目作为模板,我决定在上面添加一个词汇表,然而,\printglossary不起作用。我可以添加和使用不同的条目,所以我想词汇表的创建不是问题。

我使用的是Overleaf,如果我尝试一个全新的项目,只有词汇表(代码如下),\printglossary就可以正常工作。

代码语言:javascript
运行
复制
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[acronym, toc]{glossaries}

\makeglossaries
\input{Bibliocosas/glossary.tex}

\begin{document}

\tableofcontents

\section{First Section}

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.


\clearpage

\section{Second Section}

\vspace{5mm}

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}.


\clearpage

\printglossary

\clearpage

\printglossary[type=\acronymtype]

\end{document}

我在给定的项目中使用章节和章节,这是问题的原因吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2021-04-03 04:30:00

使用\makenoidxglossaries\printnoidxglossaries似乎可以解决这个问题。

我以为我已经试过了,但我想我错了。然而,我仍然不知道为什么前面的代码在给定的项目中不起作用。

票数 4
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/66924808

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档