08-20-2013, 10:28 PM | #1 |
Generally Awesome Person
Posts: 1,090
Karma: 2178847
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
[Conversion Output] KePub Output Plugin
THIS PLUGIN IS BEING INTERMITTENTLY DEVELOPED! FEATURE REQUESTS AND BUG REPORTS MAY TAKE A FEW DAYS TO BE REPLIED TO.
This plugin allows creating KePub files without requiring a Kobo device to be connected.Converted books are saved to the calibre library as the 'KEPUB' format. ePub books processed with this plugin and sent to a modern Kobo device will be rendered using Kobo's internal kepub renderer instead of the standard ePub renderer. Please see the README file for the most current details. I will try to keep this post up to date, but the README is always up to date. WARNING: THE CONVERSION OUTPUT FORMAT PLUGIN GENERATES FILES WHOSE INTERNAL STRUCTURE IS STILL UNDER DEVELOPMENT. THE KEPUB FILE STRUCTURE IS NOT YET FULLY UNDERSTOOD. DO NOT, UNDER ANY CIRCUMSTANCES, DELETE THE FILES FOR THE SOURCE FORMAT. ALWAYS HAVE A NON-KEPUB FORMAT FOR YOUR BOOKS. The main benefits of using the kepub renderer (which some may prefer not to have) are:
You are encouraged to install these two plugins as well, to ensure KePub metadata is correctly processed:
Usage To use this plugin after installing:
WARNING: THE CONVERSION OUTPUT FORMAT PLUGIN GENERATES FILES WHOSE INTERNAL STRUCTURE IS STILL UNDER DEVELOPMENT. THE KEPUB FILE STRUCTURE IS NOT YET FULLY UNDERSTOOD. DO NOT, UNDER ANY CIRCUMSTANCES, DELETE THE FILES FOR THE SOURCE FORMAT. ALWAYS HAVE A NON-KEPUB FORMAT FOR YOUR BOOKS. Special Notes
Installation Directions Open Preferences -> Plugins -> Get new plugins and install the 'KePub Output' plugin. You may also download the attached zip file and install the plugin manually, then restart calibre as described in the Introduction to Plugins thread. Contributing Decided you want to contribute to the development of this plugin? Awesome! If you want to contribute to the development of this plugin, you have many options:
Although I'm generally perfectly happy to discuss possible issues here, any issues sent to me through any means other than the Github bug tracker (including email, PM, etc.) may be silently ignored. This is not because I don't care! It's because I have a terrible memory, the Github issue tracker is my "to-do list" for this plugin, and there's been instances where I've seen a post or PM here and promptly forgotten all about it until I happened to stumble across the post again later. If you aren't sure if you have an issue, feel free to post here and we can work together to decide if you need to make a new Github issue or not. If you are sure you have an issue, or if you have an error or exception from calibre, post a new issue. It isn't necessary to post here when you make a new issue, I get notified of all new bugs and I check the list regularly. The worst that could possibly happen on Github is the same that could happen here: I'll tell you that it's not a bug and you'll have the opportunity to convince me otherwise! Version History Spoiler:
Last edited by jgoguen; 12-10-2024 at 12:07 AM. |
08-21-2013, 06:00 AM | #2 |
Guru
Posts: 691
Karma: 3026110
Join Date: Dec 2008
Location: Lancashire, U.K.
Device: BeBook 1, BeBook Pure, Kobo Glo, (and HD),Energy Sistem EReader Pro +
|
Very comprehensive and nice to see a separate thread now for the converter, rather than mixed in with the driver.
BobC |
Advert | |
|
08-22-2013, 08:25 AM | #3 |
Fanatic
Posts: 522
Karma: 4503161
Join Date: May 2009
Location: Portugal
Device: Kobo Glo, kindle
|
Great work Joel
|
08-25-2013, 01:10 PM | #4 |
Fanatic
Posts: 522
Karma: 4503161
Join Date: May 2009
Location: Portugal
Device: Kobo Glo, kindle
|
I just used this plugin to convert a batch of 163 books, first I started with 3 books to see if all worked, and when it went smoothly I converted the remaining 160, and send it to the glo without problems, at last I can send the kepubs without to much hassle, and it only took minutes, I didn’t pay much attention to the clock but I think it was around 10 minutes, before this plugin when the conversion was on send it took much more time.
So again great work, so much, you are indeed a “generally awesome person“ |
08-25-2013, 02:11 PM | #5 |
Generally Awesome Person
Posts: 1,090
Karma: 2178847
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
So, here's where I break your bubble The whole process has quite likely taken you at least the same amount of time, or maybe more, as with only the driver if you converted and then sent books to the device right away. If you converted a bunch and then you're sending a few at a time (like I do) then you may have saved a bit of time. The code for converting on send and converting through calibre is identical; not just copied, but literally the exact same module. It's significantly faster to send a pre-converted KePub, yes, because I coded the driver to not convert KePub books but there's no time savings at all when you convert and then send.
With all that said... there was some general improvements in the speed of converting books. So it probably was faster to convert than before, but it's not because of using the conversion plugin first |
Advert | |
|
08-28-2013, 02:19 PM | #6 |
Fanatic
Posts: 522
Karma: 4503161
Join Date: May 2009
Location: Portugal
Device: Kobo Glo, kindle
|
Maybe it was my excitement about finally being able to send the kepubs to the glo, but it did feel faster, but that’s ok, even if it took more time I’d still be satisfied with it, I really missed the options off the kepubs the last few weeks that I had to read epubs.
|
08-28-2013, 02:24 PM | #7 |
Generally Awesome Person
Posts: 1,090
Karma: 2178847
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
As long as you're reading happily, that's the important thing
|
09-03-2013, 06:27 PM | #8 |
Guru
Posts: 691
Karma: 3026110
Join Date: Dec 2008
Location: Lancashire, U.K.
Device: BeBook 1, BeBook Pure, Kobo Glo, (and HD),Energy Sistem EReader Pro +
|
Something odd seemed to be happening with conversion. I have just started using some CSS to format the first paragraph of a chapter with no indent - previously I did this by manually changing the class for the first paragraph but using the selector :
Code:
h2+p {text-indent: 0;} This renders correctly when viewing the EPUB but when I convert it to KEPUB the selector gets lost and doesn't appear in the KEPUBs CSS. So I dug deeper and realised that when converted the CSS gets modified so that everything is done with classes but it wasn't honouring the selector I had set. This was actually a conflict with the "look and feel" settings that were in force from when I converted to EPUB. By getting rid of the "remove spacing between paragraphs" (and thus the applied indent) the conversion created the correct classes so that the first paragraph following a h2 did not have an indent although the remaining ones did. I mention this in case anyone else hits a similar problem. Calibre was doing what I had asked - it's just that I hadn't realised it I expect the same happens with "on the fly" conversions so beware that your carefully crafted css isn't being "adjusted" when you upload a KEPUB. BobC |
09-27-2013, 03:56 PM | #9 |
Junior Member
Posts: 9
Karma: 12646
Join Date: Jun 2012
Location: France
Device: Kobo glo
|
Hello,
I installed this plugin with version 2.2.10 of kobotouchextended. Yet I have been true for the total number of pages of the ebook but it does not work. I try to convert most ebook and each can not have the total number of pages. I think it does not work also with version 2.2.9 The official extension is kepub.epub kobo or kepub? Sincerely, Last edited by Polynésia; 09-27-2013 at 03:58 PM. |
09-27-2013, 06:42 PM | #10 | |
Generally Awesome Person
Posts: 1,090
Karma: 2178847
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
The option isn't present in the conversion plugin, only the driver plugin. If you manually make the change, that's nothing to do with either plugin unless you're using the driver plugin and the option to use full page numbers is disabled.
Quote:
2.2.9 doesn't have this option. If you have manually made the change necessary and it isn't working, that's a bug with the Kobo device itself, not the driver. That depends. If you use the conversion plugin the output uses the extension "kepub" because calibre only supports single extensions. "kepub.epub" is treated as "epub" by calibre. Everywhere else, the proper double extension "kepub.epub" is used. In general, if you aren't sure just leave the extension alone and use calibre to manage books to make sure the right extension is used. |
|
09-30-2013, 06:37 AM | #11 |
Enthusiast
Posts: 26
Karma: 12
Join Date: Aug 2013
Device: kobo aura hd
|
great work. this plugin saved us.
just a question. is possible to set the plugin to ignore all the calibre css conversion? i mean when converted i get also the [class="calibre"] all over the code in place of the stylesheet i use. i tried to put the css in the conversion and it works. but i still get calibre everywhere and it's really a pain to do further edit to the book. ah. probably an error on my part. but when i try to put the .kepub in the sd and load in the reader (aura hd, 2.8.1) it goes black screen and i have to reset. after conversion do i have to manually add the .epub to have the .kepub.epub that the kobo can read or it's a problem with the conversion or the folder where i put the books? ps: i don't use calibre for the managment and put the books directly in the directory of the sd |
09-30-2013, 06:55 AM | #12 | |
Guru
Posts: 691
Karma: 3026110
Join Date: Dec 2008
Location: Lancashire, U.K.
Device: BeBook 1, BeBook Pure, Kobo Glo, (and HD),Energy Sistem EReader Pro +
|
Quote:
BobC |
|
09-30-2013, 07:20 AM | #13 | ||
Generally Awesome Person
Posts: 1,090
Karma: 2178847
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
Quote:
Quote:
The reason for all this is that calibre only supports single extensions. The double extension '.kepub.epub' is treated as '.epub' by calibre, so I use only '.kepub' in calibre so that it gets recognized as a distinct format. |
||
09-30-2013, 12:08 PM | #14 |
Enthusiast
Posts: 26
Karma: 12
Join Date: Aug 2013
Device: kobo aura hd
|
ok. thx for the reply and thx again for the plugin.
i prefer to not use calibre because i would have to connect the reader. i find it easier to put them in the sd when i've got time. ps: the class calibre "junk" it's been resolved. i'm using sigil to do a find&replace. gotta use 5minutes to do but it's still better than giving more work to you guys. thx again |
10-05-2013, 07:22 PM | #15 |
Junior Member
Posts: 9
Karma: 12646
Join Date: Jun 2012
Location: France
Device: Kobo glo
|
Hello,
thank you for the link. I still do not see the utility that convert front kepub since you can not read the file type kobo who also extending kepub.epub in kobo? |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
catalogue builder output columns are not in the same order in the output | KWhytte | Library Management | 5 | 12-04-2012 03:03 AM |
Plugin not customizable: Plugin: HTML Output does not need customization | flyingfoxlee | Conversion | 2 | 02-24-2012 03:24 AM |
Plugin which uses net as input and output | medve | Development | 0 | 12-04-2011 04:20 PM |
Creat new Output plugin (LaTeX and/or txt2tags) | Lebewesen | Development | 3 | 11-22-2011 12:10 PM |
AZW Conversion Output Plugin | tylau0 | Plugins | 59 | 08-14-2011 11:36 PM |