Hi Kieren,
On 10/01/13 18:24, Kieren MacMillan wrote:
> Hi all,
> 
> Is there a way to force a bookpart to start on a left-hand page?
> (i.e., to leave a blank page if necessary)
> 
There's no direct way of doing this easily at the moment.  I think this
is worth forwarding to the bugs list as an enhancement request, probably
getting hold of

\on-the-fly \fromproperty header:first-page-number and
working out the current page and wrapping these up as recto? and verso?
predicates, so you could do some scheme-function type stuff

forcelefthandpage = #(define-scheme-function ( layout )
  (let*  ((current-page (<stuff to get hold of current output page>))
         (fpageprop (<get hold of header first page>))
         (thepageno (- current-page fpageprop)))
        (if (even? thepageno)
        (#{ \pagebreak
            \markup {\null} #})) ) )

Probably we could supply builtin recto? and verso? predicates so this
could be simplified to

(if (recto?)
        (#{...#}))

Cheers, Ian

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

Reply via email to