Menu Jacques <imj-...@bluewin.ch> writes:

> Hello folks,
>
> I typed \key twice inadvertently, as in:
>
> \version "2.19.44"
>
> {
>   \key c \major
>   \key b \major
>   \time 4/4
>   \clef "treble"
>   gis'2. fis4 gis4 gis4 ais4  | % 2
> }
>
> and got the second \key being ignored it seems as a result:
>
> *
>
> Typing \clef of \time twice in a row doesn’t get such a behaviour, though.
>
> So what do you think?

What LilyPond thinks:

GNU LilyPond 2.19.50
Processing `/tmp/zzz.ly'
Parsing...
Interpreting music...
/tmp/zzz.ly:5:3: warning: Two simultaneous key-change events, junking this one
  
  \key b \major
/tmp/zzz.ly:4:3: warning: Previous key-change event here
  
  \key c \major
/tmp/zzz.ly:8:31: warning: barcheck failed at: 3/4
  gis'2. fis4 gis4 gis4 ais4  
                              | % 2
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `/tmp/lilypond-AgMcB9'...
Converting to `zzz.pdf'...
Deleting `/tmp/lilypond-AgMcB9'...

-- 
David Kastrup

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

Reply via email to