Sorry, it went only to Mats Begin forwarded message:

From: Arjan Bos <[EMAIL PROTECTED]>
Date: 31 januari 2005 21:43:20 GMT+01:00
To: Mats Bengtsson <[EMAIL PROTECTED]>
Subject: Re: Unexpected extra measure at end

Ah, so it all makes sense after all. Although, come to think of it, where does it say that an extra bar is needed? I only see lyrics, with a \lyricsto command. There are no notes in there. Persumably, no notes does not equal no bar.

Thanks for the insight!

Arjan

On 29 jan 2005, at 0:46, Mats Bengtsson wrote:

A Voice context in LilyPond can only contain notes, not lyrics.
I know that this seems unintuitive to some people, but that's the
way it is designed. Also, if you several pieces of music or whatever
within a pair of curly braces {...} in a LilyPond file, it means
"typeset these pieces of music in a sequence after eachother".
If you want several things to happen simultanously, they have to
be included in a <<...>>. So, you instructed LilyPond to insert an
empty bar after the end of the \tenMusic, and so it did.

   /Mats

Arjan Bos wrote:
Dear list,
When creating a score for the choir I'm in, I found out that Lilypond generates an extra measure at the end when the lyrics are defined within the voice. When they are just outside the closing `}' of the voice, the resulting pdf looks the same, except the empty bar at the end has gone.
Is this a bug?
This is the (almost) smallest example I could come up with that still has the problem.
%% -- sniplet begins here
\version "2.4.2"
tenMusic = \notemode { \relative c' { c4 c c c } }
tenText = \lyricmode { E -- tra bar. Why? }
\score {
\context ChoirStaff {
<<
\context Staff = "ten" {
\context Voice = "tenors" { \tenMusic }
%% When put here, the lyrics generate an extra measure at the
%% end. If they are outside the Voice brackets, it doesn't.
\context Lyrics = tenorsA { s1 }
}
\context Lyrics = tenorsA \lyricsto tenors { \tenText }
>>
}
}
%% --- sniplet ends here
TIA,
Arjan
---
It was funny how people were people everywhere you went, even if the people concerned weren't the people the people who made up the phrase "people are people everywhere" had traditionally thought of as people. And even if you weren't virtuous, as you had been brought up to understand the term, you did like to see virtue in other people, provided it didn't cost you anything.
-- (Terry Pratchett, The Fifth Elephant)
_______________________________________________
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 =============================================


---
A marriage is always made up of two people who are prepared to swear that only the other one snores.


-- (Terry Pratchett, The Fifth Elephant)


---
It was funny how people were people everywhere you went, even if the people concerned weren't the people the people who made up the phrase "people are people everywhere" had traditionally thought of as people. And even if you weren't virtuous, as you had been brought up to understand the term, you did like to see virtue in other people, provided it didn't cost you anything.


-- (Terry Pratchett, The Fifth Elephant)



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to