Am 12.12.2013 20:47, schrieb Noeck:
Hi,

I can include a file within an included file. But I would like
main.ly: \include "folder/first.ly"
first.ly: \inlcude "second.ly"
but second.ly is in the same folder as first.ly

Is there a way to do that? Or do I always have to specify the path
(relative to the lilypond include path)?

Did you try that? Isn't what you want default behaviour?

But if not simply write
#(ly:set-option 'relative-includes #t)

before the \include statement in "first.ly"
This is described in http://www.lilypond.org/doc/v2.17/Documentation/notation/including-lilypond-files

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

Reply via email to