[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Removing bar numbers
From: |
Mats Bengtsson |
Subject: |
Re: Removing bar numbers |
Date: |
Tue, 14 Dec 2004 10:10:01 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913 |
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
address@hidden
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: address@hidden
WWW: http://www.s3.kth.se/~mabe
=============================================