General ⇒ Glossary entry error
Glossary entry error
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?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: Glossary entry error
\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
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
I also tried to cmd everything and this order works for me:
pdfLatex main
makeglossaries main
bibtex main
pdflatex main
pdflatex main
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm