Le 2 oct. 09 à 14:02, Valentin Villenave a écrit :

On Wed, Sep 30, 2009 at 9:41 PM, Xavier Scheuer <x.sche...@gmail.com> wrote:
%% Docs: A staff is considered empty when it contains only multi- measure
%% rests, skips, spacer rests, or a combination of these elements."
%%
%% But because a \partial rest is not one of these elements it prevents %% \override VerticalAxisGroup #'remove-first = ##t to work if the first
%% empty staff begin, for example, with \partial 16 r16

   \new Staff {
     \partial 16 r16 |  % doesn't work
                        % works if we use \partial 16 s16

Indeed. Non-capitalized rests make a measure to be regarded as
non-empty, even when it's a partial measure.

%%%
%%% The following hack make regular rests hara-kiri-able
%%%
#(let* ((rest-def (assoc 'Rest all-grob-descriptions))
         (meta-def (assoc 'meta (cdr rest-def)))
         (interfaces-def (assoc 'interfaces (cdr meta-def)))
         (interfaces (filter (lambda (interface)
(not (eqv? interface 'rhythmic-grob- interface)))
                             (cdr interfaces-def))))
   (set-cdr! interfaces-def interfaces))




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

Reply via email to