Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 04-02-2015, 03:07 AM   #1
Welblaud
Junior Member
Welblaud began at the beginning.
 
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.)
Welblaud is offline   Reply With Quote
Old 04-02-2015, 03:40 AM   #2
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
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...
Toxaris is offline   Reply With Quote
Advert
Old 04-02-2015, 09:41 AM   #3
Welblaud
Junior Member
Welblaud began at the beginning.
 
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.
Welblaud is offline   Reply With Quote
Old 04-02-2015, 01:15 PM   #4
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
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
DaleDe is offline   Reply With Quote
Old 04-02-2015, 01:24 PM   #5
jbacelar
Interested in the matter
jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.
 
jbacelar's Avatar
 
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;
}
XHTML
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>
jbacelar is offline   Reply With Quote
Advert
Old 04-03-2015, 01:03 AM   #6
Welblaud
Junior Member
Welblaud began at the beginning.
 
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.
Welblaud is offline   Reply With Quote
Old 04-03-2015, 04:29 PM   #7
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
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.
eschwartz is offline   Reply With Quote
Old 04-04-2015, 11:21 AM   #8
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
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:
Originally Posted by eschwartz View Post
Because Apple needs more flashy products to sell.
How does this suddenly become Apple bashing? There was no mention of a problem with Apple. the problem was stated to be with ADE. Oh, I get it. They both start with the same letter so its Apple's fault.

Dale
DaleDe is offline   Reply With Quote
Old 04-04-2015, 12:26 PM   #9
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
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:
Originally Posted by Welblaud View Post
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).
And that is Apple's fault. They pushed hard for this for their iBooks platform and is one of the reasons of the sad state of ePUB3. Instead of fixing the things of ePUB2 that were missing or not working right for BOOKS, they went off on flashy things.
Toxaris is offline   Reply With Quote
Old 04-04-2015, 07:31 PM   #10
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
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:
Originally Posted by Toxaris View Post
Dale, eschwartz reacted on this remark:



And that is Apple's fault. They pushed hard for this for their iBooks platform and is one of the reasons of the sad state of ePUB3. Instead of fixing the things of ePUB2 that were missing or not working right for BOOKS, they went off on flashy things.

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
DaleDe is offline   Reply With Quote
Old 04-05-2015, 06:14 AM   #11
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
Quote:
Originally Posted by DaleDe View Post
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
That is my invariable approach, though I include the caption. If that forces the caption onto a page of its own, so be it.
Notjohn is offline   Reply With Quote
Old 04-05-2015, 02:11 PM   #12
Welblaud
Junior Member
Welblaud began at the beginning.
 
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
Welblaud is offline   Reply With Quote
Old 04-06-2015, 12:30 AM   #13
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
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:
Originally Posted by Toxaris View Post
Dale, eschwartz reacted on this remark:



And that is Apple's fault. They pushed hard for this for their iBooks platform and is one of the reasons of the sad state of ePUB3. Instead of fixing the things of ePUB2 that were missing or not working right for BOOKS, they went off on flashy things.
This.

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.
eschwartz is offline   Reply With Quote
Old 04-06-2015, 01:55 AM   #14
Welblaud
Junior Member
Welblaud began at the beginning.
 
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.
Welblaud is offline   Reply With Quote
Old 04-09-2015, 03:11 PM   #15
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,784
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Welblaud View Post
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.
The distributors force these things.

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
theducks is online now   Reply With Quote
Reply

Tags
epub, image, page breaks


Forum Jump

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


All times are GMT -4. The time now is 09:05 PM.


MobileRead.com is a privately owned, operated and funded community.