lilypond-user
[Top][All Lists]
Advanced

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

Re: Breaking up project into smaller files


From: Toine Schreurs
Subject: Re: Breaking up project into smaller files
Date: Fri, 24 Jun 2011 12:33:53 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

> 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



reply via email to

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