Paolo Prete <p4olo_pr...@yahoo.it> 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
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to