Quote:
Originally Posted by DiapDealer
Happy to help. 
|
I should have known Tag Mechanic could do this

I've been happily using it to get rid of those pesky empty spans, then came across some <p> chapter heads I wanted to change to <h1>, but when I went to Tag Mechanic, the option wasn't there. How foolish of me not to research further — after all, the customization instructions are right there in your first post! (which I, of course, forgot about after downloading the plug-in to use with empty spans) Thanks again for the great plug-in and for all your work on Sigil!
Quote:
Originally Posted by Doitsu
Some time ago I slapped together a quick & dirty plugin that'll automatically change paragraph tags to heading tags based on NCX TOC entries.
Obviously this only works with epub2 books that have a valid (=working) NCX TOC and it works best with NCX TOC entries that reference fragment ids (e.g. file.xhtml#id2).
... if you want to test this beta version, PM me for a Dropbox link.
|
Tag Mechanic (with Turtle91's regex lesson as a backup) has solved my problem. But if you'd like me to test your plug-in, I'd be happy to. Will it also work with an epub3s that have an NCX TOC, or just epub2s?
Quote:
Originally Posted by slowsmile
@odamizu...By any chance are you using Scrivener to convert to epub? ... If you are converting to epub using Scrivener then you can use my NormalizeScrivEpub plugin ...
|
Oy. I don't even know what Scrivener is! But thanks for the offer!