Quoting "[email protected]" <[email protected]>:
You can use Scheme engravers. I use them for exactly this sorta thing.
input/regression/scheme-engraver.ly in the source code for LilyPond
(you can google this file to find it on a few servers).
Thank you for your reply! Frankly, I don't understand a thing in that
file. I guess I need to learn Scheme for real rather than rely on the
bits in Lilypond documentation.
But it's good to know of a place where I can look for ideas. I didn't
want to delve inside Lilypond sources, as I only wanted to rely on
documented interfaces. The test suite may lie somewhere in between,
so maybe I'll find some ideas there.
Speaking of my problem, it looks like I need to find the grob for the
pianostaff. The pianostaff context doesn't seem to have information
about the actual layout of the staves in a particular place.
--
Regards,
Pavel Roskin
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user