Can someone help me understand what's missing from this simply usages of
the glossaries package? The document doesn't print any glossary at all.
And the log file complains that test.acr and test.gls are missing.
I've investigated related issue \printglossary does not produce any content
but that does not seem to help.
Normally I'm using texi2dvi to compile my documents. If I need to run makeglossaries manually (or as part of the makefile) what's the model for using it.
\documentclass[11pt]{report}
\usepackage[acronym,numberedsection]{glossaries}
\makeglossaries
\newglossaryentry{xyzzy}
{
name=\ensuremath{\bigcup V},
description={Unary union operator}
}
\newacronym{gcd}{GCD}{Greatest Common Divisor}
\begin{document}
\gls{xyzzy}
\acrshort{gcd}
\appendix
\chapter{Test chapter}
\printglossary[type=\acronymtype,title={Custom acronyms title}]
\printglossary[title={Custom glossary title}]
\end{document}
Best Answer
Unless you modify the old
texi2dvi
script to take care ofmakeglossaries
, I don't think you can get away with it.With the new version of
arara
(version 4), you can simply add something at the top of your document and compile witharara
:Running
arara
the first time will showThe second time we get
which shows that the unnecessary runs of
makeglossaries
andpdflatex
are not performed.Alternatively, use
latexmk
: add a file namedlatexmkrc
to the working directory containing(courtesy of https://tex.stackexchange.com/a/44316/4427)
and run
latexmk -pdf jim
instead oftexi2dvi -p jim
(use the appropriate file name, of course).