12-20-2010, 12:48 PM | #121 | ||
Addict
Posts: 219
Karma: 404
Join Date: Nov 2010
Device: Kindle 3G, Samsung SIII
|
Quote:
Quote:
Basically the only major restriction is just one input field (at the moment) Last edited by janvanmaar; 12-20-2010 at 12:51 PM. |
||
12-20-2010, 12:52 PM | #122 | |
calibre/Sigil Developer
Posts: 4,601
Karma: 2092290
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Quote:
I don't think it would cope with multiple entries for the same format type at the moment though - did you want to have both Sigil and FlightCrew configured for EPUB for instance, or just FlightCrew? It wouldn't be too major to allow it to support both. Perhaps an extra column for the menu title to make the menu items unique and allow you to differentiate them in the sub-menu. In which case I should make the change sooner rather than later before too many people download it... |
|
12-20-2010, 01:13 PM | #123 |
Zealot
Posts: 118
Karma: 10
Join Date: Dec 2008
Location: France
Device: None
|
Hi kiwidude,
You solved the issue with special characters in Search the Internet. Just tried your new plugin and I think maybe, again, there's a problem with special character I think it's related to my folder's name for calibre, in French : "Bibliothèque Calibre"....Sorry for that Sigil doesn't like it See picture attached. Last line says : Path not found. |
12-20-2010, 01:23 PM | #124 | |
calibre/Sigil Developer
Posts: 4,601
Karma: 2092290
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Quote:
path_to_book = path_to_book.encode('utf-8') |
|
12-20-2010, 01:26 PM | #125 |
calibre/Sigil Developer
Posts: 4,601
Karma: 2092290
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Thanks very much for all of that info. Definitely it will be something I will take a look at in future. For configuring "Search the internet" and "Open format externally" plugins it is a fairly complex array expression that would need a big multi-line edit area so I'll stick with how they are for now. Definitely would be nicer in future for consistency to configure it within the plugin though like you managed to.
|
12-20-2010, 02:38 PM | #126 |
calibre/Sigil Developer
Posts: 4,601
Karma: 2092290
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Ok, I've just pushed a new version of the "Open format externally" plugin which should better handle foreign language titles and also multiple entries in the sub-menu for the same format. So for instance if you have multiple EPUB editors or applications you can configure them as individual menu items.
In addition I have added support for command line arguments if the application you are launching needs them. So you can think of this plugin now as a fairly generic application launcher for a book format that should hopefully have flexibility for most situations. To support these changes I have changed the structure of the configured tweak menu inserting two new columns. So the few people who jumped right on the very first version today should re-read the new tweak text in the post or readme.txt in the latest zip. Enjoy. Last edited by kiwidude; 12-20-2010 at 02:44 PM. Reason: Added link |
12-20-2010, 02:51 PM | #127 | |
calibre/Sigil Developer
Posts: 4,601
Karma: 2092290
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Quote:
I say "in theory" because the current FlightCrew I could find (0.7.1b) has a few limitations. Namely that the GUI exe does not take command line arguments (perhaps suggest it as a feature request if not there already). You can instead use the current CLI version which does take arguments, however all the output will be output to an invisible command window... I'm sure there are ways around this. The easiest would be to wrap the FlightCrew console app with a batch file which pumps the output to a text file. The second could be a combination of launching a command window shell rather than FlightCrew directly with arguments so the window does not close. Or you could tweak the FlightCrew gui source code or pester the author to support a filename argument to FlightCrew-gui.exe. Good luck. |
|
12-20-2010, 03:07 PM | #128 | |
Well trained by Cats
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Sigil to Edit FC to validate Calibre to view Can you do a (optional) sub-menu EPUB <submenu> Label : Program call ... <endsub-menu> EPUB "Edit" : "Sigil.exe "; "Validate" : "Flightcrew.exe "; "Alt-View" : "Firefox.exe " /* uses EPUBReader */ |
|
12-20-2010, 03:25 PM | #129 | |
calibre/Sigil Developer
Posts: 4,601
Karma: 2092290
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Quote:
"EPUB Edit in Sigil" "EPUB Validate in FlightCrew" "EPUB View in Firefox" ----- (Separator) blah blah The text is configurable. I would guess for most people they aren't going to bother configuring much other than EPUB so not having to go one further level down in the menu with the mouse is an advantage. |
|
12-20-2010, 03:52 PM | #130 | |
Well trained by Cats
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
12-20-2010, 06:59 PM | #131 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
Thanks for the support. Last edited by DoctorOhh; 12-21-2010 at 10:55 PM. |
|
12-21-2010, 10:39 PM | #132 |
calibre/Sigil Developer
Posts: 4,601
Karma: 2092290
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
I've just written another plugin called "Rename series". I won't bother posting it here yet unless anyone asks for it as it might be too niche but here is "why" I wrote it.
What it does is allow you to rename all instances of a series name, in a similar way to what you can do in the tag viewer on the left of the screen. The advantages it offers over the tag viewer are: 1. You don't have to have the tag viewer pane visible using up real estate 2. You don't have to scroll and expand your way to find the series name (which can be time consuming when you have lots of series) 3. After renaming it executes your current search and retains the selected row, unlike the tag viewer which annoyingly clears your search so you have to "start again" to get back to the set of rows you were looking at. In comparison to the bulk edit dialog it offers these advantages: 1. You don't have to have all books in the series selected to rename the series 2. It defaults the series name to the existing one rather than blank as in the bulk metadata dialog 3. Most importantly, it does not tamper in any way with series index values. With the bulk metadata dialog you are forced to overwrite series index values which even with careful ordering of selections is a no-go if you have missing books in the sequence. You third existing way of correcting a series name is to directly type it into the grid row. If you only have one book to change that is still your best choice. However for more than one book it still can offer some advantages: 1. You don't have to have all books in the series visible in your search results to rename the series 2. Obviously faster if you have a lot of books in the series 3. As you are changing only the name it can be less "fiddly" and faster to edit that in isolation on a popup dialog, compared to entering edit mode, positioning the cursor, being careful not to interfere with the series index [] brackets etc. Combining series and index together for viewing saves screen estate but makes editing either of them a pain imho, especially series index with it's finickyness for [brackets]. Anyways, if anyone else wants it let me know and I will upload it. Last edited by kiwidude; 12-21-2010 at 10:44 PM. |
12-22-2010, 05:53 AM | #133 |
Addict
Posts: 219
Karma: 404
Join Date: Nov 2010
Device: Kindle 3G, Samsung SIII
|
I guess it is always worth posting it here - I was also reluctant about the SSH plugin thinking it is too specific but there are already 12 downloads (albeit no feedback )
|
12-22-2010, 06:13 AM | #134 |
Grand Sorcerer
Posts: 11,703
Karma: 6658935
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
@kiwidude: I doubt that it matters to you, but just in case -- database2.set_series() now accepts series strings of the form 'xxxxx[nnn]'. If given such a string, it will set both the series and the series index. Given 'xxxxx', only the series is set. The change affects both the standard series column and custom series-like columns.
One consequence is that series names that end in bracketed numbers will not lead to joy. For example, changing the series 'Foo[1][4.20]' to 'Bar[1]' will set the series name to 'Bar' and the 4.20 to 1. Another consequence is that one can now set series indices with search/replace. |
12-22-2010, 06:20 AM | #135 |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom external commands in the GUI | janvanmaar | Calibre | 18 | 11-28-2010 10:35 AM |
Calibre GUI behavior between machines | phenomshel | Calibre | 2 | 08-21-2010 06:28 PM |
Calibre 0.6.10 GUI crashes on startup | Wagenius | Calibre | 1 | 09-03-2009 01:53 AM |
--breadth-first option in calibre GUI | osmo79 | Calibre | 1 | 05-30-2009 11:45 AM |
Calibre GUI crash on convert | aapezzuto | Calibre | 1 | 08-02-2008 06:39 PM |