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:54:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Urs Liska <address@hidden> writes:

> Am 29.06.2016 um 17:12 schrieb David Kastrup:
>> Johan Vromans <address@hidden> writes:
>>>
>>> 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.
>> 
>
> That's not what Johan is talking about. What he refers to is that the
> C #include syntax *looks* completely different from regular C/C++
> code, so nobody will mistake it for a regular function call or
> whatever.
>
> But \include *looks* like it's working the same as \shape.

Where do you want to go from there?

-- 
David Kastrup



reply via email to

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