Ever since Sony/Adobe released this update, I've been working on improving the output on Feedbooks. First I fixed the issue with the metadata, and yesterday, I did some work on the margins and chapter headers.
For the chapter headers: previously, they were designed purely with sizes in em. This caused a few problems: with a very large font, the numbers couldn't be displayed on the same line and it pushed the title of the chapter to the right. Since this graphic element doesn't necessarily need to scale like the rest of the text, I moved this element from em to px. It'll always be displayed at the same size from now and should fix all the problems.
Margins are a different issue. In CSS, I can't control the top or bottom margin of a page (I need to CSS3 paged media module for this). Because of this, I decided to add an Adobe extension to all files on Feedbooks, with default values for the margin and multi-column display. Now, the problem is with those little numbers displayed on the right. If I add a CSS margin, they're displayed in the margin. But if I add a margin using XSL-FO (XPGT) they're displayed in the text area, rather than the margin, and they may be displayed over the text sometimes.
Here's an example of an upgraded file (not online on Feedbooks yet). I don't know how I'll solve the margins problem yet, I must say that this number on the right column is pretty annoying and useless (we already got the page number at the bottom of the screen anyway).
|