I have been googling around for a way to put together a glossary in latex, and I am having no luck. Perhaps someone could point me in the right direction.
I have a file called report.tex. I would like it to have a glossary, so I made the file report.gls, which contains, for example:
Code: Select all
\newglossaryentry{beamwaist}{name={beamwaist}, description={the width of the laser beam at the focus}}
Code: Select all
\usepackage{glossaries}
\makeglossaries
Code: Select all
\gls{beamwaist}
Code: Select all
\printglossary
Code: Select all
! Package glossaries Error: Glossary entry `beamwaist' has not been defined.
Code: Select all
./report.tex:0:No file report.gls
If I just make an empty file called report.gls and define all my glossary entries in the preample, I get no errors, but no glossary is printed (not that I would expect this to fix it, I was just trying things at random at that point)
Can someone point out my error? I am relatively new to latex so I am sure it is something obvious...