I have a problem with makeglossaries after installing MikTex on my windows10 machine. pdflatex and biber work perfectly fine, yet when calling makeglossaries it fails with the following error message:
$makeglossaries Main
makeglossaries version 4.36 (2018-03-07)
added glossary type 'main' (glg,gls,glo)
xindy -L english -C duden-utf8 -I xindy -M "Main" -t "Main.glg" -o "Main.gls" " Main.glo"
/d/local/thesis/C:/Program Files/MiKTeX2.9/scripts/xindy/../../xindy /modules: No such file or directory at C:\Program Files\MiKTeX2.9\scripts\xindy\ xindy.pl line 402.
***Call to xindy failed***
Check 'Main.glg' for details
I checked out wolfie's Answer but find that this was already implemented in the xindy script.
The error seems to be that the path is concatenated in the $real_cmd variable in the script on line 372.
Any ideas on how to fix this?
Here is a striped down version of my latex setup:
Main.tex:
\documentclass[
11pt,
english,
a4paper,
DIV=11,
listof=numbered,
]{scrreprt}
% -------------------------------------------------------------------------
\setlength{\parskip}{0.75em}
\usepackage{geometry}
\geometry{bindingoffset=0.5cm,hmarginratio=3:4, bottom=4.5cm}
\widowpenalty10000
\clubpenalty10000
%---- PACKAGES ----
%\usepackage{hyperref}
\usepackage[hidelinks]{hyperref}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage{lmodern}
\usepackage{pdfpages}
\pdfminorversion=7
\usepackage{graphicx}
\usepackage{tabularx}
\usepackage{hhline}
\renewcommand\arraystretch{1.1}
\makeatletter
\newcommand{\thickhline}{
\noalign {\ifnum 0=`}\fi \hrule height 1pt
\futurelet \reserved@a \@xhline
}
\makeatother
\def\hyph{-\penalty0\hskip0pt\relax}
\usepackage{xcolor}
\definecolor{bostonuniversityred}{rgb}{0.8, 0.0, 0.0}
% This is the interesting part I guess -------------------------------
\usepackage[section=section,numberedsection=autolabel,toc,nonumberlist,xindy]{glossaries}
\GlsSetXdyCodePage{duden-utf8}
\makeglossaries
\input{glossary.tex}
% -----------------------------------------------------------------
\usepackage[chapter]{minted}
\usepackage{scrhack}
\usepackage{listings}
\renewcommand{\listingscaption}{Code Snippets}
\renewcommand{\listoflistingscaption}{List of Code Snippet}
\usepackage[german=quotes]{csquotes}
\MakeOuterQuote{"}
%---- BIBLIOGRAPHY ---
\usepackage[block=ragged,backend=biber,bibstyle=ieee]{biblatex}
\addbibresource{Bibliography.bib}
\makeatletter
\def\blx@maxline{77}
\makeatother
\begin{document}
\gls{someEntry}
\gls{someEntry2}
\newpage
\printglossary[title=Glossary]
\end{document}
glossary.tex:
\newglossaryentry{someEntry}{
name={Some Entry},
description={Some Description}
}
\newglossaryentry{someEntry2}{
name={Some Entry 2},
description={Some Description 2}
}
In the resulting pdf File the name is visible, so it read the glossary file correctly, but was not able to print it due to the makeglossaries command failing.
makeglossaries -x "C:/Program Files/MiKTeX2.9/scripts/xindy" Main(replaceC:/Program Files/MiKTeX2.9/scripts/xindywith the appropriate path) – Nicola Talbot Mar 13 '18 at 22:13makeglossaries-lite Maininstead? – Nicola Talbot Mar 13 '18 at 23:08makeglossaries-liteis not recognized.. – CyrillC Mar 14 '18 at 10:01makeglossaries-lite.lua. It should be located in the same directory asmakeglossaries.exe. Alternatively you can fetch it from CTAN. – Nicola Talbot Mar 14 '18 at 13:44makeglossaries -n Main? – Nicola Talbot Mar 14 '18 at 13:45makeglossaries -n Mainis
– CyrillC Mar 22 '18 at 21:31makeglossaries version 4.36 (2018-03-07)added glossary type 'main' (glg,gls,glo)xindy -L english -C duden-utf8 -I xindy -M "Main" -t"Main.glg" -o "Main.gls" "Main.glo"-nswitch just displays the version and shows how it would invokexindy/makeindexwithout actually doing anything. I just wanted to check if there was a problem with the way thatmakeglossariesis invokingxindy. From your comment it seems to be invokingxindycorrectly, in which case the problem is withxindy. – Nicola Talbot Mar 22 '18 at 22:30