TaoCG <[email protected]> writes:

> Dear List,
>
> I'm having trouble using includes with lilypond-book.
> When I use \include in the snippet with an absolute path it works but when I
> try to include the path with the comand-line option I get an empty staff.
>
> e.g.
>
> \include "/home/user/lily/test.ly"
>
> works, whereas
>
> \include "test.ly"
>
> with
>
> --include=/home/user/lily/
>
> doesn't.
>
> And I don't get an error message, it's just an empty staff.
> If I change the \include to a non-existant file I do get an error message.

Check whether there is some "test.ly" within LilyPond's tree for you.
Maybe you left one there yourself at some point of time, and that is
getting earlier in the search path than your /home/user/lily/test.ly.

-- 
David Kastrup

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to