Le mardi 11 août 2009 à 15:44 +0200, John Mandereau a écrit : > It looks like a grob suicides in Documentation/snippets/incipit.ly, as I > get the backtrace below when issuing 'make doc'. I suspect a check for > SCM_UNSPECIFIED should be added either in the override in incipit.ly or > in system-start-text::calc-y-offset definition, unless there should be > no grob suicide, but then I have no clue.
Getting the Y-offset of InstrumentName seems to be really needed in this particular snippet; I'll probably push the dirty fix below to be able to complete the docs build (plus a FIXME in the texidoc) until this snippet is really fixed. diff --git a/Documentation/snippets/incipit.ly b/Documentation/snippets/incipit.ly index 3501ce2..df6d54b 100644 --- a/Documentation/snippets/incipit.ly +++ b/Documentation/snippets/incipit.ly @@ -29,7 +29,12 @@ incipit = \once \override Staff.InstrumentName #'self-alignment-Y = #UP \once \override Staff.InstrumentName #'Y-offset = #(lambda (grob) - (+ 4 (system-start-text::calc-y-offset grob))) + (let ((y-offset (system-start-text::calc-y-offset grob))) + (if (number? y-offset) + (+ 4 y-offset) + (begin + (ly:warning "grob committed suicide: ~a" grob) + 4)))) \once \override Staff.InstrumentName #'padding = #0.3 \once \override Staff.InstrumentName #'stencil = #(lambda (grob) -- John Mandereau <john.mander...@gmail.com>
signature.asc
Description: Ceci est une partie de message numériquement signée
_______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel