View Single Post
Old 05-20-2013, 09:54 PM   #9
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 1,569
Karma: 5975684
Join Date: Jun 2010
Device: Windows 10 tablet,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by EditorOne View Post
I think I read somewhere here on this forum that when you upload to Nook (and apparently when you put an epub on your own Nook device), it dumps your stylesheet and replaces it with their generic one.

I think that must be very accurate because when my epub file (created by Sigil from a Calibre conversion--don't get me started on all the unnecessary junk that is in a Calibre conversion) is converted to mobi through Kindle Gen, it comes out perfect on the Kindle Previewer (all devices), but when I download the same file to my Nook Color, the entire layout is changed. There are spaces between paragraphs where I didn't put spaces, there are no spaces between headings and paragraphs, where I did put spaces (breaks) and none of the headings are flush left, they are indented just like the paragraphs (2em). (Mine were indented further because of a picky client who wants her ebook to look EXACTLY like her MS Word file. Geesh!)

What can I do to fix the epub so it actually works on epub readers other than to go back to square one? It's strange that Kindles have no problem.

PS. The Calibre conversion also kept a massive amount of MSword tags even though they had been "cleaned" by the online cleaner. If I totally remove all formatting I have a massive job of restoring her italics and non-italics within italic paragraphs, non-italic paragraphs with italics inside . . . DON'T ASK.

Any thoughts?
The problem you describe is what ade does when you have a missing ( ; ) , ( { ), ( } ) or have text that not enclosed. Check your css for missing or extra separators or enclosing element. Ade defauts to what you are seeing.

Code:
sample good css
.p {
    text-indent: 1.2em;
    }
sample bad css
.p 
   text-indent: 1.2em;
   }
bernie

p.s.
MSword = garbage in garbage out.

When you put it thru Kindle Gen it built its' on css.

Last edited by gbm; 05-20-2013 at 09:58 PM.
gbm is offline   Reply With Quote