Author Topic: Uneven page numbers  (Read 984 times)

MPete

  • Full Member
  • ***
  • Posts: 62
Uneven page numbers
« on: November 15, 2009, 07:57:02 AM »
I've noticed when I have a book with uneven numbers it forces an even number of pages (I guess to make it a complete book).

Is there a workaround to have uneven pages - I guess the first page can be a two page spread (ie no cover) otherwise can we end it on a two page spread and lock the last page flip revealing the blank back page?

Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1342
  • MegaZine3 Developer
    • MegaZine3
Re: Uneven page numbers
« Reply #1 on: November 15, 2009, 11:08:19 PM »
Yes, there'll always be an additional page added to make the total number even (for technical reasons).

To work around that you can use the pagebackground (previously prepage and postpage), which is a container in which you can define ASUL elements which is positioned behind behind the pages, with its origins at the top left of the left page. So to add the inside of a virtual book cover to the left try this:
Code: (xml)
  1. <book>
  2.    <pagebackground>
  3.        <box width="pagew" height="pageh" background="image(data/cover_front_inside.jpg)"/>
  4.    </pagebackground>
  5. </book>
For the Snark was a Boojum, you see.

Before you ask a question
          After you get an answer
  • please document your problem with the answer in the Project Wiki. (e.g. in the FAQs)
  • help others out if you can, by answering their questions on the forum.