Your example below works like a charm, if you just fix the
capital "S" that others already have pointed out.
I always write the \version statement outside the \score{...} block, but
it seems that it works to place it where you have it as well.
The alternative solution
\override Score.BarNumber #'transparent = ##t
has a disadvantage, namely that LilyPond still will allocate space for the
bar number, even though it's not printed, so the spacing between the score
lines may get unnecessarily wide (though the inter-score line spacing
isn't handled
the same way when you use lilypond-book as when you use pure lilypond).
/Mats
Tim Sawyer wrote:
Thanks for that, but I'm still having trouble. Putting that \layout block in
either place results in this error:
volume1.lytex:2145:2: error: syntax error, unexpected STRING, expecting '='
\context {
volume1.lytex:2146:2: error: syntax error, unexpected STRING, expecting '='
\Score
My code is now like this:
\begin[staffsize=20]{lilypond}
\score
{
\version "2.10.0"
{
\time 4/4
\override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-6 . 7)
\override Staff.TimeSignature #'style = #'()
\clef bass
<<
{ \stemUp e4 e4 e4 e4 e8 e8 e8 e8 e8 e8 e8 e8 e16 e e e e16 e e e e16 e e
e e16 e e e e1 \bar "|." }
\addlyrics { blah }
>>
}
\layout {
\context {
\score
\remove "Bar_number_engraver"
}
}
}
\end{lilypond}
ta,
Tim.
Quoting Tim Sawyer <[EMAIL PROTECTED]>:
I have a section of a tex file, used with lilypond book, that looks
something like this:
\begin[staffsize=20]{lilypond}
\score
{
\version "2.10.0"
{
\time 4/4
\override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-6 . 7)
\override Staff.TimeSignature #'style = #'()
\clef bass
\stemUp
e4 e4 e4 e4 e8 e e8 e e8 e e8 e e16 e e e e16 e e e e16 e e e e16 e e
e e1 }
}
\end{lilypond}
I can't work out where to put \remove "Bar_number_engraver" to get
bar numbers
turned off. Everywhere I put it seems to create an error when running
lilypond-book.
Can someone point me in the right direction please?
ta,
Tim.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
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
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user