Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 05-05-2015, 11:10 AM   #1
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,771
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
AMAZING!!

I don't know where to post this but I just realized that ADE SUPPORTS widows and orphans and page-break-after: avoid. I did my test even with ADE 2.067532 and the properties WORK!

In order to enable widows and orphans I had to use the following statement:

Code:
p {
    widows: 2 !important;
    orphans: 2 !important;
}
After that I used:

Code:
p {
    widows: 1 !important;
    orphans: 1 !important;
}
and ADE -in both cases- respected the properties. Amazing! That means that ereaders based on RMSDK should also support widows, orphans and page-break-after: avoid.
RbnJrg is offline   Reply With Quote
Old 05-05-2015, 12:47 PM   #2
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
This is hardly news; ADE has always supported these properties . Happy to hear it's useful for you, though!
HarryT is offline   Reply With Quote
Old 05-05-2015, 12:48 PM   #3
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,625
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Hi Rubén

On Linux, I can't use ADE but of course, these are interesting news for ebook readers.

What I am also longing for would a reliable support for
Code:
page-break-inside:avoid
applied for example to a div.
roger64 is offline   Reply With Quote
Old 05-05-2015, 01:29 PM   #4
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,771
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by HarryT View Post
This is hardly news; ADE has always supported these properties . Happy to hear it's useful for you, though!
Well, I always had the belief that widows, orphans and page-break-after: avoid weren't supported by any ereaders. To me was a truly surprise to find that the buggy ADE supports those properties
RbnJrg is offline   Reply With Quote
Old 05-05-2015, 01:31 PM   #5
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,771
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by roger64 View Post
Hi Rubén

On Linux, I can't use ADE but of course, these are interesting news for ebook readers.

What I am also longing for would a reliable support for
Code:
page-break-inside:avoid
applied for example to a div.
Can you post a text where that property should be applied? Now I think that ADE could have support for that.
RbnJrg is offline   Reply With Quote
Old 05-05-2015, 01:33 PM   #6
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
A pleasant surprise for you, in that case . ADE has supported these attributes for many years, though.
HarryT is offline   Reply With Quote
Old 05-05-2015, 06:17 PM   #7
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,574
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by RbnJrg View Post
Can you post a text where that property should be applied? Now I think that ADE could have support for that.
Now, page-break-inside: avoid IS problematic. Both in theory and in practice. What constitutes an unavoidable page-break-inside? You have to know that before you can even test. Whatever the case, I don't believe ADE tries very hard before it decides the page-break-inside was "unavoidable."

I think most people want to be able to use "page-break-inside: avoid" to keep captions and images together on the same page: i.e. wrap them in a div that has "page-break-inside: avoid" applied. "page-break-inside: almost-never" would be better, IMO.

Last edited by DiapDealer; 05-05-2015 at 06:19 PM.
DiapDealer is online now   Reply With Quote
Old 05-06-2015, 01:31 PM   #8
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by DiapDealer View Post
Now, page-break-inside: avoid IS problematic. Both in theory and in practice. What constitutes an unavoidable page-break-inside? You have to know that before you can even test. Whatever the case, I don't believe ADE tries very hard before it decides the page-break-inside was "unavoidable."

I think most people want to be able to use "page-break-inside: avoid" to keep captions and images together on the same page: i.e. wrap them in a div that has "page-break-inside: avoid" applied. "page-break-inside: almost-never" would be better, IMO.
Yes. This is the primary place. That, and, if you have a book with a crapload of subheadings, or subheads that go with charts, tables, etc., being able to slap 'em in a div and keep them all together would be NICE. I don't think it's earth-shattering, BUT, lemme tell ya, from the perspective of one who has to explain "that's the way eBooks work" about 3-5x every. single. day., I'd really be QUITE grateful to at least be able to page-break-inside: never for images or tables and captions, if naught else.

Hitch
Hitch is offline   Reply With Quote
Old 05-06-2015, 02:59 PM   #9
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,625
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
I concur with all your comments.

Quote:
Originally Posted by RbnJrg View Post
Can you post a text where that property should be applied? Now I think that ADE could have support for that.
I will send you a MP. It's some floating images made out of two parts with text wrapped around. I put both parts of the image together within one div and gave it a class including this property.

I do not care if the full image is displayed on page A or page B but I do not wish to get the rider in page A and the horse in page B, so to speak.

Last edited by roger64; 05-06-2015 at 03:04 PM.
roger64 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Seriously thoughtful Amazing... Over Lounge 19 04-21-2010 03:24 PM
It's Amazing... banjobama Lounge 35 03-22-2010 12:23 PM
Amazing... GeoffC Lounge 4 08-03-2008 12:29 PM
This is amazing! MatchNL iRex 2 05-14-2008 05:17 PM
Its amazing JimCuk Sony Reader 7 01-05-2007 02:21 PM


All times are GMT -4. The time now is 12:19 PM.


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