I was just noting that as a "gotcha" I found when converting my projects to use the new code.

I could wax philosophical about backwards compatibility and my own preferences in that regard, but it's not my place to do that. However, I think things like this need to be documented in some sort of upgrade guide for people who need a script to follow to get the code that was working yesterday to work today.

Also, if Gregorio seeks to follow semantic naming as the CHANGELOG.md would indicate, these recent change include many incompatible API changes that would indicate a major version bump (i.e., 3.0.0) is in order. To wit:

- The need to add a parameter to \includescore to get the old behavior (as opposed to the other way around)
- The additional required parameter for setting dimensions
- The change to the way project-specific spaces are set
- The need to put certain commands after \begin{document}

A big version bump like that would discourage people with active projects (and deadlines) to postpone an upgrade until they're ready for it, thus avoiding the frustration and stress of having to figure out how to fix their project at the 11th hour.

Regards,
Henry


On March 14, 2015 7:55:02 PM "Br. Samuel Springuel" <rpspring...@gmail.com> wrote:

On 2015-03-14 4:25 PM, Henry So Jr. wrote:
> I've also found that you cannot use the \setspacebeforeinitial,
> \setgrefactor, etc. macros until after \begin{document}.
>
> Prior to these changes you could make these settings in the preamble.

This is because I moved the loading of the default space configuration
to \AtBeginDocument to ensure that all the macros were defined properly
before we tried to use them.  It's not necessary that it be that late.
Using the begin document hook was just convenient.  I could move loading
of the default space configuration to the end of the loading of the
GregorioTeX package if that would be preferable.

✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝
Br. Samuel, OSB
(R. Padraic Springuel)

PAX ☧ ΧΡΙΣΤΟΣ




_______________________________________________
Gregorio-users mailing list
Gregorio-users@gna.org
https://mail.gna.org/listinfo/gregorio-users

Reply via email to