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: <lilypond-user-bounces+andrew.bernard=gmail....@gnu.org
<mailto:lilypond-user-bounces+andrew.bernard=gmail....@gnu.org>> 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
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user