Status: Accepted
Owner: ----

New issue 2429 by elu...@gmail.com: using multiple \layout for different editions - how to reset pagenumber?
http://code.google.com/p/lilypond/issues/detail?id=2429

using multiple \layout blocks in a \score you can produce different editions of the same music, e.g. with Fingerings removed in one.

this works beautifully but there is an inconvenience as the page numbering simply continues.

is there any way to reset it to 1 or 0?

here is an example:

\version "2.15.34"
theMusic = \context Staff {
  \repeat unfold 12 { \relative { <c -2 \5>4 q q q }
    \pageBreak
    }
}
\score {
  \theMusic
  \layout {}
  \layout {
    \context {
      \Voice
      \override NoteHead #'color = #red
      }
  }
  \layout {
    \context {
      \Voice
      \remove New_fingering_engraver
      }
  }
  \midi {\tempo 4 = 200 }
  \midi {\tempo 4 = 72 }
}



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

Reply via email to