![]() |
Quote:
Code:
sudo pip install regexCode:
sudo pip3 install regex |
Hi
Indeed. Thank you. :thumbsup: Code:
[roger@anterg ~]$ sudo pip3 install regex |
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. |
1 Attachment(s)
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. |
Quote:
Glad you got it working again, though. |
Quote:
In case it makes a difference, +1 for 0.4.4 running fine. I'm on a Mac :) Thank you, DiapDealer! |
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! |
Quote:
|
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:
<(\/?)h1Code:
<\1h2Near 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. :D |
Quote:
(I struggle with regex. There's something about it that my poor brain can't grasp.) Quote:
|
Quote:
I'm hoping you caught/fixed my copy/paste mistake that I just corrected in that 2nd change. :o |
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. |
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... |
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 :)
|
Font Size
1 Attachment(s)
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.:D |
| All times are GMT -4. The time now is 07:08 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.