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 :
lilypond-book --include=lilypond --output=out --pdf lilybook.lytex
lilypond/chapeau-mr-belzebuth/chapeau-mr-belzebuth.ly:1:9: error: cannot
find file: `../config.inc.ly'
(search path:
`1d:/usr/share/lilypond/2.16.1/fonts/svg/:/usr/share/lilypond/2.16.1/fonts/type1/:/usr/share/lilypond/2.16.1/fonts/otf/:/usr/share/lilypond/2.16.1/scm:/usr/share/lilypond/2.16.1/ps:/usr/share/lilypond/2.16.1/ly:.:..:lilypond')
The only way to make it work is to change all the include to an absolute
path (\include "/home/aureliano/bez/lilypond/config.inc.ly"), which is not
a solution (not maintanable).