Werner LEMBERG <w...@gnu.org> writes:

> Folks,
>
>
> why are variable assignments not allowed in \bookpart?  For example,
> this snippet
>
>   \bookpart {
>     APT = \allowPageTurn
>
>     { c'' }
>   }
>
> fails.  In case this is just an omission, can it be fixed easily?

Well, as far as I can see, assignments are also not allowed in books.
And the reason mostly would be that books and bookparts don't have scope
of their own (apart from book's \paper block).  So even if it were
allowed, it would end up just the same as a global assignment outside of
the book/bookpart.

Do you have a particular use case in mind?

-- 
David Kastrup

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to