Re: Bug suspicion with figured bass

2012-10-19 Thread Eluze
Dominique Faure wrote
> Hi,
> 
> Trying to apply some gracefully given code to handle exotic layouts
> (cf. Vertical text at the end of score messages on the user
> mailing-list), I found a strange behaviors while using figured bass.

the 3rd staff ends prematurely, it should read (with the endingText inside
the brackets!):

\relative c'' { c2 c,
\bar "|."
\endingText \markup {
  \justify-string #"Lorem ipsum dolor sit amet, consectetur
  adipisicing elit, sed do eiusmod tempor incididunt ut labore
  et dolore magna aliqua."
}
  }

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Bug-suspicion-with-figured-bass-tp135056p135057.html
Sent from the Dev mailing list archive at Nabble.com.

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Bug suspicion with figured bass

2012-10-19 Thread Dominique Faure
Hi,

Trying to apply some gracefully given code to handle exotic layouts
(cf. Vertical text at the end of score messages on the user
mailing-list), I found a strange behaviors while using figured bass.

%%%
endingText =
#(define-music-function (parser location user-markup) (markup?)
   #{
 \stopStaff
 \once \override TextScript #'staff-padding= #'()   % allows
text scripts "in the staff"
 \once \override TextScript #'padding  = #-2% 2 to
align with the lowest staff-line, ~3.5 to align with system brackets
 \once \override TextScript #'self-alignment-X = #left
 s64^\markup {
   \rotate   #90
   \fontsize #-3
   \override #'(baseline-skip . 1.1)  % varying depending on
vertical spacing
   \override #'(line-width . 22)  % varying depending on
vertical spacing
   $user-markup
 }
   #})

\score {
  \new StaffGroup <<
\new Staff { R1 }
\new Staff { R1 }
\new Staff <<
  \new Voice {
\relative c'' { c2 c, }
\bar "|."
  \endingText \markup {
\justify-string #"Lorem ipsum dolor sit amet, consectetur
  adipisicing elit, sed do eiusmod tempor incididunt ut labore
  et dolore magna aliqua." }
  }
  \new FiguredBass {
\figuremode { <_+>2 <1 2> }
  }
>>
  >>
  \header { piece = good }
}

\score {
  \new StaffGroup <<
\new Staff { R1 }
\new Staff { R1 }
\new Staff <<
  \figures { <_+>2 <1 2> }
  \relative c'' { c2 c, }
  \bar "|."
  \endingText \markup {
\justify-string #"Lorem ipsum dolor sit amet, consectetur
  adipisicing elit, sed do eiusmod tempor incididunt ut labore
  et dolore magna aliqua." }
>>
  >>
  \header { piece = "broken?" }
}
%%%

-- 
Dominique

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel