bug-lilypond
[Top][All Lists]
Advanced

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

Issue 2429 in lilypond: using multiple \layout for different editions -


From: lilypond
Subject: Issue 2429 in lilypond: using multiple \layout for different editions - how to reset pagenumber?
Date: Thu, 22 Mar 2012 22:47:51 +0000

Status: Accepted
Owner: ----

New issue 2429 by address@hidden: 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 }
}





reply via email to

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