Okay, so I've done some further research on this and it turns out that
having "\gre@tt" (for example) in the included score will create
problems (included scores are considered user-level files and thus "@"
is not a letter for use in command names within them).
There are two ways to solve this:
1) Any command which is intended for use inside the includes score
remains unchanged (doesn't get the "@" inserted).
2) The commands get changed (e.g. \grett becomes \gre@tt) and
gregoriotex-write.c is modified to add "\makeatletter" to the beginning
of the file and "\makeatother" is added to the end.
I'm inclined towards the first option, actually, and not because it
would be less work (I still have to check each and every command to see
if it's one which goes inside the included scores or not). I favor it
because it would clearly distinguish the three categories of commands:
1) the user-level commands which the user calls in their main document
files to manipulate the appearance of the score (or features thereof),
2) the user-level commands written by gregorio into the included score
but which the user should generally not be calling themselves, and 3)
the internal gregoriotex commands which should not be called outside of
the package files themselves.
Any thoughts and opinions on this before I commit to that decision?
✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝
Br. Samuel, OSB
(R. Padraic Springuel)
PAX ☧ ΧΡΙΣΤΟΣ
_______________________________________________
Gregorio-devel mailing list
[email protected]
https://mail.gna.org/listinfo/gregorio-devel