Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to implement 'page break' in epub reader

Any idea how to implement 'page break' in epub reader? .epub is nothing but HTML pages, and epub reader renders those html pages. but i wonder how some epub readers like Adobe Digital Edition implemented page break. There,when we jump to any page, you will not find half displayed line(i.e only upper part of the letters visible and lower part will be in the next page) or half images where the other part in the next page. How to push the line to next page if i cannot display it completely in the current page?

like image 490
ganapati Avatar asked May 11 '10 07:05

ganapati


People also ask

How do I separate pages in EPUB?

First, right-click on the epub file you want to split and select the EpubSplit icon on the toolbar. Second, highlight the sections you want to split and click New Book(make one new book containing the sections selected above). The new book has been created and default metadata filled in.

Do ebooks have page breaks?

Add page breaks Place your cursor where you want your page to end. Go to the Insert tab. Click Page Break.

What is Page Break printing?

Page breaks are dividers that break a worksheet into separate pages for printing. Microsoft Excel inserts automatic page breaks based on the paper size, margin settings, scale options, and the positions of any manual page breaks that you insert.


1 Answers

In the underlying html, you can put something like this:

<span style="page-break-after: always" />
like image 50
Blorgbeard Avatar answered Oct 19 '22 23:10

Blorgbeard