View Single Post
Old 04-08-2018, 07:19 AM   #43
elibrarian
Imperfect Perfectionist
elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.
 
elibrarian's Avatar
 
Posts: 684
Karma: 863576
Join Date: Dec 2011
Location: Ølstykke, Denmark
Device: none
Quote:
Originally Posted by BeckyEbook View Post
Add to code (line 71):
Code:
            # only once for each file with notes
            cssexist = re.search(r'\.\.\/Styles\/footnote\.css', html)
            if not cssexist:
And the plugin will not insert the repeated link to the footnote.css file after running again.
Thanks for that!

I've updated the plugin as per your suggestion, and uploaded a new version 0.2.1 to the first post of this thread. Also I've updated the intro/userguide pdf.

Since we don't do epub-2 any more, it's unlikely the plugin will be further developed (unless someone catches an error). I might have an epub-3-savvy version in the works, but at present this is not ready for the rest of the world to see.

Regards,

Kim
elibrarian is offline   Reply With Quote