I would definitely favor writing this in Lua rather than bash so that
Windows users can use it too. Having ghost installations of GregorioTeX
is bound to be a cross-platform problem.
I also favor having it be separate from install-gtex.sh. Not everyone
is going to have these legacy installations to worry about and since the
script would be inherently destructive, those who don't have a problem
shouldn't be running it.
As is, the log output from LuaLaTeX indicates the location of the
GregorioTeX files on the disk. Some packages also get the log to
include version information, so I think would be possible and worth
while. However, I'm not sure it would be beneficial to have the TeX
package itself try to diagnose (let alone solve) it's own installation
problems. We already have consistency checks between the various parts
of GregorioTeX which means that if there's a problem, it's because two
(or more) complete installations exist.
✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝
Br. Samuel, OSB
(R. Padraic Springuel)
PAX ☧ ΧΡΙΣΤΟΣ
_______________________________________________
Gregorio-users mailing list
[email protected]
https://mail.gna.org/listinfo/gregorio-users