Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 12-09-2010, 09:04 PM   #16
tjpanda
Junior Member
tjpanda began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2010
Device: iPad
Not fair to call it poor code, that is CSS as ID generates it. There is an advantage of doing it this way: it provides a basic set of key attributes whose values can be easily modified, even by someone who is not skilled with CSS.

Using extra spaces and blank lines for formatting is poor form even in layouts intended solely for print. HTML is designed to suppress such extraneous content and at its heart EPUBs are just a version of HTML. Controlling white space on the page is the job of CSS. Doing it any other way is really futile.
tjpanda is offline   Reply With Quote
Old 12-14-2010, 10:05 AM   #17
grapplegirl
Junior Member
grapplegirl began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2010
Device: none
do not create your blank lines with paragraph returns. ePub doesn't support that. apply a style sheet with space after that matches your leading.
grapplegirl is offline   Reply With Quote
Old 12-14-2010, 01:43 PM   #18
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 grapplegirl View Post
do not create your blank lines with paragraph returns. ePub doesn't support that. apply a style sheet with space after that matches your leading.
ehm, ePub does. Just add an   and your off to go. Not a nice solution, but it works. It is better to do it with stylesheets though.
Toxaris is offline   Reply With Quote
Old 12-14-2010, 09:00 PM   #19
eBookLuke
Writer2ePub creator
eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.
 
eBookLuke's Avatar
 
Posts: 354
Karma: 121129
Join Date: Sep 2009
Location: Genova, Italy
Device: Cybook Bebook iLiad Kindle HanlinV2 Readius SonyPRS500 SonyPRS700 etc
InDesign is not the best tool to create ePubs…
After many tries I loose all hopes* and I build my own tool to build professional looking ePubs.

Luke

*Italian locution, I don't know if it is the same in perfect English

Last edited by eBookLuke; 12-14-2010 at 09:03 PM.
eBookLuke is offline   Reply With Quote
Old 12-15-2010, 07:21 PM   #20
Adjust
Addict
Adjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel is
 
Adjust's Avatar
 
Posts: 351
Karma: 70000
Join Date: Jul 2010
Location: Australia
Device: ADE, iPad
Quote:
Originally Posted by eBookLuke View Post
InDesign is not the best tool to create ePubs…
After many tries I loose all hopes* and I build my own tool to build professional looking ePubs.
It is if you are converting Print editions to ePub.
Adjust is offline   Reply With Quote
Old 07-13-2020, 11:08 AM   #21
Dan_Smith
Junior Member
Dan_Smith began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2020
Device: Kindle
I found epub lost the space above paras so I started to use returns to create space. This has worked for years until now, when all of a sudden it doesn't. I'm just baffled. I think I updated Calibre which I use to edit it so maybe it's that
Dan_Smith is offline   Reply With Quote
Old 07-13-2020, 11:17 AM   #22
Dan_Smith
Junior Member
Dan_Smith began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2020
Device: Kindle
Quote:
Originally Posted by grapplegirl View Post
do not create your blank lines with paragraph returns. ePub doesn't support that. apply a style sheet with space after that matches your leading.
You need to 'export to Kindle' from InDesign rather than 'Export>epub' then blank lines are preserved
Dan_Smith is offline   Reply With Quote
Old 07-13-2020, 11:20 AM   #23
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,792
Karma: 146391129
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 eBookLuke View Post
InDesign is not the best tool to create ePubs…
After many tries I loose all hopes* and I build my own tool to build professional looking ePubs.

Luke

*Italian locution, I don't know if it is the same in perfect English
IMHO, the two best tools for ePub creation are Calibre and Sigil. Both excellent and both free with excellent support.
JSWolf is offline   Reply With Quote
Old 07-13-2020, 11:21 AM   #24
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,792
Karma: 146391129
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 Adjust View Post
It is if you are converting Print editions to ePub.
After you create the ePub from InDesign, the best thing to do is load the ePub into Calibre's Editor or Sigil and fix the code. InDesign code can be a right mess.
JSWolf is offline   Reply With Quote
Old 07-13-2020, 11:22 AM   #25
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,792
Karma: 146391129
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 Dan_Smith View Post
You need to 'export to Kindle' from InDesign rather than 'Export>epub' then blank lines are preserved
How does that get you an ePub?
JSWolf is offline   Reply With Quote
Old 07-13-2020, 01:01 PM   #26
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,329
Karma: 169098492
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Dan_Smith View Post
I found epub lost the space above paras so I started to use returns to create space. This has worked for years until now, when all of a sudden it doesn't. I'm just baffled. I think I updated Calibre which I use to edit it so maybe it's that
Dan, did you notice that you are responding to a 10 year old thread?
Attached Thumbnails
Click image for larger version

Name:	Thread_Necromancy_06.jpg
Views:	194
Size:	86.0 KB
ID:	180566  
DNSB is offline   Reply With Quote
Old 07-13-2020, 01:38 PM   #27
phillipgessert
Addict
phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.
 
phillipgessert's Avatar
 
Posts: 316
Karma: 3200000
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
Assuming these are basically section breaks, I would do a F/R within InDesign to replace every doubled carriage return with some trivial asterism, then replace that with something in the resulting ePub as needed. Incidentally you should not feel badly for the designers if they have to do some extra work here. Positioning via carriage returns is frowned upon anyway. They goofed. Also:

Quote:
Originally Posted by jttraverse View Post
Likewise, having to export InD to ePub then open the file in Sygil or something to edit the ePub sounds a bit embarrassing for a program like InDesign. (If you export to Pdf it comes out looking perfect, blank space and all...so why not handle it going to ePub?)
This because WYSIWYG software allows people to do all sorts of arbitrary and semantically meaningless things that can work ok for print but not one bit for ebook.

Edit: old topic noooooo!

Last edited by phillipgessert; 07-13-2020 at 01:50 PM. Reason: nooo
phillipgessert is offline   Reply With Quote
Old 07-13-2020, 07:10 PM   #28
exaltedwombat
Guru
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
Try VERY hard to get hold of the source before it's passed through InDesign. All of the stuff that lets InDesign produce beautiful printed pages just has to be ripped out again.
exaltedwombat is offline   Reply With Quote
Old 07-14-2020, 07:42 AM   #29
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,792
Karma: 146391129
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 exaltedwombat View Post
Try VERY hard to get hold of the source before it's passed through InDesign. All of the stuff that lets InDesign produce beautiful printed pages just has to be ripped out again.
The easiest way (IMHO) is to take the resulting ePub and put it in Calibre's editor or Sigil and clean it up from there. I've cleaned up eBooks that came from InDesign. So I know it's not that difficult to do.
JSWolf is offline   Reply With Quote
Old 07-14-2020, 10:33 AM   #30
phillipgessert
Addict
phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.
 
phillipgessert's Avatar
 
Posts: 316
Karma: 3200000
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
Thing that always gets me on InDesign cleanups is how often they use spans instead of em for italics. Really easy to forget that and accidentally wipe em out when cleaning up all the other cruft.
phillipgessert is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Non-alpha characters not exporting properly to ePub from InDesign forlor ePub 9 07-12-2013 02:02 AM
Calibre Indent Issue When Removing Blank Lines (Converting From HTML to MOBI or EPUB) David Derrico Calibre 5 08-04-2010 12:13 AM
Blank lines between paragraphs? ascherjim OpenInkpot 30 12-03-2009 12:19 AM
Insert Blank Lines Between Paragraphs Timoleon Calibre 14 03-22-2009 02:43 PM
Blank Lines vivaldirules Upload Help 55 03-02-2009 03:17 PM


All times are GMT -4. The time now is 11:33 AM.


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