|
From: | Olivier Biot |
Subject: | Re: lilypond-book include *.ly, cannot find file |
Date: | Tue, 8 Jan 2013 18:07:13 +0100 |
Thank you very much for your answer Olivier,
There is no spaces or fancy character in my directories or files names.
And I think I’ve tried l’option that you've mentionned, and I tried with the option you’ve mentionned :
lilypond-book --include=my-lilypond-repertory/
But after some new tests, I found something that works.
This si how is the directory I’m working in :
lilypond/
config.ly
score.ly
tuneA/
tuneA.ly
tuneB/
tuneB.ly
At the beginning and the end of tuneA.ly and tuneB.ly, I have those instructions :
\include "../config.ly"
\include "../score.ly"
So in order to make lilypond-book work with those includes, I have to specify each directory of tune !!! (I’ve got more than twenty and it should grow !) and thus, it works :
lilypond-book
--include=/home/user/project/lilypond/tuneA/
--include=/home/user/project/lilypond/tuneB/
--include=/home/user/project/lilypond/tuneC/
--include=/home/user/project/lilypond/tuneD/
etc… for each tune, it’s really cumbersome …
I’m sure I read somewhere (I didn’t find it back) that lilypond-book will look recursively into the reportory pointed out with --include. But apparantly it’s not the case.
Any lighter solution than the one I found ?
Thanks again for your help.
P.S: I forgot to mention my version : 2.16.1 (and I work with archlinux).
[Prev in Thread] | Current Thread | [Next in Thread] |