[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Local scheme variables used inside a Lilypond code block
From: |
David Kastrup |
Subject: |
Re: Local scheme variables used inside a Lilypond code block |
Date: |
Thu, 22 Feb 2018 13:15:29 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Paolo Prete <address@hidden> 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