bug-lilypond
[Top][All Lists]
Advanced

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

Re: hidenotes bug


From: johannes schöpfer
Subject: Re: hidenotes bug
Date: Tue, 18 Jan 2005 09:46:16 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007

hi,

ok, i wrote a lousy bug-report.

when i compile the code i get things like:

lilybug.ly:38:34: warning: Can't have rests and note heads together on a stem.:
  <<{\tieUp c,8\noBeam~\hideNotes
                                  c}{s8 r}>>\unHideNotes
[5]
Preprocessing graphical objects...
Calculating line breaks... [3][5]
warning: Could not find line breaking that satisfies constraints.
warning: Could not find line breaking that satisfies constraints.


but that doesn't hurt me because i get output.

my problem is that i get two quarter-notes(second line in the pdf-ouput) but there is no quarter-note in my code.


here is my code again:



\paper {

  raggedright = ##t
}

%\layout {}

\relative c
{\clef bass
<< {
  c4( \hideNotes c)
  \unHideNotes c( \hideNotes c)\unHideNotes
} {
  s4 r s r
} >>
\break
<< {
  c8( \hideNotes c)
  \unHideNotes c( \hideNotes c)
  \unHideNotes c( \hideNotes c)
  \unHideNotes c( \hideNotes c)\unHideNotes
} {
  s8 r s r s r s r
} >>

\break

<<{c8 (\hideNotes c)}{s8 r}>>\unHideNotes
 <<{ c8\noBeam (\hideNotes c)}{s8 r}>>\unHideNotes
 <<{ c8\noBeam (\hideNotes c)}{s8 r}>>\unHideNotes
  <<{ c8\noBeam (\hideNotes c)}{s8 r}>>\unHideNotes

\break



  }
  \layout { linewidth = 20 * 2 \pt

        }

thanks,

johannes


Erik Sandberg wrote:

On Sunday 16 January 2005 08.25, Graham Percival wrote:

On 10-Jan-05, at 5:17 AM, johannes schöpfer wrote:

i think i found about \hideNotes and \unHideNotes.

Interesting.  If you delete the \paper{} and \layout{}, then
it compiles fine.  It gives warnings about rests and
notes on the same stem, but it _does_ compile.

Alternately, if you leave the \paper{} and \layout{} in there
but remove the \break s, it's still fine.

I guess the combination of raggedright and one bar per line
is too much for LilyPond to handle...?

(LilyPond chokes with an "abort trap" message; 2.4.2 on OSX)


I can't reproduce - It never crashes here, neither with Pedro's 2.4.2 debian package nor with 2.4.3 from CVS.

Could you send the lilypond --verbose output?

Erik








reply via email to

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