View Single Post
Old 01-22-2016, 09:32 AM   #11
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,625
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Quote:
Originally Posted by davidfor View Post
I've just been playing and looking at the code. The short answer is: put the id on the p tag. Or div or whatever you are using.
@davidfor

I am not sure I understood the explanations but nqk and you may be right.

Here is an attached EPUB2 which displays in the Viewer only one footnote at a time because the id attribute has been moved from the a tag to the p tag. Also included is the regex (in .json format) I used to move the ids for the seven endnotes.

So no EPUB3 attribute is used.

This is OK in the Viewer, it remains to be seen how it displays on other software.

Of course, when producing an EPUB3, there will be a need for a new regex.
Attached Files
File Type: zip identifier.zip (173.3 KB, 211 views)

Last edited by roger64; 01-22-2016 at 09:40 AM.
roger64 is offline   Reply With Quote