Am 22. September 2015 07:31:12 MESZ, schrieb Mike Solomon <m...@mikesolomon.org>: >Hey all, > >I’m developing a score where I’m including a lot of smaller .ily files >into a bigger one and I often want to compile these .ily files by >themselves. Currently, I’m following the pattern of creating a new .ly >file for the individual compilation, but that results in jostling >between files and sometimes I get lost in the workflow. Is there a >pattern à la python equivalent to something like. > >%% foo.ily > >foo = \relative c’ { > a4 b c d >} > >if __name__ == ‘__main__’ > \new Staff \foo > >Cheers, >MS
Maybe this can give you a start? https://git.openlilylib.org/bfsc/das-trunkne-lied/blob/master/library/ly/makescore/compile-segment.ily Best Urs >_______________________________________________ >lilypond-user mailing list >lilypond-user@gnu.org >https://lists.gnu.org/mailman/listinfo/lilypond-user -- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user