On 08/01/2013 4:28 AM, Cognac Natanael 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 :
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).
You might want to try using relative-includes, either by activating this
option in your lilypond files:
http://www.lilypond.org/doc/v2.16/Documentation/notation/including-lilypond-files
or activating this option from the command line:
http://www.lilypond.org/doc/v2.16/Documentation/usage/command_002dline-usage#advanced-command-line-options-for-lilypond
When running lilypond-book, you can pass command-line options to
lilypond by specifying the --process:
http://www.lilypond.org/doc/v2.16/Documentation/usage/invoking-lilypond_002dbook
Cheers,
Julien
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user