Re: lilypond-user Digest, Vol 39, Issue 32

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: lilypond-user Digest, Vol 39, Issue 32

James Wilkinson
>From: Mats Bengtsson <[hidden email]>
>Subject: Re: combining files

>What didn't work?
>
>First of all, you can skip the \book command, which is implicitly
>added around any LilyPond input file if you don't write it yourself.
>
>Also, within each \score{...}, the music should come before the
>\header, \layout and \midi, at least in most versions of LilyPond
>(I think it was unintentionally permitted to have the music after
>the other fields in some versions (2.6?) but then you'll get into
>trouble when you upgrade).

I was glad to see this come along when it did. I had the same problem
yesterday.

The snippet in section 10.1.12 of the manual is done exactly as you
say; however,  I find putting anything in front of the header
counterintuitive. Perhaps it would be good to add a note saying that
it is picky about having the music come first.

thanks
--
-------------------------------------------------------------
Jimmy Wilkinson            | Professor of Computer Science
[hidden email]          | The College of Charleston
(843) 953-8160             | Charleston      SC        29424
http://www.cs.cofc.edu/~jimmy

If there is one word to describe me, that word would have to be
"profectionist".


_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

clarification please of music after or before \score

Jay Hamilton, Sound and Silence
All the examples, I think, in the manual for 2.6.x seem
to imply header then music then score
If 2.7.x is different will the difference work for 2.6.x
too?  The message below implies that before 2.6 it was
the music last and that it will return to that layout
with 2.7+++
yikes.
Jay

James Wilkinson wrote:

>> From: Mats Bengtsson <[hidden email]>
>> Subject: Re: combining files
>
>
>> What didn't work?
>>
>> First of all, you can skip the \book command, which is implicitly
>> added around any LilyPond input file if you don't write it yourself.
>>
>> Also, within each \score{...}, the music should come before the
>> \header, \layout and \midi, at least in most versions of LilyPond
>> (I think it was unintentionally permitted to have the music after
>> the other fields in some versions (2.6?) but then you'll get into
>> trouble when you upgrade).
>
>
> I was glad to see this come along when it did. I had the same problem
> yesterday.
>
> The snippet in section 10.1.12 of the manual is done exactly as you say;
> however,  I find putting anything in front of the header
> counterintuitive. Perhaps it would be good to add a note saying that it
> is picky about having the music come first.
>
> thanks

--
Childhood is a Journey not a race- Emma Sadinsky aged 8
Jay Hamilton
Sound and Silence
206-328-7694
www.soundand.com


_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: clarification please of music after or before \score

Mats Bengtsson-4
I think you are confusing things! What we talked about below
is the order within the \score{...} block. If you use variables,
then the only rule is that you have to define a variable before
you use it. If you place your \header{...} block outside the
\score{...}, then it can be anywhere in the file (unless you have
several \book{...} blocks, but I guess there only very few people
who use that).

  /Mats

Jay Hamilton, Sound and Silence wrote:

> All the examples, I think, in the manual for 2.6.x seem to imply
> header then music then score
> If 2.7.x is different will the difference work for 2.6.x too?  The
> message below implies that before 2.6 it was the music last and that
> it will return to that layout with 2.7+++
> yikes.
> Jay
>
> James Wilkinson wrote:
>
>>> From: Mats Bengtsson <[hidden email]>
>>> Subject: Re: combining files
>>
>>
>>
>>> What didn't work?
>>>
>>> First of all, you can skip the \book command, which is implicitly
>>> added around any LilyPond input file if you don't write it yourself.
>>>
>>> Also, within each \score{...}, the music should come before the
>>> \header, \layout and \midi, at least in most versions of LilyPond
>>> (I think it was unintentionally permitted to have the music after
>>> the other fields in some versions (2.6?) but then you'll get into
>>> trouble when you upgrade).
>>
>>
>>
>> I was glad to see this come along when it did. I had the same problem
>> yesterday.
>>
>> The snippet in section 10.1.12 of the manual is done exactly as you
>> say; however,  I find putting anything in front of the header
>> counterintuitive. Perhaps it would be good to add a note saying that
>> it is picky about having the music come first.
>>
>> thanks
>
>


--
=============================================
        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: [hidden email]
        WWW: http://www.s3.kth.se/~mabe
=============================================



_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: clarification please of music after or before \score

Graham Percival-2
In reply to this post by Jay Hamilton, Sound and Silence

On 20-Feb-06, at 4:59 AM, Jay Hamilton, Sound and Silence wrote:

> All the examples, I think, in the manual for 2.6.x seem to imply
> header then music then score
> If 2.7.x is different will the difference work for 2.6.x too?  The
> message below implies that before 2.6 it was the music last and that
> it will return to that layout with 2.7+++

Music comes first:

\score{
   \music
   \header{ }
}

If you see anything contrary to this in the 2.7 manual, please let me
know.
- Graham



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