Urs Liska <u...@openlilylib.org> writes:

> Well, first of all I wouldn't have thought of it, so I felt very
> embarrassed at first. But actually the problem is that my function is
> kind of an adaptor. It includes a number of files (i.e. all from a
> directory that match a pattern), and each file defines the same
> variables (e.g. \music, \lyricText and \bcFigures). The function wants
> then to either rename them so they can independently be used in a score
> or rather store them in a tree where the function building the score
> will later fetch them from.
>
> So, within my function I have to iterate over the list of files, include
> them and process the variables that are defined within the files.

So build a string that includes the list of files and processes the
variables.

-- 
David Kastrup

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to