From 1802fa3389d1a74364f7c17a3052b04ffcab364d Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Mon, 15 Jun 2015 18:08:33 +0200 Subject: [PATCH] Issue 4452/3: Add Staff alias to ChordNames context That way, Staff-level overrides like \key, \transposition and others arrive in the ChordNames context. --- ly/engraver-init.ly | 2 ++ ly/performer-init.ly | 2 ++ 2 files changed, 4 insertions(+) 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" } -- 2.39.5