07-14-2020, 04:49 PM | #31 | |
Resident Curmudgeon
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
I've never seen anything difficult to fix up in an InDesign made ePub. That doesn't mean it isn't possible, but unlikely. |
|
07-14-2020, 10:08 PM | #32 |
A Hairy Wizard
Posts: 3,093
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
I think what they are getting at is that some of the automated clean-up routines automatically remove spans (especially if they are empty spans with no class: <span>Something here</span>) and other tags. Of course people who are as experienced as you are wouldn't make those noob mistakes...
|
Advert | |
|
07-15-2020, 06:40 AM | #33 |
Klak
Posts: 174
Karma: 150374
Join Date: Sep 2011
Location: Belgrade, Serbia
Device: many
|
Probably 90% of my epub jobs was converting indesign files.
These indesign plugins helped a lot. PerfectPrepText: A smart way to style local formatting |
07-15-2020, 06:45 AM | #34 | |
Resident Curmudgeon
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
07-15-2020, 09:03 AM | #35 |
Addict
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
|
Sometimes I put em through pandoc to wipe out all the goofy classes, and that also clears out the italic spans. Then I realize my error and start over, changing the italic spans first in Sigil. Not a difficult thing, just something I notice I often forget.
|
Advert | |
|
07-17-2020, 07:04 AM | #36 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jul 2020
Device: Kindle
|
|
07-19-2020, 04:44 PM | #37 | ||
Resident Curmudgeon
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Quote:
Might be a better idea to export to ePub and use Calibre's editor and Sigil to edit the ePub. |
||
07-20-2020, 09:19 AM | #38 | |
Bookmaker & Cat Slave
Posts: 11,460
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Hitch |
|
07-20-2020, 12:19 PM | #39 |
Addict
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
|
|
07-20-2020, 02:34 PM | #40 |
Resident Curmudgeon
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
How is it easier since it loses some of your code? It's actually easier to learn CSS/HTML and edit the ePub that you get when you export from Indesign as ePub. Because once you know CSS/HTML, you can do a lot more then just let some program do the conversion and you not know how to check the code. I've seen too many automated setups create eBooks with really proo code that could maybe cause problems with some Readers/programs. The rule is to keep the code as simple as you can and to do that, you NEED to go into the code to make sure it's as simple as it can be. The sinpler it is, the less chance of a problem and the greater chance it will work in more situations.
Last edited by JSWolf; 07-20-2020 at 02:37 PM. |
07-21-2020, 10:50 AM | #41 |
Addict
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
|
I think our wires are getting crossed. When I have an InDesign cleanup task the first thing I do is raze it to the ground in order to rebuild it with semantic html and then style it with css. There is no avoidance of code happening here, just occasionally overzealous removal of InDesign cruft first.
|
07-21-2020, 11:04 AM | #42 | |
Resident Curmudgeon
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
07-21-2020, 11:17 AM | #43 |
Addict
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
|
I do. I just run it through pandoc first. I think you’re kinda shadow boxing here, so I am going to clarify just one more time. I want to get rid of the code I don’t want. Sometimes I forget to first isolate the code I do. Context: author comes to me with an InDesign file from a designer that can’t be bothered to make the ebook. InDesign file is a mess, with lots of arbitrarily named paragraph and character styles, applied inconsistently and with lots of in-text overrides that mean nothing. Clean up the InDesign file within reason and export an ePub. Every paragraph has a class. Most mean nothing. Random spans everywhere. Most* mean nothing. I don’t like working with markup like that, and I’m sure you don’t either. Easiest way I know of to get a clean slate from that is to first run it through pandoc. InDesign > ePub > pandoc > epub > the actual work. We are actually in agreement.
*Save 3: bold, italic, and bolded italic; which I kick myself for having to redo by forgetting to isolate those first. |
07-21-2020, 11:23 AM | #44 | |
Resident Curmudgeon
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Take the ePub direct from InDesign and using Calibre's Editor or Sigil, replace the spans for bold, italic, and bold italic and then run through Pandoc. That should do it. |
|
07-21-2020, 11:38 AM | #45 |
Addict
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
|
That’s what I meant by isolate them first. That’s exactly what I do. I think this is a situation where we talked about it so long that the context of my original comment got lost. The actual solution is to tie a ribbon around my finger, and my initial comment was made in case others need a ribbon too. It’s not actually that big a deal.
|
|
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 |