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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 09-10-2018, 02:42 PM   #316
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 3,418
Karma: 589320
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Voyage
As you figured out, EpubMerge does not have such an option right now.

I could add such an option, but if it's a common problem with Kobo, I wonder if there isn't an existing solution? Or if there should be a general tool for it instead of an EpubMerge option? Or an enhancement to Calibre's Edit TOC tool?

(Do you really use EpubMerge from CLI? I didn't know anyone did that...)
JimmXinu is offline   Reply With Quote
Old 09-11-2018, 03:05 AM   #317
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 15,232
Karma: 24732438
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo: Touch, Glo, Aura H2O, Glo HD, Aura ONE, Clara HD
Quote:
Originally Posted by murraypaul View Post
Would it be possible to have an option to disable including the original books' TOC as nested entries under the new TOC, and just to have top level entries, one per book?
Some readers (Kobo for example) don't handle nested TOCs well, and just show the entire structure as one long list, which can make it very awkward to jump to specific books.
I've tried the current -n and -f flags, but they don't do what I'm looking for. I'm sort of looking for the opposite of -n, say --only-titles-in-toc.
Quote:
Originally Posted by JimmXinu View Post
As you figured out, EpubMerge does not have such an option right now.

I could add such an option, but if it's a common problem with Kobo, I wonder if there isn't an existing solution? Or if there should be a general tool for it instead of an EpubMerge option? Or an enhancement to Calibre's Edit TOC tool?

(Do you really use EpubMerge from CLI? I didn't know anyone did that...)
(And I didn't know one existed!)

The Kobo devices shows all the ToC entries but doesn't display any nesting or have a way to collapse anything in the ToC. Personally, I think the navigation will be a lot worse if you cut out the chapters inside the book. And it will definitely cause a problem if kepubs are used instead of epubs. I have to admit that I shuddered when @murraypaul said what was planned in the Kobo forum. He will be merging whole series into a single book on the belief that this will make navigating the UI better than having them separate. I've spent to much time using Epub Split to be able to agree with the

This could be done with the calibre ToC tool. But, it would need someway to identify which entries to keep. Either it needs nesting via heading level, or something in the text or tag. Or, manually by selecting the files to create the tags for. Or letting the tool generate the default and deleting parts you are not interested in.

But, looking at the configuration for Epub Merge, an option for "Do not include ToC from merged books" might be the way to go. That plus the existing "Insert ToC entry for each title" would do what is desired. I suppose that's the equivalent of the suggested "--only-titles-in-toc" but it feels like it is more consistent and a little more flexible.
davidfor is offline   Reply With Quote
Advert
Old 09-11-2018, 04:34 AM   #318
murraypaul
Interested Bystander
murraypaul ought to be getting tired of karma fortunes by now.murraypaul ought to be getting tired of karma fortunes by now.murraypaul ought to be getting tired of karma fortunes by now.murraypaul ought to be getting tired of karma fortunes by now.murraypaul ought to be getting tired of karma fortunes by now.murraypaul ought to be getting tired of karma fortunes by now.murraypaul ought to be getting tired of karma fortunes by now.murraypaul ought to be getting tired of karma fortunes by now.murraypaul ought to be getting tired of karma fortunes by now.murraypaul ought to be getting tired of karma fortunes by now.murraypaul ought to be getting tired of karma fortunes by now.
 
Posts: 3,256
Karma: 10210627
Join Date: Jun 2008
Device: Note 4, Kobo One
Quote:
Originally Posted by JimmXinu View Post
(Do you really use EpubMerge from CLI? I didn't know anyone did that...)
Yes, I have an automated process that scans my entire calibre library, collates by author and series, and combines into a second library of combined books by series, that I then sync to the device.
I'm actually running the plugin version via calibre-debug, as that required less extra setup.

Quote:
Originally Posted by davidfor
I have to admit that I shuddered when @murraypaul said what was planned in the Kobo forum. He will be merging whole series into a single book on the belief that this will make navigating the UI better than having them separate.
So far, it seems to be working well.
I read a lot of genre fiction, so having 5-15 books per series isn't unusual, and some have very many more than that.
I'm almost always going to want to read them in order, so having one book to look for rather than lots just seems to make sense, and the device remembers for me not just where I was in a book, but which book I was at in the series.
The TOC issue isn't a big deal, it only really matters for anthologies, where you might want to jump to a particular series out of order.
I guess this just seems normal to me, as I've been doing the same thing, on various devices and with various processes, for a decade now.
I tend to add new books infrequently, but splurge when I do, so the process doesn't have to be rerun very often, and only updates series that have actually changed.
murraypaul is offline   Reply With Quote
Old 09-11-2018, 05:51 AM   #319
murraypaul
Interested Bystander
murraypaul ought to be getting tired of karma fortunes by now.murraypaul ought to be getting tired of karma fortunes by now.murraypaul ought to be getting tired of karma fortunes by now.murraypaul ought to be getting tired of karma fortunes by now.murraypaul ought to be getting tired of karma fortunes by now.murraypaul ought to be getting tired of karma fortunes by now.murraypaul ought to be getting tired of karma fortunes by now.murraypaul ought to be getting tired of karma fortunes by now.murraypaul ought to be getting tired of karma fortunes by now.murraypaul ought to be getting tired of karma fortunes by now.murraypaul ought to be getting tired of karma fortunes by now.
 
Posts: 3,256
Karma: 10210627
Join Date: Jun 2008
Device: Note 4, Kobo One
Quote:
Originally Posted by murraypaul View Post
I've tried the current -n and -f flags, but they don't do what I'm looking for. I'm sort of looking for the opposite of -n, say --only-titles-in-toc.
I've made the changes locally to add a new flag:
-N, --no-original-toc "Default is to include the TOC from each original epub."

This seems to do what I was after.

If it is something you think might be generally useful, let me know and I'll submit a patch or pull request, whichever is easier for you. If not, no problems.
murraypaul is offline   Reply With Quote
Old 09-11-2018, 10:57 AM   #320
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 3,418
Karma: 589320
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Voyage
Quote:
Originally Posted by murraypaul View Post
...
I read a lot of genre fiction, so having 5-15 books per series isn't unusual, and some have very many more than that.
I'm almost always going to want to read them in order, so having one book to look for rather than lots just seems to make sense, and the device remembers for me not just where I was in a book, but which book I was at in the series.
...
I can understand not wanting to change your process.

But I would mention that I use metadata plugboards to put series into the title on it's way to the device. Just FYI.

Quote:
Originally Posted by murraypaul View Post
...
If it is something you think might be generally useful, let me know and I'll submit a patch or pull request, whichever is easier for you. If not, no problems.
Sure, a PR is best.
JimmXinu is offline   Reply With Quote
Advert
Old 09-11-2018, 07:27 PM   #321
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 3,418
Karma: 589320
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Voyage
New Test Version

- Add option not to include TOC from input files, thanks murraypaul
- Tweak wording of originalnavpoints option and add a warning about merged books with no TOC at all.

Last edited by JimmXinu; 09-19-2018 at 02:22 PM. Reason: Remove obsolete test versions
JimmXinu is offline   Reply With Quote
Old 09-11-2018, 07:44 PM   #322
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 15,232
Karma: 24732438
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo: Touch, Glo, Aura H2O, Glo HD, Aura ONE, Clara HD
Quote:
Originally Posted by JimmXinu View Post
But I would mention that I use metadata plugboards to put series into the title on it's way to the device. Just FYI.
But, we are talking about a Kobo device, which does support series info. It is displayed in the library and searched when looking for books.
davidfor is offline   Reply With Quote
Old 09-19-2018, 02:21 PM   #323
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 3,418
Karma: 589320
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Voyage
New Version Released

Version 2.4.0 - 19 Sep 2018
- Add option not to include TOC from input files, thanks murraypaul
- Tweak wording of originalnavpoints option and add a warning about merged books with no TOC at all.
JimmXinu is offline   Reply With Quote
Reply

Tags
calibre, combine books, epubmerge, jpg, make collection, malwarebytes, merge epub, merge epubs, ransomware, solved

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Open With kiwidude Plugins 332 08-31-2018 08:54 AM
[GUI Plugin] Quick Preferences kiwidude Plugins 33 06-20-2018 03:00 AM
[GUI Plugin] FanFictionDownLoader JimmXinu Plugins 3985 05-08-2015 11:18 PM
eBookCleaner slobberchopz Plugins 9 02-23-2012 04:25 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


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


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