Bar numbers are typeset at the score level, not for each stave, so
just replace \Staff with \Score.

   /Mats

D Josiah Boothby wrote:
I've got the same problem, though with Pedro Kroeger's lilypond-snapshot (version 2.4.2). Here's a small example:

A .png can be found at the following url:
http://students.washington.edu/josiah/music/barnumbers.png

\version "2.4.2"

\header {
 title = "bar number test"
}

\score {
{ \time 3/2
\repeat unfold 72 { es'2 }
}
\layout {
papersize = "letter"
\context {
\Staff
\remove Bar_number_engraver
}
}
}


On Tuesday 14 December 2004 01:10 am, Mats Bengtsson wrote:

When I tried your file, I got a syntax error. From your email,
I got the impression that the file was processed without problems
but that the bar numbers didn't vanish.

The only problem with your file is that you had copied a solution
written for an older version of LilyPond without updating the
syntax. Just replace \translator with \context in your \paper{...}
block to get a fully working example for version 2.2.6.

When you upgrade to version 2.4 or whatever, use convert-ly to
upgrade the syntax. For that reason, I recommend to already now
insert a line
\version "2.2.6"
at the top of your .ly files.

By the way, I don't know what you expect the setting
\set Staff.minimumVerticalExtent = #'(+2 . 5.1)
to do. Since the staff lines themselves extend down to -2,
there's no reason to set the lower edge (the first number)
of the minimumVerticalExtent larger than -2.

   /Mats

Anna Choma wrote:

Mats Bengtsson wrote:

Could you please send a full example file that fails to work for
you, I've never had any problems with the \remove "..." solution.

/Mats

Yes, I can. That's the whole piece:

%%%%%%%%%%%%%%%
#(set-global-staff-size 16)
\header { tagline = "" }

\score { \context Staff {
       %\override Score.BarNumber #'break-visibility = #all-invisible
       \set Staff.minimumVerticalExtent = #'(+2 . 5.1)
       \notes  \relative c' {
            \time 4/4 \key c \minor
            c2 es g as b, r4 g'~ g fis2 f4~ f e2 es4~
            es d des c b g c f es2 d c r
            }}
       \paper { paperheight = 21.0 \cm
                 linewidth = 134\mm
                 pagenumber = no
                 indent = 0
                 \translator { \ScoreContext
                    \remove "Bar_number_engraver"
                             }
                  }}
%%%%%%%%%%%%%%%


I commented my solution and put \remove into \translator block. Then it doesn't work. Once more --- my version is 2.2.6.

Best regards,

Anna Choma


_______________________________________________ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user

-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================


_______________________________________________ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to