[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: last time around for remove bar numbers won't upgrade.
From: |
Thomas Morley |
Subject: |
Re: last time around for remove bar numbers won't upgrade. |
Date: |
Sat, 27 Oct 2012 00:37:12 +0200 |
Hi Jay,
2012/10/26 Jay Hamilton <address@hidden>:
> David-
> When I tried to use the solutions suggested nothing happened, no log report
> nada. That's what I mean by ground to a halt. Therefore I can't tell you
> what happened because I have no information. As for what I meant by I
> expected putting \remove "Bar_number_engraver" with \remove "Bar_engraver"
> etc I mean that I put it with them and nothing changed.
> I just today found a page 368(?) which shows possibly what Toine did mean
> and to me that does not look at all like putting it with the other \remove
> instructions. Just to make sure that I'm not totally making a fool of
> myself (I've already done enough damage I suspect with this whole morass)
Can't see any damage.
> I
> looked over the relevant parts of 2.16 manual and I'm not doing anything in
> this piece that looks totally wrong.--- to me.
>
> \version "2.14.1"
> \header {
> title = "persian music"
> subtitle = "Dastgah-e Homayun #41"
> composer = "trad"
> copyright = \markup { \tiny \override #'(baseline-skip . 0.5)
> \center-column
> { "CC lic 2.5 some rights reserved Jay Hamilton 2012"
> "see http://creativecommons.org/licenses/by-nd/2.5/"
> } }
> }
> #(ly:set-option 'delete-intermediate-files #t)
> #(set-default-paper-size "letter" 'landscape)
> #(set-global-staff-size 30)
> \paper
> {
> indent = 30
> short-indent = 15
> right-margin = 30
> top-margin = 15
> bottom-margin = 15
> }
>
> melody = \relative c
> {
> \clef bass
> \key c \major
> \time 14/8
> \override Staff.TimeSignature #' style = #' ()
> \override Score.BarNumber #'break-visibility = #end-of-line-invisible
> #(set-accidental-style 'forget)
> \partial 16
> des'16 c8 [des] c [des] c [des] c des2 r8
> des16. (c32) des16 c \break
> \time 10/8
> b16 [c des] c32 [des c des] c [des c des]
> b [c b c b c b c] b16 c2 \break
> \time 33/16
> \autoBeamOff
> c16 [b aes g] aes8 [g] aes [g] aes [g] aes [aes] g4 r g16 [aes b c] des
> \break
> \time 35/16
> c4 (b16) des c4 (b16) c [des] c [des8 (e16)] des8. ([c16])
> c8.([b16]) c2 r8 \break
> \time 22/8
> c16 [des e] e2 c8 [des e] c [des e] c [des e]
> des16 [e des] e8.-> ([f16]) e8.-> ([f16])
> e8.-> (f16) \break
> \time 33/16
> e16 [des c] des8.-> ([e16]) des8.-> ([e16]) des8.-> ([e16])
> des16 [c des] e8.-> ([f16]) e8.-> ([f16]) e8.-> ([f16])
> e16 [des e] \break
> \time 17/8
> f8.-> ([g16]) f8.-> ([g16]) f8.-> ([g16]) f16 [e des]
> e8.-> ([f16]) e8.-> ([f16]) e8.-> (f16)
> e16 [des c] des8.-> ([e16]) \break
> \time 17/8
> des8.-> ([e16]) des8.-> ([e16]) des[c b c] b2 des16 c2
> e16 [des des c c] \break
> \time 15/8
> des16 [c c b] b4. des c4 (des16) b c2
> \bar "|."
> }
>
> \score {
> \new Staff \melody }
> \layout {
> \context {
> \Staff
> \remove "Time_signature_engraver"
> \remove "Bar_engraver"
> \remove "Bar_number_engraver"
> }
> }
> \midi { }
> }
>
> So have at it.
> It doesn't take the bar numbers off on my side of the internet.
most engraver are "living" in a certain context (Voice, Staff, Score,
etc). If you want to remove one, you have to adress the correct
context.
For the Bar_engraver see IR 2.2.7
http://lilypond.org/doc/v2.14/Documentation/internals-big-page#bar_005fengraver
scroll down to the end of that section and you could read:
Bar_engraver is part of the following context(s): DrumStaff, Dynamics,
GregorianTranscriptionStaff, KievanStaff, MensuralStaff,
PetrucciStaff, RhythmicStaff, Staff, TabStaff and VaticanaStaff.
I.e. _no_ Score, but Staff.
For the Bar_number_engraver see IR 2.2.8
http://lilypond.org/doc/v2.14/Documentation/internals-big-page#bar_005fnumber_005fengraver
scroll down to the end of that section and you could read:
Bar_number_engraver is part of the following context(s): Score.
I.e. Score
To be complete:
IR 2.2.122 Time_signature_engraver
http://lilypond.org/doc/v2.14/Documentation/internals-big-page#time_005fsignature_005fengraver
scroll down to the end of that section and you could read:
ime_signature_engraver is part of the following context(s): DrumStaff,
GregorianTranscriptionStaff, MensuralStaff, RhythmicStaff, Staff and
TabStaff.
I.e. _no_ Score, but Staff.
So your \score should be:
\score {
\new Staff \melody
\layout {
\context {
\Staff
\remove "Time_signature_engraver"
\remove "Bar_engraver"
}
\context {
\Score
\remove "Bar_number_engraver"
}
}
\midi { }
}
>
> Thanks to everyone sorry to get you all so sidetracked.
> Jay
Well, even if I don't agree with you in several points, I want say,
that your thoughts as a longterm LilyPond-user are important.
Feedback _is_ usefull in any case and too rarely given.
Best,
Harm