lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: headers, and what include doesn't do


From: Jean Abou Samra
Subject: Re: headers, and what include doesn't do
Date: Sat, 17 Oct 2020 09:49:11 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

Um, then why does this work?

%%%%
\version "2.18.2"

\score {
  \header { piece = asdf }
  { \time 3/4 a'2 b'4 \bar "|." }
}
%%%%


-- Aaron Hill
D'oh!

This doesn't work if you try 2.18.0 (“unexpected \header”). It does work in 2.18.1 and onwards, thanks to

commit d5aee802bf252155f4c31ef8ae6bc0cb979ccf20
Author: David Kastrup <dak@gnu.org>
Date:   Sat Dec 14 20:59:30 2013 +0100

    Issue 3727: Allow header blocks and output definitions in \score to precede music
   
    This addresses a frequent complaint of users.

I have learnt this restriction during my very beginnings in LilyPond -- I was
using 2.18.0 at the time. Since then I never realized it was gone as I always
followed the practice of putting \header after the music.

I'll prepare a patch to update NR examples to use \header before the music as
I think this looks much more logical.

Thanks!
Jean


reply via email to

[Prev in Thread] Current Thread [Next in Thread]