You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

TexStudio无法输出LaTeX glossaries术语表问题求助

TeXStudio中glossaries术语表无法生成的问题

我在TeXStudio中的编译/构建设置存在问题,无法通过以下最小工作示例(MWE)输出glossaries术语表:

\documentclass{article}
\usepackage{glossaries}

\makeglossaries

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

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

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

\begin{document}
    
    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
    
    \printglossary[title=Special Terms, toctitle=List of terms]
    
\end{document}

注:原代码中usepackage{glossaries}缺少反斜杠,已修正为\usepackage{glossaries}

当前输出、TeXStudio命令设置与构建设置均见附图。我已查阅相关资料并尝试多种方案,但仍无法生成术语表。编译时收到makeindex相关运行消息,按建议安装Perl后,仍出现以下问题:

  • 报错:Unable to fork "makeindex" with redirection No such file or directory
  • 警告:File '.glo' is empty

恳请协助解决。


内容的提问来源于stack exchange,提问作者Justin Smith

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.11 04:42:37