I am trying to use GregorioTex in texworks to write Gregorian chant, but every time I try to compile my tex file, the following error is thrown:
(...l/Programs/MiKTeX/tex/luatex/gregoriotex/gregoriotex.lua:159: attempt t o index a nil value (local 'tmp_gabcfile') stack traceback: ...l/Programs/MiKTeX/tex/luatex/gregoriotex/gregoriotex.lua:159: in upvalue 'g regorio_exe' ...l/Programs/MiKTeX/tex/luatex/gregoriotex/gregoriotex.lua:1117: in upvalue ' compile_gabc' ...l/Programs/MiKTeX/tex/luatex/gregoriotex/gregoriotex.lua:1290: in field 'in clude_score' [\directlua]:1: in main chunk. \gre@gregorioscore ...allowdeprecated@asboolean )} \or \gre@debugmsg {compile...
l.19 \gregorioscore{kyrie-17}
?
My tex file is written below:
% !TEX program = LuaLaTeX+se \documentclass[12pt]{article} \usepackage[margin=1in]{geometry} \usepackage{fullpage} \usepackage[autocompile]{gregoriotex} \grechangestyle{commentary}{\small\bfseries} \gresetmodenumbersystem{roman-majuscule} \begin{document} \begin{center} \Huge{Kyrie XVII} \end{center} \gresetheadercapture{date}{grecommentary}{} \gregorioscore{kyrie-17} \end{document} kyrie-17.gabc is a text file (saved as a .gabc) copied from the Gregorio Tutorial as follows:
name:Kyrie XVII; mode: 6; date: XIV\textsuperscript{o} s.; %% (c4)KY(f)ri(gfg)e(h.) *() e(ixjvIH'GhvF'E)lé(ghg')i(g)son.(f.) <i>bis</i>(::) Chri(ixj)ste(jv.hijv.) e(ixjvIH'GhvF'E)lé(ghg')i(g)son.(f.) <i>bis</i>(::) Ký(f)ri(hj)e(ixjjkij.) (z) e(ixjvIH'GhvF'E)lé(ghg')i(g)son.(f.) (::) Ký(f)ri(hj)e(ixjjkij.) *(,) (ixf!hjjkij.) **(,) (z) e(ixjvIH'GhvF'E)lé(ghg')i(g)son.(f.) (::) Update: After the exchange of comments between me and C. Peters, C. Peters suggested I tag MiKTeX in case the issue is higher up the system than just in TeXworks. My .gabc file is in the same folder as the .tex file, but it seems that when I try to compile the tex file, no .gaux file is produced nor is a tmp-gre folder with a .glog and .gtex file produced. I'm uncertain why these aren't automatically being produced, but I suspect that this has something to do with the issue. I updated everything I could after checking for updates on the MiKTeX Console. Thank you to anyone who helps out with this.