Re: Alternative brackets don't print

2010-09-28 Thread Vicente Solsona

On Tue, 28 Sep 2010 21:31:03 +0200, Qian Li  wrote:

Hi, folks.

I have a multistaff score that requires alternative brackets. I tried the
tweak for getting brackets to show in staves below the top staff (below:  
I
may be putting it in the wrong place), but I'm not getting brackets at  
all.

They do print in the individual parts.

What am I missing? In the attachments, document.ly is the file to run. I
also included sop.ly, which is a part that prints correctly. The volta
repeat appears on the last page. Thanks.


 \new StaffGroup <<
\keepWithTag #'score
\new Staff { \with { \consists "Volta_engraver" } << \global
\Soprano >>}
\new Staff { << \global \Alto>> }
\new Staff { << \global \Tenor>> }
\new Staff { << \global \Baritone>> }
>>

>>

Qian


hello,

please always use tiny examples. help us helping you.

please read: http://lilypond.org/tiny-examples.html

I get volta brackets running Lilypond 2.12 on your example. Note that:

1) in your files, you never use the "\with { \consists "Volta_engraver" }"
section (or at least I can't find it), so the alternative brackets print
on top of the first staff as expected.

2) the version in your files is 2.10.10; if you are using this version of
Lilypond, please note that it is probably unsupported and you should
consider upgrading to the stable version 2.12.3 unless you have a really
good reason to stay in 2.10.

greetings,

Vicente


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Alternative brackets don't print

2010-09-28 Thread Qian Li
Hi, folks.

I have a multistaff score that requires alternative brackets. I tried the
tweak for getting brackets to show in staves below the top staff (below: I
may be putting it in the wrong place), but I'm not getting brackets at all.
They do print in the individual parts.

What am I missing? In the attachments, document.ly is the file to run. I
also included sop.ly, which is a part that prints correctly. The volta
repeat appears on the last page. Thanks.


 \new StaffGroup <<
\keepWithTag #'score
\new Staff { \with { \consists "Volta_engraver" } << \global
\Soprano >>}
\new Staff { << \global \Alto>> }
\new Staff { << \global \Tenor>> }
\new Staff { << \global \Baritone>> }
>>

>>

Qian
 document.ly
\version "2.10.10"
\include "english.ly"

\include "content.ly"

#(set-global-staff-size 14)
\book{
\header
{
title = "Treatment by the Rippin Stitches"
composer = "Qian Li"
}

\score {
<<
%rehearsal marks for parts
\new MarkLine { \marks } 
\new StaffGroup <<
\keepWithTag #'score 
\new Staff { << \global \Soprano >>}
\new Staff { << \global \Alto>> }
\new Staff { << \global \Tenor>> }
\new Staff { << \global \Baritone>> }
>>

>>
\layout {
\context {
\type "Engraver_group"
\name "MarkLine"
\consists "Output_property_engraver"
\consists "Axis_group_engraver"
\consists "Mark_engraver"
\consists "Metronome_mark_engraver"
\override VerticalAxisGroup #'minimum-Y-extent = #'(4 . 0 )
}

\context {
\Score
\remove "Mark_engraver"
\remove "Metronome_mark_engraver"
\accepts "MarkLine"
\remove "Staff_collecting_engraver"
}
\context {
\Staff
\consists "Mark_engraver"
\consists "Staff_collecting_engraver"
}
\context{
\RemoveEmptyStaffContext
}
}
\midi {
\context {
tempoWholesPerMinute = #(ly:make-moment 60 4)
%end context
}
%end midi
}

%end score
}

\paper
{
#(set-paper-size "letter" 'landscape )
left-margin = 1\in
line-width = 9.25 \in
top-margin = 0.5 \in
bottom-margin = 1 \in
ragged-bottom = ##t
between-system-space = 0.5\in
%ragged-last-bottom = ##t
}
%end book
}


% to do
% volta 2 repeats in spin
% content.ly
\version "2.10.10"

%identifiers
TextSpan = { \override TextSpanner #'direction = #1 } 
Left = {\set stemLeftBeamCount = #1 }
Lefttwo = {\set stemLeftBeamCount = #2 \set stemRightBeamCount = #1 }
Leftboth = {\set stemLeftBeamCount = #2 \set stemRightBeamCount = #2 }
Right = {\set stemRightBeamCount = #1 }
Righttwo= {\set stemLeftBeamCount = #1 \set stemRightBeamCount = #2 }
Rightboth= {\set stemLeftBeamCount = #2 \set stemRightBeamCount = #2 }
ssp = {\set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 }
ss = {\set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 }
Rests = {\override Rest #'transparent = ##t}
XHead = { \override NoteHead #'style = #'cross }
NormHead = { \revert NoteHead #'style }
sfzppp = #(make-dynamic-script "sfzppp")
pf =  #(make-dynamic-script "p-f")
mff = #(make-dynamic-script "mf-f")
ftfff = #(make-dynamic-script "f-fff")
%This allows manual adjustment of dynamic marker to avoid collision with octavation or other spanner markup
dynamicsXY = #(define-music-function (parser location offsetX offsetY)
(number? number?)
#{
\once \override DynamicText #'X-offset = $offsetX
\once \override DynamicLineSpanner #'Y-offset = $offsetY
#})


%see violaduets/144.ly for examples
OctA = {#(set-octavation 1) }%\set Staff.middleCPosition = #-13 
OctAA = {#(set-octavation 2) }%\set Staff.middleCPosition = #-20
OctBass = {#(set-octavation -1) \set Staff.middleCPosition = #13 }
EndOct = {#(set-octavation 0)}
EndBass = {#(set-octavation 0)\set Staff.middleCPosition = #6 }
OttBrakY = #(define-music-function (parser location padOtt)
(number?)
#{\once \override Staff.OttavaBracket #'padding = $padOtt #})
OttPadY = #(define-music-function (parser location padOtt)
(number?)
#{\override Staff.OttavaBracket #'padding = $padOtt #})
%This allows manual adjustment of dynamic marker to avoid collision with octavation or other spanner markup
dynamicsXY = #(define-music-function (parser location offsetX offsetY)
(number? number?)
#{
\