openlilylib/snippets — pull request #20 by uliska (2013-12-02 17:59:05+00:00)
Title: Initial stub for an \annotate function

In its current form the function simply offers a signature and colors an affected grob magenta.

The idea behind it is to annotate music directly in the music input file.
One will be able to enter a set of different preset annotation types and also arbitrary ones. The presets should have some predefined behaviour while the arbitrary ones just get output, leaving it to the user to make use of them.

The idea is to (optionally)

- write messsages to the command line
- write entries to an external file (like latex's toc files)
- highlight (color) grobs
- (maybe) print annotations on top of the score (once it will be able to "print" to layers.

Please comment on the signature, add possible use cases, ideas for recognized options.