|
From: | Joseph Chrestien |
Subject: | Re: include all files in a folder |
Date: | Mon, 29 Aug 2016 05:53:49 +0000 |
Hi,
I'm not sure at all, but you might want to try to create a scheme function calling the #scandir scheme function.
Otherwise, a rather unLilyPondic solution: call a Python or bash line from within lilypond using scheme function syscall :
That would include something like this :
#(define mycall '"\include $(ls *.ly)" > allIncludes.ly')
pyMx=#(define-music-function (parser location)()(system mycall);; or: (system* mycall ) #{ #})
Then \include allIncludes in your lily file.
Good luck,
Jo
Craig Dabelstein
|
[Prev in Thread] | Current Thread | [Next in Thread] |