Friday, June 4, 2010

iPads and breaking pages for sure

If you read our recent blog post about page breaks in eBooks, you know how to make sure that your eBooks have page breaks at the desired locations. All you need to do is to add manual page breaks at the appropriate locations in your source documents in Atlantis before saving them as EPUB files.

Now whenever you save a document as eBook in Atlantis, the manual page breaks in that document are saved to the corresponding eBook file using the "page-break-before: always" CSS attribute.

Until recently, this CSS attribute was supported and correctly rendered by all major eBook readers. In this way, all eBooks created in Atlantis displayed correctly in eBook readers: the page breaks present in the original documents were also present in the corresponding eBooks when viewed in the current eBook readers.

But as you know, a new tablet computer from Apple – the iPad – has recently hit the markets. iPads can be used as eBook readers. Now it so happens that iPads do not create page breaks in the text flow when they encounter a "page-break-before: always" CSS attribute. So as things stand, your eBooks will most likely display as a continuous flow of text on the iPads even if you designed them to have page breaks between their "chapters", for example.

To solve this conundrum, the next release of Atlantis Word Processor will save page breaks to eBooks differently, i.e. in a way supported by all major eBook readers, including the iPad. Atlantis will create a new XHTML file within the eBook package whenever it finds a page break in the original document. This is because all eBook readers automatically display a page break between neighboring XHTML files found in EPUB packages. There will be more XHTML files within the EPUB packages created by Atlantis, but the page breaks saved to EPUBs in this way will be displayed as such by all eBook readers, irrespective of whether they support or don't support the "page-break-before: always" CSS attribute.

To sum up, all you'll have to do in order to have page breaks saved in this new way in your eBooks, will be to save or resave your original documents as eBooks in any next version of Atlantis.

2 comments:

Anonymous said...

Congratulations for your work ! I have just a quastion: when do you think it will be included in Atlantis ?
Marc

Atlantis Word Processor Team said...

A new maintenance build of Atlantis Word Processor will be available for download from the Betatesting page of the Atlantis site in the next few days.