Hi Peter,

> adding *0 to s[0-9]+ is easy. To add the \partial command, it is necessary to 
> figure out the current time signature from the context, to find the start of 
> the measure and to figure out the length of the partial bar, which is not 
> easy. One has to write a lilypond parser for that.

No... if you have

  s4 s4 s4. c8 |

you could easily have your script figure out the length of the measure, without 
a "Lilypond parser".
Of course, I'm assuming you use barline checks, like the docs recommend -- 
otherwise, you may definitely be unable to use this solution.

Cheers,
Kieren.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to