lilypond-user
[Top][All Lists]
Advanced

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

Re: last time around for remove bar numbers won't upgrade.


From: Phil Holmes
Subject: Re: last time around for remove bar numbers won't upgrade.
Date: Sat, 27 Oct 2012 10:38:54 +0100


And as a heeltap to this, it's always worth taking a structured approach to getting unusual score layouts to work (e.g., those with odd staff spacing, or with furniture [like time sigs] removed).  Start with a minimal amount of music, like \repeat unfold 100 { c }.  Then get the score laid out as you want it.  If you fail in this, posting a minimal example on the group will likely get a more positive response.  Then add the more complex music and voila - complete.
 
Posting "I tried something and it didn't work" is always likely to be difficult to debug.

--
Phil Holmes
 
 
----- Original Message -----
Sent: Saturday, October 27, 2012 1:26 AM
Subject: Re: last time around for remove bar numbers won't upgrade.

Wow, I can even understand this,,,,, now.
Thanks
Jay

On Fri, Oct 26, 2012 at 3:37 PM, Thomas Morley <address@hidden> wrote:
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



--
Jay Hamilton Sound and Silence www.soundand.com 206-328-7694


_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user

reply via email to

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