Joerg Anders writes:

> What happens if 2 rules match ? 
>
> For instance in scm/auto-beam.scm:
>
>       ((end * * 4 4) . ,(ly:make-moment 1 2))
>               ...
>       ((end 1 16 4 4) . ,(ly:make-moment 1 4))

The most specific wins, in this case 1 16 4 4)

> What's the rule over rules ?
>
>       a.) The last matching rules is applied ?
>
>       b.) The most precise rule is applied ?


b.)

Btw, if you find something better, you'll let us know, right?

Jan.


see lily/auto-beam-engraver.cc:

/*
  Determine end moment for auto beaming (or begin moment, but mostly
  0==anywhere) In order of increasing priority:
  
  i.   begin anywhere, end at every beat
  ii.  end   *    <num> <den>
  iii. end <type> <num> <den>
  
  iv.  end   *      *     *
  v.   end <type>   *     *
  
  
  Rationale:
  
  [to be defined in config file]
  i.   easy catch-all rule
  ii.  exceptions for time signature
  iii. exceptions for time signature, for specific duration type
  
  [user override]
  iv.  generic override
  v.   override for specific duration type
  
*/


-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org



_______________________________________________
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user

Reply via email to