> I'm trying to break up a project into smaller files. I have global
> definitions in one file (global.ily), the main \score block in
> main.ly, and each part of the score in separate files. When I had
> everything in a single file, I had no issues compiling, but putting
> the definitions in their own files has created a problem I can't
> explain. Here is a link to program input and output:
> http://www.pastie.org/2115133

global.ily is included from three-stroke-ruff.ily, and
three-stroke-ruff.ily is included from main.ly, but within
a DrumStaff.

If you move \include "global.ily" in main.ly up before the \score it works.

\include "global.ily"
\score {
  \new DrumStaff \drummode {
    % drags
    \include "three-stroke-ruff.ily"
    %\include "single-drag.ily"
........


Toine Schreurs

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to