If you are wondering, I am aware of List of glossaries not displaying and VS Code - Latex Workshop - custom recipes file location. Unfortunately, neither solves my problem.
I am using the LaTeX Workshop extension of VS Code (on my Mac if that matters) and am trying to make a glossary from the glossaries
package show up. Everything from said package except the glossary at the bottom of the document appears to be working. I believe, based on my reading on GitHub, that the problem is that the makeglossaries
script is not being run when I compile my .tex
file. Unfortunately, that GitHub link is more than a little above my head (actually I have next to no idea what it is saying), and could use some help implementing its solution (or would appreciate a different solution, if there is a better one).
By clicking on the Settings gear on the LaTeX Workshop extension, I have managed to open settings.json
, which currently contains the following miscellaneous settings, which I guess I must have set at some point.
{
"latex-workshop.view.pdf.viewer": "tab",
"window.zoomLevel": 1,
"cSpell.userWords": [
"parameterizations",
"parameterizes"
],
"editor.snippetSuggestions": "top",
"editor.largeFileOptimizations": false
}
If you're curious about my current .tex file that is failing, it is the first MWE from the Overleaf Glossaries page, pasted below for convenience.
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{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}
}
\title{How to create a glossary}
\author{ }
\date{ }
\begin{document}
\maketitle
The \Gls{latex} typesetting markup language is specially suitable
for documents that include \gls{maths}.
\clearpage
\printglossaries
\end{document}
I'm guessing that the things that I've listed may be helpful, but if I can provide anything else, please leave a comment letting me know! By the way, I managed to get the glossary to show up once by pasting something into settings.json
, so I know its possible, but I'm not sure what that piece of code was, and I have not been able to replicate the result.
Thanks in advance!