lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scheme-function to provide value for \include


From: David Kastrup
Subject: Re: scheme-function to provide value for \include
Date: Wed, 29 Jun 2016 17:12:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Johan Vromans <address@hidden> writes:

> On Tue, 28 Jun 2016 11:05:59 +0200
> David Kastrup <address@hidden> wrote:
>
>> Basically you are expecting something akin to the #include of the C
>> preprocessor to accept calls of functions defined in C for specifying
>> the file to include.
>
> Except that in C #include is significantly different from the rest of
> the C syntax. #-lines are all different and independent of C-lines and
> syntax.

The same with LilyPond.  You can put \include in the midst of any
LilyPond construct without bothering about nesting.  Try

a.ly:

\score { a_\include "b.ily" } }

b.ily:

3^\markup { hi

This is not the mark of a construct working in a syntactical context.

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]