The behavior of the \includescore macro changed yesterday. When called,
it checks for a .gtex file, if none is found, it looks for a .gabc file
and compiles it into a .gtex. This is why lualatex needs to be run with
the --shell-escape flag.

I don't know why it is looking for a xxx.tex.gabc file. I just rechecked
the code and it gives me a xxx.gabc which is correct so it can complile
that .gabc.

Try calling \includescore without any file extension: \includescore{xxx}

For further reading, see the commit comment here: 
http://github.com/gregorio-project/gregorio/commit/7f79fa7f112288364b577e4c4a9c3aa585556ea4

-Br. Elijah Schwab, O.Carm

On Feb 28, 2015 15:35, Bernard Marsh wrote:
> I think I've missed a trick along the line somewhere...
> 
> Having built the latest gregorio/gregoriotex versions from the git repository 
> master, when I run the LuaLaTex command from within TeXworks on a previously 
> working main.tex with an \includescore it fails with an error about not 
> finding a .gtex file and a suggestion to try 'lualatex --shell-escape 
> main.tex'. (In fact I have already generated a .tex file from the .gabc 
> score, but no .gtex file.)
> 
> Then if I run 'lualatex --shell-escape main.tex' from a command line a .gtex 
> file is generated from the .gabc, and then after that the TeXworks LuaLaTex 
> command successfully produces a .pdf output from the main.tex.
> 
> I suspect that somewhere in the code (perhaps in a .lua script) this 
> --shell-escape option needs to be specified. 
> 
> I am compiling the gabc to tex with the plain gregorio command; I am not 
> using the gregorio.engine script. But I don't think this is the problem. The 
> problem appears to be that the LuaLaTex run needs somehow to be forced into 
> the shell-escape mode. 
> 
> Another (related?) problem is that, with \includescore{XXX.tex}, I see in the 
> log:
> ! LuaTeX error 
> ...ocal/tex/UbuntuTexDir/luatex/gregoriotex/gregoriotex.lua:206: 
> Module gregoriotex error: The file XXX.tex.gabc does not exist.
> 
> I think this failure to compile has only appeared in the past few days.
> 
> Many thanks for any clues,
> 
> Fr Bernard Marsh
> 
> _______________________________________________
> Gregorio-users mailing list
> [email protected]
> https://mail.gna.org/listinfo/gregorio-users

_______________________________________________
Gregorio-users mailing list
[email protected]
https://mail.gna.org/listinfo/gregorio-users

Reply via email to