I have an up-to-date MikTex installation with a newly-installed glossaries-extra. The MWE prints what I would expect, but MikTex crashes with little information in its log files. This is a serious problem in the actual system as the crash happens before the much larger PDF is shipped out, leaving me with nothing. If anyone knows how to fix the MWE crash this will probably carry over into the actual system. The code is based on glossaries automake not working lualatex but this question is not a duplicate.
MWE:
\documentclass{article}
\usepackage{shellesc}
\usepackage[acronym, nomain, automake=immediate]{glossaries-extra}
\setabbreviationstyle[acronym]{long-short}
\usepackage[HTML, hyperref, x11names]{xcolor}
\NewDocumentCommand\son{}{EnV}%
\NewDocumentCommand\sondesc{}{Le système est en vigueur [Ang : System On].}%
\newglossaryentry{son}{name={\son}, sort={SystèmeOn}, description={\sondesc}, first={{{\textcolor{Firebrick1}\son} (\sondesc)}}}%
\makeglossaries
\begin{document}
On utilize les sigles \gls{son} quand ...
\printglossary
\end{document}
The MikTex crash report is:
"Output written on mwe.pdf (1 page, 11221 bytes).
SyncTeX written on mwe.synctex.gz.
Transcript written on mwe.log.
Sorry, but texify did not succeed.
The log file hopefully contains the information to get MiKTeX going again:
C:\Users\XXXXX\AppData\Local\MiKTeX\miktex\log\texify.log"
The MWE.log ends normally:
"\openout3 = mwe.ist
{C:/Users/XXXXX/AppData/Local/MiKTeX/fonts/map/pdftex/pdftex.map}] (./mwe.aux))
Here is how much of LuaTeX's memory you used:" etc, etc.
Ditto for the MiKTeX-PDFTEX log:
"2022-11-01 INFO miktex-pdftex - this is MiKTeX-PDFTEX 4.11.0 (1.40.24) (MiKTeX 22.10)
2022-11-01 INFO miktex-pdftex - allowing known shell commands
2022-11-01 INFO miktex-pdftex - UTF8 BOM detected: mwe.tex
2022-11-01 INFO miktex-pdftex - executing restricted write18 shell command: makeindex "-s" "mwe.ist" "-t" "mwe.alg" "-o" "mwe.acr" "mwe.acn"
2022-11-01 INFO miktex-pdftex.core - start process: C:\WINDOWS\system32\cmd.exe /c "makeindex "-s" "mwe.ist" "-t" "mwe.alg" "-o" "mwe.acr" "mwe.acn""
2022-11-01 INFO miktex-pdftex - write18 exit code: 0
2022-11-01 INFO miktex-pdftex - this process (29180) finishes with exit code 0"
The luahblatex.log ends with warnings:
"2022-11-01 INFO luahblatex.core - start process: C:\WINDOWS\system32\cmd.exe /c "makeindex "-s" "mwe.ist" "-t" "mwe.alg" "-o" "mwe.acr" "mwe.acn""
2022-11-01 INFO luahblatex - this process (5220) finishes with exit code 0
2022-11-01 WARN luahblatex.core - still open: C:\Users\XXXXX\AppData\Local\MiKTeX\miktex/data/le/luahbtex\luahblatex.fmt
2022-11-01 WARN luahblatex.core - still open: mwe.pdf"
And the texify.log ends with fatal errors (which I'm not sure how to interpret)
"2022-11-01 INFO texify.core - start process: luahblatex --synctex=1 C:/Bridge\mwe.tex
2022-11-01 FATAL texify - The input file could not be found.
2022-11-01 FATAL texify - The input file could not be found.
2022-11-01 FATAL texify - Info:
2022-11-01 FATAL texify - Source:
2022-11-01 FATAL texify - Line: 0"
texify --engine=luatex test-utf8.tex. The important part was the.texat the end, without it it failed. – Ulrike Fischer Nov 01 '22 at 08:58Sorry, but C:\Miktex\miktex\bin\x64\miktex-luahbtex.exe did not succeed." Which I don't understand at all.
– DLyons Nov 01 '22 at 09:36lualatex mwe. – Ulrike Fischer Nov 01 '22 at 09:51lualatex mweand thenmakeglossaries mweand thenlualatex mweagain. – Ulrike Fischer Nov 03 '22 at 09:39