10-26-2014, 01:17 AM | #1 |
Wizard
Posts: 3,413
Karma: 13369310
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet
|
Marvin, iOS8, and page breaks
Ever since I installed iOS8.1 on my iPad mini a couple of days ago I find that page break before and page break after do not work on ePub ebooks I have designed - an example is
Right at Last and Other Tales by Elizabeth Gaskell in the MobileRead library. I uploaded this ebook before the recent iOS 'upgrade' and the page breaks worked then, and they still work on a Sony T3, Kobo Touch, Nexus 7 with Mantano, and upgraded Kindle keyboard. And the page breaks still work as expected on my iPad mini with iBooks and with Bluefire using iOS8.1 I design my ebooks by hand, and the HTML files and CSS validate to W3C standards; and the ePub validates with ePub-Checker. Has anyone else seen this? The ebook I quoted above is quite small; could someone who has 'upgraded' to iOS8.1 please download it and check whether the page break problems occur on their iPad? You'll be able to tell quite easily: if the problem is present the ToC will show just below the cover and the Introduction will show just below the ToC instead of them being on separate pages. Last edited by AlexBell; 10-26-2014 at 01:19 AM. Reason: typo |
10-26-2014, 05:09 AM | #2 |
Addict
Posts: 1,215
Karma: 1836966
Join Date: Feb 2010
Location: Malta, Europe
Device: Marvin for iOS
|
You are right (I mentioned it in the release notes for version 2.8). You may have noticed that in the previous versions of Marvin on iOS 8, many books were taking an incredible amount of time to open and switch chapers. Some times this was in the order of minutes. I tracked down the problem to instructing iOS 8 WebKit to honour page breaking. I picked the lesser of two evils until I either find a workaround or realise there isn't one.
|
10-26-2014, 05:35 PM | #3 |
Wizard
Posts: 3,413
Karma: 13369310
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet
|
Thanks, Kris. I appreciate your prompt response, and hope you can find a fix. I certainly would hate to lose Marvin, but because of the often idiosyncratic structure Elizabeth Gaskell and Wilkie Collins use in their books it would be very hard to design ebooks by them without page breaks.
PS Could you suggest a CSS based workaround for the time being? I can remember the time when one had to use <span></span> to get ePubs to work on iPads. Last edited by AlexBell; 10-26-2014 at 05:39 PM. |
10-27-2014, 07:54 AM | #4 |
Addict
Posts: 1,215
Karma: 1836966
Join Date: Feb 2010
Location: Malta, Europe
Device: Marvin for iOS
|
I don't know of one that would have the same effect. I'd actually welcome and feedback I can get about this. This is the problem: for any non-trivial amount of text setting the following:
webkitColumnBreakAfter='always', and webkitColumnBreakBefore='always' ...makes everything incredibly slow. Note that I'm apply these iff pageBreakAfter and pageBreakBefore are set. |
10-28-2014, 12:00 AM | #5 | |
Wizard
Posts: 3,413
Karma: 13369310
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet
|
Quote:
I generally use page break before to start a new 'chapter' in a short story. The CSS is: .portion { page-break-before:always; text-indent:0; text-align:center; font-size:138%; margin:0; padding:20px 0 10px 0;} p.portion+p {text-indent:0; } and the HTML is something like: <p class="portion">Chapter 2</p> Is this what you mean? |
|
10-28-2014, 07:50 PM | #6 |
Wizard
Posts: 3,413
Karma: 13369310
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet
|
I forgot to mention yesterday that I don't see any 'incredibly slow' problem when reading the same ebook on the same iPad with iOS8.1 using iBooks or Bluefire. Neither is anywhere near as good as Marvin as an ebook reader, but they honour page breaks without problem.
|
11-07-2014, 04:31 AM | #7 |
Wizard
Posts: 3,413
Karma: 13369310
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet
|
Any progress with this problem? I can't read the ebooks I design on Marvin, and miss it.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Marvin skipping to next chapter not next page | tillsbury | Marvin | 14 | 02-02-2014 08:41 AM |
Marvin 2.1.5 starts and ends every chapter with a blank page | Clark G. Flipper | Marvin | 3 | 09-30-2013 05:53 AM |
Page Breaks etc | genfind | General Discussions | 6 | 02-24-2012 02:20 PM |
epub to mobi h1 page breaks not starting on new page | wannabee | Conversion | 4 | 08-02-2011 12:46 AM |
Adding page breaks in Calibre breaks ePubcheck validation | bookraft | Conversion | 16 | 03-01-2011 01:23 PM |