Urs Liska <u...@openlilylib.org> writes: > Hi, > > I've done a first implementation of an ID based property override, which > is sort of a complement to the edition-engraver. It's significantly less > complex than the edition-engraver, has some advantages over it, but also > significant limitations. > > If you want to have a closer look you may inspect the pull request at > https://github.com/openlilylib/edition-engraver/pull/14. > > What it *can* do is apply any property override that could be achieved > with \once \override or \tweak to grobs addressed by an ID. This means > it isn't necessary anymore to bother with finding out when and in which > context the item is. Simply add an ID to it and address it, and there > you go, completely robust against changes in context and timing. > > However, at least at the moment, it can only affect individual grobs' > properties, so it's not possible to insert switches like regular > \override's (only \once) or actual elements like breaks, markups or > marks etc.
If you use \override Grob.id then all grobs get the id until you revert. Wouldn't that have the desired effect? Of course, this takes away the possibility to use id for any other purpose or in multiple commands. So maybe id is not the best idea to use here. -- David Kastrup _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user