bug-lilypond
[Top][All Lists]
Advanced

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

Re: after \once \set fingeringOrien tations… Lilypond falls back to #up


From: -Eluze
Subject: Re: after \once \set fingeringOrien tations… Lilypond falls back to #up
Date: Mon, 4 Jul 2011 04:22:25 -0700 (PDT)


Dmytro O. Redchuk-2 wrote:
> 
> On Mon 04 Jul 2011, 01:43 -Eluze wrote:
>> the code 
>> 
>> \relative {
>>   \set fingeringOrientations = #'(left)
>>   < e -1>1 |
>>   \once \set fingeringOrientations = #'(right)
>>   < e -1> |
>>   < e -1> |
>> }
>> 
>> produces 
>> http://old.nabble.com/file/p31987692/chord%2Bfingering%2Bsmall.jpg 
>> 
>> 
>> imo the fingering in the 3rd "chord" should be at the left of the note.
>> the way it works now the use of \once is needless because you must reset
>> the
>> fingeringOrientation to whatever you had defined before!
> As far as I can see, "\once \set" actually  does "\set and then \unset".
> Very
> probably this is exactly what it should to do.
> 
> So, this is rather an issue and should be documented?
> 
> I would add this to this, at the very bottom:
> http://lilypond.org/doc/v2.14/Documentation/notation/the-set-command
> 
> Please, anyone? Any other thoughts?
> 
nimo - \once \set should not fall back on a prefattory setting while \unset
should.

or is there an easy way to redefine the initial setting of the
fingeringOrientations per voice?

you can set:

\layout {
  \context {
    \Score 
    fingeringOrientations = #'(right)
} }

but then this is the default for all voices!

and the behavior of \override is different:

take for example

\relative { 
  \override NoteHead  #'color = #blue
  \set fontSize = #-5
  c4 c4
  \once \set fontSize = #5
  c4
  \once \override NoteHead  #'color = #green
  c4 |
  \override NoteHead #'font-size = #-5
  c4 c4
  \once \override NoteHead #'font-size = #5
  c4
  \once \override NoteHead  #'color = #green
  c4
}

http://old.nabble.com/file/p31988701/override%2B%252B%2Bset.png 
where the last note head has the font size as overriden before! this
beahvior applies to the color override, too.

thanks
Eluze

btw: writing fingeringOrientations = #'right brings Lilypond to crash!
-- 
View this message in context: 
http://old.nabble.com/after-%5Conce-%5Cset-fingeringOrientations%E2%80%A6-Lilypond-falls-back-to--up-tp31987692p31988701.html
Sent from the Gnu - Lilypond - Bugs mailing list archive at Nabble.com.




reply via email to

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