bug-lilypond
[Top][All Lists]
Advanced

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

Re: ly:grob-system not working as expected


From: David Kastrup
Subject: Re: ly:grob-system not working as expected
Date: Wed, 03 Jul 2013 07:20:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Mark Polesky <address@hidden> writes:

> Compiling this file displays "#<Grob System >" on the stdout:
>
>
> {
>   \tweak before-line-breaking
>     #(lambda (grob)
>        (let* ((NoteColumn  (ly:grob-parent grob X)) 
>               (PaperColumn (ly:grob-parent NoteColumn X)) 
>               (System      (ly:grob-parent PaperColumn X)))
>        (display System)))
>   c'' 
> }
>
> I expected this to do the same, but instead it prints "()".
>
> {
>   \tweak before-line-breaking
>     #(lambda (grob) (display (ly:grob-system grob)))
>   c'' 
> }
>
> Am I missing something?  Or is ly:grob-system broken?

ly:grob-system only returns the system after is has been set in the
PaperColumn which is after line breaking.  What you see as #<Grob
System > above is a single system encompassing the entire score.

-- 
David Kastrup




reply via email to

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