![]() |
#256 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
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.
|
![]() |
![]() |
![]() |
#257 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,987
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
What do people think of having a Config button on the EpubSplit dialog instead of a menu? |
|
![]() |
![]() |
![]() |
#258 | |
Connoisseur
![]() Posts: 68
Karma: 10
Join Date: May 2015
Device: Kindle Fire 7 (7G), Kindle PW (2G), Kindle Scribe
|
Quote:
|
|
![]() |
![]() |
![]() |
#259 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,987
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
@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. |
![]() |
![]() |
![]() |
#260 | ||
Connoisseur
![]() Posts: 68
Karma: 10
Join Date: May 2015
Device: Kindle Fire 7 (7G), Kindle PW (2G), Kindle Scribe
|
Quote:
![]() Quote:
|
||
![]() |
![]() |
![]() |
#261 | |
Connoisseur
![]() Posts: 68
Karma: 10
Join Date: May 2015
Device: Kindle Fire 7 (7G), Kindle PW (2G), Kindle Scribe
|
Quote:
|
|
![]() |
![]() |
![]() |
#262 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
|
![]() |
![]() |
![]() |
#263 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,637
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
|
![]() |
![]() |
![]() |
#264 | ||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,987
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
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:
![]() Quote:
![]() Last edited by JimmXinu; 09-02-2018 at 02:49 PM. Reason: Remove obsolete test versions |
||
![]() |
![]() |
![]() |
#265 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
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 |
|
![]() |
![]() |
![]() |
#266 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
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. |
![]() |
![]() |
![]() |
#267 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,637
Karma: 12595249
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.
|
![]() |
![]() |
![]() |
#268 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,987
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
@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". |
![]() |
![]() |
![]() |
#269 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
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. |
![]() |
![]() |
![]() |
#270 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,987
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New Test Version
Last edited by JimmXinu; 09-04-2018 at 03:46 PM. Reason: Remove obsolete test versions |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 523 | 07-15-2025 06:45 PM |
[GUI Plugin] EpubMerge | JimmXinu | Plugins | 560 | 06-09-2025 03:46 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 05:42 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 |