From: David Kastrup Date: Mon, 15 Jun 2015 16:08:33 +0000 (+0200) Subject: Issue 4452/3: Add Staff alias to ChordNames context X-Git-Tag: release/2.19.22-1~21 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1802fa3389d1a74364f7c17a3052b04ffcab364d;p=lilypond.git Issue 4452/3: Add Staff alias to ChordNames context That way, Staff-level overrides like \key, \transposition and others arrive in the ChordNames context. --- diff --git a/ly/engraver-init.ly b/ly/engraver-init.ly index 5d695ebf5c..c6b8bfcd27 100644 --- a/ly/engraver-init.ly +++ b/ly/engraver-init.ly @@ -499,6 +499,8 @@ printing of a single line of lyrics." \context { \type "Engraver_group" \name "ChordNames" + \alias Staff % Catch Staff-level overrides like + % \key, \transposition \description "Typesets chord names." \consists "Output_property_engraver" diff --git a/ly/performer-init.ly b/ly/performer-init.ly index 8094bb9043..0c4a03af59 100644 --- a/ly/performer-init.ly +++ b/ly/performer-init.ly @@ -327,6 +327,8 @@ \context { \Voice % We want all the actual performers \name ChordNames + \alias Staff % Catch Staff-level overrides like + % \key, \transposition \consists "Staff_performer" }