lilypond-user
[Top][All Lists]
Advanced

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

Re: Way to flatten nested \include's?


From: Marc Hohl
Subject: Re: Way to flatten nested \include's?
Date: Tue, 25 Aug 2015 11:12:08 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0

Am 25.08.2015 um 10:11 schrieb David Kastrup:
Andrew Bernard <address@hidden> writes:

<address@hidden on behalf of address@hidden> wrote:

If all else fails, the lilypond binary itself can serve as a GUILE
interpreter.

That was the general idea. I posted some instructions about how to add
the utility to a lilypond installation for people but in a new
thread. It was actually one of the main reasons I did it in Scheme -
there would be a guaranteed known execution environment installed if
the user is using lilypond to begin with.

It's not just that.  It's also that the lilypond executable is pretty
sure to know the search paths of LilyPond.  You cannot really get them
reliably without calling LilyPond, and if you do that anyway, why not
use its interpreter?

This would be a great idea!

The flatten-ly procedure would come in handy to solve the problem of
lilypond-book and lyluatex that changes in nested include files do not
cause the lilypond sourecs to be rendered again.

If the md5 sum is calculated of a flattened ly file instead of the
original ly file, *every* change is visible.

So +1 for making flatten-ly a lilypond executable!


Marc



reply via email to

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