Yesterday, 04:04 PM | #31 | |
Evangelist
Posts: 401
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Quote:
I can't recall ever seeing a nested h# tag and Jon's example wasn't nested. I'm not sure it's even possible to do nested properly with standard regex. I started a post asking about that and so far I've gotten the expected lack of response. Anyway, agreed. |
|
Yesterday, 04:05 PM | #32 |
Bibliophagist
Posts: 39,768
Karma: 154147706
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I'm not certain if the calibre flavour of DiapDealer's tool will handle regex but the Sigil version does. For a <tag>blah blah blah</tag> I will use regex but where nested tags come into play, I will go with TagMechanic. I remember way back (2012, Sigil 0.5.3???) when I looked at the dog's breakfast that I created using a regex search/replace covering nested divs and exited without saving.
|
Yesterday, 04:07 PM | #33 | |
Resident Curmudgeon
Posts: 76,019
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
Yesterday, 04:09 PM | #34 | |
Resident Curmudgeon
Posts: 76,019
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
Yesterday, 06:09 PM | #35 |
Grand Sorcerer
Posts: 27,957
Karma: 198500000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
You can't, I checked. It shouldn't take too much to make it work by editing the plugin's preference file rather than needing to edit the plugin's code. That way, the changes would survive a plugin upgrade. I'll see what I can do.
Last edited by DiapDealer; Yesterday at 06:20 PM. |
Today, 01:19 AM | #36 |
Grand Sorcerer
Posts: 6,361
Karma: 12117217
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Thank you very much! I don't do a lot of changes like that, but I use the plugin A LOT.
|
Today, 12:04 PM | #37 | |
Grand Sorcerer
Posts: 27,957
Karma: 198500000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Were you the one who provided the Spanish translation for this plugin? If so, I've got a couple of new strings that will need translating (after we make sure this will work properly). |
|
Today, 12:12 PM | #38 | |
Grand Sorcerer
Posts: 6,361
Karma: 12117217
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
It's Complicated | drjenkins | Deals and Resources (No Self-Promotion or Affiliate Links) | 13 | 03-06-2014 12:23 AM |
I'm sure this would be complicated, but is this possible? | Dullahir | Calibre | 5 | 06-03-2013 05:04 AM |
Now Things Get Complicated | Kris777 | News | 21 | 04-17-2010 03:25 AM |
UK User - is it really this complicated?! | twisticles | Sony Reader | 30 | 09-22-2008 10:46 PM |