lilypond-devel
[Top][All Lists]
Advanced

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

StaffGrouper vs. VerticalAxisGroup: syntax inconsistencies


From: Werner LEMBERG
Subject: StaffGrouper vs. VerticalAxisGroup: syntax inconsistencies
Date: Wed, 30 Dec 2009 06:35:47 +0100 (CET)

Folks,


why can I say

  \new PianoStaff \with {
    \override StaffGrouper
      #'between-staff-spacing #'minimum-distance = #20
  } ...

but not

  \new Staff \with {
    \override VerticalAxisGroup
      #'next-staff-spacing #'minimum-distance = #20
  } ...

?

The latter gives this warning:

  warning: type check for `next-staff-spacing' failed;
  value `((minimum-distance . 12) .
          #<primitive-procedure 
ly:axis-group-interface::calc-next-staff-spacing>)'
    must be of type `list'

I would like to use former syntax form for the latter too, and it
seems to be a real syntax inconsistency since both the
`between-staff-spacing' and `next-staff-spacing' lists contain the
same elements.


     Werner




reply via email to

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