Found a way to fix this: margin left/right in CSS, margin top/bottom in XPGT/XSL-FO. You'll notice that you MUST include a margin otherwise, you'll get display problems with the page numbers.
This highlight both problems with the current ePub standard, and with DE:
- ePub needs some standard way to control the layout of a page. I would recommend the paginated and generated content for paginated media modules in CSS3.
- DE should avoir displaying the page numbers, and the integration between XPGT and CSS should be better. You can crash your reader if you use oeb-column-number along with XPGT.
I've included an updated version of the template with this post.
|