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-02-2016, 08:13 PM   #31
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by Jim Chapman View Post
Regarding the 'right' way to represent vertical space in epub files ...
Whether it's the 'right' way or the 'wrong' way, the unfortunate reality is that a large percentage of retail epubs (at least 50% in my experience) do use the 'empty paragraph' method for creating vertical space. So anyone creating reading apps for the general public needs to display them correctly.
jackie_w is offline   Reply With Quote
Old 05-02-2016, 09:03 PM   #32
Ripplinger
350 Hoarder
Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.
 
Ripplinger's Avatar
 
Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
Quote:
Originally Posted by Jim Chapman View Post
Regarding the 'right' way to represent vertical space in epub files: It is pretty clear that using a p element containing only   is an ugly hack, and is the wrong thing to do...
And the other unfortunate reality is that it works across most (if not all) ereaders and apps, even converting with Calibre retains the space even when you have it checked to remove all spaces between lines. It's a simple solution that just works, even if not an elegant solution or correct.
Ripplinger is offline   Reply With Quote
Old 05-03-2016, 01:16 AM   #33
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
Quote:
Originally Posted by Jim Chapman View Post
Regarding the 'right' way to represent vertical space in epub files: It is pretty clear that using a p element containing only   is an ugly hack, and is the wrong thing to do...
I don't agree. It is ugly, but it is not wrong even when considering web standards. After all, an e-book is not an webpage even if it uses web technology.
Like I said, the purists use margins to create the empty lines and they are of course correct. It is the 'best' way to do it. However, the sad part is that a lot of reading programs and even some readers ignore parts or even the complete stylesheet and overrule it with their own. This of course removes all the section breaks you had. Using the [noparse]<p>&nbsp;</p>[noparse] is a fail-safe method and completely legal/allowed. Empty paragraphs should be ignored according to the web-standards you mention and usually are. However, this is not an empty paragraph and should not be ignored according to the same standards.

So, unless all the readers/reading applications play ball, it is the only failsafe method. Personal feelings aside of course.
Toxaris is offline   Reply With Quote
Old 05-03-2016, 10:59 AM   #34
Robotech_Master
Fanatic
Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.
 
Posts: 514
Karma: 2954711
Join Date: May 2006
The discussion was interesting enough so far I wrote up my thoughts on the matter and posted it here to maybe spark some discussion among TeleRead folks.
Robotech_Master is offline   Reply With Quote
Old 05-03-2016, 12:23 PM   #35
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,756
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Robotech_Master View Post
The discussion was interesting enough so far I wrote up my thoughts on the matter and posted it here to maybe spark some discussion among TeleRead folks.
Is there any way to get back the old TeleRead? The new website is just way too busy. The old website was nice and simple and easy to use. The new site is just a mess. That more stories slideup is really annoying.

Please please fix the layout. What's there now is not good.

Last edited by JSWolf; 05-03-2016 at 12:25 PM.
JSWolf is offline   Reply With Quote
Old 05-03-2016, 12:30 PM   #36
Robotech_Master
Fanatic
Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.
 
Posts: 514
Karma: 2954711
Join Date: May 2006
Quote:
Originally Posted by JSWolf View Post
Is there any way to get back the old TeleRead? The new website is just way too busy. The old website was nice and simple and easy to use. The new site is just a mess. That more stories slideup is really annoying.

Please please fix the layout. What's there now is not good.
If you look at most professional blogs these days, you'll find some kind of similar layout. We're trying to be taken more seriously as an e-book blog, and we worry that many readers might be turned off by a twenty-year-old look when other sites have a much newer look and feel. Also, it's what our advertisers prefer...and courting advertisers is important for little things like being able to pay our writers and hosting costs without going bankrupt.

But David notes it's not set in stone and that we're willing to experiment a little, if we can do that without annoying advertisers. In the mean while, TeleRead still works great as an RSS feed, too.

ETA: We've tried disabling the slider now, see if that works better.

Last edited by Robotech_Master; 05-03-2016 at 01:22 PM. Reason: Added advertiser note. Disabled slider.
Robotech_Master is offline   Reply With Quote
Old 05-03-2016, 03:22 PM   #37
davidrothman
Connoisseur
davidrothman began at the beginning.
 
Posts: 60
Karma: 32
Join Date: Jun 2005
Location: Alexandria, VA
Device: Paperwhite, $50 Fire, iPad Air 2, Nexus 6, Kobo Aura H2O
Many thanks for the feedback, JS. Yes, Chris put it well. Nothing is set in stone.

I don't want the current MobileRead thread to wander off topic, but people with further thoughts on TeleRead's layout can reach Chris at robotech.master@gmail.com and me at davidrothman@pobox.com. For e-book newbies who don't know, Chris is TeleRead's editor. I'm publisher. We date back to the 1990s and are the oldest site devoted to general-interest news and views on e-books. We're big MR fans.

RSS feed is http://feeds.feedburner.com/teleread/KHnj . Our page to receive daily emails is http://www.teleread.com/sign-up-for-...from-teleread/ . JS, I hope that helps you and others who want to see TeleRead in a different layout.

Thanks,
David
davidrothman is offline   Reply With Quote
Old 05-04-2016, 05:21 AM   #38
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,756
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Without the slider is better. The RSS feed is pretty good, but it just stops. Can the RSS feed be fixed so it doesn't just stop?
JSWolf is offline   Reply With Quote
Old 05-04-2016, 05:22 AM   #39
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,756
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
To answer the topic's question, because a good number of apps ignore perfectly valid coding in ePub.
JSWolf is offline   Reply With Quote
Old 05-04-2016, 12:28 PM   #40
Jim Chapman
Addict
Jim Chapman ought to be getting tired of karma fortunes by now.Jim Chapman ought to be getting tired of karma fortunes by now.Jim Chapman ought to be getting tired of karma fortunes by now.Jim Chapman ought to be getting tired of karma fortunes by now.Jim Chapman ought to be getting tired of karma fortunes by now.Jim Chapman ought to be getting tired of karma fortunes by now.Jim Chapman ought to be getting tired of karma fortunes by now.Jim Chapman ought to be getting tired of karma fortunes by now.Jim Chapman ought to be getting tired of karma fortunes by now.Jim Chapman ought to be getting tired of karma fortunes by now.Jim Chapman ought to be getting tired of karma fortunes by now.
 
Posts: 310
Karma: 2025434
Join Date: Oct 2009
Device: Lumia 950 Phone
Quote:
Originally Posted by JSWolf View Post
To answer the topic's question, because a good number of apps ignore perfectly valid coding in ePub.
Reality check: using <p>&nbsp;</p> to represent a section break is 'valid' in the limited sense that the XHTML standard says that it is acceptable XHTML. But because the XHTML standard is not explicit about how you should display non-rendering non-whitespace, it does not tell us what a reading system has to do with that valid coding. It would be acceptable to ignore it (on the grounds that it is a P element containing no renderable content). It would also be acceptable to add a line containing nothing (on the grounds that it is a P element containing non-whitespace characters).

Sorry about the pedantry - but you know what it's like when someone is wrong on the internet ;-)

I agree that, pragmatically, the smart thing for e-reading systems is to treat <p>&nbsp;</p> as a section break, at least as an optional behaviour. It's just that you're using the word 'valid' a bit too loosely.
Jim Chapman is offline   Reply With Quote
Old 05-04-2016, 12:33 PM   #41
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
Quote:
Originally Posted by Jim Chapman View Post
Reality check: using <p>&nbsp;</p> to represent a section break is 'valid' in the limited sense that the XHTML standard says that it is acceptable XHTML. But because the XHTML standard is not explicit about how you should display non-rendering non-whitespace, it does not tell us what a reading system has to do with that valid coding. It would be acceptable to ignore it (on the grounds that it is a P element containing no renderable content). It would also be acceptable to add a line containing nothing (on the grounds that it is a P element containing non-whitespace characters).
I can you an example of a reading application that does ignore "<p>&nbsp;</p>": Mobipocket Reader. A rather elderly program, to be sure, but nonetheless it will completely ignore that code and not display any vertical space for it at all.
HarryT is offline   Reply With Quote
Old 05-05-2016, 05:45 PM   #42
fanficdude1
Junior Member
fanficdude1 began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jan 2016
Device: none
I think you can tell to use the book's css instead of it's own.
fanficdude1 is offline   Reply With Quote
Old 05-05-2016, 06:24 PM   #43
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,756
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Jim Chapman View Post
Sorry about the pedantry - but you know what it's like when someone is wrong on the internet ;-)
I feel for you being wrong on the Internet.

Quote:
I agree that, pragmatically, the smart thing for e-reading systems is to treat <p>&nbsp;</p> as a section break, at least as an optional behaviour. It's just that you're using the word 'valid' a bit too loosely.
<p>&nbsp;</p> is not just used as a section break. I've seen it used not as a section break, but as as a separator such as...

<p>Some paragraph here</p>
<p>&nbsp;</p>
<p class="center">This line is centered</p>
<p>&nbsp;</p>
<p>Another paragraph here</p>

So yes, <p>&nbsp;</p> should be rendered. I know it's not the coding I would use, but a lot of eBooks have it. This is why I go in and check what the publisher has done.
JSWolf is offline   Reply With Quote
Old 05-07-2016, 06:05 PM   #44
Robotech_Master
Fanatic
Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.
 
Posts: 514
Karma: 2954711
Join Date: May 2006
Wrote more on this issue.
Robotech_Master is offline   Reply With Quote
Old 05-09-2016, 08:44 AM   #45
Robotech_Master
Fanatic
Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.Robotech_Master ought to be getting tired of karma fortunes by now.
 
Posts: 514
Karma: 2954711
Join Date: May 2006
Well, how about that? Scrivener's developer has chimed in with a more complete explanation of why Scrivener uses non-breaking space paragraphs. It effectively boils down to Scrivener using Apple's HTML 4.0 conversion tool to turn its documents into EPUB-ready HTML, and that's how Apple does it.
Robotech_Master is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
blank lines between paragraphs franklekens Kobo Reader 71 01-26-2015 12:52 PM
Blank Lines In Code SeaCanary Sigil 3 01-22-2014 08:51 PM
Blank Lines jreidu Workshop 2 07-20-2011 05:11 AM
Blank lines between paragraphs? ascherjim OpenInkpot 30 12-03-2009 12:19 AM
Blank Lines vivaldirules Upload Help 55 03-02-2009 03:17 PM


All times are GMT -4. The time now is 06:13 PM.


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