04-02-2015, 03:07 AM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: Nov 2014
Location: Husinec-Řež (Czech Republic)
Device: kindle, software readers
|
page-break attribute reliability (support)
Hi all,
I would like to know which is your best practice when using page-break attributes. I need it really often and again and again I am desperate because of it. I would not think this feature could be something difficult to implement in readers. (So, why the Hell, it does not work properly so often?). For example, how would you hard code an image/figure which has to be full page in the middle of the paragraphs’ flow? paragraph full-page image paragraph I would expect it is really simple, the div/figure element including the image inside should have attributes page-break-before as well as page-break-after. According to my experiences, this won’t work as expected. For example ADE, Azardi as well as ePubreader for Firefox won’t break pages properly. Any brilliant solutions? (Ok, the one of splitting text and image into a separate file does not count.) |
04-02-2015, 03:40 AM | #2 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
You already give the solution yourself...
|
Advert | |
|
04-02-2015, 09:41 AM | #3 |
Junior Member
Posts: 5
Karma: 10
Join Date: Nov 2014
Location: Husinec-Řež (Czech Republic)
Device: kindle, software readers
|
Thanks, this is rather sad answer… I don’t understand why this simple feature works only time by time (in older ADE versions it worked, now it is broken). Isn’t this important in the same way like working TOC is? The splitting solution is usable maybe for two or four big images in a book for children but what about, let’s say, genuine supplemental gallery of medicine scans in a serious scientific work? In such a case the splitting solution sounds to me a bit idiotic
Without it, are we allowed to talk about e-BOOKs? Books, no matter how much “imaginary” or “virtual“, should work with a concept of pages, shouldn’t they? Last edited by Welblaud; 04-02-2015 at 09:47 AM. |
04-02-2015, 01:15 PM | #4 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
One solution would be to put the image on a different file that only references the picture. there is always a page break on file changes. I generally find that I don't need to do this on books I have made but it will work.
Dale |
04-02-2015, 01:24 PM | #5 |
Interested in the matter
Posts: 421
Karma: 426094
Join Date: Dec 2011
Location: Spain, south coast
Device: Pocketbook InkPad 3
|
What I use, and it works correctly in ADE 1.7, 2, and 4.
CSS Code:
div.foto-svg { text-align: center; margin-top: 1em; } Code:
<div class="foto-svg"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="100%" height="100%" viewBox="0 0 x y" preserveAspectRatio="xMidYMid meet"> <image width="x" height="y" xlink:href="../Images/image.jpg"/> </svg> </div> |
Advert | |
|
04-03-2015, 01:03 AM | #6 |
Junior Member
Posts: 5
Karma: 10
Join Date: Nov 2014
Location: Husinec-Řež (Czech Republic)
Device: kindle, software readers
|
Thank you for the tips!
I give in! The basic feature which should work since the CSS version 2.1 seems to have lower importance like other important features typical for books (orphans, widows). Frankly, this pi.. me off. This is probably because of the web-based nature of ebooks—developers like to invent (from the reader’s point of view) nonsenses like media overlays or audio, ruby, video, invisible red piglets support but such basic things like better typography support keep them calm With this on mind I am wondering how long we would wait for the support of other important things of newer CSS version (-epub-hyphens and so on). Last edited by Welblaud; 04-03-2015 at 01:08 AM. |
04-03-2015, 04:29 PM | #7 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Because Apple needs more flashy products to sell.
|
04-04-2015, 11:21 AM | #8 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
|
04-04-2015, 12:26 PM | #9 | |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Dale, eschwartz reacted on this remark:
Quote:
|
|
04-04-2015, 07:31 PM | #10 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Well, perhaps, but there are plenty of others to share the blame with. Apple was not alone and Apple's iBook reader doesn't even support the ePub 3 standard very well. Dale |
|
04-05-2015, 06:14 AM | #11 |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
That is my invariable approach, though I include the caption. If that forces the caption onto a page of its own, so be it.
|
04-05-2015, 02:11 PM | #12 |
Junior Member
Posts: 5
Karma: 10
Join Date: Nov 2014
Location: Husinec-Řež (Czech Republic)
Device: kindle, software readers
|
Thanks again, maybe the right decision is to design the layout in the way it won't rely on the full page illustrations. Most of readers are able to zoom. It is slightly resigned attitude but results is what counts here. It would be great to have a kind of central point for sending official complaints
|
04-06-2015, 12:30 AM | #13 | |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
And I don't see why it matters that Apple doesn't follow the spec -- that isn't what they cared about, I would guess. They just want ebooks to be visualized a certain way. The specs are useful to them, insomuch as it requires people to act more like Apple. |
|
04-06-2015, 01:55 AM | #14 |
Junior Member
Posts: 5
Karma: 10
Join Date: Nov 2014
Location: Husinec-Řež (Czech Republic)
Device: kindle, software readers
|
This probably needs starting from the ground. It needs more readers disliking poor quality of books and constantly complaining to retailers. Only retailers > publishing houses > e-book creators are those really responsible. And of course, those last, WE, are those who should fight against the problem as hard as possible! And our only weapon are books of the highest quality.
Last edited by Welblaud; 04-06-2015 at 02:03 AM. |
04-09-2015, 03:11 PM | #15 | |
Well trained by Cats
Posts: 30,402
Karma: 58055234
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Not the Publisher or Author who are many times fighting to get it their way only to be overruled by lame input validation or site specific (and extra-standard) specs Apple makes beautiful hardware, but they are a big Bully |
|
Tags |
epub, image, page breaks |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
blank TOC page - attribute 'link' not declared for element 'body' | wyatt650 | Sigil | 4 | 04-18-2013 01:41 PM |
Narrow No-Break Space and commercial support. | roger64 | ePub | 8 | 09-04-2012 01:08 PM |
iPad Page Break Doesn't support iPad? | bala07 | Apple Devices | 9 | 11-10-2010 07:21 AM |
ADE support for attribute-value based selectors? | dmapr | ePub | 0 | 08-06-2010 05:57 PM |
Page break before <b> | flowoeB | Calibre | 14 | 04-12-2009 03:05 PM |