I'm havin trouble printing my glossary and acronym directory with the glossaries
package. It produces an empty page where I call \makeglossaries
. I suspect biber, babel or my build directory might be interfering with it.
My main.tex
looks something like this:
\documentclass{report}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english,ngerman]{babel}
\usepackage{biblatex}
\usepackage[xindy]{glossaries}
\setacronymstyle{long-short}
\shorthandoff{"}
\makeglossaries
\addbibresource{head/bibliography.bib}
\loadglsentries{head/glossary}
\begin{document}
...40 pages of actual content about \gls{acr:ipd} and
\gls{BIM} and even more \gls{acr:ipd}...
\printglossaries
\printbibliography
\end{document}
With glossary.tex
in the directory head
:
\newglossaryentry{BIM}{name={Building Information Modeling},description={3D and shit. \lipsum}}
\newacronym{acr:ipd}{IPD}{Integrated Project Delivery}
Packages that I'm pretty sure are irelevant are omitted for brevity.
I have configured TexStudio to run the following sequence:
pdflatex.exe -src -synctex=1 -interaction=nonstopmode -aux-directory=build main.tex
makeglossaries.exe -d build main
biber.exe --input_directory build --output_directory build main
pdflatex.exe -src -synctex=1 -interaction=nonstopmode -aux-directory=build main.tex
pdflatex.exe -src -synctex=1 -interaction=nonstopmode -aux-directory=build main.tex
The problem appears to be that makeglossaries doesn't actually do anything. All it logs is
makeglossaries version 4.41 (2018-07-23)
Changed to 'build'
No files are changed when I run makeglossaries manually. I have manually added the Perl directory to ENV; it is reachable from my working directory. I have tried swiching to xindy and back according to the documentation, but to no avail. I have switched the order of biber and makeglossaries. I deleted the build
directory after every attempt.
What is going wrong?
Update: I have confirmed that makeglossaries does in fact do nothing. Running the MWE in a separate directory yielded the desired results and much more verbose console output from makeglossaries.
makeglossaries
with-n
? Do you have makeindex and/or xindy available?-n
has no effect. Whether I use Xindy or not has no effect.main
without effect I have ruled out the path as source of the issue. It's probably some other package but I didn't have the patience to figure out which one.