lilypond-user
[Top][All Lists]
Advanced

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

\bookpart and the "\include trouble"


From: Federico Bruni
Subject: \bookpart and the "\include trouble"
Date: Mon, 31 Aug 2009 20:35:39 +0200
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

[sorry for opening a new thread on the same matter, but I thought a more precise subject was needed]

I'm trying to compile several different scores into a book, using a new file (book.ly) and \bookpart.

I can't get it working if in the scores there are some \include.
The error messages says there's a synthax error in the included file (even english.ly!?).

So it's weird, I can't find a solution anywhere.

Below is my book.ly
You find it attached (with 2 included files, if you want to test it yourself).

Thanks for help,
Federico


\version "2.13.3"

\book {

  \markuplines \table-of-contents
  \pageBreak

   \bookpart{
      \tocItem \markup "Score 1"
       \include "file1.ly"
   }
   \bookpart{
      \tocItem \markup "Score 2"
       \include "file2.ly"
   }
}


\version "2.13.3"

\book {
  
  \markuplines \table-of-contents
  \pageBreak 
  
   \bookpart{
      \tocItem \markup "Score 1"
       \include "file1.ly"
   }
   \bookpart{
      \tocItem \markup "Score 2"
       \include "file2.ly"
   }
} 
\version "2.13.3"

\header {
  title= "Score 1"
}

{ c d e f }
\version "2.13.3"
\include "english.ly"


\header {
  title= "Score 2"
}

{ g a b c }

reply via email to

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