Quote:
Originally Posted by akita328
Thanks @Tex2002ans!
and everybody!
|
You're welcome.
Quote:
Originally Posted by akita328
I think I'm following most of what is being suggested, but it will take time for me to digest it all...
|
Yep, it's a lot, but you'll get it one piece at a time.
And the posts aren't going anywhere! (That's the awesome things about forums, you can visit the posts a year later and refresh your memory and/or still learn more.)
Quote:
Originally Posted by akita328
I knew there was something like rt-click-->replace trick. I will rename the classes, etc so it will be easier to figure out where they're being used for.
|
Yep, that's one of the best tricks you can do.
And like I said, then you can use Diap's Toolbag in successive rounds to clean up the junk.
Quote:
Originally Posted by akita328
I love formatting things (learned large doc formatting using LaTeX, so... this is so much easier) and intend to learn more eBook editing by trial and error.
|
Pfff, if you learned LaTeX, then almost
anything is easier!
Quote:
Originally Posted by Karellen
Yes, I am aware of some of these plugins. But I have no use for them. Why would I need a plugin to perform something I can already, very easily, do without the plugin.
It also seems to me, quitely reading threads from newbies, that newbies become so reliant on plugins to do the easiest of fixes, that when things go wrong, or can't achieve what they want, the are at a complete loss what to do.
|
Yes, but in this specific case... Diap's plugins really do wonders.
(And will be much less likely to cause errors and accidentally delete text!)
- - -
BUT, ever since that
Right-Click > Rename was added into Calibre/Sigil, WOW, did that cut down on
one of the major pain points.
Then, like DNSB said, just keep on renaming crappy/useless code to simple:
Code:
<span>
<span>
<span>
and then when I see screens full of:
Quote:
<p class="block_21">“How<span> </span>can<span> </span>I<span> </span>persuade<span class="differentjunk"> </span>you<span> </span>that<span> </span>I<span> </span>mean<span> </span>you<span> </span>no<span> </span>harm?”<span> </span>he<span> </span>asked.<span> </span>“I<span> </span>swear to you that I will do nothing to you.”</p>
|
in one fell swoop, boom, delete them all with the plugin:
Quote:
<p class="block_21">“How can I persuade<span class="differentjunk"> </span>you that I mean you no harm?” he asked. “I swear to you that I will do nothing to you.”</p>
|
Sigil/Calibre already know which opening <span> matches which closing </span>, so why try to recreate that using some (complicated) regex which
may cause you to lose data? :P
Save the pure regex solution for stuff where it excels, like:
Notice a pattern and wanna find/fix them all? NOW we can use Regex!
Wanna safely remove "excessive <class> and other formatting horrors"? Use a mix of simple search/replace (even regex) + Diap's tools!