01-30-2017, 04:00 AM | #46 | |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Code:
sudo pip install regex Code:
sudo pip3 install regex
|
|
01-30-2017, 04:23 AM | #47 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Hi
Indeed. Thank you. Code:
[roger@anterg ~]$ sudo pip3 install regex [sudo] Mot de passe de roger*:* Collecting regex Downloading regex-2017.01.17.tar.gz (601kB) 100% |████████████████████████████████| 604kB 811kB/s Installing collected packages: regex Running setup.py install for regex ... done Successfully installed regex-2017.1.17 [roger@anterg ~]$ |
Advert | |
|
01-30-2017, 06:47 AM | #48 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Just about every other linux distro out there includes Barnett's regex module in their official repositories. Why is it that Arch relegates it to their unofficial user repository?
And when did Arch go to Qt 5.8? I just got a 5.7 update on my Arch machine yesterday. |
01-30-2017, 09:09 AM | #49 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Hi
I use Antergos which is 100% Arch compatible. The difference are it provides an installer, an access to AUR and a icon pack. I probably could have got pip3 elsewhere, I followed Doitsu's advice. But it was missing on my machine. A screenshot of the Sigil information panel. Last edited by roger64; 01-30-2017 at 09:16 AM. Reason: pip |
01-30-2017, 09:41 AM | #50 | |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Glad you got it working again, though. |
|
Advert | |
|
01-30-2017, 11:07 PM | #51 | |
just an egg
Posts: 1,587
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
Quote:
In case it makes a difference, +1 for 0.4.4 running fine. I'm on a Mac Thank you, DiapDealer! |
|
08-16-2018, 08:25 PM | #52 |
just an egg
Posts: 1,587
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
convert <h2> to <h1>
I'm guessing I'm missing something obvious, so forgive the stupid question, but is there a way to convert <h2> to <h1>?
When I go to the Tags dropdown menu, there is no <h2> (or <h1>) option. I tried adding it using Customize Plugin, but couldn't find a place to do so. Thank you! |
08-16-2018, 11:23 PM | #53 | |
Well trained by Cats
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
08-17-2018, 08:57 AM | #54 | |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
I've already included more tags than I really deem worthwhile to this plugin. The original intent was to be able to change tags/attributes that would be difficult to do with standard Sigil tools or fairly simple S&R (or Sigil clips). Primarily nested tags like spans and divs. For instance, if I wanted to change all h1 tags to h2 tags I'd use something like: Code:
<(\/?)h1 Code:
<\1h2 Near the beginning of plugin.py you'd just need to add 'h1' to the 'taglist' list, and then you'd need to add an 'h1_changes' entry to the 'combobox_defaults' dictionary right below that. Something like: Code:
'h1_changes' : ['h2'], Hope that helps! I'll consider adding h tags to the plugin in a future release, but it really is pretty trivial to make such changes without the plugin. Better yet, I should find a way to make it possible for users to add their own tags in a way that would survive future plugin updates. No promises, though. Last edited by DiapDealer; 08-17-2018 at 05:05 PM. |
|
08-17-2018, 04:03 PM | #55 | |
just an egg
Posts: 1,587
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
Quote:
(I struggle with regex. There's something about it that my poor brain can't grasp.) Thanks, but I'm not following. I have the current version of Sigil (0.9.10). Where do I look for this? |
|
08-17-2018, 05:11 PM | #56 | |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
I'm hoping you caught/fixed my copy/paste mistake that I just corrected in that 2nd change. Last edited by DiapDealer; 08-17-2018 at 05:14 PM. |
|
08-17-2018, 09:29 PM | #57 |
just an egg
Posts: 1,587
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
Oh! I didn't notice any mistake. I edited plugin.py manually once your instructions pointed me in the right direction, so I didn't copy/paste.
Thanks again! The more I use Sigil and its plug-ins, the more I love it. |
08-17-2018, 09:46 PM | #58 | |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
I was hoping it was obvious that the tag name should be the same in both. p -> p_changes a -> a_changes h1 -> h1_changes, etc... |
|
08-17-2018, 11:28 PM | #59 |
just an egg
Posts: 1,587
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
Ah. Once you pointed me to plugin.py, I used what I found there as a guide, and since what you had there was correct, it worked perfectly
|
09-27-2018, 09:30 PM | #60 |
Hedge Wizard
Posts: 800
Karma: 19999999
Join Date: May 2011
Location: UK/Philippines
Device: Kobo Touch, Nook Simple
|
Font Size
Hi DiapDealer
I have started using "Tag Mechanic" a lot more recently and am having problems with the font size used. It is just on the edge of the size where my eyes start to blur the text. (please see attached image) I have made many adjustments to Windows so I can comfortably use Windows but none seem to affect Tag Mechanic. Please consider enlarging the font in the plugin, if possible. And I will even start using your shiny blue spanner icon instead of the one I found, honest. |
|
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 |