10-18-2020, 03:50 PM | #106 |
just an egg
Posts: 1,587
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
Thanks for the new version!
I like the new UI, but I seem to have lost some customization, and the right-click to bring up the customization box doesn't seem to work anymore, at least on Mac. Is there another way to customize? I opened the .json file and am still able to add to and reorder the choices that things get changed to, e.g., "span_changes" to "i", "b", etc. I can add to and reorder the latter. However, I had also added "h1_changes", "h2_changes", etc., and this doesn't seem to work anymore. Suggestions? Thanks! (I am on Mac 10.3.6 and Sigil 1.4.0 build 698 if that makes a difference) |
10-18-2020, 03:59 PM | #107 |
Guru
Posts: 692
Karma: 2180740
Join Date: Jan 2017
Location: Poland
Device: Misc
|
Open menu Edit.
|
Advert | |
|
10-18-2020, 04:11 PM | #108 | |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Please make sure that you can still customize things to you liking now that Becky let you know how to bring up the edit/config dialog. |
|
10-18-2020, 04:48 PM | #109 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
If I recall correctly, you always had to manually add new tags to the main tag list in the Python code itself. Which means you have to remember to redo that whenever you upgrade the plugin. Your "h1_changes", "h2_changes" will still be preserved in your preferences file, but you still need to go back into the plugin's Python code and add your extra tags in the taglist list after updating. This used to be near the top of the plugin.py file, but now can be found near the top of the "utilities.py code. Once you add your various h tags there, your pre-existing "h1_changes", "h2_changes", etc... should get picked up and used.
I forgot for a minute that adding tags was such a PITA (and had to be redone after upgrades). But I did take steps to make sure you could add then in one single place, and would't lose your change_prefs when updating the plugin. |
10-18-2020, 05:37 PM | #110 |
just an egg
Posts: 1,587
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
Aha! That's probably it. I checked the .json, but I didn't make any changes in the python code. I will do that when I get a chance. Thanks!
Thanks also to BeckyEbook. Turns out in Mac, it's Python > Preferences or simply command-comma. Last edited by odamizu; 10-18-2020 at 05:52 PM. |
Advert | |
|
10-18-2020, 05:54 PM | #111 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I don't quite recall why I can't make it any easier to add tags and have them be persistent preferences that can survive updates. I just remember there's some sort of significant hurdle there. All I could do at the time was mitigate the trauma involved.
|
10-18-2020, 05:56 PM | #112 |
just an egg
Posts: 1,587
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
Success! Editing utilities.py worked like a charm. Thank you!
Is there an easy way for me to make the default size of the Plugin Runner box smaller? It's a lot bigger now compared to the way it was in the previous version and covers a big portion of my Sigil screen. ETA: Missed your comment above. I'm content to edit the python code myself. I like learning these things Last edited by odamizu; 10-18-2020 at 05:59 PM. |
10-18-2020, 06:20 PM | #113 | |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Unfortunately, that won't survive a plugin update either. But I promise that those true values will be the defaults in the near future. I just wanted to make sure the data there was handy while we work the kinks out of this new version. Then I'll minimize the Plugin Runner dialog by default. Last edited by DiapDealer; 10-18-2020 at 06:23 PM. |
|
10-18-2020, 06:50 PM | #114 | |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
I believe this to be the commit (first appearing in v1.3) that fixes the issue. The bottom line is that I can't time travel. The 0.5.1 version of TagMechanic will work for you if you don't launch Sigil from calibre. The ability to run the new TagMechanic (or any other PyQt5 plugin) in a Sigil launched by Calibre's Open With will be waiting for you whenever you update to Sigil v1.3+ |
|
10-18-2020, 08:26 PM | #115 | |
just an egg
Posts: 1,587
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
Quote:
TagMechanic is now doing everything the way I want it to, and the UI looks great doing it! |
|
10-18-2020, 09:12 PM | #116 |
Running with scissors
Posts: 1,552
Karma: 14325282
Join Date: Nov 2019
Device: none
|
In the previous version that I was using (0.4.4) the three pull downs Tag name, Having the attribute, and Change tag to would also let me type over what was in them. So I could, for example, change all h1 tags to h2. Is there any way to change arbitrary tags like that now?
|
10-18-2020, 09:51 PM | #117 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
There was never any intentional ability to type over stuff in the drop downs. If that ever worked, it was entirely accidental. I would think that would break all the logic behind the ui. Are you sure this is the plugin you're thinking of?
|
10-18-2020, 10:03 PM | #118 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
The answer is no, by the way. That won't work in the new version. That it ever did in the old one was a complete accident. There are ways to edit that tags it can accommodate, and to augment the attributes searched for (as well as modify the tags they can be changed into) that don't work by accident.
|
10-19-2020, 09:28 AM | #119 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Updated to v0.5.1. This was only a fix to allow the plugin to work with versions of Sigil earlier than v1.3.0. There is no conceivable need to update to this version if you're already using Sigil v1.3+
**NOTE: Starting with version 0.5.0, this plugin cannot be launched when Sigil is opened via Calibre's Open With feature (or plugin of the same name) if the version of Sigil being used is less than v1.3.0. If you need that open-with-calibre functionality, make sure you're running the latest version of Sigil.** Last edited by DiapDealer; 10-19-2020 at 02:16 PM. |
10-19-2020, 12:32 PM | #120 |
Groupie
Posts: 171
Karma: 3517858
Join Date: May 2016
Location: Monterrey, Mexico
Device: Samsung Tab-3 7"
|
DiapDealer--many thanks for the update! I just downloaded, but I'll let you know if any problems crop up.
Last edited by JustinThought; 10-19-2020 at 12:37 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[FileType Plugin] YVES Bible Plugin | ClashTheBunny | Plugins | 27 | 01-16-2023 01:25 AM |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 492 | 10-25-2022 08:13 AM |
Plugin not customizable: Plugin: HTML Output does not need customization | flyingfoxlee | Conversion | 2 | 02-24-2012 02:24 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |
New Plugin Type Idea: Library Plugin | cgranade | Plugins | 3 | 09-15-2010 12:11 PM |