bug-lilypond
[Top][All Lists]
Advanced

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

Re: Bug with \unHideNotes command


From: Nick Busigin
Subject: Re: Bug with \unHideNotes command
Date: Thu, 22 Jan 2004 21:35:13 -0500 (EST)

On Mon, 19 Jan 2004, Nick Busigin wrote:

> The \unHideNotes command appears to have a bug.  Here's a short lily
> program which demonstrates the bug.  A PNG file is attached which shows
> the output.

No-one replied to this when I pointed out this bug a few days ago, so
I'm posting it again - in case it was missed or didn't make it to the
list. This is a problem with 2.1.14 and also a problem on 2.1.6 which
I've got running on another computer here. 

%------- start of example lily code ---------

% This demonstrates a bug with the \hideNotes and \unHideNotes macros
%
% Bug description: after using these macros:
%   - eighth note stems don't display the flag of an 8th note
%     immediately following \unHideNotes
%   - crosshead noteheads don't display either - they display
%     as ordinary notes

#(set-global-staff-size 20)

\paper  {
  raggedright = ##t
  indent = 0.0\mm
}

\version "2.1.14"

% Macros for changing noteheads to crosshead and back
Xhead    = \property Staff.NoteHead \override #'style = #'cross
NoXhead = \property Staff.NoteHead \revert #'style 

\score {
  \notes \relative c' {

     c e g \hideNotes  a8^\markup { \center <"Hidden" "8th note" "below"> } 
     \unHideNotes  
     a8_\markup { \center <"8th" "note" "is" "missing" "stem flag"> }

     \Xhead g^\markup { "4 x-heads" }  g g g 
     \NoXhead c^\markup { "no x-heads" }  d g c,

   } % notes

} %score 


%------- end of of example lily code ---------

A PNG file showing the output of the above example code is attached to
this email.
                                   Nick

==============------- www.SongBirdofSwing.com -------==================
Nick Busigin                                             address@hidden
            Visit Our Indie Jazz CD Construction Project!

==============------- www.SongBirdofSwing.com -------==================


PNG image


reply via email to

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