Re: whole page rotated

2014-03-04 Thread Shane Brandes
Not sure this is all helpful but any value between 135 and 235 is
causing the whole page to rotate.

On Tue, Mar 4, 2014 at 2:05 PM, Thomas Morley thomasmorle...@gmail.com wrote:
 2014-03-04 19:19 GMT+01:00 Karol Majewski karo...@wp.pl:
 Hi,

 In the following code, I want to rotate custom note head. To my suprise, 
 this code makes the whole page rotated if there is a line break. What I'm I 
 doing wrong?

 #(define nhg
 (lambda (grob)
   (if
 (= 2
   (ly:grob-property grob 'duration-log))
 (begin
   (let*
 ((stem
 (ly:grob-object grob 'stem))
   (stem-dir
 (ly:grob-property stem 'direction))
   (rot
 (if
   (= stem-dir 1) 0 180)))
 (ly:grob-set-property! grob 'stencil
   (grob-interpret-markup grob
 (markup #:rotate rot #:musicglyph noteheads.u2doThin

 \layout {
   \context {
 \Staff
 \override NoteHead.stencil = #nhg
   }
 }

 {
   c''4 c''4 c''4 c''4
   c''4 c''4 c''4 c''4
   c''4 c''4 c''4 c''4
   c''4 c''4 c''4 c''4
   c''4 c''4 c''4 c''4
   c''4 c''4 c''4 c''4
   c''4 c''4 c''4 c''4
   c''4 c''4 c''4 c''4
   c''4 c''4 c''4 c''4
   c''4 c''4 c''4 c''4
   c''4 c''4 c''4 c''4
   c''4 c''4 c''4 c''4
   c''4 c''4 c''4 c''4
   c''4 c''4 c''4 c''4
   c''4 c''4 c''4 c''4
   c''4 c''4 c''4 c''4
 }




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

 Hi Karol,

 I've no idea what happens here.
 Below a tiny code triggering the same bug.
 It's present as far as I can go back, i.e. 2.12.3 up to 2.19.1

 {
   \override NoteHead #'rotation = #'(180 0 0)
   \repeat unfold 80 c''4
 }

 I cc-ed the bug-list.

 Cheers,
   Harm

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

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


Re: Accidental and clef change issue

2011-01-06 Thread Shane Brandes
I think the rule is thus. Clefs shall have no effect on accidentals
and therefore notes after the clef change are altered by courtesy
accidentals for ease of legibility or where the note occurs in a
different octave which requires, in strict notation, its own
accidental. On the reasoning that they, clefs, simply define where the
pitches fall on the staff and no other information. I am pretty sure I
have read that somewhere more authoritative than my cluttered head or
the internets, but can't unfortunately cite the actual book.


Shane

On Wed, Jan 5, 2011 at 9:12 PM, Reinhold Kainhofer
reinh...@kainhofer.com wrote:
 Am Dienstag, 28. Dezember 2010, um 15:44:22 schrieb Reinhold Kainhofer:
 Am Dienstag, 28. Dezember 2010, um 15:14:05 schrieb David Kastrup:
  Reinhold Kainhofer reinh...@kainhofer.com writes:
   I would be great, though, if anyone can find a published example of
   such a situation (most likely in e.g. cello/bassoon parts/scores,
   which frequently switch between bass and tenor clef).
 
  Edition Peters, piano excerpt by Brissler from Mozart Requiem,
  Confutatis.  The g in the corni di bassotto entry is not even in the
  same octave, and still gets a natural.

 Also, in the Bärenreiter piano reduction of Bach's Christmas oratorio,
 measure 7 of the Choral Nr. 23 (Wir singen dir), p.72 of Bärenreiter BA
 5014a.


 There is a dis' in treble clef, followed by a d in bass clef. That d gets a
 natural cancellation.

 I have now also looked at several cello parts of my girlfriend. For example,
 in Dvorak's cello concerto (1955, Schott edition, Revision by Enrico Mainardi)
 there is the following image (notice the e natural after the clef with the e
 flat before the clef):
 http://picasaweb.google.com/lh/photo/RILU4L-9yytXkwELD607_FgxyXiAQ8P3wVPB2tHCMdU?feat=directlink

 Also, in Schumann's cello concerto there is the following measure (the last
 measure in the image has two d, where the natural is repeated after the
 clef!):
 http://picasaweb.google.com/lh/photo/A1Nm3cUd0o4W28xaJx001VgxyXiAQ8P3wVPB2tHCMdU?feat=directlink

 So, it seems there is no clear rule that a clef cancels all accidentals in the
 current measure so far. But most of the time, the accidental is given as some
 kind of cautinary/courtesy accidental.

 Cheers,
 Reinhold
 --
 --
 Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/
  * Financial  Actuarial Math., Vienna Univ. of Technology, Austria
  * http://www.fam.tuwien.ac.at/, DVR: 0005886
  * LilyPond, Music typesetting, http://www.lilypond.org

 ___
 lilypond-user mailing list
 lilypond-u...@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


multimeasure rest bug?

2009-03-24 Thread Shane Brandes
Hello,

  I have found a peculiar thing concerning multi measure rests. In trying to use
R1 to center a full rest in a partial bar of a piece the rest disappears when R1
is used as R1*1/4 in order to create the correct duration of the rest.  
Below is the relevant snippet. 

\version 2.12.0

global = {
  \key c \major
  \time 3/4
}

right = \relative c'' {
  \global
  \override Staff.TimeSignature #'style = #'mensural
 \partial 4*1
 a4*1/4 g f g 
 \bar: 
 a2*1/4 a b c b1*1/4 a g2*1/4 f1*1/4 e2*1/4
}

left = \relative c' {
  \global
  \override Staff.TimeSignature #'style = #'mensural
 R1*1/4 d2*1/4 d d a g a  c  b1*1/4 a  c2*1/4
}


\score {
  
\new PianoStaff \with {
  instrumentName = Organ
} 
  \new Staff = right\right
  \new Staff = left  \left}



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