lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lilypond-book include *.ly, cannot find file


From: Cognac Natanael
Subject: Re: lilypond-book include *.ly, cannot find file
Date: Tue, 8 Jan 2013 17:50:38 +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).


2013/1/8 Olivier Biot <address@hidden>

On Jan 8, 2013 4:13 PM, "Cognac Natanael" <address@hidden> wrote:
>
> Hello Everybody,
>
> I’m using :
> \include "../config.inc.ly"
> in the beginning of all my lilypond scores, and :
> \include "../new.score.ly"
> at the end.
>
> It works smoothly with lilypond.
>
> But now, I’m trying to make a book with lilypond-book & latex and include the scores into it, and I've got this message when I run :
>

(snip)

> Does anyone have an idea to solve this ?
>
> Thank you very much for your time !

You must explicitly specify all folders containing LilyPond files that will be included from within your sources, with their absolute path. There is a command line option for this, if the directory contains spaces, use quotes for specifying the directory.

Best regards,

Olivier



reply via email to

[Prev in Thread] Current Thread [Next in Thread]