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)?
flatten-ly
Description: Binary data
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user