On 22 November 2010 21:00, Reinhold Kainhofer <[email protected]> wrote:

> However, if the \bookpart contains a \markup, then LilyPond will crash. Simple
> sample file is attached.

The same happens for page-markers (i.e., \break, \pageBreak, \label, etc.):

mypart = \bookpart {
  \label #'foo
}

% also crashes
\bookpart { \mypart }

It seems that when a book is cloned, the copy constructor assumes all
elements in the original book to be scores, which is unsafe: the
elements can also be markup or page-markers:

#(display (ly:score? (car (ly:book-scores mypart))))

-> #f

Cheers,
Neil

_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to