lilypond-user
[Top][All Lists]
Advanced

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

Re: page-count


From: bart deruyter
Subject: Re: page-count
Date: Sat, 1 Feb 2014 19:35:55 +0100

Thanks for the tips :-) . I noticed that the title of the first bookpart got printed in the header of the second bookpart, when there wasn't a new title defined. I chose not to print the title, and used:

title =""

in the subsequent headers of the bookparts

Which worked perfectly :-)

grtz,

Bart

http://www.bartart3d.be/
On facebook
On Twitter
On Identi.ca
On Google+


2014-02-01 Federico Bruni <address@hidden>:
2014/1/30 Federico Bruni <address@hidden>


Il 30/gen/2014 15:57 "bart deruyter" <address@hidden> ha scritto:

>
> Is there a way to have a one-page count on each separate child-file, while leaving that out in the master-file? Or what would be 'best-practice' to achieve this?
>

I would wrap the \score blocks inside \bookpart and use the \paper within the bookpart to set one page.

The master file which includes the child files will be implicitely in the \book level, so it will have its own \paper block.

HTH
Federico

Minimal example:

\version "2.18.0"

\book {
  % paper setting affecting all the bookparts
  \paper {
    indent = 0
    markup-system-spacing = #'((padding . 10))
  }

  \bookpart {
    \paper {
     page-count = 1
    }
    \header {
      title = "Piece One"
    }
    \score {
      \new Staff {
        \repeat unfold 15 { c'1*4 \break }
      }
    }
  }
  
  \bookpart {
    \paper {
      page-count = 1
    }
    \header {
      title = "Piece Two"
    }
    \score {
      \new Staff {
        \repeat unfold 15 { c''1*4 \break }
      }
    }
  }
}





reply via email to

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