Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 09-26-2020, 12:22 PM   #1
jbrobinson
Junior Member
jbrobinson began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Sep 2020
Device: none
Calibre Editor randomly adding spans

I'm compiling an ebook in Scrivener (.epub), and I want to finish the styling in Calibre Editor.

However, when I bring in the .epub, Calibre is adding these spans to the book:
<span style="color: #0C0C13"> the rest of the paragraph...... </span>

That's showing up in some, but not all of the paragraphs. I've simplified the CSS coming out of Scrivener as much as I possibly can.

The color change on the body text only appears in Calibre. If I view the book in Book (on Mac) or Kindle Preview, the text color change isn't there.

Anyone know why that might be happening?
jbrobinson is offline   Reply With Quote
Old 09-26-2020, 12:25 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,853
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The calibre editor does not do *any* changes to your book file apart from updating metadata when you open a book.
kovidgoyal is offline   Reply With Quote
Advert
Old 09-26-2020, 08:12 PM   #3
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,567
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Epubs are zip files. Try unpacking the epub file that Scrivener created, i.e. one that hasn't been near calibre, to a folder. Then look at one of the 'offending' xhtml files with a regular text editor - don't be surprised if you find the curious color spans.

BR
BetterRed is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre plugboards stopped working randomly donrie Calibre 2 08-25-2019 09:32 PM
Editor corrupts images randomly Sarmat89 Editor 1 04-04-2018 11:05 AM
Adding multiple images in Calibre Editor shotsfromthebar Editor 3 02-20-2017 04:32 PM
Calibre doesn't see books, randomly deletes them Rbneader Library Management 27 02-18-2014 01:27 AM
Calibre randomly crashing casualeye Calibre 1 12-27-2012 01:53 PM


All times are GMT -4. The time now is 02:55 AM.


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