You led me onto something Trent so think I found a fix for this, and no longer consider it a bug. When I also add "system-count = 1" to the markup score then it works fine. It seems that if your are using system-count at all in your main score then you MUST ALSO specify a system-count on any \markup scores. Lilypond then respects both/all system-count's. Actually this is pretty good because it gives you a handy way to limit and control longer ossias. Thanks.
Trent Johnston wrote: > > Hi Rick, > > Hi just had a look at your code and it seems that the system-count = #2 in > the main document layout block is the problem. If your remove the > 'system-count' and replace with a \break where the system-count function > was > providing the break (end of bar 5) and re-run both bars of the ossia staff > will display. > > Trent > > > From: "Rick Hansen (aka RickH)" <[EMAIL PROTECTED]> > To: lilypond-user@gnu.org > Subject: Problem with \markup { \score } quitting after first measure > Date: Wed, 20 Sep 2006 14:36:32 -0700 (PDT) > > > v2.9.17 > > I believe I have uncovered a bug when using the \markup { \score { ... } } > capability. In the following example I assign a markup score of 2 > measures > to a variable called "varFreeFormOssia". Then in the main music I apply > that markup variable to a note. I would expect 2 measures of markup score > to print, however only the first measure shows up. To confirm that my > markup score is ok, it prints 2 measures just fine when it is run as a > stand-alone score not in markup. > > This example will run as-is and demonstrates the possible "bug", I wanted > somebody to maybe confirm that this is a bug before I post it there? > > thanks > Rick > > > %EXAMPLE BEGIN > > \version "2.9.17" > \include "english.ly" > > varFreeFormOssia = \markup { > \score { > \new Staff \with { > \remove Time_signature_engraver > \remove Clef_engraver > \remove Key_engraver > } % end ossia staff with > { > #(set-accidental-style 'modern) > \clef "treble" > \key ef \major > \time 4/4 > \relative c' { > % ossia measure 1 > a'^\markup { \tiny \sans "dear ossia, measures two, how > come only one measure is printing you?" } b c d > | > % ossia measure 2 > e f g a > | > } % end ossia measures > } % end ossia staff music > \layout { > ragged-right = ##t > ragged-last = ##t > ragged-bottom = ##t > ragged-last-bottom = ##t > indent = 0.0\in > } % end ossia layout > } % end ossia score > } % end ossia markup > > % Begin main score > > \score { > > \new Staff { > #(set-accidental-style 'modern) > \clef "treble" > \key ef \major > \time 4/4 > \relative c'' { > %1 > g'4. g8 g2~ | > %2 > g8 r <c,\3> ef \times 2/3 { <g\2>4 f ef } | > %3 > <g a, ef'>1~ | > %4 > g8 r c, ef \times 2/3 { g4 f ef } | > %5 > <g af, ef'>1~ | > %6 > g8 r c, ef \times 2/3 { g4 f ef } | > %7 > \once \override TextScript #'padding = #6 > g2_\varFreeFormOssia gs2 | > %8 > a2 gs2 | > %9 > g2 gs2 | > %10 > a2 bf2 \bar "||" > > } % end notes > > } % end staff > > \layout { > ragged-right = ##f > ragged-last = ##f > ragged-bottom = ##t > ragged-last-bottom = ##t > indent = 0.0\in > system-count = #2 > \context { \RemoveEmptyStaffContext } > \context { \Score > \override VerticalAxisGroup #'remove-first = ##t > } > \context { \Staff > \override VerticalAxisGroup #'minimum-Y-extent = #'(0 . 0) > } > } % end main layout > > } % end main score > > > > %EXAMPLE END > > > -- > View this message in context: > http://www.nabble.com/Problem-with-%5Cmarkup-%7B-%5Cscore-%7D-quitting-after-first-measure-tf2308238.html#a6417200 > Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. > > > > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > http://lists.gnu.org/mailman/listinfo/lilypond-user > > > > > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > http://lists.gnu.org/mailman/listinfo/lilypond-user > > -- View this message in context: http://www.nabble.com/Problem-with-%5Cmarkup-%7B-%5Cscore-%7D-quitting-after-first-measure-tf2308238.html#a6429463 Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user