Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 03:12 PM   #1
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: 85,689
Karma: 154365285
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Kepub Issues

I've run into an issue with the Calibre editor when working with KePub files generated by external tools.
  1. I convert an EPUB to a KePub using the kepubveri plugin (this also affects files made with kepubify).
  2. I load the resulting KePub file into the Calibre editor.
  3. Upon saving or editing, the editor appears to strip out the custom span/tracking code injected by kepubveri/kepubify and replaces it with Calibre's own default markup.
Because the editor rewrites or removes this code, I'm currently unable to directly edit KePub files that weren't originally created by Calibre's native process without losing the specific formatting tags.

Would it be possible to add an option or update the parser so that the editor preserves existing third-party KePub code instead of overwriting it?

Last edited by JSWolf; Yesterday at 03:24 PM.
JSWolf is offline   Reply With Quote
Old Yesterday, 10:16 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: 46,614
Karma: 29634066
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@JSWolf: This has nothing to do with the preview release and no the editor is designed to strip out kobo markup ad replace it automatically.
kovidgoyal is online now   Reply With Quote
Old Yesterday, 10:40 PM   #3
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: 85,689
Karma: 154365285
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 kovidgoyal View Post
@JSWolf: This has nothing to do with the preview release and no the editor is designed to strip out kobo markup ad replace it automatically.
But that means using any 3rd party KePub converter will have it's code stripped and replaced with calibre's KePub code if you save or try to validate. Can this be made to either not happen or made to be an option?

When the editor changes code is such a way, it is a bug that (IMHO) needs to be fixed.
JSWolf is offline   Reply With Quote
Old Yesterday, 10:48 PM   #4
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: 46,614
Karma: 29634066
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Again, that is a feature. There is absolutely zero reason to use third party kepub markup adding code and even less reason to edit kobo markup by hand.

Last edited by kovidgoyal; Yesterday at 10:51 PM.
kovidgoyal is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kepub conversion Hyphenation issues dcbrow2 Conversion 13 07-28-2026 05:41 PM
Issues when converting from EPUB to KEPUB turnroot Kobo Reader 1 03-03-2025 05:48 AM
Issues with naming of news downloads when "Preferred output format" is set to Kepub aob1 Recipes 7 02-02-2023 10:41 PM
Creating epub/kepub books (docx→epub/kepub via MS Word→Calibre) SJC-Caron ePub 18 04-21-2016 12:10 PM
Is there a way to import kepub to calibre/convert a kepub to other formats? Major General Library Management 9 04-08-2014 11:00 PM


All times are GMT -4. The time now is 08:23 AM.


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