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: Simon Albrecht
Subject: Re: Way to flatten nested \include's?
Date: Mon, 24 Aug 2015 21:41:25 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0

Hi Andrew,

many thanks for your work.
I just tried the script and can’t avoid getting an error about lacking rights. My command was:
$flatten-ly 18-der-stuermische-morgen.ly > debug.ly
sudo doesn’t help and it’s regardless of whether I place the script in /usr/bin/ or in ~/.
Can you tell why that is?

Yours, Simon

Am 24.08.2015 um 03:23 schrieb Andrew Bernard:
Greetings Javier.

Here is a program I wrote for you, flatten-ly to read a lilypond file and output it recursively flattening all the nested includes. It’s a shell script invoking guile.

Usage: flatten-ly file

Outputs to standard output.

Unashamedly Linux.

I’ll make it more robust, and add a couple of features, add a lilypond style wrapper and if there is any interest add it to openlilylib perhaps?

Andrew



From: <address@hidden> on behalf of Javier Ruiz-Alma
Reply-To: Javier Ruiz-Alma
Date: Sunday, 23 August 2015 07:20
To: LilyPond User Group
Subject: Way to flatten nested \include's?

Is there a way to ask lilypond to expands nested \include's and dump into new file, such I can review/compile a flattened version of the code (i.e. for debugging)?



_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user


reply via email to

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