So, I found a bug in gregoriotex: \gregoriomode doesn't work as advertised, even though it shows up in the gtex file. After some playing around, I discovered that I could fix this by moving it to appear before \greinitial in the gtex file (one line higher than it currently appears). I can get gregorio to do this automatically by moving the appropriate lines in gregoriotex-write.c (lines 176-179 need to move to between current lines 149 and 150).

However, when I do that \setfirstlineaboveinitial don't work because \gregoriomode uses that command to place the mode (i.e anything the user puts there manually gets overwritten by \gregoriomode).

So, my question is should I fix it? If I change it, any gabc file with the mode in the header will have said mode as the first annotation and nothing else. That's probably not what people are used to, but is what the functions, as written, are supposed to do.

The other alternatives are leave as is (in which case \gregorianmode is just an alternative to \setfirstlineaboveinitial with a specific use case in mind and lines 176-179 of gregoriotex-write.c are dead-weight) or somehow redesign \gregorianmode so that it has a lower priority than a user generated \setfirstlineaboveinitial.
--
✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝
Br. Samuel, OSB
(R. Padraic Springuel)

PAX ☧ ΧΡΙΣΤΟΣ

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

Répondre à