So... I'm having an issue with TexWorks with my glossary. It seems as if my file is not compiling..
I'm using this code in my preamble:
\usepackage[acronym, nonumberlist, style=super]{glossaries}
\newcommand{\capitalizefirst}[1]{\xmakefirstuc{#1}}
\renewcommand{\glsnamefont}[1]{\textbf{#1}}
and then within the document:
\printglossary[type=\acronymtype]
My acronyms are defined as (file not compiling):
\newacronym[description={\capitalizefirst{low frequency}}]{LF}{LF}{low frequency}
\newacronym[description={\capitalizefirst{high frequency}}]{HF}{HF}{high frequency}
Then within each chapter I just call \gls{}. But Texworks it's telling me the acronyms are not defined.. Anybody knows what's going on?
General ⇒ Glossary entry error
Re: Glossary entry error
So I added to the preamble \makeglossaries
\usepackage[acronym, nonumberlist, style=super]{glossaries}
\newcommand{\capitalizefirst}[1]{\xmakefirstuc{#1}}
\renewcommand{\glsnamefont}[1]{\textbf{#1}}
\makeglossaries
and then to the main document:
\input{acronyms.tex}
\printglossary[type=\acronymtype]
Right now, TeXworks does not complain about \gls{} but it's also not printing the acronyms...
\usepackage[acronym, nonumberlist, style=super]{glossaries}
\newcommand{\capitalizefirst}[1]{\xmakefirstuc{#1}}
\renewcommand{\glsnamefont}[1]{\textbf{#1}}
\makeglossaries
and then to the main document:
\input{acronyms.tex}
\printglossary[type=\acronymtype]
Right now, TeXworks does not complain about \gls{} but it's also not printing the acronyms...
Re: Glossary entry error
Went to comand prompt and did this:
pdflatex myDoc
makeglossaries myDoc
pdflatex myDoc
pdflatex myDoc
after moving \input{acronyms.tex} to my preamble. The glossary is now working, but the references are missing. In which order should I cmd everything?
pdflatex myDoc
makeglossaries myDoc
pdflatex myDoc
pdflatex myDoc
after moving \input{acronyms.tex} to my preamble. The glossary is now working, but the references are missing. In which order should I cmd everything?
Re: Glossary entry error
Right, so I tried running it from TeXworks and everything is fine now.
I also tried to cmd everything and this order works for me:
pdfLatex main
makeglossaries main
bibtex main
pdflatex main
pdflatex main
I also tried to cmd everything and this order works for me:
pdfLatex main
makeglossaries main
bibtex main
pdflatex main
pdflatex main
Last edited by marbocam on Fri Jan 17, 2025 5:09 pm, edited 1 time in total.
- Stefan Kottwitz
- Site Admin
- Posts: 10281
- Joined: Mon Mar 10, 2008 9:44 pm