[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: force bookpart to start on left-hand page?
From: |
Ian Hulin |
Subject: |
Re: force bookpart to start on left-hand page? |
Date: |
Wed, 03 Apr 2013 11:52:52 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130308 Thunderbird/17.0.4 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: force bookpart to start on left-hand page?,
Ian Hulin <=