Am 24.08.2015 um 21:57 schrieb Blöchl Bernhard:
The attached file is a binary, not a lilypond file, regardless of the
extension .ly?
Have another look: it’s not flatten.ly, but flatten-ly – without any
file name extension.
It’s not a binary either, but plain text, and is used as a shell script,
as Andrew said in his explanation below.
HTH, Simon
Am 24.08.2015 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> 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
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user