Paolo Prete <> writes:

> The trivial example you provided doesn't use local Scheme variables
> inside the Lilypond code block of the "ritpp" function.

It is not prohibited reading the accompanying text.  Let me quote the
relevant part again:

> Let me quote from the documentation (Extending LilyPond Guide):
> 2.1 LilyPond code blocks
> ========================


> Scheme
> expressions embedded in the LilyPond code are evaluated in the lexical
> environment of the LilyPond code block, so all local variables and
> function parameters available at the point the LilyPond code block is
> written may be accessed.

You even quoted this yourself.

David Kastrup

lilypond-user mailing list

Reply via email to