Re: Percent repeat

2013-12-03 Thread Ralph Palmer
On Sat, Nov 30, 2013 at 2:26 PM, Janek Warchoł janek.lilyp...@gmail.comwrote:

 Hi,


 2013/11/30 Noeck noeck.marb...@gmx.de:
  Hi,
 
  is this a bug or is there some reason why this should be correct:
 
  If I use a percent repeat in a customly timed measure (5/4 instead of
  4/4), the repeat symbol lacks the dots and is placed to the left of the
  bar. If I write something before the repeat (a time signature or only
  ), then the dots reappear and they are placed properly.

 looks like a bug to me.  Forwarding to bug-lilypond.


Thanks, Noeck and Janek - This has been entered as Issue 3703 :
https://code.google.com/p/lilypond/issues/detail?id=3703colspec=ID%20Type%20Status%20Stars%20Owner%20Patch%20Needs%20Summary

Ralph
___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: Percent repeat

2013-11-30 Thread Janek Warchoł
Hi,


2013/11/30 Noeck noeck.marb...@gmx.de:
 Hi,

 is this a bug or is there some reason why this should be correct:

 If I use a percent repeat in a customly timed measure (5/4 instead of
 4/4), the repeat symbol lacks the dots and is placed to the left of the
 bar. If I write something before the repeat (a time signature or only
 ), then the dots reappear and they are placed properly.

looks like a bug to me.  Forwarding to bug-lilypond.


\version 2.16.2 % also tested with 2.17.26


  \new Staff {
\tempo wrong?
\time 5/4
\repeat unfold 10 a'4
  }
  \new RhythmicStaff {
\repeat percent 2 { c4 c c c c }
  }



  \new Staff {
\tempo what I expect
\time 5/4
\repeat unfold 10 a'4
  }
  \new RhythmicStaff {
  % (*) this is the only difference
\repeat percent 2 { c4 c c c c }
  }


___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: Empty staves not removed after one-bar percent repeat

2013-04-17 Thread Ralph Palmer
On Tue, Apr 16, 2013 at 12:39 PM, Peter Crighton 
petecrigh...@googlemail.com wrote:

 % Empty staves are not removed after a percent repeat of one bar. Two or
 more
 bars work fine.

 \version 2.16.2

 \paper { ragged-right = ##t }

 \layout {
   \context {
 \Staff
 \RemoveEmptyStaves
   }
 }

 \relative c' {
   \repeat unfold 4 { c1 }
   \break
   R1*4
   \break
   \repeat percent 4 { c1 }
   \break
   R1*4
   \break
   \repeat percent 2 { c1 c }
   \break
   R1*4
 }


Thanks, Peter Crighton. This has been submitted as issue 3321 :
https://code.google.com/p/lilypond/issues/detail?id=3321

Ralph
___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Empty staves not removed after one-bar percent repeat

2013-04-16 Thread Peter Crighton
% Empty staves are not removed after a percent repeat of one bar. Two or more 
bars work fine.

\version 2.16.2

\paper { ragged-right = ##t }

\layout {
  \context {
\Staff
\RemoveEmptyStaves
  }
}

\relative c' {
  \repeat unfold 4 { c1 }
  \break
  R1*4
  \break
  \repeat percent 4 { c1 }
  \break
  R1*4
  \break
  \repeat percent 2 { c1 c }
  \break
  R1*4
}


___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: tupletSpannerDuration and percent repeat conflict

2012-03-28 Thread Lenore Horner

On Mar 26, 2012, at 18:54 , Carl Sorensen wrote:

 
 
 On 3/26/12 12:49 PM, Lenore Horner lenorehor...@sbcglobal.net wrote:
 
 I'm not top posting.
 
 \version 2.14.2
 \paper{ ragged-right=##t }
 \relative c'' {
  \set tupletSpannerDuration = #(ly:make-moment 1 4) \times 2/3 {
  \repeat percent 2 {g8 f g  f g f   g f g  f g f }
  } \unset tupletSpannerDuration
 }
 
 Produces correct pdf output but also the following string of error
 messages 
 (the full piece of music showed similar inconvenient lack of line numbers
 with the errors).
 
 A simple change prevents the errors:
 
 \version 2.14.2
 \paper{ ragged-right=##t }
 \relative c'' {
   \set tupletSpannerDuration = #(ly:make-moment 1 4)
% \times 2/3 {  % NOTE -- move the \times 2/3 *inside* the
 repeat percent
   \repeat percent 2 \times 2/3 {g8 f g  f g f   g f g  f g f }
   %}
\unset tupletSpannerDuration
 }
 
 HTH,
 
 Carl
 
 
 
I noted that change in my bug report, but I also noted why it isn't 
particularly desirable: having to separate out the declarations for repeated 
sections in an extended section of triplets.  
Lenore


___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


tupletSpannerDuration and percent repeat conflict

2012-03-26 Thread Lenore Horner
 I'm not top posting.

\version 2.14.2
\paper{ ragged-right=##t }
\relative c'' {
\set tupletSpannerDuration = #(ly:make-moment 1 4) \times 2/3 { 
\repeat percent 2 {g8 f g  f g f   g f g  f g f } 
} \unset tupletSpannerDuration
}

Produces correct pdf output but also the following string of error messages 
(the full piece of music showed similar inconvenient lack of line numbers 
with the errors).

/Applications/LilyPond.app/Contents/Resources/bin/lilypond 
tuplet-repeatPercent-bug.ly; 
open tuplet-repeatPercent-bug.pdf
GNU LilyPond 2.14.2
Processing `tuplet-repeatPercent-bug.ly'
Parsing...
Interpreting music... 
programming error: stopped tuplet bracket has neither left nor right bound
continuing, cross fingers
programming error: stopped tuplet bracket has neither left nor right bound
continuing, cross fingers
programming error: stopped tuplet bracket has neither left nor right bound
continuing, cross fingers
programming error: stopped tuplet bracket has neither left nor right bound
continuing, cross fingers
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `tuplet-repeatPercent-bug.ps'...
Converting to `./tuplet-repeatPercent-bug.pdf'...
success: Compilation successfully completed


This 
\version 2.14.2
\paper{ ragged-right=##t }
\relative c'' {
\repeat percent 2 {\set tupletSpannerDuration = #(ly:make-moment 1 4) 
\times 2/3 { 
g8 f g  f g f   g f g  f g f  
} \unset tupletSpannerDuration }
}

produces identical music but no error complaints, however in long passages of 
triplets it's a nuisance to have to stop and start the tupletSpannerDuration 
for chunks involving % repeats.

NOTE: I've had to wack things at 80-characters so some of the output isn't
completely accurate.


___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Issue 2439 in lilypond: tupletSpannerDuration and percent repeat conflict

2012-03-26 Thread lilypond

Status: Accepted
Owner: 
Labels: Type-Enhancement

New issue 2439 by ralphbug...@gmail.com: tupletSpannerDuration and percent  
repeat conflict

http://code.google.com/p/lilypond/issues/detail?id=2439

Lenore Horner lenorehor...@sbcglobal.net wrote:

\version 2.14.2
\paper{ ragged-right=##t }
\relative c'' {
   \set tupletSpannerDuration = #(ly:make-moment 1 4) \times  
2/3 {

   \repeat percent 2 {g8 f g  f g f   g f g  f g f }
   } \unset tupletSpannerDuration
}

Produces correct pdf output but also the following string of error messages
(the full piece of music showed similar inconvenient lack of line numbers
with the errors).

/Applications/LilyPond.app/Contents/Resources/bin/lilypond
tuplet-repeatPercent-bug.ly;
open tuplet-repeatPercent-bug.pdf
GNU LilyPond 2.14.2
Processing `tuplet-repeatPercent-bug.ly'
Parsing...
Interpreting music...
programming error: stopped tuplet bracket has neither left nor right bound
continuing, cross fingers
programming error: stopped tuplet bracket has neither left nor right bound
continuing, cross fingers
programming error: stopped tuplet bracket has neither left nor right bound
continuing, cross fingers
programming error: stopped tuplet bracket has neither left nor right bound
continuing, cross fingers
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `tuplet-repeatPercent-bug.ps'...
Converting to `./tuplet-repeatPercent-bug.pdf'...
success: Compilation successfully completed


This
\version 2.14.2
\paper{ ragged-right=##t }
\relative c'' {
\repeat percent 2 {\set tupletSpannerDuration = #(ly:make-moment 1 4)
\times 2/3 {
g8 f g  f g f   g f g  f g f
} \unset tupletSpannerDuration }
}

produces identical music but no error complaints, however in long passages  
of

triplets it's a nuisance to have to stop and start the tupletSpannerDuration
for chunks involving % repeats.




___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: tupletSpannerDuration and percent repeat conflict

2012-03-26 Thread Ralph Palmer
On Mon, Mar 26, 2012 at 2:49 PM, Lenore Horner
lenorehor...@sbcglobal.netwrote:

  I'm not top posting.

 \version 2.14.2
 \paper{ ragged-right=##t }
 \relative c'' {
\set tupletSpannerDuration = #(ly:make-moment 1 4) \times
 2/3 {
\repeat percent 2 {g8 f g  f g f   g f g  f g f }
} \unset tupletSpannerDuration
 }

 Produces correct pdf output but also the following string of error messages
 (the full piece of music showed similar inconvenient lack of line numbers
 with the errors).

 /Applications/LilyPond.app/Contents/Resources/bin/lilypond
 tuplet-repeatPercent-bug.ly;
 open tuplet-repeatPercent-bug.pdf
 GNU LilyPond 2.14.2
 Processing `tuplet-repeatPercent-bug.ly'
 Parsing...
 Interpreting music...
 programming error: stopped tuplet bracket has neither left nor right bound
 continuing, cross fingers
 programming error: stopped tuplet bracket has neither left nor right bound
 continuing, cross fingers
 programming error: stopped tuplet bracket has neither left nor right bound
 continuing, cross fingers
 programming error: stopped tuplet bracket has neither left nor right bound
 continuing, cross fingers
 Preprocessing graphical objects...
 Finding the ideal number of pages...
 Fitting music on 1 page...
 Drawing systems...
 Layout output to `tuplet-repeatPercent-bug.ps'...
 Converting to `./tuplet-repeatPercent-bug.pdf'...
 success: Compilation successfully completed


 This
 \version 2.14.2
 \paper{ ragged-right=##t }
 \relative c'' {
 \repeat percent 2 {\set tupletSpannerDuration = #(ly:make-moment 1 4)
 \times 2/3 {
 g8 f g  f g f   g f g  f g f
 } \unset tupletSpannerDuration }
 }

 produces identical music but no error complaints, however in long passages
 of
 triplets it's a nuisance to have to stop and start the
 tupletSpannerDuration
 for chunks involving % repeats.

 NOTE: I've had to wack things at 80-characters so some of the output isn't
 completely accurate.


 Greetings, Lenore Horner and list members -

Thanks for the bug notification. I'm entering this as an enhancement,
rather than a defect, since LilyPond *does* currently produce the correct
output, although not as simply as would be desired. The request has been
entered as issue 2439 :
http://code.google.com/p/lilypond/issues/detail?id=2439

All the best,

Ralph
___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: tupletSpannerDuration and percent repeat conflict

2012-03-26 Thread Carl Sorensen


On 3/26/12 12:49 PM, Lenore Horner lenorehor...@sbcglobal.net wrote:

 I'm not top posting.

\version 2.14.2
\paper{ ragged-right=##t }
\relative c'' {
   \set tupletSpannerDuration = #(ly:make-moment 1 4) \times 2/3 {
   \repeat percent 2 {g8 f g  f g f   g f g  f g f }
   } \unset tupletSpannerDuration
}

Produces correct pdf output but also the following string of error
messages 
(the full piece of music showed similar inconvenient lack of line numbers
with the errors).

A simple change prevents the errors:

\version 2.14.2
\paper{ ragged-right=##t }
\relative c'' {
\set tupletSpannerDuration = #(ly:make-moment 1 4)
% \times 2/3 {  % NOTE -- move the \times 2/3 *inside* the
repeat percent
\repeat percent 2 \times 2/3 {g8 f g  f g f   g f g  f g f }
%}
\unset tupletSpannerDuration
}

HTH,

Carl




___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: Issue 2439 in lilypond: tupletSpannerDuration and percent repeat conflict

2012-03-26 Thread lilypond


Comment #1 on issue 2439 by carl.d.s...@gmail.com: tupletSpannerDuration  
and percent repeat conflict

http://code.google.com/p/lilypond/issues/detail?id=2439

Moving the \times 2/3 *inside* the percent repeat solves the problem:


\version 2.14.2
\paper{ ragged-right=##t }
\relative c'' {
\set tupletSpannerDuration = #(ly:make-moment 1 4)
% \times 2/3 {
\repeat percent 2 \times 2/3 {g8 f g  f g f   g f g  f g f }
%}
\unset tupletSpannerDuration
}




___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: Issue 1574 in lilypond: DOC: Need updated/expanded documentation of percent repeat/beat slash

2011-05-03 Thread lilypond

Updates:
Status: Verified

Comment #4 on issue 1574 by colinpkc...@gmail.com: DOC: Need  
updated/expanded documentation of percent repeat/beat slash

http://code.google.com/p/lilypond/issues/detail?id=1574

Verified 2.15.0


___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: Issue 1574 in lilypond: DOC: Need updated/expanded documentation of percent repeat/beat slash

2011-04-21 Thread lilypond

Updates:
Status: Fixed
Labels: Patch-review

Comment #3 on issue 1574 by colinpkc...@gmail.com: DOC: Need  
updated/expanded documentation of percent repeat/beat slash

http://code.google.com/p/lilypond/issues/detail?id=1574

Doc entry LGTM.


___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: Issue 1574 in lilypond: DOC: Need updated/expanded documentation of percent repeat/beat slash

2011-04-04 Thread lilypond


Comment #2 on issue 1574 by pkx1...@gmail.com: DOC: Need updated/expanded  
documentation of percent repeat/beat slash

http://code.google.com/p/lilypond/issues/detail?id=1574

Pushed as commit

85fe0f15000f793435221fab2688ba3fa65a028f


___
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: Issue 1574 in lilypond: DOC: Need updated/expanded documentation of percent repeat/beat slash

2011-03-28 Thread lilypond


Comment #1 on issue 1574 by pkx1...@gmail.com: DOC: Need updated/expanded  
documentation of percent repeat/beat slash

http://code.google.com/p/lilypond/issues/detail?id=1574

Posted patch for review

http://codereview.appspot.com/4273125


___
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond


Issue 1574 in lilypond: DOC: Need updated/expanded documentation of percent repeat/beat slash

2011-03-21 Thread lilypond

Status: Accepted
Owner: 
Labels: Type-Documentation Priority-High

New issue 1574 by colinpkc...@gmail.com: DOC: Need updated/expanded  
documentation of percent repeat/beat slash

http://code.google.com/p/lilypond/issues/detail?id=1574

Issue http://code.google.com/p/lilypond/issues/detail?id=1426 updated  
percent repeats and beat slashes, but the documentation in NR 1.4.2 needs  
updating, in particular to explain and show the treatment of short-duration  
notes and patterns of mixed length notes.



___
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond


percent repeat does not work with multiple (drum)voices

2009-12-31 Thread Corien Prins
 I'm not top posting.

% When percent repeat is used in drummode, all output in the 
% same score after the repeat is messed up: the different voices
% creat their own staff with a different clef. 
% When 'percent' is replaced by 'unfold' or 'volta' it works fine. 


\paper{ ragged-right=##t }
\version 2.12.1

\score {
   \new DrumStaff  
  \new DrumVoice = 1 { s1 *2 }
  \new DrumVoice = 2 { s1 *2 }
  \drummode {
 \repeat percent 2 {
 {hh8 hh hh hh hh hh hh hh|} \\ {bd4 sn bd sn|} 
 {hh8 hh hh hh hh hh hh hh|} \\ {bd4 sn bd sn8 bd8|} 
 }
  {hh8 hh hh hh hh hh hh hh|} \\ {bd4 sn bd sn|} 
  {hh8 hh hh hh s2|} \\ {bd4 sn sn16 sn sn sn sn16 sn sn sn |} 
  }
 
}




___
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: percent repeat does not work with multiple (drum)voices

2009-12-31 Thread James Bailey


On 31.12.2009, at 15:18, Corien Prins wrote:


I'm not top posting.


% When percent repeat is used in drummode, all output in the
% same score after the repeat is messed up: the different voices
% creat their own staff with a different clef.
% When 'percent' is replaced by 'unfold' or 'volta' it works fine.


\paper{ ragged-right=##t }
\version 2.12.1

\score {
   \new DrumStaff 
  \new DrumVoice = 1 { s1 *2 }
  \new DrumVoice = 2 { s1 *2 }
  \drummode {
 \repeat percent 2 {
 {hh8 hh hh hh hh hh hh hh|} \\ {bd4 sn bd sn|} 
 {hh8 hh hh hh hh hh hh hh|} \\ {bd4 sn bd sn8 bd8|} 
 }
  {hh8 hh hh hh hh hh hh hh|} \\ {bd4 sn bd sn|} 
  {hh8 hh hh hh s2|} \\ {bd4 sn sn16 sn sn sn sn16 sn sn  
sn |} 

  }



}



I think what you want is this:
\version 2.12.1

\new DrumStaff 
   \new DrumVoice \drummode {
  \voiceOne
  \repeat percent 2 { \repeat unfold 2 { hh8 hh hh hh hh hh hh  
hh } }  |

  hh8 hh hh hh hh hh hh hh   |
  hh8 hh hh hh s2   |
   }
   \new DrumVoice \drummode {
  \voiceTwo
  \repeat percent 2 { bd4 sn bd sn | bd4 sn bd sn8 bd } |
  bd4 sn bd sn   |
  bd4 sn sn16 sn sn sn sn16 sn sn sn  |
   }


If so, then organizing your voices differently might help. Basically,  
the problem is that the {s1*2} in your original only keep the  
DrumVoices alive for two measures, but your music is longer than two  
measures. The {}\\{} construct is equivalent to \new Voice =  
1 {\voiceOne} \new Voice = 2 {\voiceTwo}. You'll note that the  
\new DrumVoice and \drummode commands are missing from this  
construct. I would advise against using them. Also, so you know,  
before posting something to the bug list, it's better to post it to  
the lilypond-user list, most problems (like this) stem more from a  
misunderstanding of how the program works, rather than an actual  
problem in the program.


James



___
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond


Percent repeat killed after line wrap

2008-06-23 Thread Roman Stawski
 I'm not top posting.

When using percent repeats in a score with \RemoveEmptyStaffContext, 
repeated bars disappear after a line wrap.


\version 2.11.49
\paper{ ragged-right=##t } 
\context StaffGroup 

  \new Staff {
\clef treble
\time 6/8
\relative c'' {
  \repeat unfold 8 { g8 g g g g g | }
}
  }

  \new Staff {
\clef bass
\relative c {
  \repeat percent 4 { e4 r8 e4 r8  | c4 r8 c4 r8 | }
}
  }



\layout {
  \context { 
\RemoveEmptyStaffContext 
  }
}




___
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: Percent repeat questions

2006-02-19 Thread Erik Sandberg
On Monday 17 January 2005 02.53, Erik Sandberg wrote:
 On Tuesday 21 December 2004 03.23, Richard Schoeller wrote:
  I've been running into some issues with percent repeats and want to see
  if there are suggestions.
...
  The final thing is a bug.  And I have not been able to find a
  workaround.  If one part has precent repeats and another part has
  measures that begin with a grace note, then the percent repeats will be
  mispositioned in the measures near the one with the grace note.  This
  can even result in a percent repeat mark at the very beginning of the
  line.

 I can't find a workaround either. The bug has been added as
 percent-repeat-grace.ly. Thanks!

This is fixed in 2.5.35. Thanks!

-- 
Erik Sandberg
Maintainer of the Lilypond bug CVS archive,
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lily-bugs/bugs/
http://lilypond.org/bugs/v2.7/


___
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: double-note with percent repeat

2005-05-25 Thread Han-Wen Nienhuys

Graham Percival wrote:

(from the manual, 6.7.3)

% 2.5.24+ (cvs),  weird double-note with percent repeat.
{
\unfoldrepeats {
  \repeat tremolo 8 {c'32 e' }
  \repeat percent 4 { c''8 d'' }
}
}



thanks. Fixed.

--
 Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


___
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond


percent-repeat-harakiri

2005-04-26 Thread Erik Sandberg
Hi,

This bug has been fixed in 2.5.21.

Erik

\version 2.4.2

\header {
texidoc = A staff with only percent repeats is removed by 
RemoveEmptyStaffContext
reportedin = 2.4.2
}

\layout {
  \context { \RemoveEmptyStaffContext }
}


  \new Staff \repeat percent 3 b1
  \new Staff \repeat unfold 3 {b1 \break }










___
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: 2.4.2: more percent repeat problems

2005-04-26 Thread Erik Sandberg
Hi,

Both bugs are fixed in 2.5.21. Thanks!

Erik

On Wednesday 12 January 2005 03.28, Bruce McIntyre wrote:
 Hello,

 I've noticed two new issues with two-bar percent repeats.

 1. If a two-bar percent-repeat is at the start of a piece,
 lilypond cannot continue:
  warning: no one to print a percent:
 \repeat percent 2 {\twobar
   }

 Either substituting \onebar for \twobar, or uncommenting the f1 will
 allow lilypond to produce output

 2. When a multimeasure rest follows a two-bar percent repeat, it gets
 broken-up into it's component bars, regardless of Score.skipBars.
 When I first came upon this bug there was a bar of music separating
 the percent repeats and the multimeasure rest, and the multimeasure
 rest was still broken.

 Uncomment the f1 to see this bug. The example works fine with \onebar
 in the percent repeat.

 8--8--8--8--8--8--8--8---

 \version 2.4.2
 twobar = \relative c' {
   \clef treble
   c1 | c1
 }
 onebar = \relative c' {
 c1
 }
 \score {
   \new Staff {
  \set Score.skipBars = ##t
   %  f1
 \repeat percent 2 {\twobar}
   R1*3 }
 }

 Cheers,

 Bruce.


 ___
 bug-lilypond mailing list
 bug-lilypond@gnu.org
 http://lists.gnu.org/mailman/listinfo/bug-lilypond


___
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: 2.4.2: more percent repeat problems

2005-02-06 Thread Erik Sandberg
On Friday 14 January 2005 14.38, Erik Sandberg wrote:
 Thanks! I have added the bugs to the bug cvs.

 There is a simple fix: Add \new Voice after \new Staff, like:

 \score {
   \new Staff \new Voice {
  \set Score.skipBars = ##t
   %  f1
 \repeat percent 2 {\twobar}
   R1*3 }
 }

 This fixes the first problem.

You must use \new Voice to make it work, hence this part of the problem is not 
a bug, and has been removed from the repository.

Erik

 The problem also disappears if you remove the \clef G from \twoBar, and it
 pops up in \oneBar if you add a G clef there.

 I still think it is a bug; intuitively your original code should work; and
 if not there should at least be a more understandable error message.

 The second problem is definitely a bug. Changing R1*3 to R1*10 gives two
 single bar rests plus one multimeasure rest of length 1*8.

 The bugs were added as percent-repeat-mm-rest.ly and
 percent-repeat-no-one-to-print.ly, respectively.

 Erik

 On Wednesday 12 January 2005 03.28, Bruce McIntyre wrote:
  Hello,
 
  I've noticed two new issues with two-bar percent repeats.
 
  1. If a two-bar percent-repeat is at the start of a piece,
  lilypond cannot continue:
   warning: no one to print a percent:
  \repeat percent 2 {\twobar
}
 
  Either substituting \onebar for \twobar, or uncommenting the f1 will
  allow lilypond to produce output
 
  2. When a multimeasure rest follows a two-bar percent repeat, it gets
  broken-up into it's component bars, regardless of Score.skipBars.
  When I first came upon this bug there was a bar of music separating
  the percent repeats and the multimeasure rest, and the multimeasure
  rest was still broken.
 
  Uncomment the f1 to see this bug. The example works fine with \onebar
  in the percent repeat.
 
  8--8--8--8--8--8--8--8---
 
  \version 2.4.2
  twobar = \relative c' {
\clef treble
c1 | c1
  }
  onebar = \relative c' {
  c1
  }
  \score {
\new Staff {
   \set Score.skipBars = ##t
%  f1
  \repeat percent 2 {\twobar}
R1*3 }
  }
 
  Cheers,
 
  Bruce.
 
 
  ___
  bug-lilypond mailing list
  bug-lilypond@gnu.org
  http://lists.gnu.org/mailman/listinfo/bug-lilypond

 ___
 bug-lilypond mailing list
 bug-lilypond@gnu.org
 http://lists.gnu.org/mailman/listinfo/bug-lilypond


___
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: Percent repeat questions

2005-01-17 Thread Han-Wen Nienhuys
[EMAIL PROTECTED] writes:
 
  I would like to be able to specify percent repeats but have it
  automagically unfold the measure at each new line.  This would be
  similar to chordChanges = ##t for chord names.  Is there anything like
  that?
 
 Not that I know of. I'm quite sure it's possible, though, through some deep 
 Scheme hacking.

Actually, I think it would be hard to do. The easiest would be to
force line breaks every few bars.

 http://lists.gnu.org/mailman/listinfo/bug-lilypond

-- 

 Han-Wen Nienhuys   |   [EMAIL PROTECTED]   |   http://www.xs4all.nl/~hanwen 



___
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: Percent repeat questions

2005-01-16 Thread Erik Sandberg
First, sorry for the long delay (the mail got lost)

On Tuesday 21 December 2004 03.23, Richard Schoeller wrote:
 I've been running into some issues with percent repeats and want to see
 if there are suggestions.

 If you have a line that is completely percent repeats, then
 RemoveEmptyStaffContext removes the line.  This gets me alot in ensemble
 scores where the bass and percussion are repetive and the melody parts
 are very busy.  Is there anyway to avoid this?

Thanks, added the bug as percent-repeat-harakiri.ly

A workaround is to add invisible stuff to the percent repeated bars, something 
like:


  \repeat percent 10 {c4 d e f }
  \new Voice {\hideNotes \repeat unfold 10 c1}


 I would like to be able to specify percent repeats but have it
 automagically unfold the measure at each new line.  This would be
 similar to chordChanges = ##t for chord names.  Is there anything like
 that?

Not that I know of. I'm quite sure it's possible, though, through some deep 
Scheme hacking.

 The final thing is a bug.  And I have not been able to find a
 workaround.  If one part has precent repeats and another part has
 measures that begin with a grace note, then the percent repeats will be
 mispositioned in the measures near the one with the grace note.  This
 can even result in a percent repeat mark at the very beginning of the
 line.

I can't find a workaround either. The bug has been added as 
percent-repeat-grace.ly. Thanks!

Erik


___
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: 2.4.2: more percent repeat problems

2005-01-14 Thread Erik Sandberg
Thanks! I have added the bugs to the bug cvs. 

There is a simple fix: Add \new Voice after \new Staff, like:

\score {
  \new Staff \new Voice {
 \set Score.skipBars = ##t
  %  f1
\repeat percent 2 {\twobar}
  R1*3 }
}

This fixes the first problem. 

The problem also disappears if you remove the \clef G from \twoBar, and it 
pops up in \oneBar if you add a G clef there.

I still think it is a bug; intuitively your original code should work; and if 
not there should at least be a more understandable error message.

The second problem is definitely a bug. Changing R1*3 to R1*10 gives two 
single bar rests plus one multimeasure rest of length 1*8.

The bugs were added as percent-repeat-mm-rest.ly and 
percent-repeat-no-one-to-print.ly, respectively.

Erik

On Wednesday 12 January 2005 03.28, Bruce McIntyre wrote:
 Hello,

 I've noticed two new issues with two-bar percent repeats.

 1. If a two-bar percent-repeat is at the start of a piece,
 lilypond cannot continue:
  warning: no one to print a percent:
 \repeat percent 2 {\twobar
   }

 Either substituting \onebar for \twobar, or uncommenting the f1 will
 allow lilypond to produce output

 2. When a multimeasure rest follows a two-bar percent repeat, it gets
 broken-up into it's component bars, regardless of Score.skipBars.
 When I first came upon this bug there was a bar of music separating
 the percent repeats and the multimeasure rest, and the multimeasure
 rest was still broken.

 Uncomment the f1 to see this bug. The example works fine with \onebar
 in the percent repeat.

 8--8--8--8--8--8--8--8---

 \version 2.4.2
 twobar = \relative c' {
   \clef treble
   c1 | c1
 }
 onebar = \relative c' {
 c1
 }
 \score {
   \new Staff {
  \set Score.skipBars = ##t
   %  f1
 \repeat percent 2 {\twobar}
   R1*3 }
 }

 Cheers,

 Bruce.


 ___
 bug-lilypond mailing list
 bug-lilypond@gnu.org
 http://lists.gnu.org/mailman/listinfo/bug-lilypond


___
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond


2.4.2: more percent repeat problems

2005-01-12 Thread Bruce McIntyre
Hello,

I've noticed two new issues with two-bar percent repeats.

1. If a two-bar percent-repeat is at the start of a piece,
lilypond cannot continue:
 warning: no one to print a percent:
\repeat percent 2 {\twobar
  }

Either substituting \onebar for \twobar, or uncommenting the f1 will
allow lilypond to produce output

2. When a multimeasure rest follows a two-bar percent repeat, it gets
broken-up into it's component bars, regardless of Score.skipBars.
When I first came upon this bug there was a bar of music separating
the percent repeats and the multimeasure rest, and the multimeasure
rest was still broken.

Uncomment the f1 to see this bug. The example works fine with \onebar
in the percent repeat.

8--8--8--8--8--8--8--8---

\version 2.4.2
twobar = \relative c' {
  \clef treble
  c1 | c1
}
onebar = \relative c' {
c1
}
\score {
  \new Staff {
 \set Score.skipBars = ##t
  %  f1
\repeat percent 2 {\twobar}
  R1*3 }
}

Cheers,

Bruce.


___
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond


warning: Don't know how to handle a percent repeat of this length.

2004-12-29 Thread Peter Chubb


After:
 \notes {
\repeat percent 4 { d8 a' d fisa d fis } % D
}

I see:

   warning: Don't know how to handle a percent repeat of this length.

although the output looks OK.



___
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: Percent repeat questions

2004-12-21 Thread Mats Bengtsson
Both look like bugs to me. The problems with grace notes are well-known.
   /Mats
Richard Schoeller wrote:
I've been running into some issues with percent repeats and want to see
if there are suggestions.
If you have a line that is completely percent repeats, then
RemoveEmptyStaffContext removes the line.  This gets me alot in ensemble
scores where the bass and percussion are repetive and the melody parts
are very busy.  Is there anyway to avoid this?
I would like to be able to specify percent repeats but have it
automagically unfold the measure at each new line.  This would be
similar to chordChanges = ##t for chord names.  Is there anything like
that?
The final thing is a bug.  And I have not been able to find a
workaround.  If one part has precent repeats and another part has
measures that begin with a grace note, then the percent repeats will be
mispositioned in the measures near the one with the grace note.  This
can even result in a percent repeat mark at the very beginning of the
line.
Thanks
   
   
   

Dick Schoeller
[EMAIL PROTECTED]
http://schoeller.ne.client2.attbi.com/
781.449.5476 

Er ist ein Narr, der
meint, es sei nicht
schad, das Kind
auszuschütten mit dem
Bad
- Thomas Murner 1512

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
 



___
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond