2014/1/30 Federico Bruni <fedel...@gmail.com>

>
> Il 30/gen/2014 15:57 "bart deruyter" <bart.deruy...@gmail.com> 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 }
      }
    }
  }
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to