lilypond-devel
[Top][All Lists]
Advanced

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

Re: [patch] top level page breaking directives


From: Nicolas Sceaux
Subject: Re: [patch] top level page breaking directives
Date: Sun, 06 May 2007 10:39:45 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin)

Joe Neeman <address@hidden> writes:

> It would be nice if this generalised to having \forcePageTurn and 
> \forbidPageTurn commands. The problem is that you always set 
> page-break-permission and page-turn-permission together. That means that 
> something like \forbidPageTurn \forcePageBreak will never work because 
> \forcePageBreak will set page-turn-permission, overriding everything that 
> \forbidPageTurn does.
>
> Maybe a solution is to define Page_marker to have
>
> SCM symbol_;
> SCM permission_;
>
> where symbol_ is either 'page-turn-permission or 'page-break-permission and 
> permission_ is the actual permission (and set_page_permissions would be 
> modified to take a symbol and a permission instead of 2 permissions). Then 
> you can set only one without affecting the other.

You're right. I was midly convinced by this "always set the two
permssions" approach, however without finding a case where it would
actually be a problem. I'm working on the fix you propose.

nicolas




reply via email to

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