John Allsup <[email protected]> writes: > Hi, > > Is there any way to iteratively generate multiple files within Lilypond > (so that I could have a function that > generates 10 separate pages). > > I can do a > #(define output-suffix (string-append "A" (number->string num))) > \book { > \header { > title = #(string-append "Exercise A" (number->string num)) > } > \score { > \notesa > \layout { > } > } > } > #(define output-suffix (string-append "B" (number->string num))) > \book { > \header { > title = #(string-append "Exercise B" (number->string num)) > } > \score { > \notesb > \layout { > } > } > } > > thing in a lilypond script, which generates files. What I'd like is a > way to generate e.g. 10 or 11 files with the value determined by > changing the number 10 or 11 within the script.
I can't make head nor tail from your description and example code. -- David Kastrup _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
