Joe Neeman <[EMAIL PROTECTED]> 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


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

Reply via email to