bug-lilypond
[Top][All Lists]
Advanced

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

programming error while inserting "ChordNames" in "Staff"


From: Thomas Morley
Subject: programming error while inserting "ChordNames" in "Staff"
Date: Thu, 28 Mar 2013 14:47:52 +0100

Hi,

this code used to work with 2.16.2:

\version "2.16.2"

\new Staff \with { \accepts "ChordNames" }
  \new ChordNames \chordmode { \override ChordName #'Y-offset = #-1 c }

With 2.17.12 an programming error occurs:

GNU LilyPond 2.17.12
Processing `atest-22.ly'
Parsing...
Interpreting music...
programming error: duplicate axis group
continuing, cross fingers
Preprocessing graphical objects...
programming error: vertical alignment called before line breaking
continuing, cross fingers
...

Seems it is caused by having replaced the (general deleted)
"Hara_kiri_engraver" by "Axis_group_engraver" in /ly/engraver-init.ly:
ChordNames.
To make the code above work, a quite easy fix would be to insert:

\layout {
  \context {
    \ChordNames
    \remove "Axis_group_engraver"
  }
}

Well, I'm not sure this is a real bug, though, do we really intend
this behaviour?


-Harm



reply via email to

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