08-30-2018, 07:44 PM | #256 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
After you finish fine tuning this plugin are you planning to add access to customize the plugin from the menu as you do with EpubMerge? It would be consistent with most other plugins, vice having to go strictly through calibre - preferences.
|
08-30-2018, 08:13 PM | #257 | |
Plugin Developer
Posts: 6,328
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
What do people think of having a Config button on the EpubSplit dialog instead of a menu? |
|
Advert | |
|
08-31-2018, 01:13 AM | #258 | |
Connoisseur
Posts: 67
Karma: 10
Join Date: May 2015
Device: Kobo Aura H20, Kindle Fire 7 (7G), Kindle PW (2G), Nook GlowLight Plus
|
Quote:
|
|
08-31-2018, 01:50 AM | #259 |
Plugin Developer
Posts: 6,328
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
@sweth - Depends what kind of column it is. Currently, only columns of internal types 'text' or 'comments' are offered. AKA 'Text' and 'Long Text'.
A 'Text Series' type column (internal 'series') could be supported, but the series number would always be 1 setting it from EpubSplit as it stands now. I'd have to add code to remember how many books had been split, notice the Source column is a 'series' type and then set it with the value. And even then, the numbers would be order you split them, which could be different than order in the source epub. But I'll look into it. |
08-31-2018, 02:01 AM | #260 | ||
Connoisseur
Posts: 67
Karma: 10
Join Date: May 2015
Device: Kobo Aura H20, Kindle Fire 7 (7G), Kindle PW (2G), Nook GlowLight Plus
|
Quote:
Quote:
|
||
Advert | |
|
08-31-2018, 02:04 AM | #261 | |
Connoisseur
Posts: 67
Karma: 10
Join Date: May 2015
Device: Kobo Aura H20, Kindle Fire 7 (7G), Kindle PW (2G), Nook GlowLight Plus
|
Quote:
|
|
08-31-2018, 02:27 AM | #262 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
|
08-31-2018, 03:37 AM | #263 |
Grand Sorcerer
Posts: 6,233
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
|
08-31-2018, 02:44 PM | #264 | |
Plugin Developer
Posts: 6,328
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
New Test Version
Okay, I think this version has all of the changes discussed in the last few days (except multi-level TOC, which is just more complexity than I want to deal with in EpubSplit right now.)
Quote:
Back up a second! You made a plugin to post-process after my plugin? What on earth are you doing??? Last edited by JimmXinu; 09-02-2018 at 02:49 PM. Reason: Remove obsolete test versions |
|
08-31-2018, 11:12 PM | #265 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
When I started using FFF, I just extended it. The stylesheet was one as I didn't want to add it to the FFF config and maintain it in two places. That isn't as much of a worry since it can now be loaded from a file. One of the things I do is to split the title into a separate page. The above source uses a text title page that has the title and author. This shows nicely in various places on my Kobo ereaders. The first page that FFF produces looks messy as a cover, so I split the title and author to a separate page. And then fiddle with the layout of the titlepage tags (replace the br's with paragraphs and add a class). And for the record, the code I use to rebuild the ToC is: Code:
def _rebuild_toc(self, container): from calibre.ebooks.oeb.polish.toc import from_xpaths, commit_toc self.log('\t\t\t_rebuild_toc') header_xpath = ['//h:h%d'%i for i in xrange(1, 4)] self.log('\t\t\t\theader_xpath: {0}'.format(header_xpath)) new_toc = from_xpaths(container, header_xpath) if len(new_toc) == 0: self.log('\t\t\t\tToC not built') return False self.log('\t\t\t\tEntries added to ToC: %d' % len(new_toc)) self.log('\t\t\t\tToC: {0}'.format(new_toc)) commit_toc(container, new_toc) return True |
|
09-01-2018, 01:03 AM | #266 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
@JimmXinu: After writing the above, and looking at the Modify ePub plugin, I thought of an alternative for the multi-level ToC.
At the moment, you are building a new ToC from the files that are copied to the new book. An alternative is to copy the NCX as well and then remove the entries for the files/links not copied. This would keep the hierarchy. Another advantage is if there are ToC entries pointing to places inside the files, these will be maintained as well. |
09-01-2018, 05:45 AM | #267 |
Grand Sorcerer
Posts: 6,233
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Just a comment, why is not happening the same for the standard series? I mean, for the standard series the number is copied "as is", but not modified.
|
09-01-2018, 10:20 AM | #268 |
Plugin Developer
Posts: 6,328
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
@davidfor - That's an idea worth looking into, at least.
@Terisa de morgan - Source Column is for saving where did this new split book come from. By default, it's populated with "{title} by {author}" (using source book title). When using a series type column, I figure it's more useful to know "this was the 1st, 2nd, etc book split from that book". |
09-02-2018, 01:36 AM | #269 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
@JimmXinu: I tried the latest beta yesterday, and it is much better when making multiple books in a single session. Being able to set the common files is very good.
Having said that, I find the check boxes a little clumsy. I have to select each individually. The simplest would be a button at the bottom to "Mark selected as Always Include". Alternatively, add a right-click menu to do this. Using the right-click menu would be a way to do multiple books. Change the column to a test with the list of books a file is to be put in. Then menu items would be "All" and the names of the new books. Plus an "Add to new book..." that would prompt for a name. Though that could be a button at the bottom of the dialog. |
09-02-2018, 02:48 PM | #270 |
Plugin Developer
Posts: 6,328
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
New Test Version
Last edited by JimmXinu; 09-04-2018 at 03:46 PM. Reason: Remove obsolete test versions |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] EpubMerge | JimmXinu | Plugins | 522 | 04-01-2024 10:25 AM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 AM |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 492 | 10-25-2022 08:13 AM |
[GUI Plugin] FanFictionDownLoader | JimmXinu | Plugins | 3985 | 05-08-2015 11:18 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |