So, I've been working with a new user to get the engines up and running for him and came across an unexpected problem that wasn't related to the engines:

In his preamble he had:

\usepackage{gregoriotex}
\usepackage{luatextra}

This caused problems. In particular \ifgreluatex wasn't recognized as a properly defined control sequence. Reverse the order of the package inclusion and things work fine. That tells me that one of two things is happening:

1) gregoriotex is dependent on luatextra and if it finds it hasn't been loaded can't define \ifgreluatex properly.

2) gregoriotex and luatextra conflict with each other when it comes to defining some functions which somehow leads to \ifgreluatex being undefined.

My gut says its more likely the first than the second, given the error I (and the new user) were seeing (and the fact that I can imagine the path that leads to the error in that case but not the other). This can easily be resolved by placing \RequiresPackage{luatextra} into gregoriotex near the beginning of the file. In this fashion it will be automatic that luatextra will be opened before gregoriotex begins defining functions.

Opinions?  Am I missing anything?
--
✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝
Br. Samuel
(R. Padraic Springuel)

PAX ☧ ΧΡΙΣΤΟΣ

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

Répondre à