I'm using texmaker and trying to create a glossary from a glossary.tex file. but I'm getting the error:
Sorry, but makeglossaries did not succeed for the following reason: MiKTeX could not find the script engine 'perl.exe' which is required to execute 'makeglossaries'. Remedy: Make sure 'perl.exe' is installed on your system. The log file hopefully contains the information to get MiKTeX going again: C:\Programs\MiKTex\texmfs\data\miktex\log\makeglossaries.log For more information, visit: https://miktex.org/kb/fix-script-engine-not-found
I have followed the steps described in this question
I have installed perl in my computer through ActiveState, and I checked, because when I go to cmd and type perl --version is printed the msg:
This is perl 5, version 32, subversion 0 (v5.32.0) built for MSWin32-x64-multi-thread
The problem is that I can't find the folder like
C:\perl\bin)
I only have the folder from ActiveState which doesn't has this folder inside. So I add to the PATH the ActiveState folder (I don't know if this is the right solution)
I have restarted Texmaker, but still getting the same error.
This is my code for latex:
\usepackage{ae}
\usepackage{textcomp}
\usepackage[english]{babel}
\usepackage{lmodern}
\usepackage[
nonumberlist, %do not show page numbers
acronym, %generate acronym listing
toc, %show listings as entries in table of contents
section=section,automake] %use section level for toc entries
{glossaries}
\newglossary[slg]{symbolslist}{syi}{syg}{List of symbols}
\newcommand{\field}[1]{\protect\overrightarrow{#1}}
\makeglossaries
\loadglsentries{chapters/glossary.tex}
\begin{document}
\frontPage
\newpage
\thispagestyle{empty}
\newpage
\frontmatter
\input{chapters/abstract.tex}
\addcontentsline{toc}{section}{Abstract}
\newpage
\input{chapters/acknowlegments.tex}
\addcontentsline{toc}{section}{Acknowledgement}
\newpage
\tableofcontents
\newpage
\printglossary[style=altlist,title=Glossary] % Glossary%
\newpage
\printglossary[type=\acronymtype,style=long] % ACronyms %%
\newpage
\printglossary[type=symbolslist,style=long] % Symbols %%
\newpage
\listoffigures
\addcontentsline{toc}{section}{List of Figures}
\newpage
\listoftables
\addcontentsline{toc}{section}{List of Tables}
\newpage
\mainmatter
\input{chapters/introduzione.tex}
\input{chapters/capitolo01.tex}
\input{chapters/capitolo02.tex}
\input{chapters/capitolo03.tex}
\input{chapters/capitolo05.tex}
\input{chapters/capitolo06.tex}
\bibliography{biba}
\backmatter
\glsaddallunused
\end{document}
and the glossary.tex is:
% Symbols
\newglossaryentry{symb:mu}{
name=$\mu$,
description={Magnetic permeability},
sort=symbolmu, type=symbolslist
}
%Some acronyms
\newacronym{em}{EM}{Electromagnetic Methods}
This is the log file from miktex:
2021-08-06 13:29:00,055+0100 INFO makeglossaries - starting with command line: makeglossaries
2021-08-06 13:29:00,063+0100 FATAL makeglossaries - The script engine could not be found.
2021-08-06 13:29:00,063+0100 FATAL makeglossaries - Info: scriptEngine="perl.exe", scriptName="makeglossaries"
2021-08-06 13:29:00,063+0100 FATAL makeglossaries - Source: Libraries\MiKTeX\Core\Session\runperl.cpp
2021-08-06 13:29:00,063+0100 FATAL makeglossaries - Line: 83
2021-08-06 13:29:00,066+0100 ERROR makeglossaries - minor issue: It has been a long time since you have checked for MiKTeX updates.
2021-08-06 13:38:43,492+0100 INFO makeglossaries - starting with command line: makeglossaries
2021-08-06 13:38:43,495+0100 FATAL makeglossaries - The script engine could not be found.
2021-08-06 13:38:43,495+0100 FATAL makeglossaries - Info: scriptEngine="perl.exe", scriptName="makeglossaries"
2021-08-06 13:38:43,495+0100 FATAL makeglossaries - Source: Libraries\MiKTeX\Core\Session\runperl.cpp
2021-08-06 13:38:43,495+0100 FATAL makeglossaries - Line: 83
2021-08-06 13:38:43,500+0100 ERROR makeglossaries - minor issue: It has been a long time since you have checked for MiKTeX updates.
2021-08-06 13:49:12,566+0100 INFO makeglossaries - starting with command line: makeglossaries -d build
2021-08-06 13:49:12,569+0100 FATAL makeglossaries - The script engine could not be found.
2021-08-06 13:49:12,569+0100 FATAL makeglossaries - Info: scriptEngine="perl.exe", scriptName="makeglossaries"
2021-08-06 13:49:12,569+0100 FATAL makeglossaries - Source: Libraries\MiKTeX\Core\Session\runperl.cpp
2021-08-06 13:49:12,569+0100 FATAL makeglossaries - Line: 83
2021-08-06 13:49:12,570+0100 ERROR makeglossaries - minor issue: It has been a long time since you have checked for MiKTeX updates.
2021-08-06 14:00:51,043+0100 INFO makeglossaries - starting with command line: makeglossaries -d build
2021-08-06 14:00:51,046+0100 FATAL makeglossaries - The script engine could not be found.
2021-08-06 14:00:51,046+0100 FATAL makeglossaries - Info: scriptEngine="perl.exe", scriptName="makeglossaries"
2021-08-06 14:00:51,046+0100 FATAL makeglossaries - Source: Libraries\MiKTeX\Core\Session\runperl.cpp
2021-08-06 14:00:51,046+0100 FATAL makeglossaries - Line: 83
2021-08-06 14:00:51,048+0100 ERROR makeglossaries - minor issue: It has been a long time since you have checked for MiKTeX updates.