mark damerell <markdamer...@googlemail.com> writes:

> I was trying to write a template for printing music for handbells.
> What I want is: Conductor gets a full score. Each handbell ringer
> gets a part with the handbell music in a piano staff, and his or
> her notes highlighted in colours. My current problem is shown by
> this file:
>
>
> BEGIN
> \version "2.18.2"
>
> #(define (shout)
>   (display "hello"))
>
> upper = \relative c' {
>     c4 d e f  }
>
> \score {
>   \new Staff  \upper
>   \layout { }}
>
> #(shout)
>
> END
>
> This produces the expected  .pdf  file. But the shout occurs **before** the
> \score is processed. The output reads (in part)
>
> Processing `b.ly'
> Parsing...hello
> Interpreting music...
>
> and I need it to occur after the \score . Please any advice? I tried
> putting the  #(shout)  inside the  \score { }  but that gives a
> syntax error.

Your example is not seemingly related to what you want.  Can you come up
with something more likely to match the problem?

-- 
David Kastrup

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to