Hello dear developers,

We got recently on lilypond-user-fr a message from a user that wanted
to remove cautionary accidentals from "squashed" passages (using
"Pitch_squash_engraver" and "\improvisationOn").

Actually
  \override Accidental #'stencil = ##f
is part of the definition of  "improvisationOn"  but not
  \override AccidentalCautionary #'stencil = ##f

May I suggest to add it?
You'll find this change as PATCH in attachment.

Thanks in advance!

Cheers,
Xavier

-- 
Xavier Scheuer <[email protected]>
From f51968b9d3d3dbea3b7277dc86cce60fa794bff2 Mon Sep 17 00:00:00 2001
From: Xavier Scheuer <[email protected]>
Date: Wed, 9 Mar 2011 15:41:08 +0100
Subject: [PATCH] ly/property-init.ly: remove cautionary accidentals in improvisation

improvisationOn  removes the stencil of  Accidental  but did not remove
the stencil of  AccidentalCautionary .
This PATCH fix this (as well as the appropriate reciprocal in
 improvisationOff ).
---
 ly/property-init.ly |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ly/property-init.ly b/ly/property-init.ly
index 3bed819..2e29335 100644
--- a/ly/property-init.ly
+++ b/ly/property-init.ly
@@ -252,11 +252,13 @@ improvisationOn = {
   \set squashedPosition = #0
   \override NoteHead #'style = #'slash
   \override Accidental #'stencil = ##f
+  \override AccidentalCautionary #'stencil = ##f
 }
 improvisationOff = {
   \unset squashedPosition
   \revert NoteHead #'style
   \revert Accidental #'stencil
+  \revert AccidentalCautionary #'stencil
 }
 
 
-- 
1.7.1

_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to